/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and staff.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   OPTIMUS CUSTOM STYLES
   ========================================================================== */

*, *:before, *:after
{
	-webkit-font-smoothing: antialiased;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
}

:focus
{
	outline: 0;
}

html
{
	overflow-y: scroll;
}

body
{
	background-color: #8e8e8e;
	margin: 0;
	padding: 0;
	color: #474742;
	font-family: "PT Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.375em;
}

a
{
	color: #000080;
	text-decoration: none;
	-webkit-transition: color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	-moz-transition: color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	transition: color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}

a:hover
{
}

h1, h2, h3, h4, h5, h6
{
	margin: 0 0 0.5em 0;
	font-family: "Cormorant", serif;
	font-weight: 500;
	line-height: 1em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
{
	color: #474742;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
{
	color: #000080;
}

h1
{
	font-size: 3em;
}

h2
{
	font-size: 2.85em;
}

h3
{
	font-size: 1.75em;
}

h4
{
	font-family: "PT Sans", sans-serif;
	font-size: 1.25em;
	font-weight: 700;
}

h5
{
	font-family: "PT Sans", sans-serif;
	font-size: 1em;
	font-weight: 700;
}

hr
{
	border-top: 1px solid #eeeeee;
	margin: 2em 0;
}

p, .fl-callout-text p
{
	margin: 0 0 1.5em 0 !important;
	padding: 0 !important;
}

ul
{
	margin: 0 0 1em 20px;
	padding: 0;
}

.w
{
	width: 1164px;
	margin: 0 auto;
}

/* --- BREADCRUMB --- */
.breadcrumbs
{
	background-color: #eeeeee;
	padding: 10px 30px;
	font-size: 11px;
	font-weight: 400;
}

/* --- HEADER --- */
header
{
	background-color: #ffffff;
	background-image: url(https://oconnorinstitute.org/wp-content/uploads/bg-header.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 100%;
	height: 147px;
}

header .logo
{
	display: inline-block;
	background-image: url(../img/logo-oconnor-institute-american-democracy.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 100%;
	width: 204px;
	height: 106px;
	margin: 20px 0 0 30px;
}

/* --- NAV --- */
nav.main
{
	background-color: #464742;
	height: 58px;
	color: #ffffff;
	font-family: "Cormorant", serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1em;
}

.scroll nav.main
{
	position: fixed;
	top: 0;
	z-index: 100;
	width: 1164px;
}

nav.main .mobile-menu
{
	display: none;
	height: 58px;
	padding: 16px 20px;
}

nav.main .mobile-menu:before
{
	content: "\f0c9";
	display: inline-block;
	width: 17px;
	margin-right: 10px;
	font-family: "FontAwesome";
}

nav.main.active .mobile-menu:before
{
	content: "\f00d";
}

nav.main a
{
	color: #ffffff;
}

nav.main ul.menu
{
	margin: 0;
	padding: 0 5px;
	list-style: none;
}

nav.main ul.menu>li
{
	display: inline-block;
	position: relative;
	margin: 0 25px;
	padding: 0;
}

nav.main ul.menu>li a
{
	display: block;
	padding: 16px 0;
}

nav.main ul.menu ul.sub-menu
{
	display: none;
	position: absolute;
	left: -20px;
	z-index: 100;
	background-color: #f1f1f1;
	min-width: 300px;
	margin: 0;
	padding: 15px 0;
	font-family: "PT Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1em;
	list-style: none;
}

nav.main ul.menu>li:hover ul.sub-menu
{
	display: block;
}

nav.main ul.menu ul.sub-menu>li
{
	margin: 0;
	padding: 0;
}

nav.main ul.menu ul.sub-menu a
{
	display: block;
	color: #909090;
	padding: 9px 20px;
}

nav.main ul.menu ul.sub-menu a:hover
{
	color: #464642;
}

/* --- FOOTER --- */
.ftr
{
	letter-spacing: 1px;
}

.ftr a
{
	color: #787871;
}

.ftr a:hover
{
	color: #000080;
}

/* --- NEWSLETTER --- */
.newsletter-signup
{
	padding: 0 70px;
}

.newsletter-signup label
{
	display: none;
}

.newsletter-signup .row-1 fieldset
{
	float: left;
	width: 50%;
	margin: 0 0 10px 0;
}

.newsletter-signup .row-1 fieldset:first-child input
{
	border-right: 5px solid #f9f9f9;
}

.newsletter-signup .row-1 fieldset:last-child input
{
	border-left: 5px solid #f9f9f9;
}

.newsletter-signup .row-2 fieldset
{
	float: left;
	width: 70%;
}

.newsletter-signup .row-2 input[type="submit"]
{
	float: right;
	width: 30%;
	height: 40px;
	padding: 9px 10px;
	color: #ffffff;
	font-size: 14px;
}

.mc4wp-response
{
	margin: 1em 0 0 0;
}

.mc4wp-success
{
	color: #00807f;
}

.mc4wp-error
{
	color: #ff0000;
}

/* --- FORMS --- */
fieldset
{
	margin: 0 0 10px 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea
{
	display: inline-block;
	background-color: #ffffff;
	width: 100%;
	height: 40px;
	margin: 0px;
	padding: 13px 10px;
	color: #474742;
	font-family: "PT Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1em;
	border: 1px solid transparent;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	outline: 0;
	-webkit-appearance: none;
	box-shadow: none;
	vertical-align: top;
	-webkit-transition: border 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	-moz-transition: border 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	transition: border 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}

input:focus,
select:focus,
textarea:focus
{
	outline: 0 !important;
}

textarea
{
	height: auto;
	min-height: 200px;
	line-height: 18px;
}

::-webkit-input-placeholder
{
	color: #adada1;
}

:-moz-placeholder
{
	color: #adada1;  
}

::-moz-placeholder
{
	color: #adada1;  
}

:-ms-input-placeholder 
{  
	color: #adada1;  
}

/* --- BB - MISC --- */
.fl-photo-content
{
/*	width: 100%;*/
}

.fl-callout-photo-above-title .fl-photo
{
	margin-bottom: 20px !important;
}

.fl-separator
{
	border-top: 1px solid #eeeeee !important;
}
	
/* --- BB - CONTENT SLIDER  --- */
.fl-content-slider
{
	position: relative;
}

.fl-content-slider-navigation
{
	margin-top: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.fl-node-57911186c8984 .fl-content-slider-navigation
{
	top: 35%;
}

.fl-content-slider-navigation .slider-prev, .fl-content-slider-navigation .slider-next
{
	background-image: url(../img/arw-carousel-left.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 54px;
	height: 54px;
	left: 2%;
}

.fl-content-slider-navigation .slider-next
{
	background-image: url(../img/arw-carousel-right.png);
	left: auto;
	right: 2%;
}

.fl-content-slider-navigation .fl-content-slider-svg-container
{
	display: none;
}

.fl-slide-content
{
	font-family: "Cormorant", serif;
}

.fl-slide-mobile-photo img
{
	width: 100% !important;
}

.fl-module img, .fl-photo-content img
{
/*	width: 100% !important;*/
}

/* --- BB - BUTTONS --- */
.fl-builder-content a.fl-button, .fl-builder-content a.fl-button:visited, input[type="submit"]
{
	background-color: #000080;
	padding: 14px;
	font-family: "PT Sans", sans-serif;
	font-size: 1.125em;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 0;
	-webkit-transition: background-color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	-moz-transition: background-color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
	transition: background-color 200ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}

.fl-builder-content .lrg a.fl-button, .fl-builder-content .lrg a.fl-button:visited
{
	position: relative;
	height: 98px;
	font-size: 1.125em;
	line-height: 1.2em;
	text-transform: none;
}

.fl-builder-content .lrg a.fl-button span, .fl-builder-content .lrg a.fl-button:visited span
{
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	padding: 14px;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.fl-builder-content a.fl-button:hover, .fl-builder-content a.fl-button:visited:hover, input[type="submit"]:hover
{
	background-color: #474742;
}

.fl-builder-content a.fl-button *, .fl-builder-content a.fl-button:visited *
{
	color: #ffffff;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *	`contenteditable` attribute is included anywhere else in the document.
 *	Otherwise it causes space to appear at the top and bottom of elements
 *	that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *	`:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 1.25dppx),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after,
	*:first-letter,
	*:first-line {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
								   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
/*
#menu-item-1825 a {
    background-color: maroon;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
}
*/