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

    /* Force table to not be like tables anymore */
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive tr {
        border: 1px solid #ccc;
    }

    .table-responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        text-align: left;
        padding-left: 52% !important;
        white-space: pre-wrap !important;
    }

    .table-responsive td:before {
        /* Now like a table header */
        position: absolute;
        top: 50%;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: pre-wrap;
        text-align: left;
        font-weight: bold;
        transform: translateY(-50%);
    }

    /*
    Label the data
    */
    .table-responsive td:before {
        content: attr(data-title);
    }

    #account_history_table tr {
        border: 0;
        border-bottom: 1px solid #ddd;
    }

    #account_history_table tr td {
        min-height: 37px;
        border: 0;
        border-bottom: 1px solid #ddd;
    }

    #account_history_table tr td:last-of-type {
        border: 0;
        border-bottom: 1px solid #ddd;

    }

}

/*--------------------------------------- MEDIA QUERIES -------------------------------*/
@media (min-width: 1600px) {
    .big_banner img {
        width: 100% !important;
    }

    .col-xl-12 {
        width: 100%
    }

    .col-xl-11 {
        width: 91.66666667%
    }

    .col-xl-10 {
        width: 83.33333333%
    }

    .col-xl-9 {
        width: 75%
    }

    .col-xl-8 {
        width: 66.66666667%
    }

    .col-xl-7 {
        width: 58.33333333%
    }

    .col-xl-6 {
        width: 50%
    }

    .col-xl-5 {
        width: 41.66666667%
    }

    .col-xl-4 {
        width: 33.33333333%
    }

    .col-xl-3 {
        width: 25%
    }

    .col-xl-2 {
        width: 16.66666667%
    }

    .col-xl-1 {
        width: 8.33333333%
    }

    #sync1 img {
        /*width:auto;*/
        width: 100%;
    }

    .big_banner .big_banner-shadow .banner_icons-box .banner_icon img {
        width: auto !important;
    }
}

@media (max-width: 1199px) {
    .main_nav {
        margin: 0 auto 0 auto;
        text-align: center;
    }

    .main_nav li {
        display: inline-block;
        margin-bottom: 5px;
    }

    .call_me,
    .form_search_site {
        padding-left: 20px;
    }

    .news h2 > a,
    .customer_reviews h2 > a {
        margin: 0;
    }

    .user_info_container time {
        margin: 5px 0 0 0;
    }

    #browse_category .category_block img {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 1200px) {
    .col-lg-2-4 {
        width: 20%;
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1199px) {
    .phones_header {
        display: block;
        margin: 0;
    }

    .logo a {
        font-weight: 700;
        font-size: 40px;
    }
}

/* END MEDIA QUERIES */

@media (max-width: 1024px) {
}

/* END MEDIA QUERIES */

@media (min-width: 992px) {
    #modal_cart_popup .modal-dialog {
        width: 992px;
    }

    .sidebar-toggle-back,
    .sidebar-toggle-up {
        display: none;
    }

    .checkout_right {
        float: right;
    }

    .col-md-2-4 {
        width: 20%;
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .new_price_card_product {
        font-size: 19px;
    }

    /*.p_img_href img {*/
    /*  width: 100%;*/
    /*}*/
}

@media (max-width: 991px) {
    .call_me .phones_header {
        display: block;
    }

    .call_me,
    .form_search_site {
        padding-left: 0;
    }

    .enter_registration .social_header_facebook,
    .enter_registration .social_header_vk {
        display: none;
    }

    .call_me {
        text-align: center;
    }

    .call_me > p {
        display: inline-block;
    }

    .sidebar-toggle-back:hover,
    .sidebar-toggle-back {
        color: #fff;
        font-size: 20px;
        position: fixed;
        left: 210px;
        top: 50%;
        z-index: 9999;
        border: 0;
        background: #399FDF;
        padding: 10px;
        border-radius: 40px;
    }

    .sidebar.opened {
        visibility: visible;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        left: 0;
    }

    .right_content {
        float: none;
    }

    .sidebar {
        position: fixed;
        top: 0;
        visibility: hidden;
        z-index: 9999;
        width: 240px;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        text-shadow: none;
        bottom: 0;
        left: -240px;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        overflow-x: visible;
        overflow-y: auto;
        box-shadow: 0 0 53px rgba(0, 0, 0, 0.47);
    }

    #sidebar-left .inner {
        padding: 20px 20px 20px 0;
    }

    /*.p_img_href img {*/
    /*  width: 100%;*/
    /*}*/
    #browse_category .category_block img {
        width: 150px;
        height: 150px;
    }

    .form_search_site {
        width: 95%;
    }

    .news_block-article_container {
        max-height: 400px;
    }
}

@media (min-width: 768px) {
    .categories_menu .navbar-collapse {
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .social_buttons {
        margin-top: -1px;
        margin-left: 0;
    }
    .big_banner-shadow {
        padding: 45px 0 90px;
    }
}

@media (max-width: 767px) {
    .thumbs_row .thumbs div {
        width: 100%;
        max-width: calc(100% / 6);
        max-height: 100px;
    }
    #sync1 img {
        width: 100%!important;
        height: auto;
    }
    .img-responsive {
        display: inline-block;
        margin: 0 !important;
        height: auto !important;
    }

    .login_block {
        position: relative;
    }

    .login_block a {
        color: #000;
        background: transparent;
        display: flex;
        align-items: center;
        width: 100%;
        height: 40px;
        padding: 0 13px 0 0;
        text-transform: initial;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .login_block a svg {
        fill: #000;
        width: 1em;
        height: 1em;
        margin-right: 10px;
        font-size: 16px;
    }

    .logo img {
        max-height: 35px;
    }

    #owl-frontslider .owl-controls, #owl-frontslider + .owl-dots {
        display: none !important;
    }

    .thumbnail p {
        font-size: 13px;
    }

    .thumbnail_text {
        font: 400 24px Arial, sans-serif;
    }

    .wrapper_language_currency_select,
    .enter_registration {
        float: left;
    }

    .header_mob, .header_actions {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .call_me {
        margin: 0;
    }

    a.call {
        height: 28px;
    }

    .callback_round {
        margin: 0 9px 0 0;
    }

    #kabinet i {
        padding: 0;
    }

    #kabinet .logoff {
        margin-left: 7px;
    }

    .enter_link,
    .registration {
        text-transform: uppercase;
    }

    .enter_link {
        margin: 0 15px 0 0;
    }

    .lang_curr_block {
        margin: 10px 0;
    }

    .mob_hr {
        border-top: 1px solid #d2d3d8;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .language_select, .currency_select {
        margin: 0;
        position: relative;
    }

    .language_select .language-dropdown-button {
        background: transparent;
        border: none;
        justify-content: flex-start;
    }

    .currency_select > span,
    .enter_registration {
        text-align: left;
    }

    .currency_select .selectize-input,
    .currency_select .selectize-input.full,
    .currency_select .selectize-input,
    .currency_select .selectize-control.single .selectize-input.input-active {
        background: transparent;
        border: none;
        color: #fff;
        width: 75px;
    }

    .checkout_form .currency_select .selectize-input,
    .checkout_form .currency_select .selectize-input.full,
    .checkout_form .currency_select .selectize-input,
    .checkout_form .currency_select .selectize-control.single .selectize-input.input-active {
        color: var(--sm-text-color);
    }

    .selectize-control.single .selectize-input:after,
    .selectize-control.single .selectize-input.dropdown-active:after {
        border-color: #fff transparent transparent transparent;
    }

    .checkout_form .selectize-control.single .selectize-input:after,
    .checkout_form .selectize-control.single .selectize-input.dropdown-active:after {
        border-color: var(--sm-text-color) transparent transparent transparent;
    }

    .dropdown-menu-language {
        top: 25px;
        margin: 0;
    }

    .caret {
        color: #000;
        border-color: #000 transparent transparent transparent;
    }

    .checkout_form .language_select .caret {
        color: var(--sm-text-color);
        border-color: var(--sm-text-color) transparent transparent transparent;
    }

    .enter_registration {
        margin: 7px 0 0 10px;
    }

    .main_nav {
        float: right;
        margin: 0;
    }

    .main_nav > ul {
        display: block;
        position: absolute;
        z-index: 10;
        right: 0;
        top: 44px;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .main_nav.expand > ul {
        max-height: 900px;
    }

    .main_nav > ul * {
        display: block;
    }

    .main_nav ul > li {
        margin: 0;
    }

    .main_nav li.mobile {
        display: block;
    }

    .main_nav li > a {
        text-transform: uppercase;
        font-size: 14px;
        padding: 10px;
        border-bottom: 1px dashed #3CA3E4;
        background: #A8DBFA;
        color: #000;
    }

    .main_nav li > a:hover {
        color: #248bcb;
    }

    .main_nav li > a,
    .main_nav li > a:hover,
    .main_nav li > a:focus {
        text-decoration: none;
    }

    .main_nav li.active_page > a {
        background: #fff;
    }

    .main_nav ul > li:last-of-type > a {
        border-bottom: none;
    }

    .top_block_header .navbar {
        display: block;
    }

    .navbar-collapse {
        padding-left: 15px;
        padding-right: 15px;
        max-height: 100%;
        height: calc(100vh - 50px)!important;
    }

    .container_middle_header {
        padding-bottom: 24px;
    }


    .add_nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1000;
    }



    .navbar-header .basket_768 {
        position: absolute;
        top: 10px;
        right: 60px;
    }

    .navbar-header .basket_768:before {
        background-color: #d2d3d8;
        border-radius: 50%;
    }

    .search_site {
        padding: 0;
        height: 27px;
        line-height: 27px;
        margin-top: 20px;
        width: 100%;
    }

    .search_site:after {
        width: 100%;
        height: 0;
        visibility: hidden;
        overflow: hidden;
        content: '';
        display: inline-block;
    }

    .form_search_site,
    .basket_768 {
        display: inline-block;
        vertical-align: middle;
        height: 27px;
        line-height: 27px;
        position: relative;
    }

    .quantity_basket_768 {
        margin: 0;
        font-size: 14px;
        position: absolute;
        right: 10px;
        top: 4px;
        line-height: 1;
    }

    .form_search_site {
        width: 100%;
        display: inline-block;
        margin: 0;
    }

    .search_site_input {
        width: 95%;
        padding: 0 12px 0;
        background: #d2d3d8;
    }

    .search_site_submit {
        top: 0px;
        height: 27px;
        line-height: 27px;
        border: 1px solid #fff !important;
        color: #fff;
    }

    .add_nav .navbar-inverse .navbar-nav {
        flex-direction: column;
        margin: 0;
        opacity: 1;
    }

    .add_nav .navbar-default .navbar-nav > li {
        float: none;
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        border-left: none;
        border-bottom: 1px dashed #fff;
    }

    .add_nav .navbar-inverse .navbar-nav > li > a {
        display: flex;
        text-transform: initial;
        padding: 5px 10px 5px 0;
        height: auto;
        text-align: left;
    }

    .add_nav .navbar-default .navbar-nav > li:last-of-type {
        border-right: none;
        border-bottom: none;
    }

    .add_nav .navbar-default .navbar-nav > li > a {
        min-height: 1px;
    }

    header .navbar-nav ul#hidden_categories {
        display: flex !important;
        position: relative;
        flex-direction: column;
        padding: 0;
        margin: 0;
        border: none;
        visibility: visible !important;
        background: transparent;
    }

    header .navbar-nav ul#hidden_categories > li > a,
    header .navbar-nav ul#hidden_categories > li > span {
        width: 100%;
        color: var(--sm-link-color-on-dark-bg);
        padding: 5px 10px 5px 0;
        justify-content: flex-start;
        text-transform: none;
    }

    .logo {
        margin: 0 0 5px 15px;
        text-align: center;
    }

    .logo a {
        font-size: 20px;
    }

    .row_news_customer_reviews > div:first-of-type {
        padding: 0;
    }

    .money_systems,
    .copyright,
    .link_webstudio {
        margin-bottom: 20px;
    }

    .section_top_footer,
    .contacts_info_footer {
        display: inline-block;
        text-align: left;
    }

    .list_footer a,
    .adress {
        display: inline-block;
    }

    #sync2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .description_card_product_xs {
        padding: 0 5%;
    }

    .magazine_articles img {
        float: none;
    }

    .filtersMenu {
        min-height: 75px;
        padding: 0 20px;
        margin: 0;
    }

    .filtersMenu li.dropdown {
        margin-bottom: 10px;
    }

    .call_me .phones_header {
        display: inline-block;
    }

    .footer_brands {
        flex-wrap: nowrap;
    }

    .social_group_footer {
        float: left;
    }

    .social_header_vk {
        margin-left: 0;
    }

    .section_top_footer {
        margin-top: 20px;
    }

    .phones_footer {
        float: left;
        margin-bottom: 20px;
    }

    #sync1 img {
        width: auto;
    }

    .top_liks_mob {
        padding-left: 0;
        list-style: none;
    }

    .top_liks_mob > li > a {
        color: #000;
        padding: 5px 10px 5px 0;
        display: block;
    }

    .ac_results {
        width: 100% !important;
        margin-left: -18px;
    }

    .category_heading {
        margin: 10px 0 -15px;
    }

    .navbar-inverse .navbar-toggle, .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
        border-color: transparent;
        background-color: transparent;
    }

    #browse_category > .row {
        flex-wrap: wrap;
    }

    #browse_category .category_block {
        width: 45%;
        margin: 10px;
    }

    #browse_category .category_block img {
        width: 210px;
        height: 210px !important;
        display: block;
        margin: 0 auto 20px !important;
    }

    .slider_product_card {
        padding: 40px 20px 20px;
    }

    .create-account form {
        width: 100%;
    }

    .moduleRow {
        padding: 0 5px;
    }

    .moduleRow > div {
        padding: 0;
    }

    div.scrollup {
        right: 20px;
        bottom: 105px;
        width: 65px;
        height: 65px;
    }

    .scrollup > svg {
        font-size: 30px;
    }

    .navbar-nav{
        width: 100%;
    }

    .add_nav .navbar-nav {
        text-align: start;
    }

    .nav2_dropdown.sfHover .sub-category,
    .nav2_dropdown a > .sf-sub-indicator {
        display: none;
    }

    .nav2_dropdown > .sub-category.active,
    .nav2_dropdown .sub-category.active .sub-category {
        display: flex;
        gap: 10px;
        position: unset;
        height: auto;
        padding: 0;
        margin: 0;
        background-color: inherit;
        color: var(--sm-link-color-on-dark-bg);
        visibility: visible !important;
    }

    #responsive-add_nav.navbar-collapse {
        display: none !important;
    }

    #responsive-add_nav.navbar-collapse.in {
        display: block !important;
    }

    .nav2_dropdown .sub-category.active .sub-category.sub .sub_sub {
        padding-left: 20px;
    }

    .categories_menu .sub_sub a:hover {
        color: var(--sm-link-color-on-dark-bg);
    }

    .add_nav .navbar-inverse .navbar-nav > li {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .add_nav .navbar-inverse .navbar-nav > li > ul {
        width: 100%;
    }

    .nav2_dropdown > .sub-category {
        position: initial;
        display: none;
    }

    #showMoreCategories {
        display: none;
    }
    #showMoreCategories ~ .nav2_dropdown {
        display: flex !important;
        visibility: visible !important;
    }

    .add_nav .navbar-inverse .navbar-nav > li > a,
    .add_nav .navbar-inverse .navbar-nav > li > span {
        max-width: unset;
    }

    .sub_ul {
        border: 0px;
    }

    .sub_ul > li {
        margin: 0;
    }

    .sub-category {
        display: flex;
    }

    .nav2_dropdown .sub-category.active > .wrapper {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 10px;
        padding: 5px 15px;
    }
    .categories_menu .sub {
        width: 100%
    }
    .navbar-nav li > .btn-menu {
        display: inline-block;
        fill: #000;
        background-color: inherit;
        border: 0px;
        vertical-align: middle;
        transition: transform .3s ease;
        transform: rotate(90deg);
    }
    .navbar-nav li > .btn-menu svg {
        pointer-events: none;
    }

    .navbar-nav li > .btn-menu.active {
        transform: rotate(270deg);
    }

    .nav2_dropdown .sub-category .parent_category_image {
        display: none;
    }
    .sub-category:after {
        display: none;
    }

    .sub-category.active a {
        display: inline-block;
        font-size: 12px;
        color: var(--sm-link-color-on-dark-bg);
    }

    .sub-category.active svg {
        filter: invert(.5);
    }
    .nav2_dropdown .sub-category a {
        display: inline-flex;
        align-items: center;
        padding: 0;
    }
    .nav2_dropdown a.active {
        font-weight: 700;
    }

    #tab-downloads .files_to_download_tab .file_to_download {
        flex-direction: column;
        justify-content: flex-start;
        align-items: baseline;
        gap: 10px;
    }
    #tab-downloads .files_to_download_tab .file_to_download > div:last-of-type {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .thumbnail p {
        font-size: 10px;
    }

    .thumbnail_text {
        font: 400 18px Arial, sans-serif;
    }
}

@media (max-width: 546px) {
    .social_buttons {
        margin-top: -1px;
        margin-left: 0;
    }
    .thumbs_row .thumbs div {
        width: 100%;
        max-width: calc(100% / 4);
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    main {
        margin-top: 20px;
    }

    #browse_category .category_block {
        width: 98%;
        margin: 0 0 20px;
    }

    #browse_category .category_block img {
        width: 270px;
        height: 270px !important;
    }

    #featured .owl-item.cloned {
        /* margin-right: 0px !important; */
    }

    .owl-nav .owl-prev {
        left: -8px;
    }
    .owl-nav .owl-next {
        right: -8px;
    }


    /* #owl-frontslider .owl-lazy, .single_slide .item {
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
        width: 100% !important;
        object-fit: cover !important;
        height: 455px !important;
    } */

}

@media (max-width: 400px) {
    .thumbnail_wrapper {
        flex-direction: column;
    }

    .thumbnail_wrapper .col-xs-4 {
        width: 100% !important;
    }
}

/* END MEDIA QUERIES */

@media (max-width: 1240px) {
    .product_slider .owl-nav .owl-prev {
        left: 13px;
    }

    .product_slider .owl-nav .owl-next {
        right: 13px;
    }
}
