@import "itcavantgardepro-md/stylesheet.css";
@import "nilland/nilland.css";

body {
	background: url('/img/background.jpg') center top;
	padding: 0;
	margin: 0;
	font-family: Nilland, sans-serif;
	color: #4f4243;
}
a { outline: none; text-decoration: none;}
a img { border: none;}

body > * {
	margin: 0 auto;
}

header {
	display: block;
	overflow: hidden;
	padding: 50px 0 30px;
	width: 550px;
}
header #logo {
	float: left;
	margin-left: 30px;
}
header ul {
	margin: 0 0 0 210px;
	padding: 35px 0 0;
}
header li {
	list-style: none;
	float: left;
	padding-left: 30px;
	background: url('/img/nav-sep.png') 15px 50% no-repeat;
}
header li:first-child {
	padding-left: 0;
	background: none;
}
header nav a {
	color: #4f4243;
	white-space: nowrap;
}
header nav a:hover {
	color: #2ea1b0;
}


article {
	display: block;
	margin: 0 auto;
	width: 78%;
	max-width: 873px;
	position: relative;
}
article nav a {
	display: block;
	width: 96px; padding: 12px;
	overflow: hidden;
	position: absolute;
	top: 118px;
	text-transform: uppercase;
	font-family: 'AvantGarde', sans-serif;
	font-size: 12px;
	line-height: 14px;
	color: #77cbd6;
}
article nav a:hover {
	color: white;
}
#prev {
	right: 0;
	background-color: #2a2123;
}
#next {
	right: -90px;
	width: 66px;
	background-color: #403536;
}

article h1 {
	color: #77cbd6;
	font-weight: normal;
	font-size: 12px;
	line-height: 13px;
	margin: 0 0 -2px;
}
article h1 a {
	color: #77cbd6;
}
article h1 a:hover {
	color: #fff;
}
article h2 {
	font-weight: normal;
	font-size: 8px;
	line-height: 9px;
	margin: 8px 0 0;
	color: #d2bdb7;
}
article h2 em {
	/*white-space: nowrap;*/
	font-style: normal;
	color: #fff;
}
article h2 a {
	color: #d2bdb7;
	background: #2a2122;
	padding: 1px 3px;
}
article h2 a:hover {
	color: #d2bdb7;
	background: #403536;
}
article h2 a.active {
	color: #2a2122;
	background: #d2bdb7;
}
article h2 a.active:hover {
	background: white;
}
article p {
	font-size: 8px;
	line-height: 9px;
	margin: 7px 0 0;
	color: #fff;
}

#info {
	position: absolute;
	top: 168px; right: -90px;
	width: 210px;
	background-color: #403536;
}
#info-main {
	float: left;
	width: 96px; padding: 10px 12px;
	background-color: #2a2122;
	text-transform: uppercase;
	font-family: 'AvantGarde', sans-serif;
}
#info-tech {
	float: right;
	width: 66px; padding: 10px 12px;
	background-color: #403536;
	text-transform: uppercase;
	font-family: 'AvantGarde', sans-serif;
}
#info-tech h2 {
	margin-top: 4px;
	color: #77cbd6;
}

article > img {
	width: 100%;
	display: block;
	outline: 5px solid #cfcac4;
	outline: 5px solid rgba(42,33,34,.1);
}

footer {
	clear: both;
	display: block;
	text-align: center;
	padding: 30px 0;
}
footer a {
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	left: -9000px;
}


#list {
	margin: 0 auto;
	padding: 0;
	max-width: 864px;
	list-style: none;
}
#list img {
	display: block;
	width: 280px;
}
#list li {
	float: left;
	list-style: none;
	width: 280px;
	/*height: 165px;*/
	margin: 0 4px 7px 4px;
	padding: 0;
	background: #47403e;
	font-family: 'AvantGarde', sans-serif;
}
#list li h2 {
	font-size: 11px;
	line-height: 12px;
	font-weight: normal;
	text-transform: uppercase;
	margin: 10px 10px 5px;
}
#list li h2 a {
	color: #ff9125;
}
#list li h3 {
	font-size: 8px;
	line-height: 9px;
	font-weight: normal;
	text-transform: uppercase;
	color: white;
	margin: 0 10px 10px;
}
#list.banners li {
	background: none;
}
@media screen and (max-width: 864px) { #list { max-width: 576px; } }
@media screen and (max-width: 576px) { #list { max-width: 288px; } }

#contacts {
	padding: 100px 0;
	width: 88%;
	max-width: 873px;
	position: relative;
}
#contacts img {
	width: 50%;
}
address {
	font-style: normal;
	font-size: 22px;
	position: absolute;
	top: 50%; left: 60%;
	margin-top: -50px;
}
address a {
	color: #4f4243;
}
address a.mail {
	display: block;
	padding:  0 0 20px 0;
}

/* iPhone/iPad */

@media screen and (max-width: 913px) {

	header {
		width: auto;
		padding: 30px 20px 20px;
	}
	header #logo {
		float: none;
		display: block;
		margin: 0 auto 10px;
	}
	header nav {
		text-align: center;
	}
	header nav a {
		display: inline;
	}
	header ul {
		margin: 0;
		list-style: none;
	}
	header ul li {
		float: none;
		display: inline;
		padding-left: 30px;
	}
	article {
		margin: 0 20px;
		width: auto;
	}
	article nav {
		display: none;
	}
	#info {
		position: static;
		width: auto;
	}
	#info-main {
		float: none;
		width: auto;
	}
	#info-tech {
		float: none;
		width: auto;
	}
	article h1 {
		font-size: 15px;
		line-height: 17px;
	}
	article h2 {
		font-size: 11px;
		line-height: 13px;
	}
	article p {
		font-size: 11px;
		line-height: 13px;
	}
	
}

/* iPhone only */

@media screen and (max-width: 500px) {

	body {
		font-size: 18px;
		line-height: 24px;
	}
	
	header ul li {
		float: none;
		display: inline;
		background: none;
		padding: 0;
		margin: 0 6px;
	}
	
	#contacts {
		padding: 20px 0;
		text-align: center;
	}
	#contacts img {
		width: 100%;
	}
	address {
		position: static;
		top: auto; left: 0;
		margin: 20px 0 0 0;
	}
	
}
