/*!
Theme Name: Save the Sound
Author: Connecticut Fund for the Environment
Description: Custom WordPress template for CFE's Save the Sound website.
Version: 1.0.0
License: (C) 2018 Connecticut Fund for the Environment
License URI: https://wordpress.org/about/gpl/
Text Domain: savethesound
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

savethesound is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/
/*---------------------------------
>>> TABLE OF CONTENTS:
--------------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# STS specific styling
	## Parent widths for content areas
	## Body layout
	## Type styles
	## Header, masthead and footer
	## Custom landing pages and sidebars
	## Call-to-action styles and positions
	## Background treatments
	## Collapse-expand content
	## Third-party form inclusions
---------------------------------*/
/*---------------------------------
# Normalize
---------------------------------*/
html {
	font-family: "museo-sans",Arial,Helvetica,sans-serif;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden],
template {
	display: none;
}
a {
	background-color: transparent;
}
a:active,
a:hover {
	outline: 0;
}
abbr[title] {
	border-bottom: 1px dotted;
}
b,
strong {
	font-weight: bold;
}
dfn {
	font-style: italic;
}
mark {
	background: #ff0;
	color: #000;
}
small {
	font-size: 80%;
}
sub {
	font-size: 0.75em;
	line-height: 0.75em;
	position: relative;
	vertical-align: baseline;
	bottom: -0.25em;
}
sup {
	font-size: 0.4em;
	line-height: 0.7em;
	position: relative;
	vertical-align: text-top;
	top: 0.25em;
}
img {
	border: 0;
}
svg:not(:root) {
	overflow: hidden;
}
figure {
	margin: 1em 40px;
}
hr {
	box-sizing: content-box;
	height: 0;
}
pre {
	overflow: auto;
}
code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1rem;
}
button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}
button {
	overflow: visible;
}
button,
select {
	text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	display: inline-block;
	font-size: 14px;
	line-height: 26px;
	color: #fff;
	overflow: visible;
	text-transform: none;
	cursor: pointer;
	background-color: #0098d8;
	border: 1px solid #0098d8;
	border-radius: 4px;
	padding: 0 24px;
}
button[disabled],
html input[disabled] {
	cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input {
	line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35rem 0.625rem 0.75rem;
}
legend {
	border: 0;
	padding: 0;
}
textarea {
	overflow: auto;
}
optgroup {
	font-weight: bold;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td,
th {
	padding: 6px 8px;
	border: 1px solid #c0c0c0;
}

/*---------------------------------
# Typography
---------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #333;
	font-family: "museo-sans",Arial,Helvetica,sans-serif;
	font-size: 16px;
	line-height: normal;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
h1 {
	font-family: "museo-sans",Arial,Helvetica,sans-serif;
	font-size: 42px;
	font-weight: 100;
	margin: 0;
	color: #003366;
}
h2 {
	font-family: "rift",Arial,Helvetica,sans-serif;
	font-size: 34px;
	font-weight: 400;
	margin: 0;
	color: #003366;
	line-height: 36px;
} /* Heading 1 in page/post content */
h3 {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #003366;
} /* Heading 2 in page/post content */
h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	color: #003366;
} /* Heading 3 in page/post content */
h5 {
	font-family: "rift",Arial,Helvetica,sans-serif;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: #003366;
}
h5:last-child { margin: 0; }
h6 {
	font-family: "museo-sans",Arial,Helvetica,sans-serif;
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 1rem 0;
	color: #003366;
}
h6:last-child { margin: 0; }
p {
	font-size: 16px;
	line-height: 1.5em;
	font-weight: 300;
	margin: 0 0 1em 0;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	font-style: italic;
	margin: 22px 44px;
}
blockquote p {
	font-size: 22px !important;
}
address {
	margin: 0 0 15px;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: normal;
	margin-bottom: 22px;
	max-width: 100%;
	overflow: auto;
	padding: 15px;
}
code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 1rem;
}
abbr, acronym {
	border-bottom: 1px dotted #333;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
big {
	font-size: 22px;
}
footer {
	color: #333;
	font-weight: 100;
	font-size: 10px;
}

@media only screen and (max-width: 979px) { 
	h1 {
		font-size: 36px;
	}
	h2 {
		font-size: 32px;
	}
	h3 {
		font-size: 22px;
	}
	h4 {
		font-size: 16px;
	}
	h5 {
		font-size: 28px;
	}
	h6 {
		font-size: 16px;
	}
}

/*---------------------------------
# Elements
---------------------------------*/
html {
	box-sizing: border-box;
}
*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the
	property for components that leverage other behavior;
	see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}
body {
	background: #fff;
	background-image: url("/wp-content/themes/savethesound/images/wave-background.jpg");
	background-position: top center;
	background-repeat: no-repeat;
}
hr {
	background-color: #00265f;
	border: 0;
	padding: 0;
	margin: 0;
	height: 3px;
}
hr.border-row-heavy {
	height: 1rem;
}
hr.footer-rule {
	background-color: #b3b3b3;
	border: 0;
	padding: 0;
	margin: 0;
	height: 1px;
}
ul, ol {
	padding: 0 0 0 22px;
	margin: 0 0 22px 0;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li {
	font-size: 16px;
	line-height: 1.5em;
	font-weight: 300;
}
li > ul,
li > ol {
	margin: 0;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 18px 18px;
}
img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}
figure {
	margin: 15px 0;
	/* Extra wide images within figure tags
	don't overflow the content area. */
}
table {
	margin: 0 0 15px;
	width: 100%;
}

/*---------------------------------
# Forms
---------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 4px;
	background: #0098d8;
	color: #fff;
	font-size: 14px;
	line-height: 26px;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #fded31;
	color: #00265f;
}
button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	-webkit-appearance:textfield;
	-webkit-box-sizing:content-box;
	color: #333;
	border: 1px solid #333;
	padding: 0 6px;
	font-size: 14px;
	line-height: 26px;
}
input[type="search"] {

}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
}
select {
	border: 1px solid #333;
}
textarea {
	width: 100%;
}

/*---------------------------------
# Navigation
---------------------------------*/
/*---------------------------------
## Links
---------------------------------*/
a, a:visited {
	color: #0098d8;
	text-decoration: none;
}
a:hover, a:focus, a:active {
	text-decoration: underline;
	outline: 0;
}

/*---------------------------------
## Menus
---------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.menu-container {
	margin: 0 auto;
	background-color: transparent;
}
.menu-mobile {
	display: none;
}
.menu-mobile:after {
	content: "\f0c9";
	font-family: "FontAwesome";
	font-size: 36px;
	padding: 0;
	float: right;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-25%);
	transform: translateY(-25%);
	color: #fff;
}
.menu-dropdown-icon:before {
	content: "\f105";
	font-family: "FontAwesome";
	display: none;
	cursor: pointer;
	float: right;
	padding: 15px 30px;
	background: #fff;
	color: #333;
}
.dropdown-active:before {
	content: "\f107";
	font-family: "FontAwesome";
}
.menu > ul {
	margin: 0 auto;
	width: 100%;
	list-style: none;
	padding: 0;
	position: relative;
	/* IF .menu position=relative -> ul = container width,
	ELSE ul = 100% width */
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.menu li {
	font-size: 15px;
}
.menu > ul:before,
.menu > ul:after {
	content: "";
	display: table;
}
.menu > ul:after {
	clear: both;
}
.menu > ul > li {
	float: left;
	padding: 0;
	margin: 0;
}
.menu > ul > li a {
	color: #fff;
	text-decoration: none;
	padding: 10px 18px;
	display: block;
}
.menu a:hover,
.menu a:active,
.menu a:focus {
	color: #0098d8;
}
.menu > ul > li:hover > a {
	background: #fff;
	color: #0098d8;
}
.menu > ul > li > ul {
	display: none;
	width: 100%;
	background: #fff;
	padding: 24px;
	position: absolute;
	z-index: 99;
	left: 0;
	margin: 0;
	list-style: none;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
	content: "";
	display: table;
}
.menu > ul > li > ul:after {
	clear: both;
}
.menu > ul > li > ul > li {
	margin: 0;
	padding-bottom: 0;
	list-style: none;
	width: 25%;
	background: none;
	float: left;
}
.menu > ul > li > ul > li a {
	color: #333;
	padding: 5px 0;
	width: 95%;
	display: block;
	border-bottom: 1px solid #ccc;
}
.menu > ul > li > ul > li > ul {
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
	content: "";
	display: table;
}
.menu > ul > li > ul > li > ul:after {
	clear: both;
}
.menu > ul > li > ul > li > ul > li {
	float: left;
	width: 100%;
	padding: 12px 0 0 0;
	margin: 0;
	font-size: 12px;
}
.menu > ul > li > ul > li > ul > li a {
	border: 0;
}
.menu > ul > li > ul.normal-sub {
	width: 300px;
	left: auto;
	padding: 10px 18px;
}
.menu > ul > li > ul.normal-sub > li {
	width: 100%;
}
.menu > ul > li > ul.normal-sub > li a {
	border: 0;
	padding: 10px 0;
}

/*DESKTOP*/
@media only screen and (min-width: 980px) { 
	.menu > ul > li > ul {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}
	.sub-menu-container {
		width: 980px !important;
		left: -375px !important;
	}
}

/*MOBILE*/
@media only screen and (max-width: 979px) { 
	.menu-container {
		width: 100%;
	}
	.menu {
		width: 100%;
	}
	.menu-mobile {
		display: block;
	}
	.menu-dropdown-icon:before {
		display: block;
		/* submenu dropdown items */
	}
	.menu > ul {
		display: none;
		margin-top: 72px;
	}
	.menu > ul > li {
		width: 100%;
		float: none;
		display: block;
		background-color: #fff;
		border-bottom: 1px solid #ccc;
	}
	.menu > ul > li a {
		padding: 15px;
		width: 100%;
		display: block;
		color: #333;
	}
	.menu > ul > li > ul {
		position: relative;
	}
	.menu > ul > li > ul.normal-sub {
		width: 100%;
	}
	.menu > ul > li > ul > li {
		float: none;
		width: 100%;
		margin-top: 20px;
	}
	.menu > ul > li > ul > li:first-child {
		margin: 0;
	}
	.menu > ul > li > ul > li > ul {
		position: relative;
	}
	.menu > ul > li > ul > li > ul > li {
		float: none;
	}
	.menu .show-on-mobile {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 15px;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*---------------------------------
# Accessibility
---------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce
	broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 10px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*---------------------------------
# Alignments
---------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-top: 24px;
	margin-bottom: 24px;
	margin-right: 24px;
	margin-left: 0;
}
.alignright {
	display: inline;
	float: right;
	margin-top: 24px;
	margin-bottom: 24px;
	margin-right: 0;
	margin-left: 24px;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 24px auto;
}
.alignnone {
	margin: 24px 0;
}
@media screen and (min-width: 980px) {
    .narrow-column .alignright,
    .narrow-column .align-right-wrapper {
		position: absolute;
		margin: 0;
		right: -303px;
	}
	.narrow-column .align-right-wrapper {
		width: 300px;
	}
}
@media screen and (max-width: 979px) {
    .alignleft,
    .alignright,
    .alignnone {
    	float: none;
    	clear: both;
    	display: block;
		margin: 24px auto;
		width: auto;
	}
}


/*---------------------------------
# Clearings
---------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*---------------------------------
# Widgets
---------------------------------*/
.widget {
	margin: 0 0 15px;
	/* Make sure select elements fit in widgets. */
}
.widget select {
	max-width: 100%;
}

/*---------------------------------
# Content
---------------------------------*/
/*---------------------------------
## Posts and pages
---------------------------------*/
.sticky {
	display: block;
}
.hentry {
	margin: 0;
}
.updated:not(.published) {
	display: none;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}
.page-links {
	clear: both;
	margin: 0;
}
.entry-header,
.page-header,
.blog-index-thumbnail {
	margin: 0 0 24px 0;
}
.entry-meta {
	margin: 12px 0 0 0;
}
.staff-name {
	margin-top: .25em;
	margin-bottom: .25em;
}

/*---------------------------------
## Comments
---------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
	display: block;
}

/*---------------------------------
# Infinite scroll
---------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to
re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*---------------------------------
# Media
---------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*---------------------------------
## Captions
---------------------------------*/
.wp-caption {
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: .5rem 0;
}
.wp-caption-text {
	text-align: center;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
}

/*---------------------------------
## Galleries
---------------------------------*/
.gallery { margin-bottom: 15px; }
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }
.gallery-columns-6 .gallery-item { max-width: 16.66%; }
.gallery-columns-7 .gallery-item { max-width: 14.28%; }
.gallery-columns-8 .gallery-item { max-width: 12.5%; }
.gallery-columns-9 .gallery-item { max-width: 11.11%; }
.gallery-caption { display: block; }

/*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
# CFE-STS specific styling

# NOTE: CAROUSEL ELEMENT STYLING DEFINED IN SLICK DIRECTORY
---------------------------------*/

/*---------------------------------
## Parent widths for content areas
---------------------------------*/

header, main, aside, footer {
	max-width: 980px;
	margin: auto;
}

@media screen and (max-width: 979px) {
    header, main, aside, footer {
        width: 100%;
    }
}
.site-main-wide {
	max-width: 100%;
}
/*---------------------------------
## Body layout
---------------------------------*/

.site { position: relative; } 				/* Necessary for bottom gradient */
.row {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
  	flex-wrap: wrap;
}
.row::after {
    content: "";
    clear: both;
}
[class*="col-"] {
    float: left;
    padding: 24px;
    position: relative;
}
.col-1 	{ width: 8.33%; }
.col-2 	{ width: 16.66%; }
.col-3 	{ width: 25%; }
.col-4 	{ width: 33.33%; }
.col-5 	{ width: 41.56%; }
.col-6 	{ width: 50%; }
.col-7 	{ width: 58.33%; }
.col-8 	{ width: 66.66%; }
.col-9 	{ width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.56%; }
.col-12 { width: 100%; }

.col-distribute { margin: 0 auto; }

.col-inner {
	padding: 24px 0;						/* Remove padding for inner columns */
}
.col-inner:first-child {
	margin-left: 24px;						/* Remove left margin for first inner column */
}
.col-inner:last-child {
	margin-right: 24px;						/* Remove right margin for last inner column */
}
.border-col {
	padding-top: 0;
	padding-left: 22px;
	padding-right: 22px;
	border-right: 1px solid #073872;
}
.border-col:last-child {
	border: none;
}

.staff-grid:nth-of-type(4n+1),
.up-4:nth-of-type(4n+1) {
	padding-left: 0;
	padding-right: 18px;
}
.staff-grid:nth-of-type(4n+2),
.up-4:nth-of-type(4n+2) {
	padding-left: 6px;
	padding-right: 12px;
}
.staff-grid:nth-of-type(4n+3),
.up-4:nth-of-type(4n+3) {
	padding-left: 12px;
	padding-right: 6px;
}
.staff-grid:nth-of-type(4n+0),
.up-4:nth-of-type(4n+0) {
	padding-right: 0;
	padding-left: 18px;
}

.project-grid:nth-of-type(3n+1), 
.up-3:nth-of-type(3n+1) {
	padding-left: 0;
	padding-right: 16px;
}
.project-grid:nth-of-type(3n+2),
.up-3:nth-of-type(3n+2) {
	padding-left: 8px;
	padding-right: 8px;
}
.project-grid:nth-of-type(3n+0),
.up-3:nth-of-type(3n+0) {
	padding-right: 0;
	padding-left: 16px;
}

.up-2:nth-of-type(2n+1) {
	padding-left: 0;
	padding-right: 18px;
}
.up-2:nth-of-type(2n+0) {
	padding-right: 0;
	padding-left: 18px;
}

.up-2 img,
.up-3 img,
.up-4 img {
	margin: 0;
}

.pad-bottom 	 { padding-bottom: 24px; }
.pad-bottom-more { padding-bottom: 48px; }
.pad-top 		 { padding-top: 24px; }
.mar-bottom 	 { margin-bottom: 24px; }
.mar-top		 { margin-top: 24px; }
.no-pad-bottom   { padding-bottom: 0; }

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

	.col-1, .col-2, .col-3, .col-4,.col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
		width: 100%;
	}
	[class*="col-"] {
	    padding: 12px 24px;
	}
	.border-col {
		border-right: 0;
		border-bottom: 1px solid #073872;
		margin: 12px 24px;
		padding: 0;
	}
	.col-inner:first-child,
	.col-inner:last-child {
		margin-left: 0;
		margin-right: 0;
	}

	.site-content,
	.wrap {
		margin-left: 24px;
		margin-right: 24px;
	}

	.pad-bottom { padding-bottom: 0; }
	.pad-top { padding-top: 0; }

	.hide-mobile { display: none; }

	.staff-grid:nth-of-type(4n+1),
	.staff-grid:nth-of-type(4n+2),
	.staff-grid:nth-of-type(4n+3),
	.staff-grid:nth-of-type(4n+0),
	.up-4:nth-of-type(4n+1),
	.up-4:nth-of-type(4n+2),
	.up-4:nth-of-type(4n+3),
	.up-4:nth-of-type(4n+0),
	.project-grid:nth-of-type(3n+1),
	.project-grid:nth-of-type(3n+2),
	.project-grid:nth-of-type(3n+0),
	.up-3:nth-of-type(3n+1),
	.up-3:nth-of-type(3n+2),
	.up-3:nth-of-type(3n+0),
	.up-2:nth-of-type(2n+1),
	.up-2:nth-of-type(2n+0) {
		padding: 24px 0;
	}
}

/*---------------------------------
## Type styles
---------------------------------*/

.recent-post-date {
	font-weight: 500;
}

.cat-links,
.tags-links {
	color: #333;
}

@media screen and (max-width: 979px) {
    blockquote {
    	margin: 22px;
    }
}

/*---------------------------------
## Header, masthead and footer
---------------------------------*/

/* * * * HEADER * * * */

.menu,
.menu-toggle,
.site-search div {
	float: right;
}
.main-navigation {
	margin: 24px 0 0 0;
}
.donate-cta,
.member-cta {
	margin-right: 18px;
	min-width: 153px;
	text-align: center;
}
.search-field {
	width: 160px;
	border: 1px solid #fff !important;
	padding: 0;
	margin-right: 4px;
}
.search-submit {
	border-radius: 0;
	padding: 1px 10px;
}
.logo-home-link {
	display: block;
	z-index: 100;
}
button.menu-toggle {
	background: transparent;
	color: #fff;
	padding: 0 18px;
	font-size: 15px;
	line-height: 22px;
}

/* * * * FOOTER * * * */

footer p {
	font-size: 14px;
	color: #333;
}
footer ul {
	padding-left: 0;
}
footer li {
	font-size: 12px;
	line-height: 1.5em;
	list-style-type: none;
}
.social-ic,
.footer-gateway {
	text-align: right;
}
.state-abbr {
	font-size: 15px;
	font-weight: 700;
	padding-right: 6px;
}
.footer-social-icon {
	font-size: 36px;
	margin: 15px 0 0 36px;
}

.site-info a,
.site-info a:visited,
.site-info a:hover,
.site-info a:focus,
.site-info a:active {
	color: #0098d8;
}

footer li:first-child,
footer li:only-child {
	font-weight: 700;
	padding-top: 12px;
	padding-bottom: 12px;
	/*background: yellow;*/
}

@media screen and (min-width: 980px) {
	footer ul:first-child li:first-child {
		padding-top: 0;
		/*border: 1px solid red;*/
	}
	.site-info div {
		padding-left: 12px;
		padding-right: 12px;
	}
	.site-info div:first-of-type {
		padding-left: 24px;
	}
	.site-info div:first-of-type {
		padding-right: 24px;
	}
}

.header-logo,
.footer-logo {
	padding-right: 0;
	z-index: 10001;
}
.header-logo a {
	margin-top: 16px;
}

.menu .search-form {
	margin-top: 24px;
	text-align: center;
}
.menu .search-field {
	width: 60%;
}

@media screen and (min-width: 980px ) {
	.mobile-search {
		display: none;
	}
}

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

	.header-logo { position: absolute; left: 0; width: 300px; }
	.header-logo a { margin-top: 36px; }
	.footer-logo { width: 300px; margin: 24px auto 0; padding: 0; }
	.main-navigation { margin: 72px 0 24px; }
	.site-search .search-form,
	.site-search .member-cta {
		display: none;
	}
	.site-search .donate-cta {
		margin: 0;
		min-width: 0;
		position: absolute;
		right: 24px;
		top: 20px;
	}
	footer ul {
		margin-bottom: 0;
	}
	.social-ic {
		text-align: center;
	}
	.footer-gateway {
		text-align: left;
	}
	.footer-social-icon {
		font-size: 36px;
		margin: 15px;
	}
}
@media screen and (max-width: 500px) {
	header#masthead { min-height: 160px; }
	.menu-mobile:after {
		font-size: 30px;
	}
	.site-search .donate-cta {
		position: absolute;
		top: 110px;
		left: 0;
		right: 0;
		margin-left: 25%;
		margin-right: 25%;
	}
	.header-logo a { margin-top: 16px; }
	.menu > ul {
		margin-top: 120px;
	}
	.main-navigation { margin: 32px 0 24px; }
	.menu .search-field {
		width: 70%;
	}
}

@media screen and (max-width: 374px) {
	header#masthead { min-height: 150px }
	.site-search .donate-cta {
		top: 100px;
	}
	.header-logo { position: absolute; left: 0; width: 250px; height: 98px; }
	.menu-mobile:after {
		font-size: 24px;
	}
}

/*---------------------------------
## Custom landing pages and sidebars
---------------------------------*/

.landing-hero {
	height: 460px;
	margin-top: 24px;
}
.landing-hero h1 {
	text-align: right;
	color: #fff;
	font-size: 50px;
}
.landing-hero p {
	color: #00aaa4;
	font-size: 21px;
	line-height: 1.5em;
	position: absolute;
	bottom: 24px;
	font-weight: 300;
	margin-bottom: 0;
	padding-right: 20px;
}

.latest-posts li:last-child {
	margin-bottom: 1em;				/* Adds margin to last list item to create space in special areas. */
}

.blue-widget h6 {
	color: #fff;
	font-size: 22px;
	font-weight: 100;
}
.blue-widget p {
	color: #fff;
}
.bottom-cta p,
.bottom-cta li,
.bottom-cta-reverse p {
	font-size: 14px;
}

@media screen and (max-width: 979px) {
	.landing-hero {
		height: 380px;
	}
	.landing-hero h1 {
		font-size: 36px;
	}
	.landing-hero p {
		font-size: 16px;
		bottom: 12px;
	}
}

/*---------------------------------
## Call-to-action styles and positions
---------------------------------*/

a.button {
	display: inline-block;
	font-size: 14px;
	line-height: 26px;
	color: #fff;
	overflow: visible;
	text-transform: none;
	cursor: pointer;
	background-color: #0098d8;
	border: 1px solid #0098d8;
	border-radius: 4px;
	padding: 0 1em;
	font-weight: 500;
}
a.button::-moz-focus-inner {
	border: 1px solid #0098d8;
	padding: 0;
}
a.button:hover, a.button:active, a.button:focus
{
	background-color: #fded31;
	border: 1px solid #fded31;
	color: #00265f;
	text-decoration: none;
}

a.button-reverse {
	background-color: #fded31;
	border: 1px solid #fded31;
	color: #00265f;
	text-decoration: none;
}
a.button-reverse:hover, a.button-reverse:active, a.button-reverse:focus
{
	color: #fff;
	background-color: #00265f;
	border: 1px solid #fff;
}

.cta-container {
	background-color: red;
}

.bottom-cta a.button,
.bottom-cta-reverse a.button-reverse
 {
	position: absolute;
	bottom: 0;
}
.bottom-cta-reverse a.button-reverse {
	bottom: 24px;
}
.bottom-cta-reverse {
	padding-bottom: 48px;
}
.footer-toggle {
	padding: 0 0.5rem;
}

@media screen and (max-width: 979px) {
	/* RESET */
	.bottom-cta a.button,
	.bottom-cta-reverse a.button-reverse {
		position: relative;
		bottom: 0;
	}
	.bottom-cta-reverse {
		padding-bottom: 0;
	}
}

/*---------------------------------
## Background treatments
---------------------------------*/

.top-gradient, .bottom-gradient {
	width: 100%;
	position: absolute;
	z-index: -10;
}
.top-gradient {
	height: 340px;
	background: none; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(top,rgba(0,38,95,0),rgba(0,38,95,1)); /*Safari 5.1-6*/
	background: -o-linear-gradient(top,rgba(0,38,95,0),rgba(0,38,95,1)); /*Opera 11.1-12*/
	background: -moz-linear-gradient(top,rgba(0,38,95,0),rgba(0,38,95,1)); /*Fx 3.6-15*/
	background: linear-gradient(to top,rgba(0,38,95,0),rgba(0,38,95,1)); /*Standard*/
	top: 0;
}
.bottom-gradient {
	height: 340px;
	background: none; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(bottom,rgba(0,38,95,0),rgba(0,38,95,0.7),rgba(0,38,95,1)); /*Safari 5.1-6*/
	background: -o-linear-gradient(bottom,rgba(0,38,95,0),rgba(0,38,95,0.7),rgba(0,38,95,1)); /*Opera 11.1-12*/
	background: -moz-linear-gradient(bottom,rgba(0,38,95,0),rgba(0,38,95,0.7),rgba(0,38,95,1)); /*Fx 3.6-15*/
	background: linear-gradient(to bottom,rgba(0,38,95,0),rgba(0,38,95,0.7),rgba(0,38,95,1)); /*Standard*/
	bottom: 0;
}

@media screen and (max-width: 979px) { 
	.bottom-gradient {
		height: 440px;
	}
}

.bg-tr { background: transparent; }
.bg-white { background-color: #fff; }
.bg-gray { background-color: #ededed; }

.bg-blue-thirds div { display: none; } /* Prevents the display of more than three widgets in the sidebar */
.bg-blue-thirds div:nth-child(1) { display: block; background-color: #0098d8; }
.bg-blue-thirds div:nth-child(2) { display: block; background-color: #0079c7; }
.bg-blue-thirds div:nth-child(3) { display: block; background-color: #005bb7; }

.bg-blue-thirds-home div { border-left: 12px solid #fff; border-right: 12px solid #fff;}
.bg-blue-thirds-home div:nth-child(1) { border-left: 0; }
.bg-blue-thirds-home div:nth-child(3) { border-right: 0; }

.bg-blue-quarters div { display: none; padding: 24px 24px 54px; }
.bg-blue-quarters div:nth-child(1) { display: block; background-color: #0098d8; border-right: 12px solid #fff; border-bottom: 12px solid #fff; }
.bg-blue-quarters div:nth-child(2) { display: block; background-color: #0079c7; border-left: 12px solid #fff; border-bottom: 12px solid #fff; }
.bg-blue-quarters div:nth-child(3) { display: block; background-color: #005bb7; border-right: 12px solid #fff; border-top: 12px solid #fff; }
.bg-blue-quarters div:nth-child(4) { display: block; background-color: #073872; border-left: 12px solid #fff; border-top: 12px solid #fff; }

@media screen and (min-width: 768px ) {
	.bg-blue-quarters img { float: right; max-width: 30%; }
	.bg-blue-quarters p { max-width: 66%; }
}
@media screen and (min-width: 980px ) {
	.bg-blue-quarters img { float: right; max-width: 165px; }
	.bg-blue-quarters p { max-width: 238px; }
}

@media screen and (max-width: 979px) {
	.bg-blue-thirds-home div { border-top: 12px solid #fff; border-bottom: 12px solid #fff; border-left: 0; border-right: 0;}
	.bg-blue-thirds-home div:nth-child(1) { border-top: 0; }
	.bg-blue-thirds-home div:nth-child(3) { border-bottom: 0; }

	.bg-blue-quarters div { padding: 24px; }
	.bg-blue-quarters div:nth-child(1) { border-right: 0; border-top: 0; border-bottom: 24px solid #fff; }
	.bg-blue-quarters div:nth-child(2) { border-left: 0; border-top: 0; border-bottom: 24px solid #fff; }
	.bg-blue-quarters div:nth-child(3) { border-right: 0; border-top: 0; border-bottom: 24px solid #fff; }
	.bg-blue-quarters div:nth-child(4) { border-left: 0; border-top: 0; border-bottom: 0; }
}

.landing-hero { background-color: #00265f; position: relative; } /* Landing page */
.site { background-color: rgba(0,38,95,0); } /* Site-wide */

.blog-index-thumbnail {
	background-color: #ededed;
	height: 228px;
}
.blog-index-thumbnail img {
	max-height: 228px;
	width: auto;
	margin: 0 auto;
	display: block;
	vertical-align: middle;
}

/*---------------------------------
## Collapse-expand content
---------------------------------*/

.collapseomatic {
	color: #0098d8;
	text-decoration: none;
	padding: 0;
	margin: 0 0 1em 0;
	display: block;
}
.collapseomatic:hover {
	text-decoration: underline;
}
.colomat-close {
	display: none;
}
.collapseomatic_content {
	margin: 0;
}

.show {
	display: block !important;
}
.hide {
	display: none !important;
}

/*---------------------------------
## Third-party form inclusions
---------------------------------*/

.ngp-form * {
	font-family: "museo-sans",Arial,Helvetica,sans-serif !important;
}
.ngp-form {
	margin: 0 !important;
}
.ngp-form header {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.ngp-form header,
.ngp-form h1,
.ngp-form p {
/*	border: 1px solid red !important;
*/	text-align: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	line-height: normal !important;
}
.at-markup * {
	font-size: 16px !important;
	line-height: 1.5em !important;
	font-weight: 300 !important;
	color: #333 !important;
}
.at-fieldset * {
	font-weight: 300 !important;
}

/*---------------------------------
## Notification bar
---------------------------------*/

#wpfront-notification-bar {
	background: #0098d8 !important;
}

.wpfront-message {
	font-size: 16px !important;
	line-height: normal !important;
	font-weight: 300 !important;
	margin: 12px 0 !important;
	color: #fff !important;
}
.wpfront-close,
.wpfront-button {
	background-color: #fded31 !important;
	background: linear-gradient(#fded31,#fded31) !important;
	border-radius: 4px !important;
	border: 1px solid #fded31 !important;
	color: #00265f !important;
	cursor: pointer !important;
	display: inline-block !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	overflow: visible !important;
	text-decoration: none !important;
	text-transform: none !important;
    box-shadow: none !important;
    margin: 12px !important;
    padding: 0 1em !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
}

.wpfront-close:hover, .wpfront-close:active, .wpfront-close:focus,
.wpfront-button:hover, .wpfront-button:active, .wpfront-button:focus  {
	color: #fff !important;
	background-color: #00265f !important;
	background: linear-gradient(#00265f,#00265f) !important;
	border: 1px solid #fff !important;
}

.wpfront-close {
	margin: 0 !important;
	padding: 0 .5em !important;
	top: 12px !important;
	right: 12px !important;
}

.wpfront-fixed td {
	padding: 0 !important;
}

@media screen and (max-width: 979px) {
	.wpfront-message {
		display: block !important;
		margin: 12px 12px 0 12px !important;
	}
	.wpfront-message:after {
		clear: both;
	}
	.wpfront-fixed td {
		max-width: 50% !important;
	}
}