::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #373737;
}
::-webkit-scrollbar-track {
  background: #FFFFFF;
}



@font-face {
  font-family: "b";
  font-style: normal;
  font-weight: 400;
  src:  url("../font/b.woff") format("woff");
}

@font-face {
  font-family: "r";
  font-style: normal;
  font-weight: 400;
  src: url("../font/r.woff") format("woff");
}

@font-face {
  font-family: "l";
  font-style: normal;
  font-weight: 400;
  src:  url("../font/l.woff") format("woff");
}



body {padding: 0; margin: 0; cursor: default; background: #FCFBF7; color: #303030; overflow-x: hidden; }

* {font-family: 'l'; font-size: 19px; line-height: 23px; -webkit-appearance: none;}



input, textarea, select {
    -webkit-appearance: none;
}

.line1 {position: relative; top: 0; left: 0; margin-top: -147px; height: 147px; background: url(../img/line1.png) center bottom repeat-x; z-index: 1000;}
.line2 {position: relative; top: 0; left: 0; height: 126px; background: url(../img/line2.png) center repeat-x; z-index: 1000;}
.line3 {position: relative; top: 0; left: 0; margin-top: -102px; height: 102px; background: url(../img/line3.png) center repeat-x; z-index: 1000;}
.line4 {position: relative; top: 0; left: 0; height: 124px; background: url(../img/line4.png) center repeat-x; z-index: 1000;}
.line5 {position: relative; top: 0; left: 0; margin-top: -278px; height: 278px; background: url(../img/line5.png) center repeat-x; z-index: 1000;}
.line6 {position: relative; top: 0; left: 0; height: 122px; background: url(../img/line6.png) center repeat-x; z-index: 1000;}

@media screen and (min-width: 1990px){
.line1, .line2, .line3, .line4, .line5, .line6 {display: none;}
}






input {
margin: 10px 0; font-size: 15px; border: none; padding: 15px 25px; background: #FFFFFF; color: #505050; text-align: left; width: 220px;
transition: all 0.30s ease-in-out;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
border: none;
outline: none;
box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.16);
}
input:focus {
box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.28);
border: none;
outline: none;
}

input.pole1, input.pole2 {box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.16); background: #FFFFFF url(../img/err_no.png) no-repeat right center;}
input.pole1_err, input.pole2_err {box-shadow: 1px 1px 2px 1px rgba(200,0,0,0.56); background: #FFFFFF url(err.png) no-repeat right center;}



#knopka {display: inline-block; padding: 27px 26px 24px; margin: 25px 0 0 0; background: #4599DD; font-family: 'r'; font-size: 19px; line-height: 0px; letter-spacing: 1px; color: #FFFFFF; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
#knopka:hover {cursor: pointer; background: #63B5F7;}



.b_black {position: relative; top: 0px; left: 0px; padding: 70px 100px; display: block; color: #202020; text-align: left; vertical-align: top;}
.b_white {position: relative; top: 0px; left: 0px; padding: 70px 100px; display: block; color: #FFFFFF; text-align: left; vertical-align: top;}

@media screen and (max-width: 650px){
.b_black, .b_white {padding-left: 50px; padding-right: 50px;}
}




.b_width {display: block; padding: 0 100px;}
@media screen and (max-width: 1370px){
.b_width {display: block; padding: 0 50px;}
}
@media screen and (max-width: 500px){
.b_width {padding: 0;}
}


header {
  z-index: 250;
  position: fixed;
  width: 100%;
  top: 0;
  transition: background 0.2s ease-in;
  z-index: 2500;
}

header.scrolled {
  background: #000000;

}

.header-wrapper__mobile-button {
  display: none;
}

.header-wrapper {
  
  width: 100%;
  display: flex;
  padding: 5px 50px;
  align-items: center;
  z-index: 2500;
  box-sizing: border-box;
  justify-content: space-between;
}

.header-wrapper__logo {
  margin-right: 2%;
}

.header-wrapper__logo img {
  display: block;
    width: 200px;
    height: auto;
    max-height: 70px;
}

.header-wrapper nav {
    margin-left: 2%;
    margin-right: auto;
}

.header-wrapper ul {
  display: flex;
  margin: 0;
  list-style: none;
  padding: 0;
  mix-blend-mode: difference;
}

.header-wrapper ul li {
  margin-right: 5%;
  position: relative;
}

.header-wrapper ul li::after {
  content: '';
  width: 0;
  position: absolute;
  height: 1px;
  background: white;
  left: 0;
  transition: width 0.3s ease-in;
  bottom: -3px;
}

.header-wrapper ul li:hover::after {
  width: 100%;
}

.header-wrapper ul li {
  flex-shrink: 0;
  mix-blend-mode: difference;
}

.header-wrapper nav {
  display: flex;
}


.header-wrapper a {
  text-decoration: none;
  color: white;
  mix-blend-mode: difference;
}

.first-screen {
  position: relative;
}

.first-screen::after {
  display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    /* background: linear-gradient(to top, rgba(247, 249, 249, 0.5) 0%, rgba(247, 249, 249, 0) 100%); */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3),rgba(0,0,0,0.1));
}


.footer-wrapper__bottom-social ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  max-width: 250px;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
}

.main.service > a {
  padding: 15px 20px;
  background: black;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  margin-top: 20px;
  display: block;
  max-width: 250px;
  margin-right: auto;
  margin-left: auto;
  transition: box-shadow 0.2s ease-in;
}





.no_blur {display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}



.div_zag {width: 60%; margin: 0 auto 80px;}





.btn {display: block; width: 102px; padding: 28px 25px 29px; margin: 20px auto 0; background: #4599DD; font-family: 'l'; font-size: 17px; line-height: 0px; text-align: center; color: #FFFFFF; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.btn:hover {cursor: pointer; background: #63B5F7;}





/* 1 */
.b1 {
  padding: 0; width: 100%; height: 870px;
  background-color: #ACC9B6;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
.b1 h1 {font-family: 'b'; font-size: 43px; font-weight: normal; padding: 0; margin: 0; color: #151515; line-height: 50px;}
.b1 .main {top: 0; left: 0; padding: 0; text-align: right; vertical-align: top; width: 100%; height: 100%;}
.b1 .main div {font-family: 'r'; font-size: 20px; font-weight: normal; padding: 0; margin: 0; color: #151515; line-height: 22px;}
.b1 .main .kvadrat {display: inline-block;  box-shadow: 35px 35px 15px rgba(0,0,0,0.06); border: 35px solid #FFFD6E; background: #FFFFFF; background: rgba(255,255,255,0.3); padding: 70px; margin-top: 80px; margin-right: 150px; text-align: center; vertical-align: top;}
.b1 .main .kvadrat .logo {width: 100%; height: 119px; background: url(../img/logo.png) no-repeat center top; margin-bottom: 40px;}
.b1 .txt1 {margin-left: 8px; margin-bottom: 8px;}
.b1 .txt2 {margin-bottom: 25px;}
.b1 .txt3, .b1 .txt4, .b1 .txt5 {font-family: 'r'; font-size: 15px;}
.b1 .txt3 {letter-spacing: 2.5px;}
.b1 .txt4 {letter-spacing: 3.7px;}
.b1 .txt5 {letter-spacing: 1.8px;}

@media screen and (min-width: 1990px){
.b1 .main .kvadrat {margin-top: 150px; margin-right: 240px;}
}
@media screen and (max-width: 1278px){
.b1 {background: #ACC9B6 url("../img/b1.jpg") center center no-repeat; background-size: cover;}
.b1 .main .kvadrat {background: #FFFFFF; background: rgba(255,255,255,0.7);}
}
@media screen and (max-width: 1224px){
.b1 {height: 750px; background: #ACC9B6 url("../img/b1.jpg") left center no-repeat;}
.b1 .main {text-align: center;}
.b1 .main .kvadrat {background: #FFFFFF; background: rgba(252,248,226,0.92); margin: 55px 0 0 0;}
}
@media screen and (max-width: 1124px){
.b1 .main .kvadrat {box-shadow: 25px 25px 15px rgba(0,0,0,0.26); border: 25px solid #FFFD6E; margin: 70px 0 0 0; padding: 50px 35px;}
}
@media screen and (max-width: 1064px){
.b1 {height: 700px;}
.b1 .main .kvadrat {margin-top: 50px;}
}
@media screen and (max-width: 849px){
.b1 {height: 550px;}
.b1 .main .kvadrat {margin-top: 25px;}
}
@media screen and (max-width: 593px){
.b1 .main .kvadrat {padding: 40px 30px; width: 300px; margin-top: 55px;}
.b1 h2 {font-size: 30px; line-height: 30px;}
.b1 .main div {line-height: 20px;}
.b1 .txt2 {margin-bottom: 20px;}
.b1 .txt3 {font-size: 15px; font-family: 'r'; letter-spacing: 1.7px;}
.b1 .txt4 {font-size: 15px; font-family: 'r'; letter-spacing: 2.5px;}
.b1 .txt5 {font-size: 15px; font-family: 'r'; letter-spacing: 0.9px;}
}
@media screen and (max-width: 497px){
.b1 {height: 650px; background: #ACC9B6 url("../img/b1.jpg") left center no-repeat; background-size: cover;}
.b1 .main .kvadrat {padding: 40px 12px; margin-top: 75px; border: 15px solid #FFFD6E;}
.b1 .txt3, .b1 .txt4, .b1 .txt5 {font-size: 13px; font-family: 'r';}
.b1 h2 {font-size: 25px; line-height: 25px;}
}
@media screen and (max-width: 400px){
.b1 .main .kvadrat {padding: 40px 0px;}
}




/* 2 */
.b2 {padding-top: 70px; padding-bottom: 60px; padding-right: 0; padding-left: 0; height: 290px; background: #F1EEE9 url("../img/b2.jpg") center top repeat-y; text-align: center; color: #202020;}
.b2 h1 {font-family: 'b'; font-size: 47px; font-weight: normal; padding: 0; margin: 0; margin-bottom: 30px; color: #202020; line-height: 48px; letter-spacing: 1px;}
.b2 .blocks {display: inline-block; width: 300px; margin: 0px 50px; padding-top: 100px; text-align: center; vertical-align: top; font-size: 16px; line-height: 24px; color: #202020;}
.b2 .blocks h1 {font-family: 'b'; font-size: 21px; letter-spacing: 2px; color: #303030; margin-bottom: 18px; line-height: 27px;}
.b2 .block1 {background: url(../img/b2_1.png) no-repeat center top;}
.b2 .block2 {background: url(../img/b2_2.png) no-repeat center top;}
.b2 .block3 {background: url(../img/b2_3.png) no-repeat center top;}

@media screen and (min-width: 1990px){
.b2 {padding-top: 100px; padding-bottom: 70px; background: #F1EEE9 url("../img/b2.jpg") center top repeat-y; background-size: cover;}
.b2 .blocks {margin: 0px 80px;}
}
@media screen and (max-width: 1327px){
.b2 .blocks {width: 270px; margin: 0px 40px;}
}
@media screen and (max-width: 1184px){
.b2 .blocks {width: 250px; margin: 0px 30px;}
}
@media screen and (max-width: 1064px){
.b2 .blocks {width: 220px; margin: 0px 25px; padding-top: 125px; text-align: center; vertical-align: top; font-size: 15px; line-height: 20px;}
/*.b2 .block1 {background: url(b2_1_min.png) no-repeat center 15px;}
.b2 .block2 {background: url(b2_2_min.png) no-repeat center 15px;}
.b2 .block3 {background: url(b2_3_min.png) no-repeat center 15px;}*/
}
@media screen and (max-width: 912px){
.b2 .blocks {margin: 0px 15px;}
}
@media screen and (max-width: 849px){
.b2 {padding-top: 10px; padding-bottom: 0px; height: 410px;}
.b2 .blocks {display: block; width: 60%; margin: 20px auto; padding-top: 60px;}
/*.b2 .blocks h1 {display: none;}*/
/*.b2 .block1 {background: url(b2_1_micro.png) no-repeat center top;}
.b2 .block2 {background: url(b2_2_micro.png) no-repeat center top;}
.b2 .block3 {background: url(b2_3_micro.png) no-repeat center top;}*/
}
@media screen and (max-width: 732px){
.b2 .blocks {width: 80%;}
}
@media screen and (max-width: 540px){
.b2 .blocks {margin: 30px auto; padding-top: 0px;}
.b2 .blocks h1 {display: block;}
/*.b2 .block1, .b2 .block2, .b2 .block3 {background: none;}*/
}
@media screen and (max-width: 455px){
.b2 .blocks h1 {margin-bottom: 5px;}
}
@media screen and (max-width: 333px){
.b2 {padding-top: 40px; padding-bottom: 0px; height: 380px;}
/*.b2 .blocks h1 {display: none;}*/
}

.btn {
  text-decoration: none;
}


/* 3 */
.b3 {
  padding-top: 70px;  
  padding-bottom: 0px; 
  height: 400px; 
  margin-top: -126px; 
  background-color: #FFF0CF;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  text-align: center; 
  color: #202020;
}

@media screen and (min-width: 1990px){
.b3 {margin-top: 0; height: 720px; background: #FFF0CF url("../img/b3.jpg") center no-repeat; background-size: cover;}
}
@media screen and (max-width: 1059px){
.b3 {height: 450px; background: #FFF0CF url("../img/b3.jpg") center bottom no-repeat;}
}




/* 4 */
.b4 {padding-top: 100px; padding-bottom: 50px; padding-left: 0; padding-right: 0; background: #F4F4F4 url("../img/b4.png") center top; text-align: center; color: #202020;}
.b4 .sled {background: url(../img/sled.png) no-repeat right center;}
.b4 .main {max-width: 1570px; margin: 0 auto;}
.b4 .kvadrat {display: block; width: 520px; height: auto; box-shadow: 35px 35px 15px rgba(0,0,0,0.045); border: 35px solid #FFFD6E; background: #FFFFFF; background: rgba(255,255,255,0.8); padding: 70px; margin: -190px auto 80px; text-align: center; vertical-align: top;}
.b4 .kvadrat h2 {font-family: 'b'; font-weight: normal; font-size: 43px; margin: 0; padding: 0; line-height: 70px; letter-spacing: 2px; color: #202020;}
.b4 .blocks {display: inline-block; width: 300px; height: 586px; margin: 16px 13px; background: #FFFFFF; text-align: left; vertical-align: top; box-shadow: 5px 5px 12px rgba(0,0,0,0.065); -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b4 .blocks:hover {box-shadow: 5px 5px 12px rgba(0,0,0,0.15);}
.b4 .blocks img {display: block; margin: 0 auto 12px; opacity: 1; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b4 .blocks:hover img {opacity: 0.9;}
.b4 .blocks table {width: 77%; margin: 0 auto;}
.b4 .btn_width {width: 80%; margin: 15px auto 0; text-align: center;}
.b4 .blocks table tr:nth-child(even) {background: #F7F7F7; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b4 .blocks:hover table tr:nth-child(even) {background: #F0F0F0;}
.b4 .blocks table td {text-align: left; font-family: 'l'; font-size: 13px; line-height: 14px; color: #454545; padding: 6px 12px;}
.b4 .blocks table td sup {font-family: 'l'; font-size: 10px; line-height: 0; color: #454545;}
.b4 .blocks table td h1 {font-family: 'r'; font-size: 16px; margin: 0; padding: 0; line-height: 14px; color: #1D78C1;}
.b4 .price {display: inline-block; padding: 16px 14px; margin: 10px 0px 0 0; background: #4599DD; font-family: 'r'; font-size: 17px; line-height: 0px; color: #FFFFFF; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b4 .blocks:hover .price {background: #63B5F7;}
.b4 .zakaz {display: inline-block; padding: 16px 14px; margin: 10px 0 0 0; background: #606060; font-family: 'r'; font-size: 17px; line-height: 0px; color: #FFFFFF; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b4 .blocks:hover .zakaz {background: #3E3E3E;}
.b4 .blocks:hover .zakaz:hover {cursor: pointer; background: #090909;}

@media screen and (min-width: 1990px){
.b4 {padding-bottom: 90px;}
}
@media screen and (max-width: 1457px){
.b4 .blocks {margin: 8px 5px;}
}
@media screen and (max-width: 1403px){
.b4 .blocks {width: 500px; height: 585px; margin: 13px 10px;}
}
@media screen and (max-width: 1267px){
.b4 .blocks {width: 420px;}
}
@media screen and (max-width: 1124px){
.b4 .kvadrat {box-shadow: 25px 25px 15px rgba(0,0,0,0.045); border: 25px solid #FFFD6E;}
}
@media screen and (max-width: 1093px){
.b4 .blocks {width: 350px;}
}
@media screen and (max-width: 908px){
.b4 .blocks {width: 300px; height: 586px;}
}
@media screen and (max-width: 862px){
.b4 .kvadrat {width: 420px;}
}
@media screen and (max-width: 834px){
.b4 .blocks {margin: 8px 5px;}
}
@media screen and (max-width: 743px){
.b4 .blocks {width: 450px; height: 525px; margin: 10px 0px;}
.b4 .blocks img {margin: 0 auto 5px;}
.b4 .blocks table td {line-height: 13px; padding: 4px 12px;}
.b4 .kvadrat {width: 350px;}
}
@media screen and (max-width: 655px){
.b4 .kvadrat {width: 300px;}
.b4 .kvadrat h1 {font-size: 35px;}
}
@media screen and (max-width: 613px){
.b4 .blocks {width: 350px;}
}
@media screen and (max-width: 593px){
.b4 .kvadrat h1 {font-size: 30px;}
}
@media screen and (max-width: 587px){
.b4 .kvadrat {width: 230px;}
}
@media screen and (max-width: 500px){
.b4 .kvadrat {width: 170px;}
.b4 .kvadrat h1 {font-size: 28px;}
}
@media screen and (max-width: 497px){
.b4 .kvadrat {border: 15px solid #FFFD6E;}
}
@media screen and (max-width: 472px){
.b4 .blocks {width: 300px; height: 526px;}
}
@media screen and (max-width: 402px){
.b4 .sled {background: none;}
.b4 .kvadrat {width: 170px; padding: 50px; margin-bottom: 55px;}
}
@media screen and (max-width: 400px){
.b4 .kvadrat h1 {font-size: 25px;}
}

@media screen and (max-height: 609px){
input {margin: 6px 0; padding: 12px 25px;}
}
@media screen and (max-height: 477px){
input {margin: 4px 0; padding: 10px 25px;}
.flex-modal-item__content {padding: 40px 45px;}
}





/* 5 */
.b5 {padding-top: 70px; padding-bottom: 0px; height: 750px; margin-top: -124px; background: #97C0C7 url("../img/b5.jpg") left center no-repeat; text-align: left; color: #202020;}
.b5 .main {width: 1170px; margin: 0 auto;}
.b5 .kvadrat {display: block; width: 350px; height: auto; box-shadow: 35px 35px 15px rgba(0,0,0,0.09); border: 35px solid #FFFD6E; background: #FFFFFF; background: rgba(255,255,255,0.55); padding: 90px; padding-top: 120px; padding-bottom: 210px; margin-top: 110px; text-align: left; vertical-align: top;}
.b5 .kvadrat h2 {font-family: 'b'; font-weight: normal; font-size: 43px; margin: 0; padding: 0; line-height: 53px; color: #151515;}

@media screen and (min-width: 1990px){
.b5 {padding-top: 110px; background: #97C0C7 url("../img/b5.jpg") center no-repeat; background-size: cover;}
}
@media screen and (max-width: 1419px){
.b5 {background: #97C0C7 url("../img/b5.jpg") center no-repeat;}
.b5 .main {width: 100%;}
}
@media screen and (max-width: 1138px){
.b5 .kvadrat {background: #FFFFFF; background: rgba(255,255,255,0.77);}
}
@media screen and (max-width: 1124px){
.b5 {text-align: center; padding-left: 0; padding-right: 0;}
.b5 .main {width: 100%;}
.b5 .kvadrat {box-shadow: 25px 25px 15px rgba(0,0,0,0.09); border: 25px solid #FFFD6E; margin: 110px auto 0;}
}
@media screen and (max-width: 783px){
.b5 .kvadrat {width: 300px; padding: 45px; padding-top: 100px; padding-bottom: 320px; margin-top: 80px; text-align: left; vertical-align: top;}
.b5 .kvadrat h1 {font-size: 35px; line-height: 43px;}
}
@media screen and (max-width: 593px){
.b5 .kvadrat {width: 250px;}
.b5 .kvadrat h1 {font-size: 30px; line-height: 40px;}
}
@media screen and (max-width: 497px){
.b5 .kvadrat {border: 15px solid #FFFD6E; margin-top: 90px; padding-bottom: 220px;}
.b5 {height: 650px;}
}
@media screen and (max-width: 458px){
.b5 .kvadrat {width: 230px; padding-bottom: 220px;}
}
@media screen and (max-width: 400px){
.b5 .kvadrat {width: 200px;}
.b5 .kvadrat h1 {font-size: 25px; line-height: 35px;}
}



/* 6 */
.b6 {padding: 0; z-index: 1500;}
.b6 .main {width: 1170px; margin: 0 auto;}
.b6 .btn {position: relative; display: block; width: 102px; padding: 28px 25px 29px; margin: -265px 0 0 125px; background: #000000; font-family: 'l'; font-size: 17px; line-height: 0px; text-align: center; color: #FFFFFF; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -ms-transition: all 200ms linear; -o-transition: all 200ms linear; transition: all 200ms linear;}
.b6 .btn:hover {cursor: pointer; background: #63B5F7;}

@media screen and (max-width: 1419px){
.b6 .main {width: 100%;}
.b6 .btn {margin-left: 225px;}
}
@media screen and (max-width: 1124px){
.b6 .btn {left: 50%; margin-left: -174px;}
}
@media screen and (max-width: 783px){
.b6 .btn {margin: -325px 0 0 -147px;}
}
@media screen and (max-width: 593px){
.b6 .btn {margin-left: -124px;}
}
@media screen and (max-width: 497px){
.b6 .btn {margin-top: -265px;}
}
@media screen and (max-width: 458px){
.b6 .btn {margin-left: -112px;}
}
@media screen and (max-width: 400px){
.b6 .btn {margin-top: -285px; margin-left: -100px;}
}






/* 7 */
.b7 {margin-top: 208px; padding-top: 10px; padding-bottom: 70px; background: #F5F1E4 url("../img/b7.jpg") center top no-repeat; text-align: center; font-size: 14px; line-height: 19px; color: #202020;}
.b7 nobr { font-size: 14px; line-height: 17px; color: #202020;}
.b7 a {font-size: 14px; line-height: 14px; color: #202020;}
.b7 .block1 {width: 35%; max-width: 400px; text-align: center; font-size: 12px; line-height: 16px; color: #686868; margin: 0 auto;}
.b7 .block1 p {padding: 0; margin: 0;}

@media screen and (min-width: 1990px){
.b7 {padding-top: 90px; padding-bottom: 90px; background: #F5F1E4 url("../img/b7.jpg") center top no-repeat; background-size: cover;}
}
@media screen and (max-width: 1274px){
.b7 .block1 {width: 55%;}
}
@media screen and (max-width: 913px){
.b7 .block1 {width: 75%;}
}
@media screen and (max-width: 783px){
.b7 {margin-top: 260px;}
}
@media screen and (max-width: 709px){
.b7 .block1 {width: 95%;}
}
@media screen and (max-width: 497px){
.b7 {margin-top: 200px;}
}
@media screen and (max-width: 400px){
.b7 {margin-top: 220px;}
}
@media screen and (max-width: 399px){
.b7 {margin-top: 200px;}
}

.services-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.services-wrapper_item {
  width: 32%;
  margin-right: 2%;
  height: 270px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 2%;
  box-shadow: 11px 22px 41px 26px rgba(255, 255, 255, 1) inset;
  transition: box-shadow 0.4s ease-in;
}

.services-wrapper_item:hover {
  /*box-shadow: none;*/
}

.services-wrapper_item a {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: black;
  text-decoration: none;
}

.services-wrapper_item h3 {
  margin: 0;
  padding-top: 20px;
}

.services-wrapper_item h3 {
  font-size: 25px;
  margin-bottom: 15px;
  font-weight: bold;
  margin-bottom: auto;
}

.services-wrapper_item span {
  display: inline-block;
  padding: 10px;
  border-radius: 20px;
  background: black;
  color: white;
  opacity: 0.9;
  margin-bottom: 15px;
}

.services-wrapper_item button {
  margin-bottom: 20px;
  background: #FFFD6E;
  color: black;
  font-weight: bold;
  padding: 5px;
  outline: none;
  border: none;
  width: 150px;
  display: block;
}

.services-wrapper_item a::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: 0.2s ease-in;
}



.services-wrapper_item a:hover::before {
  opacity: 0;
}

.services-wrapper_item:nth-of-type(3n) {
  margin-right: 0;
}

.footer-wrapper__bottom-social ul {
  max-width: 250px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  list-style: none;
  padding-left: 0;
}

.header-link {
  padding: 15px 20px;
  background:  #63B5F7;
  border-radius: 20px;
  transition: box-shadow 0.2s ease-in;
}

.header-link:hover {
  box-shadow: 0 0 20px #63B5F7;
}

.b_black.b2 > a {
  background: black;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 20px;
}

.b_black.b7 {
  font-weight: bold;
}

.b1 .main .kvadrat .logo {
    width: 250px;
    object-fit: cover;
    background-size: cover;
    height: 130px;
    background: url(../img/logo.png) no-repeat center top;
    margin-bottom: 40px;
    background-size: cover;
    margin-right: auto;
    margin-left: auto;
}

.b4 .main {
  max-width: 1300px;
}

.page-service__container {
  background-image: url(../img/b4.png);
}

.page-service__container {
  padding: 50px;
}

.page-service__container h1 {
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
  font-size: 36px;
  line-height: 42px;
}

.page-service__container h2 {
  color: #303030!important;
  margin-bottom: 30px;
  margin-top: 0;
  font-size: 32px!important;
  line-height: 36px!important;
  margin-top: 30px;
}

.page-service__container .wp-block-image img {
  object-fit: cover;
}

.service-container__promo {
  height: 400px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position:  center;
  background-attachment: scroll;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-container__promo h1 {
  position: relative;
  z-index: 50;
  text-transform: uppercase;
  color: white;
  font-size: 36px;
  line-height: 42px;
  
  /*display: inline-block;  */
  box-shadow: 35px 35px 15px rgba(0,0,0,0.06); 
  border: 35px solid #FFFD6E; 
  background: #FFFFFF; 
  background: rgba(255,255,255,0.3); 
  padding: 70px; 
  margin-top: 210px;
  margin-bottom: 170px;
  margin-left: auto;
  margin-right: auto;
  /* margin-right: 150px;  */
  text-align: center; 
  vertical-align: middle;
}

.service-container__promo::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7),rgba(0,0,0,0.1));
}

.autopark-wrapper {
  padding: 70px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}

.transport-item {
  width: 45%;
  margin-bottom: 35px;
}

.transport-img {
  margin-bottom: 20px;
}

.transport-img img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 350px;
}

.transport-item .wp-block-image {
  margin: 0;
}

.transport-item .wp-block-image img {
  object-fit: cover;
}

.autopark-promo {
  height: 350px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position:  center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

}


.autopark-promo h1 {
  font-size: 32px;
}

.autopark-promo::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7),rgba(0,0,0,0.1));
}



.service-container__promo::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7),rgba(0,0,0,0.1));
}

#popup {
  display: none;
  background: white;
}

.autopark-link:hover {
  
  box-shadow: 0 0 20px #000000;
}

#popup input {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 15px 10px;
  font-size: 15px;
}

#popup label {
  font-size: 16px;
}

#popup input[type='submit'] {
  width: 280px;
  margin-right: auto;
  margin-left: auto;
  color: white;
  background: black;
  text-align: center;
  transition: box-shadow 0.2s ease-in;
  cursor: pointer;
  font-size: 15px;
}

#popup input[type='submit']:hover {
  box-shadow: 0 0 20px #000000;
}


#popup textarea {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
  box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.16);
  border: none;
  resize: none;
  padding: 15px 10px;
  font-size: 15px;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.popup.fancybox-content {
  padding: 15px;
}

.popup.fancybox-content  form p {
  margin: 0;
}

header ul {
  list-style: none;
}

footer ul {
  list-style: none;
}

.services-wrapper_item p {
  margin: 0;
}

.header-wrapper nav {
  margin-right: 2%;
}

.header-wrapper ul, .header-wrapper nav {
  flex-grow: 1;
}

.header-phone__link {
  border-bottom: 1px solid white;
  transition: color 0.2s ease-in;
}

.header-phone__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-service__container-text p {
  margin-top: 0;
}

.page-service__container-text figure {
  margin: 20px 0;
}

.header-wrapper__mobile-button {
  display: none;
  position: relative;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.header-wrapper__mobile-button::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 -10px 0 0 #ffffff;
    box-shadow: 0 -10px 0 0 #ffffff;
    transform: none;
    transition: transform 0.2s ease-in;
}


.header-wrapper__mobile-button::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transform: none;
    transition: transform 0.2s ease-in;
}

.popup-block__main {
  background: url(../img/b3.jpg) no-repeat center top;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

.popup-block__main h3 {
  position: relative;
  z-index: 150;
  color: white;
}

.popup-block__main::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7),rgba(0,0,0,0.1));
}

.popup-block__main h3 {
  text-align: center;

}

.popup-block__main-container {
  max-width: 1400px;
  padding-right: 50px;
  padding-left: 50px;
}

.phone-mobile--link {
  display: none;
}

.b_black.b5.b5-second {
  margin-top: 0;

}

.phone-mobile--link a {
  font-size: 16px;
  line-height: 15px;
  color: #565656;
  margin-bottom: 15px;
}

.phone-mobile--link a svg {
  margin-right: 12px;
}

.ati--link {
    margin-top: 25px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #565656;
    box-sizing: border-box;
    border-radius: 8px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    color: #565656;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease-in, color 0.2s ease-in;
    color: black;
    text-align: center;
    max-width: 280px;
}


@media(max-width: 1250px) {
  .b1 .main .kvadrat .logo {
    width: 150px;
    object-fit: cover;
    background-size: cover;
    height: 75px;
    background: url(../img/logo.png) no-repeat center top;
    margin-bottom: 40px;
    background-size: contain;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 15px;
  }

  .b1 h1 {
    font-size: 25px;
  }

  .b1 .main .kvadrat {
    border: 5px solid #FFFD6E;
    box-sizing: border-box;
    padding: 20px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .main.first-screen {
    position: relative;
  }

  #b2 {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    height: auto;
  }

  .b2 .blocks {
    padding-top: 85px;
    margin-bottom: 30px;
  }

  .b2 .blocks h1 {
    font-family: 'l';
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
    color: #303030;
    margin-bottom: 18px;
    line-height: 27px;
  }

  .b4 {
    padding-right: 15px;
    padding-left: 15px;
  }

  .header-wrapper nav {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in, visibility 0.2s ease-in;
    position: absolute;
    background: white;
    top: 0;
    right: 0;
    margin: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }



  .header-wrapper nav.active {
    visibility: visible;
    opacity: 1;
  }

  .header-wrapper ul li {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .header-wrapper nav ul {
    flex-direction: column;
  }

  .header-wrapper__mobile-button {
    display: block;
    width: 30px;
    height: 20px;
    z-index: 70;
  }

  .header-wrapper__mobile-button.active::before {
    box-shadow: none;
    background: black;
    transform: rotate(45deg);
    bottom: 8px;
  }

  .header-wrapper__mobile-button.active::after {
    background: black;
    bottom: 8px;
    transform: rotate(-45deg);
  }

  .autopark-wrapper {
    padding: 30px 15px;
  }

  .transport-item {
    width: 49%;
  }

  .page-service__container {
    padding: 30px 15px;
  }

 .phone-mobile--link {
    display: flex;
    flex-direction: column;
  }

  

}

@media(max-width:1250px) {
    .service-container__promo h1 {
        border: 5px solid #FFFD6E;
        box-sizing: border-box;
        padding: 20px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media(max-width: 767px) {
    .service-container__promo {
        height: 310px;
    }
  .b4 .kvadrat {
    border-width: 5px;
    padding: 40px;
    margin: -168px auto 80px;
  }

  .b4 .kvadrat h1 {
    font-size: 22px;
  }

  .b3 {
    padding: 0;
    height: 300px;
    background: center;
  }

  .txt3 p {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 15px;
  }

  .services-wrapper_item {
    width: 49%;
  }

  .services-wrapper_item:nth-of-type(3n) {
    margin-right: 2%;
  }

  .services-wrapper_item:nth-of-type(2n) {
    margin-right: 0;
  }

  .services-wrapper_item h3 {
    font-size: 15px;
    margin-bottom: 0;
  }

  .services-wrapper_item p {
    font-size: 13px;
  }

  .services-wrapper_item button {
    font-size: 13px;
  }

  .header-wrapper {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-phone__link {
    display: none;
  }

  .header-link {
    margin-right: auto;
  }

  .transport-item {
    width: 100%;
  }

  .transport-img img {
    height: 250px;
  }

  .transport-item__text p {
    font-size: 16px;
  }

  .autopark-promo h1 {
    font-size: 22px;
  }

  .page-service__container-text p {
    font-size: 15px;
  }

  .service-container__promo h1 {
    font-size: 22px;
    padding-right: 10px;
    padding-left: 10px;
    
    border: 5px solid #FFFD6E;
    box-sizing: border-box;
    padding: 20px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .b4 .kvadrat h2 {
    font-size: 22px;
    line-height: 41px;
  }

  .b5 .kvadrat h2 {
    font-size: 22px;
  }

  .b_black.b5.b5-second {
    margin-top: 0;
    margin-bottom: 35px;
  }

}

@media(max-width: 450px)  {
  .services-wrapper_item {
    width: 100%;
  }

  .autopark-link {
    font-size: 15px;
  }

  .b5 .kvadrat {
    padding: 15px;
    padding-top: 55px;
  }

  .services-wrapper_item:nth-of-type(3n) {
    margin-right: 0;
  }

  .services-wrapper_item:nth-of-type(2n) {
    margin-right: 0;
  }

  .b1 .main .kvadrat {
    width: 280px;
  }

  .b1 h1 {
    font-size: 16px;
  }

  .b1 h2 {
    font-size: 18px;
  }

  .b5 .kvadrat {
    padding-bottom: 220px;
  }

  .header-wrapper__logo img {
    width: 130px;
  }

  .header-link {
    font-size: 14px;
    padding: 10px 11px;
  }

  .b_black.b7 {
    padding-right: 15px;
    padding-left: 15px;
  }

  .services-wrapper_item {
    margin-right: 0;
  }
}

.footer-wrapper__first {
  display: flex;
  flex-direction: column;
}

.b_black.b7 p {
  font-size: 15px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.footer-wrapper__first a {
  text-decoration: none;
  margin-top: 5px;
  margin-bottom: 5px;
}


#scroller {
  position: fixed;
  bottom: 100px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: none;
  right: 20px;
  z-index: 4200;
}

#scroller svg {
  display: block;
  width: 100%;
  height: 100%;
}


.mistake-wrap {
  position: relative;
  min-height: 100vh;
  background: url(../img/b1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.mistake-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 35px 35px 15px rgba(0,0,0,0.06);
  border: 35px solid #FFFD6E;
  background: #FFFFFF;
  background: rgba(255,255,255,0.3);
  padding: 70px;
  text-align: center;
  z-index: 150;
}

.mistake-wrap::after {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  left: 0;
  top: 0;

  background: linear-gradient(to bottom, rgba(0,0,0,0.3),rgba(0,0,0,0.1));
}

.mistake-container h2 {
 color: white;
 margin-bottom: 30px;
}

.mistake-container a {
  padding: 15px 20px;
  background: #63B5F7;
  border-radius: 20px;
  transition: box-shadow 0.2s ease-in;
  color: white;
  
  text-decoration: none;
}

@media(max-width: 768px) {
  .mistake-container a {
    font-size: 14px;
    padding: 10px;
  }

  .mistake-container {
    border-width: 5px;
  }
}