/*
 Theme Name:	 GeneratePress Child
 Theme URI:		https://generatepress.com
 Description:	Default GeneratePress child theme
 Author:			 Tom Usborne
 Author URI:	 https://tomusborne.com
 Template:		 generatepress
 Version:			0.1
*/

.inside-header {
	display: none !important;
}

.toggle-maps .fa-arrow-right {
	opacity: 0;
}

.toggle-maps:hover .fa-arrow-right,
.toggle-maps:focus .fa-arrow-right,
.toggle-maps:active .fa-arrow-right {
	opacity: 1;
}

.toggle-maps {
	opacity: 0.8;
}

.toggle-maps:hover,
.toggle-maps:focus,
.toggle-maps:active {
	opacity: 1;
}

.gm-style {
	text-align: center;
}

.gm-style-iw img {
	max-width: 200px !important;
	max-height: 133px !important;
	margin: 20px 0;
}

address {
	margin-top: 10px;
	font-size: 16px;
	color: #000000;
	padding: 5px;
}

.gm-style-iw a[href=""] {
  display: none !important;
}

/*
|------------------------------------------------------
|	General: Typography
|------------------------------------------------------
*/

body.admin-bar .side {
	padding-top: 32px;
}

html,
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.overflow-hidden {
	position: fixed;
	padding-right: 7px;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

p a {
	font-weight: bold;
	text-decoration: underline;
}

em strong {
	font-family: "Lato", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	font-style: normal;
    border-radius: 3px;
    letter-spacing: 2px;
    background-color: transparent;
    padding: 20px 0px;
}

em strong a {
	text-decoration: none;
}

small {
	color: #9B9B9B;
	font-size: 16px;
	margin-bottom: 10px;
	display: block;
}

.upper-case {
	text-transform: uppercase;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited {
    color: #4c4c4c;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
    color: #d6001f;
}

.single-post h3 {
	color: #d6001f;
}

h1.bigger,
h2.bigger,
h3.bigger,
h4.bigger {
	font-size: 200%;
}

@media only screen and (max-width : 768px) {
	h1.bigger,
	h2.bigger,
	h3.bigger,
	h4.bigger {
		font-size: 140%;
	}
}

@media only screen and (max-width : 480px) {
	h1.bigger,
	h2.bigger,
	h3.bigger,
	h4.bigger {
		font-size: 100%;
	}
}

@media only screen and (max-width : 768px) {
	h3 {
		font-size: 20px;
	}
}

/*
|------------------------------------------------------
|	Framework: Miscellaneous
|------------------------------------------------------
*/

:selection {
	background:#D6001E;
	color:#FFF;
	text-shadow:none;
}
:-webkit-selection {
	background:#D6001E;
	color:#FFF;
	text-shadow:none;
}
:-moz-selection {
	background:#D6001E;
	color:#FFF;
	text-shadow:none;
}

main {
	padding-top: 40px;
}

blockquote {
	font-style: italic;
	padding: 0px 0px 0px 40px;
	font-weight: 600;
}

blockquote:before {
	font-style: normal;
    position: absolute;
    content: "\f10e";
    font-family: 'Font Awesome 5 Pro';
    font-size: 30px;
    margin-left: -39px;
    margin-top: -3px;
    font-weight: 600;
    color: #D6001E;
}

main h1.entry-title,
.metadata {
	display: block;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 25px;
	padding-right: 25px;
}

main h1.entry-title span,
.metadata div {
	padding-left: 10px;
	padding-right: 10px;
}

/*
|------------------------------------------------------
|	General: Navigation
|------------------------------------------------------
*/



/*
|------------------------------------------------------
|	General: Responsive Videos
|------------------------------------------------------
*/

.video-wrapper {
	position:relative;
	padding-top: 75.25%; 	
	/* 56.25% 16:9 */
	/* 100% 1:1 */
	/* 75% 4:3 */
	/* 66.66% 3:2 */
	/* 62.5% 8:5 */
	height:0;
	overflow:hidden;
	margin-bottom: 40px;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed,
.video-wrapper video {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	padding-left: 10px;
	padding-right: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*
|------------------------------------------------------
|	Framework: Overrides
|------------------------------------------------------
*/

#page {
	max-width: none !important;
}

.grid-container {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*
|------------------------------------------------------
|	ACF: Lay-out builder - Rows
|------------------------------------------------------
*/

.grid-row {
	position: relative;
	background-position:center center;
	background-size:cover;
	padding-left: 15px;
	padding-right: 15px;
}

@media only screen and (max-width : 1024px) {
	.grid-row {
		padding-left: 0px;
		padding-right: 0px;
	}
}

.grid-row.default {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.grid-row.stretch {
	padding-left: 0px;
	padding-right: 0px;
}

.grid-row.stretch > .grid-container {
	padding-left: 0px;
	padding-right: 0px;
	max-width: none;
}

.grid-row > .grid-container {
	display: flex;
	background-size:cover;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-left: auto;
	margin-right: auto;
}

.grid-row > .grid-container.flex-wrap {
	flex-wrap: wrap;
}

/*
.grid-row > .grid-container.no-flex {
	display: block;
}
*/

.grid-row:first-child > .grid-container {
	padding-top: 0px;
}

@media only screen and (max-width : 1024px) {
	.grid-row > .grid-container {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media only screen and (max-width : 480px) {

	.grid-row .grid-container,
	.grid-row .grid-container.left-first {
		flex-direction: column;
	}
	.grid-row .grid-container.right-first {
		flex-direction: column-reverse;
	}
}

.grid-row.no-padding > .grid-container,
.grid-row > .grid-container.no-padding {
	padding-top: 0px;
	padding-bottom: 0px;
}

.grid-row.no-padding-top > .grid-container,
.grid-row > .grid-container.no-padding-top {
	padding-top: 0px;
}

.grid-row.no-padding-bottom > .grid-container,
.grid-row > .grid-container.no-padding-bottom {
	padding-bottom: 0px;
}

.has-bg-color *,
.has-bg-color .gform_confirmation_message {
	color: #ffffff;
}

.has-bg-color .button,
.has-bg-color input[type="submit"] {
	border-color: #ffffff;
}

/*
|------------------------------------------------------
|	ACF: Lay-out builder - Columns
|------------------------------------------------------
*/

.grid-row .grid-container > div {
	position: relative;
}

@media only screen and (max-width : 768px) {
	.grid-row .grid-container.portrait-full > div {
		width: 100%;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

.grid-row.no-bottom-padding .grid-container {
	padding-bottom: 0px;
}

.grid-row .grid-container.top {
	align-items:flex-start;
	padding-top: 0px;
}

.grid-row .grid-container.center {
	align-items: center;
}

.grid-row .grid-container.bottom {
	align-items:flex-end;
	padding-bottom: 0px;
}

.grid-row .grid-container.bottom img:last-child {
	position: relative;
	bottom: -8px;
}

.grid-row .grid-container.bottom .meta-info img:last-child {
	bottom: -10px;
}

.grid-container.flex-center {
	display: flex;
	align-items: center;
	width: 100%;
}

/*
|------------------------------------------------------
|	General: Predefined Classes
|------------------------------------------------------
*/

.grid-nested,
.nested-grid {
	margin-left: -10px;
	margin-right: -10px;
}

.centered {
	text-align: center;
}

.no-margin {
	margin: 0px;
}

.margin-top {
	margin-top: 20px;
}

.margin-bottom {
	margin-bottom: 20px;
}

.margin-left {
	margin-left: 40px;
}

.margin-right {
	margin-left: 40px;
}

.padding-top {
	padding-top: 20px;
}

.padding-bottom {
	padding-bottom: 20px;
}

.align-left {
	text-align: left;
}

.align-right {
	text-align: right;
}

@media only screen and (max-width : 768px) {
	.align-right {
		text-align: left;
	}
}

.back-button {
	margin-right: 0px;
}

@media only screen and (max-width : 768px) {
	.padding-bottom {
		padding-bottom: 0px;
	}
}

.max-width {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/*
|------------------------------------------------------
|	General: Forms
|------------------------------------------------------
*/

a.button.button-link,
.button.button-link:visited {
	padding-left: 0px;
	padding-right: 0px;
	margin-right: 20px;
	border: solid 1px transparent;
	color: #d6001f;
}

.align-right a.button.button-link {
	margin-right: 0px;
}

.button.button-link:hover,
.button.button-link:focus {
	color: #3a3a3a;
	background-color: transparent;
	border: solid 1px transparent;
}

.button,
input[type="submit"] {
	border-radius: 3px;
	letter-spacing: 2px;
	padding: 10px 80px;
	font-size: 14px;
}

@media only screen and (max-width : 480px) {
	.button,
	input[type="submit"] {
		letter-spacing: 1px;
		padding: 10px 20px;
	}
}

.button:hover,
input[type="submit"]:hover {
}

/*
|------------------------------------------------------
|	Gravity Forms: Custom styling
|------------------------------------------------------
*/

.grid-row .grid-container.bottom .gform_wrapper {
	padding-bottom: 100px;
}

.grid-row .grid-container.bottom .gform_wrapper ul {
	padding-bottom: 0px !important;
}

.clear-multi {
	display: flex;
}

.clear-multi > div {
	width: 50%;
}

.gfield_time_minute label,
.gfield_time_hour label {
	display: none !important;
}

.gform_wrapper .gf_progressbar:after, .gform_wrapper ol.validation_list:after {
	content: "";
}

.gform_wrapper .gf_progressbar:after {
	display: block;
	width: 100%;
	z-index: 990;
	height: 24px;
	margin-top: -24px;
	background-color: rgba(0,0,0,.1);
	-webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 0 2px 2px rgba(0,0,0,.05);
	border-radius: 4px;
	margin-bottom: 30px;
}

.gform_wrapper .gf_progressbar_percentage {
	height: 24px;
	background-color: #D6001F;
	color: #FFF;
	border-radius: 4px;
}

.gform_wrapper .gf_progressbar_percentage span {
	padding-left: 10px;
	position: relative;
	top: -2px;
}

body img.gform_ajax_spinner {
	display: none !important;
}

.gform_description {
	padding-bottom: 20px;
}

.validation_error,
.validation_message {
	display: block;
	text-transform: uppercase;
	font-weight: 600;
	color: #D6001F;
	font-size: 14px;
	margin-bottom: 10px;
}

.validation_message {
	display: none;
}

.gform_wrapper .gfield_error input[type="text"],
.gform_wrapper .gfield_error input[type="email"],
.gform_wrapper .gfield_error input[type="url"],
.gform_wrapper .gfield_error input[type="password"],
.gform_wrapper .gfield_error input[type="search"],
.gform_wrapper .gfield_error input[type="tel"],
.gform_wrapper .gfield_error input[type="number"],
.gform_wrapper .gfield_error textarea {
	border-color: #D6001F;
}

.hide-labels .gfield_label {
	display: none;
}

.gform_wrapper *,
.gform_wrapper :after,
.gform_wrapper :before {
	box-sizing: border-box;
}

.gform_wrapper ul li:after, .gform_wrapper ul li:before, .gform_wrapper ul.gform_fields {
	padding: 0;
	margin: 0;
	overflow: visible;
}

.gform_wrapper ul.gform_fields {
	margin: 0;
	list-style-type: none;
	display: block;
}

.gform_wrapper label {
	display:block;
}

.gform_wrapper ul,
.gform_wrapper li {
	margin-left: 0px;
	list-style: none;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="search"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper textarea,
.gform_wrapper select {
	width: calc(100% - 20px);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-bottom: 20px;
}

.gform_wrapper select {
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
}

.gform_wrapper .ginput_container_select {
	position: relative;
}

.gform_wrapper .ginput_container_select:before {
	position: absolute;
	right: 30px;
	top: 10px;
	content:"\f078";
	font-family: 'Font Awesome 5 Pro';
}

.gform_heading {
	margin-bottom: 20px;
}

.gform_validation_container {
	display: none;
	position: absolute;
	left: -9999px;
}

/*
|------------------------------------------------------
|	Gravity Forms: Datepicker
|------------------------------------------------------
*/

.ui-datepicker-header {
	text-align: center;
}

.ui-datepicker-prev {
	float: left;
	cursor: pointer;
}

.ui-datepicker-next {
	float: right;
	cursor: pointer;
}

#ui-datepicker-div {
	background-color: #ffffff;
	z-index: 99;
	border: solid 1px #cccccc;
	padding: 10px;
}

#ui-datepicker-div table,
#ui-datepicker-div th,
#ui-datepicker-div td {
	border: 0px;
	margin-bottom: 0px;
	text-align: center;
	background-color: #ffffff;
}

.ui-datepicker-today {
	background-color: #fafafa;
}

.ui-datepicker-unselectable {
	color: #cccccc;
}

.ui-datepicker-current-day {
	background-color: #D6001F;
}

.ui-datepicker-current-day a {
	color: #ffffff;
}

/*
|------------------------------------------------------
|	Forms: Pure CCS Radio buttons
|------------------------------------------------------
*/

input[type=radio] {
	display:none;
}

input[type=radio] + label {
	font-style: normal;
	cursor: pointer;
	float: none;
}

input[type=radio] + label:before {
	content:"\f111";
	display:inline-block;
	font-family: 'Font Awesome 5 Pro';
	letter-spacing:10px;
	position: relative;
	text-align: center;
}

input[type=radio]:checked + label:before {
	content:"\f058";
	letter-spacing:10px;
}

input[type=radio]:checked + label {
	font-weight: 700;
}

/*
|------------------------------------------------------
|	Forms: Pure CCS Checkboxes
|------------------------------------------------------
*/

input[type=checkbox] {
	display:none;
}

input[type=checkbox] + label {
	font-style: normal;
	cursor: pointer;
	float: none;
}

input[type=checkbox] + label:before {
	content:"\f0c8";
	display:inline-block;
	font-family: 'Font Awesome 5 Pro';
	letter-spacing:10px;
	position: relative;
	text-align: center;
}

input[type=checkbox]:checked + label:before {
	content:"\f14a";
	letter-spacing:10px;
}

input[type=checkbox]:checked + label {
	font-weight: 700;
}

/*
|------------------------------------------------------
|	Custom: Content
|------------------------------------------------------
*/

/*
|------------------------------------------------------
|	General: Footer
|------------------------------------------------------
*/

/*
|------------------------------------------------------
|	General: Adres
|------------------------------------------------------
*/

.adres ul {
	margin: 0px 25px;
}

.adres .text-block li {
	position: relative;
	list-style: none;
}

.adres .text-block ul li:before {
	margin-left: 0px;
	color: #4c4c4c;
}

.adres li:first-child:before {
    position: absolute;
    content: "\f1ad";
    font-family: 'Font Awesome 5 Pro';
	font-weight: bold;
    left: -25px;
}

.adres li:nth-child(2):before {
    position: absolute;
    content: "\f095";
    font-family: 'Font Awesome 5 Pro';
    font-weight: bold;
    left: -25px;
}

.adres li:nth-child(3):before {
    position: absolute;
    content: "\f0e0";
    font-family: 'Font Awesome 5 Pro';
    font-weight: bold;
    left: -25px;
}

.adres li:nth-child(4):before {
    position: absolute;
    content: "\f232";
    font-family: 'Font Awesome 5 Brands';
    font-weight: bold;
    left: -25px;
}

.adres .gform_wrapper li:before {
	content: "";
}

/*
|------------------------------------------------------
|	Custom: Frontpage
|------------------------------------------------------
*/

.bp-icon:after {
	font-family: 'Font Awesome 5 Pro';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	text-align: center;
	color: #fff;
	-webkit-font-smoothing: antialiased;
}

.bp-icon-next:after {
	content: "\e000";
}
.bp-icon-drop:after {
	content: "\e001";
}
.bp-icon-archive:after {
	content: "\e002";
}
.bp-icon-about:after {
	content: "\e003";
}
.bp-icon-prev:after {
	content: "\e004";
}

.menu,
.menu li {
	display: inline-block;
	line-height: 2.4em;
	float: right;
}

.menu {
	margin-right: 10px;
}

.menu li {
	list-style: none;
}

.side-left .menu a {
	color: #db0021;
	font-weight: 700;
}

.side-left .menu a:hover,
.side-left .menu a:focus,
.side-left .menu a.current_page_item {
	color: #db0021;
	font-weight: 300;
}

.menu a {
	display: inline-block;
	color: #ffffff;
	margin: 0 0.5em;
	font-weight: 700;
	text-transform: uppercase;
}

.menu a:hover,
.menu a:focus,
.menu a.current_page_item {
	color: #ffffff;
}

.splitlayout {
	position: relative;
	overflow-x: hidden;
	min-height: 100%;
	width: 100%;
}

/* Intro sides */
.side {
	position: fixed;
	top: 0;
	z-index: 100;
	width: 50%;
	height: 100%;
	text-align: center;
	-webkit-backface-visibility: hidden;
}

.open-left .side,
.open-right .side {
	cursor: default;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 499;
	visibility: hidden;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.side-left .overlay {
	background: rgba(0,0,0,0.7);
}

.side-right .overlay {
	background: rgba(0,0,0,0.3);
}

.side-left {
	left: 0;
	background: #ffffff;
	color: #00438a;
	outline: 1px solid #00438a; /* avoid gap */
}

.side-right {
	right: 0;
	background: #00438a;
	color: #ffffff;
	outline: 1px solid #fff; /* avoid gap */
	overflow: auto;
}

/* Intro content, profile image and name, back button */
.intro-content {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0 1em;
	width: 50%;
	cursor: pointer;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
}

.side-right .intro-content {
	width: 50%;
	text-align: left;
}

.side-right .intro-content h3 {
	position: relative;
}

.side-right .intro-content h3.current_page_item {
	opacity: 1;
}

.side-right .intro-content h3 i {
	position: absolute;
	left: -25px;
	top: 3px;
}

.profile img {
	max-width: 100%;
}

.intro-content h1 > span {
	display: block;
}
.intro-content section {
	align-items: center;
}

.intro-content section p {
	display: inline-block;
	width: 50%;
	opacity: 0.8;
}

.intro-content section p:nth-child(2) {
	text-align: right;
	border-right: solid 1px #fff;
	padding-right: 15px;
}

.intro-content section p:nth-child(3) {
	padding-left: 15px;
	text-align: left;
}

.intro-content h1 > span:first-child {
	font-weight: 700;
	text-transform: uppercase;
	color: #004289;
}

.intro-content h1 > span:nth-child(2) {
	color: #db0022;
	position: relative;
	margin-top: 0.5em;
	padding: 0.8em;
	letter-spacing: 1px;
	font-size: 0.8em;
}

.intro-content h1 > span:nth-child(2):before {
	position: absolute;
	top: 0;
	left: 25%;
	width: 50%;
	height: 2px;
	background: #db0022;
	content: '';
}

/*
.intro-content h3 {
	position: relative;
}

.intro-content h3 > span:before {
	position: absolute;
	bottom: 0;
	left: 25%;
	width: 50%;
	height: 2px;
	background: #ffffff;
	content: '';
}
*/

.back {
	position: fixed;
	top: 1em;
	z-index: 500;
	display: block;
	visibility: hidden;
/* 	width: 50px; */
	height: 50px;
	border-radius: 50%;
	color: #ffffff;
	text-align: center;
	font-size: 22px;
	line-height: 44px;
	opacity: 0;
	pointer-events: none;
}

.mobile-layout .back { /* fixed positioning will make this not clickable after scrolling on some mobile devices */
	position: absolute;
}

.back-left {
	left: 6%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.back-right {
	right: 12.5%;
	-webkit-transform: translateX(50%);
	transform: translateX(50%);
	color: #00438a;
}

.open-right .back-left,
.open-left .back-right {
	visibility: visible;
	opacity: 1;
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
	pointer-events: auto;
}

.back:hover {
	color: #ddd;
}

/* Split */
.split {
	position: relative;
	top: 0;
	overflow: auto;
	min-height: 100%;
	width: 75%;
	height: auto;
	font-size: 1.4em;
	-webkit-backface-visibility: hidden;
}

.page-right {
	left: 25%;
	color: #00438a;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}

.splitlayout.open-right {
	background: #ffffff;
}

.page-left {
	left: 0;
	background: #00438a;
	color: #ffffff;
	text-align: right;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
}

.splitlayout.open-left {
	background: #00438a;
}

/* Inner page content */
.page-inner {
	padding: 1.4em;
	min-height: 100vh;
}

.page-inner section {
	padding-bottom: 1em;
}

.page-inner h2 {
	margin: 0 0 1em 0;
	font-size: 2.4em;
}

.page-inner p {
	font-weight: 300;
	font-size: 1.2em;
}

/* All transitions */
.side,
.split {
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
}

.overlay {
	-webkit-transition: opacity 0.6s, visibility 0.1s 0.6s;
	transition: opacity 0.6s, visibility 0.1s 0.6s;
}

.intro-content {
	-webkit-transition: -webkit-transform 0.6s, top 0.6s;
	transition: transform 0.6s, top 0.6s;
}

.intro-content h1,
.back {
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

/* Open and close */

/* We need to set the position and overflow for the respective page scroll */
.reset-layout .split,
.splitlayout.open-right .page-left,
.splitlayout.open-left .page-right,
.splitlayout.close-right .page-left,
.splitlayout.close-left .page-right {
	position: absolute;
	overflow: hidden;
	height: 100%;
}

.splitlayout.open-right .page-right,
.splitlayout.open-left .page-left {
	position: relative;
	overflow: auto;
	height: auto;
}

.open-right .side-left .overlay,
.open-left .side-right .overlay {
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

/* Right side open */
.open-right .side-left {
	-webkit-transform: translateX(-60%);
	transform: translateX(-60%);
}

.open-right .side-right {
	z-index: 200;
	-webkit-transform: translateX(-150%);
	transform: translateX(-150%);
}

.close-right .side-right {
	z-index: 200;
}

.open-right .side-right .intro-content {
	-webkit-transform: translateY(-50%) translateX(0%) scale(0.8);
	transform: translateY(-50%) translateX(0%) scale(0.8);
}

.open-right .page-right {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}

/* Left side open */
.open-left .side-right {
	-webkit-transform: translateX(60%);
	transform: translateX(60%);
}

.open-left .side-left {
	z-index: 200;
	-webkit-transform: translateX(150%);
	transform: translateX(150%);
}

.close-left .side-left {
	z-index: 200;
}

.open-left .side-left .intro-content {
	-webkit-transform: translateY(-50%) translateX(-100%) scale(0.8);
	transform: translateY(-50%) translateX(-100%) scale(0.8);
}

.open-left .codropsheader {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s, visibility 0.1s 0.3s;
	transition: opacity 0.3s, visibility 0.1s 0.3s;
}

.open-left .page-left {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}

.open-right .codropsheader {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s, visibility 0.1s 0.3s;
	transition: opacity 0.3s, visibility 0.1s 0.3s;
}

/* Media Queries */
@media screen and (max-width: 83em) {
	.intro-content { font-size: 100%; }
}

@media screen and (max-width: 58em) {
	body { font-size: 90%; }
}

@media screen and (max-width: 49.4375em) {
	.open-right .side-right {
		-webkit-transform: translateX(-175%);
		transform: translateX(-175%);
	}

	.open-right .side-left {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	.open-left .side-right {
		-webkit-transform: translateX(100%);
		transform: translateX(100%);
	}

	.open-left .side-left {
		-webkit-transform: translateX(175%);
		transform: translateX(175%);
	}

	.split {
		width: 100%;
	}

	.page-right {
		left: 0;
		padding-left: 15%;
	}

	.page-left {
		padding-right: 15%;
	}

	.intro-content {
		width: 100%;
	}

	.open-right .side-right .intro-content {
		top: 100%;
		-webkit-transform: translateY(-150px) translateX(-12.5%) scale(0.5);
		transform: translateY(-150px) translateX(-12.5%) scale(0.5);
	}

	.open-left .side-left .intro-content {
		top: 100%;
		-webkit-transform: translateY(-150px) translateX(-87.5%) scale(0.5);
		transform: translateY(-150px) translateX(-87.5%) scale(0.5);
	}

	.open-right .intro-content h1,
	.open-left .intro-content h1 {
		opacity: 0;
	}

	.back-left {
		left: 6.25%;
	}

	.back-right {
		right: 6.25%;
	}
}

@media screen and (max-width: 42.5em) {
	body { font-size: 80%; }
	.intro-content { font-size: 50%; }
}

@media screen and (max-height: 41.125em) {
	.intro-content {
		-webkit-transform: translateY(-25%) translateX(-50%);
		transform: translateY(-25%) translateX(-50%);
	}
}

@media screen and (max-width: 39.375em) {
	.intro-content .profile { -webkit-transform: scale(0.5); transform: scale(0.5); }
}

@media screen and (max-width: 320px) {
	body { font-size: 70%; }
}


#map {
    padding: 0;
    height: 100vh;
    margin: -1.4em;
}