/********************************************/
/*											*/
/*			  	 VTR DIZAINAS				*/
/* 			Kodo autorius: PovilasC			*/
/*		Autoriaus svetainė: povilasc.lt		*/
/* 		 Visos teisės saugomos © 2016		*/
/*											*/
/********************************************/

/* RESET */
a,abbr,acronym,address,applet,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}:focus{outline:0}body{line-height:1;color:#000;background:#fff}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,td,th{text-align:left;font-weight:400}blockquote:after,blockquote:before,q:after,q:before{content:""}blockquote,q{quotes:"" ""}a,a:link,a:visited,a:hover,a:active{color:inherit;text-decoration:none;}
html * {max-height:1000000px;}
/* FONTAI */
@import url(https://fonts.googleapis.com/css?family=Lato:400,100,700,900,300,100italic,300italic,400italic,700italic,900italic);
@font-face {
	font-family: 'Myriad Pro Regular';
	font-style: normal;
	font-weight: normal;
	src: local('Myriad Pro Regular'), url('../fonts/MYRIADPRO-REGULAR.woff') format('woff');
}

/* STILIAI */
body {
	height: 100%;
	background: #fff;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	min-width: 1000px;
	min-height: 500px;
	-webkit-text-size-adjust: 100%;
}
.container {
	width: 80%;
	min-width: 950px;
	max-width: 1600px;
	margin: 0 auto;
}
.container2 {
	width: 65%;
	min-width: 900px;
	max-width: 1550px;
	margin: 0 auto;
}
.container3 {
	width: 60%;
	min-width: 700px;
	max-width: 1200px;
	margin: 0 auto;
}
.nav {
	position: absolute;
	top: 0;
	width: 100%;
	height: 110px;
	line-height: 110px;
	z-index: 10000;
}
	.logo {
		width: 76px;
		height: 50px;
		background: url(../img/logo.png) center no-repeat;
		display: inline-block;
		margin: 30px 0;
	}
	
	.nav ul {
		list-style: none;
		float: right;
	}
	.nav ul li {
		display: inline;
		margin: 0 20px;
		text-transform: uppercase;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		opacity: 1.0;
		transition: 0.5s;
	}
	.nav ul li:hover {
		opacity: 0.8;
		transition: 0.5s;
	}
.header {
	height: 85vh;
	background: url(../img/header.jpg) center;
	background-size: cover;
	min-height: 500px;
	max-height: 900px;
}
	.slideris { 
		position: relative; 
		top: calc(50% - 120px);
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 700px;
		height: 400px;
	}

	#slider > div { 
		position: absolute;
		top: 0;
		padding-left: 30px;
		border-left: 5px solid #3498db;
		color: #fff;
		font-weight: 700;
	}

	#slider div h1 {
		margin: 0 0 10px 0;
		font-weight: 700;
		font-size: 24px;
	}
	.orderbtn, .orderbtn:link, .orderbtn:visited, .orderbtn:active {
		font-weight: 900;
		font-size: 14px;
		position: absolute;
		bottom: 120px;
		left: 0;
		right: 0;
		color: #fff;
		border: 2px solid #fff;
		opacity: 1.0;
		padding: 17px 70px;
		max-width: 150px;
		text-align: center;
		display: block;
		margin: 0 auto;
	}
	.mouse {
		position: absolute;
		bottom: 30px;
		width: 20px;
		left: 0;
		right: 0;
		text-align: center;
		display: block;
		margin: 0 auto;
	}
.bar {
	height: 45px;
	line-height: 45px;
	background: #141b22;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
	.sicon {
		width: 45px;
		height: 45px;
		display: inline-block;
		margin: 0 5px;
		float: right;
	}
		.sicon.fb {
			background: #3498db url(../img/fb.png) center no-repeat;
		}
		.sicon.tw {
			background: #3498db url(../img/tw.png) center no-repeat;
		}
		.sicon.sk {
			background: #3498db url(../img/sk.png) center no-repeat;
		}
#about {
	background: #fff;
	padding: 30px 0;
	color: #141b22;
}
	#about h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 900;
		text-transform: uppercase;
		margin: 30px 0 40px 0;
	}
	#about .block {
		padding-left: 90px;
		opacity: 0.7;
		transition: 0.5s;
		margin: 35px 0;
	}
		#about .block.block1 {
			background: url(../img/block1.png) 0px 50% no-repeat;
		}
		#about .block.block2 {
			background: url(../img/block2.png) 0px 50% no-repeat;
		}
		#about .block.block3 {
			background: url(../img/block3.png) 0px 50% no-repeat;
		}
		#about .block.block4 {
			background: url(../img/block4.png) 0px 50% no-repeat;
		}
	#about .block:hover {
		opacity: 1.0;
		transition: 0.5s;
	}
	#about .block h3 {
		font-size: 18px;
		font-family: 'Myriad Pro Regular';
		text-transform: uppercase;
		margin-bottom: 7px;
	}
	#about .block p {
		font-size: 12px;
		font-weight: 700;
		line-height: 1.4;
	}
#team {
	background: #faf4f4;
	padding: 30px 0;
	font-size: 0;
}
	#team h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 900;
		text-transform: uppercase;
		margin: 30px 0;
	}
	#team .block {
		display: inline-block;
		box-sizing: border-box;
		width: 25%;
		margin: 0;
		padding: 6px;
		border: 0;
	}
	#team .block img {
		max-width: 100%;
		transition: transform 0.4s;
	}
	#team .block span {
		background: #fff;
		display: block;
		font-size: 13px;
		font-weight: 700;
		padding: 15px 0;
		text-align: center;
		margin-top: 18px;
	}
	#team .block:hover img {
		-webkit-transform: scale(1.08);
		-moz-transform: scale(1.08) rotate(0.02deg);
		transform: scale(1.08);
		transition: transform 0.4s;
	}
#gallery {
	padding: 30px 0;
	font-size: 0;
}
	#gallery h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 900;
		text-transform: uppercase;
		margin: 30px 0;
	}
	#gallery .block {
		display: inline-block;
		position: relative;
		box-sizing: border-box;
		width: 25%;
		padding-top: 25%;
		margin: 0;
		border: 5px #fff solid;
		background-position: center;
		background-size: cover;
	}
	#gallery .block:after {
		content: '\A';
		position: absolute;
		width: 100%; height: 100%;
		top: 0; left: 0;
		background: rgba(0,0,0,0.6);
		opacity: 1;
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
	}
	#gallery .block:hover:after {
		opacity: 0;
	}
#works {
	padding: 30px 0;
	background: #fff;
}
	#works h2 {
		text-align: center;
		font-size: 24px;
		font-weight: 900;
		text-transform: uppercase;
		margin: 30px 0;
	}
	#works iframe {
		margin: 15px 0;
	}
#contact {
	background: #141b22;
	padding: 30px 0;
	color: #fff;
	font-size: 0;
	margin-top: 30px;
}
	#contact h1 {
		font-size: 40px;
		font-weight: 700;
		text-transform: uppercase;
		margin-bottom: 30px;
	}
	#contact p {
		font-family: 'Myriad Pro Regular';
		font-size: 12px;
		margin-bottom: 30px;
	}
	#contact .row1 {
		width: 50%;
		padding-right: 20px;
		display: inline-block;
		box-sizing: border-box;
		border: 0;
		margin: 0;
	}
	#contact .row2 {
		width: 50%;
		padding-left: 20px;
		display: inline-block;
		float: right;
		box-sizing: border-box;
		border: 0;
		margin: 0;
	}
	#contact .map {
		height: 360px;
	}
	#contact iframe {
		display: block;
		width: 100%;
		height: 100%;
	}
	@media (min-width: 1025px) {
		#contact .container2 {
			display: flex;
			align-items: stretch;
		}
		#contact .row1 {
			display: flex;
			flex-direction: column;
		}
		#contact .row1 .map {
			flex: 1;
			height: auto;
			min-height: 300px;
		}
		#contact .row2 {
			float: none;
		}
		#contact .row2 form {
			margin-bottom: -15px;
		}
	}
	.text, .texta {
		width: 100%;
		margin-bottom: 15px;
		border: 0;
		padding: 8px 15px;
		font-size: 12px;
		font-family: 'Myriad Pro Regular';
		resize: none;
	}
	.texta {
		height: 110px;
	}
	.submit {
		background: #3498db;
		border-radius: 3px;
		font-size: 14px;
		font-family: 'Myriad Pro Regular';
		color: #fff;
		padding: 7px 18px;
		display: block;
		border: 0;
		cursor: pointer;
	}

/* SOCIAL ICONS: grayscale -> color on hover */
.sicon {
	filter: grayscale(1);
	transition: filter 0.4s;
}
.sicon:hover {
	filter: grayscale(0);
}

/* TEAM PHOTOS (square stock photos cropped to the original 242x300 proportions) */
#team .block img {
	display: block;
	width: 100%;
	aspect-ratio: 242 / 300;
	object-fit: cover;
}

/* RESPONSIVE (desktop design above 1024px stays unchanged) */
@media (max-width: 1024px) {
	body {
		min-width: 0;
	}
	.container, .container2, .container3 {
		width: 90%;
		min-width: 0;
	}
	.nav {
		height: auto;
		line-height: 1;
		padding-bottom: 10px;
	}
	.nav .container {
		text-align: center;
	}
	.logo {
		margin: 15px 0 5px 0;
	}
	.nav ul {
		float: none;
		line-height: 30px;
	}
	.nav ul li {
		margin: 0 8px;
		font-size: 12px;
		display: inline-block;
	}
	.header {
		height: auto;
		min-height: 640px;
	}
	.slideris {
		top: 170px;
		width: 90%;
		max-width: 700px;
		height: 330px;
	}
	#slider > div {
		padding-left: 20px;
		font-size: 14px;
		line-height: 1.5;
	}
	.orderbtn, .orderbtn:link, .orderbtn:visited, .orderbtn:active {
		bottom: 40px;
	}
	.mouse {
		display: none;
	}
	.bar {
		height: auto;
		line-height: 1.5;
		padding: 12px 0 8px 0;
		text-align: center;
	}
	.sicon {
		float: none;
		vertical-align: top;
		margin: 10px 5px 0 5px;
	}
	#about .block {
		padding-left: 80px;
	}
	#team .block, #gallery .block {
		width: 50%;
	}
	#gallery .block {
		padding-top: 50%;
	}
	#contact {
		font-size: 0;
	}
	#contact .row1, #contact .row2 {
		width: 100%;
		float: none;
		display: block;
		padding-left: 0;
		padding-right: 0;
	}
	#contact .row1 {
		margin-bottom: 30px;
	}
	#contact h1 {
		font-size: 32px;
	}
	#contact p {
		font-size: 14px;
	}
	.text, .texta {
		font-size: 14px;
	}
}
@media (max-width: 560px) {
	.slideris {
		top: 190px;
		height: 380px;
	}
	.header {
		min-height: 700px;
	}
	#about .block {
		padding-left: 0;
		padding-top: 70px;
		text-align: center;
		background-position: 50% 0 !important;
	}
	#about h2, #team h2, #gallery h2, #works h2 {
		font-size: 20px;
	}
	#team .block span {
		font-size: 12px;
		padding: 10px 5px;
		margin-top: 10px;
	}
}
