html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-size: 16px;
    font-family: calibri,Arial,Caladea;
    background-color: whitesmoke
}


/* thisn is for the side nav */
.modal.left .modal-dialog {
    position: fixed;
    left: 0;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    left: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    background-color: whitesmoke;
    color: black;
}

.modal-header {
    /* border-bottom-color: #eeeeee;
    background-color: #fafafa; */
    /*background: #E39201 0% 0% no-repeat padding-box;*/
    opacity: 1;
}

.sideDivBtn {
    /* background-color: unset !important;
 border-color: unset !important; */
    color: unset;
    text-decoration: unset;
}

    .sideDivBtn:hover {
        color: rgb(0, 0, 0);
        background-color: white;
    }

.lodgemenDropDown {
    color: white;
}

    .lodgemenDropDown:hover {
        color: rgb(0, 0, 0);
        background-color: white;
    }

.navtext {
    color: black !important;
}

    .navtext:hover {
        color: #800000;
    }

html, body {
    height: 100%;
}

.landingpageBottomDivs {
    background-color: #800000;
    color: white;
    box-shadow: 0px 8px 6px #00000029;
    border: 1px solid #E39200;
    border-radius: 4px;
    opacity: 1;
    /*    font: normal normal bold 27px/54px Helvetica Neue;*/
}

.bg-maroon {
    background-color: #800000;
}


.bg-maroon-outline {
    outline: solid 1px #800000;
}

.btn-maroon {
    background-color: #800000;
    color: white;
}

.btn-maroon-outline {
    outline: solid 1px #800000;
    color: #800000;
}

.attachments-wrapper {
    width: -webkit-fill-available;
}

.document_review_btn {
    text-align: start !important;
}


.none-decoration {
    text-decoration: none;
}

.custom-d-none {
    display: none
}


.custom-modal-bg {
    /*background: black;
    opacity: 0.8;*/
}

.smoke-white-bg {
    background: whitesmoke;
}

.box-shadow {
    box-shadow: 9px 10px 20px rgba(0, 0, 0, 0.2);
}

.Back-arrow {
    height: 25px;
    width: 40px;
}

caption {
    /* padding-top: 0.5rem; */
    /* padding-bottom: 0.5rem; */
    color: #6c757d;
    text-align: left;
    caption-side: top;
    background: #800000;
    text-align: left;
    /*font: normal normal normal 24px Helvetica Neue;*/
    letter-spacing: 0.32px;
    color: white;
    opacity: 1;
    padding-left: 10px;
    font-weight: 700;
}

.custom_table_header > tr > th {
    border: 1px solid #800000 !important;
    background-color: transparent !important;
    color: black !important;
}

/*datatable*/

table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting_asc_disabled, table.dataTable thead > tr > th.sorting_desc_disabled, table.dataTable thead > tr > td.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting_asc_disabled, table.dataTable thead > tr > td.sorting_desc_disabled {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
    background: #800000 0% 0% no-repeat padding-box;
    opacity: 1;
    color: white;
}

tbody td {
    padding: 8px 10px;
    border: 1px solid #800000;
    opacity: 1;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: inherit !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(230, 230, 230, 0.1);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(230, 230, 230, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background: -webkit-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -moz-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -ms-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -o-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: #800000 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    border-color: #800000 !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #800000 !important;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    margin-left: 3px;
    margin-bottom: 10px;
}

.mt-200 {
    margin-top: 200px
}


.custom-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    border-radius: .25rem !important;
}


.scrow {
    height: 100vh;
    overflow-x: scroll;
    overflow-x: hidden;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.loader {
    visibility: hidden;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin-left: 10px;
    display: inline-block; /* Ensure the span behaves like a block */
    vertical-align: middle; /* Align with the button text */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.button-wrapper {
    display: flex;
    align-items: center;
}

.overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 999; /* Ensure it's below the loader */
}

.pageloader {
    display: none; /* Initially hidden */
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure the loader is on top */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*drop down for lodgement*/

/*testing*/
.dropdown-menu {
    margin-top: 0;
}

    .dropdown-menu .dropdown-toggle::after {
        vertical-align: middle;
        border-left: 4px solid;
        border-bottom: 4px solid transparent;
        border-top: 4px solid transparent;
    }

    .dropdown-menu .dropdown .dropdown-menu {
        left: 100%;
        top: 0%;
        margin: 0 20px;
        border-width: 0;
    }

        .dropdown-menu .dropdown .dropdown-menu.left {
            right: 100%;
            left: auto;
        }

@media (min-width: 768px) {
    .dropdown-menu .dropdown .dropdown-menu {
        margin: 0;
        border-width: 1px;
    }

    .dropdown-menu > li a:hover,
    .dropdown-menu > li.show {
        background: #007bff;
        color: white;
    }

        .dropdown-menu > li.show > a {
            color: white;
        }
}

@media (min-width: 768px) {
    .dropdown-menu > li a:hover, .dropdown-menu > li.show {
        background: #800000;
        color: white;
    }
}



.tooltip1 {
    position: relative;
    display: inline-block;
    /* border-bottom: 1px dotted black;*/
    cursor: not-allowed
}

    .tooltip1 .tooltiptext1 {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: -5px;
        left: 105%;
    }

    .tooltip1:hover .tooltiptext1 {
        visibility: visible;
    }


.custom-display-none {
    display: none;
}

select {
    border: 1px solid #ced4da !important;
}

.btn-add-new {
    background: #2F2F14 0% 0% no-repeat padding-box;
    box-shadow: 0px 8px 6px #00000029;
    border: 1px solid #2F2F14;
    border-radius: 4px;
    opacity: 1;
    color: white !important;
    font-weight: 500;
    /*font: normal normal bold 14px Helvetica Neue;*/
    letter-spacing: 0.36px;
    font-size: 14px !important;
}

.searchELEMENTS {
    color: black;
    /*font-family:'Times New Roman', Times, serif;*/
}

.btn-light {
    background-color: white !important;
}

.loginbtn {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    color: white !important;
    background-color: #800000 !important;
    padding-left: 20px;
    padding-right: 20px;
}

.inp {
    border: none;
    border-bottom: 1px solid #800000;
    padding: 5px 10px;
    outline: none;
}

[placeholder]:focus::-webkit-input-placeholder {
    transition: text-indent 0.4s 0.4s ease;
    text-indent: -100%;
    opacity: 1;
}




.row_selected {
    background-color: #800000 !important;
    color: white;
}


#billing_filter {
    display: none !important;
}



.ss-main .ss-single-selected .placeholder, .ss-main .ss-single-selected .placeholder * {
    background-color: white;
}

.btnblack:hover {
    background-color: #800000 !important;
}

.dataTables_length > label {
    display: flex !important
}

.dataTables_length select {
    margin: auto 5px !important;
}




.third {
    color: #800000 !important;
    text-decoration: unset;
}

    /*.third:hover {
        position: relative;
        transition: 0.5s color ease;
        text-decoration: unset;
        color: black;*/
        /*background-color: #800000;*/
        /*border-bottom: 2px solid red;
        transition: border-bottom 0.3s ease-in-out;
    }*/


/*        editting thead new datatable css*/
table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc, table.dataTable thead > tr > td.dt-orderable-asc, table.dataTable thead > tr > td.dt-orderable-desc, table.dataTable thead > tr > td.dt-ordering-asc, table.dataTable thead > tr > td.dt-ordering-desc {
 
    background: #800000 0% 0% no-repeat padding-box;
    opacity: 1;
    color: white;
}

div.dtr-modal div.dtr-modal-close {
    color: red;
    font-size: larger;
    font-weight: 700;
}

.dropdown-menu {
padding:5px;
}

.text-truncate {
    max-width: 150px; /* adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-overlayss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust color and opacity as needed */
    transition: opacity 0.3s ease-in-out;
}

.trybtn:hover .image-overlayss {
    opacity: 1;
}


.activeLink {
    /*background: #E39201;*/
    /*border-bottom: 6px red solid;*/
    /*   text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 5px;*/
    background: White;
    color: black;
}

div.dt-container select.dt-input {
    padding: 4px;
    margin-right: 5px !important;
}

.YearPicker-dropdown {
    z-index: 100000000000;
}

.btn-orange-outline {
 
    color: #800000;
    background-color: transparent;
    border-color: #800000;
    outline: aquamarine;
}

.btn-orange-bg {
    background: #800000;
    text-align: center;
    /*font: normal normal bold 14px Helvetica Neue;*/
    /* letter-spacing: 0px;*/
    color: #FFFFFF;
    opacity: 1;
}
.modfffal:nth-of-type(even) {
    z-index: 1062 !important;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity as needed */
    /*z-index: 1061;*/ /* Ensure this is less than 1062 to stay behind the element */
    pointer-events: none; /* This ensures the backdrop doesn't interfere with clicking on the elements */
}
