/* Mobile */
@media (max-width: 767px) {
    .h1 {
        font-size: 30px;
        line-height: 35px;
    }

    h2 {
        font-size: 25px;
    }

    .xs-h-300 {
        height: 300px;
    }

    .l-blue-oulined {
        max-width: none;
    }

    .breadcrumbs p, .breadcrumbs a {
        font-size: 16px;
    }

    .btn-primary {
        min-width: 200px;
    }

    .register-pages .btn-primary {
        min-width: 200px;
    }

    .delivery-details-block .l-blue-oulined {
        max-width: 100px;
    }

    .logo {
        width: 60%;
        padding: 10px 0;
    }

    .logo img {
        width: 40%;
        height: auto;
    }

    .navbar .navbar-toggler {
        border-color: transparent;
        font-size: 25px;
        float: right;
        padding-top: 0;
        padding-right: 0;
    }
    
    .navbar-collapse {
        position: absolute;
        left: 0; 
        right: 0;
        top: 100%;
        margin: 0 auto;
        z-index: 9999999;
        text-align: center;
        background-color: #fff;
        padding: 10px 0;
        width: 100%!important;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link, .dropdown-menu a.dropdown-item {
        padding: 0px 20px!important;
        color: #153A5B;
        font-size: 15px;
        font-weight:400;
        line-height: 40px;
        display: inline-block;
    }

    .navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item .nav-link:focus, .navbar-nav .nav-item .nav-link:hover {
        color: #153A5B!important;
        line-height: 30px;
        padding: 0px!important;
        outline: none;
    }

    .navbar-nav {
        background-color: #fff;
    }

    header {
        background-color: #fff;
        z-index: 999;
    }

    dl {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Home  */
    .home-header {
        padding: 30px 15px;
    }

    .header-left {
        position: absolute;
        top: 20%;
        left: 0;
        max-width: none;
    }

    .left-blue {
        height: 400px;
    }

    .right-grey {
        display: none;
    }

    .brand-logos-home {
        padding: 5% 0;
        text-align: center;
    }

    .home-app-download img {
        width: 60%;
        height: auto;
    }

    .home-bottled, .home-services {
        padding: 8%;
    }

    .home-factory i {
        padding: 20px;
        font-size: 50px;
        width: 100px;
        height: 90px;
    }

    .factory-gallery {
        padding: 5% 0;
    }

    .card-footer {
        padding: 0 15px 15px 15px;
        background-color: transparent;
        border-top: 0;
    }

    .home-services .card-icon i {
        color: #8DC5FF;
        font-size: 30px;
        border: 2px solid #8DC5FF;
        border-radius: 100%;
        width: 80px;
        height: 80px;
        padding: 23px 15px;
        vertical-align: middle;
    }

    .home-services .card {
        text-align: center;
    }

    .home-services p.d-blue-txt:after {
        left: 0;
        right: 0;
        margin: auto;
    }

    .back-img {
        position: static;
        z-index: 999;
        width: 50%!important;
        display: inline-block;
        float: left;
    }
    
    .front-img {
        position: static;
        top: 0;
        left: auto;
        right: 0;
        width: 50%!important;
        display: inline-block;
        float: right;
    }

    /* Client dashboards */
    .nav-tabs .nav-item {
        margin-bottom: 0;
        padding: 0px 20px 15px 0;
    }

    .transactions-table td {
        line-height: 15px;
        font-weight: 400;
        font-size: 14px;
        min-width: 170px!important;
    }

    .table-responsive {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive::-webkit-scrollbar {
        height: 10px;
        width: 0.5em!important;
        border-radius: 50px;
    }
     
    .table-responsive::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
        height: 10px;
        background-color: transparent;
    }
     
    .table-responsive::-webkit-scrollbar-thumb {
        border-radius: 50px;
        background-color: #E4EBF2;
        outline: none;
        height: 10px;
    }

    .action-icons {
        text-align: left!important;
    }

    /* .qty {
        width: 100%;
        padding: 5px;
        max-width: none;
    } */

    .cart .media img {
        width: 100%;
    }

    .badge-blue {
        left: 33px;
        top: 18px;
        min-width: 100px;
    }

    .indv-prod-page-top .card {
        min-height: auto;
    }

    /* Footer */
    .footer-links a {
        display: block;
        line-height: 40px;
    }
    img.footer-logo {
        width: 50%;
        height: auto;
    }
}

/* Tablet & small screens: */
@media (min-width: 768px) and (max-width: 991px) {
    h1, .h1 {
        font-size: 35px;
        line-height: 40px;
    }

    .h2, h2 {
        font-size: 1.5rem;
    }

    br {
        display: none;
    }

    .h-500 {
        height: 300px;
    }

    .w-md-100 {
        width: 100%!important;
    }

    .logo img {
        width: 30%;
        height: auto;
        margin: 0;
    }

    .register-pages .btn-primary {
        min-width: 200px;
    }

    .btn-primary {
        min-width: 150px;
        max-width: none;
        width: auto;
    }

    .navbar .navbar-toggler {
        border-color: transparent;
        font-size: 25px;
        float: right;
        padding-top: 0!important;
        padding-right: 0;
        text-align: right;
        margin-left: auto;
    }

    .navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item .nav-link:focus, .navbar-nav .nav-item .nav-link:hover {
        color: #153A5B!important;
        line-height: 30px;
        padding: 0px!important;
        outline: none;
    }
    
    .navbar-nav,.navbar {
        width: 100%;
    }
    
    .navbar-collapse {
        display: table;
        margin-bottom: 0;
        list-style: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 138%;
        z-index: 9999999;
        text-align: center;
        background-color: #fff;
        padding: 10px 0;
        width: 100%!important;
        box-shadow: 0px 4px 6px rgba(0,0,0,.15)!important;
        padding: 10px 20px;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link, .dropdown-menu a.dropdown-item {
        padding: 0px 20px!important;
        color: #153A5B;
        font-size: 15px;
        font-weight:400;
        line-height: 40px;
        text-align: left;
        display: inline-block;
    }

    .navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item .nav-link:focus, .navbar-nav .nav-item .nav-link:hover {
        color: #153A5B!important;
        line-height: 40px;
        padding: 0px!important;
    }

    .navbar-nav {
        background-color: #fff;
    }

    .nav-tabs .nav-item {
        margin-bottom: 0;
        padding: 10px 20px 10px 0;
    }

    .orders-page .d-grey-oulined {
        min-width: 130px;
        max-width: 130px;
    }

    .badge-blue {
        left: 24px;
        top: 9px;
        padding: 7px;
    }
    
    .header-left {
        position: absolute;
        top: 18%;
        left: 4%;
        max-width:50%;
    }

    .home-app-download img {
        width: 80%;
        height: auto;
    }

    .home-header .right-grey {
        height: 400px;
    }

    .qty {
        vertical-align: top;
        width: auto;
        border: 3px solid #ececec;
        display: flex;
        padding: 7px;
        border-radius: 20px;
        max-width: 35%;
    }

    .home-services .card {
        min-height: 390px;
    }

    .qty-final {
        width: 80px;
        height: 25px;
    }

    .recurring-block .l-blue-oulined {
        width: auto;
        max-width: 90px;
        min-width: 90px;
    }
    
    .block1 .btn-primary, .block2 .btn-primary, .block3 .btn-primary {
        min-width: 150px;
    }

    .orders-page-blocks .block3 .btn-primary {
        min-width: 118px;
    }

    .block1, .block2, .block3 {
        min-height: 260px;
    }

    .block2 .media i {
        font-size: 40px;
        margin-right: 15px;
    }

    .block2 h2 {
        font-size: 20px;
    }

    .block3 h2 {
        font-size: 30px;
    }

    .table-responsive {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .transactions-table td {
        min-width: 160px;
    }

    .table-responsive::-webkit-scrollbar {
        height: 10px;
        width: 0.5em!important;
        border-radius: 50px;
    }
     
    .table-responsive::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
        height: 10px;
        background-color: transparent;
    }
     
    .table-responsive::-webkit-scrollbar-thumb {
        border-radius: 50px;
        background-color: #E4EBF2;
        outline: none;
        height: 10px;
    }

    .back-img {
        position: static;
        z-index: 999;
        width: 80%!important;
    }
    
    .front-img {
        position: static;
        top: 0;
        left: auto;
        right: 0;
        width: 80%;
    }

    .blogs .card-body {
        min-height: 130px;
    }

    .blog-post-page img {
        width: 80%;
        height: auto;
        margin-bottom: 20px;
    }

    .cart .media img {
        width: 100%;
    }

    .jconfirm.jconfirm-light .jconfirm-box, .jconfirm .jconfirm-box-container.jconfirm-no-transition {
        min-width: 360px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .topbar a {
        font-size: 15px;
    }

    .products .btn-primary {
        min-width: 150px;
    }

    .h-500, .h-400 {
        height: 300px;
    }

    .logo img {
        width: 30%;
        height: auto;
    }

    .qty {
        width: 41%;
        padding: 5px;
        max-width: 41%;
    }

    .h1 {
        font-size: 40px;
        line-height: 50px;
    }

    
    h2, .h2 {
        font-size: 30px!important;
        line-height: normal!important;
    }

    .l-blue-oulined {
        width: auto;
        /* max-width: 90px; */
        min-width: 100px;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 25px;
    }

    .right-grey {
        height: 450px;
    }

    #editAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 600px!important;
    }

    #addAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 600px!important;
    }

    .qty {
        width: 100%;
        max-width: 36%;
    }

    .nav-tabs .nav-item {
        padding: 10px 10px 10px 0;
    }

    .client-admin-nav .nav-tabs .nav-item {
        padding: 10px 20px 10px 0;
    }
    
    .block-heading {
        padding-bottom: 0;
        height: 60px;
    }

    .block1, .block2, .block3 {
        min-height: 300px;
    }

    .location .btn-primary, .orders-page-blocks .btn-primary {
        min-width: 140px;
    }

    .home-services .card-icon i {
        font-size: 30px;
        width: 70px;
        height: 70px;
    }

    .home-services p.d-blue-txt:after {
        top: 110%;
        left: 0;
    }

    .home-services p.d-blue-txt br {
        display: none;
    }

    .location i {
        font-size: 40px;
    }

    .orders-page .d-grey-oulined {
        min-width: 110px;
        max-width: 110px;
    }

    .badge-blue {
        left: 10px;
        top: 10px;
        min-width: 90px;
        padding: 10px 5px;
    }

    .home-app-download img {
        width: 60%;
        height: auto;
    }

    .front-img {
        position: absolute;
        top: -5%;
        left: auto;
        right: -7%;
    }

    .back-img {
        position: relative;
        z-index: -100;
        width: 55%!important;
        margin-left: -150px;
    }

    .cart .media img {
        width: 90%;
    }

    .blog-post-page img {
        width: 70%;
    }

    .orders-page P, .orders-page dd {
        font-size: 15px;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px) {
    .products .media .btn-primary {
        min-width: 145px;
    }

    .h1 {
        font-size: 50px;
        line-height: 55px;
    }
    
    .logo img {
        width: 45%;
        height: auto;
    }

    .header-left {
        position: absolute;
        top: 21%;
        left: 3%;
        max-width: 40%;
    }

    .l-blue-oulined {
        width: auto;
        /* max-width: 100px; */
        min-width: 100px;
    }

    .block2 {
        min-height: 230px;
    }

    .qty {
        min-width: 30%;
    }

    .cart .media img {
        width: 100%;
    }

    .blog-post-page img {
        width: 60%;
    }

    #editAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 700px!important;
    }

    #addAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 700px!important;
    }
}
@media (min-width: 1291px) and (max-width: 1400px) {
    .right-grey {
        height: 500px;
    }

    .home-services .card-icon i {
        font-size: 40px;
        width: 80px;
        height: 80px;
        padding: 15px 15px;
    }

    .h-500, .h-400 {
        height: 200px;
    }

    .cart .media img {
        width: 100%;
    }

    .block2 {
        min-height: 265px;
    }

    #editAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 500px!important;
    }
    
    #addAddressModal .modal-body {
        overflow-y: scroll!important;
        max-height: 500px!important;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .front-img {
        position: absolute;
        top: -7%;
        left: auto;
        right: -10%;
    }.cart .media img

    .qty {
        width: 110px;
    }

    .blog-post-page img {
        width: 60%;
    }

    .cart .media img {
        width: 100%;
    }

    .block2 {
        min-height: 265px;
    }
}