/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
	   url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
	   url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v34-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('../fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
	   url('../fonts/open-sans-v34-latin-italic.woff') format('woff'), /* Modern Browsers */
	   url('../fonts/open-sans-v34-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('../fonts/open-sans-v34-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
	   url('../fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
	   url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open-sans-v34-latin-700italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v34-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('../fonts/open-sans-v34-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
	   url('../fonts/open-sans-v34-latin-700italic.woff') format('woff'), /* Modern Browsers */
	   url('../fonts/open-sans-v34-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('../fonts/open-sans-v34-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

* {
	border: 0;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body {
	width: 100vw;
	height: 100vh;
}
body {
	overflow-x: hidden;
	font-size: 20px;
	font-size: 1.25rem;
	line-height: 30px;
	line-height: 1.875rem;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	color: #707173;
	background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	margin-bottom: 30px;
	line-height: 1.3em;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	color: #3e3d40;
}
h1 {
	font-size: 60px;
	font-size: 3.75rem;
}
h2 {
	font-size: 30px;
	font-size: 1.875rem;
}

p {
	margin-bottom: 30px;
}

strong {
	font-weight: 700;
}

.text a:link,
.text a:visited {
	text-decoration: none;
	color: #707173;
	border-bottom: 1px solid transparent;
	-webkit-transition: border-bottom-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s ;
	-moz-transition: border-bottom-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s ;
	-ms-transition: border-bottom-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s ;
	-o-transition: border-bottom-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s ;
	transition: border-bottom-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s ;
}
.text a.active,
.text a:hover,
.text a:active {
	border-bottom-color: #3e3d40;
	color: #3e3d40;
}

.block {
	overflow: hidden;
}
.invisible {
	display: none;
}
ul.list {
	margin-bottom: 30px;
}
ul.list li {
	margin-left: 30px;
}

#wrapper {
	display: table;
}
#wrapper .wrapper {
	height: 100vh;
	overflow: hidden;
	display: table-cell;
}
#wrapper .wrapper.left {
	padding: 60px;
	width: 38vw;
	min-width: 480px;
}
#wrapper .wrapper.right {
	width: 62vw;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url('../img/portrait.jpg');
}

#logo {
	margin-bottom: 30px;
}
#logo img {
	width: 100%;
	max-width: 556px;
	height: auto;
}
#logo li {
	margin-right: 20px;
	list-style: none;
	float: left;
}
#logo li:last-child {
	margin-right: 0;
}
#header h1 {
	margin-bottom: 20px;
}
.subpage #header {
	margin-bottom: 50px;
}

nav li {
	list-style: none;
	float: left;
}
nav li::after {
	content: '\007C';
	padding: 0 5px;
}
nav li:last-child {
	padding-right: 0;
}
nav li:last-child::after {
	content: none;
}

.subpage #wrapper,
.subpage #wrapper .wrapper {
	display: block;
}
.subpage #wrapper .wrapper {
	height: auto;
}
.subpage #wrapper .wrapper.left {
	width: auto;
}

@media only screen and (min-width: 1200px) {
	.subpage #wrapper .wrapper.left {
		width: 60%;
	}
}

@media only screen and (max-width: 980px) {
	body {
		font-size: 16px;
		font-size: 1rem;
		line-height: 26px;
		line-height: 1.625rem;
	}
	h1 {
		font-size: 36px;
		font-size: 2.25rem;
	}
	h2 {
		font-size: 26px;
		font-size: 1.625rem;
	}
	#wrapper .wrapper.left {
		padding: 30px;
	}
}

@media only screen and (max-width: 740px) {
	html,
	body {
		width: auto;
		height: auto;
	}
	body {
		overflow-x: auto;
	}
	#wrapper,
	#wrapper .wrapper {
		display: block;
	}
	#wrapper .wrapper {
		height: auto;
	}
	#wrapper .wrapper.left,
	#wrapper .wrapper.right {
		width: 100%;
	}
	#wrapper .wrapper.left {
		min-width: auto;
	}
	.subpage #wrapper .wrapper.left {
		width: 100%;
	}

	#portrait {
		margin-bottom: 30px;
		display: block;
	}
	#portrait img {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 480px) {
	#wrapper .wrapper.left {
		padding: 20px;
	}
}