@media only screen and (max-width: 1440px){
    .overdiv,
    .head,
    #menu_brands ul::before{
        margin: 0 64px;
    }
    #brands_multi_container{
        justify-content: center;
    }
    #brand_banner{
        margin: 0;
        padding: 0 64px;
    }
}
@media only screen and (max-width: 1370px){
    #shop_products_list{
        max-width: 70%;
    }
}
@media only screen and (max-width: 1250px){
    #home_products_container #shop_products_list .shop_product:nth-child(n+5),
    .you_may_also_like .shop_product:nth-child(n+5){
        display: none;
    }
    /*brand page*/
    #brand_about_right .shop_product{
        width: 160px;
    }
    #brand_about_right .shop_product_image{
        width: 100%;
        height: 200px;
    }
}
@media only screen and (max-width: 1024px){
    .overdiv,
    .head,
    #menu_brands ul::before{
        margin: 0 32px;
    }
    #brand_banner{
        padding: 0 32px;
    }
    /*home*/
    .three_blocks_container{
        flex-wrap: wrap;
    }
    #first_block_container{
        max-width: 100%;
        display: flex;
    }
    #first_block_txt_container{
        width: 70%;
        margin-left: 4%;
    }
    #second_block_container{
        margin-left: 0;
    }
    .second_blocks{
        width: 48%;
        margin-top: 25px!important;
    }
}
@media only screen and (max-width: 900px){
    #footer_bottom{
        flex-wrap: wrap;
    }
    .w304{
        width: 47%;
    }
    .w304:nth-child(2){
        margin-right: 0;
    }
    .privacy_overdiv, .small_overdiv{
        margin: 0 20px;
    }
    .privacy_overdiv{
        padding: 48px;
    }
    /*login/register*/
    .login_register{
        max-width: calc(100% - 40px);
    }
    /*brand page*/
    #brand_img_right, #brand_img_left{
        display: none;
    }
    #brand_about_container{
        flex-wrap: wrap;
    }
    #brand_about_left{
        margin-bottom: 50px;
    }
    #brand_about_right{
        width: 100%;
    }
}
@media only screen and (max-width: 768px){
    /*header*/
    .header_account{
        display: none;
    }
    /*home*/
    .slide{
        top: 100%;
        text-align: center;
    }
    .slide .slider_text{
        top: auto;
        max-width: 100%;
        width: 100%;
        background-color: #FFFFFF;
        color: #002060;
        padding: 10px 10px 8px;
    }
    .slide .slider_text span{
        color: #002060!important;
    }
    .slide .slider_text .slide_navigation{
        margin-top: 20px;
    }
    .slide:nth-child(2n) .slider_text{
        right: auto;
    }
    .slide:nth-child(2n+1) .slider_text{
        left: auto;
    }
    .three_blocks_container{
        margin-top: 224px;
        justify-content: center;
    }
    #second_block_container{
        margin-right: 0;
    }
    .second_blocks{
        max-width: 496px;
        width: 100%;
    }
    #home_products_button{
        margin-top: 25px;
    }
    /*about*/
    #about_container{
        padding: 0 30px 30px;
    }
    /*contact*/
    #contact_container{
        flex-wrap: wrap;
    }
    #contact_right{
        order: 1;
        margin-bottom: 25px;
        margin-left: 0;
    }
    #contact_left{
        order: 2;
    }
    .contact_section{
        width: 100%;
        margin: 0 auto;
    }
    #contact_right .fa-phone-alt, #contact_right .fa-envelope{
        font-size: 20px;
    }
    #contact_right .snow_background{
        padding: 20px;
    }
    /*account*/
    #order_history_container{
        justify-content: center;
    }
    /*shop overview*/
    #shop_overview_container,
    #shop_filter_mobile{
        display: block;
    }
    #shop_filter{
        display: none;
    }
    #shop_products_list, #home_products_container #shop_products_list, .you_may_also_like{
        max-width: 510px;
        margin: 0 auto;
    }
    /*product page*/
    #shop_main_product_info .flex_nowrap{
        flex-wrap: wrap;
    }
    #shop_main_container{
        flex-direction: column;
        align-items: center;
    }
    .prod_left{
        margin-right: 0;
        margin-bottom: 50px;
    }
    .prod_right, .shop_main_product_right{
        max-width: 100%;
        width: 100%;
    }
    .shop_main_product_image{
        height: 400px;
    }
    .shop_main_product_small_descr{
        margin-bottom: 30px;
    }
    /*basket*/
    #overdiv .basket_price .quantity_select{
        width: 55px;
    }
}
@media only screen and (max-width: 600px){
    #header.sticky{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }
    h2, .h2,
    .page_title{
        font-size: 28px;
        line-height: 42px;
    }
    h5, .h5{
        font-size: 18px;
        line-height: 27px;
    }
    .overdiv,
    .head{
        margin: 0 20px;
    }
    .privacy_overdiv{
        padding: 30px 10px 20px;
    }
    #brand_banner{
        padding: 0 20px;
    }
    #overdiv.no_admin #footer_top{
        height: auto;
        padding: 0;
        position: relative;
    }
    #nhs_img{
        order: 1;
        position: absolute;
        right: 20px;
        top: 10px;
        width: 160px;
        height: 97px;
    }
    #prefooter_img{
        height: 115px;
    }
    #footer_top #prefooter_txt_container{
        max-width: 100%;
        padding: 10px 20px 20px 20px;
        margin: 0;
        background-color: #F0F0F0;
    }
    #prefooter_txt{
        margin-bottom: 15px;
    }
    .w304{
        width: 335px;
        margin-right: 0;
        text-align: center;
    }
    .w304 .flex{
        justify-content: center;
    }
    #footer_img{
        margin: 0 auto 24px;
    }
    .page_title{
        padding: 35px 0 30px;
    }
    #head_middle,
    #your_account,
    #tabs{
        display: none;
    }
    #head_mobile{
        display: flex;
    }
    .small_overdiv{
        padding-top: 10px;
    }
    /*home*/
    #first_block_container{
        max-width: 496px;
        display: flex;
        flex-direction: column;
    }
    #first_block_img{
        width: 100%;
        height: 296px;
    }
    #first_block_txt_container{
        width: 100%;
        margin-left: 0;
        padding: 0 16px;
    }
    .three_blocks_container{
        margin-top: 250px;
    }
    #home_brands_multi_container{
        margin: 32px 0;
    }
    .home_brands_multi{
        height: 60px;
        margin: 20px;
        width: 35%;
        min-width: 120px;
    }
    /*about*/
    #about_img{
        margin: 0 10px;
        height: 260px;
    }
    #about_title{
        display: none;
    }
    #overdiv.no_admin #about_title_mobile{
        display: block;
        margin-top: 10px;
        font-size: 24px;
        line-height: 36px;
        color: #002060;
    }
    #about_subtitle{
        margin: 30px 0;
    }
    #about_container{
        padding: 0 10px 20px;
    }
    .about_multi{
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 30px;
    }
    .w472{
        width: 100%;
        margin-left: 0;
    }
    .about_multi .multiField_0{
        margin-bottom: 30px;
    }
    /*login/register*/
    .login_register_form{
        padding: 30px 0;
    }
    #login_register_title{
        margin-bottom: 30px;
    }
    #login, #register{
        margin-top: 30px;
    }
    /*basket*/
    .basket_table tr.snow_background{
        display: none;
    }
    .basket_total{
        justify-content: space-between;
    }
    .basket_buttons{
        justify-content: center;
    }
    .basket_table,
    .basket_table tbody{
        display: block;
    }
    .basket_table tr{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #E5E5E5;
    }
    .basket_table tr:last-child{
        margin-bottom: 2px;
    }
    .basket_table td{
        border-bottom: none;
    }
    .basket_row_price, .basket_price{
        width: 70%;
        padding-right: 30px;
    }
    .basket_row_price{
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .basket_line_price{
        position: initial;
    }
    .basket_item{
        padding-right: 30px;
    }
    .basket_item .w50:first-child{
        width: 30%;
        min-width: 80px;
    }
    .basket_item .w50:nth-child(2){
        width: 70%;
    }
    .remove_item{
        top: 0;
        transform: none;
    }
    #overdiv .basket_price .quantity_select{
        width: 144px;
    }
    /*account*/
    #order_history_container{
        width: 100%;
    }
    .order_history_block{
        margin-right: 0;
    }
    /*overview*/
    #shop_products_list, #home_products_container #shop_products_list, .you_may_also_like{
        max-width: 341px;
    }
    #shop_products_list{
        justify-content: space-between;
    }
    .shop_product_image{
        width: 100%;
        margin-right: 0;
    }
    .shop_product{
        width: 160px;
        margin-left: 0;
    }
    /*brand page*/
    #brand_img{
        height: 250px;
    }
    /*checkout*/
    #checkout_details_container .w50{
        width: 100%;
    }
}
@media only screen and (max-width: 500px){
    /*brand page*/
    #brand_banner{
        position: relative;
        justify-content: center;
        height: 100%;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin-top: 15px;
    }
    #brand_banner img{
        margin: 0 auto;
    }
    .brand_txt{
        width: 100%;
        text-align: center;
    }
    #brand_text_left span, #brand_text_right span{
        color: #414141!important;
    }
    .brand_logo{
        display: none;
    }
    #overdiv.no_admin .brand_logo_mobile{
        display: block;
    }
}
@media only screen and (max-width: 475px){
    .pb112{
        padding-bottom: 60px;
    }
    h3, .h3{
        font-size: 26px;
        line-height: 39px;
    }
    /*home*/
    #first_block_img, #second_block_img, #third_block_img{
        height: 220px;
    }
    #third_block_title{
        width: 172px;
    }
    /*brands*/
    .brands_multi{
        width: 100%;
    }
    #about_img{
        height: 180px;
    }
    /*brand page*/
    #brand_img{
        height: 200px;
    }
    /*login/register*/
    .login_register_form{
        max-width: calc(100% - 15px);
    }
    /*account*/
    #password_details .flex_nowrap{
        flex-wrap: wrap;
    }
    #password_details .w50{
        width: 100%;
    }
    #password_details .mr32{
        margin: 0 0 16px 0;
    }
    /*product*/
    .shop_main_product_image{
        width: 335px;
        height: 220px;
    }
    .shop_main_product_right .h3{
        font-size: 20px;
        line-height: 30px;
    }
    /*basket*/
    #overdiv #shopping, .checkout{
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 335px;
        width: 100%;
    }
}
@media only screen and (max-width: 380px){
    #shop_products_list, #home_products_container #shop_products_list, .you_may_also_like{
        max-width: 100%;
        justify-content: center;
        display: flex;
    }
    /*login/register*/
    #login_register_bottom{
        flex-direction: column;
        text-align: center;
    }
    /*brand page*/
    #brand_img{
        height: 150px;
    }
}
@media only screen and (max-width: 345px){
    h5, .h5{
        font-size: 16px;
        line-height: 27px;
    }
    /*home*/
    #home_products_container #shop_products_list .shop_product:nth-child(n+4), .you_may_also_like .shop_product:nth-child(n+4){
        display: none;
    }
    /*account*/
    #order_history .white_background, #order_history .button{
        width: 100%;
    }
    /*basket*/
    .basket_item{
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }
    .basket_row_price, .basket_price{
        align-self: center;
        padding-right: 0;
    }
    /*checkout*/
    #overdiv #voucher_code{
        font-size: 15px;
        max-width: 190px;
    }
}