html, body {
    height: 100%
}


.text-muted {
    font-style: italic;
}

.text-mono {
    font-family: monospace;    
}

.text-bgblue {
    background-color: rgb(218, 227, 245);
}


button:disabled, input:disabled {
    font-style: italic;
}

.text-normal {
    font-style: normal;
}

.text-bold {
    font-weight: bold;
}

.float-right {
    float: right !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #105C93;
}

h1 {
    margin-top: 0.7em;
}

h2 {
    margin-top: 0.6em;
}

h3 {
    margin-top: 0.5em;
}

h4 {
    margin-top: 0.4em;
}

h5 {
    margin-top: 0.3em;
}

.text-quote {
    color: #2d5254;
}

div.text-quote {
    border: #ddd solid thin;
    border-left: #538faa solid 0.5rem;
    margin: 0.7rem 3rem;
}

div.text-quote p {
    margin: 0.4em;
    font-size: 0.8rem;
}

a {
    color: #0057A8;
}

.text-success {
    color: #186329 !important;
}

/* flashes and alerts */
#div_messageflasher {
    z-index: 999;
    position: fixed;
    top: 35px;
    border-width: medium;
    /* width: 70%;
    left: 15%; */
}

ul.localflasher {
    border-width: medium;
}

ul.localflasher li {
    list-style: none;
}

ul.flashes li {
    border-width: 3px;
    -moz-box-shadow: 5px 5px 7px 0 #bbb;
    -webkit-box-shadow: 5px 5px 7px 0 #bbb;
    box-shadow: 5px 5px 7px 0 #bbb;
    list-style-type: none;
}

.alert {
    background: white;
}

body {
    /* borders of inputs are a bit bleak */
    --bs-border-color: #aeb2b6;
}

tr, th, td {
    /* but the color of borders in tables should stay as they are */
    --bs-border-color: #dee2e6;
}


hr {
    /* border-top: 1px solid var(--bs-border-color); */
    border-top: 1px solid #9ea2a6;
}


.alert-icon {
    width: 48px;
    height: 48px;
    /* margin-right: 40px; */
    /* display: inline-block; */
}

.alert-danger .alert-icon {
    background-image: url("/static/graphics/dialog-error-3-48x48.png");
    background-size: cover;
}

.alert-warning .alert-icon {
    background-image: url("/static/graphics/dialog-warning-3-48x48.png");
    background-size: cover;
}

.alert-info .alert-icon {
    background-image: url("/static/graphics/dialog-information-3-48x48.png");
    background-size: cover;
}

.alert-success .alert-icon {
    background-image: url("/static/graphics/dialog-ok-3-48x48.png");
    background-size: cover;
}

.alert-primary .alert-icon {
    background-image: url("/static/graphics/puppeteer-48x48.png");
    background-size: cover;
}

.alert-secondary .alert-icon {
    background-image: url("/static/graphics/puppeteer-48x48.png");
    background-size: cover;
    filter: grayscale(100%);
}

/* ajaxloader stuff */
#ajaxloader {
    visibility: hidden;
    position: fixed;
    z-index: 100;
    top: 55px;
    right: 25px;
}

#ajaxloader img {
    padding-top: 8px;
}

.ajaxspinner-small {
    width: 16px;
}

/* javascript links and popups */
.jslink {
    cursor: pointer;
    color: #0066cc;
}

.jslink:hover {
    text-decoration: underline;
}

.jslink-nodecorate {
    text-decoration: none;
    cursor: pointer;
    color: #0066cc;
}

.popoverlink {
    text-decoration: none;
    cursor: help;
    color: #345578;
    margin-left: 2em;
}

a.external {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat;
    padding-right: 0.9em;
    display: inline;
}

/* Fixes dropdown menus placed on the right side */
.ml-auto .dropdown-menu {
    left: auto !important;
    right: 0px;
}

/* Various margins and borders */
.bordered {
    border-style: solid;
    border-width: thin;
    border-color: lightgray;
}

.border-lightgray {
    border-color: lightgray !important; }
  

.rounded {
    border-radius: 5px;
}

.loginbox {
    padding: 2em 2em;
}

/* cursor stuff */
.clickable {
    cursor: pointer;
}

a.clickable {
    text-decoration: underline;
    cursor: pointer;
}

/* lists */
ul.nobullets {
    padding-left: 0;
    margin: 0px;
}

ul.nobullets li {
    list-style: none;
}

/* Various screen elements */
.carousel-loginscreen {
    display: flex;
    justify-content: center;
    width: 100%;
}

.carousel-loginscreen p {
    margin-bottom: 0;
    color: #888888;
}

@media only screen and (max-width: 767px) {
    .img-backdrop {
        display: none;
    }

    .logo-brand {
        height: 36px;
        text-align: center;
    }

    .carousel-loginscreen {
        text-align: center;
    }
}

@media only screen and (min-width: 768px) {
    .loginbox-shadow {
        -moz-box-shadow: 5px 5px 7px 0 #bbb;
        -webkit-box-shadow: 5px 5px 7px 0 #bbb;
        box-shadow: 5px 5px 7px 0 #bbb;
    }

    .logo-brand {
        height: 72px;
        text-align: center;
    }
    .carousel-loginscreen {
        text-align: center;
    }
}

.img-navbar-brand {
    height: 16px;
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
}

.img-backdrop {
    bottom: -100px;
    height: 400px;
    left: -160px;
    opacity: .5;
    position: fixed;
    z-index: -100;
}


img.defaultscreenitem {
    width: 64px;
}

img.grayedout {
    filter: grayscale(100%);
}

.grayedout:hover {
    cursor: not-allowed;
}

img.grayedout:hover {
    border: transparent thin solid;
}

img.notimplemented {
    filter: grayscale(90%) blur(3px);
    opacity: 70%;
}

.notimplemented:hover {
    cursor: progress;
}

img.notimplemented:hover {
    border: transparent thin solid;
}

div.dropdown-menu a.text-muted {
    color: #a0a0a0;
    font-style: italic;
    cursor: not-allowed;
}

div.dropdown-menu a.grayedoutitem {
    pointer-events: none;
    cursor: not-allowed;
    font-style: italic;
    color: #bbbbbb;
}

img.appicon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

img.dialogicon {
    margin-right: 10px;
    margin-bottom: 10px;
    text-indent: 0px;
}

#img_about_selfservice_logo {
    width: 256px;
}

/* tables and lists */
.autowidth {
    width: auto;
}

.spaceright {
    padding-right: 5em;
}

.table-ultracondensed>thead>tr>th, .table-ultracondensed>tbody>tr>th,
.table-ultracondensed>tfoot>tr>th, .table-ultracondensed>thead>tr>td,
.table-ultracondensed>tbody>tr>td, .table-ultracondensed>tfoot>tr>td {
    padding: 1px;
    padding-left: 16px;
}

.table-md th,
.table-md td {
    padding: 0.45rem;
}

table.accountinfo {
    margin-left: 1em;
}

table.accountinfo tbody th, table.accountinfo thead th {
    padding-left: 0px;
    border-bottom: solid thin #666;
    padding-top: 1em;
}

td.wrapping {
    word-wrap: break-word;
}

/* .teacherscomments { */
/* border: solid 1px #ddd; */
/* padding: 1rem 0.8rem; */
/* } */
.teacherscomments table {
    border: solid 1px #bbb;
    margin: 0.5rem 2rem;
    border-collapse: collapse;
}

.teacherscomments table td, .teacherscomments table th {
    border: solid 1px #bbb;
    padding: 0.4rem 0.8rem;
}

.teacherscomments blockquote {
    border-left-style: solid;
    border-left-width: 5px;
    border-left-color: #ddd;
    padding-bottom: 0.2rem;
    padding-left: 0.8rem;
    /* margin-top: 0.4rem 0.8rem; */
}

.teacherscomments blockquote blockquote {
    border-left-color: #ecc;
}

.teacherscomments blockquote blockquote blockquote {
    border-left-color: #cec;
}

.teacherscomments blockquote blockquote blockquote blockquote {
    border-left-color: #c0c0e8;
}

.btn-answer-container {
    display: inline-block;
    height: auto;
}

.btn-answer {
    align-items: center;
    background: #eee;
    border-color: #ccc;
    color: #212529;
    display: flex;
}

@media only screen and (min-width: 768px) {
    .btn-answer {
        min-height: 4rem;
    }
}
