@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=cyrillic');
/*Roboto
thin 100
thin 100 Italic
light 300
light 300 Italic
regular 400
regular 400 Italic
medium 500
medium 500 Italic
bold 700
bold 700 Italic
black 900
black 900 Italic
*/
/*reset*/
*,
*:before,
*:after{
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
*::selection {
  background: #1680bc;
  color: #fff;
}
*::-moz-selection {
  background: #1680bc;
  color: #fff;
}
*::-webkit-selection{
  background: #1680bc;
  color: #fff;
}
::-webkit-scrollbar{
    width:8px;
    height: 8px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb{
  border: none;
  background-color: #ccc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  width: 20px;
  max-width: 20px;
  margin-left: -10px;
}
::-webkit-scrollbar-thumb:hover{
    background-color: #777;
    cursor: pointer;
}
::-webkit-scrollbar-thumb:active {
  background: #555;
}
::-webkit-scrollbar-track{
    border: none;
  background-color: #f5f5f5;
}
::-webkit-scrollbar-track:hover{
  background-color: #eee;
  cursor: pointer;
}
::-webkit-scrollbar-track:active {
  background: #aaa;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
img{
  max-width: 100%;
  height: auto;
}
a:hover, a:active {
  outline: none;
}
a{
  color:inherit;
  display: inline-block;
  text-decoration: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button {
    overflow: visible;
}
button, select {
    text-transform: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled], html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
}
b,
strong {
  font-weight:bold;
}
/*end*/

#page{
  float: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  color: #000;
  font-family: 'Roboto', sans-serif;
}
.wrap{
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

#header{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  padding: 20px 0;
  height: 112px;
  overflow: hidden;
}
#header .logo{
  float: left;
}
#header .logo img{
  display: block;
}
#header .fill{
  float: left;
  margin-left: 30px;
  margin-top: -1.5px;
}
#header .fill img{
  display: block;
}
#header .block-adress{
  float: right;
  font-weight: 600;
  color: #003333;
  font-size: 20px;
  line-height: 26px;
  padding: 2px 0;
  padding-left: 36px;
  position: relative;
  margin-right: 40px;
}
#header .block-adress img{
  position: absolute;
  top: 0;
  left: 0;
}
#header .block-info{
  float: right;
}
#header .block-info .phone{
  font-size: 20px;
  font-weight: 600;
  position: relative;
  padding-left: 26px;
}
#header .block-info .phone a:hover{
  text-decoration: underline;
}
#header .block-info .phone img{
  position: absolute;
  top: 0;
  left: 0;
}
#header .block-info .email{
  font-size: 18px;
  margin-top: 6px;
  padding-left: 26px;
}
#header .block-info .email a:hover{
  text-decoration: underline;
}

#home{
  float: left;
  width: 100%;
  background: url('img/fon1-min.jpg')no-repeat center;
  background-size: cover;
  margin-top: 112px;
  color: #fff;
}
#home .nav ul{
  font-size: 0;
}
#home .nav li{
  display: inline-block;
  vertical-align: middle;
}
#home .nav li a{
  padding: 25px 30px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 300;
}
#home .nav li a:hover{
  background: rgba(255, 255, 255, 0.74);
  color: #000;
}
#home .section-s h2{
  margin-top: 90px;
  max-width: 700px;
  font-size: 83px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.1;
}
#home .section-s h2 span{
  display: block;
  font-weight: 300;
  font-size: 45px;
}
#home .section-s h2 span:last-child{
  font-size: 40px;
  margin-top: 10px;
}
#home .btn p{
  max-width: 400px;
  line-height: 90px;
  font-size: 26px;
  font-weight: 300;
  background: #172943;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  margin-top: 100px;
}
#home .btn p:hover{
  background: rgba(23, 41, 67, 0.75);
}
#home .bottom{
  margin-top: 40px;
  padding: 10px 10px 20px;
  text-align: right;
  background: rgba(0, 0, 0, 0.60);
}
#home .bottom p{
  padding-right: 140px;
  font-size: 20px;
  line-height: 1.2;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 12px;
}
#home .bottom span{
  font-weight: 300;
  font-size: 14px;
}

#about{
  float: left;
  width: 100%;
  background: #fff;
  padding: 50px 0 0px;
}
#about .img{
  float: left;
  width: 50%;
  position: relative;
  z-index: 2;
  padding-right: 13px;
  padding-bottom: 60px;
}
#about .img img{
  width: 100%;
  display: block;
}
#about .img:before{
  content: "";
  position: absolute;
  top: 40px;
  left: -70px;
  bottom: 0px;
  right: 40px;
  background: #172943;
  z-index: -1;
}
#about .items{
  float: left;
  width: 50%;
  padding-left: 15px;
}
#about .items .title-s{
  font-size: 36px;
  line-height: 1.3;
  text-transform: uppercase;
  padding-bottom: 30px;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
}
#about .items .title-s:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 170px;
  height: 11px;
  border: 1px solid #ccc;
  background: #172943;
}
#about .items .text p{
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 40px;
  font-weight: 300;
}
#about .items .text p:last-child{
  margin-bottom: 0;
}

#works{
  float: left;
  width: 100%;
  padding: 60px 0 80px;
}
#works .title-s{
  margin-bottom: 55px;
  padding-bottom: 30px;
  position: relative;
  font-size: 36px;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
}
#works .title-s:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 170px;
  height: 11px;
  border: 1px solid #ccc;
  background: #172943;
}
#works .row{
  margin: 0 -15px;
}
#works .item{
  float: left;
  width: 25%;
  padding: 0 15px;
  position: relative;
}
#works .item .img{
  line-height: 125px;
}
#works .item .img img{
  display: inline-block;
  vertical-align:bottom;
}
#works .item .title{
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 300;
  padding-top: 40px;
  position: relative;
  margin-top: 30px;
  line-height: 1.2;
}
#works .item .title:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 103px;
  height: 9px;
  border: 1px solid #ccc;
  background: #172943;
}
#works .item .box{
  display: inline-block;
}
#works .item:before{
  content: "";
  position: absolute;
  top: 74px;
  left: 150px;
  right: 15px;
  height: 6px;
  margin-top: -3px;
  background: url('img/line.png')no-repeat center;
}
#works .item:last-child:before{
  display: none;
}

#benefits{
  float: left;
  width: 100%;
  background: url('img/fon2-min.jpg')no-repeat center;
  background-size: cover;
  padding: 50px 0 80px;
  color: #fff;
}
#benefits .title-s{
  float: left;
  width: 100%;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 25px;
  margin-bottom: 60px;
  position: relative;
}
#benefits .title-s:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 170px;
  height: 10px;
  background: #fff;
}
#benefits .grid{
  float: left;
  width: 50%;
}
#benefits .grid .items{
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}
#benefits .grid .items:last-child{
  margin-bottom: 0;
}
#benefits .grid .img{
  float: left;
}
#benefits .grid .text{
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.3;
  padding-left: 200px;
}

#map{
  float: left;
  width: 100%;
}
#map iframe{
  float: left;
  width: 100%!important;
  height: 500px!important;
  border: none;
  margin: 0;
  display: block;
}

#footer{
  width: 100%;
  background: #fff;
  padding: 25px 0 20px;
  position: relative;
  float: left;
}
#footer .logo{
  float: left;
}
#footer .logo img{
  display: block;
}
#footer .fill{
  float: left;
  margin-left: 30px;
  margin-top: -1.5px;
}
#footer .fill img{
  display: block;
}
#footer .block-adress{
  float: right;
  font-weight: 600;
  color: #003333;
  font-size: 20px;
  line-height: 26px;
  padding: 2px 0;
  padding-left: 36px;
  position: relative;
  margin-right: 40px;
}
#footer .block-adress img{
  position: absolute;
  top: 0;
  left: 0;
}
#footer .block-info{
  float: right;
}
#footer .block-info .phone{
  font-size: 20px;
  font-weight: 600;
  position: relative;
  padding-left: 26px;
}
#footer .block-info .phone a:hover{
  text-decoration: underline;
}
#footer .block-info .phone img{
  position: absolute;
  top: 0;
  left: 0;
}
#footer .block-info .email{
  font-size: 18px;
  margin-top: 6px;
  padding-left: 26px;
}
#footer .block-info .email a:hover{
  text-decoration: underline;
}

#form{
  float: left;
  width: 100%;
  background: #172943;
  padding: 80px 0;
}
#form .grid{
  float: left;
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  padding: 50px 70px 15px 15px;
}
#form .grid .img{
  float: left;
  width: 63%;
}
#form .grid .img img{
  display: block;
  width: 100%;
}
#form .grid .bg-img{
  position: absolute;
  right: -86px;
  top: 10px;
}
#form .grid .box{
  float: left;
  width: 37%;
  padding-left: 30px;
}
#form .grid .title{
  padding-bottom: 30px;
  margin-bottom: 30px;
  position: relative;
  font-size: 49px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 270px;
}
#form .grid .title:before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 9px;
  border: 1px solid #ccc;
  background: #172943;
}
#form .grid .text{
  font-size: 20px;
  line-height: 1.3;
  font-weight: 300;
  text-transform: uppercase;
}
#form .grid .btn p{
  font-size: 26px;
  text-align: center;
  padding: 30px 10px;
  background: #172943;
  cursor: pointer;
  color: #fff;
  font-weight: 300;
  margin-top: 35px;
  position: relative;
  z-index: 3;
}
#form .grid .btn p:hover{
  background: rgba(23, 41, 67, 0.84);
}

#pop-up-mailto{
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.48);
  z-index: 200;
  overflow: hidden;
}
#pop-up-mailto.open{
  top: 0;
}
#pop-up-mailto .item{
  display: table;
  width: 100%;
  height: 100%;
  text-align: center;
}
#pop-up-mailto .item p{
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
#pop-up-mailto .item p span{
  color: #000;
  background: #fff;
  padding: 15px 30px;
  display: inline-block;
  margin: 30px 15px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.6);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.6);
}

#pop-up-form{
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.48);
  z-index: 120;
  overflow: hidden;
}
#pop-up-form.open{
  bottom: 0;
}
#pop-up-form .table{
  display: table;
  width: 100%;
  height: 100%;
}
#pop-up-form .table-cell{
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  padding: 15px;
}
#pop-up-form .table-cell form{
  max-width: 400px;
  margin: 0 auto;
  display: block;
  background: #fff;
  padding: 45px 30px 30px;
  text-align: center;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 20px #000;
  box-shadow: 0 0 20px #000;
}
#pop-up-form .table-cell form .close{
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  z-index: 2;
  width: 15px;
}
#pop-up-form .table-cell form .close:hover{
  opacity: 0.8;
}
#pop-up-form .table-cell form .wrap-input input{
  display: block;
  width: 100%;
  padding: 0 10px;
  height: 40px;
  font-size: 14px;
  border: 1px solid #c5bbbb;
  margin-bottom: 15px;
  outline: none;

-webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}
#pop-up-form .table-cell form  .wrap-submit input{
  display: block;
  width: 100%;
  padding: 0 10px;
  height: 40px;
  font-size: 17px;
  border: none;
  text-transform: uppercase;
  outline: none;
  background: #172943;
  color: #fff;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}
#pop-up-form .table-cell form .wrap-input input.error{
  border-color: red;
}
#pop-up-form .table-cell form  .wrap-submit input:hover{
  opacity: 0.7;
}

/*media*/
@media (max-width: 1200px) {
  .wrap{
    max-width: 980px;
  }
  #home .nav li a{
    padding: 20px 15px;
  }
  #footer .block-adress,
  #header .block-adress {
    font-size: 16px;
    margin: 5px 0 0;
    clear: right;
  }
  #home .section-s h2{
    margin-top: 45px;
  }
  #home .btn p{
    margin-top: 50px;
  }
}
@media (max-width: 980px){
  /*тут будет бургер*/
  .wrap{
    max-width: 740px;
  }
  #map iframe {
    height: 300px!important;
  }
  #header .fill,
  #footer .fill{
    display: none;
  }
  #form .grid .img{
    display: none;
  }
  #form .grid .box{
    width: 100%;
    padding: 0;
    padding-right: 200px;
  }
  #form .grid .bg-img{
    right: 15px;
  }
  #benefits .grid .img img{
    max-width: 100px;
  }
  #benefits .grid .text {
    font-size: 18px;
    padding-left: 120px;
  }
  #works .item{
    width: 50%;
    margin: 15px 0;
  }
  #works .title-s{
    margin-left: 25px;
  }
  #works{
    padding: 60px 0 40px;
  }
  #works .item:nth-child(2):before{
    display: none;
  }
  #about .items .title-s{
    font-size: 30px;
  }
  #about .items .text p{
    margin-bottom: 15px;
  }
  #home .bottom p{
    padding: 0;
  }
  #home .section-s h2{
    font-size: 60px;
  }
  #home .section-s h2 span{
    font-size: 35px;
  }
  #home .section-s h2 span:last-child{
    font-size: 30px;
  }
  #home .nav{
    display: none;
  }
  #home{
    padding-top: 25px;
  }
  #header .block-adress{
    display: none;
  }
}
@media (max-width: 760px){
  .wrap{
    max-width: 540px;
  }
  #footer .logo,
  #footer .block-adress,
  #footer .block-info{
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  #footer .block-info .phone img,
  #footer .block-adress img{
    position: static;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
  }
  #footer .block-info .phone a,
  #footer .block-adress p{
    display: inline-block;
    vertical-align: middle;
  }
  #form .grid .box{
    padding-right: 10px;
  }
  #form .grid .bg-img{
    width: 100px;
  }
  #benefits .grid{
    width: 100%;
  }
  #benefits .grid .items,
  #benefits .grid .items:last-child{
    margin-bottom: 25px;
  }
  #benefits .grid:last-child .items:last-child{
    margin-bottom: 0;
  }
  #works .item{
    width: 100%;
  }
  #works .item:before{
    display: none;
  }
  #about .img{
    width: 100%;
    padding: 0 15px 30px 30px;
    margin-bottom: 30px;
  }
  #about .img:before {
    top: 40px;
    left: 0;
    bottom: 0px;
    right: 40px;
  }
  #about .items{
    width: 100%;
    padding: 0;
  }
  #works .title-s{
    margin-left: 0;
  }
}
@media (max-width: 540px){
	#page{
		text-align: center;
	}
	#header .logo{
		width: 100%;
		text-align: center;
	}
	#header{
		height: auto;
		padding: 15px 0;
	}
	#home{
		margin-top: 72px;
	}
	#header .block-info{
		display: none;
	}
	#home .section-s h2 {
		font-size: 30px;
	}
	#home .section-s h2 span{
		font-size: 24px;
	}
	#home .section-s h2 span:last-child{
		font-size: 20px;
	}
	#home .btn p {
		margin-top: 50px;
		margin: 15px auto 0;
		line-height: 55px;
		max-width: 300px;
		font-size: 20px;
	}
	#home .bottom p{
		font-size: 16px;
		margin-bottom: 5px;
	}
	#home .bottom span{
		font-size: 12px;
	}
	#benefits .title-s,
	#works .title-s,
	#about .items .title-s{
		font-size: 22px;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	#benefits .title-s{
		margin-bottom: 40px;
	}
	#form .grid .title:before,
	#benefits .title-s:before,
	#works .item .title:before,
	#works .title-s:before,
	#about .items .title-s:before {
		left: 50%;
		width: 100px;
		margin-left: -50px;
		height: 6px;
	}
	#about .items .text p{
		font-size: 18px;
	}
	#works .item .title {
		font-size: 16px;
		padding-top: 20px;
		margin-top: 20px;
	}
	#benefits .grid .img{
		width: 100%;
	}
	#benefits .grid .text{
		padding: 0;
		float: left;
		width: 100%;
		margin-top: 15px;
	}
	#benefits{
		padding-bottom: 50px;
	}
	#form .grid .box{
		padding-right: 0;
	}
	#form .grid{
		padding: 30px 25px;
	}
	#form .grid .title {
		margin-right: 0;
		max-width: 100%;
		font-size: 30px;
		margin-bottom: 20px;
		padding-bottom: 20px;
	}
	#form .grid .text{
		font-size: 16px;
	}
	#form .grid .btn p {
		font-size: 20px;
		padding: 15px 10px;
		margin-top: 20px;
	}
}

