/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

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

textarea {
	resize: vertical;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
	-webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
	-moz-box-sizing: border-box; /* Firefox 1 - 28 */
	box-sizing: border-box; /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}
html {
	min-height: 100%;
	margin: 0;
	padding: 0;
}
body {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

#all {
	text-align: center;
	vertical-align: middle;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

img {
	margin: 0;
	padding: 0;
}

.link {
	position: absolute;
	top: 48%;
	left: 0;
	width: 200px;
	height: 30px;
}

.item {
	/*position: relative;*/
	float: left;
	width: 14.285714286%;
	height: 0;
	padding-bottom: 14.285714286%;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.mail {
	position: fixed;
	top: 0;
	left: 0;
	width: 14.285714286%;
	z-index: 10;
}

@media (min-width: 0px) and (max-width: 480px) {
	.item {
		float: left;
		width: 100%;
		height: 0;
		padding-bottom: 100%;
	}
	.mail {
		width: 100%;
	}
}

@media (min-width: 481px) and (max-width: 600px) {
	.item {
		float: left;
		width: 50%;
		height: 0;
		padding-bottom: 50%;
	}
	.mail {
		width: 50%;
	}
}
@media (min-width: 601px) and (max-width: 767px) {
	.item {
		float: left;
		width: 33.333333333%;
		height: 0;
		padding-bottom: 33.333333333%;
	}
	.mail {
		width: 33.333333333%;
	}
}

@media (min-width: 768px) and (max-width: 1000px) {
	.item {
		float: left;
		width: 25%;
		height: 0;
		padding-bottom: 25%;
	}
	.mail {
		width: 25%;
	}
}

@media (min-width: 1001px) and (max-width: 1400px) {
	.item {
		float: left;
		width: 20%;
		height: 0;
		padding-bottom: 20%;
	}
	.mail {
		width: 20%;
	}
}

@media (min-width: 1401px) and (min-width: 1401px) {
	.item {
		float: left;
		width: 14.285714286%;
		height: 0;
		padding-bottom: 14.285714286%;
	}
	.mail {
		width: 14.285714286%;
	}
}

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

@media only screen and (min-width: 35em) {
}

@media print,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {
}

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

.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 {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important;
		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) ')';
	}

	a[href^='#']:after,
	a[href^='javascript:']:after {
		content: '';
	}

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

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

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

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