/* FONTS */

@import url('fonts.css');

/* BASIC */

* {
    outline: none!important;	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html,body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;	
}

body {
	font: 16px "Exo 2", sans-serif;
	background: #dddddd;
}

.page {
    width: 1450px;
    max-width: 100%;
    padding: 70px 15px;
    margin: 0 auto;
}

.block-title {
	font: 1.8em "MyriadPro";
	text-align: center;
	margin: 0px 0 50px;
}


/* HEADER */

.header {
}

.header-top {
	width: 100%;
	height: 117px;
	background: url(../img/design/header-menu-background.png) center repeat-x;
	background-size: contain;
}

.header-top-inner {
	display: flex;
	flex-wrap: wrap;
	width: 1450px;
	flex-wrap: wrap;
	height: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	align-items: center;
}

.mob-menu-btn {
	display: none;
}

.header-logo {
	display: inline-block;
	float: left;
	width: 127px;
	height: 63px;
	background: url(/public/img/design/header-logo.png) center center no-repeat;
	background-size: contain;
	margin: 0 40px 0 0;
	vertical-align: middle;
}

.header-contact-block {
	display: flex;
	float: right;
	margin-left: auto;
}

.header-contact-item {
	display: flex;
	margin-left: 50px;	
	align-items: center;
}

.header-logo + .header-contact-block {
	margin-left: auto;
}

.header-contact-ico {
	width: 34px;
	height: 34px;
	margin-right: 20px;
	vertical-align: middle;
}

.header-contact-info {
	}

.header-contact-text {
	font-weight: bold;
	color: white;
}

.header-contact-sub {	
	color: #aaa;
	text-decoration: none;
	font-family: 'MyriadPro';
	display: inline-block;
	vertical-align: middle;
	font-size: 0.95em;
}

.header-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	height: 100%;
}

.header-menu > li {
}

.header-menu > li > a {
	display: block;
	height: 100%;
	width: 100%;
	text-decoration: none;
	text-align: center;
	color: white;
	padding: 0 20px;
	font: 22px "MyriadPro";
	line-height: 115px;
}

.header-menu > li > a:hover, .header-menu > li > a.active{	
	color: #f5bd00;
}

.header-bottom {
	background: black url(../img/design/header-bottom-background.png) center top no-repeat;
	background-size: cover;
	height: 233px;
}

.header-title {
	width: 1450px;
	max-width: 100%;
	color: white;
	text-align: center;
	margin: 0 auto;
	padding: 55px 15px 20px;
	font: 1.9em "MyriadPro";
	line-height: 1.3;
}

.header-title-top {
	display: block;
	color: #f5bd00;
}

.header-title-bottom {
	display: block;
}

/* SERVICES BLOCK */

.service-block {
}

.service-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.service-item {
	flex-basis: 23%;
	height: 496px;
	text-align: center;
	text-decoration: none;
	color: white;
	background: #010202;
	margin-bottom: 80px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 185px 10px 10px;
	line-height: 1.3;
}

.service-item:nth-child(1) {
	background: #010202 url(../img/design/service-background-1.png) top center no-repeat;
}

.service-item:nth-child(2) {
	background: #010202 url(../img/design/service-background-2.png) top center no-repeat;
}

.service-item:nth-child(3) {
	background: #010202 url(../img/design/service-background-3.png) top center no-repeat;
}

.service-item:nth-child(4) {
	background: #010202 url(../img/design/service-background-4.png) top center no-repeat;
}

.service-item:nth-child(5) {
	background: #010202 url(../img/design/service-background-5.png) top center no-repeat;
}

.service-item:nth-child(6) {
	background: #010202 url(../img/design/service-background-6.png) top center no-repeat;
}

.service-item:nth-child(7) {
	background: #010202 url(../img/design/service-background-7.png) top center no-repeat;
}

.service-item:nth-child(8) {
	background: #010202 url(../img/design/service-background-8.png) top center no-repeat;
}

.service-item {
	background-size: cover!important;
}

.service-title {
	font: 1.4em "MyriadPro";
	line-height: 1.2;
	margin-bottom: auto;
}

.service-description {
	color: #ddc681;
	flex-basis: 72px;
	font-size: 1.1em;
	min-height: 150px;
}

.service-item:nth-child(3) .service-description{
	 min-height: 150px;
}

.service-item:nth-child(4) ~ .service-item {
	padding-top: 205px;
}

.footer {
	font-family: "MyriadPro";
}

.footer-contacts {
	height: 270px;
	background: url(../img/design/footer-background.png) center repeat-x;
	background-size: contain;
	color:white;
	font-size: 1.1em;
}

.footer-contacts-inner {
	width: 1450px;
	height: 100%;
	max-width: 100%;
	padding: 45px 15px 80px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.footer-contacts-title {
	font-size: 1.3em;
	padding-bottom: 30px;
}

.footer-contacts-list {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.footer-contacts-item {
}

.footer-contacts-item-ico {
}

.footer-contacts-item-text {
	color: #cccccc;
	text-decoration: none;
	margin-left: 10px;
}

.footer-copyright {
	padding: 25px 15px;
	background-color: #14151A;
	color: #f5bd00;
	text-align: center;
	font-size: 1.2em;
}

@media (max-width:1023px) {
	body {
		font-size: 14px;
	}
	
	.page {
		padding: 30px 15px;
	}
	
	.header-top {
		padding: 5px 10px;
		height: 80px;
	}
	
	.header-logo {
		margin-right: 5px;
		width: 100px;
	}	
	
	.header-contact-item {
		margin-left: 8px;
	}
	
	.header-contact-ico {
		margin-right: 10px;
	}
	
	.header-menu {
		height: 50px;
		justify-content: space-evenly;
	}
	
	.header-menu > li > a {
		line-height: 50px;
		padding: 0 10px;
		font-size: 16px;
	}		
	
	.header-contact-block	{
		margin-left: auto;
	}

	.header-bottom	{
		height: auto;
	}
	
	.header-menu-list > li > a	{
		line-height: 48px;
	}
	
	.header-title {
		font-size: 1.5em;
		padding-top: 20px;		
	}
	
	.block-title {
		margin: 0px 0 20px;
	}
	
	.service-list {
		justify-content: space-between;
	}
	
	.service-item {
		flex-basis: 48.5%;
		padding-top: 120px;
		height: 350px;
		margin-bottom: 40px;
	}
	
	.service-item:nth-child(4) ~ .service-item {
		padding-top: 140px;
	}	
	
	.service-item:nth-child(3) .service-description	{
		min-height: 90px;
	}
	
	.service-description {
		min-height: 90px;
		flex-basis: 42px;
	}
	
	.footer-contacts {
		height: 200px;
	}
	
	.footer-contacts-inner {
		padding: 25px 30px 30px;
	}
	
	.footer-contacts-title {
		padding-bottom: 15px;
	}
	
	.footer-copyright {
		padding: 15px;
	}
}
@media (max-width:666px) {

}

@media (max-width:567px) {
	
	.header-contact-block {
		flex-direction: row;
		margin-left: 0;
		margin-top: 10px;
		justify-content: space-evenly;
		width: 100%;
	}		

	.header-top {
		padding: 10px;
		height: 130px;
	}	
	
	.header-menu {
		flex-grow: 1;		
	}
	
	.header-menu > li {
		
	}	

	.header-menu > li > a {
		padding: 0 4px;
		font-size: 16px;		
	}
	
	.header-contact-item {
		margin-left: 0;
	}
	
	.service-item {
		flex-basis: 100%;
	}
	
	
}

@media (max-width:374px) {
	.header-contact-ico {
		margin-right: 5px;
		width: 28px;
		height: 28px;		
	}	
	
	.header-menu > li > a {
		font-size: 14px;
	}	
}

@media (max-height:340px) {
	.service-title {
		font-size: 1.3em;
	}
	
	.service-description {
		font-size: 1em;		
	}
	
	.header-top {
		height: 60px;
	}
	
	.header-contact-item {
		margin-left: 5px;
		font-size: 0.9em;
	}
	
	.header-contact-ico {
		margin-right: 5px;
	}	

	.header-logo {
		width: 80px;
		height: 50px;
	}
	
	.header-menu > li > a {
		font-size: 14px;
		padding: 0 5px;
	}
	

}

