.clearfix {
	*zoom: 1;
}

.clearfix:before, .clearfix:after {
	display: table;
	content: "";
}

.clearfix:after {
	clear: both;
}

.separator-before:before {
	content: "";
	width: 40px;
	border-top: 1px solid #000;
	margin: 20px auto;
	display: block;
	opacity: 0.07;
}

.separator-after:after {
	content: "";
	width: 40px;
	border-top: 1px solid #000;
	margin: 20px auto;
	display: block;
	opacity: 0.07;
}


body {
	background-color: #fff;
	font: 13px/1.4 'Lora', Georgia;
	color: #555;
	margin: 10px;
	-webkit-text-size-adjust: none;
}

#page {
/*	position: relative;*/
}

a {
	color: #555;
}

a:hover {
	color: #000;
}

#header-logo {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(/assets/img/logotype.png) no-repeat 50% 50%;
	height: 100px;
	margin: 0;
}

#header-logo a {
	display: block;
	width: 100%;
	height: 100%;
}

header {
	margin: 0 0 40px 0;
	padding: 50px 20px 10px 20px;
}

header h2 {
	text-align: center;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 3px;
	text-transform: uppercase;
}

section {
	max-width: 1200px;
	padding: 0 0 40px 0;
	margin: 0 auto 0px auto;
/*	background: url(/assets/img/feather.png) no-repeat 50% 100%;*/
}

.grid article {
	width: 100%;
	float: left;
	overflow: hidden;
}

.grid article a {
	position: relative;
}

.grid article a:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border: 1px solid #fff;
}

.grid article div img {
	display: block;
	width: 100%;
	border: none;
	max-width: 400px;
	margin: 0 auto;
}

.grid article div img.support {
	display: none;
}

.grid article p {
	background-color: #fff;
	height: 90px;
	color: #999;
	padding: 20px;
	font-size: 12px;
	max-width: 400px;
	margin: 0 auto;
}

.grid article p strong {
	display: block;
	color: #555;
	font-family: helvetica;
}

nav {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	padding: 10px 0 10px 0;
	background-color: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

nav ul {
	padding: 0;
	margin: 0;
	display: block;
	list-style-type: none;
	text-align: center;
}

nav li {
	display: inline;
	padding: 0;
	margin: 0 10px;
}

nav a {
	color: #999;
	text-decoration: none;
}

nav a:hover {
	color: #555;
}

nav a.active {
	color: #ddd;
}

p.intro {
	text-align: center;
	max-width: 640px;
	margin: 20px auto 0px auto;
	color: #999;
	line-height: 1.7;
}

section.text {
	max-width: 400px;
	padding: 0px 60px 60px 60px;
	line-height: 1.7;
}

section.text h1 {
	text-align: center;
	font-weight: normal;
	font-style: italic;
	color: #ccc;
	margin: 0;
}

section.text .note {
	color: #999;
	font-style: italic;
}

footer {
	color: #aaa;
	margin: 20px;
	text-align: center;
	padding-top: 100px;
	background: url(/assets/img/feather.png) no-repeat 50% 20px;
}

.credits {
	padding-top: 20px;
	text-align: center;
}
.credits span {
	margin-left: 10px;
	font-style: italic;
	color: #bbb;
	white-space: nowrap;
}

.credits a {
	color: #bbb;
}

.zoom article {
	margin: 0 20px;
	position: relative;
	background-color: #fff;
	text-align: center;
}

.zoom article img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

.zoom article div {
	display: inline-block;
}

.zoom article p {
	text-align: left;
	color: #999;
	margin: 20px auto;
}

.zoom article p strong {
	color: #666;
	font-family: helvetica;
	display: block;
}

.zoom .half {
	display: block;
	position: relative;
}
.zoom .half:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border: 1px solid #fff;
}

.zoomOverlay {
	display: none;
}

.close-btn {
	position: absolute;
	left: 4px;
	top: 4px;
	width: 30px;
	height: 30px;
	z-index: 1;
	cursor: pointer;
	background: url(/assets/img/close-btn.png) no-repeat;
	opacity: 0.3;
}

.close-btn:hover {
	opacity: 1;
}

@media screen and (min-width: 641px) {

	nav {
		position: fixed;
	}

	header h2 {
		text-align: center;
		font-size: 16px;
		font-weight: normal;
		letter-spacing: 3px;
		text-transform: uppercase;
	}

	header.small {
		width: 180px;
		margin:0 auto;
		padding:0;
		z-index: 2;
		position:relative;
		background-color: transparent;
	}

	header.small #header-logo {
		height: 80px;
		width: 160px;
		background: url(/assets/img/logotype-side.png) no-repeat 100% 50%;
		border-right: 10px solid #eee;
		padding-left: 10px;
	}

	header.side h2 {
		font-size: 11px;
		color: #ccc;
		text-align: left;
	}
	
	section {
		padding: 0 60px 0px 60px;
	}

	.grid article {
		width: 50%;
	}
	
	.grid article.double {
		width: 100%;
	}

	.grid article a {
		display: block;
	}
	
	.grid article div img {
		display: block;
		width: 100%;
		border: none;
	}
	
	.grid article.double div img {
		display: block;
		width: 100%;
		border: none;
		max-width: 100%;
		margin: 0 auto;
	}

	.grid article p {
		display: none;
	}

	.grid article p strong {
		color: #666;
		font-family: helvetica;
	}

	.no-scroll {
		overflow: hidden;
	}

	.zoomOverlay {
		display: block;
		text-align: center;
		margin-top: 0;
		position: fixed;
		overflow-x: auto;
		overflow-y: auto;
		background-color: #f1f1f1;
		background-color: rgba(241, 241, 241, 0.9);
		left: 0;
		top: 0;
		bottom: 0;
		right: 0;
		z-index: 999;
		-webkit-overflow-scrolling: touch;
	}
	
	.zoomOverlay:before {
		content: "";
		height: 100%;
		display: inline-block;
		vertical-align: middle;
		margin-right: -1px;
	}

	.zoomOverlay article {
		display: inline-block;
		vertical-align: middle;
		text-align: left;
		border-radius: 3px;
	}
	
	.zoomOverlay article {
		margin: 40px 40px 40px 41px;
		padding: 20px 240px 20px 20px;
	}
	
	.zoomOverlay article p {
		width: 200px;
		padding: 0 20px 0 20px;
		position: absolute;
		right: 0px;
		top: 120px;
	}
}

@media screen and (min-width: 921px) {
	#page {
		position: relative;
		min-width: 920px;
	}
	
	.grid article {
		width: 25%;
	}
	
	.grid article.double {
		width: 50%;
	}
	
	.zoom .half {
		width: 50%;
		float: left;
	}
}
