/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea { color: #222; }

body {
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: hotpink;
	text-shadow: none;
}

::selection {
	background: hotpink;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 3px dotted #000;
	margin: 0;
	padding: 0;
}

img {
	vertical-align: middle;
	max-width: 100%;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea { resize: vertical; }

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

a { color: #222; }

body {
	background: #3c3c3c;
	font: 1em/1.2em Helvetica Neue, Helvetica, Arial;
}

h1, h2, h3 {
	margin: 0;
	text-transform: uppercase;
}

h1 {
	font-size: 1.3em;
	margin-bottom: 3%;
}

h2, h3 { font-size: .84em; }

p {
	font-size: .8em;
	margin: 0;
}

ul { padding: 0;
	margin: 0;
}
li { margin: 1% 0; }

.site-container {
	background: url(../img/background3.jpg) center top repeat-y;
	margin: 0 auto;

	-webkit-box-shadow: 8px 8px 5px 0px rgba(51, 51, 51, 100);
	-moz-box-shadow:	8px 8px 5px 0px rgba(51, 51, 51, 100);
	-o-box-shadow:		8px 8px 5px 0px rgba(51, 51, 51, 100);
	-ms-box-shadow:		8px 8px 5px 0px rgba(51, 51, 51, 100);
	box-shadow:			8px 8px 5px 0px rgba(51, 51, 51, 100);
}

.wrapper { margin: 0 9%; }

.header-container .wrapper { margin: 5% 9%; }

.main {
	padding-bottom: 1.2%;
	position: relative;
}

.main h2 { margin-top: 3%; }

.autograf {
	bottom: 5px;
	left: -90%;
	position: absolute;
}

.footer-container {
	background: url(../img/dots.png) repeat-x center top;
	margin: 0 6%;
}

.footer-container h3 { margin: 0; }

.footer-container .wrapper {
	margin: 0 3.4%;
	margin-top: 2%;
	margin-bottom: 4%;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 320px) {
	aside {
		float: right;
		margin-bottom: -2.45%;
		position: relative;
		width: 50%;
	}

	.footer-container div {
		font-size: 1.4em;
		line-height: 1.4em;
		margin-top: 3%;
	}
}

@media only screen and (min-width: 768px) {
	html, body,
	.site-container { height: 100%; }

	article { width: 60%; }

	aside {
		bottom: -3px;
		right: 0;
		margin-bottom: auto;
		position: absolute;
		width: 32.5%;
	}

	.footer-container div {
		font-size: 1em;
		line-height: 1.2em;
		float: left;
		width: 50%;
	}

	.footer-container div:first-child {
		margin-right: 2%;
		margin-top: auto;
		width: 48%;
	}

	.footer-container div:last-child { margin-top: auto; }
	.footer-container div:last-child p { float: left; }
	.footer-container p.add-space { margin-left: 2%; }
}


/* Maximal Width */
@media only screen and (min-width: 960px) {
	html, body { height: auto; }
	.site-container {
		margin-top: 2%;
		height: auto;
		width: 960px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible { visibility: hidden; }

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

.clearfix:after {
	clear: both;
}

.clearfix { *zoom: 1; }

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a, a:visited { text-decoration: underline; }

	a[href]:after { content: " (" attr(href) ")"; }

	abbr[title]:after { content: " (" attr(title) ")"; }

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after { content: ""; }

	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead { display: table-header-group; /* h5bp.com/t */ }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }

	@page { margin: 0.5cm; }

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2,	h3 { page-break-after: avoid; }
}