@media only screen and (max-width: 961px) {
    ul.first-level-menu {
        background: var(--primary-color) !;
    }

    .row.mobile-row div#left-column,
    body#best-sales .row.mobile-row .left-column,
    #category .row.mobile-row .container-right-block,
    body#best-sales .row.mobile-row .container-right-block {
        padding: 1rem 3.5rem !important;
    }

    div#search_filter_controls {
        display: none;
    }

    th.fixed-side {
        position: inherit;
        min-width: 200px;
        max-width: 200px;
    }

    #category table.js-product-miniature-wrapper.col-12 thead tr th:nth-child(1),
    #category table.js-product-miniature-wrapper.col-12 tbody tr td:nth-child(1),
    table.js-product-miniature-wrapper.col-12.product_list_table__view thead tr th:nth-child(1),
    table.js-product-miniature-wrapper.col-12.product_list_table__view tbody tr td:nth-child(1) {
        min-width: 200px;
        max-width: 200px;
    }

    .d-flex.align-items-center.table-product-image-details {
        flex-direction: column;
    }

    .table-product-image-details>div {
        width: auto;
    }

    #category .input-group-add-cart,
    #best-sales .input-group-add-cart,
    #prices-drop .input-group-add-cart,
    #module-iqitsearch-searchiqit .input-group-add-cart {
        flex-direction: column;
    }

    #category .input-group.bootstrap-touchspin,
    #module-iqitsearch-searchiqit .input-group.bootstrap-touchspin,
    #best-sales .input-group.bootstrap-touchspin {
        width: 100%;
    }

    #category .input-group-add-cart button.btn.btn-product-list.add-to-cart,
    #module-iqitsearch-searchiqit .input-group-add-cart button.btn.btn-product-list.add-to-cart,
    #best-sales .input-group-add-cart button.btn.btn-product-list.add-to-cart,
    #prices-drop .input-group-add-cart button.btn.btn-product-list.add-to-cart {
        width: 100%;
    }

    a.ajax_add_to_quote_cart_button.btn.btn-primary:not(#product a.ajax_add_to_quote_cart_button.btn.btn-primary) {
        width: 100%;
    }

    .custom_header_c3 {
        overflow: hidden;
        height: 100px;
    }

    img.custom_header_c4 {
        width: auto;
    }

    .custom_header_c5 {
        gap: 10px;
    }

    .custom_header_c6 img {
        width: 55px;
    }

    h2.custom_header_c8 {
        font-size: 15px;
        line-height: inherit;
    }

    p.custom_header_c10 {
        font-size: 14px;
        margin: 0;
        line-height: inherit;
    }

    span.dashboardtext.linkclass,
    #identity div#personal-information h2,
    #identity h2.has-section-titles,
    h1.dashboard_title_c2 {
        font-size: 20px;
        line-height: inherit;
    }

    #my-account h2.has-section-titles {
        font-size: 19px;
    }

    #my-account .credit-title {
        font-size: 15px;
    }

    #my-account .credit-title span {
        font-size: 12px;
    }

    .filter_quotes_c2,
    .filter_quotes_c3,
    .filter_quotes_c4 {
        width: 100%;
    }

    form.align-items-center.filter_quotes_c1 {
        gap: 0px;
    }

    .actions_button.track_order_filter_c5.filter_quotes_c5 {
        margin-top: 20px;
    }

    .orders.hidden-md-up {
        display: none;
    }

    .modal.show .modal-content {
        transform: scale(0.9);
    }

    .modal-content {
        min-height: auto;
    }

    .ht_cart_c10 .modal-footer button {
        width: auto;
        flex-basis: 100%;
    }

    #module-askforaquote-SavedQuotes .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
    #module-askforaquote-SavedQuotes .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
        padding: 10px 0;
    }

    #checkout b.step_add_c10 {
        font-size: 14px;
    }

    #checkout .close-view-item .title {
        font-size: 14px;
        margin-top: 5px;
    }

    #checkout .card-body.row.step_add_c6 {
        align-items: flex-start;
    }

    body#checkout #checkout-payment-step {
        padding: 0 15px;
    }

    body#checkout section.checkout-step .payment-options .payment-option label {
        max-width: 100%;
    }

    body#checkout .ht_cart_c12 .modal-footer,
    .ht_cart_c11 .modal-footer {
        flex-direction: column;
    }

    body#checkout .ht_cart_c12 .modal-footer button,
    .ht_cart_c11 .modal-footer button {
        width: 100%;
        flex-basis: 100%;
    }
    #product-modal.fade .modal-dialog {
        transform: translateY(0);
    }
    .r_policy_c3 {
        margin-left: 0;
    }
    .r_policy_c1 {
        width: auto;
    }
    p.MsoNormal.r_policy_c3 {
        display: flex;
        gap: 3px;
    }
    #cms div#inner-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1100px) {
    .col.col-auto.col-header-left{
        width: 25%;
    }
    .iqit-search-header {
        flex: 0 0 33%;
    }

    ul.header-top-menu.yyy li.products-link a {
        font-size: 12px !important;
    }
    ul.header-top-menu.yyy li.products-link {
        width: 125px;
    }
    ul.header-top-menu.yyy li a {
        font-size: 14px !important;
    }
    .search_home_c3 input.form-control.form-search-control::placeholder {
        font-size: 10px !important;
    }
    .signup_login_c2 a {
        font-size: 14px;
    }
    .listing_page_c1 a.btn.btn-primary.addtoquote_guest {
        width: 40.33%;
    }

    .contact-us .has-block--contact-info:nth-child(3) {
        height: 113px;
    }
    #password form.form-inline.f_pass_c10 {
        justify-content: center;
    }
    #search_widget .autocomplete-suggestions .row.no-gutters.align-items-center {
        display: flex;
    }
    #search_widget .autocomplete-suggestions .col.pt-3.pb-3 {
        width: 100%;
    }

   
}
@media only screen and (min-width: 900px) and (max-width: 1300px) {
    .close-view-item .title{
        width: 70%;
    }
}
@media only screen and (min-width: 999px) and (max-width: 1100px) {
    .login-check li.cbp-hrsub-level1.menu-visit ul.cbp-links.cbp-valinks {
        left: 600px;
    }
    #iqitmegamenu-horizontal {
        left: 215px; 
    }
    li.cbp-hrsub-level1 ul.cbp-links.cbp-valinks {
        left: 731px;
    }
}
@media only screen and (min-width: 900px) and (max-width: 1086px) {
    .row.align-items-md-center.justify-content-md-between.sign_dashboard_c6 {
        flex-direction: column-reverse;
    }

    .contact-us .has-block--contact-info:nth-child(3) {
        height: 113px;
    }

}

@media only screen and (min-width: 900px) and (max-width: 1280px) {
    .products-main-price.list_page_p_price_details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* grid-template-rows: 1fr 1fr; */
    }
    .products-main-price.list_page_p_price_details span.current-price:nth-child(odd){
        border: none;
    }
    span.current-price.packet_details_c1 {
        align-items: self-start;
    }
}
@media only screen and (min-width: 1500px) and (max-width: 1920px) {
    .homeslider .caption {
        top: 48%;
    }
}