:root {
    --header-font: math;
    --tab-text-color: #000;
    --tab-background: #fff;
    --tab-text-color-active: #ff;
    --tab-background-active: #f3f3f3;
    --dark-cyan: #268f8e;
    --paleturquoise: #83dfe3;
    --dark-khaki: #cece81c1;
    --lavender: #f6f0fc;
    --dark--gray: #94a7a8;
}



html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

.hidden {
    display: none;
}

h1, h2, h3, h4, h5 {
    font-family: var(--header-font);

}
h1 {
    font-size: 24px
}

.input-readonly,
.input-readonly:focus,
.input-readonly:focus-visible,
.input-readonly:active,
.input-readonly:target {
    border: none;
    background: none;
    outline-width: 0;
    outline: hidden;
}

.btn:focus, .btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

textarea.height-100 {
    height: 94%;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.header-logo {
    max-width: 60px;
}

.menu-button,
.menu-button:active,
.menu-button:focus {
    border: 1px solid purple;
    background: #0077cc;
    line-height: .2;
    width: 45px;
    vertical-align: middle;
    margin-top: 5px;
    padding: 5px;
    float: right;
    margin-right: 10px;
    border-radius: 10px;
    display: none;
    height: 45px;
}

    .menu-button .menubar-hamburger-line {
        width: 100%;
        height: 7px;
        border: 1px solid #000;
        display: inline-block;
        border-radius: 40px;
        margin: 0px;
        background: #fff;
    }

.menu-button-close {
    background: #fff;
    font-weight: bold;
    font-family: auto;
    margin: 20px;
    right: 0px;
    font-size: 20px;
    display: none;
}

.side-container {
    width: 200px; /* Adjust based on your preference */
    position: absolute;
    height: 100%;
}


.menu {
}

.menu {
    margin: 0px;
    padding: 0px 0px 0px 0px;
    list-style: none
}

    .menu ul {
        padding: 0px;
        margin: 0px 0px 0px 15px;
        list-style: none
    }

    .menu > li {
        margin: 0px;
        padding: 0px;
        position: relative;
    }

    .menu li a {
        text-decoration: none;
        color: #fff;
        display: inline-block;
        width: 100%;
        padding: 5px;
    }

    .menu li ul.sub-menu {
        position: absolute;
        visibility: visible !important;
        height: 0;
        overflow: hidden;
        transition: height 0.4s ease-in-out 5s;
        -moz-transition: height 0.4s ease-in-out 5s;
        -webkit-transition: height 0.4s ease-in-out 5s;
        -o-transition: height 0.4s ease-in-out 5s;
        margin-left: 198px;
        min-width: 200px;
        top: 0px;
        z-index: 1000;
    }

    .menu li:hover > a {
        background: rgba(255,255,255,.2);
    }

    .menu > li:hover ul li {
        background: #000;
    }

    .menu li:hover ul.sub-menu {
        height: auto;
        overflow: unset;
        transition: height 0.4s ease-in-out 0s;
        -moz-transition: height 0.4s ease-in-out 0s;
        -webkit-transition: height 0.4s ease-in-out 0s;
        -o-transition: height 0.4s ease-in-out 0s;
    }

    .menu li.top-menu-active ul {
        position: relative;
        margin-left: 30px;
        display: block;
        height: auto;
        background: none;
        min-width: 0px;
    }

    .menu li a.active {
        color: red;
    }

.main-container {
    margin-left: 200px; /* Should match the width of the side-container */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.sub-nav {
    border-bottom: 1px solid #dedede;
}

    .sub-nav .content {
        padding: 10px;
    }

.nav-buttons {
    float: right;
}

    .nav-buttons .button {
        float: left;
        margin-left: 30px
    }

        .nav-buttons .button .btn {
            margin-left: 10px
        }

.nav-tabs .nav-link {
    border:none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #268f8e;
    border-color: #268f8e #268f8e #fff;
    color: #fff;
}
.nav-tabs .nav-link.active {
    margin-bottom: -1px;
}
.tab-content {
    border: 1px solid #268f8e;
    margin-top: -1px;
}

a.btn,
a.btn-sm {
    text-decoration: none;
}

.btn-vcenter {
    display: flex;
    align-items: center;
}

.header {
    padding: 10px 5px;
    background: var(--dark-cyan);
    color: var(--lavender);
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 0px;

}
    .header .btn-header {
        text-transform: initial;
    }



.sub-header {
    padding: 10px 5px;
    background: #8e8e8e;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

    .sub-header h1,
    .sub-header h2,
    .sub-header h3,
    .sub-header h4,
    .sub-header h5 {
        font-size: 18px;
        text-transform: uppercase;
    }

.border-grey {
    border: 1px solid #dedede;
}

.fixed-top {
    position: fixed;
    top: 0px;
    z-index: 1000;
}

.select2-container .select2-selection--single {
    height: 35px;
}

    .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 32px;
    }

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
}

.select2-container--default .select2-selection--multiple {
}

    .select2-container--default .select2-selection--multiple li.select2-selection__choice {
        background-color: #ffff;
    }

        .select2-container--default .select2-selection--multiple li.select2-selection__choice .select2-selection__choice__remove {
            background-color: #f1f1f1;
            color: red;
            font-weight: bold;
            font-size: 16px;
        }

.select2-container .smalldrop {
    min-width: 250px !important;
    max-width: 236px !important;
}

.no-log .logo-image {
    text-align: center;
}

    .no-log .logo-image img {
        max-width: 200px;
    }

.mobile-label {
    font-weight: bold;
    display: none;
}

.table-header-row {
    border: 1px solid #dedede;
    padding: 5px;
    border-bottom: none;
}

    .table-header-row .info-value {
        display: inline-block;
        vertical-align: middle;
    }

.notification {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
    z-index: 99;
}

    .notification .content {
        background: #fff;
        border: 1px solid #dedede;
        z-index: 100;
        padding: 10px;
        opacity: 0.9;
        border-radius: 5px;
        width: 50%;
        min-height: 50%;
        align-items: center;
        height-100: 100%;
        overflow-y: auto;
        width: 100%;
    }

    .notification .content-xsm {
        max-width: 10%;
        min-height: 10%;
    }

    .notification .content-sm {
        max-width: 25%;
        min-height: 25%;
    }

    .notification .content-lg {
        max-width: 70%;
        min-height: 70%;
    }

    .notification .content-full {
        width: 100%;
    }

    .notification .content .notification-text-center {
    }

.no-log .static-window {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
}

    .no-log .static-window .content {
        padding: 10px;
        opacity: 0.9;
        border-radius: 5px;
        width: 30%;
    }



    .no-log .static-window h3 {
        text-align: center;
        font-size: 16px;
    }

    .no-log .static-window h1 {
        text-align: center;
        font-size: 24px;
    }

.modal .modal-dialog .btn {
}

.form-label {
    margin-bottom: 0px;
    width: 100%;
    font-weight: bold;
}

.form-info, .form-control-static {
    background: #dedede;
    padding: 5px;
    min-height: 32px
}

.form-group {
    margin-top: 5px;
}
.form-control-inline {
    display:inline;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.validation-summary-errors {
}

    .validation-summary-errors ul {
        display: block;
        padding: 0px;
        margin: 0px;
        list-style: none;
    }

        .validation-summary-errors ul li {
            margin-bottom: 10px;
            padding: 10px;
            text-align: center;
            color: #842029;
            background-color: #f8d7da;
            border-color: #f5c2c7;
        }

.alert {
    z-index: 100000; /* Optional: ensures it's above most other elements */
}

.alert-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000; /* Optional: ensures it's above most other elements */
    background: rgba(0,0,0,.5);
}

    .alert-centered .alert {
        max-width: 500px;
        margin: auto; /* Centers the alert vertically and horizontally */
        opacity: 1;
        text-align: center;
        padding: 20px;
    }




.buttons.two-buttons {
    white-space: nowrap;
    width: 180px
}

/* Tabs */

.ui-tabs-nav {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

    .ui-tabs-nav li {
        display: inline-block;
        text-align: center;
        border: 1px solid #8e8e8e;
        border-radius: 5px 5px 0px 0px;
        border-bottom: 0px;
        background: var(--tab-background);
    }

        .ui-tabs-nav li a {
            text-decoration: none;
            font-family: var(--header-font);
            text-transform: uppercase;
            color: var(--tab-text-color);
            padding: 5px 15px;
            display: inline-block;
        }

        .ui-tabs-nav li.ui-tabs-active {
            border-bottom: 0px;
            z-index: 1;
            background: var(--tab-background-active);
            margin-top: 1px;
        }

            .ui-tabs-nav li.ui-tabs-active a {
                color: var(--tab-text-color-active);
            }

.ui-tabs-panel {
    border: 1px solid #8e8e8e;
}
.permission-list {
    margin: 0px;
    padding: 0px;
    list-style: none;
    column-count: 2;
}

.permission-list li {
    width: 100%;
    margin: 10px 0px;
}

    .permission-list li:first-child {
        width: 100%;
        margin: 0px;
    }
    .permission-list li input[type=checkbox] {
        display:none;
    }
    .permission-list li label {
        width: 100%;
        display: block;
        background: #dedede;
        text-align: center;
        padding: 10px 5px;
        border: 1px solid #dedede;
        opacity: .5;
        cursor: pointer;
    }

    .permission-list li input[type=checkbox]:checked + label {
        background: #fff;
        opacity: 1;
        border: 1px solid #000;
    }




@media (max-width: 967px) {
    .menu-button,
    .menu-button:active,
    .menu-button:focus {
        z-index: 1051; /* Ensures the toggle button is above the menu */
        display: block;
    }

    .menu-button-close {
        display: block;
    }

    .side-container {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1050; /* High z-index to overlay on top of other content */
        overflow-y: auto; /* Allows scrolling if the menu content exceeds the screen height */
        background-color: #000; /* Ensures the background is opaque */
        transform: translateX(-100%); /* Starts off-screen */
        transition: transform 0.3s ease; /* Smooth transition for sliding in */
    }

        .side-container.show {
            transform: translateX(0); /* Moves into view */
        }

    .main-container {
        margin-left: 0; /* Ensures no margin on mobile */
    }

    .menubar-toggler {
        z-index: 1051; /* Ensures the toggle button is above the menu */
    }

    .menu > li > ul.sub-menu {
        position: relative;
        margin-left: 30px;
        display: block;
        height: auto;
        background: none;
        min-width: 0px;
    }

    .menu li:hover > a {
        background: none;
    }
}
