/*SM*/
@media (min-width: 576px) {

    .dropdown{
        position: absolute;
        width: 200px;
        left: 50%;
        margin-left: -120px;
        border-radius: 30px;
    }
    .m0-sm{
        margin: 0 !important;
    }
    .mb0-sm{
        margin-bottom: 0 !important;
    }
}

/*MD*/
@media (min-width: 768px){
    .m0-md{
        margin: 0 !important;
    }
    .pl15-md{
        padding-left: 15px;
    }
    .w140-md{
        max-width: 140px;
    }
    .mr20-md{
        margin-right: 20px !important;
    }
    .mr30-md{
        margin-right: 30px !important;
    }

    .mt50-md{
        margin-top: 50px !important;
    }

    .mb50-md{
        margin-bottom: 50px !important;
    }
    .mb60-md{
        margin-bottom: 60px !important;
    }
    .mb90-md{
        margin-bottom: 90px !important;
    }
    
    html{
        position: relative;
        min-height: 100%;
    }

    header{
        margin-bottom: 40px;
    }
    header.header_small-margin{
        margin-bottom: 23px;
    }

    h1, .h1{
        font-size: 30px;
        line-height: 40px;
        margin: 0 0 31px;
    }
    h2, .h2{
        font-size: 28px;
        line-height: 32px;
        margin: 0 0 25px;
    }
    h3, .h3{
        font-size: 24px;
        line-height: 28px;
        margin: 0 0 15px;
    }
    h4, .h4{
        font-size: 20px;
        line-height: 24px;
        margin: 15px 0;
    }
    h5, .h5{
        font-size: 18px;
        line-height: 23px;
        margin: 15px 0;
    }

    .dropdown:before{
        content: '';
        position: absolute;
        left: 60px;
        top: -11px;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 11px solid #fff;
    }

    .top-panel-menu_right-menu .top-panel-menu__item:last-child a{
        padding-right: 0;
    }
    .top-panel-menu-item__title{
        display: inline;
    }
    .top-panel-address{
        display: inline-block;
    }
    .tabs-general>li{
        display: inline-block;
        margin: 0 1px 0 0;
    }





    /*content*/
    .content img[style*="right"],
    article img[style*="right"]{
        margin: 0 0 20px 30px;
        position: relative;
        z-index: 1;
    }
    .content img[style*="left"],
    article img[style*="left"],
    .img-float-left-md{
        float: left;
        margin: 0 30px 20px 0;
        position: relative;
        z-index: 1;
    }
    .table-wrapper table{
        min-width:  auto;
    }
    /*end content*/


    .aside{
        margin-bottom: 58px;
    }
    .aside-header{
        margin: 10px 0 30px;
        font: bold 24px/26px @headerFont;
    }

    /*Scroll top*/
    .scroll-top__btn{
        margin-bottom: 8px;
        transform: scale(1,1);
    }


    /*btn big*/
    .btn-big{
        padding: 22px 40px;
        font-size: 18px;
        line-height: 20px;
    }
    .btn-big.btn-buy,
    .btn-big.btn-phone{
        padding-left: 60px;
    }
    .btn-big.btn-buy:before{
        left: 30px;
        margin-top: -10px;
        background-position: 0 -80px;
    }
    .btn-big.btn-phone:before{
        left: 30px;
        margin-top: -10px;
        background-position: -20px -60px;
    }
    /*End Btn big*/


    .page-bottom-banner{
        padding: 75px 0 52px;
    }
    .page-bottom-banner__content{
        margin-bottom: 45px;
    }


    /*Footer*/
    .footer-bottom-block div[class^='col-']{
        display: flex;
        min-height: 68px;
        align-items: center;
    }
    .footer-middle-block-spoiler{
        display: block;
    }
    .footer-middle-block-spoiler-link{
        display: none;
    }
    .footer-top__text{
        margin-bottom: 0;
    }
    .footer-top__header{
        text-align: left;
    }
    /*End Footer*/


    /*Modal*/
    .modal{
        /*position: absolute;*/
        padding: 37px 30px 30px;
        width: 370px;
        left: 50%;
        margin-left: -225px;
    }
    .modal.modal_buy{
        width: 560px;
        margin-left: -280px;
    }
    .modal-body{
        margin-bottom: 25px;
    }
    .modal-body-item-photo img{
        max-width: 100px;
    }
    .modal-close{
        top: -33px;
        right: -31px;
    }

    /*Reviews slider*/
    .reviews-slider-block{
        padding-top: 65px;
        margin-bottom: 50px;
    }
    .reviews-slider{
        padding-left: 70px;
        padding-right: 70px;
        text-align: left;
    }
    .reviews-slider-block .reviews-slider__header{
        margin-bottom: 45px;
    }
    .reviews-slider .bx-viewport{
        z-index: 100;
    }
    .reviews-slide-pict{
        margin: 0 60px 30px 0;
        float: left;
    }
    .reviews-slider .slider-btn-prev,
    .reviews-slider .slider-btn-next{
        top: 50%;
        margin-top: -35px;
    }
    .reviews-slider .slider-btn-prev{
        left: -70px;
    }
    .reviews-slider .slider-btn-next{
        right: -70px;
    }
    /*End Reviews slider*/


    .content table th,
    .content table td{
        padding: 17px 44px;
        font-size: 14.5px;
    }


    /*Main page titles*/
    .news-block__header,
    .advantages-block__header,
    .reviews-slider__header{
        font-size: 24px;
        line-height: 25px;
        text-align: left;

    }
    /*END Main page titles*/


    /*Catalog filter*/
    .filters-spoiler{
        display: block;
    }


    /*CATALOG*/

    /*Catalog controls*/
    .catalog-controls-wrapper{
        display: flex;
        justify-content: space-between;
        /*justify-content: right;*/
        align-items: center;
        margin-bottom: 30px
    }
    .catalog-controls-block_sort{
        flex: 0 0 auto;
    }
    .catalog-controls-block_grid{
        display: flex;
        flex: 0 0 auto;
        align-items: center;
    }

}

/*LG*/
@media (min-width: 992px) {
    .book-lg{
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .book-3-lg{
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;

    }

    *[class^='book-'] li{
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .m0-lg{
        margin: 0 !important;
    }

    .w40-lg{
        width: 40%;
    }
    .w50-lg{
        width: 50%;
    }


    .top-panel-row{
        display: block;
    }
    .top-panel-menu-wrapper{
        display: flex;
        justify-content: space-between;
    }

    /*Header*/
    .header-middle-block__logo,
    .header-middle-block__search,
    .header-middle-block__contacts{
        min-height: 127px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }
    .header-middle-block__logo{
        flex: 0 0 21%;
        max-width: 21%;
    }
    .header-middle-block__search{
        flex: 0 0 53%;
        max-width: 53%;
    }
    .header-middle-block__contacts{
        flex: 0 0 26%;
        max-width: 26%;
        justify-content: flex-end;
    }
    .header-contacts-wrapper{
        text-align: right;
    }
    /*Menu main*/
    .menu-main>li>a{
        padding: 0 22px;
    }
    .menu-main>li:hover .main-submenu{
        display: block;
    }
    /*END Menu main*/


    .menu-main-item__link>span,
    .main-submenu-item__link{
        font-size: 17px;
    }


    /*Main tabs*/
    .main-menu-tabs{
        margin-bottom: 54px;
    }
    .main-menu-tabs-btn{
        margin-bottom: 0;
    }
    .main-menu-tabs-btn__caption{
        min-height: 55px;
    }
    .main-menu-tabs-content{
        padding: 50px 0 32px;
    }
    /*End Main tabs*/


    /*Main banner*/
    .main-banner .btn-prev,
    .main-banner .btn-next{
        height: 70px;
    }
    .main-banner .btn-prev:before,
    .main-banner .btn-prev:after,
    .main-banner .btn-next:before,
    .main-banner .btn-next:after{
        width: 2px;
        height: 40px;
    }
    .main-banner .btn-prev:before,
    .main-banner .btn-next:before{
        top: 0;
    }
    .main-banner .btn-prev:after,
    .main-banner .btn-next:after{
        top: 28px;
    }

    /*Banner content*/
    .main-banner-slide{
        display: flex;
        flex-direction: column-reverse;
    }

    .main-banner-content{
        position: absolute;
        top: 20px;
        left: 15px;
        padding: 30px;
        width: 50%;
        text-align: left;
    }
    .main-banner-content__header{
        margin: 0 0 15px;
        font-size: 40px;
        line-height: 46px;
    }
    .main-banner-content__header:before{
        position: absolute;
        content: '';
        top: 4px;
        left: -12px;
        width: 3px;
        height: 39px;
    }

    .main-banner .btn-prev,
    .main-banner .btn-next{
        top: 50%;
        margin-top: -60px;
    }
    .main-banner-paging{
        padding: 0 30px;
        text-align: left;
        left: -15px;
        right: -15px;
        margin-top: -50px;
        background: none;
    }
    .main-banner{
        overflow: hidden;
        background: none;
    }
    .main-banner .btn-prev{
        left: -100px;
        opacity: 0;
        transition: .25s ease-out .25s;
    }
    .main-banner .btn-next{
        right: -100px;
        opacity: 0;
        transition: .25s ease-out .25s;
    }
    .main-banner:hover .btn-prev{
        opacity: 1;
        left: 0;
    }
    .main-banner:hover .btn-next{
        opacity: 1;
        right: 0;
    }
    /*End main banner*/


    /*Product card*/
    .product-card{
        display: flex;
        margin-left: -16px;
        margin-right: -16px;
    }

    .product-card-gallery-col,
    .product-card-props-col{
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-card-gallery-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 46%;
        flex: 0 0 46%;
        max-width: 46%;
    }
    .product-card-props-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .product-card-gallery-col + .product-card-props-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 54%;
        flex: 0 0 54%;
        max-width: 54%;
    }



    .product-card-blocks{
        position: relative;
        display: flex;
        align-items: center;
    }
    .product-card-block{
        box-sizing: border-box;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        text-align: left;
    }
    .product-card-block_btn{
        text-align: right;
    }
    .product-card-block[style='display: none;']+.product-card-block_btn{
        text-align: left;
    }
    /*End product card*/

    
    .promo-counter-circle__digits{
        font-size: 70px;
        line-height: 70px;
    }
    .promo-counter-circle__title{
        font-size: 16px;
        line-height: 24px; 
    }

    .promo-counter-circle{
        width: 270px;
        height: 270px;
    }
    .promo-counter-circle__title{
        max-width: 240px;
    }




    /*Service News*/
    .service-items,
    .service-page-item,
    .news-item-wrap{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .service-items{
        margin-left: -15px;
        margin-right: -15px;
    }
    .service-item-wrapper{
        box-sizing: border-box;
        padding-right: 15px;
        padding-left: 15px;
    }
    .service-item-wrapper:before,
    .service-item-wrapper:after{
        right: 15px;
        left: 15px;
    }


    .service-page__content{
        margin-bottom: 50px;
    }
    .service-page-item-wrap{
        padding-bottom: 35px;
    }
    .service-page-item-wrap:not(:last-child){
        margin-bottom: 27px;
    }
    .service-page-item{
        align-items: center;
    }
    .service-page-item-descr{
        width: 70%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
        margin-bottom: 0;
    }
    .service-page-item-btn{
        width: 30%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
        text-align: right;
    }

    .category-spoiler-content{
        padding: 30px 62px;
    }


    /*CATALOG*/


    /*Catalog Tile items*/
    .catalog-items.tile{
        display: flex;
        flex-wrap: wrap;
        position: relative;
        margin-left: -15px;
        margin-right: -15px;
    }

    .catalog-items.tile .catalog-item{
        box-sizing: border-box;
        width: calc(100% / 3);
        padding: 0 15px;
        border-bottom: none;
        margin-bottom: 30px
    }
    .catalog-items.tile .catalog-item:after{
        content: '';
        position: absolute;
        z-index: -1;
        top: 0;
        right: 15px;
        bottom: 0;
        left: 15px;
        border-width: 1px;
        border-style: solid;
    }
    /*.catalog-items.tile .catalog-item:hover .catalog-item-wrap{
        box-shadow: 0px 0px 0px 1px #FF633E;
    }*/



    .catalog-items.tile  .catalog-item-block_pict{
        margin-bottom: 10px;
        line-height: 150px;
    }
    .catalog-items.tile  .catalog-item-block_pict img{
        vertical-align: middle;
        max-height: 150px !important;
    }



    /*Catalog List items*/
    .catalog-items.list .catalog-item-block{
        display: flex;
        align-items: center;
    }
    .catalog-items.list .catalog-items .item-block-w84{
        width: 84%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 84%;
        flex: 0 0 84%;
        max-width: 84%;
    }

    .catalog-items.list .catalog-item-wrap{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .catalog-items.list .catalog-item-content__header {
        font-size: 20px;
        line-height: 24px;
    }

    .catalog-items.list .catalog-item-block_pict{
        width: 16%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16%;
        flex: 0 0 16%;
        max-width: 16%;
        justify-content: center;
    }
    .catalog-items.list .catalog-item-block_content{
        width: 60%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    .catalog-items.list .catalog-item-block_price{
        width: 24%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 24%;
        flex: 0 0 24%;
        max-width: 24%;
    }
    .catalog-items.list .catalog-item-content,
    .catalog-items.list .catalog-item-prices{
        text-align: left;
    }

    .catalog-items.list .catalog-item-content__props,
    .catalog-items.list .catalog-item-content__text{
        display: block;
    }
    .catalog-items.list .catalog-item-block_btn{
        display: none
    }    


    /*Root catalog*/
    .category-items-wrapper .catalog-items .catalog-item-block_pict{
        width: 14%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 14%;
        flex: 0 0 14%;
        max-width: 14%;
    }
    .category-items-wrapper .catalog-items .catalog-item-block_content{
        width: 60%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    .category-items-wrapper .catalog-items .catalog-item-block_price{
        width: 26%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 26%;
        flex: 0 0 26%;
        max-width: 26%;
    }
    /*END Catalog item columns*/

    .service-item-wrapper{
        width: 33%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33%;
        flex: 0 0 33%;
        max-width: 33%;
    }
    /*End Catalog*/


    /*News*/
    .news-item-block_pict{
        width: 16%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16%;
        flex: 0 0 16%;
        max-width: 16%;
        justify-content: center;
    }
    .news-item-block_content{
        width: 64%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 64%;
        flex: 0 0 64%;
        max-width: 64%;
        text-align: left;
    }
    .news-item-block{
        display: flex;
        align-items: center;
    }
    /*End News*/


    .footer-middle-block-contacts{
        margin-top: 10px;
    }

    /*Advice*/
    .advice-block{
        margin-bottom: 68px;
    }
    .advice-block:before{
        content: '';
    }
    .advice-block-info__header{
        font-size: 35px;
    }
    .advice-block-info{
        padding: 72px 70px 63px 20px;
        text-align: right;
        color: #fff;
    }
    .advice-block-form{
        padding: 42px 50px;
        text-align: left;
    }


    /*Main News*/
    .news-block{
        padding-top: 65px;
        margin-bottom: 22px;
    }
    .news-block__header{
        margin-bottom: 42px;
    }
    .news-block-item{
        display: flex;
        text-align: left;
    }
    .news-block-item__pict{
        flex: 0 0 140px;
        margin-right: 30px;
    }
    .news-block-item-content{
        flex: 0 0 calc(100% - 170px);
    }

    /*Cart*/
    .cart-table-header{
        display: flex;
    }
    .cart-table-item{
        display: flex;
        align-items: center;
    }

    .cart-table-item-col{
        box-sizing: border-box;
        margin-bottom: 0;
    }
    .cart-table-item-tip{
        display: none;
    }
    .cart-table-item-col_img_name{
        padding-right: 10px;
        padding-left: 40px;
        width: 41%;
        flex: 0 0 41%;
        max-width: 41%;
        text-align: left;
    }
    .cart-table-item-col_img{
        padding-right: 20px;
        padding-left: 40px;
        width: 16%;
        flex: 0 0 16%;
        max-width: 16%;
        line-height: 0;
    }
    .cart-table-item-col_name{
        padding-right: 10px;
        padding-left: 20px;
        width: 33%;
        flex: 0 0 33%;
        max-width: 33%;
        text-align: left;
    }
    .cart-table_with-discount .cart-table-item-col_name{
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .cart-table-item-col_price{
        width: 12%;
        flex: 0 0 12%;
        max-width: 12%;
    }
    .cart-table-item-col_amount{
        width: 16%;
        flex: 0 0 16%;
        max-width: 16%;
    }
    .cart-table-item-col_discount{
        width: 12%;
        flex: 0 0 12%;
        max-width: 12%;
    }
    .cart-table-item-col_sum{
        width: 15%;
        flex: 0 0 15%;
        max-width: 15%;
    }
    .cart-table-item-col_del{
        width: 8%;
        flex: 0 0 8%;
        max-width: 8%;
    }
    .cart-table_with-discount .cart-table-item-col_del{
        width: 4%;
        flex: 0 0 4%;
        max-width: 4%;
    }
    .cart-table-footer{
        display: flex;
        align-items: center;
    }
    .cart-table-footer-col-left,
    .cart-table-footer-col-right{
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0;
    }
    .cart-table-footer__total-amount{
        text-align: left;
    }
    .cart-table-footer-discount,
    .cart-table-footer-summary,
    .cart-table-footer-remove{
        text-align: right;
    }


    /*News*/
    .general-item{
       display: flex;
       align-items: center;
       text-align: left;
    }
    .general-item-pict,
    .generel-item-content{
        box-sizing: border-box;
    }


    .general-item-pict,
    .general-item-pict_reviews{
        width: 170px;
        flex: 0 0 170px;
        max-width: 170px;
        margin: 0 30px 0 0;
    }
    .general-item-pict_reviews{
        width: 120px;
        flex: 0 0 120px;
        max-width: 120px;
    }
    .generel-item-content{
        width: calc(100% - 200px);
        flex: 0 0 calc(100% - 200px);
        max-width: calc(100% - 200px);
    }
    .general-item-pict_reviews + .generel-item-content{
        width: calc(100% - 150px);
        flex: 0 0 calc(100% - 150px);
        max-width: calc(100% - 150px);
    }


    .library-list{
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        column-gap: 16px;

    }
}

/*XL*/
@media (min-width: 1200px) {

    body{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        min-height: 100vh;
    }
    footer {
        margin-top: auto;
    }


    /*Menu main*/
    .menu-main{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .menu-main-item{
        flex: 1 1 auto;
    }

    .top-panel-menu-item{
        padding: 0 18px;
    }
    .header .search-form-wrapper{
        max-width: 555px;
    }


    .advantages-block-item{
        min-height: 260px;
    }
    .advantages-block-item>div{
        top: 40px;
        transition: all .2s ease-out;
    }
    .advantages-block-item__text{
        opacity: 0;
        transition: all .2s ease-out;
    }
    .advantages-block-item:hover>div{
        top: 0;
    }
    .advantages-block-item:hover .advantages-block-item__text{
        opacity: 1;
    }

    /*Product card*/
    .product-card-gallery-img{
        padding-top: 8px;
        line-height: 322px;
    }
}


@media (min-width: 1600px) {
    /*Main banner*/
    .main-banner .slick-list{
        max-height: 40vh;
    }

}


/*
@media (max-width: 1199px) {

}

@media (max-width: 991px){

}

@media (max-width: 767px) {

}*/