html, body, .container, .header{
	height: 100vh;
}

/* Header */
.header{
	position: relative;
	margin: 0 auto;
	min-height: 740px;
	width: 100%;
	overflow: hidden;
}

.bg-img{
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
	.bg-img img{
		position: absolute;
		top: 91px;
		/*right: -3%;*/
		right: 3%;
		display: block;
		/*min-width: 100%;*/
		/*min-height: 100%;*/
		max-width: none;
	}
video.video-bg{
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
}

.title{
	font-size: 0px;
	line-height: 0px;
	z-index: 1000;
	margin: 0 auto;
	padding: 0px 0px;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
	.title h1{
		padding: 0px;
		color: #fff;
		font-weight: 700;
		font-size: 48px;
		line-height: 58px;
		margin: 0 auto;
	}
	.title p{
		color: #fff;
		padding: 0px;
		font-weight: 300;
		font-size: 12px;
		margin: 0 auto;
	}
	.title p.subline{
		font-size: 16px;
	}
/* Trigger Button */
button.trigger{
	position: fixed;
	bottom: 40px;
	left: 50%;
	z-index: 5000;
	display: block;
	margin-left: -0.5em;
	padding: 0;
	width: 1em;
	height: 1em;
	border: none;
	background: transparent;
	color: transparent;
	font-size: 2em;
	cursor: pointer;
}

.container:not(.notrans) button.trigger{
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}

.container.modify:not(.notrans) button.trigger{
	opacity: 0;
	pointer-events: none;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

button.trigger::before{
	position: absolute;
	bottom: 100%;
	left: -100%;
	padding: 0.8em;
	width: 300%;
	color: #fff;
	content: attr(data-info);
	font-size: 0.35em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

button.trigger:focus{
	outline: none;
}

button.trigger span{
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

button.trigger span::before{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	content: "\e097";
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'icomoon';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Content */
.content{
	margin: 0 auto;
	padding: 0px 0px 36px;
}

.content > div:not(.title){
	margin: -80px auto 0;
	max-width: 900px;
	padding: 0 20px;
}

.content > div:not(.title) p{
	margin: 0 auto 16px auto;
}

.content > div:not(.title) p:first-child{
	font-size: 20px;
}

.content h3{
	margin: 0;
	font-size: 20px;
}

.content blockquote{
	padding: 8px;
	font-style: italic;
	font-size: 20px;
	font-family: 'Lora', serif;
	line-height: 26px;
}

.content blockquote::before{
	content: '\201C';
}

.content blockquote::after{
	content: '\201D';
}

/***** Individual effects *****/

/* -------------------------- */
/* Side */
/* -------------------------- */

.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .title{
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}

.intro-effect-side:not(.notrans) .bg-img::after{
	-webkit-transition-property: top, left, bottom, right, background-color;
	transition-property: top, left, bottom, right, background-color;
}

.intro-effect-side:not(.notrans) .header p{
	-webkit-transition-property: -webkit-transform, opacity;
	transition-property: transform, opacity;
}

.intro-effect-side:not(.notrans) .content > div{
	-webkit-transition-property: opacity;
	transition-property: opacity;
}

.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .bg-img::after,
.intro-effect-side:not(.notrans) .title,
.intro-effect-side:not(.notrans) .header p,
.intro-effect-side:not(.notrans) .content > div{
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.intro-effect-side .bg-img::before,
.intro-effect-side .bg-img::after{
	content: '';
	position: absolute;
	z-index: 100;
}

.intro-effect-side .bg-img::before{
	background: #ffffff;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
}

.intro-effect-side.modify .bg-img::before{
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-side .bg-img::after{
	border: 80px solid #fff;
	top: -91px;
	right: -80px;
	bottom: -80px;
	left: -80px;
	background-color: rgba(0,31,91,0.5);

	/*border-top: 91px solid #fff;
	border-right: 159px solid #fff;
	border-bottom: 157px solid #fff;*/

	/*top: -91px;
	right: -159px;
	bottom: -157px;*/
}

.intro-effect-side.modify .bg-img::after{
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255,255,255,0);
}

.intro-effect-side .codrops-demos a{
	color: #43939d;
}
.modify nav.nav ul li ul, .interior nav.nav ul li ul{
	background-color: #e7e7e7;
}

.intro-effect-side .codrops-demos a.current-demo{
	border-bottom: 3px solid #43939d;
}

.intro-effect-side .title{
	text-align: right;
	left: 0;
	width: 60%;
	-webkit-transform: translateX(33.3%) translateY(-50%);
	transform: translateX(33.3%) translateY(-50%);
}

.intro-effect-side.modify .title{
	padding: 0px 0px 0px 80px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.intro-effect-side .header h1{
	font-size: 48px;
	text-align: center;
	max-width: 740px;
	line-height: 58px;
}
.intro-effect-side.modify .header h1{
		color: #2c3f5e;
		padding: 0 30px;
}
.intro-effect-side.modify .header h3{
		color: #b3393b;
		padding: 0 30px;
}
.header h3{
	font-size: 30px;
	line-height: 40px;
	font-weight: 300;
	margin: 10px auto 20px;
}

.intro-effect-side .header p, .header #donate-btn, .header #events-btn{
	opacity: 0;
	position: absolute;
	color: #7b8d92;
	-webkit-transform: translateY(100px);
	transform: translateY(100px);
}
#logo{
	-webkit-filter: brightness(6.0);
	filter: brightness(600%);
	/*transition: ease .3s;*/
}
#logo:hover{
	transition: all ease .5s;
	transform: scale(1.1);
	-ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Chrome, Safari, Opera */
}
.interior #logo{
	filter: brightness(100%);
	-webkit-filter: brightness(1.0);
}
.intro-effect-side.modify #logo{
	-webkit-filter: brightness(1.0);
	filter: brightness(100%);
	transition: ease .3s;
}
.intro-effect-side.modify .social-nav i, form.search i{
	color: #2c3f5e;
	transition: ease .3s;
}
.interior .social-nav i, .interior i.fa.fa-search{
	color: #2c3f5e;
}
.social-nav i:hover,
i.fa.fa-search:hover,
.intro-effect-side.modify .social-nav i:hover,
.intro-effect-side.modify i.fa.fa-search:hover{
	color: #b3393b;
	transform: scale(1.1);
	-ms-transform: scale(1.1); /* IE 9 */
	-webkit-transform: scale(1.1); /* Chrome, Safari, Opera */
}
.intro-effect-side.modify nav li a:hover{
	color: #b3393b;
}
.intro-effect-side.modify .social-nav .es,
.intro-effect-side.modify li.lang-item a{
		padding: 9.5px;
		background-color: #b3393b;
		color: #ffffff;
		transition: ease .3s;
	}
.interior .social-nav .es,
.interior li.lang-item a{
	background-color: #b3393b;
	color: #ffffff;
}
.interior .social-nav .es:hover,
.interior li.lang-item a:hover,
.intro-effect-side.modify .social-nav .es:hover,
.intro-effect-side.modify li.lang-item a:hover{
	background-color: #2c3f5e;
}

.intro-effect-side.modify nav li a{
	color: #2c3f5e;
	transition: ease .3s;
}


.intro-effect-side.modify nav .donate a{
	/* color: #b3393b; */
	transition: ease .3s;
	color: #ffffff !important;
}
.intro-effect-side.modify nav .donate a:hover {
    background-color: #802829;
    color: #ffffff !important;
}
.intro-effect-side.modify .header p,
.intro-effect-side.modify #donate-btn,
.intro-effect-side.modify #events-btn{
	opacity: 1;
	position: relative;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-side #intro-video{
	opacity: 1;
	transition: all ease .8s;
	/*-webkit-transform: translateX(0);
	transform: translateX(0);*/
	transform: translateX(-50%, -50%);
}

.intro-effect-side.modify #intro-video{
	opacity: 0;
	/*transition: all ease .8s;
	-webkit-transform: translateX(0);
	transform: translateX(0);*/
}
.intro-effect-side .content > div{
	margin-top: 0px;
	opacity: 0;
}

.intro-effect-side.modify .content > div{
	opacity: 1;
}

.intro-effect-side button.trigger span::before,
.intro-effect-side button.trigger::before{
	color: #516165;
}

/* Delays */
.intro-effect-side:not(.notrans) .title,
.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .bg-img::after{
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.intro-effect-side.modify:not(.notrans) .title,
.intro-effect-side.modify:not(.notrans) .bg-img::before,
.intro-effect-side.modify:not(.notrans) .bg-img::after{
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.intro-effect-side.modify:not(.notrans) .header p:nth-last-child(2){
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.intro-effect-side.modify:not(.notrans) .header p:last-child{
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.intro-effect-side.modify:not(.notrans) .content > div{
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

/* Media Queries */
@media screen and (min-width: 1100px) and (max-width: 1400px){
	.bg-img img{
		max-width: 83%;
	}
}

@media screen and (max-width: 1100px){
	.intro-effect-side.modify .title{
		padding: 0px 0px 0px 40px;
	}
	.bg-img img{
		right: -7%;
	}
}
@media screen and ( min-width: 780px ) and ( max-height: 800px ){
	.intro-effect-side.modify .title{
		/*padding: 0px;*/
		-webkit-transform: translateY(0);
		transform: translateY(0);
		top: 0;
		padding-top: 100px;
	}
}
@media screen and (max-width: 980px){
	/*left side*/
	.intro-effect-side .title{
		width: 100%;
		padding: 0 16px;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
		.intro-effect-side.modify .title{
			padding: 0px;
			-webkit-transform: translateY(0);
			transform: translateY(0);
			top: 0;
			padding-top: 200px;
		}
		.intro-effect-side.modify .featured-btns{
			margin: 50px 1% 0px;
		}
	.intro-effect-sidefixed .content{
		width: 100%;
		margin-left: auto;
	}
	.intro-effect-sidefixed .bg-img::after{
		width: 95%;
	}

	/* after transition rightside */
	.bg-img img{
		top: 80px;
		right: -15%;
	}
		.intro-effect-side.modify .bg-img::before{
			-webkit-transform: translateX(-100%);
			transform: translateX(-100%);
		}
		.intro-effect-side .bg-img::after{
			border-top-width: 80px;
			border-left-width: 0px;
			border-right-width: 0px;
			right: 0px;
			left: 0px;
			background: rgba(255,255,255,0.1);
		}
		.intro-effect-side.modify .bg-img::after{
			background: rgba(255,255,255,0.6);
		}
}
@media screen and (max-width: 780px){
	.container{
		height: auto;
	}
	.header{
		min-height: 0;
		height: auto;
	}
	#intro-video{
		display: none;
	}
	.bg-img img{
		top: 60px;
		right: -15%;
	}
		.intro-effect-side .bg-img::after{
			border-top-width: 60px;
		}
		.intro-effect-side.modify .bg-img::after{
			border-bottom: 0;
		}
	.intro-effect-side.modify .title{
		position: relative;
		top: 0;
		padding: 175px 0 50px 0;
	}
}
main{
	padding-top: 50px;
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	#intro-video{
		display: none;
	}
}
@media screen and (max-width: 740px){
	/*.intro-effect-side.modify .title{
		padding: 0px;
		bottom: 0px;
		-webkit-transform: translateY(-10%);
		transform: translateY(-10%``);
	}*/
		.intro-effect-side .header h1{
			font-size: 36px;
			line-height: 46px;
		}
		.header h3{
			font-size: 24px;
			line-height: 34px;
		}
		.intro-effect-side.modify #donate-btn,
		.intro-effect-side.modify #events-btn{
			display: none;
		}

	.intro-effect-side .bg-img::after{
		border-bottom-width: 0px;
	}
	.bg-img img{
		top: 60px;
		/*right: -55%;*/
		right: -15%;
	}
}
