.wrapper{
    width: 960px;
    padding: 0 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

#logo{
    width: 200px;
    height: auto;
}

h1 {
    font-family: agu;
    font-size: 45px;
    line-height: 1.3;
}

h2 {
    font-family: agu;
    font-size: 40px;
    line-height: 1.3;
}

.popup_block{
    display:table;
    display: none;
    width: 780px;
    height: 90%;
    max-height: 500px;
    padding-left: 265px!important;
    box-sizing: border-box;
    text-align: center!important;            
    background-repeat: no-repeat!important; 
    background-size: cover;       

}

.form-title {
    font-family: agd;
    font-size: 22px;
    padding: 20px 0 42px 0;
}

.myinput{
    width: 300px;
    height: 80px;
    margin-bottom: 20px;
    font-family: ave;
    font-size: 18px;
    line-height: 80px;
    text-align: center;
    color: #909090;
    border: 2px solid #434A54;
    border-radius: 80px;
    outline: none;
}

.mybtn{
    display: inline-block;
    outline: none;
    border: none;
    font-family: ave;
    font-size: 18px;
    background: #F6B632;
    line-height: 50px;
    width: 300px;
    height: 50px;
    border-radius: 80px;
    color: #434a54;
    padding: 0 0;
    
}

/****************/

#header{
    min-width: 960px;
    padding: 43px 0;
}

#header .wrpper{
    overflow: hidden;
}

#header a{
    color: #303337;
}

#header p{
    font-size: 26px;
    font-family: agu;
    float: right;
    text-align: right;
    line-height: 70px;
}

#header span{
    font-family: ave;
    font-size: 14px;
    color: #909090;
}

.tel:hover{
    -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
    animation-iteration-count: infinite;
}

.tel:before{
    content: '\1F57B';
    display: inline-block;
    transform: rotate(331deg) translate(-2px, 5px);
    font-size: 1.6em;
    color: inherit;
}

/****************/

#block1 {
    overflow: hidden;
    min-width: 960px;
    height: 490px;
}

#block1 #slogan{
    font-family: agd;
    font-size: 24px;
    color: #909090;
    line-height: 1.4;
}

#slogan span {
    padding: 0 15px;
    border-radius: 15px;
    color: #fff;
    background: #303337;
}

#block1 h1{
    padding-top: 20px;
    margin-bottom: 80px;
    color: #434a54;
}


#block1 a i{
    padding-left: 10px;
}

#price{
    background: #F6B632;
    color: #434A54;
    margin-right: 8px;
}

#price:hover {
	animation: bounce 0.7s;
}

#smeta{
    position: relative;
    background: #434A54;
    color: #FFF;
    font-family: ave;
    font-size: 15px;
    line-height: 67px;
    display: inline-block;
    padding: 0 35px;
    border-radius: 100px;
    transition: background-color 0.2s;
}

#smeta:hover {
-webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
    animation-iteration-count: infinite;
}

#reload {
    display: block;
    font-family: ave;
    font-size: 14px;
    padding: 20px 0 0 10px;
    color: #909090;
}

#m1{
    background-image: url("img/m1.webp");
}

#m2{
    text-align: right;
    background-image: url("img/m2.webp");
}

#m2 h3{
    margin-bottom: 18px;
    font-size: 24px;
}

/*Калькулятор*****************/

#calc_mob{
    display: none;
}

#but_stoim {
    border: none;
    padding: 5px 15px;
    border-radius: 24px;
    font-size: 16px;
    font-family: 'agd';
    background: #546e7a;
    color: #ffffff;
    font-weight: 400;
    float: left;
}

#m2 select,#ploshad{
    float: right;
    width: 30%; 
    line-height: 20px;
    border: 2px solid #ccc;
    border-radius: 0px;
    padding: 3px;
    font-size: 14px;
}

#m2 option{
    line-height: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    font-size: 15px;
}

#stoimost{
    font-size: 18px;
    float: right;
    line-height: 28px;
}

.p_left{
    float: left;
    display: inline-block;
    line-height: 28px;
}

#priziv {
    padding-top: 10px;
    display: none;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 24px;
}

#priziv p{
    margin-bottom: 15px;
}

#priziv a {
    font-family: agu;
    color: #fff;
    display: inline-block;
    background: #455a64;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 20px;
    transition: all 0.4s;
}

#priziv a:hover {
    transform: scale(1.1);
}

.calc_div{
    line-height: 28px;
    padding: 7px 10px;
    display: block;
    overflow: hidden;
    clear: both;
    border: 1px dotted #ccc;
    margin-bottom: 5px;
}
/*******************/

#m3{
    background-image: url("img/m3.webp");
}

form h4{
    text-align: center;
    padding: 90px 0;
    font-family: ave;
    font-size: 18px;
    color: #909090;
}

/****************/

#block2{
    min-width: 960px;
    background: #37BC9B;
    padding: 100px 0;
    color: #fff;
}

#block2 h2{
    text-align: center;
    margin-bottom: 90px;
}

#block2 h3 {
    font-size: 22px;
    font-family: agd;
    margin-bottom: 10px;
}

#block2 p{
    font-size: 20px;
    line-height: 1.2em;
    font-family: ave;
}

#slider{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.slide{
    box-sizing: border-box;
    width: 45%;
    padding-top: 300px;
    background-repeat: no-repeat;
    background-position: center top;
}

.slide:nth-child(1){
    background-image: url(img/sl/1.webp);
    background-size: 60%;
}

.slide:nth-child(2){
    background-image: url(img/sl/2.webp);
    background-size: 65%;
}

.slide:nth-child(3){
    background-image: url(img/sl/3.webp);
    background-size: 70%;
}

.slide:nth-child(4){
    background-image: url(img/sl/4.webp);
    background-size: 60%;
}
 
/****************/

#block3{
    min-width: 960px;
    padding: 90px 0;
    background-image: url("img/block3_bg.webp");
    background-position: calc(50% + 300px) bottom;
    background-repeat: no-repeat;
}

#block3 h2{
    text-align: center;
    color: #303337;
    margin-bottom: 20px;
}

#block3 div span{
    line-height: 1.4;
    display: block;
    text-align: center;
    font-family: ave;
    font-size: 16px;
    color: #909090;
    margin-bottom: 100px;
}

#block3 div div{
    width: 350px;
    margin-left: 150px;
    text-align: center;
    font-family: ave;
    font-size: 16px;
    color: #909090;
    line-height: 1.3;
}

#block3 h3{
    font-family: agd;
    font-size: 24px;
    margin-bottom: 20px;
    color: #303337;
}

#block3 a:not([class*="close"]){
    margin-top: 30px;
    font-family: ave;
    font-weight: bold;
    width: 100%;
    border-radius: 50px;
    background: #f6b632;
    color: #434a54;
    line-height: 87px;
    display: inline-block;
}

#form3 h2{
    padding-bottom: 10px;
}

#phoneinput{
    height: 40px;
    line-height: 40px;
}

.textar {
    width: 300px;
    height: 120px;
    padding: 10px 20px;
    box-sizing: border-box;
    resize: none;
    line-height: 20px;
    text-align: left;
    color: #909090;
    border-radius: 23px;
}

/****************/

#block4{
    min-width: 960px;
    background: #37bc9b;
    padding: 90px 0;
}

#block4 h2{
    text-align: center;
    color: #fff;
    margin-bottom: 45px;
}

#anim{
    text-align: center;
    font-family: agd;
    font-size: 20px;
    color: #fff;
}

#anim>a {
    display: inline-table;
    width: 27%;
    height: 230px;
    padding-top: 170px;
    margin-bottom: 48px;
    text-align: left;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: top center;
}

#anim>a span{
    line-height: 1.3;
    border-bottom: 1px dotted #fff;
}

#anim>a:hover > span{
    background: #F6B632;
    color: #000;
    border-bottom: 1px dotted #000;
}

#anim>a:nth-child(1){
    background-image: url("img/1.webp");
}

#anim>a:nth-child(1):hover{
    background-image: url("img/1.gif");
}

#anim>a:nth-child(3){
    background-image: url("img/2.webp");
}

#anim>a:nth-child(3):hover{
    background-image: url("img/2.gif");
}

#anim>a:nth-child(5){
    background-image: url("img/4.webp");
}

#anim>a:nth-child(5):hover{
    background-image: url("img/4.gif");
}

#anim>a:nth-child(7){
    background-image: url("img/3.webp");
}

#anim>a:nth-child(7):hover{
    background-image: url("img/3.gif");
}

#anim>a:nth-child(9){
    background-image: url("img/7.webp");
}

#anim>a:nth-child(9):hover{
    background-image: url("img/7.gif");
}

#anim>a:nth-child(11){
    background-image: url("img/8.webp");
}

#anim>a:nth-child(11):hover{
    background-image: url("img/8.gif");
}

#anim>a:nth-child(13){
    background-image: url("img/5.webp");
}

#anim>a:nth-child(13):hover{
    background-image: url("img/5.gif");
}

#anim>a:nth-child(15){
    background-image: url("img/6.webp");
}

#anim>a:nth-child(15):hover{
    background-image: url("img/6.gif");
}

#anim>a:nth-child(17){
    background-image: url("img/9.webp");
}

#anim>a:nth-child(17):hover{
    background-image: url("img/9.gif");
}

.infoorab{
    width: 960px;
    height: 90%;
    max-height: 1100px;
    font-family: ave;
    font-size: 16px;
    color: #303337;
    text-align: left;
    box-sizing: border-box;
    overflow: auto;
    padding: 0!important;
}

.cont2{
    padding: 30px 90px;
}

.infoorab h2{
    color: #373737!important;
    margin-bottom: 30px;
}

.infoorab img{
    margin-bottom: 30px;
}

.content{
    text-align: left;
    line-height: 1.4;
}

.content p{
    margin-bottom: 20px;
}

.infoorab ul{
    margin-bottom: 30px;
}

.infoorab li{
    list-style: square;
    font-family: ave;
    color: #373737;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cb{
    height: 330px;
    background: #37bc9b;
    text-align: center;
    padding: 30px 0;
}

.cb h3{
    color: #fff;
    line-height: 1.4;
    margin-bottom: 30px;
    font-family: agd;
    font-size: 22px;
}

.cb input{
    border-color: #fff;
}

.cb h4{
    padding: 30px 0;
    color: #fff!important;
    line-height: 140px;
}

/****************/

#block5{
    min-width: 960px;
    padding-top: 90px;
}

#block5 h2{
    text-align: center;
    color: #303337;
}

#block5 li{
    background-repeat: no-repeat;
    list-style: none;
    height: 300px;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

#block5 li:nth-child(even){
    background-position: left bottom;
    padding-left: 500px;
}

#block5 li:nth-child(odd){
    background-position: right bottom;
    padding-right: 450px;
}

#block5 li:nth-child(1){
    background-image: url("img/i1.webp");
}
#block5 li:nth-child(2){
    background-image: url("img/i2.webp");
}
#block5 li:nth-child(3){
    background-image: url("img/i3.webp");
}
#block5 li:nth-child(4){
    background-image: url("img/i4.webp");
}
#block5 li:nth-child(5){
    background-image: url("img/i5.webp");
}
#block5 li:nth-child(6){
    background-image: url("img/i6.webp");
}

#block5 li:nth-child(7){
    background-image: url("img/i7.webp");
}
#block5 li:nth-last-child(1){
    border-bottom: none;
    margin-bottom: 0;
}

#block5 h3{
    font-size: 1.3em;
    line-height: 1.3;
    width: 350px;
    display: inline-block;
    padding: 70px 0 30px 0;
    font-family: agd;
    color: #303337;
}

#block5 p{
    display: inline-block;
    width: 350px;
    line-height: 1.3;
    font-family: ave;
    color: #303337;
}
/****************/

#block6{
    padding: 90px 0;
    background: #37bc9b;
    min-width: 960px;
}

#block6 h2{
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

#block6 p{
    padding: 0 100px;
    font-family: ave;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

#block6 img{
    float: right;
}

#block6 ol li{
    width: 320px;
    padding: 39px 0;
    font-family: ave;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
}

#block6 ol{
    margin-left: 50px;
}

#block6 ol li:first-letter{
    font-family: agu;
    line-height: 16px;
    font-size: 50px;
    color: #f6b632;
}
#c6 h2{
    padding: 45px 0;
    color: #303337;
}
#c6 p{
    line-height: 1.3;
    text-align: left;
    margin-bottom: 20px;
    font-family: ave;
    font-size: 16px;
}
/****************/

#block6a{
    height: 500px;
    background: url("img/do_i_posle_remonta.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/***************/
#block7{
    min-width: 960px;
    padding: 90px 0;
    text-align: center;
}

#block7 h2{
    text-align: center;
    color: #303337;
    margin-bottom: 45px;
}

#block7 a{
    display: inline-block;
}

#block7 img{
    box-shadow: 0 0 10px #ccc;
    box-sizing: border-box;
    width: 300px;
    height: 225px;
    margin: 5px;
}

/****************/

#block8{
    min-width: 960px;
    background: #37bc9b;
    padding: 90px 0;
}

#block8 h2{
    text-align: center;
    color: #fff;
    margin-bottom: 45px;
}

#block8 a{
    cursor: pointer;
    line-height: 1.3;
    display: block;
    padding: 20px 40px 20px 0;
    font-size: 20px;
    font-family: agd;
    color: #fff;
    background-image: url("/img/razv.png");
    background-repeat: no-repeat;
    background-position: right center;
}

.sp{
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid #b3e6d9;
}

.sp p{
    padding-bottom: 30px;
    font-family: ave;
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
}

/****************/

#block9{
    min-width: 960px;
    background: #434a54;
    padding: 90px 0;
    text-align: center;
}

#block9 h3{
    font-family: agd;
    font-size: 24px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 45px;
    color: #fff;
}

#block9 b{
    display: block;
    font-family: agu;
    font-size: 45px;
    margin-bottom: 45px;
    color: #fff;
}

#block9 span{
    display: block;
    font-family: ave;
    font-size: 16px;
    text-align: center;
    margin-bottom: 45px;
    color: #fff;
}

#form13 {
    text-align: center;
}

#form13 input{
    height: 40px;
    line-height: 40px;
    display: block;
    margin: 0 auto 15px auto;
}

.leaflet-popup-content-wrapper{
    box-shadow: none!important;
    border-radius: 5px!important;
    background: #f6b632!important;
    text-align: center!important;
    font-family: ave;
    font-size: 16px;
}

.leaflet-popup-tip {
    background: #f6b632!important;
}

.leaflet-popup-content-wrapper h3{
    font-family: agd;
    font-size: 24px;
}

/*************/
#block10{
    height: 350px;
    min-width: 960px;
}

#block11{
    min-width: 960px;
    background: #434a54;
    padding: 10px 0;
    text-align: center;
    font-family: ave;
    font-size: 14px;
    color: #fff;
}


@keyframes bounce {
	0%, 20%, 60%, 100% {
		transform: translateY(0);
		transform: translateY(0);
	}

	40% {
		transform: translateY(-10px);
		transform: translateY(-10px);
	}

	80% {
		transform: translateY(-5px);
		transform: translateY(-5px);
	}
}



#top_animation {
    background: url(../img/pages/kraska.webp) no-repeat;
    display: block;
    position: relative;
    top: -67px;
    right: 0px;
    float: right;
    width: 550px;
    z-index: 99;
}

.text span {
    width: 300px;
    font-size: 28px;
    font-family: agd;
    font-weight: 700;
    text-align: center;
    display: block;
    color: #fff;
}


#ruka {
    background: url(../img/pages/ruka.webp) no-repeat;
    width: 483px;
    height: 345px;
    position: relative;
    left: 70%;
    animation-name: ruka_move;
}

#ruka:after {
    box-shadow: inset 10px 5px 15px -5px rgba(0, 0, 0, .4);
    content: "";
    position: relative;
    width: 56px;
    height: 167px;
    top: 9px;
    left: 11px;
    z-index: 10;
    display: block;
    background: url(../img/pages/valik_texture.webp);
    border-radius: 8px;
    animation-name: valik_move;
}

.text {
    width:0%;
    position: absolute;
    top: 77px;
    left: 67px;
    display: block;
    overflow: hidden;
}

#text1{
    animation-name: text_move1;
}

#text2{
    animation-name: text_move2;
}

#text3{
    animation-name: text_move3;
}

#text1,#text2,#text3,#ruka,#ruka:after {
    animation-iteration-count: infinite;
    animation-duration: 20s;
    animation-delay: 0s;
}


@keyframes ruka_move {
    0% {
        left: 70%
    }

    11% {
        left: 0%
    }

    22% {
        left: 70%
    }

    33% {
        left: 70%
    }

    44% {
        left: 0%
    }

    55% {
        left: 70%
    }

    66% {
        left: 70%
    }

    77% {
        left: 0%
    }

   88% {
        left: 70%
    }

    to {
        left: 70%
    }
}

@keyframes valik_move {
    0% {
        background-position: 0% 0
    }

    11% {
        background-position: 100% 0
    }

    22% {
        background-position: 0% 0
    }

    33% {
        background-position: 0% 0
    }

    44% {
        background-position: 100% 0
    }

    55% {
        background-position: 0% 0
    }

    66% {
        background-position: 0% 0
    }

    77% {
        background-position: 100% 0
    }

    88% {
        background-position: 0% 0
    }

    to {
        background-position: 0% 0
    }
}

@keyframes text_move1{
    0% {
        width: 0%
    }

    11% {
        width: 0%
    }

    22% {
        width: 65%
    }

    33% {
        width: 65%
    }

    44% {
        width: 0%
    }

    55% {
        width: 0%
    }

    66% {
        width: 0%
    }

    77% {
        width: 0%
    }

   88% {
        width: 0%
    }

    to {
        width: 0%
    }
}@keyframes text_move2{
    0% {
        width: 0%
    }

    11% {
        width: 0%
    }

    22% {
        width: 0%
    }

    33% {
        width: 0%
    }

    44% {
        width: 0%
    }

    55% {
        width: 65%
    }

    66% {
        width: 65%
    }

    77% {
        width: 0%
    }

   88% {
        width: 0%
    }

    to {
        width: 0%
    }
}@keyframes text_move3{
    0% {
        width: 65%
    }

    11% {
        width: 0%
    }

    22% {
        width: 0%
    }

    33% {
        width: 0%
    }

    44% {
        width: 0%
    }

    55% {
        width: 0%
    }

    66% {
        width: 0%
    }

    77% {
        width: 0%
    }

    88% {
        width: 65%
    }

    to {
        width:65%
    }
}


@-webkit-keyframes pulse {
  0% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  50% {
  -webkit-transform: scale3d(1.05, 1.05, 1.05);
  transform: scale3d(1.05, 1.05, 1.05);
  }
  100% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  }
  @keyframes pulse {
  0% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
  50% {
  -webkit-transform: scale3d(1.05, 1.05, 1.05);
  transform: scale3d(1.05, 1.05, 1.05);
  }
  100% {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  }
} 





@media screen and (max-width: 980px) {
    #header p {
    font-size: 3.5em;
    line-height: 2em;
}

#header {
    margin-bottom: 25px;
}

#logo {
    width: 350px;
}

h1 {
    font-size: 42px!important;
}

#slogan{
    display: none!important;
}

#reload{
    display: none;
}

#block1 {
    height: auto!important;
}

#top_animation {
    transform: scale(1.5);
    top: 51px;
    right: -105px;
    float: none;
}

#block1 a:not([class*="close"]) {
    display: none;
}

#slider {
    justify-content: center;
}

.slide {
    width: 90%;
    padding-top: 433px;
    background-size: 49%!important;
    margin-bottom: 100px;
}

#block2 h3 {
    font-size: 45px;
    margin-bottom: 50px;
    line-height: 1.3em;
}

#block2 p{
    font-size: 40px;
    line-height: 1.3em;
}

h2 {
    font-size: 55px;
}

#mob_none{
    display: none;
}

#block3 {
    padding: 90px 0 520px 0;
    background-position: center bottom;
    background-size: 50%;
}

#block3 h2{
    font-size: 45px!important;
}

#block3 div span {
    font-size: 35px;
}

#anim {
    display: flex;
     flex-wrap: wrap;
    justify-content: space-between;
}

#anim a {
    background-position: top center;
    text-align: center;
    width: 32%;
    font-size: 1.4em;
}


#block5 li {
    height: auto;
}

#block5 h3 {
    font-size: 2em;
    width: 400px;
}

#block5 p {
    font-size: 1.6em;
    margin-bottom: 40px;
}

#anim>a:nth-child(1):hover{
    background-image: url("img/1.webp");
}

#anim>a:nth-child(3):hover{
    background-image: url("img/2.webp");
}

#anim>a:nth-child(5):hover{
    background-image: url("img/4.webp");
}

#anim>a:nth-child(7):hover{
    background-image: url("img/3.webp");
}

#anim>a:nth-child(9):hover{
    background-image: url("img/7.webp");
}

#anim>a:nth-child(11):hover{
    background-image: url("img/8.webp");
}

#anim>a:nth-child(13):hover{
    background-image: url("img/5.webp");
}

#anim>a:nth-child(15):hover{
    background-image: url("img/6.webp");
}

#anim>a:nth-child(17):hover{
    background-image: url("img/9.webp");
}

#anim>a:hover > span {
    background: none;
    color: #fff;
    border-bottom: none;
}


}
