﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif;
}

.width220 {
    width: 220px;
}

.width150 {
    width: 150px;
}

.form-control {
    padding: 3px !important;
    height: 28px !important;
    border-radius: 6px !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
}

.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    padding: 3px 3px !important;
    height: 28px !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    border-radius: 6px !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        top: 41% !important;
    }

.SumoSelect > .CaptionCont {
    line-height: 21px !important;
    border-radius: 6px !important;
}

.calendariconSet {
    top: 23px !important;
}

.fa.fa-external-link {
    color: #f99218;
}

.Overhead {
    color: #3d506d;
    font-size: 14px;
    font-weight: 600;
}

/******pagimnation*****/
.paginationPanel {
    float: right;
    padding: 3px;
    font-size: 14px;
    margin-top: 3px;
}

    .paginationPanel a {
        margin: 0px 1px;
        cursor: pointer;
        background: #f1f1f1;
        width: 18px;
        height: 18px;
        display: inline-block;
        border-radius: 50%;
        text-align: center;
        color: #757575;
        line-height: 20px;
    }

        .paginationPanel a:hover, .paginationPanel a.active {
            background: #18AACC;
            color: #fff !important;
        }

    .paginationPanel .paginationpage {
        max-width: 32px;
        text-align: center;
        height: 24px;
        border: solid thin #ccc;
        border-radius: 6px
    }

    .paginationPanel select {
        max-width: 48px;
        text-align: center;
        height: 24px;
        border: solid thin #ccc;
        border-radius: 6px;
    }

    .paginationPanel button {
        background: #18AACC;
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        padding: 1px 5px;
    }

    .paginationPanel .borderleft {
        border-left: solid thin #dadada;
    }

    .paginationPanel .fa {
        font-size: 10px;
    }
/******pagimnation*****/

.TotalRecords {
    background: #3d506d;
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    color: #ffffff;
}

.footerFixed {
    position: fixed;
    /* width: 96%; */
    background: #fff;
    right: 0px;
    left: 50px;
    bottom: 0px;
    z-index: 9999;
    padding: 5px 10px;
    border-top: solid thin #ccc;
}

.TotalQuantity {
    background: #daf5e6;
    color: #378f5c;
    font-size: 14px;
    border-radius: 5px;
    font-weight: 500;
    display: block;
    text-align: center;
    padding: 5px 10px;
}

/*#mdlOverheadModal .modal-header {
    padding: 0 !important;
    padding: 8px 15px !important;
    background: #54c5cb;
    border-radius: 0;
}*/

#mdlOverheadModal .modal-header h4 {
    color: #3d506d;
    font-size: 16px;
    font-weight: 600;
    float:left;
    margin-right:5px;
}

    #mdlOverheadModal .modal-header span {
        padding: 2px 5px;
        background: #24426bd1;
        color: #fff;
        font-size: 14px;
        border-radius: 5px;
    }


#mdlOverheadModal .close {
    color: #3d506d !important;
    outline: none;
    border: none;
    background: none;
    top: 25px !important;
}

/*#mdlOverheadModal .modal-dialog {
    min-width: 80% !important;
}*/

/*.modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: end;
    border-top-color: #f4f4f4;
    position: fixed;
    width: 100%;
    bottom: 0px;
    background: #d4d4d4;
    padding: 10px;
    bottom: 0px;
}
*/

/* 19th oct */


/* Responsive Labour Overheads modal */
#mdlOverheadModal .modal-dialog {
    width: 95%;
    max-width: 1600px;
    min-width: 0 !important;
    height: 95vh;
    height: 95dvh;
    margin: 2.5vh auto;
    margin: 2.5dvh auto;
}

#mdlOverheadModal .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#mdlOverheadModal .modal-header {
    flex: 0 0 auto;
}

#mdlOverheadModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-bottom: 15px;
}

    #mdlOverheadModal .modal-body .table-responsive {
        width: 100%;
        max-height: 100%;
        overflow: auto;
    }

#mdlOverheadModal #tblTask {
    width: 100%;
    margin-bottom: 0;
}

#mdlOverheadModal .modal-footer {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0;
    bottom: auto;
}

/* Smaller laptop screens */
@media (max-width: 768px) {
    #mdlOverheadModal .modal-dialog {
        width: 98%;
        height: 96vh;
        height: 96dvh;
        margin: 2vh auto;
        margin: 2dvh auto;
    }

    #mdlOverheadModal .modal-footer {
        flex-wrap: wrap;
        gap: 8px;
    }

    #mdlOverheadModal .TotalQuantity {
        text-align: left;
    }
}


#mdlOverheadModal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top-color: #f4f4f4;
    background: #d4d4d4;
    padding: 10px;
}



/* Labour Overheads - Responsive pagination only */
.paginationContainer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 0 4px 0;
}

.paginationContainer .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    white-space: nowrap;
}

.paginationContainer .pagination p {
    display: inline-block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.paginationContainer .paginationSelect {
    width: 46px !important;
    min-width: 46px;
    height: 26px !important;
    padding: 1px 3px !important;
    margin: 0;
}

.paginationContainer .pagedata {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.paginationContainer .goto {
    width: 28px !important;
    min-width: 28px;
    height: 26px !important;
    padding: 1px 3px !important;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}

.paginationContainer .go_button {
    height: 26px;
    padding: 2px 7px;
    margin: 0;
    line-height: 20px;
    white-space: nowrap;
}

.paginationContainer .total {
    display: none;
}

.paginationContainer .innerPagination {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}

.paginationContainer .innerPagination ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.paginationContainer .innerPagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 25px;
    height: 26px;
    padding: 2px 5px;
    margin: 0;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
}

.paginationContainer .innerPagination li.inactive {
    cursor: default;
}

/* Keep controls usable on smaller screens */
@media (max-width: 600px) {
    .paginationContainer {
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .paginationContainer .pagination {
        justify-content: flex-start;
        flex-shrink: 0;
    }
}
