body{
            overflow-x: hidden;
        }
        table.dataTable thead .sorting::before {
            display: none !important;
        }
        table.dataTable thead .sorting::after{
            display: none !important;
        }
        table tbody tr.even:hover {
/*            background-color: #808080cf !important;*/
           cursor: pointer;
       }
       table tbody tr.odd:hover {
/*            background-color: #808080cf !important;*/
           cursor: pointer;
       }

        table.dataTable thead .sorting_asc::before {
            content: '▲'; /* Upward pointing arrow */
            display: inline-block !important;
        }

        table.dataTable thead .sorting_desc::after {
            content: '▼'; /* Downward pointing arrow */
            display: inline-block !important;
        }
        table.dataTable.table-hover>tbody>tr:hover>* {
        box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.075)
/*        background-color:black !important;*/

    }
    #mySuccessToast{
        position: absolute;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
        width: fit-content;
        border-radius: 5px;
        top: 10px;
        right: 10px;
        border: 1px solid rgb(197, 197, 197);
        border-left: 5px solid green;
        background-color: rgb(201, 255, 201);
        padding: 1rem;
    }
    #myErrorToast{
        position: absolute;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
        width: fit-content;
        border-radius: 5px;
        top: 10px;
        right: 10px;
        border: 1px solid rgb(197, 197, 197);
        border-left: 5px solid red;
        background-color: rgb(252, 193, 193);
        padding: 1rem;
    }
    #close:hover i{
        color: gray;
    }
    .mytoast-content{
        display: flex;
        flex-direction: row;
        gap: 3rem;
    }
    .mytoast-msg{
        display: flex;
        gap: 1rem;
    }
    .mytoast-icon{
        display: flex;
        align-items: center;
    }
    .close-button{
        display: flex;
        justify-content: end;
    }
    .close-button button{
        border: 0;
        background-color: transparent;
    }
    .hidden {
        opacity: 0;
        display: none;
        transition: opacity 0.5s ease;
    }
    .text-green{
        color: green;
    }
    .margin-b-0{
        margin-bottom: 0;
    }
    .blue-bottom-border{
        cursor: pointer;
    }

    .hoverable tbody tr:hover td{
            background-color:#ffffffcf ;
             transition: 0.2s ease;
        }

        .highlight-on-hover{
/*            background-color: #808080cf; */
            cursor:pointer;
            /* Change to your desired highlight color */
            /* Add any additional styles you want to apply when the row is hovered */
        }
        div.dataTables_wrapper div.dataTables_filter {
            text-align: left !important;
        }


        .h-100vh{
            height: 100vh!important;
        }
        .h-170px{
            height: 170px!important;
        }
        .w-100px{
            width: 100px;
        }
        .w-30{
            width: 30%!important;
        }
        .width-fit-content{
            width: fit-content!important;
        }
        .custom-col-lg-2 {
            flex: 0 0 auto;
            width: 12.666667%;
        }
        .custom-col-lg-10 {
            flex: 0 0 auto;
            width: 87.333333%;
        }
        .col-one{
            flex: 0 0 auto;
            width: 1.333333%;
        }
        .col-one-decking{
            flex: 0 0 auto;
            width: 5.333333%;
        }
        .col-one-plans{
            flex: 0 0 auto;
            width: 14.333333%;
        }
        .col-two-notes{
            flex: 0 0 auto;
            width: 18.666667%;
        }
        .col-two-decking{
            flex: 0 0 auto;
             width: 57.666667%;
        }
        .col-two-plans{
            flex: 0 0 auto;
            width: 14.666667%;
        }
        .col-three{
            flex: 0 0 auto;
            width: 30.5%;
        }
        .col-five-PO{
            flex: 0 0 auto;
            width: 40.333333%;
        }
        .col-six-punchDetails{
            flex: 0 0 auto;
            width: 53.5%;
        }
        .col-six-PO{
            flex: 0 0 auto;
            width: 48.666667%;
        }
        .col-seven-punchDetails{
            flex: 0 0 auto;
            width: 52.333333%;
        }
        .col-nine-decking{
            flex: 0 0 auto;
            width: 81%;
        }
        .bg-blue{
            background-color: #4874c4;
        }
        .text-blue{
            color: #4874c4!important;
        }
        .text-grey{
            color: gray;
        }
        .fs-9-rem{
            font-size: 0.9rem;
        }
        .fs-1-1-rem{
            font-size: 1.1rem!important;
        }
        .blue-bottom-border{
            border-bottom: 1px solid #4874c4!important;
        }
        .border-blue{
            border: 1px solid #4874c4;
            border-radius: 5px;
        }
        .btn-outline-blue{
            border: 1px solid #4874c4;
        }
        .hover-blue:hover{
            color: #4874c4!important;
        }
        .arrow-btn{
            color: #4874c4!important;
        }
        .arrow-btn:hover{
            color: white!important;
        }
        .white-outline-btn{
            border: 1px solid white;
            color: white;
        }
        /* Custom styling for the full-height sidebar */
        #sidebar {
            height: 100vh;
            border-right: 1px solid #333; /* Border on the right side */
            position: fixed;
            width: 200px;
        }
        .main-content{
            margin-left: 200px;
        }

        .modal-lg-custom{
            max-width: 1100px;
        }

        /* Style navigation buttons as outlined buttons */
        .nav-item a {
            display: block;
            padding: 10px 20px;
            color: white;
            text-decoration: none;
            border: 1px solid #007bff; /* Border color */
            border-radius: 3px;
            margin-bottom: 5px;
            transition: background-color 0.2s, color 0.2s;
        }

        .nav-item a:hover {
            background-color: #007bff; /* Dark blue on hover */
            color: white;
        }

        .nav-item a.active {
            background-color: #cce4f6; /* Light blue when clicked */
            color: #007bff;
        }
        .btns:hover{
            color: white!important;
            background-color: #4874c4!important;
        }
        .X-btn:hover{
            color: white!important;
        }
        .jobsDetailModal{
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
        }
        .punchDetailModal{
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
        }
        .bg-blue{
            background-color: #4874c4;
        }
        .h-80vh{
            height: 80vh;
        }
        .h-75vh{
            height: 75vh;
        }
        .h-20px{
            height: 20px;
        }
        .w-1000px{
            width: 1000px;
        }
        .w-1100px{
            width: 1200px;
        }
        .w-1200px{
            width: 1200px;
        }
        .w-800px{
            width: 800px;
        }
        .w-pic-px{
            width: 750px;
        }
        .br-0{
            border-radius: 0px;
        }
        .w-65{
            width: 65%;
        }
        .w-45{
            width: 45%;
        }
        .btn-outline-blue{
            border: 1px solid #4874c4;
        }
        .btn-blue{
            color: white;
            background-color: #4874c4;
            border: 1px solid #4874c4;
        }
        .btns:hover{
            color: white!important;
            background-color: #4874c4!important;
        }
        .text-blue{
            color: #4874c4!important;
        }
        .anchor_link{
            color: white;
            text-decoration: none;
        }
        .anchor_link_btn:hover .anchor_link{
            color: #4874c4;
        }
        .blue-bottom-border{
            border-bottom: 1px solid #4874c4!important;
        }
        .bold{
            font-weight: bold;
        }
        .radiobox{
            width: 17px;
            height: 17px;
        }

        .chkbox{
            width: 17px;
            height: 17px;
        }

        .bordered-div{
            border-bottom: 1px solid;
            border-left: 1px solid;
            border-right: 1px solid;
            padding: 0;
        }

        .bordered-heading{
            width: 100%; 
            text-align: center; 
            border-bottom: 1px solid #000; 
            line-height: 0.1em;
            margin: -2px 0 20px; 
        }

        .bordered-heading span{
            background:#fff; 
            padding:0 10px; 
        }
        /* Style for the loading screen overlay */
        #loadingScreen {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
            text-align: center;
            padding-top: 20%;
            z-index: 1229; /* Ensure the loading screen is on top */
        }

        /* Style for the loading spinner */
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.3);
            border-radius: 50%;
            border-top: 4px solid #3498db;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        /* Animation for the loading spinner */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .focus-ring:focus {
    outline: 0;
    box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) transparent;
}

@media screen and (max-width: 1500px){
    *{
        font-size: 0.9rem;
    }

}

@media (min-resolution: 120dpi) {
    *{
        font-size: 0.9rem;
    }
}

.nav-item a {
    font-size: 1rem;
}

.fixed-top{
    z-index: 99!important;
}

@media screen and (min-width: 1500px){
    .nav-item a {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1330px) and (min-width:768px){
    .custom-col-lg-10{
        width: 81.333333%;
    }
    .custom-col-lg-2{
        width: 18.666667%;
    }
}

@media screen and  (min-width:769px){
    #sidebar{
        display: block;
    }
    #topbar{
        display: none;
    }

}

.tbl-height{
    height: 75vh;
}

th, td{
    white-space: nowrap;
}

.py-med-4{
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}
.flex-custom{
    flex-direction: column;
}

@media screen and  (max-width:1000px) and (min-width:500px){
    .flex-custom{
        flex-direction: row;
    }
}
@media screen and  (max-width:499px) {
    .flex-custom{
        flex-direction: column;
    }
    .custom-grow{
        flex-grow: 1;
    }
}

@media screen and  (max-width:1000px){
    #sidebar{
        display: none;
    }
    #topbar{
        display: block;
    }
    
    .py-med-4{
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .title{
        display: none;
    }
    .custom-col-lg-10{
        width: 100%;
    }
    .sm-padding{
        padding-top: 55px;
    }
    /* .tbl-height{
        height: calc(100vh - 250px);
    } */
    .main-content{
        margin-left: 0px;
    }
}

@media screen and  (max-width:576px){

    .col-xsm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }
    .ms-small-1{
        margin-left: 0.1rem;
    }
    .ms-small-2{
        margin-left: 0.25rem;
    }
    .ms-small-3{
        margin-left: 1rem;
    }
    .arrow-small{
        font-size: 15px!important;
    }
    .decking-type-sm-100{
        width: 100%;
        justify-content: center;
    }
    .mt-small-2{
        margin-top: 0.5rem;
    }
}

.prob-jobs-btn{
    position: absolute;
    top: 0px;
    right: 0px;
}


@media screen and  (max-width:768px){
    .mt-med-1{
        margin-top: 0.25rem;
    }
    .mt-med-2{
        margin-top: 0.5rem;
    }
    .prob-jobs-btn{
        top: -60px;
    }
}

@media screen and  (max-width:434px){

    .pagination-w-sm-100 {
        width: 100%;
    }
}

/* @media screen and (min-width:768px) and (orientation: landscape) {
    #sidebar{
        display: none;
    }
    #topbar{
        display: block;
    }
    .custom-col-lg-10{
        width: 100%;
    }
    .sm-padding{
        padding-top: 55px;
    }
} */

@media screen and (max-width:750px) {
    .comm-w-sm-100{
        width: 100%;
    }
    .mt-sm-2{
        margin-top: 0.5rem;
    }
    .filter-w-sm-100{
        width: 100%;
    }
    .flex-grow-1-sm{
        flex-grow: 1;
    }
}

@media screen and (max-width:575px){
    .jobs-col-3-5{
        flex: 0 0 auto;
        width: 30%;
    }
    
    .jobs-col-2-5{
        flex: 0 0 auto;
        width: 20%;
    }
}

/* media query for 1000px width modal */
@media screen and (max-width:1050px) and (min-width:750px){
    .w-1200px{
        width: 740px;
    }
    .w-1100px{
        width: 740px;
    }
    .w-1000px{
        width: 700px;
    }
    .w-800px{
        width: 700px;
    }
    .w-pic-px{
        width: 650px;
    }
}

@media screen and (max-width:749px) and (min-width:650px){
    .w-1200px{
        width: 640px;
    }
    .w-1100px{
        width: 640px;
    }
    .w-1000px{
        width: 600px;
    }
    .w-800px{
        width: 600px;
    }
    .w-pic-px{
        width: 550px;
    }
}

@media screen and (max-width:649px) and (min-width:550px){
    .w-1200px{
        width: 540px;
    }
    .w-1100px{
        width: 540px;
    }
    .w-1000px{
        width: 500px;
    }
    .w-800px{
        width: 500px;
    }
    .w-pic-px{
        width: 450px;
    }
}

@media screen and (max-width:549px) and (min-width:450px){
    .w-1200px{
        width: 440px;
    }
    .w-1100px{
        width: 440px;
    }
    .w-1000px{
        width: 400px;
    }
    .w-800px{
        width: 400px;
    }
    .w-pic-px{
        width: 350px;
    }
}

@media screen and (max-width:449px){
    .w-1200px{
        width: 95%;
    }
    .w-1100px{
        width: 95%;
    }
    .w-1000px{
        width: 95%;
    }
    .w-800px{
        width: 95%;
    }
    .w-pic-px{
        width: 92%;
    }
    ._modal{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media screen and (max-width:649px){
    .jobs-cancel-ok-sm-100{
        width: 100%;
        justify-content: end;
        margin-top: 0.5rem;
    }
    .justify-content-end-sm{
        justify-content: end;
    }
}

@media screen and (max-width:549px){
    .addNewBtns-sm-100{
        width: 100%;
        margin-top: 0.5rem;
    }
    .addNewBtns-sm-flex-grow-1{
        flex-grow: 1;
    }
}






.image-drop-zone {
    border: 2px dashed #d0d0d0;
    border-radius: 6px;
    transition: 0.15s ease-in-out;
    padding: 10px;
}

.image-drop-zone.image-drop-active {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

/* Collapsed state */
.image-drop-zone.empty {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Normal image grid state */
.image-drop-zone.has-images {
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.image-drop-zone-empty-message {
    text-align: center;
    color: #777;
    width: 100%;
    pointer-events: none;
}




.image-drop-zone-empty-message {
    font-size: 0.9rem;
    color: #888;
}



.entity-pic-container {
    transition: transform 0.2s;
}

.entity-pic-container:hover {
    transform: scale(1.05);
    cursor: pointer;
}


/*.issue-pic-container {
    transition: transform 0.2s;
}

.issue-pic-container:hover {
    transform: scale(1.05);
    cursor: pointer;
}*/

.image-viewer {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.viewer-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 4%;
}

.close-viewer {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.image-description {
    text-align: center;
    color: white;
    padding: 10px;
    margin-top: 20px;
}

@media screen and (max-width:576px) {
    .img-height{
        height: 50px;
    }
    .grid-height{
        height: 125px;
    }
}

@media screen and (max-width:768px) and (min-width:577px) {
    .img-height{
        height: 100px;
    }
    .grid-height{
        height: 175px;
    }
}

@media screen and (max-width:992px) and (min-width:769px) {
    .img-height{
        height: 150px;
    }
    .grid-height{
        height: 225px;
    }
}

@media screen and (min-width:993px) {
    .img-height{
        height: 200px;
    }
    .grid-height{
        height: 275px;
    }
}

.responsive-hr{
    display: none;
}

@media screen and (max-width:650px) {
    .responsive-hr{
        display: block;
    }
}

