/*
 Theme Name:   SavingTeens - a DonateNow child
 Theme URI:    http://savingteens.org
 Description:  Custom Saving Teens Child Theme on DonateNow template
 Author:       Blue Storm Creative
 Author URI:   http://bluestormcreative.com
 Template:     DonateNow
 Version:      1.0.0
 Tags:         light, non-profit, responsive
 Text Domain:  donatenow-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

p, pre, dl, dd, blockquote, address, table, fieldset, form {
	font-size:15px;
}

em {
	font-style:italic!important;
}

#mb-content a {
	color:#0081dc;
}

#mb-content a:hover {
	color:#f55f0d;
}

#header {
	height:111px;
}

#gallery-1 img {
border:0!important;
}

#gallery-1.galleryid-1533 .gallery-item {
	width:35%;

}

.rounded {
	border-radius:10px;
}


.home #mb-content .icon-heading .wpb_thumbnails {
	padding-left:0;
	margin-left:0;
}

.home #mb-content .icon-heading .wpb_thumbnails .post-title {
	font-size:20px;
	line-height:1.3;
}

.home #mb-content .icon-heading .wpb_thumbnails .post-thumb {
	float:left;
	margin-right:20px;

}

.home #mb-content .icon-heading .wpb_thumbnails .post-thumb img {
	border-radius:10px;
	border: 1px solid #dddddd;
}

#header-title {background:#5381c1!important;}
.home-separator {padding:20px 0!important;}

.home #mb-content .teaser_grid_container li div.post_thumb {float:left!important;}
.home #mb-content .teaser_grid_container li h2.post_title {float: left!important; width: 48%!important; margin-left: 10px!important; margin-top: -7px!important; margin-bottom: 20px!important;}

.vc_read_more {
	display: block;
	background: orange;
	width: 100px;
	color: white;
	padding: 5px 5px 5px 10px;
	border-radius: 0 20px 20px 20px;
	transition: all 150ms ease-out;
}

.vc_read_more:hover {
	background:#f55f0d;
	color:White;
}

.home .wpb_heading.wpb_teaser_grid_heading {
	margin-top:-39px;
}

.icon-heading h2.wpb_heading {
	font-size:30px;
	padding-left:50px;
	min-height:40px;
	margin:0 0 20px 0;
	background: url('../../uploads/2014/07/st-logo-icon-sm.jpg')no-repeat top left;

}

/* = Make a red, large menu item - add css to menu in admin
-------------------------------------------------------------- */

.menu-button a {
	color:#c2170b!important;
	font-size:20px!important;
	padding-top:17px;
}

.menu-button a:hover {
	padding-top:16px;
}


/* = need help button in header
-------------------------------------------------------------- */

#top-button {
	float:right;
	margin-right:20px;
}

#top-button .mt_donation_button {
	width:110px;
	background:white;
	border: 1px solid rgba(0,0,0,0.1)!important;
}

#top-button .mt_donation_button h2 {
	color:black;
}

#top-button .mt_donation_button:hover {
	background:#c2170b;
	border: 1px solid rgba(0,0,0,0.1)!important;
}

#top-button .mt_donation_button:hover h2 {
	color:white;
}

/* = footer widgets
-------------------------------------------------------------- */

.footer_widget_midle h2, .footer_widget_midle div h2, .footer_widget_midle div div h2 {
	font-size:20px!important;
}

.footer_widget_midle .ai1ec-month {
    color:white!important;
    padding:2px!important;
}

#footer .footer_widget_midle ul li {
	border-radius:0!important;
	border:none!important;
	color:black!important;
	background:white!important;
	margin: 5px 0;
	padding: 0px;
	font-size: 12px;
	display: inherit;
	width:100%;
	box-shadow:none!important;
	box-sizing:border-box;

}

#footer .footer_widget_midle ul li a {
	display:block;
	width:100%;
	padding:10px 10px 10px 5px!important;
	word-wrap:break-word;
	color:#f5681b;
	text-decoration:underline;
	font-size:13px;
	float:none;
	overflow:visible;
}

#footer .footer_widget_midle ul li ul li {
	margin-left:5px;
}


.footer_widget_midle ul li ul, .footer_widget_midle div ul li ul, .footer_widget_midle div div ul li ul {
	display:block!important;
	margin:0!important;
	padding:3px!important;
}

/* = Page formatting
-------------------------------------------------------------- */

.page #header-title, .single-post #header-title {
background-color: #507ec0!important;
}

.page-id-317 #mb-content img, .page-id-319 #mb-content img, .border { /* board of directors/advisers pages  & all images with "border" class */ 
	padding: 10px!important;
	border: 1px solid #ddd!important;
	border-radius: 5px!important;
}

.page-id-137 #mb-content img.border {
	margin-top:-65px!important;
}

.single .entry-page-image {
	display:none; /* remove featured images from single blog posts */
}

/* = buttons
-------------------------------------------------------------- */

.maxbutton {
	text-shadow:none!important;
}

/* = arrows in buttons - fontawesome is better than images...
-------------------------------------------------------------- */

.wpb_arrow i.icon, option.wpb_arrow {
	background: none!important;
	position:relative;
}

.wpb_arrow i.icon:after, option.wpb_arrow:after {
	position:absolute;
    font-family: FontAwesome;
    top:0;
    left:-2px;
    content: "\f061";

}

/* = Social Menu
-------------------------------------------------------------- */

/*See font awesome cheat sheet for additional social icon options*/
a.fa[href*="facebook.com"]:before {
    content: '\f09a'; 
}
a.fa[href*="plus.google.com"]:before {
    content: '\f0d5'; 
}
a.fa[href*="linkedin.com"]:before {
    content: '\f0e1'; 
}
a.fa[href*="pinterest.com"]:before {
    content: '\f0d2';
}
a.fa[href*="/feed/"]:before {
    content: '\f09e'; 
}
a.fa[href*="twitter.com"]:before {
    content: '\f099'; 
}
a.fa[href*="youtube.com"]:before {
    content: '\f167';
}

.menu-social-media-links-container #menu-social-media-links li {
    display: inline-block;
    position: relative;
    padding:2px!important;
}
.menu-social-media-links-container #menu-social-media-links li a.fa {
    display: inline-block;
    margin-left: 0;
    position: relative;
    left: 0;
    top: 0;
}
.menu-social-media-links-container #menu-social-media-links a.fa:before {
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 19px;
    height: 32px;
    line-height: 33px;
    margin-bottom: 5px;
    position: relative;
    text-align: center;
    width: 32px;
    -webkit-transition: all 150ms ease-out;
    -moz-transition: all 150ms ease-out;
    -ms-transition: all 150ms ease-out;
    -o-transition: all 150ms ease-out;
    transition: all 150ms ease-out;
}

#mb-content #menu-social-media-links {
	border:0!important;
	box-shadow:none!important;
}

#menu-social-media-links li {
	background-image:none!important;
	border:0!important;
}

#menu-social-media-links li:hover {
	background-color:transparent!important;
}

#menu-social-media-links a.fa[href*="facebook.com"]:before {
    background: #3b5998;
}
#menu-social-media-links a.fa[href*="plus.google.com"]:before {
    background: #dd4b39;
}
#menu-social-media-links a.fa[href*="linkedin.com"]:before {
    background: #0e76a8;
}
#menu-social-media-links a.fa[href*="pinterest.com"]:before {
    background: #c8232c;
}
#menu-social-media-links a.fa[href*="/feed/"]:before {
    background: #f18622;
}
#menu-social-media-links a.fa[href*="twitter.com"]:before {
    background: #33ccff;
}
#menu-social-media-links a.fa[href*="youtube.com"]:before {
    background: #c4302b;
}
#menu-social-media-links a.fa:hover:before {
    color: #fff;
    background:#f55f0d;
}

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

.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}

.sidebar-optin {
	background: #ada9ce;
border-radius: 0 30px 30px 30px;
padding: 10px;
font-size: 16px;
text-align: center;
}

.sidebar-optin h4 {
background: #ada9ce;
color: white;
text-align: center;
font-size: 25px;
}

.sidebar-optin h4 span {
background:none;
}

.sidebar-optin .textwidget {
padding:20px;
}

#mc_embed_signup form {
padding:0!important;
margin-top:20px;
}

#mc_embed_signup .mc-field-group input {
display: block;
width: 100%;
padding: 8px 0;
text-indent: 2%;
background: white;
}

.sidebar-optin #mc_embed_signup .button {
background:#5381c1;
padding:10px 15px 40px!important;
}

.sidebar-optin #mc_embed_signup .button:hover {
background:#f55e0d;
}


/* override built-in button colors */
.wpb_button.wpb_btn-info {background-color: #4f7ec0!important;} /*blue*/
.wpb_button.wpb_btn-danger {background-color: #c2170b!important;} /*red*/


.container .span8 {
width:600px;
padding-right:20px;
}


#footer div .mb-text2 {
	padding: 10px 10px 10px 0;
	color: white;
	font-size: 18px;
}


/* = OUR TEENS PAGE
-------------------------------------------------------------- */


#teens-container {
	width:600px;
	margin-top:40px;
}

.masonry-entry {
	width:243px;
	margin:0px 15px 15px 0;
	background: url('../../uploads/2014/08/sun-trans-3.png') no-repeat bottom right;
	background-position: 50px 150%;
	padding:20px;
	border:1px solid #f5691d;
	border-radius:0px 30px 0px 0px;
}

.teen-box h2 {
	text-align:center;
}

.teen-box blockquote {
	font-family: 'Droid serif';
	font-style: italic;
}

.linky-container, .letter {
	max-width:600px;
	max-height:600px;
	padding:30px;
}

.collab {
	color:#476EB5;
}

#teens-container hr {
	margin:0;
}

#teens-container .linky {
	display: block;
	color: white;
	background: #f5691d;
	text-align: center;
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: -20px;
	padding: 10px;
	font-size: 18px;
	line-height: 1.1;
	transition:.3s;
}

#teens-container .linky:hover {
	background:#5683c2;
	color:white;
}

/* = Category template styles
-------------------------------------------------------------- */

.static-content {
	margin:2em 0;
	border-bottom:1px solid #ccc;
	padding-bottom:2em;
}

.static-content .post {
	background:none;
}



/* = Media Queries
-------------------------------------------------------------- */

@media screen and (max-width: 400px) {
/* Styles */

	.mt_style_header_1 #header_html_area {
		width:400px!important;
	}

	.mt_style_header_1 #header_html_area .mt_donation_button {
		display: block;
		width:165px;
		float:none;
		clear:both;
		margin:0 auto;
	}

	#header-socials {
		left:15%!important;
	}

	#top-button {
		float: none;
		margin-left: 50px;
		display: inline-block;
		width: 66px;
		margin-top: 10px;
	}

	.container .span8 {
		width:380px;
	}

	.masonry-brick {
		width:300px;
		clear:both;
	}

}