@media only screen and (max-width: 1200px) {
    .bsi-left-section {
        width: 660px;
        flex-basis: 660px;
    }

    .bsi-right-section {
        width: calc(100% - 660px);
        flex-basis: calc(100% - 660px);
        padding-left: 30px;
    }

    .qm-attached {
        padding-left: 30px;
    }

    .order-main-info {
        display: block;
    }

    .account-page-modal {
        width: auto;
    }

    .order-main-info .order-number-input {
        border-radius: 0;
        right: auto;
    }
    .order-main-info .order-number-input, .get-order-info {
        display: block;
        margin: 0 auto 1em;
    }

    .price-info-container {
        min-width: auto;
    }
}

@media only screen and (max-width: 993px) {

    .bsi-left-section {
        width: 100%;
        flex-basis: 100%;
    }

    .bsi-right-section {
        display: none;
        width: 0;
    }

    .home-features-item.blog-item,
    .q-sc--item.blog-item {
        width: calc(100% / 2 - 22px);
        margin: 0 11px 11px;
    }

    .home-features-item.blog-item.l-blog-item--big,
    .q-sc--item.blog-item.l-blog-item--big {
        width: calc(100% - 22px);
    }

    .home-features-item.blog-item.l-blog-item--big > a,
    .q-sc--item.blog-item.l-blog-item--big > a {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .home-features-item.blog-item.l-blog-item--big .blog-item__innen,
    .q-sc--item.blog-item.l-blog-item--big .blog-item__innen {
        position: relative;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (max-width: 768px) {
    .blog-items__wrapper {
        margin: 0;
    }

    .account-page-header {
        padding: 85px 0 30px;
    }
    .account-page-title, .account-page-sub-title {
        font-size: 30px;
    }

    .account-page-desc {
        font-size: 17px;
    }

    .blog-item__meta-wrap {
        flex-wrap: wrap;
    }

    .blog-related-items .blog-item {
        width: calc(100% / 2 - 22px);
        margin: 0 11px 11px;
    }

    .blog-related-items .blog-item:nth-child(3) {
        display: none;
    }

    .woocommerce-tabs ul.tabs, .nav.nav-tabs {
        border: none !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    body.woocommerce #content div.product .woocommerce-tabs ul.tabs li,
    body.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li,
    body.woocommerce #content div.product .products-tabs-wrapper .nav.nav-tabs li {
        background: #f7f7f7;
        border: 1px solid #d4d4d4;
        border-radius: 2px;
        width: 48%;
        margin: 1% 1%;
    }
    body.woocommerce #content div.product .products-tabs-wrapper .nav.nav-tabs li {
        width: 70%;
    }

    body.woocommerce #content div.product .woocommerce-tabs ul.tabs li.active,
    body.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li.active,
    body.woocommerce #content div.product .products-tabs-wrapper .nav.nav-tabs li.active {
        border: 1px solid #f23534;
    }

    body.woocommerce #content div.product .woocommerce-tabs ul.tabs li a,
    body.woocommerce-page #content div.product.type-product .woocommerce-tabs ul.tabs li a,
    body.woocommerce-page #content div.product .nav.nav-tabs li a,
    body.woocommerce #content div.product .products-tabs-wrapper .nav.nav-tabs li a {
        padding: 15px 15px 10px 15px;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        height: 100%;
        align-items: center;
    }

    .qm-tab-counter {
        right: 5px;
        top: 5px;
    }

    .single-product .single-image-wrapp {
        padding: 0 10px;
    }

    .swal-modal.product-added {
        width: calc(100% - 20px);
    }

    .swal-modal.product-added .row {
        flex-wrap: wrap;
    }

    .swal-modal.product-added .modal-price {
        text-align: center;
    }

    .swal-modal.product-added .modal-p-title {
        font-size: 15px;
        margin: 0;
    }

    .swal-modal.product-added p {
        font-size: 12px;
        line-height: 1.2em;
    }

    .swal-modal.product-added .swal-footer {
        flex-wrap: wrap;
    }

    .swal-modal.product-added .swal-button-container {
        width: 100%;
    }

    .hot-buttons-wrap {
        flex-wrap: wrap;
    }

    .hot-buttons-wrap li {
        width: 48%;
        margin: 1%;
        align-self: center;
    }

    li.quick-order-wrap {
        margin-right: 0;
        width: 98%;
        flex-grow: inherit;
    }

    .button_prod_wishlist span, .button_prod_compare span {
        position: relative;
        z-index: 2;
        left: auto;
        width: auto;
        color: black;
        background: transparent;
        border-radius: 0;
        border: 0;
        padding: 5px 0 4px;
        line-height: 1em;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        opacity: 1;
        visibility: visible;
        top: auto;
        box-shadow: none;
        transition: none;
    }

    .button_prod_wishlist:hover span, .button_prod_compare:hover span {
        top: unset;
        box-shadow: none;
    }

    .hot-buttons-wrap a {
        text-decoration: none;
    }

    .button_prod_wishlist, .button_prod_compare {
        background: transparent;
        border: none;
    }

    .button_prod_wishlist span:after, .button_prod_compare span:after {
        display: none;
    }

    body .pp_woocommerce .quantity, body.woocommerce #content .quantity, body.woocommerce-page #content .quantity {
        overflow: hidden;
    }

    .price-note {
        border: 0;
        padding: 0;
        margin: 1em;
    }

    .qmax-collections {
        width: 100%;
        clear: both;
        margin: 1em 0 0;
        display: inline-block;
    }

    .mobile-top-icons .fancy-icons {
        justify-content: space-around;
        border-top: 1px solid #e8e8e8;
        padding-top: 1em;
    }

    .collections-wrap li .base-img-container {
        height: 50px;
        width: 50px;
    }

    .single-product .collections-wrap li:nth-child(10n) {
        margin-right: 10px;
    }


    .scheme-step .s-bg {
        display: none;
    }

    .scheme-step {
        font-size: 27px;
        line-height: 50px;
        margin: -25px 0 0 -15px;
        height: 100%;
        text-align: center;
        width: 50px;
        position: absolute;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f2f2f2;
    }

    .scheme-name, .scheme-text {
        margin-left: 50px;
    }
    .scheme-name {
        margin-top: 0;
    }
    .scheme-item {
        padding: 25px 25px 20px;
    }
    .scheme-text > p {
        font-size: 16px;
        line-height: 1.25em;
        margin: .5em 0 1em;
    }
    .scheme-item:nth-child(even):before {
        background: #f2f2f2;
    }
    .scheme-chevron {
        display: none;
    }
    .scheme-step .s-txt {
        font-family: "Avenir Next",sans-serif;
        font-size: 50px;
    }

    .scheme-item:nth-child(even) .scheme-step {
        background: #ffffff;
    }

    .phone-header-wrap {
        text-align: inherit;
    }

    .woocommerce ul.products:not(.owl-carousel) {
        grid-template-columns: 1fr;
    }
    #product_related_prev {
        left: 0.5em;
        z-index: 9;
    }
    #product_related_next {
        right: 0.5em;
        z-index: 9;
    }

    body .owl-theme.footer-reviews-slider .owl-controls {
        display: block;
    }
    .footer-main-menu {
        margin: 1em 0;
    }
    .footer-shop-contact-info {
        text-align: center;
    }
    #footer .footer-front {
        background-size: auto;
        background-repeat-y: no-repeat;
        background-color: #242932;
        padding: 20px 0;
    }
    .shop-actions-wrap {
        display: flex;
        padding: 0;
        width: 100%;
        float: none;
        justify-content: space-around;
        align-items: center;
        margin: 0;
    }
    .right-header-middle-content {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        padding: 10px 15px;;
        position: fixed;
        box-shadow: 0 5px 10px #e4e4e4;
        width: 100%;
        margin: 0;
    }
    .shopping-cart .cart_text {
        display: none;
    }
    .mobile-logo .logo {
        max-width: 65px;
        margin: 0;
        padding: 0;
    }

    .mobile-logo .logo img {
        margin: 0;
    }
    .header-middle-content > .row {
        display: flex;
        flex-wrap: wrap;
    }
    .header-middle-content .left-header-middle-content {
        width: 100%;
        order: 2;
        margin-top: 4.5em;
    }
    .header-middle-content .middle-header-middle-content {
        order: 3;
        width: 100%;
        padding: 0;
        margin: 0;
        float: none;
    }
    .header-middle-content .header_search {
        display: none;
    }
    .header-phone {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2em;
    }
    .left-header-middle-content .header-logo {
        width: 50%;
        text-align: center;
    }
    .left-header-middle-content .header-logo-slogan {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .middle-header-middle-content .header-phone p {
        width: 50%;
        text-align: center;
    }
    .header-middle-content {
        padding: 0;
    }
    .qmax_menu, .mobile-search-trigger {
        font-size: 22px;
        cursor: pointer;
    }
    .shop-actions-wrap .sa-item {
        padding: 0.5em 1em;
        background: white;
        border: 2px solid #e7e7e7;
    }
    .mobile-search-trigger {
        padding: 0.3em 0.75em;
        background: white;
        border: 2px solid #e7e7e7;
    }
    .wd_tini_cart_control {
        text-align: center;
    }
    .sa-item.has-num:before, .sa-item.has-successful-added:before {
        bottom: -.85em;
    }
    .shop-actions-wrap .widget_qmax_products {
        top: 3.25em;
    }
    .cart_dropdown.drop_down_container {
        top: 4em;
    }
    .wd_tini_cart_control:before {
        bottom: -1.2em;
    }
    .header-middle-content .header_search {
        display: block;
        position: fixed;
        top: 4.5em;
        z-index: 1;
        left: 0;
        right: 0;
        background: #f5f5f5;
        padding: 1em;
        box-shadow: 0 5px 10px #e4e4e4;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease-in-out;
    }

    .header-middle-content .header_search.is-active {
        visibility: visible;
        opacity: 1;
    }
    .successful-added .successful-img-wrap img, .successful-added .successful-img-wrap img {
        max-height: 150px;
    }
    .successful-added .successful-img-wrap {
        text-align: center;
    }

    #content .woocommerce form .woocommerce-shipping-fields .form-row-wide input[type="number"] {
        border: 1px solid #dedede;
    }

    .has-flex-content .qmax-placeholder-wrapper {
        display: block;
    }

    .qmax-payment-form {
        max-width: 100%;
    }


    html #wpadminbar {
        display: none;
    }
    html {
        margin-top: 0!important;
    }

    .popover.changed-system-type.in {
        position: relative;
        top: 0!important;
        left: 0!important;
        right: 0!important;
        max-width: 100%;
        width: 100%;
        border-radius: 4px;
        border: 0;
        background: #e8e8e8;
    }

    .popover.changed-system-type .arrow {
        opacity: 0;
    }

    .popover.changed-system-type .close {
        font-size: 24px;
        position: absolute;
        right: 10px;
        top: 5px;
    }

    .changed-system-type .popover-title, .changed-system-type .popover-content {
        background: #e8e8e8;
    }

    .changed-system-type .popover-title {
        font-size: 14px;
        padding-bottom: 0;
    }

    .changed-system-type .popover-content {
        padding-top: 0;
        font-size: 13px;
        line-height: 1.5;
    }
}


@media only screen and (max-width: 500px) {


    .home-features-item.blog-item,
    .blog-related-items .blog-item,
    .q-sc--item.blog-item {
        width: calc(100% - 22px);
        margin: 0 11px 11px;
    }

    .blog-related-items .blog-item:nth-child(3) {
        display: block;
    }


    .filter-toggle-wrap {
        padding: 0px 15px;
    }

    .right-header-middle-content {
        margin: 0 10px;
    }
    .rw-rating {
        position: relative;
        right: 0;
        top: 0;
        text-align: center;
    }
    .reviews-widget-content {
        height: auto;
    }
    .footer-main-menu > ul {
        column-count: 1;
    }
    body .owl-theme.footer-reviews-slider .owl-controls {
        display: none;
    }
    .foo-rs-meta a {
        text-align: center;
    }

    .single-product .collections-wrap li:nth-child(6n) {
        margin-right: 0px;
    }

    .shop-actions-wrap {
        align-items: stretch;
    }

    .right-header-middle-content {
        padding: 10px 5px;
    }
    .mobile-logo, .mobile-menu-trigger {
        align-self: center;
    }
    .shop-actions-wrap .widget_qmax_products, .cart_dropdown.drop_down_container {
        top: 4.5em;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90vw;
    }
    .shop-actions-wrap .sa-item {
        position: unset;
    }
    .header-middle-content .qm-new-icons {
        transform: scale(0.8);
    }
    .shop-actions-wrap .sa-item {
        padding: 0 .5em;
        background: white;
        border: 1px solid #e7e7e7;
        display: flex;
        align-items: center;
    }
    .mobile-search-trigger {
        padding: 0.15em 0.5em;
        border: 1px solid #e7e7e7;
        display: flex!important;
        align-items: center;
    }
    .shopping-cart:not(.is-loading) {
        position: unset;
    }

    .header-middle-content .header_search {
        top: 4em;
    }
    .sa-item.has-num:before, .sa-item.has-successful-added:before {
        display: none;
    }

    .sa-item.has-num > a:after, .sa-item.has-successful-added > a:after {
        content: "";
        display: block;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        width: 15px;
        height: 15px;
        background: #ffffff;
        transform: rotate(45deg);
        bottom: -29px;
        left: 0;
        right: 0;
        margin: auto;
        border: 1px solid #d2d2d2;
        border-width: 1px 0px 0px 1px;
        z-index: 400;
    }
    .sa-item.has-num:hover > a:after {
        opacity: 1;
        visibility: visible;
    }
    div.header-phone p.numbers a {
        font-size: 16px;
        font-weight: bold;
        line-height: 16px;
        color: #000;
        text-decoration: underline;
    }
    .middle-header-middle-content .header-phone p.numbers {
        text-align: left;
    }
    .middle-header-middle-content .h-callback-btn {
        text-decoration: none!important;
        background: #f6f6f6;
        padding: 5px 5px 7px;
        border-radius: 3px;
        border: 1px solid #d1d1d1;
        white-space: nowrap;
    }
    .middle-header-middle-content .h-callback-btn span {
        color: black;
        padding-left: 1px;
        border-bottom: none;
        text-transform: uppercase;
        white-space: nowrap;
        font-family: "Roboto", san-serif;
        font-size: 13px;
        font-weight: bold;
    }
    .middle-header-middle-content .h-callback-btn i {
        margin-bottom: -7px;
        filter: grayscale(1);
    }

    .page-main-content {
        padding: 25px;
    }

    .order-date {
        display: block;
    }

    .price-info-container {
        min-width: auto;
    }
    .sa-item > a {
        min-width: auto;
        min-height: auto;
    }
    .sa-item__text {
        display: none;
    }
    .wd_tini_cart_wrapper > a {
        width: auto;
    }
    .wd_tini_cart_control .num_item {
        right: 3px;
    }
    .shop-actions-wrap .widget_qmax_products .product_list_widget li {
        padding: 10px;
    }
}