@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css');

:root {
    --bs-blue: #2D9F9B;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-brand: #2D9F9B;
    --bs-brandl: #61AAB0;
    --bs-primary: #2D9F9B;
    --bs-secondary: #61AAB0;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

main {
    max-width: 100vw;
}

select {
    white-space: nowrap;
    text-overflow: ellipsis;
}

h1:focus {
    outline: none;
}

h4 {
    font-weight: normal;
}

#app {
    flex-direction: column;
}

#global-toast:not(.show) {
    pointer-events: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
    /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
    box-shadow: none;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.btn-primary {
    color: white !important;
    background-color: #00ADB5 !important;
}

.btn-secondary {
    color: white !important;
}

.btn-outline-secondary {
    background-color: white !important;
    color: #00ADB5 !important;
    border-color: #00ADB5 !important;
}

.hide-tb {
    display: none !important;
}

.container-label {
    padding-top: 1.025rem;
}

.clickable {
    cursor: pointer;
}

.selected-course:after {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
}

.selected-course-check {
    position: absolute;
    left: 50%;
    top: 50%;
    color: white;
    font-size: 5em;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ue-check-container {
    padding: 0.3em;
}

.page-small {
    max-width: 1300px;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-floating > label {
    left: .6rem;
}

.form-floating > label {
    z-index: 3;
}

.form-floating textarea:not(:placeholder-shown) ~ label ~ div {
    width: calc(100% - 2rem);
    height: 2rem;
    background-color: white;
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: 1;
    padding-top: 1.625rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-top-left-radius: 1rem;
}

.form-floating textarea ~ label {
    z-index: 2;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3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ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }


.chips-container {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .chips-container:focus-within {
        color: #212529;
        background-color: #fff;
        border-color: #96cfcd !important;
        outline: 0;
        box-shadow: none;
        z-index: 3;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }



@keyframes loading-skeleton {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

.loading-skeleton img {
    filter: grayscale(100%) contrast(0%) brightness(1.8);
    pointer-events: none;
    animation: loading-skeleton 1s infinite alternate;
    color: transparent;
    appearance: none;
    -webkit-appearance: none;
    background-color: #eee;
    border-color: #eee;
}

.loading-skeleton *:not(div):not(table):not(tbody):not(thead):not(th) {
    pointer-events: none;
    animation: loading-skeleton 1s infinite alternate;
    color: transparent;
    appearance: none;
    -webkit-appearance: none;
    background-color: #eee;
    border-color: #eee;
}

.loading-skeleton label {
    display: none;
}

.loading-skeleton .form-control::placeholder {
    color: transparent;
}

/* Loading Spinner */

.lds-roller {
    display: inline-block;
    height: 80px;
    position: relative;
    width: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            background: black;
            border-radius: 50%;
            content: " ";
            display: block;
            height: 7px;
            margin: -4px 0 0 -4px;
            position: absolute;
            width: 7px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                left: 63px;
                top: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                left: 56px;
                top: 68px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                left: 48px;
                top: 71px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                left: 40px;
                top: 72px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                left: 32px;
                top: 71px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                left: 24px;
                top: 68px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                left: 17px;
                top: 63px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                left: 12px;
                top: 56px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-container {
    position: sticky;
    top: 0;
    z-index: 99;
}


.loader-row {
    background-color: #FDFDFD;
    height: .375rem;
}

.loader .linear-activity {
    height: .375rem;
    /*background-color: #f8f9fa;*/
    margin: 20px auto;
    overflow: hidden;
    width: 100%;
    /*border-radius: .5rem;*/
}


.loader .indeterminate {
    height: 100%;
    position: relative;
    width: 100%;
}

    .loader .indeterminate:before {
        animation: indeterminate_first 1s infinite ease-out;
        background-color: #00ADB5;
        content: '';
        height: 100%;
        position: absolute;
    }

    .loader .indeterminate:after {
        background-color: #00ADB5;
        content: '';
        height: 100%;
        position: absolute;
        /*        animation: indeterminate_second 1.5s infinite ease-in;*/
    }

@keyframes indeterminate_first {
    0% {
        left: -100%;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 10%;
    }
}

.sticky-footer-button {
    max-width: 100%;
    min-width: 100%;
}


@media (min-width: 576px) {
    .sticky-footer-button {
        min-width: 150px;
    }
}

@media (min-width: 992px) {
    #app {
        flex-direction: row;
    }
}

/* Forms Builder */
div.survey-form-editor > div.editor-panel {
    border: 0 !important;
    background-color: #f0f0f0;
    min-width: 300px;
    max-width: 300px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

div.survey-form-editor > div.editor-preview {
    min-width: 300px;
}

div.survey-form-editor {
    min-height: 600px;
}

div.editor-preview > div.survey-field:not(.border-primary) {
    cursor: pointer;
}

div.editor-preview div.editor-preview-mode-section {
    all: unset;
}

.hoverable:hover {
    border-color: #96cfcd;
}

#embed-code-modal .modal-body {
    padding: 0;
}

#embed-code-modal .modal-body > textarea {
    min-height: 200px;
}

span.truncated,
strong.truncated {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 10em;
}

/* Additions from Brent */
body {
    font-family: Poppins;
    background: #f5f9fd;
}

a {
    color: #386467;
}

.main .top-row {
    background-color: ffffff;
    border-bottom: none;
    box-shadow: 0px 0px 10px #ddecf0;
}

/*---Table Styles---*/
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f5f9fd;
}

.table td {
    border-top: none;
}

.table th {
    font-weight: 500;
}

/*---Button Styles---*/
/*.btn-primary {
    background-color: #3a3a3a !important;
    border-color: #3a3a3a !important;
}*/

/*---Badge Styles---*/
.badge {
    font-weight: 400;
}

.odd {
    background-color: rgba(0, 0, 0, 0.05);
}


.placeholder {
    z-index: 1000000;
}

.min {
    width: 1%;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
    margin: calc(1rem - 3px) calc(0.75rem - 2px);
    padding: 0rem 0rem;
    height: auto;
    width: auto;
    background-color: transparent;
    opacity: 0.65;
}


/*.input-group > .form-floating:not(:first-child) > .form-control, .input-group > .form-floating:not(:first-child) > .form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
*/

.form-floating textarea:not(:placeholder-shown) ~ label ~ div {
    width: calc(100% - 3rem);
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
    background-position: top calc(.375em + .1875rem) right calc(1rem);
}