@media screen and (min-width:320px) and (max-width:767px) {
    
    .customer-bg .col-lg-3.col-md-3.col-sm-12 {
        order: 2;
    }
    .col-lg-9.col-md-9.col-sm-12 {
        order: 1;
    }
    .customer-sidebar {
        margin-bottom: 20px;
    }
    .pro_btn {
        grid-template-columns: 1fr;
    }
    .back-inner {
        background-color: #004aad;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .back-button {
        height: 100%;
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        cursor: pointer;
    }
    .related_ads_inner {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    section.latest-post {
        margin-top: 5px;
        border-top: 1px solid #ddd;
        padding-top: 15px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

   .list-product.big-ads .list-ad-image {
        height: 115px;
        width: 100%;
    }
    .list-ad-info strong {
        color: #008988;
        font-weight: 500;
    }
    .list-ad-info {
        padding: 5px;
    }
    .list-anchor {
        padding: 0px 0;
        display: inline-block;
    }
    .list-ad-info h5 {
        font-size: 15px;
        font-weight: 600;
    }
    .list-ad-image {
        height: 116px;
        width: 100%;
    }
   .list-product {
        width: 48%;
        display: inline;
        height: auto;
        overflow: hidden;
        position:relative;
    }
    .premium {
        position: absolute;
        right: 0;
        top: 0;
        background: #013968;
        color: #fff;
        padding: 0px 4px;
        border-bottom-left-radius: 3px;
        font-size: 12px;
        border-top-right-radius: 3px;
    }
    .advertisment .mads {
        margin: 15px 0;
        height: 400px;
        display: none;
    }
    .list-product {
        margin: 5px 0;
    }
  .list-product-area_adds {
        display: flex;
        flex-wrap: wrap;
        gap: 0 10px;
    }
    .list-ad-image img {
        height: 100%;
        width: 100%;
    }
    .list-ad-info p {
        margin-bottom: 5px;
        font-size: 13px;
    }
.list-product.big-ads {
    height: 250px;
}
    .header-top {
        display: none;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .live-chat {
        float: right;
        margin-top: -15px;
        margin-right: 13px;
    }

    .nav-icon {
        left: 10px !important;
        top: 22px !important;
    }

    .show-menu {
        left: 0 !important;
    }

    .fmobile-hide {
        display: none !important;
    }

    .header-top-left>ul {
        display: none;
    }

    .postsection {
        display: block !important;
    }

    .postsection a {
        padding: 5px 0 !important;
        font-weight: 600;
        font-size: 12px;
    }
    .home-page-modal h3 {
        font-size: 22px;
    }

    .banner-content {
        width: 350px;
        padding-top: 50px;
    }

    .home-banner {
        height: 160px;
    }

    .header-post-ads {
        display: none;
    }

    .live-chat {
        text-align: right;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .home-search {
        padding: 10px 0;
    }

    .cat-search {
        display: none;
    }

    .filter-and-search {
        padding-bottom: 15px;
    }

    .sidebar {
        border-right: 0px;
        display: none;
    }

    .hsearch-box .nice-select {
        margin-bottom: 10px
    }

    .search-keyword {
        margin-top: 0px;
        border-radius: 5px;
    }
    
    .search-keyword, .search-keyword:focus {
        width: 100%;
        height: 35px;
    }

    .single-footer-content {
        width: 100%;
        margin-top: 6px;
        float: none;
    }

    .single-footer-content ul li a {
        text-align: center;
    }

    .copyright p {
        text-align: center;
    }

    .postsection {
        padding: 0px 0;
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 9;
        background-color: #fff;
        height: 44px;
    }
    .nav-item-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .nav-item a i {
        display: block;
        font-size: 1rem;
    }
    .nav-item a span {
        font-size: 0.9rem;
    }
    .home-space {
        height: 55px;
    }

    .default-theme .nav-icon span {
        background: #013968;
        height: 3px;
    }

    .header-top-right {
        display: none;
    }

    .header-top-left ul li a {
        padding: 0 0;
    }

    .main-logo,
    .publish-ad {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .swipe-menu {
        height: 65px;
    }

    .mobile-menu .swipe-menu.default-theme {
        background: #fff;
    }

    .nav-icon {
        width: 24px;
        top: 15px;
    }

    .default-theme .codehim-nav {
        background: #fff;
        border: 2px solid #ddd;
        right: -500px;
        width: 300px;
        top: 67px;
    }

    .mobile-logout a {
        background: #013968;
        color: #fff !important;
        text-align: center;
        padding-left: 20px !important;
    }

    .mobile-signin a {
        text-align: right !important;
        color: #D66B0D !important;
    }

    .mobile-margin-top {
        margin-top: 65px;
    }

    .customer-phone {
        margin-top: 0;
    }

    .share-btn.desktop {
        display: none;
    }

    .share-btn.mobile {
        display: block;
    }

    .mobile-menu .codehim-nav ul li {
        display: block;
    }

    .mobile-menu .codehim-nav ul li span,
    .mobile-menu .codehim-nav ul li a {
        text-transform: capitalize;
        font-weight: 600;
    }

    .mobile-menu .codehim-nav ul li span:hover,
    .mobile-menu .codehim-nav ul li a:hover {
        background: #013968;
    }

    .mobile-postad {
        transition: 0.5s all;
        margin-right: 8px;
    }

    .mobile-logo {
        display: block !important;
    }

    .mobile-postad a {
        font-size: 12px;
        padding: 6px 10px;
        background: #013968;
        border: 1px solid #013968;
        color: #fff;
        font-weight: 600;
        border-radius: 50px;
        text-transform: capitalize;
        margin: 10px 8px;
        display: inline-block;
    }

    .header-top-left {
        text-align: center;
        padding: 16px 0;
        margin-top: 18px;
    }

    .main-header {
        padding: 0px 0;
    }

    .catad {
        text-align: center;
    }

    .hsearch-box select {
        margin-bottom: 0px;
    }
    
    .icon-input-field .input-field .form-control {
        padding: 0;
        font-size: 14px;
    }

    .browse-all {
        margin-top: 20px;
    }

    .advertisment .mads {
        text-align: center;
    }

    .counter-item {
        margin-bottom: 10px;
    }

    .flink .title {
        margin-top: 20px;
    }

    .tgoogle-ads {
        margin-bottom: 20px;
    }
    .live-chat li img {
        margin-top: 26px;
        height: 25px;
        margin-left: 10px;
    }
    .related_ads_item {
        padding: 5px;
    }
    .mobile-logo {
        display: block !important;
        top: 0;
        position: absolute;
        left: 50%;
        overflow: hidden;
        transform: translateX(-50%);
    }

    .home-banner-section {
        border-top: 1px solid #ddd;
        margin-top: 70px;
    }

    .mobile-logo img {
        width: auto;
        height: 73px !important;
    }

    .footer-about img {
        width: 50%;
        height: 90px;
    }

    .single-ads .ads-image {
        height: 215px;
        overflow: hidden;
    }

    .header-top-left ul {
        padding-bottom: 10px;
        border-left: 1px solid transparent;
        transition: 0.5s all;
        display: inline-block;
    }

    .sm-show {
        display: block;
    }

    .sm-hide {
        display: none;
    }

    .home-category-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .hsearch-box {
        padding: 5px;
        flex-wrap: wrap;
        row-gap: 5px;
        column-gap: 5px;
    }
    .home-search-item {
        width: 28%;
    }
    
    .icon-input-field {
        padding: 0px;
    }
    
    .home-search .col-sm-12 {
        padding: 0;
    }
    
    .home-search-submit {
        height: auto;
        width: 100%;
    }

    .search-submit {
        width: 100%;
        border-radius: 5px;
        height: 40px;
    }

}

@media screen and (min-width:320px) and (max-width:620px) {}

@media screen and (min-width:768px) {
    .mobile-details-back-menu {
        display: none;
    }
}


@media screen and (min-width:768px) and (max-width: 991px) {

    .header-top-left>ul {
        border-left: 1px solid transparent;
        display: none;
    }

    .mads {
        text-align: right;
    }

    .header-top-left ul {
        border-color: transparent;
    }

    .header-top-right {
        text-align: center;
        transition: 0.5s all;
        padding-bottom: 35px !important;
        padding-top: 0;
    }
}