:root {
    --success: #02B875;
    --info: #337ab7;
    --warning: #f0ad4e;
    --danger: #ff0800;
    --border: #e6e6e6;


    --c1: #F8F5E2ff;
    --c1-highlight: rgb(227, 224, 204);
    --c5: rgb(234, 229, 192);
    --c5-highlight: rgb(213, 207, 182);
    --c3: #1B1B1Bff;
    --c4: #1B1B1Bff;
    /* --c5: #24564bff; */
    /* --c2: #0e9bf1ff; */
    --c2: rgb(154, 145, 85);
    /* --c2-shade: rgb(13, 135, 211); */
    --c2-shade: rgb(191, 181, 118);

    --btn-submit: var(--c2);
    --btn-submit-hover: var(--c2-shade);
    --btn-cancel: #ff3838;
    --btn-cancel-hover: #d76262;
    --btn-confirm: #69d7ff;
    --btn-confirm-hover: #a9e5fb;
    --btn-save: #69d7ff;
    --btn-save-hover: #a9e5fb;

    --step-bg: #d6d2c4;
    --step-current-bg: #6eceb2;

    --checkbox: #13b65c;

    --focus-color: #8fabdc;

    --white: #fff;
    --black: #000;

    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    /* Theme Colors */
    --primary-bg: var(--c1);
    --primary-bg-highlight: var(--c1-highlight);
    --secondary-bg: var(--c5);
    --secondary-bg-highlight: var(--c5-highlight);
    --tertiary-bg: var(--brown-sugar);
    --quad-bg: var(--oxford-blue);
    --primary-text: var(--c4);
    --secondary-text: var(--c3);
    --tertiary-text: var(--oxford-blue);
    --secondary-highlight-bg: var(--aquamarine);
    --primary-highlight-text: var(--aureolin);

    --form-control-border: #ced4da;
}

@font-face {
    font-family: "Montserrat-Variable";
    src: url(../fonts/Montserrat-VariableFont_wght.ttf);
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-Variable";
    src: url(../fonts/Montserrat-Italic-VariableFont_wght.ttf);
    font-style: italic;
    font-weight: 100 1000;
}

@font-face {
    font-family: "Rubik-Variable";
    src: url(../fonts/Rubik-VariableFont_wght.ttf);
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: "Rubik-Variable";
    src: url(../fonts/Rubik-Italic-VariableFont_wght.ttf);
    font-style: italic;
    font-weight: 100 1000;
}

* {
    font-family: "Rubik-Variable", sans-serif;
    font-weight: 400;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: var(--primary-text)
}

/* COLORS */
.primary-text {
    color: var(--primary-text)
}

.secondary-text {
    color: var(--secondary-text)
}

.tertiary-text {
    color: var(--tertiary-text)
}

.primary-highlight-text {
    color: var(--primary-highlight-text);
}

/* BREAKS */
hr {
    margin: 2rem 0rem;
    border-top: 1px solid var(--border);
}

/* NAVBAR */
.navbar-wrapper {
    z-index: 100;
    display: flex;
    position: fixed;
    /* background: var(--primary-bg); */
    top: 0;
    left: 0;
    /* box-shadow: 5px 5px 20px -15px gray; */
    width: 100vw;
    justify-content: center;
    margin-top: 10px;
}

.liquid-glass {
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px) saturate(100%);
    border: 1px solid rgba(255, 255, 255, 0.475);
    border-radius: 100px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    width: 100%;
}

.main-container[data-nav=top]>.navbar-wrapper>.navbar-container {
    flex-direction: row;
    height: 80px;
    padding: 0px 20px 0px 20px;
    max-width: 1200px;
}

.main-container[data-nav=left]>.navbar-wrapper>.navbar-container {
    flex-direction: column;
    height: 100%;
    width: 200px;
    padding: 20px 0px 20px 0px;
}

.navbar-left,
.navbar-right {
    display: flex;
    padding: 10px;
    gap: 40px;
    align-items: center;
    flex-direction: row;
}

.main-container[data-nav=left]>.navbar-container>.navbar-link-wrapper>.navbar-left,
.main-container[data-nav=left]>.navbar-container>.navbar-link-wrapper>.navbar-right {
    flex-direction: column;
    gap: 10px;
}

.navbar-link-wrapper {
    display: flex;
    justify-content: space-between;
    width: auto;
    width: 100%;
    box-shadow: none;
}

.main-container[data-nav=left]>.navbar-container>.navbar-link-wrapper {
    flex-direction: column;
    height: 100%;
}

.navbar-left {
    justify-content: left;
    padding-left: 30px;
}

.navbar-right {
    justify-content: right;
}

.navbar-logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: var(--primary-bg); */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nav-logo {
    height: 60px;
}

.nav-item {
    display: block;
}

.nav-link {
    color: var(--primary-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.navbar-mobile-button[type="checkbox"]:checked~.navbar-link-wrapper {
    top: 50px;
    background: transparent;
}

.navbar-mobile-button+label::before {
    visibility: hidden;
    margin: 0px;
    padding: 0px;
}

.navbar-mobile-button[type="checkbox"]+label {
    visibility: hidden;
    position: absolute;
    right: -50px;
    display: flex;
    z-index: 999;
    padding: 0px;
    height: 30px;
    font-size: 2rem;
    justify-content: right;
    align-self: center;
    background: var(--primary-bg);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: 0.3s;
}

.main-container[data-nav=left] .navbar-mobile-button[type="checkbox"]+label {
    top: -50px;
}

.navbar-mobile-button+label {
    color: var(--primary-text);
}

.navbar-mobile-button[type="checkbox"]:checked+label {
    transform: rotate(90deg);
}

@media (max-width: 1264px) {
    .navbar-container {
        margin: 0px 32px;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        margin-left: 8px;
    }

    .main-container[data-nav=top]>.navbar-wrapper>.navbar-container,
    .main-container[data-nav=left]>.navbar-wrapper>.navbar-container {
        height: 60px;
        padding-left: 16pt;
        padding-right: 16pt;
    }

    .navbar-container {
        margin: 0px 16px;
    }

    .main-container[data-nav=left]>.navbar-container {
        flex-direction: row;
        max-width: 100%;
        min-width: 100%;
    }

    .nav-logo {
        height: 50px;
    }

    .navbar-link-wrapper {
        position: absolute;
        left: 0px;
        flex-direction: column;
        z-index: -10;
        transition: 0.3s;
        top: -500px;
        background: var(--primary-bg);
        box-shadow: 5px 5px 20px 0px gray;
    }

    .navbar-left,
    .navbar-right {
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 20px;
    }

    .navbar-left {
        margin-bottom: 20px;
    }

    .navbar-mobile-button-wrapper {
        display: block;
    }

    .navbar-mobile-button[type="checkbox"]+label {
        visibility: visible;
        right: 16px;
        background: none;
    }

    .main-container[data-nav=left]>.navbar-container>.navbar-link-wrapper {
        height: auto;
    }

    .main-container[data-nav=left] .navbar-mobile-button[type="checkbox"]+label {
        top: auto;
    }

    .navbar-mobile-button[type="checkbox"]:checked ~ .navbar-link-wrapper {
        background-color: rgba(255, 255, 255, 1);
        backdrop-filter: blur(10px) saturate(50%);
        -webkit-backdrop-filter: blur(10px) saturate(100%);
        border: 1px solid rgba(255, 255, 255, 0.475);
        border-radius: 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin-top: 10px;
    }
}

/* FOOTER STYLES */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    /* margin-top: 80px; */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-text);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-highlight-text);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-bg);
    border-radius: 50%;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-highlight-text);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--tertiary-text);
    margin: 0;
}


/* DROPDOWN */
.dropdown-toggle {
    white-space: wrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-bottom: 0;
    border-left: 0.25em solid transparent;
}

.dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: var(--primary-text);
    text-align: left;
    list-style: none;
    background-color: #FFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--primary-text);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: background-color .2s ease, color .2s ease;
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--primary-text);
    text-decoration: none;
    background-color: #e2e2e2;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #4582EC;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}


/* BOOTSTRAP SELECT */
.btn-light {
    /* All of these fields are important because it overrides custom btn class */
    /* This class is populated by bootstrap js */
    border: 1px solid !important;
    color: var(--primary-text) !important;
    background-color: #FFF !important;
    border-color: var(--form-control-border) !important;
}

.dropup,
.dropright,
.dropdown,
.dropleft {
    position: relative;
}

.dropdown-menu.show {
    display: block;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.bootstrap-select .dropdown-toggle .filter-option {
    position: static;
    top: 0;
    left: 0;
    float: left;
    height: 100%;
    width: 100%;
    text-align: left;
    overflow: hidden;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    color: var(--primary-text);
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFF;
}

.bs-searchbox {
    width: 100%;
}

.bs-searchbox>.form-control {
    padding: 0.35rem 0.5rem;
    max-width: none;
}


/* MAIN CONTAINER */
.main-container {
    display: block;
    background: var(--primary-bg);
}


/* BODY */
.body-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 1200px;
    justify-self: center;
    background: var(--primary-bg);
}

/* .main-container[data-nav=top]>.body-container {
    min-height: 100vh;
} */

.main-container[data-nav=left]>.body-container {
    /* min-height: calc(100vh); */
    padding-left: 200px;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.forgot-password {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    padding-right: 0.5rem;
    margin-left: 0.75rem;
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    width: 75%;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 2rem;
}

.main-container[data-nav=top]>.body-container {
    margin-left: 0px;
}

.main-container[data-nav=left]>.body-container {
    margin-left: 200px;
}

@media (max-width: 1264px) {
    .body-container {
        width: 100%;
        padding: 0 32px;
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .body-container {
        padding: 16px;
        padding-top: 100px;
    }

    .body-wrapper {
        padding: 16pt;
    }

    .main-container[data-nav=top]>.body-container,
    .main-container[data-nav=left]>.body-container {
        padding-top: 80px;
    }
}

/* CARDS */
.card-container {
    display: flex;
    flex-direction: column;
    background: var(--secondary-bg);
    width: 450px;
    height: 300px;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    /* border: 1px solid var(--border); */
    border-radius: 10px;
    text-decoration: none;
}

.card-fill {
    width: 100%;
}

.card-xl-padding {
    padding: 3rem;
}

.card-nav {
    height: auto;
    font-size: 3.5rem;
    gap: 2rem;
}

.card-nav-title {
    text-align: center;
    font-weight: 500;
    margin: 0px;
    /* text-transform: uppercase; */
}

.card-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
}

@media (max-width: 768px) {
    .card-container {
        width: auto;
        /* margin: 16pt; */
    }
}


/* MODAL */
.modal {
    position: fixed;
    top: 15%;
    left: 30%;
    width: 40%;
    top: 10%;
    height: 100%;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
    margin: auto;
    height: fit-content;
    transition: .25s;
    box-shadow: 6px 9px 30px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.modal-lg {
    left: 20%;
    width: 60%;
}

.modal-xl {
    left: 10%;
    width: 80%;
}

.page-modal .btn {
    text-transform: uppercase;
}

.modal.fade .modal-dialog {
    transform: none;
    transition: opacity .2s ease-out;
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: none;
    opacity: 1;
}

.modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 80vh;
    pointer-events: auto;
    background-color: var(--primary-bg);
    background-clip: padding-box;
    overflow: hidden; /* this is fine now */
}

.modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    margin: 0;
}

.modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 1rem;
    max-height: 60vh;
}

.modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.35;
}

.fade {
    transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}

.fade:not(.show) {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-text);
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.close:hover {
    opacity: 0.5;
    text-decoration: none;
}

.close:not(:disabled):not(.disabled):hover,
.close:not(:disabled):not(.disabled):focus {
    opacity: .75;
}

.modal-dialog-scrollable {
    display: flex;
    max-height: calc(100% - 1rem); 
    flex-direction: column;
    justify-content: center;
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(80vh - 1rem);
    overflow: hidden; 
}

.modal-dialog-scrollable .modal-header, .modal-dialog-scrollable .modal-footer {
    flex-shrink: 0; 
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto; 
}

.modal-open {
    overflow: hidden; 
}
  
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto; 
}


/* FORM */
.form {
    width: 100%;
}

/* .form-container {
    margin: 2rem;
} */

.form-header {
    margin: 0;
    margin-top: 1rem;
    padding: 0;
    font-size: 24px;
}

.form-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: right;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap: 1rem;
}

.form-row,
.form-row-2,
.form-row-3 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.form-row>.form-field {
    width: 100%;
}

.form-row-2>.form-field {
    width: 50%;
}

.form-row-3>.form-field {
    width: 33%;
}

.form-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-input {
    align-items: center;
    justify-content: left;
}

.form-label,
.form-label-row-thin {
    display: block;
    font-weight: 500;
    padding: 0.5rem;
    flex-shrink: 0;
}

.form-label-row-thin {
    width: 10rem;
    text-align: right;
}

.row>.form-label {
    width: 10rem;
    text-align: right;
}

.col>.form-label {
    width: 100%;
    text-align: left;
    padding-top: 0rem;
    padding-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .form-container {
        margin: 8pt;
    }

    .form-group {
        gap: 8px;
    }

    .form-row,
    .form-row-2,
    .form-row-3 {
        flex-direction: column;
        gap: 8px;
    }

    .form-row-2>.form-field,
    .form-row-3>.form-field {
        width: 100%;
    }

    .row>.form-label,
    .form-label-row-thin {
        width: 100%;
        text-align: left;
    }

    .form-footer {
        margin-top: 1rem;
    }
}

/* FORM FIELDS */
.password-field {
    position: relative
}

.p-viewer {
    z-index: 9999;
    position: absolute;
    top: 25%;
    right: 10px;
}

.form-control {
    width: 300px;
    max-width: 300px;
    padding: 0.5rem 1rem;
    line-height: 23px;
    border-radius: 5px;
    border: 1px solid var(--form-control-border);
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--focus-color);
    outline: 0;
    background-color: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control:disabled {
    background-color: #e9ecef;
    ;
}

.form-control-lg {
    width: 100%;
    max-width: 100%;
}

.form-control-tall {
    height: 150px;
}

textarea {
    min-height: 50px;
    align-self: flex-start;
}

.invalid-feedback {
    display: flex;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545; 
}

.is-invalid {
    border: 1px solid red !important;
}

/* RADIO BUTTONS */
.form-check {
    display: inline-flex;
    align-items: center;
    padding-left: 0.5rem;
    margin-right: 0.75rem;
}

.form-radio-row {
    display: flex;
    flex-direction: row;
}

.form-radio-col {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

[type="radio"]:not(:checked),
[type="radio"]:checked {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-transition: 0.28s ease;
    -moz-transition: 0.28s ease;
    -o-transition: 0.28s ease;
    -ms-transition: 0.28s ease;
    transition: 0.28s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

[type="radio"]+label:before,
[type="radio"]+label:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 12px;
    height: 12px;
    z-index: 0;
    -webkit-transition: 0.28s ease;
    -moz-transition: 0.28s ease;
    -o-transition: 0.28s ease;
    -ms-transition: 0.28s ease;
    transition: 0.28s ease;
}

[type="radio"]:not(:checked)+label:before {
    border-radius: 50%;
    border: 2px solid var(--primary-text);
}

[type="radio"]:not(:checked)+label:after {
    border-radius: 50%;
    border: 2px solid var(--primary-text);
    z-index: -1;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked+label:before {
    border-radius: 50%;
    border: 2px solid transparent;
}

[type="radio"]:checked+label:after {
    border-radius: 50%;
    border: 2px solid var(--checkbox);
    background-color: var(--checkbox);
    z-index: 0;
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    transform: scale(1.02);
}

[type="radio"].with-gap:checked+label:before {
    border-radius: 50%;
    border: 2px solid var(--checkbox);
}

[type="radio"].with-gap:checked+label:after {
    border-radius: 50%;
    border: 2px solid var(--checkbox);
    background-color: var(--checkbox);
    z-index: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
}

[type="radio"].with-gap:disabled:checked+label:before {
    border: 2px solid rgba(0, 0, 0, 0.26);
}

[type="radio"].with-gap:disabled:checked+label:after {
    border: none;
    background-color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:not(:checked)+label:before,
[type="radio"]:disabled:checked+label:before {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled+label {
    color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:not(:checked)+label:before {
    border-color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:checked+label:after {
    background-color: rgba(0, 0, 0, 0.26);
    border-color: #bdbdbd;
}

@media (max-width: 768px) {
    .form-radio-row {
        align-self: flex-start;
    }
}


/* CHECKBOX */
.form-checkbox-row {
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    gap: 8px;
}

.form-checkbox-col {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 8px;
}

@media (max-width: 768px) {
    .form-checkbox-row {
        flex-direction: column;
    }
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

[type="checkbox"]+label:before {
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    width: 12px;
    height: 12px;
    z-index: 0;
    border: 2px solid var(--primary-text);
    border-radius: 1px;
    margin-top: 4px;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
}

[type="checkbox"]:not(:checked):disabled+label:before {
    border: none;
    background-color: rgba(0, 0, 0, 0.26);
}

[type="checkbox"]:checked+label:before {
    top: -4px;
    left: -3px;
    width: 8px;
    height: 16px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid var(--checkbox);
    border-bottom: 2px solid var(--checkbox);
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    -o-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    backface-visibility: hidden;
}

[type="checkbox"]:checked:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    border-bottom: 2px solid rgba(0, 0, 0, 0.26);
}

[type="checkbox"]:indeterminate+label:before {
    left: -10px;
    top: -11px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #26a69a;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    backface-visibility: hidden;
}

[type="checkbox"]:indeterminate:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    background-color: transparent;
}

[type="checkbox"].filled-in+label:after {
    border-radius: 2px;
}

[type="checkbox"].filled-in+label:before,
[type="checkbox"].filled-in+label:after {
    content: "";
    left: 0;
    position: absolute;
    transition: border 0.25s, background-color 0.25s, width 0.2s 0.1s,
        height 0.2s 0.1s, top 0.2s 0.1s, left 0.2s 0.1s;
    z-index: 1;
}

[type="checkbox"].filled-in:not(:checked)+label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 20% 40%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:not(:checked)+label:after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid var(--primary-text);
    top: 40%;
    z-index: 0;
}

[type="checkbox"].filled-in:checked+label:before {
    top: 40%;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:checked+label:after {
    top: 40%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--checkbox);
    background-color: var(--checkbox);
    z-index: 0;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:before {
    background-color: transparent;
    border: 2px solid transparent;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
    border-color: transparent;
    background-color: #bdbdbd;
}

[type="checkbox"].filled-in:disabled:checked+label:before {
    background-color: transparent;
}

[type="checkbox"].filled-in:disabled:checked+label:after {
    background-color: #bdbdbd;
    border-color: #bdbdbd;
}


/* BUTTON */
.btn {
    padding: 0.25rem 1.25rem;
    border-radius: 5px;
    font-size: 18px;
    border: none;
    color: var(--primary-text);
    line-height: 1.5;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    background: none;
}

.btn-lg {
    width: 100%;
}

.btn-submit {
    background: var(--btn-submit);
    color: var(--secondary-text);
    font-weight: 500;
    text-decoration: none;
}

.btn-submit:hover {
    background: var(--btn-submit-hover);
}

.btn-cancel {
    background: var(--btn-cancel);
    color: #fff;
}

.btn-cancel:hover {
    background: var(--btn-cancel-hover);
    color: #fff;
}

.btn-confirm {
    background: var(--btn-confirm);
    color: #fff;
}

.btn-confirm:hover {
    background: var(--btn-confirm-hover);
    color: #fff;
}

/* SAVE BUTTON */

.btn-save {
    background: var(--btn-save);
    color: #fff;
    text-decoration: none;
}

.btn-save:hover {
    background: var(--btn-save-hover);
    color: #fff;
}

.btn-saved {
    background: var(--btn-save);
    color: #fff;
    text-decoration: none;
}

.btn-saved:hover {
    background: var(--btn-save-hover);
    color: #fff;
}

.btn-saved i {
    color: #28a745; /* Green color for the bookmark icon */
}

.btn-icon {
    cursor: pointer;
}


/* TEXT */
.text-muted {
    font-size: 14px;
    color: var(--primary-text)
}

.footer>.text-muted {
    color: var(--primary-bg);
    font-size: 12px;
}

.no-decoration {
    text-decoration: none;
}

.page-header {
    font-size: 2.5rem;
    line-height: 3rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

h1,
h2,
h3,
h4,
h5,
h6,
.header-icon {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary-text);
}

h1 {
    font-size: 3rem;
    line-height: 3rem;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 2.25rem;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.875rem;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.875rem;
}

h6 {
    font-size: 1rem;
    line-height: 1.5rem;
}

.form-error {
    color: var(--danger);
    font-size: small;
    display: none;
    padding-top: 0.25rem;
    text-align: right;
}

/* ACCORDION */
.accordion-item>[data-toggle="collapse"] {
    transition: margin .35s ease, opacity .35s ease;
    cursor: pointer;
    display: block;
    flex-wrap: wrap;
    justify-content: space-between;
}

.accordion-item>[data-toggle="collapse"]>* {
    margin-bottom: 1rem;
}

.accordion-item>[data-toggle="collapse"] i.fa {
    vertical-align: middle;
    transition: transform .35s ease;
    margin-left: 0.5rem;
}

.accordion-item>[data-toggle="collapse"].collapsed i.fa {
    transform: rotate(0deg);
}

.accordion-item>[data-toggle="collapse"]:not(.collapsed) i.fa {
    transform: rotate(90deg);
}

.accordion-item>[data-toggle="collapse"][aria-expanded="false"] {
    opacity: 1;
}

.accordion-item>[data-toggle="collapse"][aria-expanded="false"]:hover {
    opacity: 1;
}

.collapse:not(.show) {
    display: none;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition: none;
    }
}

/* TABLES */
.table-container {
    margin: 1rem 0rem;
}

.table-custom {
    width: 60%;
}

.table-lg {
    width: 100%;
}

.table-header-cell {
    font-weight: 500;
}

.table-cell {
    color: var(--primary-text);
    font-size: 18px;
}

.table-cog {
    padding: 0.5rem 2rem;
}

.table-header-cell,
.table-cell {
    padding: 0.5rem;
    min-width: 150px;
}

@media (max-width: 768px) {

    .table-header-cell,
    .table-cell {
        min-width: auto;
    }

    .table-cog {
        padding: 0.5rem 0.5rem;
    }
}

/* JQUERY DATATABLE */

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody+tbody {
    border: 0;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-hover tr {
    transition: background-color .2s ease;
}

.table {
    width: 100%;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
    background-color: transparent;
}

.table-jquery.align-center th,
.table-jquery.align-center td {
    vertical-align: middle;
}

.material-card {
    position: relative;
    overflow: hidden;
    margin: 0.5rem 0 1rem 0;
    background-color: #fff;
    transition: box-shadow 0.25s;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
        0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.material-card .material-card-title {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
}

div.material-table {
    padding: 0;
}

div.material-table .hiddensearch {
    padding: 10px 14px 0 24px;
    border-bottom: solid 1px #DDDDDD;
    display: none;
}

div.material-table .hiddensearch input {
    margin: 0;
    padding-top: 2px;
    border: transparent 0 !important;
    height: 48px;
    color: var(--primary-text);
}

div.material-table .hiddensearch input:active {
    border: transparent 0 !important;
}

div.material-table table {
    table-layout: fixed;
}

div.material-table .table-header {
    height: 64px;
    padding-left: 14px;
    padding-right: 14px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    -webkit-display: flex;
    border-bottom: solid 1px #DDDDDD;
}

div.material-table .table-header .actions {
    display: -webkit-flex;
    margin-left: auto;
}

div.material-table .table-header .btn-flat {
    min-width: 36px;
    padding: 0 8px;
}

div.material-table .table-header input {
    margin: 0;
    height: auto;
}

div.material-table .table-header i {
    color: var(--primary-text);
    font-size: 24px;
}

div.material-table .table-footer {
    height: 56px;
    padding-left: 24px;
    padding-right: 14px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: center;
    align-items: center;
    font-size: 12px !important;
    color: var(--primary-text);
}

div.material-table .table-footer .dataTables_length {
    display: -webkit-flex;
    display: flex;
}

div.material-table .table-footer label {
    font-size: 12px;
    color: var(--primary-text);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    /* works with row or column */

    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

div.material-table .table-footer .select-wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    /* works with row or column */

    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

div.material-table .table-footer .dataTables_info,
div.material-table .table-footer .dataTables_length {
    margin-right: 32px;
}

div.material-table .table-footer .material-pagination {
    display: flex;
    -webkit-display: flex;
    margin: 0;
    list-style-type: none;
}

div.material-table .table-footer .material-pagination li:first-child {
    margin-right: 24px;
}

div.material-table .table-footer .material-pagination li a {
    color: var(--primary-text);
}

div.material-table .table-footer .select-wrapper input.select-dropdown {
    margin: 0;
    border-bottom: none;
    height: auto;
    line-height: normal;
    font-size: 12px;
    width: 40px;
    text-align: right;
}

div.material-table .table-footer select {
    background-color: transparent;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    height: auto;
    margin-left: 20px;
}

div.material-table .table-title {
    font-size: 24px;
    color: var(--primary-text);
    overflow: hidden;
}

div.material-table table tr td {
    padding: 0 35px 0 35px;
    height: 45px;
    font-size: 13px;
    color: var(--primary-text);
    border-bottom: solid 1px #DDDDDD;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.material-table table tr td a {
    color: inherit;
}

div.material-table table tr td a i {
    font-size: 18px;
    color: var(--primary-text);
}

.no-sort::after {
    display: none !important;
}

.no-sort {
    pointer-events: none !important;
    cursor: default !important;
}

div.material-table table tr {
    font-size: 12px;
}

div.material-table table th {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-text);
    cursor: pointer;
    white-space: pre;
    height: 45px;
    padding-left: 35px;
    padding-right: 35px;
    vertical-align: middle;
    outline: none !important;
    padding-right: 10px;
    text-align: left;
}

div.material-table table th.sorting_asc,
div.material-table table th.sorting_desc {
    color: var(--primary-text);
}

div.material-table table th.sorting:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    content: "\f061";
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    display: none;
    vertical-align: middle;
    margin-left: 10px;
}

div.material-table table th.sorting:hover:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
    display: inline-block;
}

div.material-table table th.sorting_desc:after {
    content: "\f060";
}

div.material-table table tbody tr:hover {
    background-color: #EEE;
}

div.material-table table th:first-child,
div.material-table table td:first-child {
    padding: 0 24px 0 24px;
}

div.material-table table th:last-child,
div.material-table table td:last-child {
    padding: 0 24px 0 24px;
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    will-change: opacity, transform;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

div.material-table .table-header .actions {
    display: -webkit-flex;
    margin-left: auto;
}

@media (max-width: 768px) {
    .table {
        width: auto;
        overflow: scroll;
        white-space: nowrap;
    }
}

/* SPINNER */
@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

/* ALERT */
.alert-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: auto;
    justify-content: center;
    background: var(--aureolin);
    margin: auto;
    border-radius: 0.5rem;
    z-index: 1;
}

.alert-container:empty {
    display: none;
    margin: 0rem;
}

.main-container[data-nav="top"]>.alert-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1150px;
    width: 80%;
}

.main-container[data-nav="left"]>.alert-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    max-width: calc(100vw - 200px - 3rem);
    left: calc(200px + 1rem);
    margin: 0px;
}

.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    white-space: wrap;
    overflow-wrap: break-word;
    background: white;
}

.alert-success {
    color: var(--oxford-blue);
    background-color: var(--c2-shade);
    /* border-color: #c3e6cb; */
}

.alert-info {
    color: var(--oxford-blue);
    background-color: var(--c2-shade);
    /* border-color: #bee5eb; */
}

.alert-warning {
    color: var(--oxford-blue);
    background-color: var(--c2-shade);
    /* border-color: #ffeeba; */
}

.alert-danger {
    color: var(--oxford-blue);
    background-color: var(--c2-shade);
    /* border-color: #f5c6cb; */
}

.alert-light {
    color: var(--oxford-blue);
    background-color: var(--c2-shade);
    /* border-color: #fdfdfe; */
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}