/*
Theme Name: fmpac
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmpac
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-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;
}

h1 {
	color: #ca1064;
    font-size: 30px;
    line-height: 40px;
    font-weight: 200;
    margin: 0 0 20px;
}

h2 {
	margin: 0 0 10px;
	color: #ca1064;
    font-size: 24px;
    font-weight: 200;
}

h2 a.rsswidget {
	color: #393939;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

.page-id-366 .site-main h2,
.page-id-70 .site-main h2,
.page-id-43 .site-main h2 {
	text-align: center;
}

section.widget_rss h2 {
	margin-bottom: 10px;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -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: 1em;
}

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;
	cursor: pointer;
}

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.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #393939;
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 20px;
	margin-top: 0;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# 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; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	display: block;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 0;
	background: #ca0164;
	color: #ffffff;
	box-shadow:  none;
	font-size: 16px;
	line-height: 24px;
	padding: 5px 12px;
	text-shadow: 0;
	text-transform: lowercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #609C62;
	color: #3b4a26;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #609C62;
	color: #3b4a26;
}

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 {
	color: #393939;
	background: #f5f5f5;
	border: none;
	border-radius: 0;
}

select {
	border: 1px solid #ca0164;
}

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: #111;
}

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"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #ca0164;
}

a:visited {
	color: #ca0164;
}

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

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	background: #609C62;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0 0 0 -20px;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 7px 3px 4px;
	font-size: 18px;
	margin: 0 17px;
	border-bottom: 3px solid transparent;
}

.main-navigation a:hover {
	color: #fff;
	border-bottom: 3px solid #fff;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color: #fff;
	border-bottom: 3px solid #fff;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	color: #fff;
	border-bottom: 3px solid #fff;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 605px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	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;
}

.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: 14px;
	font-size: 0.875rem;
	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-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: 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 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-content {
	max-width: 1350px;
	margin: 0 auto;
	padding: 60px 0;
}

#primary {
	width: 65%;
	margin-right: 5%;
	float: left;
}

aside#secondary {
	width: 30%;
	float: right;
}
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.header-wrap,
.menu-main-menu-container {
	max-width: 1350px;
	margin: 0 auto;
}

.site-branding,
#search-form {
	width: 50%;
	display: inline-block;
	margin-left: -4px;
	vertical-align: top;
}

#search-form {
	text-align: right;
	margin-top: 40px;
}

p.site-title {
	margin-bottom: 35px;
	margin-top: 25px;
}

form.search-form {
	position: relative;
}

input.search-field {
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
	width: 250px;
	padding-right: 32px;
	border-bottom: 1px solid #ca0164;
	background: transparent;
}

input.search-submit {
	background-image: url("/wp-content/themes/fmpac/images/magnifier.png");
	background-color: transparent;
	background-size: 52px 26px;
	background-position: 0 0;
	width: 26px;
	height: 26px;
	display: block;
	padding: 0;
	border-radius: 0;
	color: transparent;
	text-shadow: none;
	position: absolute;
	right: 0;
	top: 0;
}

input.search-submit:hover {
	background-image: url("/wp-content/themes/fmpac/images/magnifier.png");
	background-color: transparent;
	color: transparent;
	background-size: 52px 26px;
	background-position: 26px 0;
	width: 26px;
	height: 26px;
	display: block;
	padding: 0;
	border-radius: 0;
}

/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/
img.rss-widget-icon {
	display: none;
}

section#rss-2 ul {
	padding-left: 0;
	margin-left: 0;
	list-style: none;
}

section#rss-2 li {
	margin-bottom: 10px;
}

ul.twitter-links {
	padding-left: 4px;
	margin-left: 0;
	margin-top: 30px;
}

ul.twitter-links li {
	display: inline-block;
	margin-left: -4px;
	text-align: center;
}

ul.twitter-links li:first-of-type {
	margin-right: 10px;
}

ul.twitter-links a {
	background-color: #ca0164;
    background-image: url("/wp-content/themes/fmpac/images/twitter-bird.png");
    background-position: 10px center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 7px 10px 7px 35px;
    text-decoration: none;
    width: 50%;
}

ul.twitter-links a:hover {
	background-color: #609C62;
	background-image: url("/wp-content/themes/fmpac/images/twitter-bird.png");
	background-repeat: no-repeat;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer.site-footer {
	background: #609C62;
}

.site-footer .site-info {
	max-width: 1350px;
	margin: 0 auto;
	text-align: center;
	padding: 20px 0;
	color: #fff;
	font-size: 12px;
	line-height: 16px;
}

.site-footer .disclaimer {
	max-width: 1350px;
	margin: 0 auto;
	text-align: center;
	padding: 20px 0 0;
	color: #fff;
}

.site-footer .site-info a,
.site-footer .disclaimer a {
	color: #fff;
}

.site-footer .site-info a:hover {
	text-decoration: none;
}

.disclaimer section {
	border: 1px solid #fff;
	padding: 20px 20px 0;
	margin: 0 auto;
    max-width: 800px;
}

/*html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  overflow: scroll;
}

.site {
  display: table;
  height: 100%;
  width: 100%;
}

.site-footer {
  display: table-row;
  height: auto;
}*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

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

.bypostauthor {
	display: block;
}
/*--------------------------------------------------------------
## Home
--------------------------------------------------------------*/
.half-ad {
	width: 47%;
	margin-right: 6%;
	float: left;
	display: block;
}

.half-ad:nth-child(2) {
	margin-right: 0;
}

.third-ad {
	width: 30%;
	margin-right: 5%;
	float: left;
	display: block;
}

.third-ad:nth-child(3) {
	margin-right: 0;
}

ul.half-ad-space,
ul.third-ad-space {
	padding: 0;
	margin: 0;
}

.hero-ad-space img,
.half-ad-space img,
.third-ad-space img {
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
## Press Releases
--------------------------------------------------------------*/

span.press-release-pounds {
	text-align: center;
	display: block;
}

.single-press-releases .press-releases h2 {
	color: #393939;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 0;
}

.post-type-archive-press-releases header.entry-header h2 {
	font-size: 16px;
	line-height: 26px;
	font-weight: normal;
	margin-bottom: 0;
}

.single-press-releases .entry-meta,
.single-press-releases .press-contact {
	width: 50%;
	float: left;
	margin-bottom: 40px;
}

.press-name,
.press-phone,
.press-email {
	display: inline;
}

.about-text {
	margin-top: 20px;
	font-style: italic;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.page .gform_wrapper .gfield_required {
	color: #ca0164;
}

.page .gform_wrapper .top_label .gfield_label {
	line-height: 24px;
	margin: 0;
	text-transform: lowercase;
}

.page .gform_wrapper .gfield_date_day label, 
.page .gform_wrapper .gfield_date_month label, 
.page .gform_wrapper .gfield_date_year label, 
.page .gform_wrapper .gfield_time_ampm label, 
.page .gform_wrapper .gfield_time_hour label, 
.page .gform_wrapper .gfield_time_minute label, 
.page .gform_wrapper .ginput_complex label, 
.page .gform_wrapper .instruction {
    font-size: 14px;
    letter-spacing: 0;
    margin: 0;
    text-transform: lowercase;
}

body.page .gform_wrapper label.gfield_label + div.ginput_container {
    margin-top: 0;
}

.gform_wrapper form li, 
.gform_wrapper li {
	margin-bottom: 20px;
}

.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="email"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="number"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="password"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="tel"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="text"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_left input[type="url"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="email"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="number"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="password"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="tel"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="text"], 
.page .gform_wrapper .gfield_error .ginput_complex .ginput_right input[type="url"], 
.page .gform_wrapper .ginput_complex input[type="email"], 
.page .gform_wrapper .ginput_complex input[type="number"], 
.page .gform_wrapper .ginput_complex input[type="password"], 
.page .gform_wrapper .ginput_complex input[type="tel"], 
.page .gform_wrapper .ginput_complex input[type="text"], 
.page .gform_wrapper .ginput_complex input[type="url"],
.page .gform_wrapper textarea.medium,
.page .gform_wrapper .hidden_label input.large, 
.page .gform_wrapper .hidden_label select.large, 
.page .gform_wrapper .top_label input.large, 
.page .gform_wrapper .top_label select.large {
    width: 99.9%;
}

/*--------------------------------------------------------------
# Candidates
--------------------------------------------------------------*/
ul.postlist {
	padding-left: 4px;
	margin-left: 0;
	list-style: none;
	text-align: center;
}

ul.postlist li {
	display: inline-block;
    margin-left: -4px;
    margin-right: 2%;
    max-width: 150px;
    text-align: center;
    vertical-align: top;
    width: 18.4%;
    line-height: 20px;
}

.president {
	margin-bottom: 30px;
}

ul.postlist li:nth-child(5n+5) {
	margin-right: 0;
}

ul.postlist li a {
	text-decoration: none;
}

ul.postlist li a:hover {
	text-decoration: underline;
}

ul.postlist li img {
	margin-bottom: 10px;
}

span.name {
	display: block;
}

span.district {
	margin-bottom: 40px;
    display: block;
}

.single-candidates .photo {
	display: inline;
    float: left;
    margin-right: 20px;
}

.single-candidates .entry-content ul {
    list-style: outside none circle;
    margin-left: 0;
    padding-left: 15px;
}

ul.endorsements {
	-moz-column-count: 2;
    -moz-column-gap: 20px;
}

.intro .photo {
	margin: 0 20px 20px 0;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.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: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.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;
}

/* 
## Endorsements 
*/
.single-endorsements #primary {
	width: 100%;
}
.single-endorsements .entry-content ul {
	list-style: none;
	padding: 0;
	margin-left: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.single-endorsements .entry-content ul li {
	width: 20%;
	text-align: center;
	margin-bottom: 40px;
}
.single-endorsements .entry-content ul li img {
	max-width: 200px;
}
@media screen and (max-width: 1300px) {
	.single-endorsements .entry-content ul li {
		width: 25%;
	}
}

@media screen and (max-width: 1060px) {
	.single-endorsements .entry-content ul li {
		width: 33.3333%;
	}
}

@media screen and (max-width: 767px) {
	.single-endorsements .entry-content ul li {
		width: 50%;
	}
}
.single-endorsements .entry-content ul li img {
	border-radius: 50%;
	margin: 0 auto;
}

.single-endorsements .entry-content h2 {
	text-align: center;
	margin-bottom: 40px;
}

.main-navigation ul ul.sub-menu {
    background: #609C62;
}
/*--------------------------------------------------------------
## Breakpoints
--------------------------------------------------------------*/

@media (max-width: 1490px) {
	.site-content,
	.header-wrap, 
	.menu-main-menu-container,
	.site-footer .disclaimer,
	.site-footer .site-info {
		margin: 0 70px;
	}
}

@media (max-width: 1270px) {
	#primary {
	    width: 70%;
	}

	aside#secondary {
        width: 25%;
	}

	ul.twitter-links a {
	    display: inline-block;
	    margin-bottom: 20px;
	    padding: 3px 10px 3px 35px;
	    width: auto;
	}
}

@media (max-width: 1035px) {
	.site-content,
	.header-wrap, 
	.menu-main-menu-container,
	.site-footer .disclaimer,
	.site-footer .site-info {
		margin: 0 40px;
	}

	.site-content {
		padding: 40px 0 0;
	}

	p.site-title {
	    margin-bottom: 25px;
	    margin-top: 15px;
	}

	#search-form {
	    margin-top: 35px;
	}

	aside#secondary {
	    width: 27%;
	}

	#primary {
        margin-right: 3%;
	}

	.main-navigation a {
        padding: 5px 3px 2px;
	}

	input.search-submit {
	    background-size: 40px 20px;
	    height: 20px;
	    top: 6px;
	    width: 20px;
	}
}

@media (max-width: 960px) {
	ul.postlist li {
	    margin-right: 4%;
	    width: 22%;
	}

	ul.postlist li:nth-child(5n+5) {
		margin-right: 4%;
	}

	ul.postlist li:nth-child(4n+4) {
    	margin-right: 0;
	}


	h1 {
 	   font-size: 26px;
	    line-height: 36px;
	    margin: 0 0 10px;
	}

	.main-navigation a {
		font-size: 16px;
	}

}

@media (max-width: 905px) {
	#primary {
	    width: 65%;
	}

	aside#secondary {
	    width: 32%;
	}

	.single-press-releases .entry-meta, .single-press-releases .press-contact {
	    float: left;
	    margin-bottom: 20px;
	    width: 100%;
	}
}

@media (max-width: 840px) {
	span.name {
        font-size: 14px;
    	line-height: 17px;
	}

	h1 {
 	   font-size: 22px;
	    line-height: 32px;
	}
}

@media (max-width: 775px) {
	#primary {
	    width: 100%;
	    margin-right: 0;
	}

	aside#secondary {
	    width: 100%;
	}

	input.search-field {
		width: 200px;
	}

    .site-content {
	    padding: 20px 0 0;
	}

	.main-navigation a {
        margin: 0 11px;
	}

	.main-navigation ul {
	    margin: 0 0 0 -14px;
	}
}
@media (max-width: 605px) {
	.site-branding, #search-form {
		width: 100%;
	}

	.site-branding img {
		max-width: 300px;
	}

	#search-form {
	    margin-top: 0;
	}

	.main-navigation {
		background: none;
		float: none;
		width: auto;
	}
	.main-navigation button,
	.main-navigation.toggled button {
	    position: absolute;
	    right: 45px;
	    top: 30px;
	}

	.main-navigation.toggled ul {
		width: 100%;
		background: #ca0164;
		position: absolute;
		top: 60px;
		right: 30px;
		margin-left: 0;
		max-width: 300px;
	}

	.main-navigation.toggled li {
		float: none;
		width: 100%;
	}
	.main-navigation.toggled li a {
		color: #ffffff;
		border-top: 1px solid #ffffff;
		border-bottom: none;
		display: block;
		width: 100%;
		margin: 0;
		padding: 7px 15px;
	}

	.main-navigation.toggled li a:hover {
		border-bottom: none;
		background-color: #609C62;
	}

	p.site-title {
	    margin-bottom: 5px;
	}

	input.search-field {
	    border: none;
	    background: #f8f8f8;
	    padding-left: 5px;
	    border-radius: 0px;
	    padding-top: 4px;
	    padding-bottom: 4px;
	}

	input.search-submit {
		right: 5px;
	}
}

@media (max-width: 580px) {
	ul.postlist li {
	    margin-right: 5%;
	    width: 30%;
	}

	ul.postlist li:nth-child(5n+5),
	ul.postlist li:nth-child(4n+4) {
		margin-right: 5%;
	}

	ul.postlist li:nth-child(3n+3) {
    	margin-right: 0;
	}
}

@media (max-width: 560px) {
	.site-content,
	.header-wrap, 
	.menu-main-menu-container,
	.site-footer .disclaimer,
	.site-footer .site-info {
		margin: 0 20px;
	}

	.gform_wrapper .gform_footer input[type="submit"],
	body div.ginput_complex.ginput_container.gf_name_has_2 span {
	    width: 100%;
	}

	body div.ginput_container_name span {
        padding-right: 0;
	}

	body .gform_wrapper form li, 
	body .gform_wrapper li {
	    margin-bottom: 10px;
	}
	body .gform_wrapper .top_label .gfield_label {
        font-weight: 500;
	}
	.page-id-366 .site-main h2,
	.page-id-70 .site-main h2,
	.page-id-43 .site-main h2 {
		text-align: left;
	}
}

@media (max-width: 410px) {
	.main-navigation button, 
	.main-navigation.toggled button {
	    top: 85px;
	    right: 20px;
	}

	#search-form {
		width: auto;
		float: right;
		margin-right: 80px;
	}

	.main-navigation.toggled ul {
        right: 20px;
	    top: 119px;
	    max-width: 260px;
	}
}

@media (max-width: 380px) {
	ul.postlist li {
	    margin-right: 6%;
	    width: 47%;
	}

	ul.postlist li:nth-child(5n+5),
	ul.postlist li:nth-child(4n+4),
	ul.postlist li:nth-child(3n+3) {
		margin-right: 6%;
	}

	ul.postlist li:nth-child(2n+2) {
    	margin-right: 0;
	}
}

