html, body, 
.container {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	overflow-y: scroll;
	background: #333;	
}

.splitlayout {
	position: relative;
	overflow-x: hidden;
	overflow: hidden;
	min-height: 100%;
	width: 100%;
	/*background-image: url(../img/ny4.jpg);*/
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	-webkit-transition: background-image 1s ease-in-out;
	-moz-transition: background-image 1s ease-in-out;
	-ms-transition: background-image 1s ease-in-out;
	transition: background-image 1s ease-in-out;
	
}

.splitlayout img.backing {
    position: fixed;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto; 
  	-webkit-transition: opacity 1s ease-in-out;
  	-moz-transition: opacity 1s ease-in-out;
  	-o-transition: opacity 1s ease-in-out;
  	transition: opacity 1s ease-in-out;
	-webkit-animation-name: backingFadeInOut;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 30s;	   	
	animation-name: backingFadeInOut;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-duration: 30s;	 
}

.splitlayout img.ny{
	opacity: 1;
	-webkit-animation-delay: 0;
	animation-delay: 0;	
}

.splitlayout img.sf {
	opacity: 1;
	-webkit-animation-delay: 0;
	animation-delay: 10s;
}

.splitlayout img.ln {
	opacity: 1;
	-webkit-animation-delay: 0;
	animation-delay: 20s;
}

/* 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;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.6s;
	transition: opacity 0.3s, transform 0.6s;
}

.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);*/
}

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

.side-left {
	left: 0;
	1background: rgba(0,0,0,0);
	color: #fff;
	/*outline: 1px solid #383e4d;*/ /* avoid gap */
	/*background-image: url(../img/temp6.jpg);
	background-size: 100% 100%;
 	background-attachment: fixed;*/
}

.side-right {
	right: 0;
	background: rgba(0,0,0,0);
	color: #fff;
	/*outline: 0px solid #fff;*/ /* avoid gap */
	/*background-image: url(../img/temp7.jpg);
  	background-size: 100% 100%;
  	background-attachment: fixed;*/		
}

/* Intro content, profile image and name, back button */
.intro-content {
	position: absolute;
	top: 40%;
	left: 50%;
	padding: 1em 1em  0;
	width: 60%;
	cursor: pointer;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	-webkit-transition: width .3s ease-in-out; -webkit-transform 0.6s, top 0.6s;
	transition: width .3s ease-in-out;transform 0.6s, top 0.6s;
	
/*	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	background: rgba(255, 255, 255, .6);*/
}

.old-intro-content {
	-webkit-transition: -webkit-transform 0.6s, top 0.6s;
	-ms-transition: -ms-transform 0.6s, top 0.6s;
	-moz-transition: -moz-transform 0.6s, top 0.6s;
	-o-transition: -o-transform 0.6s, top 0.6s;
	transition: transform 0.6s, top 0.6s;
}


.side-right .intro-content {
/*	background: rgba(71, 163, 218, .5);*/
	
}
.profile {
	margin: 0 auto;
	/*width: 440px;*/
	/*height: 293px;*/
	/*border-radius: 50%;*/
	/*background: #225060;*/
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	width: 100%;
	height: 100%;
	opacity: 0.95;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;	
}

.profile img {
	max-width: 100%;
	max-height: 100%;
	/*border-radius: 50%;*/
	/*opacity: 0.8;*/
}

.profile:hover {
	/*transform: translateY(-2px);*/
	opacity: 1;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.intro-content h1 > span {
	display: block;
	/*white-space: nowrap;*/
	text-shadow: 1px 1px 1px #000;
}

.intro-content h1 > span:first-child {
	font-weight: 300;
	font-size: 1em;
}

.intro-content h1 > span:nth-child(2) {
	position: relative;
	margin-top: 0.5em;
	padding: 0.8em;
	text-transform: none;
	letter-spacing: 1px;
	font-size: 0.6em;
	font-weight: 400;
}

.intro-content h1 > span:nth-child(2):before {
	position: absolute;
	top: 0;
	left: 25%;
	width: 50%;
	height: 2px;
	background: #fff;
	content: '';
	box-shadow: 1px 1px 1px rgba(0,0,0,.65);
    opacity: .75;
}

.back {
	position: fixed;
	top: 2.6em;
	z-index: 500;
	display: block;
	visibility: hidden;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	color: #ffa600;
	text-align: center;
	font-size: 22px;
	line-height: 44px;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: all .3s ease-in-out !important;
	transition: all .3s ease-in-out !important;
}

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

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

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

.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: #ffdc99;*/
	color: #ffbd67;
}

.open-right .back-left:hover {
	color: #ffbd67;
}


/* Pages */
.page {
	position: relative;
	top: 0;	
	overflow: auto;
	min-height: 100%;
	width: 75%;
	height: auto;
	font-size: 1.4em;
	-webkit-backface-visibility: hidden;
    padding-bottom: 32768px;
    margin-bottom: -32768px;	
}

.page-right {
	left: 25%;
	/* outline: 5px solid #dbecf2; avoid rounding gaps */
	/*background: #ecf0f1; c9e3eb;*/
	background: #dbecf2;
	color: #225060;
	text-align: center;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	background: url(../img/w_main9.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;	
    background: rgba(255,255,255,.8);
    /*text-shadow: 1px 1px 1px #dadada;*/	
}

.splitlayout.open-right {
	/*background: #ecf0f1;*/
}

.page-left {
	left: 0;
	/*outline: 5px solid #23262F;  avoid rounding gaps */
	background: #23262F;
	color: #fff;
	text-align: center;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	background: url(../img/b_main9.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background: rgba(0,0,0,.6);

}

.left-align1 {	
    width: 100%;	
	background: url(../img/w_main9.jpg);
    background-position: center center;
    background-repeat: no-repeat;  	
	background-size: cover;
}

.splitlayout.open-left {
	/*background: #34495e;*/
}

/* Inner page content */
.page-inner {
	padding: 2em;
}

.page-inner section {
	/*padding-bottom: .5em;*/
	padding-bottom: 2em;	
}

.page-inner h1 {
	text-align: center;
	/*font-size: 2.4em;*/
	font-size: 2em;
	font-weight: 100;
	/*margin: 0 0 1em;*/
	margin: 0 auto 1em;
	background: rgba(255,255,255,.25);		
}

.page-left h1 span {
	/*border-bottom: 2px solid rgba(255,255,255,.5);*/
	line-height: 2em;
	padding-bottom: .25em;
}

.page-right h1 span {
	/*border-bottom: 2px solid rgba(34, 80, 96,.5);*/
	line-height: 2em;
	padding-bottom: .25em;
}

.page-inner h2 {
	margin: 0;
	font-weight: 300;
	/*font-size: 2em;*/
	font-size: 1.5em;

}

.page-inner p {
	font-weight: 400;
	/*font-size: 1em;*/
	font-size: .9em;
	
}

.page-inner .img-right {
	float:right;
	margin: 0 0 0 20px;
	/*box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/

}

.page-inner .img-left {
	float:left;
	margin: 0 20px 0 0;
	/*box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/

}

.page-right .page-inner img {
	opacity: 0.95;	
	/*max-width: 640px;
	min-width: 480px;
  	width: 70%;*/
    width: 320px;
    height: 240px;
    background-position: center center;
    background-repeat: no-repeat;  	
}

.page-left .page-inner img {
	opacity: 0.95;
	/*max-width: 640px;
	min-width: 480px;
  	width: 70%;*/
    width: 320px;
    height: 240px;
    background-position: center center;
    background-repeat: no-repeat;  	  
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);	
}


/* All transitions */
.side,
.page {
	-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 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 .page,
.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%);
	opacity: 0;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.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.6);
	transform: translateY(-50%) translateX(0%) scale(0.6);
	width: 50%;
}

.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%);
	opacity: 0;	
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	}

.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.6);
	transform: translateY(-50%) translateX(-100%) scale(0.6);
	width: 50%;
}

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

.open-right .ppavheader {
	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 .btn-hide {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s, visibility 0.1s 0.3s;
	transition: opacity 0.3s, visibility 0.1s 0.3s;
}

.open-right .btn-hide {
	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%);
}

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

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

@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%);
	}

	.page {
		width: 100%;
	}

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

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

	.intro-content {
		/*width: 100%;*/
	}
	
	.ppavheader h1.headline { font-size: 175%; }

	.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: 75%; width: 60%; }
	.ppavheader h1.headline { font-size: 150%; }	
}

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

@media screen and (max-height: 41.125em) {
	.ppavheader h1.headline { margin-top: 1em; }
}

@media screen and (max-height: 36.125em) {
	.ppavheader h1.headline { margin-top: .25em; }
}

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

@media screen and (max-width: 420px) {
	.side-right .ppavheader h1 span {display: none;}
	.intro-content h1 > span:nth-child(2) {display: none;}
}


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


button {
	color: #FFFFFF;
	background-color: #31004D;
  	-webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
    border: 2px solid #31004D;
    padding: 10px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    width: 12em;
    margin-top: 0;
    margin-bottom: 10px;
    vertical-align: middle;	
  -webkit-box-shadow: 2px 2px 3px #999ba0;
     -moz-box-shadow: 2px 2px 3px #999ba0;
          box-shadow: 2px 2px 3px #999ba0;
	border-radius: 2px;
	cursor: pointer;
}

button:hover {
	border-color: #62009a;
	background-color: #62009a;
}

button:active,
button:focus:active {	
	border-color: #8200cd;
	background-color: #8200cd;
    1-ms-transform: scale(.94); /* IE 9 */
    1-webkit-transform: scale(.94); /* Chrome, Safari, Opera */
    1transform: scale(.94);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
    
}

button:focus {
	outline: 0;
	border-color: #31004D;
	background-color: #62009a;
}

.btn-orange {
	border-color: #fff;
	background-color: rgba(0,0,0,.35);
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26); 
    border-radius: 2px;	
	font-size: 1em;
	font-weight: 600;
	font-family: "open sans";
	letter-spacing: .5px;
	outline: 0;
	/*max-width: 100%;*/
	margin: 0 auto;
}


.btn-orange:hover,
.btn-orange:focus:hover {
	border-color: #ffa600;
	background-color: rgba(0,0,0,.5);
	box-shadow: 0 6px 10px rgba(0,0,0,.23),0 10px 30px rgba(0,0,0,.19);
	/*transform: translateY(-1px);*/
	
}


.btn-orange:active,
.btn-orange:focus:active {
	border-color: #e59500;
	background-color: rgba(0,0,0,.5);
	transform: scale(.94);
	box-shadow: none;
}

.btn-orange:focus {
	border-color: #e59500;
	background-color: rgba(0,0,0,.5);
	
}

.page-right .btn-orange {
	color: #225060;
	background-color: transparent;
	border-color: #225060;
}

.page-right .btn-orange:hover, 
.page-right .btn-orange:focus:hover {
	color: #225060;
	background-color: rgba(255,255,255,.25);
	border-color: #225060;
}

.page-right .btn-orange:active,
.page-right .btn-orange:focus:active {
	color: #225060;
	background-color: rgba(255,255,255,.25);
	border-color: #225060;
}


@keyframes backingFadeInOut {
  0% {
    opacity:1;    
  }
  30% {
    opacity:1;    
  }
  34% {
    opacity:0;    
  }
  97% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes backingFadeInOut-old {
  0% {
    opacity:1;    
  }
  30% {
    opacity:1;    
  }
  34% {
    opacity:0;    
  }
  97% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}


