


@media screen and (max-width:1500px) {


}

@media screen and (max-width:1300px) {

    header .content-block,
    .advantages__home,
    .categorys_complex .content-block,
    .first-screen .content-block,
    .fnc--products--listitem,
    .steps__home .content-block,
    .form__home .content-block,
    .contacts .content-block,
    footer .content-block,
    .underfooter .content-block{
        padding-left:24px;
        padding-right:24px;
    }

    .first-screen .img-block {
        top: -20px;
    }

    .first-screen .text-block {
        padding: 70px 0 70px;
    }

    nav {
        top: calc(100% - 60px);
        width: calc(100% - 60px)
    }

    .fnc--center--articles__listitem {
        max-width: calc(33.333% - 20px);
    }

    .fnc--products--listitem__image:before {
        right: 0;
    }

    body:before {
        width: 65%;
    }

    .first-screen .text-block {
        padding: 130px 0 70px;
    }

    .footer_inner:nth-child(2) {
        margin: 0 auto;
        padding: 0 20px;
    }

    footer .menu--chapters li {
        margin: 0;
        text-align:center;
    }

    footer .menu--chapters{
        display:block;
    }

    footer .menu--chapters li:before{
        display:none;
    }

    
}

@media screen and (max-width:1200px){

    #modal-form__5:before{
        width:400px;
    }

    #modal-form__5{
        padding-left:400px;
    }


   
    .fnc--products--listitem > .content-block:nth-child(even) .item__description{
        padding-left: 24px;
    }

    .fnc--products--listitem > .content-block:nth-child(odd) .item__description{
        padding-right: 24px;
    }

    .fnc--products--listitem__name {
        font-size: 1.8em;
    }

    header .content-block {
        border-radius: 0;
        margin-top: 0;
    }

    .first-screen {
        padding: 90px 0;
    }

    body:before {
        background: url(/img/bg__first_screen__right.jpg) no-repeat left top;
        background-size: auto 90%;
    }

    .first-screen h1 {
        font-size: 2.3em;
    }

    .first-screen p.after-h {
        font-size: 1.45em;
    }
    
    .title__advantage {
        font-size: 1.2em;
    }

 

}

@media screen and (max-height:750px) {

	
}

@media screen and (max-height:700px) {


}

@media screen and (max-width:1100px) {


    .fnc--products--listitem .content-block {
        align-items: center;
        justify-content: center;
        padding: 75px 0;
        display: flex;
        flex-direction: column;
    }

    .fnc--products--listitem > .content-block .fnc--products--listitem__image{
        order:2;
    }

    .steps ul li span:before {
        left: calc(100% - 38%);
    }

    .fnc--products--listitem > .content-block:nth-child(odd) .item__description {
        padding-right: 0;
        padding-bottom: 24px;
    }

    .fnc--products--listitem > .content-block:nth-child(even) .item__description {
        padding-left: 0;
        padding-bottom: 24px;
    }

    header nav{
        top: 0;
        width: 320px;
        right: -340px;
        left: auto;
        height: 100%;
        z-index: 101;
        position: fixed;
        padding: 64px 20px 60px 40px;
        box-shadow: 0px 0px 80px rgb(0 0 0 / 12%);
    }

    header nav.active{
        top:0;
        right:0;
    }

    header .menu--chapters{
        display:block;
    }

    header .menu--chapters li{
        margin-bottom:24px;
    }

    header .menu--chapters li:last-child {
        margin-right: 35px;
    }

    header .menu--chapters li:last-child:before{
        display:block;
    }

    header div.massangers {
        margin: 0 50px;
    }

    .content-block > h3, .content-block > h2, .faq__home h3, .form__home h2 {
        font-size: 1.8em;
    }

    .advantages__home .flex-block {
        display: flex;
        flex-wrap: wrap;
        justify-content:center;
        text-align:center;
    }

    .advantages__home .advantage {
        flex-basis: 336px;
        max-width: calc(50% - 30px);
    }

    .image__advantage{
        margin:20px auto;
    }


}

@media screen and (max-width:1000px) {

    #modal-form__5:before{
        width:400px;
    }

    #modal-form__5{
        padding-left:400px;
    }



    .steps__home .steps ul{
        flex-wrap: wrap;
        justify-content: center;
    }

    .steps ul li span:before{
        display:none;
    }

    .steps ul li {
        list-style: none;
        text-align: center;
        flex-basis: calc(33.333% - 24px);
        margin-bottom:24px;
    }

    .form__home:before{
        display:none;
    }

    .form__home .content-block {
        min-height: 1px;
        justify-content: center;
    }
    
    .steps__home:before {
        top: 161px;
    }
}


@media screen and (max-width:900px){


    #modal-form__5:before{
        width:80px;
    }

    #modal-form__5:after{
        display:none;
    }

    #modal-form__5{
        padding-left: 80px;
    }

    

    .first-screen .img-block {
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        line-height: 0;
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }

    .first-screen h1,
    .first-screen p.after-h {
        color: #fff;
    }
    
    header .social{
        display:none;
    }

    .advantages__home .advantage{
        flex-basis: 336px;
        max-width: calc(50% - 30px);
        margin-bottom: 36px;
    }

    .cat__block:last-child{
        margin-right:0;
    }

    .first-screen {
        padding: 90px 0;
        background: url(/img/bg__first_screen__right.jpg) no-repeat center top;
        background-size: 1400px;
    }

    .first-screen:before {
        content:'';
        position: absolute;
        z-index: 0;
        top: 0;
        right: 0;
        left:0;
        bottom:0;
        background:rgba(0,0,0,0.4)
    }

    .home.open-page .first-screen .img-block{
        display:none;
    }


}

@media screen and (max-width:800px){

    header div.massangers {
        margin: 0 30px;
    }

    .cat__title {
        font-size: 1.12em;
    }

    .cat__description {
        margin: 0;
        font-size: 0.9em;
    }

    header div.massangers{
        display:none;
    }

    section.active .content-block > h2, section.active .content-block > h3, section.active .content-block > h3 + .after-h, section.active .content-block > h2 + .after-h, .form__home h2, .form__home .after-h  {
        text-align: center;
    }

    .advantages__home .advantage {
        flex-basis: 100%;
        max-width: 366px;
    }

    .advantages__home .content-block {
        padding: 60px 0 60px;
    }

    .content-block > h3 + .after-h:before, .content-block > h2 + .after-h:before{
        display:none;
    }

    .content-block > h3 + .after-h br, .content-block > h2 + .after-h br{
        display:none;
    }   


}


@media screen and (max-width:700px) {

    #modal-form__5:before{
        display:none;
    }

    #modal-form__5{
        padding-left: 24px;
    }

    .home.open-page .first-screen .text-block {
        text-align: center;
        width: 100%;
    }

    .categorys_complex {
        background: #f2f9ff;
    }

    .categorys_complex .content-block > h2 {
        margin-bottom: 16px;
    }

    .categorys_complex .flex-block{
        flex-wrap:wrap;
    }

    .cat__block,
    .cat__block:last-child {
        flex-basis: 555px;
        max-width: 80%;
        margin: 0 auto 30px;
    }

    .categorys_complex:before,
    .steps__home:before{
        display:none;
    }

    .fnc--products--listitem {
        margin: 0;
    }

    .fnc--products--listitem > .content-block .fnc--products--listitem__image {
        order: 2;
        margin: 0 0 24px;
    }

    .fnc--products--listitem > .content-block .fnc--products--listitem__name {
        order: 1;
    }

    .fnc--products--listitem > .content-block .item__description,
    .fnc--products--listitem > .content-block:nth-child(even) .item__description {
        order: 3;
    }

    .item__description{
        display:flex;
        flex-direction:column;
    }

    .item__description .fnc--products--listitem__info{
        order:1;
    }

    .item__description .fnc--products--listitem__buy{
        order:2;
    }

    div.content-block .fnc--products--listitem__image img{
        max-height: 450px;
        max-width: 450px;
    }

    .fnc--products--listitem .content-block:nth-child(even){
        background: #f2f9ff;
    }

    .fnc--products--listitem__image:before{
        display:none;
    }

    .fnc--products--listitem {
        padding-left: 0;
        padding-right: 0;
    }

    .fnc--products--listitem .content-block {
        padding: 40px 24px;
    }
    
    .steps ul li {
        flex-basis: 50%;
    }

    .steps__home .content-block > h3 {
        padding-bottom: 40px;
    }

    .steps__home {
        margin: 0 0 0;
    }

    .form__home .content-block {
        background: #f2f9ff;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .map-block{
        order:1;
        border-radius: 20px;
    }

    #contacts .flex-block{
        flex-wrap:wrap;
    }

    footer .content-block{
        flex-wrap:wrap;
    }

    footer .content-block {
        flex-direction: column;
    }

    .footer_inner:nth-child(2) {
        margin: 0 auto;
        padding: 24px 20px;
    }

    .underfooter .content-block {
        flex-direction: column;

    }

    .underfooter__inner:first-child{
        order:1;
        margin: 10px 0 0;
    }

    .underfooter__inner:nth-child(2) p{
        margin-top:0;
    }

    .categorys_complex .button-bl {
        position: relative;
        top: 0;
    }


}

@media screen and (max-width:600px) {

    .attrs__parameters .img-block {
        width: 120px;
    }

    .attr__color {
        flex-basis: 120px;
    }

    body * {
        font-size: 16px;
    }

    .js__body--popup,
    .fancybox-content {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: 100%;
        z-index: 401;
        background: #fff;
        border-radius: 0;
        overflow-y: scroll;
        box-sizing: border-box;
    }

    .popup--callme--container{
        padding: 73px 24px 24px;
        box-sizing: border-box;
    }

     .form__home .after-h br{
        display:none;
     }

    .fancybox-inner .fancybox-slide--html {
        padding: 0;
    }

    .fancybox-stage .fnc--feedback--container {
        text-align: center;
        width: 100%;
    }

}

@media screen and (max-width:500px) {

    .color__description {
        font-size: 0.6em;
    }

    header .content-block {
        height: 70px;
    }

    header .content-block, .advantages__home, .categorys_complex .content-block, .first-screen .content-block, .steps__home .content-block, .form__home .content-block, .contacts .content-block, footer .content-block, .underfooter .content-block {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header--centerhead--inner__logo img{
        max-height:40px;
    }

    header .phones:before{
        display:none;
    }

    .phones {
        padding: 0 0 0 0;
    }
    
    .languages {
        margin: 0 20px;
    }

    .first-screen .content-block {
        min-height: 465px;
    }

    .first-screen .text-block {
        padding: 70px 0 70px;
    }

    .fnc--products--listitem__name {
        font-size: 1.6em;
    }

    .attrs__parameters .img-block {
        width: 104px;
    }

    .attr__color {
        flex-basis: 104px;
    }


    .attrs__parameters .img-block img {
        max-height: 44px;
    }

    div.content-block .fnc--products--listitem__image img {
        max-height: 350px;
        max-width: 350px;
    }

    .fnc--feedback__title {
        font-size: 1.2em;
    }

    .contacts-bl {
        margin-left: 0;
    }
 
}

@media screen and (max-width:400px) {

    .content-block > h3, .content-block > h2, .faq__home h3, .form__home h2 {
        font-size: 1.6em;
    }

    .attr__color {
        flex-basis: 95px;
    }

    .attrs__parameters .img-block {
        width: 95px;
    }

    .fnc--products--listitem__name {
        font-size: 1.4em;
    }

    .languages{
        flex-direction:column;
    }

    .languages > div:first-child {
        margin-right: 0;
        position: relative;
    }

    .languages > div:first-child:before {
        content: '';
        position: absolute;
        right: 0;
        left: -5px;
        top: 23px;
        bottom: 0;
        margin: auto;
        height: 1px;
        width: 30px;
        background: #E5E5E5;
    }
   
}

@media screen and (max-width:375px) {

    .first-screen h1 {
        font-size: 2.1em;
    }

    .first-screen p.after-h {
        font-size: 1.35em;
    }

    .cat__block, .cat__block:last-child {
        max-width: 90%;
    }

    .fnc--products--listitem__info {
        font-size: 1em;
    }

    .attr__color {
        flex-basis: 87px;
    }

    .attrs__parameters .img-block {
        width: 87px;
    }


}

@media screen and (max-width:351px) {


    body * {
        font-size: 14px;
    }


    div.content-block .fnc--products--listitem__image img {
        max-height: 300px;
        max-width: 300px;
    }
  
}

@media screen and (max-width:330px){

	
}