
body {
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, p, a {
    /* font-family: "Poppins", sans-serif; */
    color: #212121
}

/* h1 {
    font-family: "Poppins", sans-serif;
} */

/* a {
    text-decoration: none !important;
} */


body {
    font-size: 16px;
    /* font-family: "Poppins", sans-serif */
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.3em
}

p {
    font-size: 1em;
}

a {
    font-size: 1em;
    color: var(--site-green);
}

a:hover {
    color: var(--dark-green);
}

.lite-font {
    font-size: .9em;
    font-weight: 400;
}

html {

    --white: #FFFFFF;
    --white-offset: #F5FCFC;
    --green-100: #CCF2F0;
    --green-200: #00BDB4;
    --green-300: #008403;
    --green-400: #668281;
    --green-500: #668281;
    --green-600: #334141;
    --red-300: #FF0000;
    --site-border-color: #E9ECED;
    --table-head: #F5F6F7;

    --orange-bg: #FAE9DD;
    --pink-bg: #FCECEC;
    --blue-bg: #E5FAFF;
    --content-bg: #EBF3F4;

    --font-size: 14px;

    --font-color: var(--green-600);
    --site-border-radius: 20px;
    --site-padding: 15px;
    --site-box-shadow: rgba(0, 0, 0, 0.095);

    --table-head-border-radious: 8px;

    --site-purple: #683091;
    --Acknowledge-color: #308091;
    --yellow-color: #F6C23E;
    --green-color: #5B9130;

}


article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    margin: 0;
    font-family: "Nunito", 'Noto Sans Bengali', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    line-height: 1.5;
    color: #858796;
    text-align: left;
    background-color: #fff;
}


/*============================================S CSS =============================================================*/
.cms-bg-color {
    background-color: #683091;
}

.table-ctl th {
    font-size: .9em;
    font-weight: 400 !important;
    background-color: var(--table-head);
    border-bottom: 8px solid white;
    margin-bottom: 18px;
}

.table-ctl tr {
    border-radius: 16px;
    overflow: hidden;
}

.custom-rounded {
    border-radius: 0.75em;
    overflow: hidden;
}

.card-body {
    padding: 1.25em;
}

.custom-rounded .bottom {
    display: none;
}

.details-page .custom-rounded .bottom {
    display: block;
}

.summary-page .custom-rounded .bottom {
    display: block;
}

.shadow {
    box-shadow: 0px 2px 0px 0px rgba(.2, .2, .2, 0.08);
    -webkit-box-shadow: 0px 2px 0px 0px rgba(.2, .2, .2, 0.08);
    -moz-box-shadow: 0px 2px 0px 0px rgba(.2, .2, .2, 0.08);
}

.custom-rounded .dataTables_scrollBody {
    max-height: calc(100vh - 43em) !important;
    overflow: auto;
}
.summary-page .custom-rounded .dataTables_scrollBody {
    max-height: calc(100vh - 30em) !important;
    overflow: auto;
}

.summary-page .custom-rounded.all-table .dataTables_scrollBody {
    max-height: 500px !important;
    overflow: auto;
}

.custom-rounded.all-table .dataTables_scrollBody {
    max-height: 500px !important;
    overflow: auto;
}

.custom-rounded .table-custom {
    border-collapse: separate;
    border-spacing: 0px 4px;
}

.custom-rounded .table-custom th {
    font-weight: 400;
    font-size: 14px;
}

.details-page .custom-rounded .dataTables_scrollBody {
    max-height: calc(100vh) !important;
    overflow: auto;
}

.custom-rounded .btn-purple, .btn-acknowledge, .form-control, .btn-acknowledge, .btn {
    /* padding: 0.25em 1.5em; */
    /* font-size: 0.7em; */
    margin: auto 0;
    height: calc(1.75em + 0.75rem + 2px);
}

.custom-rounded .btn-purple, .btn-acknowledge, .btn {
    font-weight: 400;
}

.count-ctl {
    font-weight: 800;
}

.custom-rounded .table-striped tbody tr {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--site-border-color);
    margin: 8px 0;
}

.custom-rounded .dataTable {
    border-collapse: separate;
    border-spacing: 0px 4px;
}

.custom-rounded tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.custom-rounded div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr td {

    border-top: 1px solid var(--site-border-color);
    border-bottom: 1px solid var(--site-border-color);

}

.custom-rounded div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr td:first-child {
    border-left: 1px solid var(--site-border-color);
    border-top: 1px solid var(--site-border-color);
    border-bottom: 1px solid var(--site-border-color);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.custom-rounded div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr td:last-child {
    border-right: 1px solid var(--site-border-color);
    border-right: 1px solid var(--site-border-color);
    border-top: 1px solid var(--site-border-color);
    border-bottom: 1px solid var(--site-border-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.table th, .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 0px solid #e3e6f0;
}

.small-talbe .sorting_1 {
    border-right: 1px solid var(--site-border-color);
    border-right: 1px solid var(--site-border-color);
    border-top: 1px solid var(--site-border-color);
    border-bottom: 1px solid var(--site-border-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.custom-rounded .clickable-row-details:hover {
    background-color: rgba(0, 106, 78, 0.05);
}

.custom-rounded .clickable-row-details-for-ministry:hover {
    cursor: pointer;
    background-color: rgba(0, 106, 78, 0.05);
}

.custom-rounded .table thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.custom-rounded .table thead th:last-child, sorting_desc {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


.small-talbe .sorting_desc {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


/* Styles for wrapping the search box */

.main {
    width: 50%;
    margin: 50px auto;
}

/* Bootstrap 4 text input with search icon */

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 1;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}


.custom-rounded .btn-outline-secondary {
    color: #9E9E9E;
    border: 1px solid #DEE0E3;
}

.custom-rounded .btn-outline-secondary:hover {
    color: var(--white);
    border: 1px solid #683091;
    background-color: #683091;
    color: var(--white);
}

.has-search {
    margin-bottom: 0;
}


table.dataTable > thead .sorting, table.dataTable > thead .sorting_asc, table.dataTable > thead .sorting_desc, table.dataTable > thead .sorting_asc_disabled, table.dataTable > thead .sorting_desc_disabled {
    font-size: .85em;
    font-weight: 400;
}

table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {

}

.page-heading {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--font-color);
    vertical-align: center;
}

.page-heading-2 {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--font-color);
}

.other-table-ctl .card-body {
    padding: 0;
}

.other-table-ctl .shadow {
    box-shadow: none;
}

.other-table-ctl .custom-rounded {
    border-radius: 0;

}

.other-table-ctl .card {
    background-color: transparent;
    border: 0px solid;
}

.other-table-ctl .table thead th {
    background-color: var(--white);
    border: 1px solid var(--white);
}

.other-table-ctl .small-talbe .sorting_1 {
    border-right: 0px solid var(--site-border-color);
    border-top: 0px solid var(--site-border-color);
    border-bottom: 0px solid var(--site-border-color);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0x;
    border-bottom-right-radius: 0px;
}

/* .btn-outline-secondary, .btn-outline-secondary {
    background-color: var(--white);
    border: 1px solid #DEE0E3;
} */


.upstatus-btn a {
    width: 100% !important;
}


@media (min-width: 1080px) {

    .custom-rounded .dataTables_scrollBody {
        max-height: calc(100vh - 43em);
        overflow: auto;
    }


}

@media (max-width: 767.98px) {
    #bottom-navbar {
        position: fixed;
        bottom: 0;
        z-index: 2;
        width: 100%;
        margin-bottom: 0 !important;
    }

    body {
        padding-bottom: 20px;
    }
}


@media (max-width: 575.98px) {
    .navbar {

    }
}

#performBulkActionMbl {
    display: none;
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    /* .navbar {
        position: fixed;
        bottom: 0;
        z-index: 2;
        width: 100%;
        margin-bottom: 0 !important;
    } */

    .site-log, .user-account {
        display: none !important;
    }

    .search-icon {
        display: none !important;
    }

    .nav-link {
        display: flex;
        flex-direction: column;

    }

    .nav-item {
        margin-right: auto !important;
        margin-left: auto !important;
        margin-top: auto;
    }

    .navbar .mr-2 {
        margin-right: auto !important;
        margin-left: auto;
        padding-top: 1em;
    }

    .has-search {
        display: none;
    }

    .small-table-hide .dataTables_wrapper {
        display: none;
    }

    .small-table-hide .dataTables_scroll {
        display: none;
    }

    .small-table-hide .dataTableInProgress_wrapper {
        display: none;
    }

    .custom-rounded .btn-acknowledge {
        width: 100%;
    }

    .custom-rounded .btn-workprog {
        width: 100%;
    }


    .custom-rounded .btn-completed {
        width: 100%;
    }

    .custom-rounded .dataTables_scrollHeadInner {
        display: none;
    }

    .small-talbe tr {
        display: table;
        direction: rtl;
        width: -webkit-fill-available;
    }

    .small-talbe .PCQC-ctl {
        flex: 0 0 80.00%;
        width: 95.00%;
        flex-flow: column-reverse;
        padding: 0;
    }

    .small-talbe .scqc-ctl {
        flex: 0 0 80.00%;
        width: 95.00%;
        flex-flow: column-reverse;
        padding: 0;
        font-weight: 900;
        border: 0px solid white;
        border-left: 1px solid white;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
    }


    .small-talbe .sorting_1 {
        flex: 0 0 20.00%;
        width: 15.00%;
        flex-flow: column-reverse;
    }

    .sorting_1 {
        background-color: rgba(104, 48, 145, 0.53);
        border-radius: 8px;
        border: 1px solid rgba(104, 48, 145, 0.53);
        color: var(--white);
        font-weight: 800;
        text-align: center;
        vertical-align: middle;
    }

    .custom-rounded div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr td {
        border-top: 0px solid var(--site-border-color);
        border-bottom: 0px solid var(--site-border-color);
    }

    .custom-rounded div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr td:first-child {
        border-left: 0px solid var(--site-border-color);
        border-top: 0px solid var(--site-border-color);
        border-bottom: 0px solid var(--site-border-color);
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .big-table-ctl .btn-outline-secondary {
        display: none;
    }

    .big-table-ctl .custom-rounded .table-striped tbody tr {
        width: 100%;

    }


    .big-table-ctl .sorting_1 {
        background-color: white;
        border-radius: 8px;
        border: 1px solid white;
        color: var(--font-color);
        font-weight: 800;
    }

    .big-table-ctl .dtr-details {
        display: flex;
        list-style-type: none;
        padding: 0;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .big-table-ctl li {
        width: 50%;
        flex: 0 0 50%;
    }

    .big-table-ctl .child {

    }

    .big-table-ctl .custom-rounded .table-striped tbody tr {

        margin: 8px 0;
    }

    .other-table-ctl thead {
        display: none;
    }

    .hide-ctl {
        display: none;
    }


    .checkbox-tbl .custom-rounded .table-striped tbody tr {
        display: inline-flex;
        flex-wrap: wrap;
    }

    /*.detailsView .table-striped tbody tr{*/
    /*    display: inline-flex;*/
    /*    flex-wrap: wrap;*/
    /*}*/
    .pcqc-w {
        width: 100%;
        padding-top: 0px !important;
        padding-bottom: 0px !important;;
    }

    .upstatus-btn {
        width: 100%;
    }

    .scqc-header {
        color: black;
        font-weight: bold;


    }

    .upstatus-btn .btn-outline-secondary {
        color: #683091;
        border: 1px solid #683091;
        text-align: center;
    }

    .footer-view {
        display: none;
    }


    .summary-page .custom-rounded .bottom {
        display: inline-block;
    }

    .summary-page .custom-rounded .bottom .pagination {
        flex-wrap: wrap; /* Allow pagination items to wrap */
    }

    .big-table-ctl .pagination .paginate_button {
        width: auto;
        flex: auto;
    }

    #performBulkActionMbl {
        display: inline-block;
    }


    .error-div{
         padding-top: calc(100vh - 50em);
         padding-bottom: calc(100vh - 40em);
    }


}

td {
    color: #424242;
}



#detailViewTbl_filter, #summaryViewTbl_filter, #feedbackDetailsTbl_filter, #divisionViewTbl_filter, #districtViewTbl_filter, #upazlilaViewTbl_filter {
    display: none;
}


/*@media only screen and (max-width: 40em) {*/
/*    #detailsView thead th:not(:first-child) {*/
/*        display: none;*/
/*    }*/

/*    #detailsView td, #detailsView th {*/
/*        display: block;*/
/*        clear: both;*/
/*    }*/

/*    #detailsView td[data-th]:before {*/
/*        content: attr(data-th);*/
/*        float: left;*/
/*    }*/
/*}*/


/*============================================S CSS =============================================================*/



/* Custom CSS */

/* Login Page */
.btn.btn-login {
    width: 250px;
    height: unset;
    align-content: center;
    background-color: #18a367;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 16px;
    font-family: 'Noto Sans Bengali', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #fff;
}

.login-form .login-area {
    padding: 35px;
    text-align: center;
}

.btn.btn-login:hover {
    background-color: #0b985b;
}

/* details view page */

.details-view .hr-double {
    border-top: 2px solid #dbe2e3;
}

.details-view .heading-label {
    font-size: 17px;
}

.details-view .shadow-custom {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.details-view .main-label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.details-view form .form-label {
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Noto Sans Bengali', Arial, Helvetica, sans-serif;
    color: #212121;
}

.status-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 12px;
    border-radius: 4px;
    background-color: #688b60;
    color: #fff;
}

.status-badge.badge-acknowledge {
    background-color: #7B608B;
}
.status-badge.badge-running {
    background-color: #8B606B;
}
.status-badge.badge-closed {
    background-color: #8B8A60;
}


.details-view .button-main {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
}

.details-view .file-link {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.details-view .file-link:hover {
    color: #666;
}

.details-view .files-section {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 4px;
}

.details-view .form-card {
    background-color: #F8F9FC;
}

/* Main Page */
.card-header-custom {
    font-size: 18px;
    margin-bottom: 10px;
    color: #424242;
}

/* Map Page */
.map-table.table td {
    padding: 0.75rem;
    border-top: 0px solid #e3e6f0;
}

.map-table.table tr {
  background-color: var(--white);
  overflow: hidden;
  border: 1px solid var(--site-border-color);
  margin: 8px 0;
}