/*
Theme Name: Aberro Creative
Theme URI: http://aberrocreative.com
Author: Aberro Creative
Author URI: http://aberrocreative.com
Description: This is a custom WordPress theme designed by Aberro Creative. Please email steve@aberrocreative.com if you have questions about the theme.
Version: 1
License: None
License URI: None
Tags: n/a
Text Domain: aberro

*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}html{-webkit-text-size-adjust:none}:focus{outline:0}ol,ul{list-style:none;margin:0}table{border-collapse:separate;border-spacing:0}caption,th,td{font-weight:400;text-align:left}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}a img{border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}embed,iframe,object{max-width:100%}
*
{
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box
}

/* BASIC WEBSITE ELEMENT STYLES */
body,input,textarea
{
	color:#565656;
	font:22px 'Lora',sans-serif;
	line-height:1.4;
	word-wrap:break-word
}

body
{
	background:#fff;
}

.wrapper
{
	max-width:100%;
	margin:0 auto;
	background-color:#fff;
}

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

h1,h2,h3,h4,h5,h6
{
	font-weight:400;
	font-family:'Marcellus SC', sans-serif;
	line-height:1;
	width: 100%;
}

h1
{
	font-size:2.5em;
	margin-bottom:.5em;
}

h2
{
	font-size:2em;
	margin-bottom:.5em;
	color:#3ca298;
}

h3
{
	font-size:1.25;
}

h4
{
	font-size:1em;
	text-transform:uppercase;
}

hr
{
    height: 2px;
	border-style: none;
    margin: 2em 0;
    background: #259d77;
    background: #2d9c93; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #9ed187 0%, #0098be 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #9ed187 0%,#0098be 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #9ed187 0%,#0098be 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d9c93', endColorstr='#0098be',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    display: block;
    width: 100%;
}

p
{
	margin-bottom:1.2em;
	max-width:40em;
}

strong
{
	font-weight:700
}

cite,em,i
{
	font-style:italic
}

blockquote
{
	font-style:italic;
	font-weight:400;
	padding:1.2em;
	border-left:4px solid #eaeaea;
	margin-bottom:1.8em;
	background-color:#F9F9F9
}

blockquote p
{
	margin:0
}

blockquote em,blockquote i,blockquote cite
{
	font-style:normal
}

blockquote cite
{
	color:#666;
	font-weight:300;
	letter-spacing:.05em;
	text-transform:uppercase
}

input,textarea
{
	-webkit-border-radius:0
}

input[type="text"],input[type="email"],input[type="search"],input[type="password"],textarea
{
	-moz-appearance:none!important;
	-webkit-appearance:none!important;
	appearance:none!important
}

input[type="text"],input[type="email"],input[type="password"],textarea
{
	padding:.5em;
	border:1px solid #51a5b3;
	line-height:1;
	width:100%;
	margin:0 0 30px;
	background-color:#f5f5f5;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0
}

input[type="text"]:focus,input[type="email"]:focus,input[type="search"]:focus,input[type="password"]:focus,textarea:focus
{	border:1px solid #2c9f81;

}

input.s
{
	background:url(images/search.png) no-repeat right 6px #fff;
	-webkit-transition-duration:400ms;
	-webkit-transition-property:width,background;
	-webkit-transition-timing-function:ease;
	-moz-transition-duration:400ms;
	-moz-transition-property:width,background;
	-moz-transition-timing-function:ease;
	-o-transition-duration:400ms;
	-o-transition-property:width,background;
	-o-transition-timing-function:ease;
	width:0;
	padding:3px 33px 3px 0;
	height:22px;
	color:#bbb;
	font-style:italic;
	margin:0;
	border-color:transparent;
	cursor:pointer;
	text-indent:25px
}

input.s:focus
{
	width:100px;
	padding-left:10px;
	border-color:#eaeaea;
	text-indent:0
}

input[type="reset"],input[type="button"],input[type="submit"]
{
	border:none;
	color:#fff;
	display:inline-block;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
	margin-bottom:1.2em;
	padding:1em 3em;;
	-moz-appearance:none!important;
	-webkit-appearance:none!important;
	appearance:none!important;
	cursor:pointer;
	background:#51a5b3;
}
input[type="reset"]:hover ,input[type="button"]:hover ,input[type="submit"]:hover {
	background:#2c9f81
}
a
{
	color:#686868;
	text-decoration:none
}

a:focus,a:active,a:hover
{
	text-decoration:none;
	color:#0fb6de;
}

img
{
	max-width:100%;
	height:auto;
	vertical-align:top
}

.entry-content ul
{
	list-style-type:disc
}

.entry-content ul,.entry-content ol
{
	margin:0 0 20px 30px
}

.entry-content ol
{
	list-style-type:decimal
}

.entry-content ol ol
{
	list-style:upper-alpha
}

.entry-content ol ol ol
{
	list-style:lower-roman
}

.entry-content ol ol ol ol
{
	list-style:lower-alpha
}

.entry-content ul ul,.entry-content ol ol,.entry-content ul ol,.entry-content ol ul
{
	margin-bottom:0
}

.entry-content
{
	display:block;
	overflow:hidden
}

.entry-content table,.comment-content table
{
	border-bottom:1px solid #ddd;
	margin:0 0 1.625em;
	width:100%
}

.entry-content td,.comment-content td
{
	border-top:1px solid #ddd;
	padding:6px 10px 6px 0
}

/* NAVIGATION */
.menu {
	display:flex;
	padding:0 2em;
	justify-content:space-between;
	align-items:center;
}
.menu li {
	display:inline-block;
	margin-left:4em;
}
.logo {
	width:425px;
}
nav a {
	font-size:1.5em;
}
#burger
{
	display:none;
	width:60px;
	height:45px;
	position:absolute;
	left:2em;
	top:1.75em;
	margin:auto;
	-webkit-transform:rotate(0deg);
	-moz-transform:rotate(0deg);
	-o-transform:rotate(0deg);
	transform:rotate(0deg);
	-webkit-transition:all 250ms;
	-moz-transition:all 250ms;
	-o-transition:all 250ms;
	transition:all 250ms;
	cursor:pointer;
	z-index:101;
}
#burger::after {
	content:"Menu";
	color: #000;
	font-weight:300;
	font-size:.8em;
	position: absolute;
	bottom: -50%;
	font-style:italic;
	text-align: center;
	left: 0;
	width: 100%;
}
#burger span
{
	display:block;
	position:absolute;
	height:7px;
	width:100%;
	background:#4a6491;
	opacity:1;
	left:0;
	-webkit-transform:rotate(0deg);
	-moz-transform:rotate(0deg);
	-o-transform:rotate(0deg);
	transform:rotate(0deg);
	-webkit-transition:.25s ease-in-out;
	-moz-transition:.25s ease-in-out;
	-o-transition:.25s ease-in-out;
	transition:.25s ease-in-out
}

#burger span:nth-child(1)
{
	top:0;
	-webkit-transform-origin:left center;
	-moz-transform-origin:left center;
	-o-transform-origin:left center;
	transform-origin:left center
}

#burger span:nth-child(2)
{
	top:15px;
	-webkit-transform-origin:left center;
	-moz-transform-origin:left center;
	-o-transform-origin:left center;
	transform-origin:left center
}

#burger span:nth-child(3)
{
	top:30px;
	-webkit-transform-origin:left center;
	-moz-transform-origin:left center;
	-o-transform-origin:left center;
	transform-origin:left center
}

#burger.open
{
	position:fixed
}
#burger.open::after {
	opacity:0;
}

#burger.open span:nth-child(1)
{
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	transform:rotate(45deg);
	top:-3px;
	left:8px;
}

#burger.open span:nth-child(2)
{
	width:0;
	opacity:0
}

#burger.open span:nth-child(3)
{
	-webkit-transform:rotate(-45deg);
	-moz-transform:rotate(-45deg);
	-o-transform:rotate(-45deg);
	transform:rotate(-45deg);
	top:39px;
	left:8px;
}

/* STANDARD PAGE TEMPLATE */
section {
	display: flex;
    align-items: flex-start;
    justify-content: space-between;
	flex-wrap:wrap;
    width: 100%;
	overflow: hidden;
	position:relative;
}
.half {
	width:50%;
	padding:2em;
}
.oneThird {
	max-width:33.33%;
	min-width:650px;
	padding: 2em;
	position:relative;
	z-index:2;
}
.twoThirds {
	max-width:66.67%;
	z-index:2;
}
.column {
	display:block;
	width:100%;
	max-width:800px;
	margin:0 auto;
	position:relative;
	z-index:2;
}
.dark {
	color:#fff;
}
.dark a,
.dark .half a {
	color:#fff;
	font-style:italic;
	font-weight:bold;
	text-decoration:underline;
}
.dark a:hover,
.dark .half a:hover {
	color:#e8e9f1;
}
.headline {
	text-align:center;
	padding:2em;
	background: #51a5b3;
	background: -moz-linear-gradient(-45deg, #51a5b3 0%, #2c9f81 100%);
	background: -webkit-linear-gradient(-45deg, #51a5b3 0%,#2c9f81 100%);
	background: linear-gradient(135deg, #51a5b3 0%,#2c9f81 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#51a5b3', endColorstr='#2c9f81',GradientType=1 );
}
.headline img {
	position:absolute;
	top:0;
	right:0;
	max-width:40%;
}
.pageTitle {
	margin:0;
	width:100%;
	font-size:3em;
}
.textColumn {
	width:100%;
	max-width: 880px;
    margin: 0 auto;
    flex-wrap: wrap;
	padding:2em 2em .8em;
}
.textColumn a {
	color:#419481;
	font-weight:700;
	font-style:italic;
	text-decoration:underline;
}
.textColumn a:hover {
	color:#0fb6de;
}
.textColumn li {
	margin-bottom:1.2em;
}
.leftWave {
	position:absolute;
	top:0;
	left:0;
	max-width:200px;
}
.rightWave {
	position: absolute;
    bottom: 10%;
    right: 0;
    max-width: 130px;
}
.wp-caption {
	position:relative;
	margin-bottom:1.2em;
	max-width:100%;
}
.wp-caption-text {
    position: absolute;
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 1em 4em;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-bottom: 0;
    font-size: 80%;
    text-align: center;
	max-width:100%;
}
.twoColumn {
	width:100%;
	padding:0 2em;
}
.divider {
	width:100%;
	height:2px;
	background: #2d9c93; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #9ed187 0%, #0098be 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #9ed187 0%,#0098be 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #9ed187 0%,#0098be 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d9c93', endColorstr='#0098be',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}
.half {
	width:50%;
	padding:2em 0;
}
.half a {
	color:#3ca298;
	font-weight:700;
	font-style:italic;
	text-decoration:underline;
}
.half a:hover {
	color:#0fb6de
}
.pie {
	justify-content:center;
}
.chartContent {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	font-size:80%;
}
.legend {
	width:50%;
}
.chartContent img {
	width:50%;
	max-width:200px;
	margin-bottom:.5em;
}
.color {
	display: inline-block;
	width:8px;
	height:8px;
	border-radius:100%;
}
.leaders {
	margin-top: .5em;
}
.leaderItem {
	font-size:80%;
	max-width:550px;
	display:flex;
	justify-content:space-between;
	overflow:hidden;
}
total .leaderItem:last-of-type {
	font-style:italic;
	font-weight:700;
	color:#419481;
}
.leaderItem span {
	background:#fff;
	position:relative;
}
.leaderItem span:nth-of-type(1) {
	z-index:2;
	font-style:italic;
	padding-right:5px;
}
.leaderItem span:nth-of-type(2) {
	width:120px;
	z-index:1;
	text-align: right;
}
.leaderItem span:nth-of-type(2)::before {
	content:". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";
	position:absolute;
	bottom:8px;
	right:100%;
	width:800px;
	max-height:1em;
	overflow:hidden;
	font-weight:700;
}
.chartText {
	margin-top:.5em;
	font-size:80%;
}

/* CONTACT FORM STYLES */
.nf-form-cont {
	width:100%;
}
.ninja-forms-req-symbol {
	display:none;
}
body .label-above .nf-field-label {
    margin-bottom: 0;
    font-style: italic;
}

/* HOME PAGE STYLES */
#hero {
	background: #2d9c93; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #2d9c93 0%, #0098be 50%, #0098be 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #2d9c93 0%,#0098be 50%,#0098be 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #2d9c93 0%,#0098be 50%,#0098be 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d9c93', endColorstr='#0098be',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.heroWave {
	position:absolute;
	bottom:-2px;
	left:0;
	width:33%;
}
#hero .oneThird{
	min-height:75vh;
}
#hero .twoThirds {
	position: absolute;
    top: 0;
    right: 0;
    width: 66.67%;
    height: 100%;
    max-width: calc( 100% - 650px );
}
.goals {
	padding:2em;
}
.goals a {
    color: #3ca298;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
}
.goalsWave {
	position: absolute;
    right: 0;
    bottom: -25%;
    height: 250%;
	z-index:1;
}
.apply {
	background: #6dbf78; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #6dbf78 0%, #38bf95 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #6dbf78 0%,#38bf95 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #6dbf78 0%,#38bf95 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6dbf78', endColorstr='#38bf95',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.applyWave {
	position: absolute;
    width: 50%;
	top:0;
	left:0;
}
.apply .half {
	padding:2em;
}
.colorful {
	padding:2em;
	width:100%;
	background: #259d77;
	background: -moz-linear-gradient(-45deg, #259d77 0%, #59a8be 100%);
	background: -webkit-linear-gradient(-45deg, #259d77 0%,#59a8be 100%);
	background: linear-gradient(135deg, #259d77 0%,#59a8be 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#259d77', endColorstr='#59a8be',GradientType=1 );
}
.colorContent {
	width:50%;
}
.colorful .wave {
	position: absolute;
    top: 0;
    right: 0;
    width: 45%;
}

/* GRANT REPORT TEMPLATE STYLES */
.grantSection {
	padding:2em 2em 0;
}
.grantSection .title {
	padding:12em 1em 0;
	position:relative;
	width:100%;
	min-height:30vh;
	margin:0 0 1.2em;
}
.grantSection h1 {
	color:#fff;
	position:relative;
	z-index:2;
}
.gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: -moz-linear-gradient(90deg, rgba(77,165,174,1) 0%, rgba(77,165,174,0) 90%);
    background: -webkit-linear-gradient(90deg, rgba(77,165,174,1) 0%,rgba(77,165,174,0) 90%);
    background: linear-gradient(90deg, rgba(77,165,174,1) 0%,rgba(77,165,174,0) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4da5ae', endColorstr='#004da5ae',GradientType=1 );
}
.grantSection ul {
	list-style-type:none;
	margin: 0 1em 1em;
}
.grantSection li {
	margin-bottom: 1em;
    line-height: 1.1;
}

/* FOOTER STYLES */
footer {
	text-align:center;
	padding:0 .25em;
	background:#f5f5f5;
	border-top:6px solid #8dce8f;
}
footer img {
	max-width:250px;
}

/* EASING */
a,
input {
	transition:.2s all;
}

@media only screen and (max-width: 1650px) {
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.5em;
	}
	h3 {
		font-size: 1em;
	}
	nav a {
		font-size:1.25em;
	}
}
@media only screen and (max-width: 1550px) {
	.oneThird {
		min-width:550px;
	}
	#hero .twoThirds {
		max-width: calc( 100% - 550px );
	}
}
@media only screen and (max-width: 1361px) {
	nav a {
		font-size:1em;
	}
	.leftWave {
		position:absolute;
		top:0;
		left:0;
		max-width:150px;
	}
	.rightWave {
		position: absolute;
		bottom: 10%;
		right: 0;
		max-width: 100px;
	}
	.column {
		margin:0;
	}
}
@media only screen and (max-width: 1267px) {
	.menu li {
		margin-left: 2em;
	}
	.logo {
		width:275px;
		max-width:275px;
	}
}

@media only screen and (max-width: 1160px) {
	.oneThird,
	.half,
	.colorContent {
		max-width: 100%;
		width: 100%;
		min-width:0;
	}
	.colorful .wave {
		width:100%;
		opacity:.2;
	}
	.half {
		padding:1em 0;
	}
	#hero .oneThird {
		min-height:0;
	}
	#hero .twoThirds {
		max-width: 100%;
		width: 100%;
		position: relative;
		height: 80vh;
	}
	.goalsWave,
	.applyWave {
		opacity:.2;
	}
	.heroWave {
		bottom: auto;
		top: 0;
		left: 0;
		width: auto;
		height: 50%;
	}
	.apply .half:first-of-type {
		display:none;
	}
	.rightWave,
	.leftWave {
		display:none;
	}
}
@media only screen and (max-width: 880px) {
	body {
		font-size:20px;
	}
	#hero .twoThirds {
		height: 300px;
	}
	.heroWave {
		top:20%;
	}
	.menu {
		padding: 0;
		flex-wrap:wrap;
		justify-content: center;
	}
	.logo {
		width:250px;
		max-width:250px;
		margin:0 1em;
	}
	nav {
		width:100%;
		padding:.5em;
		background:#8dce8f;
		display:flex;
		justify-content: center;
	}
	.menu li {
		display: inline-block;
		margin: 0 .5em;
	}
	.menu a {
		color:#fff;
	}
	.wp-caption-text {
		position:static;
		padding:1em;
		text-align:left;
	}
}
@media only screen and (max-width: 500px) {
	.oneThird,
	.half,
	.goals,
	.apply .half,
	.textColumn,
	.colorful {
		padding:2em 1em .8em;
	}
	.grantSection {
		padding:2em 1em 0;
	}
	.goalsWave{
		opacity:.1;
		height: 150%;
	}
	.menu li {
		font-size: 80%;
	}
	.twoColumn {
		padding: 0;
	}
	.divider {
		display:none;
	}
	.grantSection .title {
		padding: 6em 1em 0;
		min-height:0;
	}
	.grantSection ul {
		list-style-type: none;
		margin: 0 ;
		font-size:80%;
	}
	.grantSection li {
		margin-bottom: 1em;
	}
	.gradient {
		width:100%;
		background: -moz-linear-gradient(0deg, rgba(77,165,174,1) 0%, rgba(77,165,174,0) 90%);
		background: -webkit-linear-gradient(0deg, rgba(77,165,174,1) 0%,rgba(77,165,174,0) 90%);
		background: linear-gradient(0deg, rgba(77,165,174,1) 0%,rgba(77,165,174,0) 90%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4da5ae', endColorstr='#004da5ae',GradientType=1 );
	}
}