/* NON-CUSTOMIZED STYLES */

/* BOOSTRAP OVERRIDES */
body {
    line-height: 1.25;
    color: #666666;
    font-size: 0.95rem;
    font-family: Verdana, Geneva, sans-serif;
}
.modal-content, .form-control, .input-group-text, .btn {
    border-radius: 0;
}
.btn {
    font-size: 0.95rem;
}
.btn:disabled {
    cursor: not-allowed;
}
.modal-footer {
    display: block;
}
.modal-footer form {
    margin: 0;
}
.modal-footer input.btn, .modal-footer button.btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
}

/* CHOSEN OVERRIDES */
.chosen-container {
    width: 100% !important;
    border: 1px solid #ced4da;
    font-size: inherit;
}

.chosen-container .chosen-choices {
    padding: 0.375rem 0.75rem;
    border: 0;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
    color: #495057;
}

/* JQKEYBOARD OVERRIDES */
#jqk-toggle-btn, #jq-keyboard {
    display: none;
    z-index: 2000;
}
#jq-keyboard {
    position: fixed;
    border-bottom: 1px;
    border-radius: 0;
}
#jq-keyboard.show {
    min-width: 620px;
}
.jqk-lang-btn {
    visibility: hidden;
}
#jq-keyboard button.jqk-btn {
    border-bottom: 0;
    border-radius: 0;
}

/* RE-USEABLE COMPONENTS */

/* whole page containers */
.centerWholePageContentContainer {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
.ilsBodyWrapper {
    margin-top: 0.5rem;
    background-color: #F7F7F7;
    border: 2px solid #CCCCCC;
}

/* background colors */
.primaryColorBg {
    background-color: #B44A3C;
}
.secondaryColorBg {
    background-color: #779B5E;
}
.neutralColorBg {
    background-color: #CCCCCC;
}

/* buttons */
.secondaryBtn, .secondaryBtn:focus {
    background-color: #779B5E;
    color: #FFFFFF;
}
.secondaryBtn:hover {
    background-color: #81A569;
    color: #FFFFFF;
}
.secondaryBtn:active {
    background-color: #6C8E55;
    color: #FFFFFF;
}
.neutralBtn, .neutralBtn:focus {
    background-color: #CCCCCC;
}
.neutralBtn:hover {
    background-color: #D6D6D6;
}
.neutralBtn:active {
    background-color: #C1C1C1;
}
.warningBtn, .warningBtn:focus {
    background-color: #B44A3C;
    color: #FFFFFF;
}
.warningBtn:hover {
    background-color: #C05545;
    color: #FFFFFF;
}
.warningBtn:active {
    background-color: #A44537;
    color: #FFFFFF;
}
.roundBtn {
    padding: 0.375rem 0.65rem;
    border-radius: 50%;
}
.courseLaunch {
    width: 6rem;
}
.exapandMobile {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
}

/* titles */
.ilsPageTitle {
    margin: 1rem 0;
    font-size: 1.5rem;
}

/* messages */
.errorMessage {
    color: #B44A3C;
    font-weight: 700;
}

/* passwords */
.passwdValid:after, .minPasswdSuccess, .passwdMatch {
    color: #008000;
}
.passwdInvalid:after, .minPasswdFail, .passwdNoMatch {
    color: #ff0000;
}
.passwdValid:after {
    content: '✔';
    font-weight: bold;
}
.passwdInvalid:after {
    content: '⦻';
    font-weight: bold;
}
.passwdNoMatch, .passwdMatch {
    margin-top: 0.5rem;
    text-align: right;
}
.minPasswdSuccess, .minPasswdFail {
    font-weight: 700;
}
.minPasswordReqList {
    margin-bottom: 1.5rem;
    padding-inline-start: 0;
    list-style-type: none;
}
.minPasswordReqList .passwdValid {
    margin-right: 0.74rem;
}
.minPasswordReqList .passwdInvalid {
    margin-right: 0.5rem;
}

/* sections */
.ilsSection {
    margin-bottom: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
}
.ilsSectionTitle {
    padding-left: 0.25em;
    background-image: linear-gradient(to right, #B44A3C, #CC7770);
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
}
.ilsSectionTitle h2 {
    margin-bottom: 0;
    font-size: inherit;
    font-weight: inherit;
}
.ilsSectionHeader {
    padding: 0.5rem 1rem;
    align-items: center;
}
.ilsSectionHeaderChooseAction {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
}
.ilsSectionBody {
    padding: 1rem;
}
.ilsSectionSubSection h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.ilsSectionSubSection hr {
    margin-top: 2rem;
}
.ilsSectionSubContentContainer {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #F7F7F7;
}

/* tables */
.mobileTableContainer {
    overflow-x: auto;
}
.ilsTable {
    margin: 0;
}
.ilsTable th {
    background-color: #666666;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.ilsTable th a {
    color: #FFFFFF;
}
.ilsTable th a:hover {
    color: #FFFFFF;
}
.ilsTable th a:active {
    color: #FFFFFF;
}
.ilsTable td {
    vertical-align: middle;
    border: 1px solid #CCCCCC;
    color: #666666;
}
.checkboxCol {
    width: 3rem;
    text-align: center;
}
.noCol, .dateCol, .scoreCol {
    width: 6rem;
}
.noData {
    padding: 1rem;
    text-align: center;
}

/* pagination */
.ilsPagination {
    margin-bottom: 1rem;
    align-items: center;
}
.ilsPagination .pageLinks {
    text-align: right;
}
.ilsPagination .goToPage {
    margin-top: 1rem;
}
.ilsPagination .goToPageLabel {
    align-self: center;
    margin-right: 0.5rem;
}
.ilsPagination .goToPageForm {
    justify-content: end;
}
.ilsPagination .goToPageInput {
    width: 5rem;
}

/* forms */
.required {
    color: #FF0000;
    font-weight: 700;
}
.descCounter {
    margin-top: 0.25rem;
    text-align: right;
    color: #CCCCCC;
}
.descCounterWarning {
    color: #FF0000;
}

/* COMPONENTS */

/* header */
.headerButtons {
    padding: 1rem 0;
}
.headerButtonsLeft a {
    margin-right: 0.5rem;
}
.headerButtonsRight {
    text-align: right;
}
.headerButtonsRight a {
    margin-left: 0.5rem;
}
.headerBannerRow {
    display: flex;
    flex-direction: row;
}
.headerLogo {
    background-color: #FFFFFF;
}
.headerLogo img {
    margin: 0.5rem;
    max-width: 100px;
    max-height: 60px;
}
.headerBanner {
    display: flex;
    align-items: center;
    flex-grow: 1;
    background-image: linear-gradient(to right, #FFFFFF, #B44A3C);
}
.headerBanner h2 {
    margin: 0 0 0 0.5rem;
    font-size: 1rem;
}

/* header - main nav */
.mainNav {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 1rem;
    background-color: #666666;
}
.mainNav .navbar-nav .nav-item:hover {
    background-color: #707070;
}
.mainNav .navbar-nav .nav-link {
    height: 100%;
    padding: 1rem 1rem 1rem 0.5rem;
    color: #FFFFFF;
}
.mainNav .navbar-nav .nav-link:hover {
    color: #FFFFFF;
}
.mainNav .dropdown-menu {
    background-color: #FFFFFF;
    border: 1px solid #666666;
    border-radius: 0;
}
.mainNav .dropdown-item {
    padding: 0.75rem 1rem;
    color: #666666;
}
.mainNav .dropdown-item:hover {
    background-color: #F7F7F7;
    color: #666666;
}
.mainNav .dropdown-item:active {
    background-color: #CCCCCC;
    color: #666666;
}
.mainNav .mobileNavLink {
    background-color: #CCCCCC;
    color: #666666 !important;
}
.mainNav .mobileNavLink:hover {
    background-color: #D6D6D6;
    color: #666666 !important;
}
.mainNav .mobileNavLink:active {
    background-color: #C1C1C1;
    color: #666666 !important;
}

/* footer */
.footer {
    text-align: center;
    color: #000000;
    font-size: 0.90rem;
}

/* footer - i18n menu */
.i18nMenu {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0.5rem;
    background-color: #CCCCCC;
    text-align: center;
}
.i18nMenuIcon {
    margin: 0 0.5rem;
}
.i18nMenuOptions {
    flex-grow: 1;
}

/* loader */
.loaderBackdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.45);
}
.loaderContainer {
    display: flex;
    width: 160px;
    height: 160px;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border: 1px solid #666666;
}
/* Courtesy of https://loading.io/css/ */
.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #666666;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}
.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}
.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}
.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}
.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}
.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}
.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}
.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}
.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}
.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}
.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}
.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}
@keyframes lds-default {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

/* PAGE SPECIFIC STYLES - ALPHABETICAL */

/* course management */
.cmStatusCol {
    width: 6rem;
}
.previewCol {
    width: 8rem;
}
td.previewCol {
    text-align: center;
}

/* course profile */
.courseFileList {
    height: 250px;
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid #ced4da;
}
.courseFileList ol {
    padding-left: 1rem;
}
.courseFileList ol li {
    margin-bottom: 0.5rem;
}

/* curriculum */
.courseNameCol {
    min-width: 7rem;
}
.sortOrderCol {
    width: 6rem;
}

/* individual report */
.curriculumHeaderRow td {
    background-color: #BBBBBB;
}
.subCourseHeaderRow td {
    background-color: #D2D2D2;
}
.historicalRecord td {
    color: #A8A8A8 !important;
    font-style: italic;
}
.reportToggleCol {
    width: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
}


/* login */
.login {
    width: 450px;
    margin: 0 0.5rem;
    padding: 0.5rem;
}
.loginLogo {
    text-align: center;
}
.loginTitle {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}
.loginError {
    padding: 0.5rem 1rem;
    text-align: center;
}
.loginPasswordUtils {
    display: flex;
    margin-top: 0.5rem;
}
.loginPasswordUtils .showHideLink {
    flex-grow: 1;
    text-align: right;
}
.loginLink {
    margin-top: 2rem;
    text-align: center;
}
#tcModal .tcContent {
    max-height: 300px;
    overflow-y: auto;
}
#tcModal .tcBtn {
    display: block !important;
    width: 100% !important;
}

/* mfa */
.mfaContainer label {
    margin-bottom: 1rem;
    font-weight: 700;
}
.mfaContainer button {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: #CCCCCC;
    border: 1px solid transparent;
    border-radius: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.mfaContainer button:hover {
    background-color: #D6D6D6;
}
.mfaContainer button:active {
    background-color: #C1C1C1;
}
.mfaContainer input {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0 !important;
    height: auto;
    padding: 0.375rem 0.75rem;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    line-height: 1.5;
    color: #495057;
    font-size: 1rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* my courses */
.courseCatalogSubSectionTitle {
    padding-left: 0.25em;
    background-color: #CCCCCC;
    font-size: 0.90rem;
    font-weight: 700;
    text-transform: uppercase;
}
.showHideCol {
    width: 6rem;
    text-align: center;
}
.timeframeCol {
    width: 9rem;
}
.statusCol, .currStatusCol {
    width: 8rem;
}
td.statusCol {
    text-align: center;
}
.certCol, .sizeCol {
    width: 6rem;
}
td.certCol {
    text-align: center;
}

/* buttons - course catalog */
.showHideBtn {
    width: 5rem;
}
.retakeBtn {
    background-color: #E89325;
    color: #FFFFFF;
}
.retakeBtn:hover {
    background-color: #EA9E39;
    color: #FFFFFF;
}
.retakeBtn:active {
    background-color: #E18B17;
    color: #FFFFFF;
}
.retestBtn {
    background-color: #FF0000;
    color: #FFFFFF;
}
.retestBtn:hover {
    background-color: #FF1515;
    color: #FFFFFF;
}
.retestBtn:active {
    background-color: #EA0000;
    color: #FFFFFF;
}
.lockedBtn {
    cursor: not-allowed !important;
    background-color: #CCCCCC;
}

/* help */
.helpContainer {
    display: block;
    width: 100%;
    height: auto;
}
.helpContainer main {
    padding: 1rem;
    flex-grow: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.helpContainer main .version {
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.helpContainer main section {
    margin-bottom: 2rem;
}
.helpContainer main section h3 {
    font-size: 1.5rem;
}
.helpContainer main section h4 {
    font-size: 1.25rem;
}
.helpContainer main section p {
    font-size: 1rem;
}
.helpContainer main section .helpList {
    margin-bottom: 0;
}
.helpContainer main section .helpList li {
    padding-bottom: 0.5rem;
}
.helpContainer main section article {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #F7F7F7;
    font-size: 1rem;
}
.helpContainer main section .helpImg {
    margin-bottom: 1rem;
}
.helpContainer main section img {
    border: 1px solid #CCCCCC;
}
.helpNav, .subNav {
    padding: 1rem;
    padding-top: 1rem;
    height: 100%;
    overflow-y: auto;
}
.helpNav {
    background-color: #F7F7F7;
}
.helpNav .helpNavMenuBtn {
    margin-bottom: 0;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;
}
.helpNav h2 {
    font-size: 2rem;
}
.helpNav h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.helpNav .menuIcon {
    margin-right: 0.25rem;
    vertical-align: text-bottom;
}
.helpNav a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}
.subNav {
    display: none;
    border-left: 1px solid #CCCCCC;
}
.subNav h3 {
    font-size: 1rem;
}
.subNav a {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.launchBtnTable td {
    padding: 0.5rem;
}
.helpWarning {
    color: #FF0000;
    font-style: italic;
    font-weight: 700;
}
.apiRequest, .apiResponse {
    overflow-x: auto;
    padding: 0.5rem;
    background-color: #666666;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;;
}
.apiRequest {
    margin-bottom: 1.5rem;
}
.apiResponse {
    margin-bottom: 3rem;
}

/* manager authorization */
.dateComCol, .checklistCol {
    width: 8rem;
}
.authComCol {
    width: 7rem;
}
.authAll {
    vertical-align: middle;
    margin-left: 1rem;
}

/* purchase seats */
.transactionConfirmation {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.priceCol, .qtyCol {
    width: 6rem;
}
.availibleSeatsCol {
    width: 8rem;
}

/* simple course builder */
.simpleQuestion select.questionType {
    width: 100%;
}

/* system management */
.dayOfWeekPicker {
    width: 100%;
}
.dayOfWeekPicker th, .dayOfWeekPicker td {
    padding: 0.25rem 0.5rem;
    text-align: center;
}
.dayOfWeekPicker th {
    font-weight: 400;
}
.complEmailsModalBody, .cookieReportModalBody {
    max-height: 75vh;
    overflow-y: scroll;
}
.complEmailsModalDownloadCol {
    width: 7rem;
}
.removeDiscountCodeCol, .cookieRevokeCol, .jobsRunCol {
    width: 6rem;
}
td.complEmailsModalDownloadCol, td.cookieRevokeCol, td.removeDiscountCodeCol, td.jobsRunCol {
    text-align: center;
}

/* utilities */
.deleteUsersInput {
    width: 300px;
}

/* view logs */
.logs {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.logView {
    flex-grow: 1;
}
#logWindow {
    width: 100%;
    height: 100%;
}

/* MEDIA QUERIES
 *
 * Based on Boostrap 4.6.X breakpoints
 * https://getbootstrap.com/docs/4.6/layout/overview/
 */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .headerLogo img {
        max-width: 200px;
    }
    .headerBanner h2 {
        font-size: 1.25rem;
    }
    #tcModal .tcContent {
        max-height: 500px;
    }
    #tcModal .tcBtn {
        margin: 0 0 0.5rem 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* JQKEYBOARD OVERRIDES */
    #jqk-toggle-btn, #jq-keyboard {
        display: block;
    }
    .mainNav .navbar-nav .nav-link {
        padding: 0.5rem 1rem 0.5rem 0.5rem;
    }
    .ilsSectionHeaderChooseAction {
        display: inline;
        vertical-align: middle;
        width: auto;
        height: calc(1.5rem + .75rem + 1px);
        margin-right: 0.25rem;
    }
    .modal-footer {
        display: flex;
    }
    .modal-footer input.btn, .modal-footer button.btn, .exapandMobile {
        display: inline-block;
        width: auto;
        margin: 0 0 0 0.5rem;
    }
    .ilsPagination .pageLinks {
        text-align: center;
    }
    .ilsPagination .goToPage {
        margin-top: 0;
    }
    .simpleQuestion select.questionType {
        width: auto;
    }
    .mfaContainer button, .mfaContainer input {
        display: inline-block;
        width: auto;
        margin-top: 0;
    }
    .mfaContainer input {
        margin-left: 0.5rem;
    }
    .helpContainer {
        display: flex;
        height: 100vh;
    }
    .helpContainer main {
        padding: 2rem;
    }
    .helpNav {
        padding-top: 2rem;
        min-width: 300px;
    }
    .helpNav h2 {
        font-size: 1.5rem;
    }
    .helpNav #helpNavCollapse {
        display: block;
    }
    .subNav {
        display: block;
        padding-top: 2rem;
        min-width: 225px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .cookieReportModal .modal-lg {
        max-width: 1000px;
    }
}

@media print {
    .helpNav, .subNav {
        display: none;
    }
}
