header,
#navigation-menu,
#content,
footer {
	position: relative;
}

header,
footer {
	padding: 1em 3em;
	text-shadow: none;
}

header h1 {
	color: #e6842c;
	font-size: 1.4em;
	font-style: italic;
}

nav ul,
nav ol,
nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation-menu {
	position: fixed;
	top: 0px;
	bottom: auto;
	z-index: 9999999;
	text-shadow: none;
	font-size: 0.85em;
	width: 100%;
	background: #f7f7f7;
	text-align: right;
}

/*
#navigation-menu ul {
	overflow: hidden;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding-top: 10px;
}

#navigation-menu li {
	margin: 3px;
	display: inline-block;
}

#navigation-menu a {
	display: block;
	padding: 0.2em 0.6em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 18px;
	color: #333;
}

#navigation-menu a:hover,
#navigation-menu a.mPS2id-highlight {
	background: transparent;
	color: #333;
}

#content section {
	padding-top: 100px;
}

#content section:nth-child(3n+2) {

	color: #25201e;
}

#content section:nth-child(3n+3) {

	color: #25201e;
}

.content {
	padding: 1em 3em;
}

.content hr+a,
.content hr+a+a {
	margin-right: 2em;
}

/*
.mPS2id-target .content h2:first-child:after{
	display: inline-block;
	position: relative;
	vertical-align: middle;
	content: "Current target class: mPS2id-target";
	margin-left: 1em;
	font-size: 0.25em;
	line-height: 1.4em;
	font-style: italic;
	opacity: 0.7;
	width: 180px;
	font-family: arial,sans-serif;
	font-weight: normal;
}

.ie8 .mPS2id-target .content h2:first-child:after {
	font-size: 0.95em;
}



.horizontal-layout {
	width: 700%;
}

.horizontal-layout header h1 {
	display: none;
}

.horizontal-layout #navigation-menu {
	right: auto;
	left: 3em;
	top: 4em;
}

.horizontal-layout #content {
	overflow: hidden;
}

.horizontal-layout #content section {
	width: 14.285%;
	float: left;
	min-height: 480px;
	-webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(0, 0, 0, 0.6);
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(0, 0, 0, 0.6);
}

.horizontal-layout #content section:nth-child(3n+2),
.horizontal-layout #content section:nth-child(3n+3) {
	-webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.5);
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.5);
}

.horizontal-layout .content h2 {
	position: relative;
	padding-bottom: 50px;
}

.horizontal-layout .content h2+p {
	margin-top: -50px;
}

.horizontal-layout .mPS2id-target .content h2:first-child:after {
	display: block;
	position: absolute;
	width: 100%;
	height: 50px;
	margin-left: 0;
}

.horizontal-layout header>*,
.horizontal-layout footer>* {
	width: 10%;
}

.horizontal-layout header,
.horizontal-layout .content,
.horizontal-layout footer {
	padding-left: 150px;
	padding-right: 3em;
}

.auto-layout {
	width: 6200px;
	height: 6200px;
}

.auto-layout header h1 {
	margin-left: 150px;
}

.auto-layout #navigation-menu {
	right: auto;
	left: 2em;
}

.auto-layout #content {
	height: 100%;
}

.auto-layout #content section {
	position: absolute;
	min-height: 600px;
	width: 600px;
	top: 0;
	left: 0;
	margin-left: 3em;
	-webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.auto-layout #content section#section-2 {
	top: 0;
	left: 1800px;
}

.auto-layout #content section#section-3 {
	top: 1200px;
	left: 900px;
}

.auto-layout #content section#section-4 {
	top: 1200px;
	left: 2700px;
}

.auto-layout #content section#section-5 {
	top: 2400px;
	left: 1800px;
}

.auto-layout #content section#section-6 {
	top: 2400px;
	left: 3600px;
}

.auto-layout #content section#section-7 {
	top: 3600px;
	left: 2700px;
}

.auto-layout .content {
	padding-left: 150px;
	padding-right: 3em;
}

@media only screen and (min-width: 1140px) {

	header,
	.content,
	footer,
	.horizontal-layout header,
	.horizontal-layout .content,
	.horizontal-layout footer,
	.auto-layout .content {
		padding-right: 3em;
		padding-left: 3em;
	}

	.horizontal-layout header h1 {
		display: block;
	}

	.auto-layout header h1 {
		margin-left: 0;
	}

	#navigation-menu {
		padding: 5px 0;

	}

	.horizontal-layout #navigation-menu,
	.auto-layout #navigation-menu {
		right: 3em;
		left: auto;
		top: 1.55em;
	}

	#navigation-menu ul {
		text-align: right;
	}

	#navigation-menu li {
		display: inline-block;
		margin: 3px 5px;
	}

	#navigation-menu li:last-child a {
		background: #799cab;
		border-radius: 100px;
		color: #fff;
		padding: 10px 20px;
	}

	#navigation-menu a {
		-moz-border-radius: 50px;
		-webkit-border-radius: 50px;
		border-radius: 50px;
		text-decoration: none;
	}

}