*{
	margin:0px;
	padding:0px;
}

html, body{
	width:100%;
	height:100%;
}

body{
	font-family: Montserrat,'Times New Roman';
	color: #111111;
	font-size: 0px;
	letter-spacing: 0em;
	line-height: normal;
	font-weight: 100;
}

a{
	color: inherit;
	cursor: pointer;
	text-decoration:none;
	transition:all 0.2s;
	-webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

a:hover{
	opacity:0.8;
	cursor: pointer;
}


.main{
	position: relative;
	width: 100%;
	z-index: 100;
	overflow: hidden;
}

.slider .lines{
	height: 100%;
	z-index: 110;
}

.slider .lines .line{
	background-color: #ffffff;
	opacity: 0.06;
}

.lines{
	top: 0;
	position: absolute;
	z-index: -1;
	padding-left: 100px;
	padding-right: 70px;
	width: calc(100% - 170px);
	display: flex;
	justify-content: space-between;
	height: 100%;
}

.lines .line{
	background-color: #18171d;
	opacity: 0.02;

	height: 100%;
	width: 1px;
}

.header{
	position: fixed;
	padding-top: 0.5vw;
	padding-bottom: 0.5vw;
	z-index: 200;
	width: calc(calc(calc(100% - 170px)/6) * 4);
	background-color: #ffffff;

	padding-left: calc(calc(calc(100% - 170px)/6) + 100px);
	padding-right: calc(calc(calc(100% - 170px)/6) + 100px);

	display: flex;
	justify-content: space-between;

	align-items: center;
}

.header .logo{
	display: inline-block;
	width: calc(100vw / 12);
	height: 59px;

	background-image: url('../img/logoVilla.png?1');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	flex: none;

	transition:all 0s;
	-webkit-transition: all 0s;
		-moz-transition: all 0s;
		-ms-transition: all 0s;
}

.header .mail{
	display: inline-block;
	font-size: 1vw;
	letter-spacing: 0.08em;

}

.header .mail .before{
	display: inline-block;
	vertical-align: middle;
	margin-right: 1vw;
	background-image: url('../img/mail.png?1');
	width: calc(100vw / 40);
	height: calc(100vw / 40);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.header .phone{
	display: inline-block;
	font-size: 1.2vw;
	letter-spacing: 0.08em;
	/*width: calc(100vw / 6);*/
}

.header .phone .before{
	display: inline-block;
	vertical-align: middle;
	margin-right: 1vw;
	background-image: url('../img/phone.png?1');
	width: calc(100vw / 40);
	height: calc(100vw / 40);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}


.button{
	display: inline-block;
	padding-left: 2%;
	padding-right: 2%;
	font-size: 0.65vw;
	letter-spacing: 0.1em;
	line-height: normal;
	padding-top: 1.1vw;
	padding-bottom: 1vw;
	font-family: Montserrat;
	font-weight: 400;

	background: linear-gradient(to right, #08a69f, #29ba83);
	border-radius: 20px;
	color: #ffffff;
	border: 1px solid #08a69f;

	text-transform: uppercase;
	position: relative;
	z-index: 150;
}

.button:hover{
	opacity: 1;
	background: none;
	color: #08a69f;
}

.slider{
	width: 100%;
	position: relative;

	background-color: #18171d;
	height: 70vh;
}

.slider .image{

	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	opacity: 0.4;
	width: 100%;
	height: 100%;
}

.slider .textBlock{
	color: #ffffff;
	position: absolute;
	left: calc(calc(calc(100% - 170px)/6) + 100px);
	top: 30vh;
}

.slider .title{
	font-family: Montserrat;
	font-size: 3.5vw;
	line-height: normal;
	margin-bottom: 30px;
	max-width: 75%;
	font-weight: 700;
}

.slider .text{
	font-size: 1vw;
	line-height: 1.5vw;
	margin-bottom: 30px;
	max-width: 60%;
}

.content{
	width: 100%;

	padding-top: 50px;
}

.titleBig{
	font-family: Montserrat;
	font-size: 2.2vw;
	margin-bottom: 30px;
	font-weight: 700;
}

.inner{
	width: calc(calc(calc(100% - 170px)/6) * 4);
	padding-left: calc(calc(calc(100% - 170px)/6) + 100px);
}

.content .gallery .item{
	display: inline-block;
}

.content .gallery.goods .item{
	width: calc(calc(100% / 3) - 20px);
	margin-right: 20px;
	padding-top: 2vw;
	padding-bottom: 1.5vw;
	margin-bottom: 50px;

	background-image: url('../img/circle.png?1');
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}

.content .gallery.goods .item:hover{
	opacity: 1;
	cursor: default;
}

.content .gallery.goods .item:hover .title{
	color: #08a69f;
	text-decoration: underline;
}

.content .gallery.goods .item .title{
	font-family: Montserrat;
	font-size: 1.1vw;
	margin-bottom: 1.1vw;
	white-space: nowrap;
	position: relative;
	z-index: 150;
	font-weight: 400;
}

.content .text{
	font-size: 0.85vw;
	line-height: 1.5vw;
}

.content .gallery.goods .item .imageBlock{
	display: inline-block;
	width: 23%;
	height: 5vw;
	padding-top: 1vw;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	vertical-align: middle;
	padding-left: 7%;
	padding-right: 5%;

	position: relative;

	background-image: url('../img/dots.png?1');
}

.content .gallery.goods .item .image{
	display: inline-block;

	width: 100%;
	height: 100%;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

}

.content .gallery.goods .item .textBlock{
	display: inline-block;
	width: 65%;
	vertical-align: middle;
}



.content .textImage{
	width: 100%;
	margin-top: 20px;
}

.content .textImage .inner>div{
	display: inline-block;
	vertical-align: top;
	width: 50%;
}

.content .textImage .textBlock{
	padding-top: 30px;
}

.content .text p{
	margin-bottom: 20px;
}

.content .textImage .textBlock .text{
	margin-bottom: 30px;
}

.content .textImage .textBlock .link{
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75vw;
	font-family: Montserrat;
	padding-bottom: 5px;
	border-bottom: 1px solid #08a69f;
	color: #08a69f;
	font-weight: 400;
}

.content .textImage .imageBlock{
	height: calc(calc(calc(100vw - 170px)/3) - 70px);

	background-image: url('../img/ellipse.png?1');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	padding-top: 30px;

	text-align: center;
	position: relative;
}

.content .textImage .imageBlock .image{
	display: inline-block;
	width: 75%;
	height: 75%;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	position: relative;
	z-index: 150;
}

.content .textImage .imageBlock .dotsSquad{
	width: calc(calc(100vw - 170px) / 12);
	height: calc(calc(100vw - 170px) / 12);

	display: inline-block;
	position: absolute;
	z-index: 110;


	right: 0px;

	background-image: url('../img/dots.png?1');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

.content .textImage .imageBlock .dotsSquad:first-child{
	left: 20px;
}

.content .textImage .imageBlock .dotsSquad:nth-child(3n){
	bottom: -30px;
	left: 30%;
}

.content .textImage .imageBlock .dotsSquad:not(:nth-child(3n)){
	top: calc(50% - calc(calc(100vw - 170px) / 24));
}

.content .videoText{

	margin-top: 60px;
	margin-bottom: 30px;
}

.content .videoText .videoBlock{
	width: calc(50% - 20px);
	margin-right: 20px;
	display: inline-block;
	vertical-align: top;

	position: relative;
	padding-bottom: 35px;
}

.content .videoText .videoBlock .dotsSquad{
	width: calc(calc(100vw - 170px) / 12);
	height: calc(calc(100vw - 170px) / 12);

	display: inline-block;
	position: absolute;
	z-index: 110;

	right: 0px;
	bottom: 0px;

	background-image: url('../img/dots.png?1');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

.content .videoText .videoBlock .video{
	width: 100%;
	height: calc(calc(100vw - 170px) / 6 + 1.5vw);

	margin-bottom: 35px;
}

.content .videoText .textBlock{
	width: calc(50% - 40px);
	margin-left: 20px;

	display: inline-block;
	vertical-align: top;
}

.content .gallery.objects{
	width: 100%;
	height: 13.5vw;

	overflow: hidden;
	white-space: nowrap;

	margin-bottom: 80px;
	text-align:center;
}

.content .gallery.objects .item{
	width: calc(calc(100% - 170px) / 6 - 5px);
	height: 100%;
	margin-right: 5px;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	opacity: 0.85;
}

.content .gallery.objects .item:hover{
	opacity: 1;
}

.content .gallery.objects .item:first-child{
	width: calc(calc(100% - 170px) / 3 - 5px);
	margin-left: calc(calc(calc(100% - 170px) / 6 + 95px) - calc(calc(100% - 170px) / 3 - 5px));
}

.content .gallery.objects .item:last-child{

	margin-right: 0px;
}

.content .gallery.objects .item:nth-child(4n){
	width: calc(calc(100% - 170px) / 3 - 5px);
}

.content .gallery.advantages{
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.content .gallery.advantages .item{
	width: calc(calc(100vw - 170px) / 12);
}

.content .gallery.advantages .item .image{
	width: 100%;
	height: calc(calc(100vw - 170px) / 12);

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	position: relative;

}

.content .gallery.advantages .item .image .dotsSquad{
	width: 100%;
	height: 100%;

	display: inline-block;
	position: absolute;
	z-index: -1;


	right: 0px;

	background-image: url('../img/dots.png?1');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

.content .gallery .item .text{
	text-align: center;
	margin-top: 20px;
}

.inner.work{
	padding-top: 50px;
	margin-top: 50px;
	padding-bottom: 50px;

	background-color: #ebf9f8;
	padding-right: calc(calc(calc(100% - 170px)/6) + 70px);

	margin-bottom: 70px;
}


.content .gallery.work{
	width: 100%;
	display: flex;
	justify-content: space-between;

	margin-top: 50px;
}

.content .gallery.work .item{
	width: calc(calc(100vw - 170px) / 10);
}

.content .gallery.work .item .image{
	width: 100%;
	height: calc(calc(100vw - 170px) / 10);

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;


}


.content .gallery.logos{
	width: 100%;
	display: flex;
	justify-content: space-between;

	margin-top: 50px;
}

.content .gallery.logos .item{
	width: calc(calc(100vw - 170px) / 10);
}

.content .gallery.logos .item .image{
	width: 100%;
	height: calc(calc(100vw - 170px) / 15);

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;

	filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: url(desaturate.svg#greyscale);
    filter: gray;
    -webkit-filter: grayscale(1);

}

.content .gallery.logos .item:hover .image{
	filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
    filter: none;
    -webkit-filter: none;
}

.content .gallery.logos .item:hover{
	opacity: 1;
}

.footer{
	width: 100%;
	position: relative;
	margin-top: 50px;

	padding-bottom: 20px;
}



.lineInputs{
	width: 100%;
	display: flex;
	justify-content: space-between;

	padding-top: 20px;
	padding-bottom: 20px;
}

.lineInputs input{
	display: inline-block;

	background: none;
	border: none;

	font-family: inherit;

	outline: 0 !important;
	caret-color: #08a69f;

}



.mapBlock{
	display: flex;
	width: calc(100% - 20px);
	margin-top: 50px;

}

.mapBlock .map{
	display: inline-block;
	flex: 1;
	width: auto;
	height: auto;
}

.mapBlock .contacts{
	display: inline-block;
	flex: none;
	font-size: 1vw;
}

.mapBlock .map div#map{
	width: 100%;
	height: 100%;
}

.mapBlock .contacts{
	position: relative;
	text-align: left;
	width: calc(calc(100% / 3) - 30px);
	padding-right: 30px;
}

.mapBlock .contacts .cBlock{
	display: flex;
	margin-bottom: 20px;
	font-size: 0.9vw;
	line-height: 1.2vw;

	letter-spacing: 0.06em;
	font-size: 0.9vw;
	font-family: Montserrat;
	font-weight: 100;
}

.mapBlock .contacts .button{
	padding-left: 15px;
	padding-right: 15px;

	margin-top: 20px;
	margin-bottom: 50px;
}

.mapBlock .contacts .icons{
	white-space: nowrap;
}

.mapBlock .contacts .icons a{
	width: 15% !important;
	max-width: 45px;
	margin-right: 1.5% !important;
	height: calc(100vw / 40) !important;
}

.mapBlock .contacts .icons a:last-child{
	margin-right: 0px !important;
}

.mapBlock .contacts .cBlock>div:not(.icon){
	width: calc(80% - 15px);
	display: inline-block;
	vertical-align: top;
	padding-top: 10px;
}

.mapBlock .contacts .cBlock .icon{

	background-position: center top;
	background-repeat: no-repeat;
	background-size: contain;
	height: calc(100vw / 30);
	width: 20%;
	margin-right: 10px;
	display: inline-block;
	vertical-align: top;
}


.mapBlock .contacts .cBlock .cTitle{
	font-family: Montserrat;
	letter-spacing: 0.1em;
	font-size: 1.2vw;
	margin-bottom: 10px;
	font-weight: 400;
}



.footer .lineFoot{
	width: 100%;
	display: flex;
	justify-content: space-between;

	margin-top: 50px;
}

.footer .lineFoot .copyright, .footer .lineFoot>a{
	display: inline-block;
	color: #909090;
	font-size: 1vw;
	line-height: 70px;
}

.footer .lineFoot>a{
	text-decoration: underline;
}

.footer .lineFoot a:hover{
	opacity: 1;
}

.footer .lineFoot .madeby{
	display: inline-block;
	font-size: 1vw;
	line-height: 70px;
}

.footer .lineFoot .madeby a{
	color: #08a69f;
	text-decoration: underline;
}

.formPage.hide{
	display: none;
}

.formPage{
	width: 100%;
	height: 100vh;
	position: fixed;
	z-index: 500;
	display:none;
}

.form{
	padding-top: 50px;
	padding-bottom: 50px;
	display: flex;
	flex-direction: column;

	justify-content: center;


	position: absolute;
	width: 30%;
	height: calc(30vw - 100px);
	left: calc(calc(calc(100% - 170px)/3) + 100px);
	top: 20vh;

	background: linear-gradient(to right, #08a69f, #29ba83);
	border-radius: 50%;
	color: #ffffff;

	text-align: center;

}

.formBackground{
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;

	background-color: #18171d;
	opacity: 0.6;
}


.formPage .lineInputs{
	flex-direction: column;
}

.formPage .lineInputs input{
	width: 70%;
	text-align: center;
	border-radius: 20px;
	line-height: 40px;
	margin-left: 15%;

	background-color: #ffffff;
	color: #111111;
	margin-bottom: 10px;
}

.formPage .lineInputs input:last-child{
	margin-bottom: 0px;
}

.formPage .title{
	font-size: 2.5vw;
	text-transform: none;
	font-family: Montserrat;
	letter-spacing: 0.02em;
	font-weight: 500;
}

.formPage .form .check{
	font-size: 1vw;

	display: inline-block;
	width: 100%;

	position: relative;
}

.formPage .check input{
	display: none;
}

.formPage .check label:before {
	content: "";
	display: inline-block;

	width: 30px;
	height: 30px;
	border-radius: 30px;

	margin-right: 10px;
	position: absolute;
	left: -20px;
	top: 1px;
	background-color: #ffffff;
	text-align: center;
}

.formPage .check input:checked + label:before {
	content: url('../img/checkbox.png?1');

	padding-top: 8px;
	height: 22px;
}

.formPage .check label{
	width: 50%;
	display: inline-block;
	vertical-align: top;
	line-height: 1.5vw;

	position: relative;
}

.button.black{
	width: 100px;
	background: none;
	background-color: #111111;
	color: #ffffff;
	margin-top: 20px;
	border: none;
	padding-left: 10px;
	padding-right: 10px;
}

.button.black:hover{
	opacity: 0.8;
}
