/* Mobile */
@media (max-width: 320px) {
    .mobi-logo img {
        width: 50%;
        height: auto;
    }

    .header .navbar-collapse {
        top: calc(120% - 73px);
    }
}
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 35px;
    }

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

    .h3, h3 {
        font-size: 25px;
    }

    .mobile-only-items {
        display: block;
    }

    .btn-primary {
        padding: 10px 20px;
        min-width: 170px!important;
    }

    .small-header {
        display: none;
    }

    .mobi-logo img {
        width: 80%;
        height: auto;
    }

    .navbar-light .navbar-toggler {
        color: #38443F;
        border-color: transparent;
    }

    .navbar-light .navbar-toggler i {
        font-weight: 400;
    }

    .header {
        padding: 10px 0;
    }

    .header .navbar-collapse {
        position: absolute;
        top: 133%;
        background-color: #fff;
        left: 0;
        right: 0;
        padding: 10px 15px 15px 15px;
        text-align: center;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
        /* max-height: 220px; */
        overflow-y: auto;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding-bottom: 0;
        border-bottom: transparent;
    }

    .header .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .header .navbar-light .navbar-nav .active>.nav-link, .header .navbar-light .navbar-nav .nav-link.active, .header .navbar-light .navbar-nav .nav-link.show, .header .navbar-light .navbar-nav .show>.nav-link {
        padding-bottom: 5px;
        display: inline-block;
        margin-bottom: 0;
    }

    .header-icons i {
        margin: 0 10px;
    }
   
    /* Home */
    .home-header .row {
        height: 500px;
        z-index: 427;
    }
    .overlay {
        top: -10%;
    }
    .home-header .card-img-top {
        width: 20%;
        margin-bottom: 20px;
    }
    .home-header .card-title {
        font-size: 30px;
    }
    .home-header br {
        display: none;
    }
    .home-header .card-body {
        padding: 0;
    }
    .our-products .card .btn-primary.dark-grn, .shop-page .card .btn-primary.dark-grn, .related-products .card .btn-primary.dark-grn {
        min-width: 150px!important;
    }
    .our-products .card-body, .shop-page .card-body, .related-products .card-body {
        padding: 10px;
        min-height: auto;
    }
    .carousel-control-next, .carousel-control-prev {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 15%;
        color: #000;
        text-align: center;
        opacity: 1;
        transition: opacity .15s ease;
    }
    .carousel-control-next i, .carousel-control-prev i {
        font-size: 35px;
    }
    .carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
        color: #000;
        opacity: 1;
    }
    .carousel-control-prev {
        left: 0px;
        text-align: left;
        justify-content: start;
    }
    .carousel-control-next {
        right: 0px;
        text-align: right;
        justify-content: end;
    }
    #filterModal .dropdown-menu {
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 15px;
        border: 0;
    }

    /* About page */
    .about img {
        margin: 20px 0;
    }

    /* Cart page */
    /* hide table headings */
    .table-responsive table thead {
        display: none;
    }

    /* .dashboard table.dataTable {
        padding: 0 15px;
    } */

    .cart-product-image img {
        width: 50%;
        height: auto;
        display: block;
        margin-left: auto;
    }

    .table-responsive td .input-group {
        width: 50%;
    }

    /* treat rows like divs */
    .table-responsive table tr {
        display: block;
        margin: 5px 0;
        border-bottom: 2px solid #636363;
    }

    /* treat columns like divs */
    .table-responsive table td {
        display: block;
        text-align: right;
        width: 100%;
        font-size: 15px;
        word-break: break-all;
    }

    .table-responsive table.dataTable tbody td {
        padding: 8px 0px;
    }

    .table-responsive table td:last-child, .table-responsive table tr:last-child {
        border-bottom: 0;
    }

    /* this part is ugly, but necessary to show label on left */
    .table-responsive table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        width: 50%;
        text-align: left;
    }

    .wishlist-table .table-actions, .cart-product-subtotal {
        border-bottom: 0!important;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer img {
        width: 90%;
        height: auto;
        float: none;
    }

    .footer-quick-links {
        display: none;
    }
}

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

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

    .btn-primary {
        padding: 10px 20px;
    }

    .btn-primary.dark-grn {
        min-width: 170px;
    }

    .btn-primary.btn-sm {
        min-width: 130px!important;
        max-width: 130px!important;
    }

    .mobile-only-items {
        display: block;
    }

    .small-header {
        display: none;
    }

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

    .navbar-light .navbar-toggler {
        color: #38443F;
        border-color: transparent;
        text-align: right;
    }

    .navbar-light .navbar-toggler i {
        font-weight: 400;
        font-size: 25px;
    }

    .header {
        padding: 10px 0;
    }

    .header .navbar-collapse {
        position: absolute;
        top: 128%;
        background-color: #fff;
        left: 0;
        right: 0;
        padding: 10px 15px;
        text-align: center;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
        max-height: 220px;
        overflow-y: auto;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding-bottom: 0;
        border-bottom: transparent;
    }

    .header .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .header .navbar-light .navbar-nav .active>.nav-link, .header .navbar-light .navbar-nav .nav-link.active, .header .navbar-light .navbar-nav .nav-link.show, .header .navbar-light .navbar-nav .show>.nav-link {
        padding-bottom: 5px;
        display: inline-block;
        margin-bottom: 0;
    }

    .header-icons i {
        margin: 0 10px;
    }

    /* Home */
    .home-header .row {
        height: 500px;
        z-index: 1;
    }

    .overlay {
        top: 0%;
    }

    #filterModal .modal-body .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 15rem;
        padding: 20px;
        margin: 0.125rem 0 0;
        font-size: 1rem;
        color: #212529;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 0.25rem;
    }

    .thumbnails {
        max-width: 330px;
        overflow-y: auto; 
    }

    .filter-select {
        width: inherit;
    }

    .table-action {
        margin: 0 5px;
    }

    table img {
        max-width: 40px;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer-quick-links {
        display: none;
    }

    .footer img {
        width: 100%;
        float: none;
        margin-top: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    h2, .h2 {
        font-size: 30px;
    }

    .btn-primary {
        padding: 15px 20px;
    }

    .our-products .card .btn-primary.dark-grn, .shop-page .card .btn-primary.dark-grn, .related-products .card .btn-primary.dark-grn {
        min-width: 160px!important;
        padding: 10px 20px;
    }

    .header .navbar-light .navbar-nav .active>.nav-link, .header .navbar-light .navbar-nav .nav-link.active, .header .navbar-light .navbar-nav .nav-link.show, .header .navbar-light .navbar-nav .show>.nav-link, .header .navbar-nav .nav-item .nav-link {
        padding-bottom: 10px;
        padding-top: 11px;
    }

    .header .nav-item {
        padding-left: 20px;
        padding-right: 0;
    }

    .home-header .row {
        height:500px;
    }

    .overlay {
        top: 0%;
    }

    .thumbnails {
        max-width: 400px;
        overflow-x: auto;
    }

    .table-action {
        margin: 0 10px;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px) {
    h1, .h1 {
        font-size: 40px;
    }

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

    .header .navbar-light .navbar-nav .active>.nav-link, .header .navbar-light .navbar-nav .nav-link.active, .header .navbar-light .navbar-nav .nav-link.show, .header .navbar-light .navbar-nav .show>.nav-link {
        padding-bottom: 10px;
        padding-top: 11px;
    }

    .home-header .row {
        height: 550px;
    }

    .home-header .card-img-top {
        width: 10%;
        margin-left: 15px;
    }

    .thumbnails {
        max-width: 450px;
        overflow-x: scroll;
    }

    .second-about-img img {
        width: 60%;
        height: auto;
    }

    .footer-blk img {
        width: 25%;
        height: auto;
    }
}

/* 14” HD Laptop */
@media (min-width: 1291px) and (max-width: 1600px) {

}