html {
    font-size: 16.4px;
}
body {
    font-family: 'Moscow Sans';
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: #212529;
    text-align: left;
}

header img.logo{
    margin: 18px 0;
}

.btn-primary{ 
    color: #fff;
    background-color: #d80608;
    border-color: #d80608;
}
.btn{
    border: 1px solid transparent;
    padding: 1rem;
    border-radius: 0;
    text-transform: uppercase;
}
.btn-primary.focus, .btn-primary:focus,
.btn-primary:hover, 
.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle {
    background-color: #EC1518;
    border-color: #EC1518;
    box-shadow: none;
}

.btn-box:after{
    content: '\f096';
    font-family: 'FontAwesome';
    margin-left: 1rem;
    font-weight: bold;
}

.form-control:focus {
    box-shadow: none;
}

    h2.section-title{
        font-family: 'Moscow Sans';
        color: #505050;
        text-transform: uppercase;
        margin-bottom: 3rem;
        margin-left: 4rem;
        font-weight: bold;
    }
    h2.section-title:before{
        content: '\f096';
        font-family: 'FontAwesome';
        color: #d70609;
        display: block;
        float: left;
        font-size: 20px;
        font-weight: bold;
        margin: 4px 1rem 0 -3rem;
    }
    h2.section-title strong{
        color: #d80606;
    }


/* header + mobile menu */

    header{
        position: relative;
        background-color: #4d4d4d;
        max-width: 1350px;
        margin: 0 auto;
    }
    header .container{
        background-color: #fff;
    }
    header:before{
        content: '';
        display: block;
        position: absolute;
        height: 100%;
        width: 50%;
        background-color: #fff;
    }
    header a:hover{
        text-decoration: none;
    }
    header .linear{
        padding: 30px 0.6rem 30px 2rem;
    }
    header .linear:before{
        content: '';
        display: block;
        position: absolute;
        width: 2px;
        height: 50%;
        top: 25%;
        left: 14px;
        background-color: #333;
    }
    header .worktime{
        font-size: 13px; 
        color: #777;
    }
    header .phone a{
        color: #000;
    }
    header .phone img{
        height: 18px;
        margin-top: -3px;
    }
    header .phone a:hover{
        color: #d80606;
    }
    header .streth{

        display: flex;
        align-items: center;        
        height: 100%;
        background-color: #4d4d4d;
        color: #fff;
        padding: 30px 0.6rem 30px 1rem;
        font-size: 13px;
        text-transform: uppercase;
        
        border-right: 1px #000 solid;
        border-left: 1px #999 solid;
        transition: all 0.4s ease;
    }

    header .streth:hover{
        background-color: #d80606;
    }
    header .fa{
        font-size: 24px;
    }
    header .menu{
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #d80606;
        color: #fff;
    }
    .menu-mobile{
        display: flex;
        position: absolute;
        background-color: #fff;
        flex-direction: column;
        top: 90px;
        left: -300px;
        box-shadow: 0 0 30px 0 #0005;
        transition: all 0.4s ease;
    }
    .menu-mobile.active{
        left: 10px;
    }
    .menu-mobile .menu-item{
        font-size: 14px;
        text-transform: uppercase;
        color: #333;
        background-color: #f6f6f6;
        padding: 1rem 1.4rem;
        transition: all 0.4s ease;
    }
    .menu-mobile .menu-item + .menu-item{
        border-top: 1px #ccc solid;
    }
    .menu-mobile .menu-item:hover{
        text-decoration: none;
        color: #d80606;
    }
    
/* slider */

    
    
    #slider{
        position: relative;
        max-width: 1350px;
        margin: 0 auto;
    }
    #slider .slide{
        background-position: 70% 0;
        background-size: cover;
        background-repeat: no-repeat;
        height: 640px;
        max-width: 1350px;
        margin: 0 auto;
    }
    #slider .socials{
        display: flex;
        height: 100%;
        min-height: 64px;
        align-items: center;
    }
    #slider .social{
        margin-left: 0.4rem;
    }
    #slider .social:first-child{
        margin-left: 1rem;
    }
    #slider .social img{
        height: 24px;
    }
    
    #slider .static{
        position: absolute;
        width: 100%;
        top: 0;
        transition: all 0.4s ease;
    }
    #slider .static.sticky{
        position: fixed;
        top: 0;
        background-color: #4d4d4d;
        z-index: 10;
    }
    #slider .static.sticky .socials{
        display: none !important;
    }
    
    #slider .static .menu-wrap{
        border-bottom: 1px #fff7 solid;
        height: 64px;
    }
    #slider .static.sticky .menu-wrap{
        border-bottom: none;
        box-shadow: 0 0 10px 0 #0005;
    }
    
    #slider .static .menu-logo{
        align-self: center;
        display: none;
    }
    #slider .static .menu-logo img{
        height: 56px;
    }
    #slider .static.sticky .menu-logo{
        display: block;
    }
    
    .top-menu{
        display: flex;
        align-items: center;
    }
    .top-menu .menu-item{
        font-size: 14px;
        text-transform: uppercase;
        color: #fff;
        padding: 1.4rem 1rem;
        transition: all 0.4s ease;
    }
    .top-menu .menu-item:hover{
        text-decoration: none;
        background-color: #0002;
    }


    #slider .form-wrap{
        position: absolute;
        padding: 80px 1rem;
        color: #fff;
        top: 65px;
        height: 575px;
        background-color: #999;
    }
    #slider .form-wrap h4{
        font-size: 18px;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 1rem;
    }
    #slider .form-wrap label{
        font-size: 14px;
        margin-bottom: 4px;
        text-transform: uppercase;
    }
    #slider .form-wrap input[type="text"]{
        margin-bottom: 10px;
        border-color: #fff;
        color: #fff;
        border-radius: 0;
        background-color: transparent;
    }
    #slider .form-wrap input::-webkit-input-placeholder {color: #ccc}
    #slider .form-wrap input::-ms-input-placeholder {color: #ccc}
    #slider .form-wrap input::-moz-placeholder {color: #ccc}
    #slider .form-wrap input:-moz-placeholder {color: #ccc}
    #slider .form-wrap input:placeholder {color: #ccc}
    
    #slider .form-wrap .note{
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 10px 0;
    }

    #slider .slide .title{
        font-size: 4rem;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        margin-top: 6rem;
    }
    #slider .slide .title:after{
        content: '';
        display: block;
        height: 2px;
        width: 30%;
        background-color: #333;
    }
    #slider .slide .subtitle{
        margin-top: 1rem;
        font-size: 3rem;
        font-weight: bold;
        color: #d80606;
    }
    #slider .slide .btn{
        margin-top: 3rem;
    }

    /* dots */
    .slick-dots {
        right: 0;
        top: 50%;
        transform: translatey(-50%);
        width: 10%;
        padding: 0;
        margin: 0;
        list-style: none;
        text-align: center;
        
        bottom: auto;
    }    
    
    .slick-dots li {
        position: relative;
        display: block;
        width: 20px;
        height: 20px;
        margin: 20px 0;
        padding: 0;
        cursor: pointer;
    }    
    
    
    .slick-dots li button::before {
        opacity: 1;
        content: '\f096';
        font-family: 'FontAwesome';
        font-size: 22px;
        font-weight: bold;
        color: #fff;
    } 
    .slick-dots li.slick-active button::before {
        opacity: 1;
        color: #d80608;
    }       

/* products */

    #products .product-item{
        position: relative;
        max-width: 350px;
        margin: 0 auto;
    }
    #products .product-item .text{
        position: absolute;
        width: 100%;
        padding: 20px;
        bottom: 0;
    }
    #products .product-item .price{
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 1rem;
    }
    #products .product-item .price .old{
        font-size: 1.4rem;
        position: relative;
    }
    #products .product-item .price .old:after{
        content: '';
        display: block;
        width: 6rem;
        height: 1.8rem;
        top: 0rem;
        left: -0.2rem;
        background-image: url('/img/cross.png');
        background-size: cover;
        position: absolute;
        
    }
    #products .product-item .price .new{
        font-size: 1.6rem;
        color: #d80608;
    }
    #products .product-item .action{
        text-align: center;
    }

/*  features */

    #features{
        max-width: 1350px;
        margin: 0 auto;        
    }
    #features .background{
        width: 100%;
        max-width: 1350px;
        margin: 0 auto;
    }
    #features .overlay{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
    }
    #features .rel{
        position: relative;
    }
    
    .flex-grid{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: space-around;
    }
    .flex-cell{
        width: 50%;
        display: flex;
        align-items: center;
        
        color: #fff;
    }
    .top-left{
        flex-direction: row;
    }
    .top-right{
        flex-direction: row-reverse;
        text-align: right;
    }
    .bottom-left{
        flex-direction: row;
    }
    .bottom-right{
        flex-direction: row-reverse;
        text-align: right;
    }
    
    .flex-cell .icon img{
        width: 4rem;
    }
    .flex-cell .text{
        margin: 0 1.4rem;
        max-width: 18rem;
        line-height: 1.4em;
    }
    .flex-cell .title{
        font-size: 1.4rem;
        text-transform: uppercase;
        margin-bottom: 10px;
        font-weight: 700;
    }

/* details */

    #details .details-item{
        max-width: 280px;
        margin: 0 auto;
    }
    #details .card-title{
        margin-top: 1rem;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
    }

/* measure */

    #measure{
        height: 560px; /* const */
        background-image: url('/img/measure-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        padding-top: 1px;
        max-width: 1350px;
        margin: 0 auto;
    }
    #measure .box{
        max-width: 450px;
        margin: 30px auto 0;
        background-color: #fff;
        padding: 30px 60px;
        box-shadow: 10px 10px 30px 0 #00000077;
    }
    #measure h4{
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
    }
    #measure .subtitle{
        margin: 20px 0;
        text-transform: uppercase;
        text-align: center;
    }
    #measure label{
        font-size: 14px;
        margin-bottom: 4px;
        text-transform: uppercase;
    }
    #measure input[type="text"]{
        margin-bottom: 10px;
        border-radius: 0;
    }
    #measure .note{
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 10px 0;
    }

/* besides */

    #besides{
        background-image: url('/img/besides-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 100% center;
        padding: 30px 0 40px;
        height: 480px;
        max-width: 1350px;
        margin: 0 auto;
    }
    #besides .besides-item{
        max-width: 280px;
        margin: 0 auto;
    }
    #besides .card-title{
        font-size: 1rem;
        text-transform: uppercase;
        margin-top: 1rem;
        font-weight: bold;
        text-align: center;
    }

/* installment  */
    
    #installment{
        background-color: #d80608;
        max-width: 1350px;
        margin: 0 auto;
    }
    #installment h2.section-title:before{
        color: #fff;
    }
    #installment h2.section-title strong{
        color: #fff;
    }
    #installment ul li{
        color: #fff;
        font-size: 1.4rem;
        margin-bottom: 2rem;
        
    }
    #installment ul{
        list-style: none;
        padding: 0;
    }
    #installment ul li:before{
        content: "\f046";
        font-family: 'FontAwesome';
        font-size: 1.6rem;
        display: block;
        float:  left;
        margin: 0 20px 0px 10px;
    }
    #installment .btn-primary{
        border: 1px #fff solid;
    }

/* leader */

    #leader{
        background-image: url(/img/leader-bg.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        
        max-width: 1350px;
        margin: 0 auto;
        
        padding: 6rem 0;
        color: #fff;
    }
    #leader h2{
        text-transform: uppercase; 
        margin-right: 2rem;  
    }
    #leader .icon{
        margin: 1rem 0;
    }

/* prices - loyalty */

    #prices{
        background-color: #fff;
        max-width: 1350px;
        margin: 0 auto;
    }
    #prices ul li{
        font-size: 1.4rem;
        margin-bottom: 2rem;
        
    }
    #prices ul{
        list-style: none;
        padding: 0;
    }
    #prices ul li:before{
        content: "\f046";
        font-family: 'FontAwesome';
        font-size: 1.6rem;
        color: #d80608;
        display: block;
        float:  left;
        margin: 0 20px 30px 10px;
    }
    #prices .btn-primary{
        border: 1px #fff solid;
    }

/*  offers */

    #offers{
        background-image: url('/img/offers-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 100% center;
        padding: 40px 0 60px;
        height: 500px;
        max-width: 1350px;
        margin: 0 auto;
    }
    #offers .offers-item{
        max-width: 320px;
        margin: 0 auto;
    }
    #offers .card-title{
        font-size: 1rem;
        text-transform: uppercase;
        margin-top: 1rem;
        font-weight: bold;
        text-align: center;
    }

/*  action + timer */

    #action{
        background-image: url('/img/action-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 600px; /* const */
        max-width: 1350px;
        margin: 0 auto;
        padding-top: 1px;
    }
    #action .box{
        max-width: 450px;
        margin: 30px auto 0;
        background-color: #fff;
        padding: 30px 50px;
        box-shadow: 10px 10px 30px 0 #00000077;
    }
    #action h4{
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
    }
    #action .subtitle{
        margin: 20px 0 10px;
        font-size: 16px;
        text-transform: uppercase;
        text-align: center;
        color: #aaa;
    }
    #action label{
        font-size: 14px;
        margin-bottom: 4px;
        text-transform: uppercase;
    }
    #action input[type="text"]{
        margin-bottom: 10px;
        border-radius: 0;
    }
    #action .note{
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 10px 0;
    }
    
    #clock{
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    #clock .clock-item + .clock-item{
        margin-left: 20px;
    }
    #clock .clock-item{
        font-size: 14px;
        text-align: center;
        color: #aaa;
        line-height: 1.6em;
    }
    #clock .clock-item div{
        font-size: 40px;
        font-weight: bold;
        color: #d80606;
        text-align: center;
    }

/*  news */

    #news{
        padding: 40px 0 40px;
        max-width: 1350px;
        margin: 0 auto;
    }
    #news .news-item{
        background-color: #d80606;
        border-radius: 30px;
        border: 10px #d80606 solid;
        color: #fff;
        max-width: 350px;
        margin: 0 auto;
    }
    #news .news-item img{
        border-radius: 20px 20px 0 0;
    }
    #news .title{
        margin: 10px 0;
        text-align: center;
        font-size: 20px;
        text-transform: uppercase;
    }

/* reviews */

    #reviews .reviews-item{
        background-color: #fff;
        padding: 16px;
        border: 1px #ccc solid;
        box-shadow: 0 0 20px 0 #0005;
        height: 300px;
        position: relative;
        max-width: 350px;
        margin: 2rem auto;
    }
    #reviews .reviews-item .title{
        color: #d80606;
        margin-bottom: 20px;
    }
    #reviews .reviews-item p{
        font-size: 0.9rem;
        color: #777;
    }
    #reviews .reviews-item .customer{
        position: absolute;
        right: 16px;
        bottom: 36px;
    }
    #reviews .reviews-item .city{
        position: absolute;
        right: 16px;
        bottom: 16px;
        font-size: 0.9rem;
    }

/* completed works */

    #copleted .filter{
        font-size: 18px;
        font-weight: bold;
        color: #333;
        padding: 0.4em 0.6em;
        transition: all 0.4s ease;
    }
    #copleted .filter:hover{
        color: #d80606;
        text-decoration: none;
    }
    #copleted .filter.active{
        background-color: #d80606;
        color: #fff;
    }
    #copleted .filter{
        margin-right: 20px;
    }
    #copleted .work-item{
        border: 10px #ccc solid;
        height: 180px;
        background-size: cover;
        background-position: center center;
        max-width: 300px;
        margin: 0 auto;
    }

/* question */

    #question{
        background-color: #eee;
        max-width: 1350px;
        margin: 0 auto;
    }
    #question h2{
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
    }
    #question .subtitle{
        font-size: 0.9rem;
        text-transform: uppercase;
        color: #777;
    }
    #question img{
        margin-top: 2rem;
        width: 100%;
        max-width: 450px;
    }

/* footer */

    footer{
        background-color: #222;
        color: #eee;
        padding: 40px 0 0;
    }
    footer a{
        color: #ccc;
        transition: all 0.4s ease;
    }
    footer a:hover{
        color: #d80608;
        text-decoration: none;
    }

    footer h3{
        color: #fff;
        font-size: 30px; 
        text-transform: uppercase;  
        margin-bottom: 2rem;
    }
    footer .logo{
        margin-bottom: 1rem;
    }
    footer h3.marker:before{
        content: '\f096';
        font-family: 'FontAwesome';
        font-size: 20px;
        font-weight: bold;
        margin-right: 1rem;
        color: #d70609;
    }
    footer .social + .social{
        margin-left: 0.4rem;
    }
    footer .social img{
        height: 24px;
    }
    
    footer .copyright{
        padding: 20px 0;
    }
    footer .copy{
        font-size: 0.8rem;
    }
    footer .min{
        font-size: 0.9rem;
    }

/* modal dialogs */

    .modal-dialog{
        margin-top: 10%;
    }

/* ---------------- responsive ----------------- */
/* min по возрастанию */
@media(min-width:766px){
    .modal-show{
        display: none;
    }
    .modal-hide{
        display: block;
    }
}
@media(min-width:992px){
    #offers .offers-carousel{
        justify-content: center;
    }
}


/* max по убыванию */
@media(max-width:1199px){
    html{
        font-size: 14px;
    }
}
@media(max-width:991px){
    .flex-cell .text{
        color: #333;
    }
}
@media(max-width:767px){
    .modal-show{
        display: block;
    }
    .modal-hide{
        display: none;
    }
    header{
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 11;
        box-shadow: 0 0 30px 0 #0007;
    }
    header .linear:before{
        display: none;
    }
    header .streth{
        padding: 30px 0;
        justify-content: center;
    }
    header img.logo {
        margin: 10px 0;
        height: 60px;
    }
    #slider{
        margin-top: 84px;
    }
    #slider .static{
        display: none !important;
    }

    #slider .slide .title{
        font-size: 3rem;
    }
    #slider .slide .subtitle{
        font-size: 2rem;
    }

    
    /* преимущества */
    #features .background{display:none}
    #features .overlay {
        position: relative; 
        background-color: #ccc; 
        padding: 2rem 0;
    }
    .flex-cell{
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 2rem;
    }
    .flex-cell .text{color: #fff;}
    .flex-cell .icon {margin-bottom: 1rem;}
    
    #measure .box,
    #action .box{
        padding: 30px;
        max-width: 360px;
    }
    
    #reviews .reviews-item .city,
    #reviews .reviews-item p{
        font-size: 1rem;
    }
    
    #details .card-title,
    #besides .card-title,
    #offers .card-title{
        font-size: 1.5rem;
    }
    
    .slick-prev{
        left: 0;  
    }
    .slick-next{
        right: 0;
    }
    .modal-dialog{
        margin-top: 25%;
    }
    
}
