/* Mobile landscape */
@media (min-width: 320px) and (max-width: 370px) {
    .home-header h1>span:after {
        display: none;
    }

    header .dropdown-menu-lg-right {
        right: -27px!important;
        left: auto;
        top: 116%;
        min-width: 310px;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
    }

    .dashboard-header .nav-link {
        padding: 15px 5px;
    }
}

@media (min-width: 376px) and (max-width: 667px) {
    header .dropdown-menu-lg-right {
        right: auto!important;
        left: auto!important;
        top: 145%!important;
        min-width: 345px!important;
        max-width: 400px!important;
        width: auto!important;
        max-height: 71vh!important;
        overflow-y: scroll;
    }

    .logo img {
        width: 80%!important;
    }

    .home-header {
        padding: 10% 5%;
    }

    .home-header br {
        display: none;
    }
}
/* Mobile */
@media (max-width: 767px) {

    #what-is-use-less {
        margin-top:5px;
        margin-bottom:25px;
    }

    header .collapse:not(.show) {
        display: block;
    }

    header .dropdown-menu-lg-right {
        right: -16px!important;
        left: auto;
        top: 116%;
        min-width: 340px;
        width: 100%;
        max-height: 89vh;
        overflow-y: auto;
    }

    header .dropdown-item {
        display: block;
        width: 80%;
        padding: 10px 0;
        clear: both;
        font-weight: 500;
        color: #1D1D1B;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        font-size: 16px;
    }

    header .dropdown-menu a>i {
        font-size: 30px;
    }

    header .dropdown .menu-icon {
        text-transform: none;
        background-color: transparent;
        border: 0;
        font-size: 25px;
        vertical-align: middle;
        line-height: 40px;
        width: auto;
        margin-left: 10px;
    }

    header .dropdown-item a {
        color: #1D1D1B;
    }

    header .form-inline .form-control {
        display: inline-block;
        width: 85%!important;
        vertical-align: middle;
    }

    header .dropdown .btn-outline-success {
        width: 40px;
        margin: 0 -5px;
    }

    header .dropdown-item.active, header .dropdown-item:active {
        font-weight: 600;
    }

    .btn-primary a {
        width: auto!important;
        font-size: 13px;
    }

    header .navbar-collapse .btn-primary {
        padding: 10px!important;
        min-width: 170px;
        text-align: center;
        font-size: 13px;
    }

    .btn-primary {
        padding: 10px 25px!important;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        width: 100%;
        height: auto;
        float: left;
    }

    .h1, h1 {
        font-size: 30px;
        font-weight: 600;
    }

    h2, h2 {
        font-size: 25px;
        font-weight: 600;
    }

    .h4, h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 15px;
    }

    #step3Modal2 {
        position: fixed;
        top: 70px;
        left: 0;
        z-index: 1050;
        display: none;
        width: 100%;
        height: 88%;
        overflow: hidden;
        outline: 0;
    }

    .modal-title {
        margin-bottom: 0;
        line-height: 1.5;
        font-size: 20px;
    }

    /* Fancybox */
    .fancybox-container {
        height: 95%;
        top: 60px;
        z-index: 99999999;
    }

    #loginRegister h3 {
        font-size: 20px;
    }

    .home-header h1>span:after {
        width: 130px;
        position: absolute;
        top: 100%;
        left: 0px;
        right: 0;
    }

    .card-block .card {
        min-height: 180px;
    }

    .card-block i {
        height: 80px;
        width: 80px;
        font-size: 50px;
        line-height: 70px;
    }

    .card-block {
        margin-top: -40px;
    }

    .card-text {
        min-height: 30px;
    }

    .home-cat-slides h2 {
        line-height: 30px;
        font-size: 25px;
        margin-bottom: 30px;
    }

    .home-cat-slides .customize-tools .controls li i {
        color: #000;
    }

    .customize-tools .controls {
        top: 100%;
        z-index: 999999;
    }

    .customize-tools .controls li i {
        font-size: 25px;
        width: auto;
        height: 40px;
    }

    .customize-tools .controls .prev {
        left: 35%;
    }

    .customize-tools .controls .next {
        right: 35%;
    }

    .home-page .become-member .customize-tools {
        display: none;
    }

    .how-it-works .card p>strong {
        font-size: 18px;
    }

    .how-it-works .label {
        height: 30px;
        width: 220px;
        margin: 40px 0;
    }

    .how-it-works .label .ball {
        height: 30px;
        width: 120px;
    }

    .how-it-works .label .left-btn {
        padding: 0 30px;
        font-size: 15px;
    }

    .how-it-works .checkbox:checked + .label .ball {
        transform: translateX(100px);
    }

    /* .how-it-works .card-img-top {
        width: 40%;
    } */

    .product-block .card-title {
        margin: .75rem 0;
        font-size: 18px;
        font-weight: 700;
    }

    .home-page .become-member {
        background-image: none;
    }

    .home-page .become-member h2, .home-page .become-member p {
        color: #000!important;
    }

    .home-page .become-member .card h3 {
        font-weight: 700;
        font-size: 25px;
    }

    /* About page */
    .about-page .home-header {
        padding: 30px 0;
        min-height: 200px;
    }

    .about-page .home-header p {
        bottom: 0;
    }

    .about .card-title {
        font-size: 15px;
        line-height: 20px;
    }

    .about .card-1 .card-img-overlay {
        top: 40%;
        right: 5%;
        padding: 0;
    }

    .about .card-2 .card-img-overlay {
        top: 3%;
        right: 2%;
        left: 5%;
    }

    .sp-text {
        min-height: 380px;
    }

    /* Product pages */
    .profile-pic {
        width: 100%;
    }

    .image .profile-pic {
        width: 70%;
    }    
    
    .search-results-page .media img {
        width: 50%!important;
    }

    .custom-select {
        min-width: 250px!important;
        width: 100%;
    }

    .price {
        font-size: 20px!important;
    }
    
    .product-list .media p {
        margin-bottom: 0;
    }

    .pagination-sm .page-link, .pagination-sm .page-item:last-child .page-link {
        padding: 5px 13px;
        font-size: 15px;
        margin: 5px;
    }

    .product h3 {
        font-size: 21px;
    }

    .categories-sidebar i {
        font-size: 20px;
        vertical-align: middle;
        line-height: 25px;
    }

    /* Dashboard pages */
    .dashboard-header .nav-link {
        display: block;
        padding: 15px 10px;
        color: #B7B7B7;
        font-size: 13px;
    }

    .my-listings .badge {
        top: 8px;
        left: 15%;
        right: 1rem;
    }

    .visa i {
        font-size: 35px;
    }

    .become-member .card .ts-cs-txt {
        left: 20px;
    }

    .login-page {
        min-height: 52vh;
        padding: 3% 0;
    }

    .contact-page {
        min-height: 52vh;
        padding: 3% 0;
    }

    .hover-delete-icon {
        opacity: 1;
    }

    .uploaded-photos .col i {
        font-size: 40px;
    }

    .checkbox input[type="checkbox"] + label:before {
        width: 1.4rem;
        height: 1rem;
    }

    .table.invoice-history-table {
        width: 500px;
        overflow-x: scroll;
    }

    .my-membership .card {
        min-height: 200px;
        height: auto;
    }

    .table.invoice-history-table i {
        font-size: 30px;
        float: right;
    }

    .table.invoice-history-table::-webkit-scrollbar {
        width: 0.4em;
        border-radius: 5px;
    }
       
    .table.invoice-history-table::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        width: 1em;
        border-radius: 5px;
        margin-top: 10px;
    }
    
    .table.invoice-history-table::-webkit-scrollbar-thumb {
        background-color: #b7d3024d;
        outline: none;
        border-radius: 5px;
    }

    .dropzone {
        padding: 40px 20px 0px 20px!important;
    }

    .add-listings .h5 {
        font-size: 30px;
    }

    .listingInformation .image {
        display: inline-block;
        width: 100%;
    }

    .grid-square input {
        width: auto;
        max-width: 300px;
        padding: 5px;
    }
    /* footer */
    footer .payment-logos img {
        width: 80%!important;
    }
    
    footer img {
        width: 50%;
        height: auto;
    }

    footer p, footer a {
        font-size: 14px;
        line-height: normal;
        font-weight: 500;
    }
}

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

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

    .h3, h3 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 15px;
    }

    .btn-primary {
        padding: 10px 15px!important;
    }

    header .collapse:not(.show) {
        display: block;
    }

    header .dropdown-menu-lg-right {
        right: -24px;
        left: auto;
        height: auto;
        top: 114%;
        width: auto;
    }

    header .dropdown-menu a>i {
        font-size: 30px;
    }

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

    header .form-inline .form-control {
        width: 80%!important;
    }

    header .btn-outline-success {
        width: 20%;
    }

    header .dropdown button {
        font-size: 25px;
        vertical-align: middle;
        line-height: 46px;
        width: 10px;
        margin-left: 0px;
    }

    header .navbar {
        padding: .5rem 0;
    }

    header .dropdown .menu-icon {
        line-height: 50px;
    }

    header .navbar-collapse .nav-item {
        min-width: 130px;
        text-align: center;
    }

    header .navbar-collapse .btn-primary a {
        width: 90px;
        font-size: 13px;
    }

    /* Home page */
    .home-header h1>span:after {
        width: 200px;
    }

    .card-section .card-block {
        margin-top: -40px;
    }

    .card-section .card-block i {
        vertical-align: middle;
        height: 100px;
        width: 100px;
        text-align: center;
        font-size: 60px;
        line-height: 70px;
    }

    .customize-tools .controls .next {
        right: -4%;
    }

    .customize-tools .controls .prev {
        left: -3%;
    }

    .home-cat-slides .customize-tools .controls .next {
        right: -2%;
    }

    .home-cat-slides .customize-tools .controls .prev {
        left: 0%;
    }

    .home-cat-slides .customize-tools .controls li i {
        color: #000;
    }

    .customize-tools .controls li {
        padding: 0;
    }

    .customize-tools .controls li i {
        font-size: 25px;
        width: auto;
        height: auto;
    }

    .how-it-works .card-img-top {
        width: 60%;
        margin-bottom: 20px;
    }

    .how-it-works .label .ball , .how-it-works .label{
        height: 30px;
    }

    .about .card-1 .card-img-overlay {
        top: 40%;
    }

    .about .card-2 .card-img-overlay {
        top: 15%;
    }

    .sp-text {
        min-height: 100px;
    }

    .media-icon-left {
        font-size: 40px;
    }

    .form-inline .custom-select, .form-inline .input-group {
        width: 80%;
    }

    .custom-file {
        width: 180px;
    }

    .custom-file-label {
        padding: 6px 0;
    }

    .my-listings .badge {
        min-width: 160px;
    }

    .uploaded-photos .col i {
        font-size: 40px;
    }

    .hover-delete-icon {
        opacity: 1;
    }

    .contact-page {
        min-height: 59vh;
        padding: 3% 0;
    }

    .visa i {
        font-size: 25px;
    }

    .checkbox input[type="checkbox"] + label:before {
        width: 1.5rem;
        height: 1rem;
    }

    .search-results-page .other-header .media img {
        width: 25%!important;
        margin-right: 40px!important;
    }

    .my-membership .card {
        min-height: 200px;
        height: auto;
    }

    /* Footer */
    footer img {
        width: 25%;
        height: auto;
    }

    footer .payment-logos img {
        width: 70%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .h1, h1 {
        font-size: 45px;
        font-weight: 600;
    }

    header .form-inline .form-control {
        width: 85%!important;
    }

    header .btn-outline-success {
        width: 15%;
    }

    header .dropdown-menu-lg-right {
        right: -48px;
        left: auto;
        top: 150%;
    }

    header .dropdown button {
        width: auto;
    }

    .home-header h1>span:after {
        width: 195px;
    }

    header .navbar-collapse .nav-item {
        min-width: 150px;
    }

    .product-list .media img {
        width: 50%;
    }

    .card-block {
        margin-top: -60px;
    }

    .card-block i {
        vertical-align: middle;
        height: 100px;
        width: 100px;
        text-align: center;
        font-size: 60px;
        line-height: 60px;
    }

    .customize-tools .controls li i {
        font-size: 25px;
    }

    .customize-tools .controls .next {
        right: -3%;
        padding: 0;
    }

    .customize-tools .controls .prev {
        left: -3%;
        padding: 0;
    }

    .how-it-works .label .left-btn {
        padding: 0 35px;
    }

    .how-it-works .label .right-btn {
        padding: 10px;
        width: 100px;
    }

    .how-it-works .label .ball {
        width: 130px;
    }

    .about .card-img-overlay {
        top: 40%;
    }

    .about .card-1 .card-img-overlay {
        top: 25%;
    }

    .about .card-2 .card-img-overlay {
        top: 5%;
        right: 3%;
        left: 5%;
    }
    
    .about .card-title {
        font-size: 16px;
        line-height: 25px;
    }

    .about .card-body {
        padding: 0;
    }

    .media-icon-left {
        font-size: 40px;
    }

    .product-block .card-title, .product-block .card-text, .product-block .view-details-btn {
        font-size: 14px;
    }

    .custom-file {
        width: 180px;
    }

    .my-listings .badge {
        min-width: 160px;
    }

    .become-member-slide .card {
        min-height: 720px;
    }

    .sp-text {
        min-height: 250px;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px) {
    .card-block {
        margin-top: -60px;
    }

    header .dropdown-menu-lg-right {
        right: -113px;
        left: auto;
        top: 170%;
        min-width: 300px;
    }

    header .navbar-collapse .nav-item {
        min-width: 140px;
        text-align: center;
    }

    header .form-inline .form-control {
        width: 470px!important;
    }

    .customize-tools .controls li i {
        font-size: 25px;
    }

    .customize-tools .controls .next {
        right: -2.5%;
        z-index: 999;
        position: absolute;
    }

    .customize-tools .controls .prev {
        left: -2%;
        z-index: 999999999;
        position: absolute;
    }

    .customize-tools .controls li {
        padding: 0;
    }

    .about .card-img-overlay {
        position: absolute;
        top: 60%;
    }

    .about .card-1 .card-img-overlay {
        position: absolute;
        top: 50%;
        right: 5%;
        bottom: auto;
        left: 5%;
        padding: 0;
    }

    .about .card-2 .card-img-overlay {
        position: absolute;
        top: 30%;
        right: 5%;
        bottom: auto;
        left: 5%;
        padding: 0;
    }

    .about .card-title {
        font-size: 25px;
    }

    .fancybox-image {
        height: auto;
        width: 80%;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .customize-tools .controls .next {
        right: -5%;
        z-index: 999;
        position: absolute;
    }

    .customize-tools .controls .prev {
        left: -5%;
        z-index: 999999999;
        position: absolute;
    }
}