/*
Theme Name: PA Dems
Theme URI: 
Description: 
Author: GPSIMPACT
Author URI: http://gpsimpact.com 
Version: 1.0
*/

/*	--- Colors ---

		Dk Blue: #0f2c52
		Md Blue: #1f5ba9
		Lt Blue: #3a74bf
		Yellow:  #f2c413
		Lt Ylw:  #fdd84b

/* ------- Global ------- */

#main {
	padding-top: 80px;
}
@media (min-width: 992px) {
	#main {
		padding-top: 130px;	
	}
	.home #main {
		padding-top: 80px;
	}
}

img {
	max-width: 100%;
}

.section {
	position: relative;
	z-index: 10;
}

/* ------- Typography ------- */

body {
	font: 400 16px/1.5 'Montserrat', sans-serif;
}

h1,
h2,
h3,
.headline,
.btn,
p,
li {
	font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.subheadline,
.text-thin {
	font-family: "ff-good-headline-web-pro-con",sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.btn {
	font-weight: 700;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #1f5ba9;
}

a:hover,
a:focus {
	color: #3a74bf;
}

p {
	margin: 0 0 1.5em;
}

blockquote {
  background: #f9f9f9;
  border-left: 5px solid #999;
  margin: 1.5em 10px;
  padding: 10px 20px;
}

.section-title {
	margin: 0 0 40px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 42px;
	text-align: center;
	color: #0f2c52;
}

.post-meta {
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* ------- Header ------- */

.navbar {
	font-size: 14px;
	text-transform: uppercase;
	border: none;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	border-radius: 0;
}

.primary-menu {
	background: #fff;
	position: relative;
	z-index: 900 !important;
}
@media (min-width: 992px) {
	.primary-menu {
		padding: 10px 0;
	}
}

.primary-menu .container {
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 992px) {
	#header .navbar-nav {
		margin-top: 15px;
	}
}

.navbar-brand {
	text-indent: -99999px;
	background-image: url('assets/img/logo_color_500x100.png');
	background-repeat: no-repeat;
	
	width: 180px;
	height: 50px;
	background-position: 20px 11px;

	 -moz-background-size: 160px 32px;
	 -o-background-size: 160px 32px;
	 -webkit-background-size: 160px 32px;
	background-size: 160px 32px;
}
@media (min-width: 768px){
	.navbar-brand {
		background-position: 10px 11px;
	}
}

@media (min-width: 1199px) {
	.navbar-brand {
	 	width: 225px;
		height: 60px;
		background-position: 0px 8px;
		 -moz-background-size: 225px 45px;
		 -o-background-size: 225px 45px;
		 -webkit-background-size: 225px 45px;
		background-size: 225px 45px;
	}
}

#header .navbar-nav>li>a {
	font-family: "ff-good-headline-web-pro-con",sans-serif;
	font-size: 20px;
	font-weight: 400;

	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
}
@media (min-width: 992px){
	#header .navbar-nav>li>a {
		text-align: left;
	}
}
@media (min-width: 992px){
	#header .navbar-nav>li:not(:last-of-type).highlight {
		margin: 0 5px;
	}
}

#header .navbar-nav>li.highlight>a {
	color: #fff;
	background-color: #0f2c52;
}
@media(min-width: 992px){
	#header .navbar-nav>li.highlight>a {
		border-radius: 20px;
	}
}

#header .navbar-nav>li.highlight>a:hover,
#header .navbar-nav>li.highlight>a:focus {
	background-color: #1f5ba9;
}

#header .navbar-nav>li.contribute>a {
	background-color: #aa0000;
}

#header .navbar-nav>li.contribute>a:hover,
#header .navbar-nav>li.contribute>a:focus {
	background-color: #bb0000;
}
#header .dropdown-menu{
	background-color: #eaeaea;		
}
@media (min-width: 768px){
	#header .dropdown-menu{
		background-color: #0f2c52;
		min-width: 240px;
	}
}

#header .dropdown-menu>li>a {
	color: #1f5ba9;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;

	font-family: "ff-good-headline-web-pro-con",sans-serif;
	font-size: 20px;
	font-weight: 400;
}
@media (min-width: 768px){
	#header .dropdown-menu>li>a {
		color: #fff;
		text-align: left;
	}
}

#header .dropdown-menu>li.open>a {
	background-color: #f2c413;
	color: #0f2c52;
}

#header .dropdown-menu>li>a:hover,
#header .dropdown-menu>li>a:focus,
#header .dropdown-menu>.active>a:focus,
#header .dropdown-menu>.active>a:hover {
	background-color: #1f5ba9;
	color: #fff;
}

.dropdown-menu .dropdown-menu {
	margin: 0;
	padding: 0;
	border: 0;
}
#header .dropdown>.dropdown-menu>.dropdown>.dropdown-menu {
	position: absolute;
	left: 100%;
	top: 0;
	background: #143a6c;
	border-radius: 0;
}

@media (min-width:768px) {
	#header .dropdown>.dropdown-menu>.dropdown>a:after {
		content: ' \203A';
		font-size: 30px;
		line-height: 1;
	}
}

#header .navbar-toggle {
	color: #0f2c52;
	border: none;
	margin: 0;
	padding: 15px 30px;
	font-weight: 700px;
	text-transform: uppercase;
	-moz-transition: all 0.15s ease-in-out;
	-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	border-radius: 0;
}

#header .navbar-toggle:hover,
#header .navbar-toggle:focus {
	background: rgba(5, 0, 30, 0.2);
}

@media (max-width: 991px) {
  #header .navbar-header {
      float: none;
  }
  #header .navbar-toggle {
      display: block;
  }
  #header .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  #header .navbar-collapse.collapse {
      display: none!important;
  }
  #header .navbar-nav {
      float: none!important;
      margin: 7.5px -15px;
  }
  #header .navbar-nav>li {
      float: none;
  }
  #header .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  #header .navbar-text {
      float: none;
      margin: 15px 0;
  }
  /* since 3.1.0 */
  #header .navbar-collapse.collapse.in { 
      display: block!important;
  }
  #header .collapsing {
      overflow: hidden!important;
  }
}

.dropdown-menu>.active>a {
	background-color: transparent;
	color: #1f5ba9;
}

/* ------- Secondary Menu ------- */

#menu-secondary-menu li a {
	color: #fff;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 20px 10px;
}

#action-buttons #menu-secondary-menu li a {
	
}

#menu-secondary-menu li:nth-of-type(1) a {
	background-color: #fdd84b;
}

#menu-secondary-menu li:nth-of-type(2) a {
	background-color: #f2c413;
}

#menu-secondary-menu li:nth-of-type(3) a {
	background-color: #3a74bf;
}

#menu-secondary-menu li:nth-of-type(4) a {
	background-color: #1f5ba9;
}

#menu-secondary-menu li:nth-of-type(1) a:hover,
#menu-secondary-menu li:nth-of-type(1) a:focus {
	background-color: #fce172;
}

#menu-secondary-menu li:nth-of-type(2) a:hover,
#menu-secondary-menu li:nth-of-type(2) a:focus {
	background-color: #fdd84b;
}

#menu-secondary-menu li:nth-of-type(3) a:hover,
#menu-secondary-menu li:nth-of-type(3) a:focus {
	background-color: #5287cc;
}

#menu-secondary-menu li:nth-of-type(4) a:hover,
#menu-secondary-menu li:nth-of-type(4) a:focus {
	background-color: #3a75c2;
}

.action-menu {
	background: transparent !important;
	-webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: top;
  -moz-transform-origin: top;
  -ms-transform-origin: top;
  -o-transform-origin: top;
  transform-origin: top;
}

/* ------- Posts & Pages ------- */

.loop .hentry {
	margin-bottom: 50px;
}

.loop .hentry .post-header {
	clear: both;
	float: none;
	margin-bottom: 10px;
}

.loop .hentry .post-header h2 {
	font-weight: 700;
	margin: 0 0 10px 0;
}

.loop .hentry .post-meta {
	color: #aaa;
}

.loop .hentry .read-more {
	text-transform: uppercase;
	font-weight: 700;
}

.loop .hentry .share-buttons {
	list-style: none;
	margin: 0;
	padding: 0;
}
/*@media (min-width: 768px){
	.loop .hentry .post-header {
		margin-bottom: 15px;
	}
	.loop .hentry .post-meta {
		float: left;
		margin-top: 8px;
	}
	.loop .hentry .share-buttons {
		float: right;
		margin-top: 8px;
	}
}*/

.wp-post-image {
	margin-bottom: 15px;
}

/* Blog Image in Archive View */
#latest-news main.post-excerpt img {
	height: auto;
}

/* Single */
.single .post-header,
.page:not(.page-template-template-posts) .post-header {
	margin-top: 35px;
	margin-bottom: 0;
}

.single .post-header.hero,
.page .post-header.hero {
	margin-top: 0;
	/*margin-bottom: 25px;*/   /* Removed by Craig with party nav negative margin */
}

.post-header h1 {
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 0;
}

.single .post .post-meta {
	color: #aaa;
	font-size: 18px;
	margin: 10px 0 0 0;
}

.single .post .post-meta a {
	color: #aaa;
}

.single .post .share-buttons {
	margin: 10px 0 30px 0;
}

.single .post-footer {
	background-color: #1f5ba9;
	color: #fff;
	position: relative;
	margin-top: 25px;
}

.single .post-footer h3 a {
	color: #fff;
}

.single .post-footer h3 {
	margin-top: 20px;
}
@media(min-width: 992px){
	.single .post-footer h3 {
		margin-top: 45px;
	}
}

.single .post-footer a.view-all {
	background: #3a74bf;
	color: #fff;
	text-align: center;
	width: 100%;
	display: block;
	padding: 65px 0;
	text-transform: uppercase;
		-moz-transition: all 0.15s ease-in-out;
		-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}

.single .post-footer a.view-all:hover,
.single .post-footer a.view-all:focus {
	background: #5287cc;
	color: #fff;
	text-decoration: none;
}

.single .post-footer a.view-all span {
	display: block;
	font-weight: 700;
}

.single .post-footer a.view-all .fa {
	font-size: 48px;
	margin-top: 12px;
}

/* ------- Single Post - Blog Category Template ------- */

.blog .container.top {
	padding-top: 3em;
}

.blog .container.top h1 {
	font-size:30px;
}

.blog .blog-hero img {
	width: 100%;
	display: block;
	margin: 1em auto 5em;
}

.category-blog img {
	height: auto !important;
}



/* ------- Error 404 Pages ------- */

.error404 article {
	padding-top: 3em;
	padding-bottom: 3em;
}



/* ------- Events Pages ------- */

/* Remove published on date from events view*/
article.ai1ec_event header .post-meta {
	display: none;
}



/* ------- Pages ------- */

.page:not(.page-template-template-posts) .hentry {
	padding: 30px 0;
}

.page .hentry.has-post-thumbnail {
	padding-top: 0;
}

.page .hentry.has-post-thumbnail .post-content {
	padding-top: 30px;

}

.candidate-lg .left-panel,
.candidate-lg .right-panel {
	width: 50%;
	float: left;
}

/* ------- FlipClock Landing Page ------- */
.page-template-template-landing-clock h1 {
	font-size: 4em;
	font-weight: 700;
}

.flip-clock-wrapper {
	max-width: 100%;
	margin: 0px auto 100px !important;
	width: 620px !important;
}



/* ------- Template Landing Hero Page ------- */
.page-template-template-landing-hero .page .post-header.hero {
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: overlay;
}

.page-template-template-landing-hero .hero h1 {
	margin-bottom: 1em;
}

.page-template-template-landing-hero .page .hentry {
	padding-bottom: 0 !important;
}

.page-template-template-landing-hero section {
	padding: 3em 0em;
}

.page-template-template-landing-hero h2.container-title {
	 margin-bottom: 1em !important;
	 font-size: 2em !important;
	 text-transform: uppercase !important;
	 font-weight: 700 !important;
     color: #1f4687;
 }

section#commit-to-vote {
	background: #1f4687;
	color: #fff;
	text-align: center;
}

section#commit-to-vote h2.container-title {
	color: #fff !important;
}

form#commit2vote input {
	float:left;
	background: transparent;
	color:#fff;
	padding:0.5em;
	margin-bottom:1em;
	margin-right:1%;
}


form#commit2vote input.field-firstname {
	width:20%;
}

form#commit2vote input.field-email {
	width:35%;
}

form#commit2vote input.field-zip {
	width:20%;
}

form#commit2vote input.field-submit {
	width:20%;
	background: #ffb222 !important;
	margin-right:0% !important;
}

.important-date {
	border: 5px solid #ccc;
	padding: 1em;
	margin-bottom:2em;
}

.important-date.current {
	border: #ff0000 5px solid;
	color: #ff0000;
}

.id-date {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.25em;
	margin-bottom: .5em;
}

.id-title {
	font-weight: 700;
	font-size: 1.25em;
	margin-bottom: .5em;
}

a .resource-box {
	text-decoration: none;
	display: block;
	color: #fff;
}

section#resources-area a .resource-box {
    padding: 2em 1em;
    margin-bottom: 2em;
    height: 300px;
    color: #fff;
	text-align:center;
	background-size:cover;
	background-repeat:no-repeat;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
	background-color: rgba(0, 0, 0, 0.7);
	background-blend-mode: overlay;
}

.resource-box.rb-bring{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-WhatTo.jpg");
}

.resource-box.rb-absentee{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-HBGHRC.jpg");
}

.resource-box.rb-volunteer{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-McG.jpg");
}

.resource-box.rb-report{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-PDPVol.jpg");
}

.resource-box.rb-overseas{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-HRCVote.jpg");
}

.resource-box.rb-donate{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/voteplan-HRCPHL.jpg");
}

.resource-box.rb-shapiro{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/08/Shapiro-Josh.jpg");
}

.resource-box.rb-torsella{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/08/Torsella-Joe-opt.jpg");
}

.resource-box.rb-depasquale{
	background-image: url("http://www.padems.com/wp-content/uploads/2016/10/DePasquale-Eugene2-e1477654770568.jpg");
}

section#resources-area .resource-box i.fa {
	 margin-bottom: .5em !important;
	 color:#fff !important;
 }


p.rb-title {
	font-size: 1.5em;
	margin-bottom: .5em;
}

section#resources-area a {
	text-decoration: none;
}

section#resources-area a .resource-box:hover{
	background-color: #fec530;
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	filter: grayscale(0%);
	background-color: rgba(0, 0, 0, 0.3);
	background-blend-mode: overlay;
}




@media all and (max-width: 991px) {

	section#resources-area .resource-box.vote2016 {
		width:30%;
		margin-right:3%;
		float:left;
	}

}

@media all and (max-width: 767px) {

	form#commit2vote input {
		width: 100% !important;
	}

	form#commit2vote input.field-text {
		margin-right:0 !important;
	}
}

@media all and (max-width: 600px) {

	section#resources-area .resource-box.vote2016 {
		width: 100%;
		margin-right: 0%;
		float: none;
	}
}

/* ------- VotePlan Page ------- */

.page .post-header.hero {
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: overlay;
}

.page:not(.page-template-template-posts) .hentry {
	padding-bottom: 0 !important;
}

section#important-dates,
section#commit-to-vote,
section#resources-area{
	padding: 3em 0em;
}

h2.container-title {
	margin-bottom: 1em !important;
	font-size: 2em !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	color: #1f4687;
}


/* ------- People and Bios Sections ------- */

.peoplenbios .row {
  margin:0 0 1em 0;
}

.peoplenbios .post-content {
	display: block;
	overflow: hidden;
}

.peoplenbios .image-box {
	float: left;
	width: 30%;
	margin: 0em 2em 2em 0em;
}

.peoplenbios .pnb_image_container {
	position: relative;
}

.peoplenbios .pnb_image_container .pnb_image_overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

.peoplenbios img {
    width: 100%;
	height:auto;
}

.peoplenbios .pnb_title_container {
	border-bottom: 1px solid #000;
	float: left;
	width: 65%;
	margin: 0em 0em 1em 0em;
}

.peoplenbios .pnb_title_office {
    font-size: 1.5em;
    font-weight: 600;
	width: 95%;
	float: left;
	margin: 0em 2% 0em 0em;
}

.peoplenbios a.pnb_url {
	float: right;
	width: 3%;
	font-size: 24px;
	margin:0;
}

.peoplenbios .pnb_special_note_ribbon {
    width: 100%;
    background: #1c4489;
    bottom: 0px;
    text-align: center;
    line-height: 1.5em;
    letter-spacing: 1px;
    color: #ffc60b;
    padding: .5em;
}

.peoplenbios .post-content ul {
	width: 65%;
	float: left;
	margin: 0;
	padding-left: 1em;
}

/* People N Bios Section for Cabinet Pages - Turn Red Overlay */

.post-3589 .peoplenbios .pnb_image_overlay {
	background-color: rgba(232, 5, 5, .4);
}


@media(max-width: 700px) {

	.peoplenbios .post-content {
		margin-bottom: 3em;
	}

	.peoplenbios .image-box {
		float: none;
		width: 100%;
		margin: 0em;
	}

	.peoplenbios img {
		width: 100%;
		height:auto;
	}

	.peoplenbios .pnb_title_container {
		margin: 1em 0em 1em 0em;
		width: 100%;
	}

	.peoplenbios .pnb_title_office {
		font-size: 1.5em;
		font-weight: 600;
		float: left;
		width: 88%;
	}

	.peoplenbios a.pnb_url {
		float:right;
		width: 10%;
	}

	.peoplenbios .post-content ul {
		width:100%;
	}
}


/* ------- Candidates Page -------- */




/* ------- Issues Page ------- */

.loop.issues {
	padding: 0 0;
}

.loop .issue {
	padding: 0;
	background-color: #f1f1f1;
	position: relative;
	z-index: 10;
	clear: both;
	float: none;
}

.loop .issue:nth-of-type(even) {
		background-color: #fff;
	}

.loop .issue .text-wrap {
	padding: 60px 30px;
}

@media(min-width: 992px) {
	.loop .issue .img-wrap {
		float: left;
		width: 50%;
		position: relative;
		overflow: hidden;
		background-size: cover;
		background-position: 50%;
		background-repeat: no-repeat;
	}

	.loop .issue .text-wrap {
		width: 50%;
		float: left;
		padding: 60px 30px;
	}

	.loop .issue:nth-of-type(even) .img-wrap{
		float: right;
	}
}

.issue h2 {
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 20px 0;
}

.issue h3 {
	font-family: "ff-good-headline-web-pro-con",sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
	margin: 15px 30px;
	color: #3a74bf;
	-webkit-font-smoothing: antialiased;
}

/*.petition .btn {
	position: absolute;
	bottom: 15px;
	max-width: 330px;
	text-align: center;
}*/

.img-wrap {

}

.issue img {
	width: 100%;
  height: auto;
  	-webkit-transition: all .15s ease-in-out;
  	-ms-transition: all .15s ease-in-out;
  	-moz-transition: all .15s ease-in-out;
  	-o-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
  	-webkit-transform: scale(1);
  	-ms-transform: scale(1);
  	-moz-transform: scale(1);
  	-o-transform: scale(1);
  transform: scale(1);
}

.issue:hover img {
    -o-transform: scale(1.05);
  	-ms-transform: scale(1.05);
  	-moz-transform: scale(1.05);
 		-webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* ------- Take Action Page ------- */

.actions {
	display: block;
	width: 100%;
	text-align: center;
	background: #3a74bf;
	/*margin: -25px 0 0 0;*/  /* Removed by Craig for post-header.hero margin adjustment with party nav menu*/
	padding: 0;
	list-style: none;

}

.actions .action {
	display: inline-block;
	margin: 20px 0;
	width: 100%;
}

@media (min-width: 570px){
	.actions .action {
		width: 25%;
	}
}

@media(min-width: 992px){
	.actions .action {
		width: 16%;
	}
}

.actions .action .icon {
	background-color: #0f2c52;
	color: #fff;
	width: 85px;
	height: 85px;
	display: inline-block;
	border-radius: 50%;
}

.actions .action .text {
	color: #f2c413;
  letter-spacing: 1px;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
}

.actions .action .fa {
	font-size: 36px;
	padding: 25px 0;
	display: block;
	text-align: center;
	transition: all 0.15s ease-in-out;
}

/* ------- Petitions ------- */

.petition {
	text-align: center;
	margin-bottom: 25px;
}

.petition a {
	color: #323232;
	background-color: #f1f1f1;
	display: block;
	width: 100%;
}

.petition a:hover {
	text-decoration: none;
}

.petition .img {
  position: relative;
  overflow: hidden;
}

.petition .text {
	display: block;
	padding: 15px 30px;
}

.petition h3 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.petition h2 {
	font-size: 20px;
}

/* ------- Party Pages ------- */

#party-nav {
	background: #3a74bf;
	z-index: 1;
	margin-bottom:0px;
	/*margin: -25px 0 0 0;*/   /* Removed by Craig with post-header.hero bottom margin */
}

#party-nav .nav>li>a {
	color: #f2c413;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 14px;
}

#party-nav .nav>li>a:hover,
#party-nav .nav>li>a:focus {
	background-color: #5287cc;
}

/* ------- We could be herooooooos! ------- */

.hero {
	background-position: 50% 50%;
	background-color: #0f2c52;
	background-repeat: no-repeat;
		-moz-background-size: cover;
		-o-background-size: cover;
		-webkit-background-size: cover;
	background-size: cover;
	color: #fff;
	padding: 25px 0;
	text-align: center;
	text-transform: uppercase;
	position: relative;
	z-index: 10;
}

@media(min-width: 768px) {
	.hero {
		padding: 150px 0; 
		/*padding: 250px 0;*/
	}
}

.hero h1 {
	margin: 0;
}
@media (min-width: 768px){
	.hero h1 {
		font-size: 56px;
		letter-spacing: 2px;
	}
}

.hero .post-meta {
	margin-top: 15px;
}

/* ------- Home Page: Hero ------- */

.home .hero h1 {
	margin: 0;
	font-size: 36px;
}

.home .hero h2 {
	margin: 20px 0;
}

@media (min-width: 480px) {
	.email-signup .form-group {
		float: left;
		margin-right: 1%;
	}

	.email-signup .form-group.email {
		width: 54%;
	}

	.email-signup .form-group.zip {
		width: 19%;
	}

	.email-signup .btn {
		width: 25%;
	}
}

@media (max-width: 480px) {
	.email-signup .input-lg,
	.email-signup .btn-lg {
		height: 34px;
		font-size: 14px;
    padding: 6px 12px;
	}
}



/* ------- Home Page: Voter Hotline During GOTV ------- */

.voter-hotline h1{
	font-size:350% !important;
}

.voter-hotline h2.subheadline a {
	color:#fff !important;
	font-size:350%!important;
}

.voter-hotline h2.subheadline a[href^="tel:"] {
	color: #fff !important;
	text-decoration: none;
}

/* ------- Home Page: Latest News ------- */

#latest-news {
	padding: 40px 0;
}

#latest-news .section-title {
	color: #3a74bf;
}

.home .loop .post {
	text-align: center;
	background-color: #1f5ba9;
	color: #fff;
	padding: 15px;
	margin-bottom: 0
}

.home .loop .post:nth-of-type(even) {
	background-color: #0f2c52;
}

@media (min-width: 768px) {
	.home .loop .post {
		width: 50%;
		float: left;
		padding: 90px 45px;
	}

	.home .loop .post:nth-child(n+3) {
		width: 33.3334%;
	}

	.home .loop .post:nth-of-type(2) {
		background: #e2e2e2;
		color: #1f5ba9;
	}

	.home .loop .post:nth-of-type(3) {
		background: #e2e2e2;
		color: #1f5ba9;
	}

	.home .loop .post:nth-of-type(4) {
		background: #0f2c52;
	}

	.home .loop .post:nth-of-type(2) a,
	.home .loop .post:nth-of-type(3) a {
		color: #1f5ba9;
	}

	.home .loop .post:nth-of-type(2) a:hover,
	.home .loop .post:nth-of-type(2) a:focus,
	.home .loop .post:nth-of-type(3) a:hover,
	.home .loop .post:nth-of-type(3) a:focus {
		border-color: #1f5ba9;
	}
}

.home .loop .post h3 {
	margin: 0;
	font-size: 21px;
}

.home .loop .post a {
	color: #fff;
	border: 1px solid transparent;
	margin: 15px 0 0 0;
}

.home .loop .post a:hover,
.home .loop .post a:focus {
	text-decoration: none;
	border-color: #fff;
}

/* ------- Home Page: Action Buttons ------- */

#action-buttons {
	background: #0f2c52;
}

#action-buttons li a {
	color: #fff;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 20px 10px;
}

#action-buttons>a {
	width: 100%;
	max-width: 320px;
	display: block;
	margin: 25px auto;
	border: 2px solid #fff;
	color: #fff;
	font-size: 21px;

	padding-top: 12px;
	padding-bottom: 12px;
}

#action-buttons>a:hover,
#action-buttons>a:focus {
	background-color: #fff;
	color: #0f2c52;
}

/* ------- Home Page: Special Election CTA -- */

p.home-special-cta {
	font-size: 16px;
	margin: 25px 24px;
	padding: 12px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	color: white;
	text-align: center;
}

p.home-special-cta a {
	color: #f2c413;
	text-decoration: underline;
}

p.home-special-cta a:hover, p.home-special-cta a:focus, p.home-special-cta a:active {
	color: white;
	text-decoration: underline;
}

.bottom-cta {
    text-align: center;
    padding-top: 48px;
    font-size: 20px;
}

/* ------- Home Page: Latest Petition ------- */

#latest-petition {
	background-color: #3a74bf;
	color: #fff;
	text-align: center;
	position: relative;
	z-index: 10;
}

#latest-petition .bg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
	height: 100%;
	width: 100%;
	background-position: 0% 50%;
	background-repeat: no-repeat;
		-moz-background-size: cover;
		-o-background-size: cover;
		-webkit-background-size: cover;
	background-size: cover;
		-moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
		-o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
 		-webkit-filter: grayscale(100%);
 	filter: gray;
 	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}

#latest-petition h2 {
	margin: 0 0 25px 0;
	text-transform: uppercase;
	font-family: "ff-good-headline-web-pro-con",sans-serif;
	font-size: 36px;
	letter-spacing: 2px;
}

#latest-petition h3 {
	margin: 100px 0 15px 0;
	color: #f2c413;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-size: 24px;
	letter-spacing: 3px;
}

#latest-petition a {
	background-color: #f2c413;
	color: #3a74bf;
	border-radius: 30px;
	font-size: 24px;
	text-transform: uppercase;
	padding: 15px 30px;
	display: block;
	max-width: 350px;
	margin: 0 auto 100px auto;
}

#latest-petition a:hover,
#latest-petition a:focus {
	background-color: #fdd84b;
	color: #3a74bf;
	text-decoration: none;
}

/* ------- Home Page: Our Party ------- */

#our-party {
	background: #f1f1f1 url('assets/img/subtle_dots.png');
	text-align: center;
	padding: 75px 0;
}

#our-party h2 {
	font-family: "ff-good-headline-web-pro-con",sans-serif;
	font-size: 60px;
	margin: 0 0 25px 0;
}

#our-party p {
	color: #888;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 20px;
	margin-bottom: 0;
}

#our-party a {
	background-color: #fff;
	border: 1px solid #f2c413;
	color: #f2c413;
	border-radius: 30px;
	font-size: 24px;
	text-transform: uppercase;
	padding: 15px 30px;
	display: block;
	max-width: 350px;
	margin: 40px auto 0 auto;
}

#our-party a:hover,
#our-party a:focus {
	background-color: #fdd84b;
	color: #fff;
	text-decoration: none;
}

/* ------- Home Page: Latest Tweet & Video ------- */

#latest-tweet {
	background-color: #dfecfc;
	padding: 25px 0;
}

#tweets {
	background-color: #fff;
	text-align: center;
	font-size: 21px;
	letter-spacing: 1px;
	color: #0f2c52;
	text-align: center;
	word-wrap: break-word;
	padding: 25px;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.tweet {
	position: relative;
	z-index: 5;
}

#tweets:before {
	content: '\f099';
	font-family: 'FontAwesome';
	font-size: 250px;
	position: absolute;
	z-index: 2;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #00aced;
	opacity: 0.1;
}

.tweet-time {
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
}

/* ------- Our People / Caucus Page ------- */

ul#caucus_list {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	justify-content: center;
	flex-flow: row wrap;
}

li.caucus_item {
	flex-basis: 50%;
	padding: 10px;
}

a.cd_caucus_page {
	color: #fff;
	background-color: #1F5BA9;
	line-height: 150px;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    text-decoration: none;
}

@media all and (max-width: 767px) {

	ul#caucus_list {
		flex-flow: column nowrap;
	}


}




/* ------- County Party Page ------- */

ul.counties {
	list-style: none;
}
@media(min-width: 480px){
	ul.counties {
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
	  -moz-column-count: 2; /* Firefox */
	  column-count: 2;
	}
}
@media(min-width: 768px){
	ul.counties {
		-webkit-column-count: 3; /* Chrome, Safari, Opera */
	  -moz-column-count: 3; /* Firefox */
	  column-count: 3;
	}
}
ul.counties li {
	padding: 5px 0;
}

.county .post-header.hero h3 {
	font-size: 21px;
	letter-spacing: 3px;
}

.county .box {
	padding: 20px;
	border: 1px solid #dadada;
	text-align: center;
	margin-bottom: 25px;
}

.county .box>.fa:first-of-type {
	font-size: 28px;
	margin: 0 0 20px 0;
	display: block;
}

.dropdown-menu .dropdown-menu {
	position: relative;
}

.single-county-party .post-footer a {
	padding: 15px;
	color: #fff;
	display: block;
}

/* ------- Party Leaders Page ------- */

#elected-officials>li {
	position: relative;
	z-index: 10;
	overflow: hidden;
	margin-bottom: 25px;
	max-width: 350px;
	margin-left: auto;
	margin-right: auto;
}
@media(min-width: 768px){
	#elected-officials>li {
		width: 49%;
		float: left;
		margin-right: 1%;
		max-width: none;
	}
}
@media(min-width: 992px) {
	#elected-officials>li {
		width: 32%;
		float: left;
		margin-right: 1%;
		margin-bottom: 50px;
	}

	/*
	*
	*	Styling when only two electeds on top row
	*

	#elected-officials>li:nth-of-type(1),
	#elected-officials>li:nth-of-type(2) {
		width: 38%;
	}

	#elected-officials>li:nth-of-type(1) {
		margin-right: 2%;
		margin-left: 10%;
	}

	#elected-officials>li:nth-last-of-type(2) {
		clear: both;
	}
	/**! Ends Styling for two electeds on top row*/
}

#elected-officials>li img {
 position: relative;
 top: 0;
 left: 0;
 z-index: 11;
 height: auto;
 width: 100%;
}

#elected-officials>li .info {
	color: #fff;
	width: 100%;
	display: block;
	text-align: center;
	
	position: absolute;
	left: 0;
	bottom: 75px;
	z-index: 25;

	opacity: 1;
	transition: all 0.5s ease-in-out;
}

#elected-officials>li .info h2,
#elected-officials>li .info h3 {
	margin: 10px 0;
	text-transform: uppercase;
}

#elected-officials>li .info h3 {
	font-size: 16px;
	letter-spacing: 4px;
}


#elected-officials>li .nav {
	position: relative;
	z-index: 25;
	background: #fff;
}

#elected-officials>li .nav>li>a {
	font-size: 22px;
}

#elected-officials>li .nav>li>a.btn-default:hover {
	color: #323232;
	background-color: #fdd84b;
}

#elected-officials>li .nav>li>a.btn-facebook:hover {
	color: #fff;
	background-color: #5774b3;
}

#elected-officials>li .nav>li>a.btn-twitter:hover {
	color: #fff;
	background-color: #66adff;
}

@media (min-width: 1px){
	#elected-officials .nav-justified>li {
	  display: table-cell;
	  width: 1%;
	}
}

/* ------- Healthcare Stories Page -------*/

.resource-box.healthcare {
	position: relative;
	height: 300px;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom:3em;
	-webkit-filter: grayscale(0%) !important;
	filter: grayscale(0%) !important;
}

a.before-modal {
	display: block;
	cursor: pointer !important;
}

.resource-box.healthcare p.no-image{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	padding:2em;
	text-align: center;
	color:#fff;

}

.resource-box.healthcare .btn.before-modal {
	width: 100%;
	position: absolute;
	bottom: 0;
	left:0;
	padding: 1.5em;
	background: rgba(0, 0, 0, 0.75);
}

#healthcare-share .btn {
	margin: 1em 0em;
}

section#healthcare-share {
	background: #ccc;
	padding: 5em 2em;
	border-top: 1px solid #b9b8b8;
}



/* ------- Keystone Club Page ------- */


#page-keystone-club .hero {
    width: 100% !important;
    background-size: cover !important;
    padding: 20% !important;
    background-blend-mode: normal;
}


.flex-wrapper  {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	font-weight: bold;
    /*text-align: center;*/
	flex: 1 100%;
    }

	.flex-wrapper:nth-of-type(odd) {
		background: #b3d6dd;
	}

    .kci_row {
		display: flex;
		margin: 0 auto;
		padding: 2em;
		flex-flow:row wrap;
	}



@media all and (min-width: 600px) {
	.kci_row {
		flex-flow: column;
	}

    .keystone_club_item {
        margin: auto;
        text-align: center;
    }

}

@media all and (min-width: 800px) {


	.kci_row {
		flex-flow:row wrap;
	}
	/*
	kci_image
	kci_text_wrapper
	keystone_club_item_title
	keystone_club_item kci_text
	 */

    /* We tell all items to share a row */
    .keystone_club_item {
        flex: 1 auto;
	}

    .kci_image {
        flex:1;
	}

    .kci_text_wrapper {
        flex:2;
		text-align: center;
		margin: auto;
		padding: 2em;
	}

    .kci_left .kci_image {
        order: 1;
    }

    .kci_left .kci_text_wrapper {
		order: 2;
	}

	.kci_right .kci_image {
		order: 2;
	}

	.kci_right .kci_text_wrapper {
		order: 1;
	}

}



/* ------- Sidebar ------- */

#sidebar {
	margin-top: 30px;
	background: #f1f1f1;
	padding: 15px;
}

.widget:not(:last-of-type) {
	margin-bottom: 45px;
}

/* ------- Footer ------- */

#footer {
	text-align: center;
	font-size: 12px;
}

#footer-logo {
	width: 90%;
	max-width: 500px;
	display: block;
	margin: 50px auto;
}

#footer .fa {
	font-size: 32px;
	margin: 0 10px 20px 10px;
}

#disclaimer {
	font-weight: 400;
	line-height: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	width: 90%;
	max-width: 600px;
	margin: 15px auto 25px auto;
	display: block;
	border: 1px solid #000;
	padding: 10px;
}

/* ------- Footer: Signup Form ------- */

#footer-signup {
	background-color: #0f2c52;
	padding: 30px 0 20px 0;
	color: #fff;
}

#footer-signup p {
	text-transform: uppercase;
	font-size: 21px;
	line-height: 1;
	letter-spacing: 2px;
	text-align: center;
	font-weight: 700;
	margin: 0 0 25px 0;
}

#footer-signup p span {
	font-size: 31px;
}

@media (min-width: 768px){
	#footer-signup p {
		margin: 0;
	}

	#footer-signup .form-group {
		float: left;
		margin-right: 1%;
	}

	#footer-signup .form-group.email {
		width: 54%;
	}

	#footer-signup .form-group.zip {
		width: 19%;
	}

	#footer-signup .btn {
		width: 25%;
		border-radius: 50px;
	}
}
/* ------- Forms & Buttons ------- */

.form-control,
.btn {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.help-block {
	color: #fff;
	background: #ba0000;
}

.ccf-theme-default .help-block {
	background-color: transparent;
	color: #777;
}

.ccf-theme-default .form-control {
	border-width: 3px;
	border-color: #000;
}

.btn {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
}

.btn-default {
	background-color: #f2c413;
	border-color: #f2c413;
}

.btn-default:hover,
.btn-default:focus {
	background-color: #fdd84b;
	border-color: #fdd84b;
}

.btn-primary {
	background-color: #1f5ba9;
	border-color: #1f5ba9;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #3a74bf;
	border-color: #3a74bf;
}

.btn-facebook {
  background: #3b5998;
  border-color: #324a80;
  color: #fff!important;
  text-shadow: none;
}

.btn-facebook:hover {
  background: #5774b3;
  border-color: #5774b3;
  color: #fff!important;
  text-shadow: none;
}

.btn-twitter {
  background: #4099FF;
  border-color: #4099FF;
  color: #fff!important;
  text-shadow: none;
}

.btn-twitter:hover {
  background: #66adff;
  border-color: #66adff;
  color: #fff!important;
  text-shadow: none;
}
.btn-email {
	background: #00b388;
	border-color: #00b388;
	color: #fff!important;
	text-shadow: none;
}

.btn-email:hover {
	background: #009470;
	border-color: #009470;
	color: #fff !important;
	text-shadow: none;
}



.ccf-form {
	width: 100%;
	max-width: 600px;
	/*background-color: #fafafa;
	border: 1px solid #dadada;
	padding: 20px;*/
}

.ccf-form .form-title {
	display: none !important;
}

.ccf-submit-button {
	font-size: 18px;
}

/* ------- Misc ------- */

.alignleft,
.alignright,
.aligncenter {
	float: none;
	display: block;
	margin: 10px auto;
	width: auto;
	max-width: 100%;
	height:auto;
}

@media (min-width: 768px){
	.alignright {
		float: right;
		margin: 0 0 10px 10px;
		max-width: 50%;
		height: auto;
	}

	.alignleft {
		float: left;
		margin: 0 10px 10px 0;
		max-width: 50%;
		height: auto;
	}
}

.searchform {
	display: block;
	width: 100%;
	max-width: 400px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .5;
}

.overlay.black {
  background-color: #000; 
}

.gradient {
	/*background-color: #000000;*/
	position: absolute;
	bottom: 0;
	width: 100%;
	display: block;
	z-index: 18;
	height: 50%;	
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.85) 100%);
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0.85) 70%,rgba(0,0,0,0.85) 100%);
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0.85) 70%,rgba(0,0,0,0.85) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d9000000',GradientType=0 );

}

.overlay.blue {
	background-color: #3a74bf;
	opacity: .7;
}

.top {
	position: relative;
	z-index: 25;
}

.social a:before {
	content: none;
}

@media(min-width: 768px){
	.social a {
		font-size: 0px !important;
		padding-bottom: 7px;
		font-weight: 400;
	}

	.social a:before {
		font-family: FontAwesome; 
	  font-size: 20px; 
	  display: inline-block;
	  font-weight: 400;
	  -webkit-font-smoothing: antialiased;
	}

	.facebook a:before {
	  content: '\f09a';
	}

	.twitter a:before {
	  content: '\f099';
	}

	.instagram a:before {
		content: '\f16d';
	}

	.youtube a:before {
	  content: '\f16a';
	}

	.googleplus a:before {
	  content: '\f0d5';
	}

	.link a:before {
	  content: '\f0c1';
	}
}

#party-nav-sticky-wrapper #party-nav {
	z-index: 9999;
}

@media screen and (max-width: 767px) {
	#party-nav-sticky-wrapper #party-nav {
		position: static !important;
	}

	.navbar-fixed-top {
		position: absolute !important;
		overflow: hidden;
	}

}

.votelocal-intro {
	margin-top: 36px;
}

.votelocal-text h2 {
	margin-top: 120px;
}

@media screen and (max-width: 991px) {
	.votelocal-text h2 {
		margin-top: 60px;
	}
}

@media screen and (max-width: 767px) {
	.votelocal-text h2 {
		margin-top: 14px;
		text-align: center;
	}
}

@media print {
	#party-nav-sticky-wrapper, #party-nav {
		display: none;
	}
}

@media all and (max-width: 767px) {

	.page-template-template-landing-clock h1 {
		font-size: 2em;
		font-weight: 700;
	}

	.flip-clock-wrapper {
		zoom: 0.5;
	}
}



/* ------- Admin Bar ------- */

#wpadminbar {
  position: fixed !important;
}

.logged-in .navbar-fixed-top {
  top:45px;
}
@media (min-width: 783px) {
  .logged-in .navbar-fixed-top {
    top:32px;
  }
}