/*
Theme Name: Moms Clean Air Force
 
Description: A child theme of Infographer Theme
Author: Mike Truese Creations
Author URI: http://www.miketruescreations.com/
Version: 1.0.1
Template: infographer
*/
@import url("../infographer/style.css");


@import url(https://fonts.googleapis.com/css?family=PT+Sans);
 
.mcaf_logo img {
	width: 185px;
}

.selectnav_button span {
    width: 45px;
    height: 21px;
    background-position: left center;
    color: #FFF;
    font-weight: bold;
    padding-left: 30px;
    font-size: 18px;
}

.selectnav_button span:hover {
	text-decoration: underline;
}

.popup-text1 {
	font-family: "PT Sans";
	font-size: 18pt;
	color: #360B01;
}
.popup-count {
	 font-family: "PT Sans";
	font-size: 42pt;
	color: #d22914;
}
.popup-text2 {
	 font-family: "PT Sans";
	font-size: 15pt;
	color: #360B01;
}
p.spu-powered {
	display: none !important;
}

#wpcf7-f50004-o1 {
margin-top: -20px  !important;
}

#wpcf7-f50990-o1 {
margin-top: -20px  !important;
}
 #wmle_container.wmle_container .wmle_item_holder.col3{width:33%}
 
 .wmle_container .wmle_item {
   
    background-color: #fff;
}

.wmle_container .wmle_item .wmle_post_excerpt p {
    margin: 10px 10px !important;
}
.spu-box {    
    box-shadow: none !important;
    border-radius: 0px !important;
     
}
 
.pop_submit {
    background-color: #FADB06 !important;
    color: #333333  !important;
    height: 46px !important;
	-webkit-box-shadow: 3px 3px 2px 0px rgba(68,68,68,1);
	-moz-box-shadow: 3px 3px 2px 0px rgba(68,68,68,1);
	box-shadow: 3px 3px 2px 0px rgba(68,68,68,1);
	margin-top: -1px !important;
}

.wpcf7-email, input[type="email"] {
	border: 1px solid #DDDDDD !important;
	background-color: #ffffff !important;
	margin: 0px !important;
	height: 46px !important;
	 
}
.spu-box {    
    box-shadow: none !important;
    border-radius: 0px !important;
    padding-bottom: 0px !important;
}

table.popup {
	width: 700px;
	margin-bottom: -4px !important;
}
table.popup td {
	margin: 0px !important;
	padding: 0px !important;
}
table.popup td.pop-message {
	vertical-align: top;
}
 
table.climate-march-callout {
width: 450px;
}

table.climate-march-callout h4{
color: #990000 !important;
} 
.maroon {
color: #990000 !important;
}
table.climate-march-callout td{
	text-align: left;
	font-size: 11pt !important;
	padding-top: 0px !important;
	padding-right: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 0px !important;
} 
  
.home_callout {
background-color: #399379;
 
text-align: center;
padding: 10px;
margin-top: 15px;
margin-left: 3px;
width: 99%;
}
.home_callout P {
color: #fff;
font-size: 17px;
line-height: 120%;
}
 
.textwidget H4 {
color: #a50a1d;
} 
#menu-main li.btn_donate a  {
	text-align: center !important;
	color: #c7d124;
} 

#menu-main li.btn_donate a:hover {
	text-align: center !important;
	color: #360b01;
} 
UL.wpsocialite {
margin-top: 50px !important;
}

.accordion_holder.accordion h4 {
    
    background-color: #399379;
	font-weight: normal !important;
    color: rgb(255, 255, 255);
}

/* 
* new css added after Terran Started working on the site
*/

.postid-44242 .wp-caption { /* override infographer styling on http://www.momscleanairforce.org/before-the-clean-air-act/ */
	width: 500px !important;
	padding: 5px;
	background: #FFF;
	margin-bottom: 20px;
}

.page-template-full_width .bg_pattern {
	margin-top: 20px;
}

/* 
* At homes
*/

.post-type-archive-athome h1, 
.tax-room h1 {
	background: url(images/athome-header-icon.png) no-repeat;
	padding: 45px 0 50px 160px;
	color: #7a9b3d;
	text-transform: uppercase;
	font-size: 50px;
}

.tax-room .title_text {
	width: 100%;
	float: left;
}

.tax-room a.back-link {
	float: right;
	width: 100%;
	text-align: right;
	margin-right: 0.5%;
	font-size: 16px;
}

.post-type-archive-athome p, 
.tax-room p {
	margin-left: 0.5%;
}

.post-type-archive-athome h5.room {
	text-transform: uppercase;
	font-size: 19px;
}

/* 
* Masonry (pinterest style) grid 
*/
.masonry-grid {
	width: 100%;
	display: inline-block;
}
.masonry-grid .grid-item {
	width: 28.5%;
	margin: 0.5%;
	background: #FFF;
	padding: 20px;
}

/* 
* simple links category masonry grid
*/

.page-template-simple-links-category-masonry-grid .intro-content {
	margin: 0 0 20px;
	width: 100%;
	display: inline-block;
}


.page-template-simple-links-category-masonry-grid .intro-content p {
	text-align: center;
	font-size: 18px;
	margin: 0 0 20px;
}

.page-template-simple-links-category-masonry-grid .masonry-grid .grid-item {
	padding: 10px;
	width: 29%;
	margin: 0 1% 2%;
	border: 1px solid #e4e3e4;
}

.page-template-simple-links-category-masonry-grid .masonry-grid .grid-item img {
	width: 100%;
}

.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar .grid-item {
	width: 28%;
}


.page-template-simple-links-category-masonry-grid .title_text h1 {
	text-align: center;
	color: #b6d600;
	font-size: 72px;
	line-height: 1.2
}

.page-template-simple-links-category-masonry-grid .masonry-grid h2 {
	color: #333333;
	font-size: 18px;
	line-height: 1.2;
	font-family: "PT Sans";
	margin: 20px 0 20px;
}

.page-template-simple-links-category-masonry-grid .masonry-grid p.read-more {
	text-align: right;
	margin: 10px 0 0;
}

.page-template-simple-links-category-masonry-grid .masonry-grid p.read-more a {
	color: #b6d600;
	font-weight: bold;
	text-decoration: none;
}

.page-template-simple-links-category-masonry-grid .masonry-grid p.read-more a:hover {
	text-decoration: underline;
}

.page-template-simple-links-category-masonry-grid .masonry-grid h2 a:hover {
	color: #a50a1d;
}

.page-template-simple-links-category-masonry-grid .masonry-grid-pagination-wrap{
	width:68%;
	float:left;
}	

.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar {
	width:100%;
	float:left;
}

.page-template-simple-links-category-masonry-grid .sidebar {
	width: 31%;
	float: right;
	background: #FFF;
	border: 1px solid #e4e3e4;
}

.page-template-simple-links-category-masonry-grid .sidebar h2.widgettitle {
	margin: 20px;
	background: #bbda00;
	color:#281e44;
	font-size: 20px;
	line-height: 1.5;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
}

.page-template-simple-links-category-masonry-grid .sidebar h5 {
	text-transform: uppercase;
}

.page-template-simple-links-category-masonry-grid .sidebar h5,
.page-template-simple-links-category-masonry-grid .sidebar ul,
.page-template-simple-links-category-masonry-grid .sidebar p {
	padding-left: 40px;
}
.page-template-simple-links-category-masonry-grid .sidebar ul li {
	margin: 0;
}

.page-template-simple-links-category-masonry-grid .sidebar a.learn-more {
	background: #bbda00;
	color:#281e44;
	padding: 20px;
	text-align: center;
	font-weight: bold;
	display: block;
	font-size: 14px;
}

.page-template-simple-links-category-masonry-grid .sidebar a.learn-more:hover {
	color: #bbda00;
	background:#281e44;
}

.page-template-simple-links-category-masonry-grid .wpns_wrapper {
	width: 100%;
	float:left;
} 

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* header photos */
.mcaf_header_photos{
	padding-left: 185px;
	height: 185px;
	overflow: hidden;
}


/* fix legends not showing up on graphs in safari for some reason */
.pie_graf_legend ul li .color_holder,
.line_graf_legend ul li .color_holder {
	width: 25px;
	height: 25px;
	background-color: #e91b23;
	float: left;
}

.pie_graf_legend ul li p, .line_graf_legend ul li p {
	padding: 0px 0px 0px 40px;
}

.pie_graf {
	margin: 0px 40px 0px 0px;
	float: left;
}

.pie_graf_legend {
	position: relative;
	float: left;
	width: 40%;
}

/* styling for inline tweets created by shortcode with the inline tweets plugin*/

a.inline-tweet {
	color: #333333;
	text-decoration: none;
	border-bottom: 1px dotted;
}

a.inline-tweet:hover {
	background: #55acee;
	color: #FFF;
	border-bottom: none;
}

a.inline-tweet .tweety-bird {
	text-indent: -9999px;
	background: url(images/tweety-bird.png);
	background-size: 100%;
	display: inline-block;
	width: 17px;
	height: 17px;
}

a.inline-tweet:hover .tweety-bird {
	background-position: 0 118px;
}

/* button styling override*/
.button {
	white-space: normal !important;
}

.button.medium {
	line-height: 24px !important;
	padding: 15px 55px !important;
}

/* search sort*/
.search .title_text {
	display: inline-block;
}

.search form.searchsort{
	float: right;
	margin-top: 10px;
}

.search form.searchsort label {
	font-size: 16px;
	font-weight: bold;
}

.search form.searchsort select {
	outline: none;
    background-color: #ffffff;
    color: #4f4f4f;
    padding: 10px 10px;
    border: 1px solid #c7c7c7;
    font-size: 16px;
    padding:0;
}

/* /clean-air-force/ page and numbered blocks and /baby-power/ page action blocks */
.block {
	border: 1px solid #b8bebc;
	padding: 2% 2% 54px;
	margin: 1%;
	position: relative;
	background: #fff;
}

.block.action-block {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	border: none;
}

.block.one-third {
	width: 27%;
	float: left;
	height: 300px;
	overflow: hidden;
}

.block.action-block.one-third {
	width: 30.2%;
	margin:1.5%;
	height: 450px;
}

.action-block p,
.page-template.baby-power .action-block p {
	color: #fff;
	font-size: 13pt;
	text-align: center;
	padding: 0 50px;
	margin-left: 0;
	margin-right: 0;
	line-height: 22px;
	padding-top: 0;
	padding-bottom: 0;
}

.block h3 {
	text-transform: uppercase;
	text-align: center;
}

.action-block h3,
.page-template.baby-power .action-block h3 {
	padding-left: 20px;
    padding-right: 20px;
    color: #12314f;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
}

.block img{
	width: 100%;
}

.block .number {
	color:#fff;
	padding:14px;
	bottom: 0;
	position: absolute;
	background-color: #b6d600;
	left:0;
	right: 0;
	width: 24px;
	font-size: 24px;
	text-align: center;
	margin: 0 auto;
}

.action-block a.button {
	background-color: rgba(0,0,0,0.15);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 13pt;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 113px;
    padding: 16px 5px;
}

.action-block a.button:hover {
	text-decoration: underline;
}

.page-template.clean-air-force h1 { 
	text-align: center;
    color: #3c4b68;
    font-size: 72px;
    line-height: 1.2;
}

.page-template.clean-air-force h2 { 
	text-align: center;
}

.page-template.baby-power .title_text h1 {
    text-align: center;
    color: #b6d600;
    font-size: 110px;
    line-height: 1.2;
    text-transform: lowercase;
    text-indent: -9999px;
    background: url(images/baby-power-title.png) no-repeat;
    background-position: center center;
}

.page-template.baby-power .bg_pattern {
	padding: 40px;
	margin-top: 0;
}

.page-template.baby-power h3 {
	text-align: center;
	text-transform: uppercase;
	color: #66a0b5;
	font-size: 24px;
	letter-spacing: 1px;
	font-family: 'PT Sans', sans-serif;
}

.page-template.baby-power h2 {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.page-template.baby-power p {
	text-align: center;
	font-size: 20px;
	margin-left: 1%;
	margin-right: 1%;
	line-height: 1.8;
	padding-top: 20px;
	padding-bottom: 30px;
}

h2.chalk-bg {
	background: url(images/chalk-bg.png) no-repeat;
    color: #fff;
    padding: 14px 45px;
    letter-spacing: 2px;
    background-position: center center;
    background-size: 100% 100%;
    line-height: 1;
    margin: 0;
    font-size: 32px;
    height: 42px;
    display: table;
    clear: both;
    margin: 0 auto 30px;
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
}

.social-icons {
	max-width: 200px;
	margin: 13px auto 0;
}

/* Generated by http://css.spritegen.com CSS Sprite Generator */
.social-icons .facebook, 
.social-icons .google, 
.social-icons .instagram, 
.social-icons .linkedin, 
.social-icons .pinterest, 
.social-icons .twitter { 
	display: inline-block; 
	background: url(images/social-icons.png) no-repeat; 
	overflow: hidden; 
	text-indent: -9999px; 
	text-align: left; 
	width: 26%; 
	padding-bottom: 26%;
	height: 0;
	margin: 3%;
	background-size: 200%;
}

 
.social-icons .facebook { background-position: 0 0%; }
.social-icons .google { background-position: 100% 0; }
.social-icons .instagram { background-position: 0 50%; }
.social-icons .linkedin { background-position: 100% 50%; }
.social-icons .pinterest { background-position: 0 100%; }
.social-icons .twitter { background-position: 100% 100%; }

.social-icons a:hover {
	opacity: 0.9;
}

.translate-widget {
	display: inline-block;
	width: 100%;
}

.translate-widget .translate-prompt {
	color:#FFF;
	font-weight: bold;
	float: left;
	font-size: 16px;
}

.translate-widget .goog-te-gadget {
	float: right;
}


@media only screen and (max-width: 1024px) and (min-width: 768px) {
	

	.masonry-grid .grid-item {
		width: 43%;
	}

	.post-type-archive-athome h1, 
	.tax-room h1 {
		padding: 20px 0 30px 120px;
		background-size: 100px;
	}	

	.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar {
		width: 58%;
	}
	.page-template-simple-links-category-masonry-grid .sidebar {
		width: 40%;
	}	

	.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar .grid-item {
		width: 42%;
	}
	.page-template-simple-links-category-masonry-grid .masonry-grid .grid-item {
		width: 44%;
	}	

	.block.one-third {
		width: 43.5%;
	}

	.block.action-block.one-third {
		width: 47%
	}
}

@media only screen and (max-width: 800px) and (min-width: 0px){
	.masonry-grid .grid-item {
		width: 92%;
	}

	.post-type-archive-athome h1, 
	.tax-room h1 {
		padding: 15px 0 15px 95px;
		background-size: 80px;
		font-size: 40px;
	}

	.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar, 
	.page-template-simple-links-category-masonry-grid .sidebar {
		width: 100%;
		float: left;
	}	

	.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar .grid-item,
	.page-template-simple-links-category-masonry-grid .masonry-grid .grid-item {
		width: 96%;
		margin: 0 0 2%;
	}

	.block.one-third {
		width: 94%;
		height: auto;
	}

	.block.action-block.one-third {
		height:430px;
		width: 47%
	}

	.action-block h3, .page-template.baby-power .action-block h3 {
		font-size: 18px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.action-block p, .page-template.baby-power .action-block p {
		padding-right: 25px;
		padding-left: 25px;
	}
}

@media only screen and (min-width: 320px) and (max-width: 480px){
	.masonry-grid .grid-item {
    	width: 85%;
	}

	.page-template-simple-links-category-masonry-grid .masonry-grid.with-sidebar .grid-item,
	.page-template-simple-links-category-masonry-grid .masonry-grid .grid-item {
		width: 93%;
	}

	.post-type-archive-athome h1, 
	.tax-room h1 {
		padding: 0 0 0 60px;
		background-size: 50px;
		font-size: 24px;
	}

	.mcaf_logo {
		position: relative;
		line-height: 0;
	}

	.mcaf_logo img {
		width: 100%
	}

	.mcaf_header_photos {
		display: none;
	}

	table.standard_table.team_table td {
		width: 98%;
		display: block;
		padding-left: 0;
	}

	blockquote {
		padding-left: 4%;
		padding-right: 4%;
		width: 92%;
	}

	.page-template.baby-power .title_text h1 {
		background-size: contain;
		margin-left: 2%;
		margin-right: 2%;
	}

	h2.chalk-bg {
		padding-left: 30px;
		padding-right: 30px;
		font-size: 20px;
		line-height: 32px;
		margin-bottom: 20px;
	}

	.block.action-block.one-third {
		height:auto;
		width: 97%;
		padding-bottom: 95px;
	}

	.page-template.baby-power p {
		font-size: 18px;
		padding-bottom: 10px;
	}



}


