@media (min-height:455px) {
    .left-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@media (max-height:600px) {
    .copyright {
        position: relative;
    }

    .left-responsive {
        max-height: calc(100vh - 75px);
        overflow: auto;
    }

    .left-responsive-open {
        max-height: calc(100vh - 53px);
        overflow: auto;
    }
}

@media (max-height:410px) {
    .login-wrapper {
        padding: 30px 0;
    }

    .login-box {
        padding: 10px 30px !important;
    }

    .login-box img {
        margin: 0 auto 10px;
    }

    .login-box h2 {
        margin-bottom: 15px;
        font-size: 26px;
    }
}

@media (min-width: 576px) {
    .weeklyModal .modal-dialog {
        max-width: 360px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
        padding: 0;
    }
}

@media (max-width: 1420px) {
    .header-search {
        width: 230px;
    }

    .header-title {
        font-size: 20px;
    }

    .navbar-nav .nav-item .nav-link,
    header .dropdown-toggle,
    .left-menus .dropdown-toggle {
        font-size: 17px;
    }

    .navbar {
        padding: 6px 1rem;
    }

    .notify {
        right: 6px;
        top: 11px;
    }
}

@media (max-width: 1320px) {
    header .dropdown-toggle {
        padding: 4px 6px;
        font-size: 15px;
    }

    .navbar-nav .nav-item .nav-link,
    header .dropdown-toggle {
        font-size: 15px;
        padding: 3px;
    }

    .date-selection .dropdown-toggle {
        padding: 3px 8px;
    }

    .navbar {
        padding: 9px 1rem;
    }

    .notify {
        right: 0px;
        top: 6px;
    }

    .btn-group-toggle label {
        width: 115px;
        font-size: 18px;
    }

    .grid-partition {
        padding: 20px 0 0;
    }

    .grid-view .white-box h4 {
        font-size: 16px;
    }

    .grid-view .white-box span {
        font-size: 15px;
    }

    .header-search {
        width: 180px;
    }

    .load-type .btn-group-toggle label {
        font-size: 13px;
        width: 125px;
    }

    .custom-width {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .load-btn {
        top: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 1199px) {
    header {
        padding-left: 30px;
    }

    .main-wrapper {
        margin: 78px 25px 25px 70px;
    }

    .left-menu-open {
        box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1);
    }

    .form-group label {
        font-size: 14px;
    }

    .btn-group-toggle label {
        width: 115px;
    }

    .r-mt {
        margin-top: 10px;
    }

    .button-bottom button,
    .button-bottom a {
        height: 50px;
        font-size: 18px;
    }

    .left-menu-open h5 {
        font-size: 20px;
    }

    .left-menu-open {
        left: -240px;
    }

    .menu-close {
        left: 45px;
    }

    .dataTable thead th {
        font-size: 16px;
        padding: 15px 5px !important;
    }

    .dataTable tbody td {
        padding: 15px 5px !important;
    }

    .grid-view .white-box h5 {
        font-size: 16px;
    }

    .table-control {
        padding: 0 0 25px;
    }

    .dataTable thead::before {
        left: 0;
        right: 0;
    }

    .employee-wrapper .table-view {
        padding: 0;
    }

    .monthly-calender .calendar-date {
        height: calc(110px - 20px);
    }

    .occu-type-key-text p {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 20px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .date-selection {
        margin-bottom: 10px;
    }

    .date-selection .dropdown-toggle {
        width: 100%;
        text-align: center;
    }

    .header-search {
        width: 100%;
    }

    header .dropdown-toggle {
        width: 100%;
        text-align: left;
        position: relative;
    }

    header .dropdown-toggle::after {
        position: absolute;
        right: 0;
        top: 10px;
    }

    header .dropdown-menu .dropdown-item {
        padding: 5px 10px;
    }

    .date-selection .dropdown-menu {
        padding: 1px 10px;
    }

    .menu-responsive {
        width: 27px !important;
        text-align: center;
    }

    .navbar-nav {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: flex-end;
    }

    .navbar-collapse {
        max-height: calc(100vh - 50px);
        overflow: auto;
    }

    .load-type .btn-group-toggle label {
        margin: 5px 10px 5px 0;
    }

    .two-table {
        display: block;
    }

    #occupancy-calendar .white-box-small .filter-box p {
        margin-bottom: 5px;
    }

    .monthly-calender .calendar-content {
        overflow-x: scroll;
    }

    .monthly-calender .calendar-days>div,
    .monthly-calender .calendar-date {
        width: 100px;
    }
}

@media (max-width: 767px) {
    .r-mt-10 {
        margin-top: 10px;
    }

    .dataTables_filter {
        text-align: right !important;
    }

    .load-table .load-title {
        margin-bottom: 5px;
    }

    .load-info {
        right: -1px;
        left: auto
    }

    .load-info ul {
        right: 0;
    }
}

@media (max-width: 575px) {
    .main-wrapper {
        margin: 78px 10px 25px 50px;
    }

    .btn-group-toggle label {
        width: 100%;
        margin-bottom: 10px !important;
    }

    .weekly-top {
        margin-top: 10px;
    }

    .button-bottom button,
    .button-bottom a {
        height: 45px;
        font-size: 16px;
    }

    .dataTables_filter label .form-control {
        width: 170px !important;
        margin-left: -55px !important;
    }

    .table-title {
        margin-bottom: 10px;
    }

    .login-box {
        padding: 40px 20px;
        width: 320px;
    }

    .tab-content .box-title {
        font-size: 18px;
    }

    .tab-content ul li .custom-control-label {
        font-size: 15px;
    }

    .nav-tabs {
        padding: 0 0 20px;
    }

    .nav-tabs a.active::before {
        top: -5px;
    }

    .nav-tabs a {
        padding: 0 15px 0 0;
    }

    .nav-tabs a.active::before {
        width: 25px;
    }

    .employee-wrapper .green-btn {
        position: relative;
        top: 0;
        margin: 0 0 20px auto;
        display: block;
    }

    .load-wrapper .btn-group-toggle label {
        width: 125px;
    }

    .submitted {
        margin-top: 0;
    }

    .login-box h2 {
        font-size: 26px;
    }

    .account-wrapper .media {
        display: block;
    }

    .account-wrapper .media .profile,
    .activity-list .media .img-bg {
        margin-bottom: 5px !important;
    }

    .account-wrapper .media h5 {
        font-size: 18px;
    }

    .white-box {
        height: auto;
    }

    .load-info ul {
        min-width: 220px;
    }

    /* .monthly-calender .calendar-date {
        height: calc(110px - 40px) !important;
    }
    .occu-type-key-text p {
        font-size: 8px;
    } */
}

@media (max-width: 399px) {
    .load-type .btn-group-toggle label {
        width: 100%;
    }
}

/*Add css 10-02-2023 by roank*/
@media (min-width: 1920px) {

    /* .loadbweek-dispatch-box .fixed_header th.graph-box,
    .loadbweek-dispatch-box .fixed_header td.graph-box {
        width: 130px !important;
        min-width: 130px !important;
        max-width: 150px;
    }
    .loadbweek-dispatch-box .append-view .fixed_header thead th,
    .loadbweek-dispatch-box .append-view .fixed_header tbody td {
        width: 133px;
        min-width: 133px;
        max-width: inherit;
    }
    .loadbweek-dispatch-box .fixed_header th.inner-table-hadding,
    .loadbweek-dispatch-box .fixed_header td.inner-table-hadding {
        width: 90px !important;
        min-width: 90px !important;
        max-width: inherit;
    }
    .loadbweek-dispatch-box .append-view .fixed_header>thead>tr>th:last-of-type,
    .loadbweek-dispatch-box .append-view .fixed_header>tbody>tr>td:last-of-type {
        width: 145px;
        min-width: 145px;
        max-width: inherit;
    }
    .loadbweek-dispatch-box .fixed_header td.inner-table-hadding table tr td {
        width: 95px !important;
        min-width: 95px !important;
        max-width: inherit;
    } */
    .cust-select-2 .dropdown-menu {
        transform: translate3d(-280px, 50px, 0px) !important;
    }
}

@media (max-width: 1919px) {
    .cust-select-2 .dropdown>.btn {
        min-width: 100px;
        padding: 14px 10px;
        font-size: 12px;
    }

    .cust-select-2 .dropdown .btn img {
        margin-left: 3px;
    }

    .cust-select-2 li {
        margin-right: 8px;
    }

    .table tbody td {
        padding: 5px 5px !important;
    }

    .ngd-new .table tbody tr .inner-table table td {
        font-size: 12px !important;
    }

    .loadbweek-dispatch-box .append-view>.table thead th,
    .loadbweek-dispatch-box .append-view>.table>tbody>td {
        padding: 10px 4px !important;
    }

    /* .loadbweek-dispatch-box .mileage_th,
    .loadbweek-dispatch-box .cpm_th {

        width: 74px !important;
        min-width: 74px !important;
        padding: 4px !important;
    } */
    .loadbweek-dispatch-box .append-view>table>tbody>tr>td:first-of-type p {
        font-size: 13px;
        line-height: 14px;
        margin-bottom: 4px;
    }

    /* .loadbweek-dispatch-box .append-view .fixed_header thead th,
    .loadbweek-dispatch-box .append-view .fixed_header tbody td {
        width: 130px;
        min-width: 130px;

    } */
    .loadbweek-dispatch-box .append-view>.fixed_header>tbody>td {
        border: none;
    }

    /* .loadbweek-dispatch-box .fixed_header th.graph-box,
    .loadbweek-dispatch-box .fixed_header td.graph-box {
        width: 130px !important;
        min-width: 130px !important;
    } */
    /* .loadbweek-dispatch-box .append-view .fixed_header>thead>tr>th:last-of-type,
    .loadbweek-dispatch-box .append-view .fixed_header>tbody>tr>td:last-of-type {
        width: 135px;
        min-width: 135px;

    } */
    .loadbweek-dispatch-box .fixed_header th.inner-table-hadding,
    .loadbweek-dispatch-box .fixed_header td.inner-table-hadding {
        width: 85px !important;
        min-width: 85px !important;
    }

    .loadbweek-dispatch-box .fixed_header tr td.inner-table-hadding table tr td {
        width: 85px !important;
        min-width: 85px !important;
    }

    /* .loadbweek-dispatch-box .append-view .fixed_header>tbody>tr>td:last-of-type {
        width: 110px;
        min-width: 110px;
    } */
    .loadbweek-dispatch-box .table tbody td,
    .loadbweek-dispatch-box .cst-tbl .table thead th,
    .ngd-new .table tbody tr .inner-table.inner-table-hadding table td {
        font-size: 12px !important;
    }

    .inner-table table,
    .loadbweek-dispatch-box table tbody tr {
        width: 100%;
    }

    /* .loadbweek-dispatch-box .append-view>table>tbody>tr::before {
        width: 100.8%;
    } */
    .cust-select-2 .dropdown-menu {
        transform: translate3d(-280px, 50px, 0px) !important;
    }
}

@media (min-width: 1600px) {
    .loadbweek-dispatch-box .col-custome-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .cust-select-2 .dropdown-menu {
        transform: translate3d(-280px, 50px, 0px) !important;
    }
}

@media (max-width: 1599px) {
    .loadbweek-dispatch-box .cust-select-2 {
        justify-content: flex-start !important;
        margin-left: 0;
    }

    .white-box.loadbweek-dispatch-box .ttl-box .search-cmn.left {
        max-width: 85%;
        /* height: 45px; */
    }

    .cust-select-2 .dropdown-menu {
        transform: translate3d(0px, 50px, 0px) !important;
    }

    .cust-select-2 .dropdown .dropdown-menu>div.arrow:before,
    .week-date-block::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #407AC8;
        top: -13px;
        left: 10%;
        /* transform: translateX(-50%); */
    }
}

@media (max-width: 1199px) {
    .cust-select {
        margin-top: 20px;
    }

    .cust-select-2 .dropdown>.btn {
        font-size: 10px;
    }

    .cust-select-2 .dropdown-menu {
        transform: translate3d(-150px, 50px, 0px) !important;
    }

    .cust-select-2 .dropdown .dropdown-menu>div.arrow:before,
    .week-date-block::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #407AC8;
        top: -13px;
        left: 50%;
        /* transform: translateX(-50%); */
    }
}

@media (max-width: 991px) {
    .loadbweek-dispatch-box .cust-select-2 {
        margin-top: 12px !important;
        justify-content: center !important;
    }

    .white-box.loadbweek-dispatch-box .ttl-box .search-cmn.left {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .cust-select-2 .dropdown>.btn {
        padding: 8px 10px;
    }

    .loadbweek-dispatch-box .cust-select {
        justify-content: center;
        margin-bottom: 0px;
    }

    .loadbweek-dispatch-box .cust-select-2 {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .cust-select-2 .dropdown>.btn {
        min-width: 120px;
        margin-bottom: 12px;
    }

    .white-box.loadbweek-dispatch-box .ttl-box {
        padding: 12px;
    }

    .week-date-detail p {
        font-size: 14px !important;
    }

    /*.week-date-block {
        max-width: 300px !important;
        width: auto !important;
    }*/

    #weeklistdata {
        min-width: 220px !important;
    }

    .cust-select-2 .dropdown .dropdown-menu h6 {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 12px;
    }

    .cust-select-2 .dropdown-menu {
        top: -15px !important;
        transform: translate3d(0px, 50px, 0px) !important;
    }

    .cust-select-2 .dropdown .dropdown-menu>div.arrow:before,
    .week-date-block::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #407AC8;
        top: -13px;
        right: 10%;
        /* transform: translateX(-50%); */
    }
}

@media only screen and (max-width: 1199px) and (min-width: 992px) {
    .loadbweek-dispatch-box .cust-select-2 {
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .loadbweek-dispatch-box .cust-select {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .cust-select-2 .dropdown>.btn {
        width: 100%;
        margin-bottom: 0;
    }

    .loadbweek-dispatch-box .cust-select .year-week .week-picker~p {
        text-align: center;
    }

    .loadbweek-dispatch-box .cust-select .prev-arrow {
        left: 0;
    }

    .loadbweek-dispatch-box .cust-select .next-arrow {
        right: 0;
    }

    .loadbweek-dispatch-box .cust-select .prev-arrow,
    .loadbweek-dispatch-box .cust-select .next-arrow {
        min-width: 24px;
    }

    .white-box.loadbweek-dispatch-box .ttl-box .search-cmn.left .load-info {
        right: -32px;
    }

    .week-date-detail p {
        font-size: 12px !important;
    }

    .cust-select-2 li {
        width: 100%;
    }

    .cust-select-2 .dropdown .dropdown-menu {
        width: 220px;
    }

    .cust-select-2 .dropdown .dropdown-menu .btn {
        width: 100%;
        margin-bottom: 12px;
        padding: 0;
    }

    .cust-select-2 .dropdown .dropdown-menu>div {
        padding: 12px 12px 0;
    }

    .white-box.loadbweek-dispatch-box .ttl-box .search-cmn.left input.header-search.srch-2 {
        height: 33px;
    }

    .cust-select-2 .dropdown .dropdown-menu .form-check label {
        font-size: 12px;
        font-weight: 600;
    }

    .cust-select-2 .dropdown .dropdown-menu ul {
        max-height: 150px;
    }
}

/* add css on 24-02-2023 - .compliance-dashboard-report css - START */

@media (max-width:1899px) {
    .compliance-base-box h3 {
        overflow: hidden;
    }
}

@media (max-width:1699px) {
    .compliance-base-box h3 {
        font-size: 14px;
    }
    .compliance-base-box .btn-blue {
        margin-right: 12px;
    }
}

@media (min-width:1599px) {
    .col-xxl-auto {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
        padding-right: 6px;
        padding-left: 6px;
    }
    .px-xl-custom {
        padding: 0 15px;
    }
}

@media (max-width:1599px) and (min-width:1400px) {
    .col-xxl-auto {
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding-right: 6px;
        padding-left: 6px;
    }
}

@media (max-width:1499px) {
    .card-box {
        padding: 17px 18px 17px;
        /* min-width: 220px; */
    }
    .grid-item {
        padding: 0 12px;
    }
    .compliance-dashboard-report-hedding ul li a.btn {
        width: 98px;
    }
    .compliance-dashboard-report-hedding ul li a.btn img {
        max-width: 20px;
        margin-left: 8px;
    }
    .compliance-dashboard-report-hedding h2 {
        font-size: 28px;
    }
    .compliance-dashboard-report-hedding ul li {
        margin-left: 8px;
    }
}

@media (max-width:1199px) {
    .grid-item {
        padding: 0 6px;
    }
    .card-box h5 {
        font-size: 15px;
    }
    .card-box h2 {
        font-size: 36px;
        line-height: 36px;
    }
    .card-box img {
        max-width: 42px;
    }
}

@media (max-width:991px) {
    .card-box {
        padding: 12px 12px 12px;
        width: auto;
        /* min-width: 114px; */
    }
    .card-box img {
        max-width: 34px;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
        padding-top: 0;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-nav .nav-item {
        width: auto;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-collapse {
        display: -ms-flexbox!important;
        display: flex!important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-collapse {
        overflow: visible;
    }
    .compliance-dashboard-report-hedding ul li {
        margin-left: 0px;
        margin-right: 8px;
    }
    .compliance-dashboard-report-hedding ul {
        margin-top: 12px;
    }
}

@media (max-width:767px) {
    .grid-container {
        /* display: grid;
        grid-template-columns: auto auto auto;
        justify-content: center; */
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
    }
    .grid-item {
        margin-top: 12px;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding-right: 6px;
        padding-left: 6px;
        margin: 0 0 12px;
    }
    .grid-item:first-child {
        padding-left: 6px;
    }
    .grid-item:last-of-type {
        padding-right: 6px;
    }
    .card-box {
        min-width: auto;
        width: 100%;
    }
    .card-box h5 {
        margin-top: 0px;
    }
    .ngd-new .compliance-base-box .btn.btn-blue {
        height: auto;
    }
    .compliance-base-box>div:first-of-type {
        padding: 12px;
    }
    .compliance-base-box select {
        font-size: 12px;
    }
    .compliance-base-box .table thead th,
    .compliance-base-box .table tbody td {
        font-size: 12px !important;
    }
    .dropdown.dropdown-blue-theme .dropdown-menu>div .dropdown-hedding {
        padding: 12px;
    }
    .dropdown.dropdown-blue-theme .dropdown-menu .dropdown-footer,
    .dropdown.dropdown-blue-theme .dropdown-menu .dropdown-body {
        padding: 12px;
    }
    .compliance-dashboard-report-hedding ul {
        margin-top: 0;
    }
    .compliance-dashboard-report-hedding h2 {
        font-size: 24px;
        line-height: 30px;
    }
    .compliance-dashboard-report-hedding ul li a.btn {
        margin-top: 12px;
    }
    .compliance-dashboard-report-tbox .form-group {
        max-width: fit-content;
    }
    .compliance-dashboard-report-tbox .form-group select {
        margin-left: -15px;
    }
    .compliance-dashboard-report-tbox h3 {
        font-size: 18px;
    }
    .compliance-dashboard-report-tbox {
        margin-bottom: 18px;
    }
    .compliance-dashboard-report-tbox table thead th:first-child,
    .ngd-new .compliance-dashboard-report-tbox .table tbody tr td:first-child {
        padding-left: 0 !important;
    }
    .compliance-dashboard-report-tbox table thead th,
    .ngd-new .compliance-dashboard-report-tbox .table tbody tr td {
        padding: 5px !important;
    }
    .compliance-base-navbar {
        margin: 0 0 12px;
    }
}

@media (max-width:575px) {
    .grid-item {
        margin-top: 12px;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 8px;
    }
    .card-box img {
        max-width: 57px;
    }
    .compliance-base-navbar .navbar-nav {
        order: 1;
        justify-content: space-between;
        width: 100%;
    }
    .compliance-base-navbar .form-inline {
        order: 2;
        width: 100%;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-collapse {
        flex-wrap: wrap;
    }
    .compliance-base-navbar .navbar-nav .nav-item .drag-drop-check {
        padding-left: 0;
    }
    .compliance-base-navbar.navbar-expand-lg .navbar-nav {
        margin: 0;
    }
    .compliance-base-navbar {
        margin: 12px 0 12px;
    }
    .dropdown.dropdown-blue-theme .dropdown-menu .btn:first-child {
        margin-right: 0;
        margin-bottom: 8px;
    }
    .compliance-base-navbar .form-inline .nav-link {
        position: inherit;
    }
    .compliance-base-navbar .navbar-nav .nav-item .dropdown-menu,
    .compliance-base-navbar .dropdown-menu {
        left: auto;
        transform: none !important;
        right: 0% !important;
        width: 300px;
    }
    .compliance-base-navbar .navbar-nav .nav-item .Filter-dd .dropdown-menu {
        right: 50% !important;
        transform: translateX(50%) !important;
    }
    .dropdown.dropdown-blue-theme.Filter-dd .dropdown-menu>div.arrow:before {
        right: 40% !important;
        transform: translateX(-50%) !important;
    }
    .dropleft .dropdown-menu {
        right: 0 !important;
        width: 300px;
    }
    .dropdown.dropdown-blue-theme .dropdown-menu .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .dropdown.dropdown-blue-theme .select2-container--default .select2-selection--single {
        width: 100px;
    }
}

/* add css on 24-02-2023 - .compliance-dashboard-report css - END */
