/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a, a:link, a:hover, a:disabled, a:visited, a:focus, a:active {
	color: inherit;
	text-decoration: inherit;
	
}

/* FONTAI */
@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,300,500,700);

/* STILIAI */
body {
	width: 100%;
	height: 100%;
	min-width: 1000px;
	background: #eeeff0 url(../img/background.png) top no-repeat;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
}
.wrapper {
	width: 85%;
	min-width: 950px;
	max-width: 1600px;
	margin: 40px auto;
	background: #fff;
	overflow: hidden;
}
.container {
	margin: 0 60px;
	overflow: hidden;
}
.container2 {
	margin: 0 120px;
	overflow: hidden;
}
.nav {
	position: absolute;
	top: 40px;
	height: 90px;
	line-height: 90px;
	width: 85%;
	min-width: 950px;
	max-width: 1600px;
	background: rgba(14, 30, 52, 0.93);
	z-index: 99999;
}
	.nav .logo img {
		margin-top: 33px;
	}
	.nav ul {
		list-style: none;
		float: right;
		color: #ced1d4;
		font-weight: 700;
		font-size: 14px;
		text-transform: uppercase;
	}
	.nav li {
		list-style: none;
		display: inline;
		margin-left: 15px;
		transition: 0.3s color;
	}
	.nav li.active, .nav li:hover {
		color: #fff;
	}
.header {
	height: 400px;
	background: url(../img/header.png);
	background-size: cover;
	position: relative;
}
	.header #carousel, .header .carousel-inner {
		height: 100%;
		box-sizing: border-box;
	}
	.header .carousel-control {
		width: 10%;
		margin-top: 90px;
	}
	.header .carousel-control:focus {
		opacity: 0.5;
	}
	.header .carousel-control:hover {
		opacity: 0.9;
	}
	.header #carousel .item {
		height: calc(100% - 90px);
		box-sizing: content-box;
		padding-top: 90px;
	}
	.header #carousel .container {
		height: calc(100% - 90px);
		box-sizing: content-box;
	}
	.slider-elem {
		color: #fff;
		width: 70%;
		margin-top: 180px;
	}
	.slider-elem h2 {
		font-weight: 700;
		font-size: 24px;
		text-transform: uppercase;
		margin-bottom: 10px;
	}
	.slider-elem p {
		font-weight: 700;
		font-size: 14px;
		letter-spacing: 0.04em;
		line-height: 16px;
	}
.block {
	margin: 60px 0;
	overflow: hidden;
}
h2.title {
	font-size: 18px;
	font-weight: 700;
	color: #102137;
	text-transform: uppercase;
	margin-bottom: 30px;
}
.row {
	margin: 0 20px;
}
.how {
	display: inline-block;
	box-sizing: border-box;
	width: 20%;
	margin: 0;
	height: 110px;
	float: left;
	background: #fff 50% 15px no-repeat;
	position: relative;
}
	.how1 { background-image: url(../img/block1.png); }
	.how2 { background-image: url(../img/block2.png); }
	.how3 { background-image: url(../img/block3.png); }
	.how4 { background-image: url(../img/block4.png); }
	.how5 { background-image: url(../img/block5.png); }
	
	.how .number {
		color: #dedfe1;
		font-size: 30px;
		font-weight: 700;
		margin-left: 15px;
	}
	.how .text {
		color: #102137;
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		height: 30px;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0 auto;
		text-align: center;
	}
.block .item {
	float: left;
	display: inline-block;
	height: 160px;
	width: 25%;
	float: left;
	box-sizing: border-box;
	position: relative;
	border: 7px #fff solid;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.5);
	transition: 0.4s all;
	overflow: hidden;
}
	.item .bg {
		background-color: #e0e2e3;
		background-position: center;
		background-size: cover;
		width: 100%;
		height: calc(100% - 39px);
		transition: 0.4s transform;
	}
	.block .item:hover {
		color: rgba(255, 255, 255, 1);
	}
	.block .item:hover .bg {
		transform: scale(1.09);
	}
	.item .buy {
		background: rgba(255, 127, 0, 0.75);
		padding: 9px 10px;
		position: absolute;
		top: 0;
		right: 0;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
	}
	.item .price {
		background: url(../img/price.png) left;
		padding: 0 14px;
		height: 40px;
		width: 100%;
		line-height: 40px;
		position: absolute;
		bottom: 0;
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
	}
		.price .right {
			float: right;
		}
.footer {
	background: #fff url(../img/footer.png);
	background-size: cover;
	width: 100%;
	float: left;
	color: #fff;
	font-weight: 700;
}
	.footer .container {
		position: relative;
	}
	.footer .row {
		margin: 30px 0;
		display: inline-block;
		vertical-align: top;
		height: 100%;
	}
	.row1 {
		width: 28%;
		padding-right: 15px;
	}
	.row2 {
		width: 18.5%;
	}
	.row3 {
		width: 18.5%;
	}
	.row4 {
		width: 18.5%;
	}
	.row5 {
		width: 14.5%;
	}
		.row .title {
			font-size: 14px;
			text-transform: uppercase;
			margin-bottom: 3px;
		}
		.row p {
			margin-top: 15px;
			font-size: 12px;
			line-height: 13px;
			padding-right: 25px;
		}
		.row p span {
			float: right;
			font-style: italic;
		}
		.row li {
			font-size: 13px;
			margin-top: 3px;
			padding-left: 25px;
		}
		.row .copyright {
			position: absolute;
			bottom: 15px;
			right: 0;
			font-size: 13px;
			line-height: 14px;
			z-index: 5000;
		}
		
.popup {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999999;
	display: none;
}
	.popup-inside {
		width: 900px;
		margin: 0 auto;
		background: #fff;
		height: 500px;
		padding: 0;
		position: relative;
		top: 50%;
		margin-top: -250px;
	}
		.popup .head {
			height: 60px;
			line-height: 60px;
			background: url(../img/buyheader.png) center;
			width: 100%;
			font-size: 14px;
			font-weight: 700;
			color: #fff;
			padding: 0 40px;
		}
		.popup .close {
			float: right;
			cursor: pointer;
		}
		.popup .block1 {
			width: 44%;
			padding: 20px;
			position: absolute;
			top: 60px;
			left: 0;
			padding-right: 0;
			display: inline-block;
			height: calc(100% - 40px);
			box-sizing: border-box;
		}
		.popup .block2 {
			width: 55%;
			padding: 20px;
			position: absolute;
			top: 60px;
			right: 0;
			display: inline-block;
			height: calc(100% - 40px);
			box-sizing: border-box;
		}
		.popup img {
			max-width: 100%;
		}
		.popup .block1 .name {
			color: #a8610d;
			font-weight: 700;
			font-size: 18px;
			margin-top: 10px;
			margin-bottom: 20px;
			display: block;
			text-transform: uppercase;
		}
		.popup p {
			color: #112238;
			font-weight: 700;
			font-size: 13px;
			display: block;
		}
		.input {
			padding: 0 15px;
			width: 100%;
			height: 50px;
			display: block;
			color: rgba(255, 255, 255, 0.4);
			margin-bottom: 5px;
			border: 0;
			background-size: cover;
			background-position: center;
			transition: 0.3s color;
			font-weight: 700;
			font-size: 14px;
			text-transform: uppercase;
		}
			.input::-webkit-input-placeholder {
				color: rgba(255, 255, 255, 0.4);
			}
			.input:focus {
				outline: 0;
				color: #fff;
			}
			.input1 { background-image: url(../img/input1.png); }
			.input2 { background-image: url(../img/input2.png); }
			.input3 { background-image: url(../img/input3.png); }
			.input4 { background-image: url(../img/input4.png); padding-right: 0; }
		button.button {
			padding: 0 70px;
			height: 50px;
			line-height: 50px;
			display: inline-block;
			color: #fff;
			margin-top: 5px;
			border: 0;
			background-image: url(../img/submit.png);
			background-size: cover;
			background-position: center;
			font-weight: 700;
			font-size: 14px;
			text-transform: uppercase;
		}
		.block1 div {
			position: relative;
			height: auto;
			width: 100%;
			overflow: hidden;
		}
		.block1 div .info {
			display: block;
			text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
			position: absolute;
			bottom: 10px;
			left: 10px;
			right: 10px;
			color: #fff;
			font-weight: 700;
			font-size: 14px;
			text-transform: uppercase;
		}
		.info .right {
			float: right;
		}

/* DEMO JUOSTA */
body {
	padding-bottom: 56px;
}
.demo-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999999;
	padding: 12px 20px;
	background: rgba(10, 10, 10, 0.82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: #f1f1f1;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}
.demo-bar b, .demo-bar a {
	color: #fff;
}
.demo-bar a {
	text-decoration: underline;
}

/* RESPONSIVE (dizainas virs 1024px nekeiciamas) */
@media (max-width: 1024px) {
	body {
		min-width: 0;
	}
	.wrapper {
		width: 94%;
		min-width: 0;
		margin: 20px auto;
	}
	.nav {
		top: 20px;
		width: 94%;
		min-width: 0;
		height: auto;
		line-height: 1;
		padding: 15px 0;
		text-align: center;
	}
	.nav .logo img {
		margin-top: 0;
	}
	.nav ul {
		float: none;
		margin-top: 12px;
		font-size: 13px;
		line-height: 26px;
	}
	.nav li {
		display: inline-block;
		margin: 0 8px;
	}
	.container {
		margin: 0 20px;
	}
	.container2 {
		margin: 0 60px;
	}
	.header {
		height: auto;
		min-height: 400px;
	}
	.header #carousel .item {
		height: auto;
		min-height: 310px;
		padding-top: 120px;
	}
	.slider-elem {
		width: 100%;
		margin-top: 60px;
		padding-bottom: 40px;
	}
	.header .carousel-control {
		margin-top: 60px;
	}
	.row {
		margin: 0;
	}
	.how {
		width: 33.333%;
		margin-bottom: 10px;
	}
	.block .item {
		width: 33.333%;
	}
	.footer .row {
		margin: 20px 0;
	}
	.row1 {
		width: 100%;
		padding-right: 0;
	}
	.row2, .row3, .row4 {
		width: 33%;
	}
	.row5 {
		width: 100%;
	}
	.row .copyright {
		position: static;
	}
	.popup {
		overflow: auto;
	}
	.popup-inside {
		width: 94%;
		max-width: 900px;
		height: auto;
		top: 0;
		margin: 4vh auto;
	}
	.popup .block1, .popup .block2 {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		padding: 20px;
	}
	.popup .block1 {
		padding-bottom: 0;
	}
}
@media (max-width: 700px) {
	.container2 {
		margin: 0 45px;
	}
	.how {
		width: 50%;
	}
	.block .item {
		width: 50%;
		height: 140px;
	}
	.row2, .row3, .row4 {
		width: 50%;
	}
	.slider-elem h2 {
		font-size: 20px;
	}
	body {
		padding-bottom: 76px;
	}
	.demo-bar {
		font-size: 12px;
		padding: 8px 12px;
	}
}
@media (max-width: 440px) {
	.block .item {
		width: 100%;
		height: 170px;
	}
	.row2, .row3, .row4 {
		width: 100%;
	}
	.how {
		width: 100%;
	}
}


/* DIDELI MONITORIAI: fonas pratesiamas per visa ploti */
@media (min-width: 1921px) {
	body {
		background-size: 100% auto;
	}
}
