﻿/*@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
*/

.site-layout {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow: hidden;
}

html, body {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ForegoundColour);
}

.warning {
    color: red;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
}

/* 
   <sup><i class="fa-regular fa-asterisk required-input"></i></sup>
*/

.required-input {
    font-size: 0.5rem;
    color: #cf1c1c;
}



/* Mobile desktop show hide content*/
@media (max-width: 700px) {
    .mobile-device {
        display: block;
    }

    .desktop-device {
        display: none;
    }
}

@media (min-width: 700px) {
    .mobile-device {
        display: none;
    }

    .desktop-device {
        display: block;
    }
}

/* Scroll to top button*/
.scroll-desktop {
    display: none;
}

.scroll-mobile {
    display: block;
}

.scroll-to-top {
    position: fixed;
    right: 0.5rem;
    bottom: 0.5rem;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #fff;
    background: rgba(90, 92, 105, 0.5);
    line-height: 30px;
    z-index: 10;
}

    .scroll-to-top:focus, .scroll-to-top:hover {
        color: white;
    }

    .scroll-to-top:hover {
        background: #5a5c69;
        cursor: pointer;
    }

    .scroll-to-top i {
        font-weight: 800;
    }

@media (min-width: 700px) {
    .scroll-desktop {
        display: block;
    }

    .scroll-mobile {
        display: none;
    }

    .scroll-to-top {
        position: fixed;
        right: 1rem;
        bottom: 9px;
        width: 9rem;
        height: 2.75rem;
        text-align: center;
        color: #fff;
        background: rgba(90, 92, 105, 0.5);
        line-height: 46px;
        z-index: 10;
    }
}



/* Buttons and links */
button:disabled {
    opacity: 0.2;
}

a {
    text-decoration: none;
    color: var(--ForegoundColour) !important;
}

.btns-group-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1em;
    margin: 1em;
}

.btns-group-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.5em;
    margin: 1em;
}

.primarybtn {
    width: 100%;
    padding: 0.5em;
    border-radius: 24px;
    text-align: center;
    border: 2px solid var(--SecondaryColour);
    color: var(--SecondaryColour) !important;
    background-color: var(--BackgroundColour);
    font-weight: 600;
    text-transform: uppercase;
}

    .primarybtn:hover {
        cursor: pointer;
        color: white !important;
        background-color: var(--SecondaryColour);
    }

.primarybtn-sml {
    width: fit-content;
    padding: 0.4em;
    border: none;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--ForegoundColour);
    color: var(--ForegoundColour);
    background-color: var(--BackgroundColour);
}

    .primarybtn-sml:hover {
        cursor: pointer;
        color: var(--IQLightBlue) !important;
        border: 2px solid var(--IQLightBlue);
    }

.savebtn {
    width: 50%;
    padding: 0.5em;
    border-radius: 12px;
    margin: 1em auto 0.5em auto;
    text-align: center;
    background-color: var(--IQLightBlue);
    border: none;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
}

    .savebtn:hover {
        cursor: pointer;
        background-color: var(--IQLightBlueOpacity);
    }

    .savebtn.small-btn{
        width: 50%;
    }

.lightMode .savebtn {
    box-shadow: 2px 2px 4px var(--Grey40);
}

.go-btn {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: 500;
    border-radius: 16px;
    background-color: green;
    color: white;
    padding: 1rem;
}

    .go-btn:hover {
        cursor: pointer;
        color: var(--BackgroundColour);
        background-color: var(--ForegoundColour);
    }

.filter-btn {
    padding: 0.5em;
    border: none;
    border-radius: 12px;
    text-align: center;
    background-color: var(--IQLightBlue);
    color: white;
}

    .filter-btn:hover {
        cursor: pointer;
        background-color: var(--IQLightBlueOpacity);
        color: white;
    }

.lightMode .filter-btn {
    box-shadow: 2px 2px 4px var(--Grey40);
}

/* Breadcrumb and filterbar */
.breadcrumb-bar {
    margin: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--ForegoundColour);
    align-items: center;
    padding: 0.5em;
    z-index: 5;
}

    .breadcrumb-bar h3 {
        font-size: 1.6em;
        font-weight: 900;
        margin: 0;
    }

.breadcrumb {
    --bs-breadcrumb-padding-x: 0;
    --bs-breadcrumb-padding-y: 0;
    --bs-breadcrumb-margin-bottom: 0;
    --bs-breadcrumb-bg: none;
    --bs-breadcrumb-border-radius: 0;
    --bs-breadcrumb-divider-color: var(--Grey50);
    --bs-breadcrumb-item-padding-x: 0.5rem;
    --bs-breadcrumb-item-active-color: var(--SecondaryColour);
}

.breadcrumb-item.link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.filter-bar {
    background-color: var(--BackgroundSecondary);
    margin: 10px;
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 1em;
    flex-wrap: wrap;
    align-items: center;
}

    .filter-bar .filter-bar-filters {
        font-size: 0.9em;
        padding: 0.5em;
        flex: 2 1 auto;
    }

        .filter-bar .filter-bar-filters h3 {
            font-size: 1.3em;
            font-weight: 600;
            padding: 0;
            margin: 0;
        }



/* Layout boxes */
.background-box-shadow {
    background-color: var(--BackgroundSecondary);
    color: var(--ForegoundColour);
    margin: 0 8%;
    margin-bottom: 2em !important;
    position: relative;
    border-radius: 6px;
    padding: 1em 0;
}

    .background-box-shadow hr {
        width: 80%;
        margin: 1em auto;
        color: var(--Grey40);
    }

.background-box-noind {
    color: var(--ForegoundColour);
    margin: 0;
    margin-bottom: 2em !important;
    position: relative;
    border-radius: 6px;
    padding: 1em 0;
}


.background-box-shadow-noind {
    background-color: var(--BackgroundSecondary);
    color: var(--ForegoundColour);
    margin: 0;
    margin-bottom: 2em !important;
    position: relative;
    border-radius: 6px;
    padding: 1em 0;
}

    .background-box-shadow-noind hr {
        width: 80%;
        margin: 1em auto;
        color: var(--Grey40);
    }

.background-box {
    margin: 0 10px;
    margin-bottom: 2em !important;
    position: relative;
    border-radius: 6px;
    padding: 0;
    background-color: transparent;
    color: var(--ForegoundColour);
}

.background-box-bar {
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    border-radius: 6px;
}

    .background-box-bar h2.section-header {
        font-size: 1.3em;
        font-weight: 600;
        padding: 0;
        margin: 0;
        padding-left: 1rem;
    }

    .background-box-bar h3.section-header {
        font-size: 1em;
        font-weight: 600;
        padding: 0;
        margin: 0;
    }

.background-box-content {
    padding: 0 2em;
}

.details-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .details-grid .details-grid-col,
    .details-grid .details-grid-multi-col {
        width: 100%;
    }

    .details-grid .courseimg {
        display: flex;
        justify-content: center;
    }

    .details-grid img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

.info-text {
    padding: 0.5em;
    color: var(--Grey50);
    font-size: 0.8em;
}

.reportviewer-box {
    margin: 0 1%;
    margin-bottom: 2em !important;
    position: relative;
    border-radius: 6px;
    padding: 0;
    background-color: transparent;
    color: var(--ForegoundColour);
}


.info-group {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.3rem;
    gap: 1rem;
}

    .info-group label {
        width: 75%;
    }

    .info-group div {
        border: 1px solid var(--Grey20);
        padding: 0.2em;
        border-radius: 6px;
        background-color: #e9ecef;
        min-width: 50px;
        text-align: center;
        color: #212529;
    }

@media (min-width: 700px) {
    .breadcrumb-bar {
        margin: 20px 8%;
    }

    .filter-bar {
        margin: 0 8% 1em 8%;
    }

    .background-box {
        margin: 0 8%;
    }

    .info-group label {
        width: 25%;
    }
}

@media (min-width: 1000px) {
    .details-grid .details-grid-multi-col {
        width: 45%;
    }
}
/* Table styles */
.lms-table {
}

    .lms-table .table-grid {
        display: flex;
        flex-direction: column;
    }

        .lms-table .table-grid .table-grid-line {
            margin: 0.5em 0;
        }

        .lms-table .table-grid .table-row {
            width: 100%;
            display: grid;
            border: 2px solid transparent;
            border-radius: 6px;
        }

            .lms-table .table-grid .table-row:hover {
                border: 2px solid var(--Grey10);
            }

            .lms-table .table-grid .table-row.headers:hover {
                border-color: transparent;
            }

            .lms-table .table-grid .table-row.headers .sortable::after {
                font: var(--fa-font-regular);
                content: "\e099";
                margin-left: 0.5em;
            }

            .lms-table .table-grid .table-row.headers .sortable.asc::after {
                font: var(--fa-font-regular);
                content: "\f175";
                margin-left: 0.5em;
            }

            .lms-table .table-grid .table-row.headers .sortable.desc::after {
                font: var(--fa-font-regular);
                content: "\f176";
                margin-left: 0.5em;
            }

            .lms-table .table-grid .table-row.headers .sortable:hover {
                cursor: pointer;
                text-decoration: underline;
            }


            .lms-table .table-grid .table-row > div {
                padding: 0.3em;
            }


        .lms-table .table-grid .headers {
            font-weight: 600;
        }

        .lms-table .table-grid .grid-icon {
            align-self: center;
        }

        .lms-table .table-grid .row-wrapper:hover {
            background-color: var(--IQLightBlueOpacity);
            cursor: pointer;
        }

        .lms-table .table-grid .grid-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.5em;
        }

            .lms-table .table-grid .grid-buttons .grid-btn {
                height: 30px;
                width: 30px;
                background-color: transparent;
                color: var(--Grey50);
                font-size: 1.2em;
                padding: 0;
                border: none;
            }

                .lms-table .table-grid .grid-buttons .grid-btn:hover {
                    color: darkred;
                }

@media (min-width: 700px) {
    .lms-table .table-grid .grid-buttons {
        flex-direction: row;
    }
}

/* Input Styles */
.form-control {
    color: #212529;
    background-color: var(--TextBoxColour);
    border: 1px solid #ced4da;
}

    .form-control:disabled {
        cursor: default;
        pointer-events: none;
    }

.details-grid .input-grouping {
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: start;
}

    .details-grid .input-grouping .form-label {
        margin-bottom: 0;
        flex: 1 1 0;
    }

    .details-grid .input-grouping .form-control {
        width: 100%;
    }

    .details-grid .input-grouping .input-group {
        width: 50%;
    }

    .details-grid .input-grouping .form-control.form-noborder {
        border: none;
        background-color: transparent;
    }

.details-grid .input-checkbox-row {
    display: flex;
    flex-direction: column;
}

.details-grid .input-group button:hover {
    background-color: var(--bs-blue);
    color: white;
}

@media (min-width: 700px) {
    .details-grid .input-checkbox-row {
        flex-direction: row;
        gap: 1em;
    }
}

@media (min-width: 1000px) {
    .details-grid .input-grouping {
        margin-bottom: 1em;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

        .details-grid .input-grouping .form-control {
            flex: 3 1 0;
            width: auto;
        }
}

/*Large card styles */
.card-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.card2 {
    display: block;
    top: 0px;
    min-height: 0;
    max-height: 500px;
    position: relative;
    min-width: 252px;
    max-width: 350px;
    border: 2px solid var(--Grey10);
    border-radius: 6px;
    padding: 0;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    color: var(--ForegoundColour);
}

    .card2:hover {
        transition: all 0.2s ease-out;
        box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
        top: -4px;
        border: 1px solid #cccccc;
        background-color: var(--BackgroundColour);
        cursor: pointer;
    }

    .card2:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: #00838d;
        height: 32px;
        width: 32px;
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    .card2:hover:before {
        transform: scale(2.15);
    }

.card-list .go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 32px;
    height: 32px;
    overflow: hidden;
    top: 0;
    right: 0;
    background-color: var(--SecondaryColour);
    border-radius: 0 3px 0 32px;
}

.card-list .go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: courier, sans;
}

.card2 .card-internals {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
}

    .card2 .card-internals .course-img {
        min-height: 200px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        background-color: var(--Grey30);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .card2 .card-internals .coursecard-details {
        padding: 1em;
        flex-grow: 1;
        overflow: hidden;
    }


/*Small card styles */
.card-list-small {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.card-sml {
    display: block;
    top: 0px;
    position: relative;
    width: 100%;
    border: 2px solid var(--Grey10);
    border-radius: 6px;
    padding: 0;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    color: var(--ForegoundColour);
}

    .card-sml:hover {
        transition: all 0.2s ease-out;
        box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
        top: -4px;
        border: 1px solid #cccccc;
        background-color: var(--BackgroundColour);
        cursor: pointer;
    }

    .card-sml:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: #00838d;
        height: 32px;
        width: 32px;
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    .card-sml:hover:before {
        transform: scale(2.15);
    }

.card-list-small .go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 32px;
    height: 32px;
    overflow: hidden;
    top: 0;
    right: 0;
    background-color: var(--SecondaryColour);
    border-radius: 0 3px 0 32px;
}

.card-list-small .go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: courier, sans;
}

.card-sml .card-internals {
    width: 100%;
    display: flex;
    flex-direction: row;
}

    .card-sml .card-internals .course-img {
        max-width: 20%;
        height: auto;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

    .card-sml .card-internals .card-sml-colmn {
        display: flex;
        flex-direction: column;
    }

    .card-sml .card-internals .coursecard-details {
        padding: 1em 1em 0 1em;
        flex-grow: 1;
    }

    .card-sml .card-internals .card-footer {
        font-size: 0.9em;
        opacity: 0.8;
    }

/*Editor Styles*/
.editor-background-box {
    width: 100%;
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
}

.preview-area-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

/*    .preview-area-wrapper img {
        width: 55vw;
        height: auto;
    }*/

.editor-background-box.preview-area {
    width: 100%;
    position: relative;
/*    border: 1px solid #dee2e6;
    border-radius: 6px;*/
    padding: 1em;
}


/* Alert Toast */
.alert-toast {
    position: fixed;
    top: 0;
    left: 40%;
    z-index: 100;
    margin: 0.5em;
    padding: 1em 2em;
    border-radius: 6px;
    background-color: #29A746;
    color: white;
    display: flex;
    flex-direction: row;
}

    .alert-toast .toast-body {
        padding: 0 1em;
    }

    .alert-toast .toast-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2em;
    }

/* Portal Groups */
.portal-group {
    margin: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2vw;
}

    .portal-group .coursecard-details {
        text-align: center;
    }

    .portal-group .go-corner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        width: 32px;
        height: 32px;
        overflow: hidden;
        top: 0;
        right: 0;
        background-color: var(--SecondaryColour);
        border-radius: 0 4px 0 32px;
    }

    .portal-group .go-arrow {
        margin-top: -4px;
        margin-right: -4px;
        color: white;
        font-family: courier, sans;
    }

@media (min-width: 700px) {
    .portal-group {
        gap: 2vw;
        margin: 2em auto;
    }
}

@media (min-width: 1080px) {
    .portal-group {
        width: 70%;
    }
}

/* Other Styles */
.company-msg {
    margin: 1em 8%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    padding: 1em;
    border: 3px solid var(--SecondaryColourOpacity);
    border-radius: 6px;
    text-align: center;
    font-size: 1em;
}

/*.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .video-container video {
        width: 100%;
        border: 1px solid black;
    }

.lesson-content-wrapper img {
    width: 60vw;
    max-width: 1236px;
    height: auto;
}*/

.user-stats {
    width: 100%;
    text-align: right;
    padding: 1em;
    margin-top: -0.5em;
    margin-right: -0.5em;
    z-index: 2;
}

.trv-report-page img{
    max-width: initial;
}


.force-mfa-page .background-box-shadow {
    background-color: var(--IQDarkBlue);
    color: white;
}

.force-mfa-page .background-box-shadow i{
    color: white;
}