/* 
    Desktop Screen Resolution 2017
    1366x768 30% 
    1920x1080 17%
    1440x900 7%

    All Platform
    360x640 22%
    1366x768 13%
    1920x1080 8%


    xl >= 1200
    lg >= 992
    md >= 768
    sm >= 576
       < 576

d-none d-lg-block  = only visible on Large devices >= 992px  = hidden-mobile
*/

body {
    cursor: default;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px;
    overflow-x: hidden;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--screen-max-width);
}

    body.loading, body.loading * {
        cursor: progress !important;
    }

    body a {
        text-decoration: none;
    }
/*.hidden-desktop {
    display: none;
}*/
.heading {
    font-weight: 500;
}

@media (max-width: 992px) {
    body {
        padding: 0;
    }

    body, p, h1, h2, h3, h4, h5, h6 {
        /* JL20250212 for mobile */
        font-size: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .right-pane {
        margin-top: 70px;
        margin-left: 0px;
        margin-right: 0px;
        padding: 0;
    }

    .hidden-mobile {
        display: none;
    }

    .hidden-desktop {
        display: block;
        padding: 0;
        margin: 0;
    }

    .calendar-pane {
        margin-left: 10px;
        margin-right: 10px;
        padding: 0;
    }

    .event-calendar {
        font-size: 100%;
    }
        .event-calendar .event-calendar-day {
            height: 90px;
            font-size: 50%;
            border: 1px solid; /* JL20210622 add back border after Bootstrap5 */
        }
}


.mobile-heading {
    margin: 0 auto;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    color: #fff;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    font-size: 130%;
    line-height: 1.3333333;
    height: 65px;
    display: inline-block;
    background-color: var(--main-theme-color) !important;
    border-color: var(--main-theme-color) !important;
    color: whitesmoke;
}

/*.MobileMenu {
    width: 80%;
    max-width: 360px;*/ /* 360x80%  288px */
    /*margin-top: 5px;
    margin-left: 0;
    border-radius: 0;
}*/


.footer-line {
    border-top: solid 1px #6699CC;
    margin: 0 auto;
    height: 1px;
    width: 100%;
    margin-bottom: 0px;
    border-top: solid 1px var(--main-theme-color);
    color: var(--main-theme-color);
    background-color: var(--main-theme-color);
}



.btn-space {
    margin-right: 5px;
}


.login-page-message {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.login-page-message-content {
    margin-top: auto;
}

.event-calendar a {
    text-decoration: none;
}

.event-calendar .event-calendar-day-header {
    height: 30px;
    text-align: center;
    background-color: #B7CEE2;
    width: 14%;
}


.event-calendar .event-calendar-title {
    color: whitesmoke;
    border-width: 1px;
    font-size: 120%;
    height: 50px;
    line-height: 50px;
}

.event-calendar .event-calendar-next-prev {
    font-size: 250%;
    height: 50px;
    line-height: 50px;
    padding: 5px 5px;
}

.event-calendar .event-calendar-day {
    height: 90px;
    padding: 0;
    border: 1px solid; 
}


#eportal-menu-desktop {
    border-style: solid;
    border-width: 2px;
    border-bottom-width: 1px;
    text-align: left;
    border-radius: 4px;
    border-color: var(--main-theme-color) !important;
}

    #eportal-menu-desktop .menutitle {
        /* padding: 15px 0;*/
        padding: 6px 0;
        padding-left: 10px;
        font: bold 90%;
        background-color: var(--main-theme-color) !important;
        border-color: var(--main-theme-color) !important;
        border-bottom-color: var(--main-theme-color-light) !important;
        border-bottom-width: 1px;
        border-style: solid;
        color: whitesmoke;
    }
    
    #eportal-menu-desktop .menutitle a {
        background-color: var(--main-theme-color) !important;
        color: whitesmoke;
    }

    #eportal-menu-desktop ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        line-height: 120%;
    }

@media (max-width: 992px) {
    #eportal-menu-desktop ul {
        line-height: 200%;
    }
}


#eportal-menu-desktop li a {
    display: block;
    padding: 4px 0;
    padding-left: 7px;
    text-decoration: none;
    border-bottom: 1px solid var(--main-theme-color);
    border-left: 7px solid var(--main-theme-color-pale);
    border-left-color: var(--main-theme-color-pale);
}

    #eportal-menu-desktop li a:hover, #eportal-menu-desktop .selected {
        color: var(--main-theme-color);
        background-color: var(--main-theme-color-light);
        border-left-color: var(--main-theme-color-dark);
    }

@media (max-width: 992px) {
    #eportal-menu-desktop {
        border-radius: 0;
    }
}

#eportal-menu-mobile {
    border-style: solid;
    border-width: 2px;
    border-bottom-width: 1px;
    text-align: left;
    border-radius: 4px;
    color: var(--main-theme-color-dark);
    background-color: whitesmoke !important;
    border-color: var(--main-theme-color) !important;
}

    #eportal-menu-mobile .menutitle {
        display: block;
        padding: 15px 0;
        padding-left: 10px;
        font: bold 90%;
        font-size: 120%;
        background-color: var(--main-theme-color-dark);
        border-color: var(--main-theme-color-dark);
        border-bottom-color: var(--main-theme-color-light) !important;
        border-bottom-width: 1px;
        border-style: solid;
        color: whitesmoke;
    }

        #eportal-menu-mobile .menutitle a {
            color: whitesmoke;
        }

    #eportal-menu-mobile .menutitle-username {
        display: block;
        padding: 15px 0;
        padding-left: 10px;
        font: bold 90%;
        font-size: 120%;
        background-color: var(--main-theme-color);
        color: whitesmoke;
    }

    #eportal-menu-mobile .menutitle-ep {
        display: block;
        padding: 15px 0;
        padding-left: 10px;
        font: bold 90%;
        font-size: 120%;
        background-color: var(--main-theme-color-pale);
        color: whitesmoke;
    }
        /*#eportal-menu-mobile .menutitle #arrow:before {
            content: "\f106";*/ /* up arrow */
        /*}

        #eportal-menu-mobile .menutitle .collapsed #arrow:before {
            content: "\f107";*/  /*down arrow */
        /*}*/


    #eportal-menu-mobile ul {
        margin: 0;
        padding: 10px;
        list-style-type: none;
        line-height: 120%;
    }


    #eportal-menu-mobile li a {
        padding: 0;
        margin: 0;
        text-decoration: none;
        float: left;
        text-align: center;
        width: 87px;
        height: auto;
        white-space: normal;
        word-wrap: break-word;
        min-height: 120px;
        color: var(--main-theme-color);
    }

    #eportal-menu-mobile li a:hover, #eportal-menu-mobile .selected {
        color: var(--main-theme-color-dark);
        background-color: var(--main-theme-color-light);
     /*   border-left-color: var(--main-theme-color-dark);*/
    }

#eportal-menu-mobile ul:after {
    content: '';
    display: block;
    clear: both;
}

#eportal-menu-mobile-hi-eename {
    width: 100%;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 992px) {
    #eportal-menu-mobile {
        border-radius: 0;
    }
}


.calendar-cell, .calendar-cell-red, .calendar-cell-green, .calendar-cell-blue, .calendar-cell-cyan, .calendar-cell-teal, .calendar-cell-megenta, .calendar-cell-orange, .calendar-cell-mauve, .calendar-cell-olive, .calendar-cell-brown {
    color: whitesmoke;
    border: none;
    padding: 4px;
    margin: 0px 2px 6px 2px;
    font-size: 100%;
    line-height: 1.3333333;
    overflow: auto;
    border-radius: 6px;
    cursor: pointer;
}
/* 992px */
@media (max-width: 992px) {
    .calendar-cell, .calendar-cell-red, .calendar-cell-green, .calendar-cell-blue, .calendar-cell-cyan, .calendar-cell-teal, .calendar-cell-megenta, .calendar-cell-orange, .calendar-cell-mauve, .calendar-cell-olive, .calendar-cell-brown {
        padding: 2px;
        /*font-size: 8px;*/
        font-size: 80%;
        /*line-height: 12px;*/
        margin: 1px 1px 1px 1px;
        word-wrap: break-word;
        border-radius: 2px;
        cursor: pointer;
    }
}


.calendar-cell-red {
    background-color: #ff4444;  /*#FF4081;*/
}

.calendar-cell-green {
    background-color: #4CAF50;
}

.calendar-cell-blue {
    background-color: #3F51B5;
}

    .calendar-cell-blue a, .calendar-cell-cyan a, .calendar-cell-teal a, .calendar-cell-megenta a, .calendar-cell-orange a {
        text-decoration: underline;
        text-decoration-color: whitesmoke;
        color: whitesmoke !important;
    }

        .calendar-cell-blue a:hover, .calendar-cell-cyan a:hover, .calendar-cell-teal a:hover, .calendar-cell-megenta a:hover, .calendar-cell-orange a:hover {
            color: #DEDEDE !important;
        }


.calendar-cell-cyan {
    background-color: #1BA1E2;
}


.calendar-cell-teal {
    background-color: #00ABA9;
}


.calendar-cell-megenta {
    background-color: #D80073;
}


.calendar-cell-orange {
    background-color: #FA6800;
}


.calendar-cell-mauve {
    background-color: #76608A;
}

.calendar-cell-olive {
    background-color: #6D8764;
}

.calendar-cell-brown {
    background-color: #825A2C;
    cursor: help;
}


.form-horizontal .control-label.text-start {
    text-align: left;
}

.form-horizontal .control-label.text-center {
    text-align: center;
}
.form-horizontal .control-label.bold {
    font-weight: 500;
    color: #414141 !important;
}

.form-horizontal .control-label.red {
    font-weight: 500;
    color: #d9534f;
}

#main-content-div .row {
    margin-top: var(--line-spacing) !important;
    margin-bottom: var(--line-spacing) !important;
}


.max-width-400 {
    max-width: 400px;
}



/* JL20150226 - for From Time and In Time Inline */
.form-inline .form-control {
    display: inline;
    /*width: auto;*/
}

.form-inline .control-label {
    display: inline;
    /*width: auto;*/
    vertical-align: bottom;
    color: red !important;
}


.form-inline .button {
    display: inline;
    /*width: 30%;*/
}

.form-inline .button2 {
    display: inline;
    /*width: 30%;*/
}


.table-condensed {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

    .table-condensed th {
        font-weight: normal;
    }

/* For Animated button start */
.glyphicon-refresh-animate {
    -webkit-animation: spin2 .7s infinite linear;
    -moz-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

/* For Animated button end */

/* remove href values when printing  */

@media print {
    body {
        color: #000;
        background-color: #fff !important;
        margin: 0;
        padding: 0 !important;
        /*min-width: 992px !important;
        width: 100%;*/
    }

    .col-lg-1 {
        width: 8%;
    }

    .col-lg-2 {
        width: 16%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33%;
    }

    .col-lg-5 {
        width: 41%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58%;
    }

    .col-lg-8 {
        width: 66%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-10 {
        width: 83%;
    }

    .col-lg-11 {
        width: 91%;
    }

    .col-lg-12 {
        width: 100%;
    }
    
    .col-print-12 {
        width: 100% !important;
    }

    * {
        background-image: none !important;
    }
    a[href]:after {
        content: none !important;
    }
    button {
        display: none !important;
    }
    input,
    textarea {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    .inline-editing-editor {
        border: none !important;
    }
}


/* JL20160928 by creating a class to make a particular header to be aligned right and ensure that HorizontalAlign attribute is also set for headers. For GridView */
th[align="right"] {
    text-align: right;
}

/* Jl20230721 for bootstrap 5.3.0 */
th {
    color: whitesmoke !important;
    background: var(--main-theme-color) !important;
}


.table tr:hover td {
    background-color: var(--main-theme-color-pale) !important;
}


.status-style {
    color: #428bca;
    /*font-weight: bold;*/
}


.ui-datepicker-trigger {
    background: none;
    height: 34px;
}


.leave-type-abbr {
    padding: 10px;
    border: 0;
    border-collapse: collapse;
}

    .leave-type-abbr td {
        padding: 0 20px 0 0;
    }


.wrap-if-mobile {
    /*width: 100%;*/
    width: auto;
    white-space: nowrap;
    word-wrap: normal;
}

@media (max-width: 992px) {
    .wrap-if-mobile {
        white-space: normal;
        word-wrap: break-word;
    }
    .mobile-small-text {
        font-size: 80%;
    }
}

.grid-footer-button {
    display: inline-block;
    /*width: 40%;*/
    min-width: 110px;
    border-color: #e5e5e5 !important;
}

.navbar-toggle .button-bar {
    display: block;
    width: 42px;
    height: 2px;
    border-radius: 1px;
}

.rounded-corners {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--main-theme-color);
}



.text-bold {
    /*font-weight: bold !important;  JL20200531 */
    font-weight: 500 !important; /* Semi Bold */
}

.text-normal {
    font-weight: normal;
}


.largetext {
    font-size: large;
    text-align: left;
    padding: 0;
    height: 30px;
}

.my-btn {
    background-color: var(--main-theme-color) !important;
    border-color: var(--main-theme-color) !important;
    color: whitesmoke !important;
    white-space: normal !important; /* JL20230820 */
}
    .my-btn:hover {
        border-color: var(--main-theme-color-dark) !important;
        background-color: var(--main-theme-color-dark) !important;
    }

.spin {
    display: none;
    position: absolute;
    z-index: 9999 !important;
    width: 60px; /*image width */
    height: 60px; /*image height */
    left: 50%;
    top: 50%;
    margin-left: -30px; /*image width/2 */
    margin-top: -30px; /*image height/2 */
}

.navbarButton {
    margin-left: 0;
    display: block;
    height: 42px;
    width: 42px;
    border: none;
}


.navbar-default .navbar-toggle .icon-bar {
    background-color: whitesmoke !important;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

@media (max-width: 992px) {
    .rounded-corners {
        margin-left: -10px !important;
        margin-right: -10px !important;
        border-radius: 0;
    }
}

.datetime-class {
    width: 100%;
    max-width: 160px;
}

.numeric-textbox-class {
    width: 200px !important;
}

.photo-class {
    width: 150px !important;
}

/*.DisplayNone {
    display: none;
}*/

textarea {
    resize: none;
    overflow-x: hidden;
}

.marginRow {
    margin-bottom: 0px !important;
}

.mandatory-style {
    border: 2px solid #F3E5AB !important;
}

/*.MandatoryBorderStyle {
    border: 1px solid #F3E5AB !important;
}*/

.default-style {
    background-color: transparent !important;
}

.k-editor-inline {
    margin: 0 0 0 -10px;
    padding: 10px 10px 0px 10px !important;
    box-shadow: none;
    background: none;
}

.k-editor-inline p {
    font-size: 14px;
}

.inline-editing-editor {
    display: inline-block;
    width: 90%;
    min-height: 100px;
    font-size: 14px;
    line-height: 1.2;
    background-color: #ffffff !important;
    margin: 0 0 0 -10px;
    padding: 10px 10px 0px 10px;
    border: 1px solid #dddddd;
}

/*JL20200124*/
.x-checkbox {
    vertical-align: bottom;
    display: inline-block;
    margin: 0 0 0 0px;
    padding: 20px 0 0 0px;
    width: 18px;
    height: 18px;
}

/* jl20200120 */
/*.checkbox {
    padding-left: 20px;
}

    .checkbox input[type=checkbox] {
        margin: 0;*/ /* jl20200406 */
    /*}*/

.space {
    margin: 0;
    padding: 0;
    height: 10px;
    display: block;
}

.space-2 {
    margin: 0;
    padding: 0;
    height: 20px;
    display: block;
}

.col-form-label {
    font-weight: 500; /* Semi Bold */
}

.bootbox-textarea textarea {
    height: 200px;
}

table td a {
    color: var(--main-theme-color-dark);
}

table th {
    font-weight: 500 !important; /* Header Semi Bold */
}

/*.DisplayBlock {
    display: block;
}
*/
.dateWidth {
    min-width: 160px;
}

.width100 {
    width: 100px;
}

/* offcanvas menu */
/* ============ mobile view ============ */
@media all and (max-width: 991px) {

    .mobile-offcanvas {
        visibility: hidden;
        transform: translateX(-100%);
        border-radius: 0;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 2000;
        width: 95%;
        overflow-y: scroll;
        overflow-x: hidden;
        transition: visibility .3s ease-in-out, transform .3s ease-in-out;
    }

        .mobile-offcanvas.show {
            visibility: visible;
            transform: translateX(0);
        }

    .mobile-offcanvas .container, .mobile-offcanvas .container-fluid {
        display: block;
    }
}
/*.k-switch {
    font-size: 10px !important;
    width: 50px !important;
}
*/
.k-switch-on .k-switch-container {
    background-color: var(--main-theme-color) !important;
}

.bg-MainThemeColor {
    background-color: var(--main-theme-color) !important;
    border-color: var(--main-theme-color) !important;
}

.table-fixed td {
    overflow: hidden;
    padding: 2px;
    max-width: var(--update-roster-column-width);
}

.selected-row {
    background-color: var(--main-theme-color-pale) !important;
}



#eportal-menu-mobile-button {
    outline-style: solid;
    outline-color: white;
    outline-width: 0.5px;
    color: white;
    height: 40px;
    width: 50px;
}

/* fa-caret-left*/
[data-bs-toggle="collapse"] .fa:before {
    content: "\f0d9";
}
/* fa-caret-right*/
[data-bs-toggle="collapse"].collapsed .fa:before {
    content: "\f0da";
}

.k-grid td {
    border-width: 0 !important;
}

.k-sort-icon {
    color: white !important;
}

.k-grid-content tr {
    height: 50px;
    color: black !important;
    background-color: whitesmoke !important;
}

.k-grid-content tr:hover {
    background-color: var(--main-theme-color-pale) !important;
}

.k-grid-content .k-alt {
    height: 50px;
    color: black !important;
    background-color: var(--main-theme-color-light) !important;
}

.k-grid-content .k-alt:hover {
    background-color: var(--main-theme-color-pale) !important;
}

.k-grid-toolbar .k-grid-excel {
    color: black !important;
    background-color: #FFC107 !important;
}

/*Wrapping the Header Title of the Grid*/
.k-grid .k-column-title {
    white-space: normal;
}

/* JL20231020 https://www.telerik.com/forums/upload-net-core-and-mvc-doesn-t-work-in-ios */
.k-upload-button-wrap input {
    z-index: 0 !important;
    font: 30px monospace !important;    /* https://github.com/telerik/kendo-themes/issues/4682 */
}

.k-grid-content {
    min-height: 100px;
}

.btn-info {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: whitesmoke !important;
}

.bg-info {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: whitesmoke !important;
}
/*JL20240926*/
.preserve-line-breaks {
    white-space: pre-line;
}

/*JL20241229*/
@media (max-width: 768px) {
    .plus-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem; /* Better control than fixed px */
        line-height: 1;
        margin: 0;
        padding: 0;
        position: fixed;
        bottom: 30px;
        right: 30px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        text-align: center;
        /* Fix for slight misalignment in some fonts */
        transform: translateY(-10%); /* Adjust if needed */
        font-family: "Arial", sans-serif; /* Some fonts center better */
        cursor: pointer;
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }

        .plus-circle:hover {
            background-color: var(--bs-dark);
            color: var(--bs-light)
        }
}
/* Regular button for desktop screens */
@media (min-width: 769px) {
    .plus-circle {
        /* Regular button styles */
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        background-color: var(--bs-primary);
        color: var(--bs-light);
        border: 1px solid transparent;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        user-select: none;
        cursor: pointer;
        /* Hide the "+" (child text node) */
        font-size: 0;
    }
        .plus-circle::before {
            content: attr(title); /* Show the data-text on desktop */
            font-size: 1rem;
        }

}
    .center-checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Fix button for Update Personal Particulars */
    @media (min-width: 769px) {
        .confirm-button-container-fixed {
            position: fixed;
            bottom: 100px;
            right: 40px;
            z-index: 1000; /* Ensure it's above other content */
            width: auto; /* Adjust width as needed, or use a specific width */
        }
            .confirm-button-container-fixed .btn {
                background-color: #ff6b6b;
                color: white;
                font-weight: bold;
                box-shadow: 0 0 15px black;
                border: 3px solid #fff;
                border-radius: 10px;
                animation: pulse 2s infinite;
            }

    }


    /* position the button that fixed at the bottom of the screen */
    @media only screen and (max-width: 768px) {
        .confirm-button-container {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 0; /* Remove padding to make it flush with the edges */
            margin: 0;
            display: flex;
            flex-wrap: nowrap;
            z-index: 1000; /* Ensure it is on top of other elements */
            background-color: white; /* Optional: Adjust as needed */
        }

            .confirm-button-container .my-btn {
                width: 100%; /* Make the button span the full width of the container */
                /*background-color: var(--main-theme-color) !important;*/ /* Optional: Adjust as needed */
                /*border-color: var(--main-theme-color) !important;
            color: white;*/
                border-radius: 0; /* Optional: Remove border radius for a bar-like look */
                display: block; /* Ensure it takes up the full width */
                background-color: red;
            }
    }

    /* Desktop: position the button group that fixed at the bottom of the screen */
    .buttons-container {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px; /* Optional: Adjust based on your needs */
        margin-left: -15px; /* Optional: Adjust based on your needs */
    }

        .buttons-container .col-lg-3 {
            flex: 0 0 auto; /*Do not grow or shrink, only take the required space */
            padding-right: 15px; /*Optional: Adjust based on your needs */
            padding-left: 15px; /*Optional: Adjust based on your needs */
            box-sizing: border-box; /*Include padding in the element's total width and height */
        }

        .buttons-container .btn {
            width: 100%; /*Ensure buttons span the full width of their container */
            border-radius: 6px;
            display: block; /*Ensure it takes up the full width */
            text-align: center; /*Center the text inside the button */
        }

    /* Mobile: position the button group that fixed at the bottom of the screen */
    @media only screen and (max-width: 768px) {
        .buttons-container {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 0; /* Remove padding to make it flush with the edges */
            margin: 0;
            display: flex;
            flex-wrap: nowrap;
            z-index: 1000; /* Ensure it is on top of other elements */
            background-color: white; /* Optional: Adjust as needed */
        }

            .buttons-container .col-lg-3 {
                flex: 1; /* Distribute space equally among buttons */
                padding: 0; /* Adjust padding as needed */
            }

            .buttons-container .col-lg-4 {
                flex: 1; /* Distribute space equally among buttons */
                padding: 0; /* Adjust padding as needed */
            }

            .buttons-container .btn {
                width: 100%; /* Ensure buttons span the full width of their container */
                border-radius: 0; /* Optional: Remove border radius for a bar-like look */
                display: block; /* Ensure it takes up the full width */
                /*background-color: var(--main-theme-color) !important;*/ /* Optional: Adjust as needed */
                /*border-color: var(--main-theme-color) !important;
            color: white;*/
            }
    }

    .bottom-space {
        display: block;
        height: 50px; /* Adjust height as needed */
    }

    .mobile-header-container {
        position: fixed;
        top: 0;
        display: flex;
        flex-wrap: nowrap;
        z-index: 1000; /* Ensure it is on top of other elements */
        background-color: white; /* Optional: Adjust as needed */
    }

    @media only screen and (max-width: 768px) {
        /* top-sapce for mobile */
        .top-space {
            display: block;
            height: 50px; /* Adjust height as needed */
        }
    }

    .spinner {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .disabled-menu {
        opacity: 0.5; /* Dimmed effect */
        pointer-events: none; /* Disables interaction */
    }

    .disabled-item {
        opacity: 0.5; /* Dimmed appearance */
        pointer-events: none; /* Prevents user interaction */
    }

        .disabled-item a {
            text-decoration: none; /* Optional: Remove underline for disabled links */
        }