/* =============================================================================
	 normalize.css v5.0.0
	 ========================================================================== */
html { font-family: sans-serif; line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
article, aside, footer, header, nav, section { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
figcaption, figure, main { display: block; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; -webkit-text-decoration-skip: objects; }
a:active, a:hover { outline-width: 0; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
dfn { font-style: italic; }
mark { background-color: #ff0; color: #000; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
audio, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
img { border-style: none; }
svg:not(:root) { overflow: hidden; }
button, input, optgroup, select, textarea { font-family: sans-serif; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { display: inline-block; vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details, menu { display: block; }
summary { display: list-item; }
canvas { display: inline-block; }
template { display: none; }
[hidden] { display: none; }


/* =============================================================================
	 Base
	 ========================================================================== */
html { box-sizing: border-box; }

html *, 
html *:before, 
html *:after {
	box-sizing: inherit;
}

html {
	background-color: #fff;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	overflow-x: hidden;
	overflow-y: scroll;
	text-rendering: optimizeLegibility;
	min-width: 300px;
	height: 100%;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #222221;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	max-height: 100%;
	height: 100vh;
	overflow: hidden;
	padding: 0 20px;
}

a {
	color: #0089ff;
	cursor: pointer;
	text-decoration: none;
	transition: color .3s ease,border-color .3s ease;
}

img {
	max-width: 100%;
}

.sr-only, 
.visually-hidden {
	overflow: hidden;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
	height: 1px;
	border: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

hr.separator { border: none; height: 1px; color: #222221; background-color: #222221; max-width: 220px; margin: 0 auto; }

main { max-width: 770px; margin: 0 auto; position: relative; top: 50%; transform: translateY(-50%); font-size: 22px; }
main h2 { font-size: 30px; font-weight: 300; max-width: 620px; border-bottom: 1px solid #222221; padding-bottom: 30px; margin: 0; }
main h3 { font-size: 24px; font-weight: 300; padding: 0; margin: 0 0 30px 0; }
main a { color: #222221; text-decoration: none; }
main a:hover { color: #222221; text-decoration: underline; }

.columns:before,
.columns:after { content: " "; display: table; }
.columns:after { clear: both; }
.columns { *zoom: 1; }
.content { padding-top: 30px; padding-bottom: 30px; width: calc(50% - 1px); float: left; border-right: 1px solid #222221; }
.contact { padding-top: 30px; padding-bottom: 30px; width: 50%; float: right; }
.vcard { padding-left: 30px; font-style: normal; }



/*
 *
 * PRELOADER
 *
 */
.js #preloader { position: fixed; left: 0; top: 0; z-index: 99999999; width: 100%; height: 100%; overflow: visible; background: rgba(115, 140, 155, 1); }



/* 
 *
 * LANDSCAPE
 *
 */
@media screen and (orientation:landscape) {
	.portrait-only { display: none; }
	.landscape-only { display: block; }

	html {
		background: url(../images/bg-desktop.jpg) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	header {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		text-align: center;
		width: 550px;
		padding-top: 80px;
		background: url(../images/header-desktop.png) right top no-repeat;
	}

	header img {
		max-width: 240px;
		height: auto;
		float: left;
		margin-left: 75px;
	}

	.panel-mobile {
		display: none;
	}
}

@media screen and (orientation:landscape) and (max-width: 1400px) {
	header { width: 450px; padding-top: 60px; }
	header img { margin-left: 50px; }
	main { max-width: 600px; font-size: 20px; }
	main h2 { font-size: 26px; }
	main h3 { font-size: 22px; }
}

@media screen and (orientation:landscape) and (max-width: 1200px) {
	header { width: 350px; padding-top: 40px; }
	header img { max-width: 180px; margin-left: 30px; }
	main { font-size: 18px; }
	main h2 { font-size: 22px; }
	main h3 { font-size: 20px; }
}

@media screen and (orientation:landscape) and (max-width: 1023px) {
	header { display: none; }
}



/* 
 *
 * PORTRAIT
 *
 */
@media screen and (orientation:portrait) {
	.portrait-only { display: block; }
	.landscape-only { display: none; }

	html {
		background: url(../images/bg-mobile.jpg) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	header {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		text-align: center;
		padding-top: 75px;
		padding-bottom: 100px;
		text-align: center;
	}

	header img {
		max-width: 240px;
		height: auto;
		margin: 0 auto;
		position: relative;
		z-index: 9999;
	}

	.panel-mobile {
		display: inline-block;
		position: absolute;
		top: 0;
		left: 0;
	}

	main { max-width: 650px; font-size: 25px; text-align: center; }
	.content, .contact  { float: none; width: 100%; border-right: none; padding-bottom: 0; }
	main h2 { font-size: 35px; max-width: 100%; }
	main h3 { font-size: 28px; }
	.vcard { padding-left: 0; }
}

@media screen and (orientation:portrait) and (max-width: 820px) {
	header { padding-top: 60px; padding-bottom: 60px; }
}

@media screen and (orientation:portrait) and (max-width: 767px) {
	header { padding-top: 40px; padding-bottom: 40px; }
	main { font-size: 18px; }
	main h2 { font-size: 22px; }
	main h3 { font-size: 20px; }
}

@media screen and (orientation:portrait) and (max-width: 600px) {
	header { padding-top: 30px; padding-bottom: 30px; }
	header img { max-width: 170px; }
}

@media screen and (orientation:portrait) and (max-width: 480px) {
	header { padding-top: 20px; padding-bottom: 20px; }
	header img { max-width: 170px; }
}

@media screen and (orientation:portrait) and (max-height: 700px) {
	main { top: 0; transform: translateY(0%); margin-top: 150px; }
	main h2 { font-size: 20px; padding-bottom: 20px; }
	.content { padding-top: 20px; }
	.contact { padding-top: 20px; }
}