html {
	height: 100%;
	margin: 0;
}

body {
	padding: 30px;
	min-height:calc(100% - 60px);
}

@media screen and (max-width: 560px) {
	body {
		padding: 20px;
		min-height:calc(100% - 40px);
	}
}

body {
	background: white;
	color: black;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.with_transparent_bg {
	background-image:url('/wp-content/themes/ffaiv2/assets/images/ffai-logo-op75.svg');
	background-repeat:no-repeat;
	background-size:320px;
	background-position:100px 250px;
	background-attachment:fixed;
}

@media screen and (max-width: 560px) {
	.with_transparent_bg {
		background-size:220px;
		background-position:10px 200px;
		background-attachment:fixed;
	}
}

.main {
	padding-top: 100px;
}

@media screen and (max-width: 860px) {
	.main {
		padding-top: 100px;
	}
}

@media screen and (max-width: 560px) {
	.main {
		padding-top: 50px;
	}
}

.splash, a {
	transition: all 0.2s ease;
}

.main a {
	text-decoration: none;
	color: black;
	border-bottom: 1px solid #F15E57;
}

body.grants .main a {
    color: #F15E57;
}

a:hover {
	color: #F15E57;
}

img {
	color: transparent;
}

.embed-container {
	display: none;
}

.container {
	max-width: 790px;
	width: 100%;
	margin: 0 auto;
}

@media screen and (max-width: 860px) {
	.container {
		width: 85%;
	}
}

@media screen and (max-width: 560px) {
	.container {
		width: calc(100% - 60px);
	}
}

@media screen and (max-width: 560px) {
	.container.wrap {
		width: 100%;
	}
}

.main ul li {
	padding-left: 30px;
}

.main ul li:before {
	/*content: '\2014';*/
	content: '\2022';
	color: #F15E57;
	float: left;
	margin-left: -20px;
}


/*
        This font software is the property of Commercial Type.

        You may not modify the font software, use it on anothersite, or install it on a computer.

        License information is available at http://commercialtype.com/eula
        For more information please visit Commercial Type at http://commercialtype.com or email us at info[at]commercialtype.com

        Copyright (C) 2017 Schwartzco Inc.
        License: 1710-UZNRHV     
*/

@font-face {
	font-family: 'Graphik';
	src: url("/wp-content/themes/ffaiv2/assets/fonts/Graphik-Regular-Web.eot");
	src: url("/wp-content/themes/ffaiv2/assets/fonts/Graphik-Regular-Web.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/ffaiv2/assets/fonts/Graphik-Regular-Web.woff2") format("woff2"), url("/wp-content/themes/ffaiv2/assets/fonts/Graphik-Regular-Web.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
}

@font-face {
	font-family: 'Le Jeune';
	src: url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-RegularItalic-Web.eot");
	src: url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-RegularItalic-Web.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-RegularItalic-Web.woff2") format("woff2"), url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-RegularItalic-Web.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-stretch: normal;
}

@font-face {
	font-family: 'Le Jeune';
	src: url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-Regular-Web.eot");
	src: url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-Regular-Web.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-Regular-Web.woff2") format("woff2"), url("/wp-content/themes/ffaiv2/assets/fonts/LeJeuneText-Regular-Web.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
}

body {
	font-family: 'Le Jeune';
	font-size: 18px;
	line-height: 26px;
}

@media screen and (max-width: 560px) {
	body {
		font-size: 16px;
		line-height: 24px;
	}
}

em {
	font-style: italic;
}

.red {
	color: #F15E57;
}

.redbold {
	color: #F15E57;
	font-weight:700;
}

main strong {
	color: #F15E57;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.notransform {
	text-transform: none;
}

nav {
	font-family: "Graphik";
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0.1em;
	/*text-transform: uppercase;*/
}

p {
	margin-bottom: 20px;
}

@media screen and (max-width: 860px) {
	p {
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 560px) {
	p {
		margin-bottom: 24px;
	}
}

h2 {
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: #F15E57;
}

.menu {
	display: none;
	pointer-events: none;
}

.menu_img {
	width:32px;
}	

@media screen and (max-width: 560px) {
	.menu {
		display: block;
		margin-bottom: 20px;
		text-align: right;
		cursor: pointer;
		pointer-events: auto;
		z-index: 999;
	}
}

.nav-block {
	position: fixed;
	text-align: center;
	left: 0;
	top: 0;
	background: #fff;
	width: 100%;
}

.nav-primary a,
.nav-primary .current_page_item .sub-menu a {
	color: black;
}

.nav-primary .current_page_item a,
.nav-primary .current_page_item .sub-menu .current_page_item a,
.nav-primary .current_page_item a .menu-item-has-children .current_page_item a,
.nav-primary a:hover {
	color: #F15E57;
}

.nav-primary {
	border-bottom: 1px solid #F15E57;
	padding-top: 30px;
	text-align: center;
}

@media screen and (max-width: 560px) {
	.nav-primary {
		text-align: left;
		max-height: 35px;
		overflow: hidden;
		padding-top: 10px;
		padding-bottom: 6px;
	}
}

.open.nav-primary {
	max-height: 999px;
	overflow: visible;
}

.menu-item-has-children {
	padding-bottom: 20px;
}

@media screen and (min-width: 561px) {

	.nav-primary {
		height: 48px;
		margin-top:8px;
	}

	.nav li {
		position:relative;
		display:inline-block;
		margin-right:32px;
	}
	
	.sub-menu li {
		display: table;
		white-space:nowrap;
		margin-right:auto;
		margin-bottom:8px;
	}
	
	.sub-menu li:last-child {
		margin-bottom:0;
	}
	
	.sub-menu li::before {
		content: '\2022';
		color: #F15E57;
		font-weight: bold;
		display: inline-block;
		margin-left: -4px;
		margin-right: 4px;
	}	

	.sub-menu {
		display:none;
		position: absolute;
		margin-top:12px;
		margin-left:0px;
		padding: 16px;
		border:1px solid #F15E57;
		min-width:100px;
		left: 0;
		text-align:left;
		background-color:#ffffff;
	}
	
	.menu-item-has-children:hover .sub-menu {
		display:block;
	}
}

.logo-block {
	position: absolute;
	left: -24px;
	top: 9px;
	background: #fff;
	z-index: 99999;
}

.logo-block .container {
}

@media screen and (max-width: 560px) {
	.logo-block {
		left:-16px;
		top:0;
	}
	
	.logo-block .container {
		padding: 10px 0 8px 0;
	}
}

.ffai-logo {
	width: 64px;
	display: block;
	margin: 0 auto;
}

@media screen and (max-width: 560px) {
	.ffai-logo {
		width: 36px;
	}
}

.splash .logo-block {
	top: 0;
	bottom: auto;
	background: #272D2D;
}

.splash .logo-block .container {
	height: auto;
	border-top: 0 none;
	border-bottom: 1px solid #F15E57;
}

.splash .nav-block {
	background: #272D2D;
	top: auto;
	bottom: 0;
	z-index: 999;
}

.splash .nav-primary {
	border-bottom: 0 none;
	border-top: 1px solid #F15E57;
}

.splash .nav-primary a,
.splash .nav-primary .current_page_item .sub-menu a {
	color: white;
}

.splash .nav-primary a:hover,
.splash .nav-primary .sub-menu .current_page_item a {
	color: #F15E57;
}

.splash .menu-item-has-children:hover .sub-menu,
.splash .sub-menu:hover {
	background: #272D2D;
}

.splash .nav-primary .sub-menu {
	padding-top: 12px;
}

.splash .nav-primary ul,
.splash .nav-primary li {
	margin: 0;
	padding: 0;
}

@media screen and (min-width: 561px) {
	.splash .nav-primary li+li {
		margin-left: 20px;
	}
}

.splash .nav-primary li:before {
	content: '';
	display: none;
}

.splash .nav-primary a {
	border-bottom: 0 none;
}

@media screen and (max-width: 560px) {
	.nav-primary li {
		line-height: 24px;
	}
	.nav-primary .sub-menu {
		margin-top: 0;
	}
	.splash .nav-primary .menu-item-has-children {
		padding-bottom: 20px;
	}
	.splash .nav-primary .sub-menu {
		margin-top: 0;
	}
	.nav-primary .sub-menu li {
		padding-left: 30px;
	}
	.nav-primary .sub-menu li:before {
		display: block;
		/*content: '\2014';*/
		content: '\2022';
		color: #F15E57;
		float: left;
		margin-left: -20px;
	}
}

.splash {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 320px);
	background: #272D2D;
	color: #fff;
	z-index: 10;
	overflow: scroll;
	padding-top: 160px;
	padding-bottom: 160px;
	cursor: pointer;
}

@media screen and (max-width: 560px) {
	.splash {
		height: calc(100% - 120px);
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

.splash>.container {
	padding-bottom: 40px;
}

.hide .splash {
	pointer-events: none;
	opacity: 0;
}

#granthistory {
	overflow: hidden;
	border: 1px solid #DDDDDD;
	width: 1px;
	min-width: 100%;
	height: 800px;
	height: calc(100vh - 325px);
}

@media screen and (max-width: 560px) {
	#granthistory {
		height: calc(100vh - 170px);
	}
}