﻿@media only screen and (min-width: 320px) and (max-width: 480px){
    .main-content {
        padding: 80px 0px 0 !important;
        transition: 1s;
    }
    /* Header Css Start */
    .header {
        padding: 0.6rem 0.8rem 0.6rem 0.8rem;
        transition: 0.3s;

    }
    .header .menu-icon-open {
        display: block;
        height: 25px;
        width: 25px;
        color: var(--white-color);
        z-index: 2;
    }
    .header .menu-icon-close {
        height: 25px;
        width: 25px;
        color: var(--white-color);
        z-index: 2;
        font-size: 30px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .header .logo {
        margin: 0 auto;
    }
    .header .header-icon{
        display: inline-block !important;
    }
    .header .navigation-wrap {
        position: fixed;
        flex-direction: column-reverse;
        width: 50% !important;
        background-color: var(--white-color);
        top: 70px;
        /* padding: 0.45rem 1rem; */
        border-radius: 0.65rem .65rem 0.45rem 0.45rem;
        z-index: 3;
        left: -50%;
    }
    .nav-open {
        left: 12px !important;
        transition: 0.3s;
    }
    .header-wrap .navigation {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0;
    }
    .header-wrap .navigation li {
        padding: 0.45rem 1rem 0.45rem 1rem !important;
        height: inherit;
        margin: 0;
    }
    .header-wrap .navigation li.active {
        border-bottom: none;
    }
    .header-wrap .navigation li a {
        color: var(--dark2-color) !important;
        margin-left: 5px;
    }
    .header a.user-wrap, .header button.user-wrap {
        padding: 0.8rem 1rem;
        background-color: var(--dark2-color);
        border-radius: 0.45rem 0.45rem 0 0;
    }
        .header a.user-wrap i, .header button.user-wrap i {
            position: fixed;
            right: 15px;
            top: 20px;
        }
    
    .body-overlay.show {
        background-color: #000000;
        opacity: 0.3;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1;
    }
    .filter-overlay.show {
        background-color: #000000;
        opacity: 0.3;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1;
    }
    .header-title-wrap{
        display: flex;
        flex-direction: column;
        align-items: inherit;
    }

    /* Header Css End */

    /* Login Page  */
    .login-page .background-img {
        background-image: none;
        width: inherit;
        height: inherit;
        padding: inherit;
        margin-bottom: 30px;
    }
    .login-page > .container-fluid > .row > .m-r--50 {
        margin-right: inherit !important;
    }
    .login-page > .container-fluid > .row > .col-lg-4 {
        order: 2;
    }
    .LoginFormWrap {
        box-shadow: 0 0 3px #cccccc;
    }
    section.login-page {
        background-color: var(--theme-color);
    }
    .mi-table-advance > tbody tr td {
        font-size: 13px;
    }
    .mi-card .mi-card-body {
        padding: 12px;
    }
    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #999;
        font-size: 12px;
    }
    div#filterCard {
        position: fixed;
        z-index: 12;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0.65rem 0.65rem 0 0;
    }
    .mi-filter {
        padding: 7px 9px;
        font-size: 13px;
    }
    #filterCard .header-title-wrap {
        flex-direction: inherit;
    }
    .contract-wrap {
        flex-direction: column;
    }
    
        .contract-wrap .invoice-view-wrap .contract-view-bottom {
            padding: 0px 5px;
            padding-top: 10px;
            overflow-y: hidden;
            flex-wrap: wrap;
            justify-content: flex-start;
        }
        .contract-wrap .invoice-view-wrap .contract-view-bottom a {
            white-space: nowrap;
            margin: 5px 5px;
        }

    .contract-wrap .invoice-view-wrap .contract-view-bottom button:first-child {
        margin-left: 240px;
    }
    .contract-wrap .invoice-view-wrap .contract-view-bottom button {
        white-space: nowrap;
    }
    .invoice-receipt-wrap {
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0;
        padding: 0;
    }
    .table-responsive #invoice-table_wrapper > .row:first-child .col-sm-6:first-child {
        bottom: 5px;
    }
    .table-responsive #invoice-table_wrapper > .row:last-child .col-sm-6:last-child {
        margin-bottom: 20px;
    }
    .activity-log-wrap .no-data-img {
        width: 40%;
        margin: 20px auto;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px){
    .main-content {
        padding: 80px 0px 0 !important;
        transition: 1s;
    }
    /* Header Css Start */

    .header {
        padding: 0.6rem 0.8rem 0.6rem 0.8rem;
        transition: 0.3s;

    }
    .header .menu-icon-open {
        display: block;
        height: 25px;
        width: 25px;
        color: var(--white-color);
        z-index: 2;
    }
    .header .menu-icon-close {
        height: 25px;
        width: 25px;
        color: var(--white-color);
        z-index: 2;
        font-size: 30px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .header .logo {
        margin: 0 auto;
    }
    .header .header-icon{
        display: inline-block !important;
    }
    .header .navigation-wrap {
        position: fixed;
        flex-direction: column-reverse;
        width: 50% !important;
        background-color: var(--white-color);
        top: 70px;
        /* padding: 0.45rem 1rem; */
        border-radius: 0.65rem .65rem 0.45rem 0.45rem;
        z-index: 3;
        left: -50%;
    }
    .nav-open {
        left: 12px !important;
        transition: 0.3s;
    }
    .header-wrap .navigation {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0;
    }
    .header-wrap .navigation li {
        padding: 0.45rem 1rem 0.45rem 1rem !important;
        height: inherit;
        margin: 0;
    }
    .header-wrap .navigation li.active {
        border-bottom: none;
    }
    .header-wrap .navigation li a {
        color: var(--dark2-color) !important;
        margin-left: 5px;
    }
   
    .header a.user-wrap, .header button.user-wrap {
        padding: 0.8rem 1rem;
        background-color: var(--dark2-color);
        border-radius: 0.45rem 0.45rem 0 0;
    }

        .header a.user-wrap i, .header button.user-wrap i {
            position: fixed;
            right: 15px;
            top: 20px;
        }
    
    .body-overlay.show {
        background-color: #000000;
        opacity: 0.3;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1;
    }
    
   
    /* Header Css End */
   
    .login-page .background-img {
        background-image: none;
        width: inherit;
        height: inherit;
        margin-bottom: 30px;
    }
    section.login-page {
        background-color: var(--theme-color);
    }
    .login-page > .container-fluid > .row > .col-lg-4 {
        order: 2;
    }
    .LoginFormWrap {
        box-shadow: 0 0 3px #cccccc;
    }
    .login-page > .container-fluid > .row > .m-r--50 {
        margin-right: inherit !important;
    }
    .contract-wrap {
        flex-direction: column;
    }
    .contract-wrap .contract-list-wrap {
        width: 100%;
        border-right: none;
    }
    .contract-wrap .invoice-view-wrap {
        width: 100%;
    }
    }
@media only screen and (min-width: 480px) and (max-width: 576px){
    .dashboard-page .row .total-invoice-wrap,
    .dashboard-page .row .total-amount-wrap,
    .dashboard-page .row .due-amount-wrap,
    .dashboard-page .row .pending-contract-wrap{
        width: 50%;
    }
    .mi-card .mi-card-body {
        padding: 12px;
    }
    .dashboard-page .row .mi-card .card-left a {
        font-size: 14px !important;
    }
    .mi-card .card-right .icon-wrap {
        height: 40px;
        width: 40px;
        padding: 12px;
    }
    }
@media only screen and (min-width: 769px) and (max-width: 1024px){
    ...
    }
@media only screen and (min-width: 1025px) and (max-width: 1200px){
    ...
    }
@media only screen and (min-width: 1200px) {
    ...
    }
@media only screen and (max-width: 1100px) {
    .contract-wrap .contract-list-wrap {
        width: 100%;
        border-right: none;
        display: none
    }

    .contract-wrap .invoice-view-wrap {
        width: 100%;
        display: block;
    }
}