/*
Theme Name:     al green divi
Description:    Child theme for Al Green\'s version of Divi
Author:         rhkay
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../Divi/style.css");

/* ==========================================================================================
				LOGO
===========================================================================================*/
/* change height of logo
-----------------------------------------------------------*/
.et_fixed_nav #logo {
	/*max-height: 120px !important;*/
	max-height: 351px !important;
}
/* ensure the logo shrinks when page is scrolled
---------------------------------------------------*/
.et-fixed-header #logo {
  	max-height: 90px !important;
 	padding:0 !important;	 
}
/* keep the logo in a good position to the top of the page when page is scrolled
----------------------------------------------------------------------------------*/
/* also ensure the logo shrinks well on smaller screens with the max-width classes
-----------------------------------------------------------------------------------*/
#logo {
	position: relative;
	top:0;
	/*max-width: 30%;*/
	max-width: 80%;
  	min-width:150px;
}
/* adjusting the size and placement of the menu items to fit new logo size
-----------------------------------------------------------------------------*/
#top-menu li {
	font-size: 0.9em;
	padding-right: 16px;
}
/* also ensure that the new menu items are also placed in similar place when page is scrolled
------------------------------------------------------------------------------------------------*/
#main-header nav#top-menu-nav {
	padding-top: 28px !important;
}

/*change color of footer social icons*/
.et_color_scheme_green a {
	color: #006738;
}

@media (max-width: 980px) {
	.container.clearfix.et_menu_container {
    		margin-top: 20px;
	}
	#logo {
    		max-width: 45%;
    		min-width: 150px;
    		top: -30px;
	}
}
@media (max-width: 800px) {
	#logo {
		max-width: 55%;
	}
}
@media (max-width: 600px) {
	#logo {
		max-width: 70%;
	}
}
@media (max-width: 560px) {
	#logo {
		max-width: 80%;
	}
}
@media (max-width: 480px) {
	#logo {
		max-width: 90%;
	}
}
@media (max-width: 414px) {
	#logo {
		max-width: 98%;
	}
}
@media (max-width: 360px) {
	.container.clearfix.et_menu_container {
    		margin-top: 0;
	}
	#logo {
		top: -10px;
	}
}
@media (max-width: 320px) {
	#logo {
		top: 0;
	}
}

/* =======================================================================================================
					  Donate Menu Item
==========================================================================================================*/
/* Customizing menu item "Donate" to look like a button
----------------------------------------------------------------------------*/

.donate_menu_btn a {
	color: #67002f !important;
	/*padding: 5px 8% !important;*/
	padding: 0 8px 0 8px !important;
	/*margin: 4px auto 4px;*/
	cursor: pointer;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
#top-menu-nav > ul > li.donate_menu_btn a:hover {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03) !important;
    border: 2px solid transparent !important;
	/*padding: 5px 8% !important;*/
	padding: 0 8px 0 8px !important;
}

/* Fixed menu item styles with Divi 2.4.3 update 
-----------------------------------------------------*/
.et-fixed-header #top-menu li.donate_menu_btn > a {
	color: #67002f !important;
}

@media (max-width: 980px) {
	.et_mobile_menu .donate_menu_btn a,
	.et_color_scheme_green .et_mobile_menu li#menu-item-18823.donate_menu_btn.current-menu-ancestor > a,
	.et_color_scheme_green .et_mobile_menu  li#menu-item-18823.donate_menu_btn.current-menu-item > a {
		border: 2px solid transparent;
		border-radius: 0;
		padding: 10px 5% !important;
	}
	.et_mobile_menu .donate_menu_btn a:hover,
	.et_color_scheme_green .et_mobile_menu li#menu-item-18823.donate_menu_btn.current-menu-ancestor > a:hover,
	.et_color_scheme_green .et_mobile_menu  li#menu-item-18823.donate_menu_btn.current-menu-item > a:hover {
		border: 2px solid transparent;
		border-bottom: 1px solid rgba(0, 0, 0, 0.03);
		padding: 10px 5% !imporatant;
		width: 90%;
	}
}

/* ==========================================================================================================
					    GLOBAL STYLES
===========================================================================================================*/

/* Header text on Home page slider
------------------------------------------------------------------------*/
#inner-header-txt .et_pb_slide_description h2 {
	text-transform: uppercase;
	font-weight: 700;
}

/* Adjust sizes for iPad views beginning with 1024px width, which is landscape */
@media (max-width: 1024px) and (min-width: 981px) {
	#inner-header-txt .et_pb_slide_description h2 {
		font-size: 30px;
		font-weight: 500;
	}
}

/* Section Title Headers i.e. Portfolio, Recent Posts, etc. 
----------------------------------------------------------------*/
@media (max-width: 380px) and (min-width: 355px) {
	.mdl-headline > h2 {
    		font-size: 22px !important;
	}
}
@media (max-width: 354px) {
	.mdl-headline > h2 {
    		font-size: 20px !important;
	}
}

/* Call To Action Titles
------------------------------------------------------*/
@media (max-width: 480px) {
	#call-to-act h1 {
		font-size: 26px !important;
	}
}

/* Header text on internal pages
------------------------------------------------------------------------*/
#inner-header-txt .et_pb_bg_layout_dark h1 {
	text-transform: uppercase;
	font-weight: 700;
}

/* ================================================================================================
			Adjusting page title sizes on smaller screens to match 
			the change in font sizes on the home slider titles
===================================================================================================*/
/* This affects Biography, 9th District, Issues pages, and Photo Gallery page titles */
@media (max-width: 1024px) and (min-width: 981px) {
	#inner-header-txt .et_pb_bg_layout_dark h1 {
		font-size: 30px;
		font-weight: 500;
	}
}

@media (max-width: 980px) and (min-width: 768px) {
	#inner-header-txt .et_pb_bg_layout_dark h1 {
    		font-size: 26px;
    		font-weight: 500;
	}
}

@media (max-width: 767px) {
	#inner-header-txt .et_pb_bg_layout_dark h1 {
		font-size: 20px;
		font-weight: 500;
	}
}

/* Increase body text throughout site
-----------------------------------------------------------------------*/
/*body {
	font-size: 15px;
}*/

/* ========================================================================================================
		MAKING TEXT LARGER, AND CORRECTING RESPONSIVE ISSUES IT CREATES
=========================================================================================================*/
@media (min-width: 1600px) {
	body {
		font-size: 1.1em;
	}
}
@media (max-width: 1599px) {
	body {
		font-size: 1em;
	}
}
/*@media (max-width: 799px) {
	body {
		font-size: 1.1em;
	}*/
}
@media (max-width: 649px) {
	body {
		font-size: 100%;
	}
}

/* CORRECTING BLOG POST TEXT SIZE ISSUE ON HOME PAGE BLOG MODULE
------------------------------------------------------------------*/
.et_pb_blog_grid_wrapper article {
    font-size: 0.9em !important;
}

/* CORRECTING IMAGE DISPLAY ON BIO PAGE
---------------------------------------------*/
@media (max-width: 540px) {
	img.bio-lft.alignleft {
		display: block !important;
		float: none !important;
		padding-bottom: 15px !important;
	}
	img.bio-rght.alignright {
		display: block !important;
		float: none !important;
		margin-left: 0 !important;
	}
}

/* CORRECTING IMAGE DISPLAY ON ISSUES PAGES
-----------------------------------------------*/
img.vet-lft-img.alignleft {
	padding-bottom: 15px;
}
.vet-rht-img.alignright {
    padding-top: 65px;
}

@media (max-width: 589px) {
	img.ed-img.alignleft,
	img.iss-img.alignleft,
	img.ss-img.alignleft {
		display: block !important;
		float: none !important;
	}
	img.hc-img.alignleft,
	img.lbr-img.alignleft {
		display: block !important;
		float: none !important;
		padding-bottom: 15px;
	}
	img.vet-lft-img.alignleft {
   		 display: block;
    		 float: none;
	}
	.vet-rht-img.alignright {
    		padding-top: 25px;
		display: block;
    		float: none;
    		margin-left: 0;
	}
}


/* ==============================================================================================
					HOME PAGE STYLES
===============================================================================================*/
/* Change height of home page slider
-----------------------------------------------------------------------*/
@media only screen and (min-width:981px) {
    .et_pb_slider, .et_pb_slider .et_pb_container { 
        height: 450px; 
    }
    .et_pb_slider, .et_pb_slider .et_pb_slide { 
        max-height: 450px; 
    }
    /*keep description centered to images height*/
    .et_pb_slider .et_pb_slide_description { 
        position: relative; 
        top: 24%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
    /*lowering the controller dots below the image and text*/
    .et-pb-controllers {
	bottom: 10px;
    }
    /*Edit the height of the slide images so they fit their smaller containers better*/
    .et_pb_slide_image img {
	max-height: 335px !important;
    }
}

/* FIX DISPLAY ISSUE OF SLIDER IMAGES ON SMALLER SCREEN SIZES BEGINNING WITH 800PX WIDTH
--------------------------------------------------------------------------------------------*/
@media (min-width: 768px)and (max-width: 981px) {
	.et_pb_slide_image {
    		margin-top: -157px !important;
	}
}

/* HEADLINE / QUOTE SECTION */
/* FIX TEXT SIZE OF TITLE ON SMALLER SCREENS
-----------------------------------------------*/
@media (max-width: 767px) {
	#hm-headline > h2, #hm-headline > h4 {
		line-height: 1.2em !important;
	}
}
@media (max-width: 767px) and (min-width: 387px) {
	#hm-headline > h2 {
    		font-size: 24px !important;
	}
}
@media (max-width: 386px) and (min-width: 355px) {
	#hm-headline > h2 {
    		font-size: 22px !important;
	}
}
@media (max-width: 384px) {
	#hm-headline h4 {
		font-size: 16px !important;
	}
}
@media (max-width: 354px) {
	#hm-headline > h2 {
    		font-size: 20px !important;
	}
}

/* =================================================================================================
					BIO PAGE STYLES
===================================================================================================*/
/* list bullets on Biography page 
-----------------------------------*/
#bio-list span.et-pb-icon {
	font-size: 24px;
	margin-right: -28px;
	margin-top: 0;
}

/* reducing white spacing between modules 
-------------------------------------------*/
.bio-text {
	margin-bottom: 10px;
}

#bio-row-0.et_pb_row.et_pb_row_0,
#bio-row-1.et_pb_row.et_pb_row_1 {
 padding: 27px 0 0 !important;
}

@media (max-width: 980px) {
	#bio-row-1.et_pb_row.et_pb_row_1,
	#bio-row-2.et_pb_row.et_pb_row_2,
	#bio-row-4.et_pb_row.et_pb_row_4 {
 		padding: 0 !important;
	}
}

/* ================================================================================================
				   9TH DISTRICT PAGE STYLES
==================================================================================================*/
/* LOCAL REPRESENTATIVE PLUGIN RESPONSIVE FIXES
--------------------------------------------------*/
@media (min-width: 581px) and (max-width: 608px) {
	form.legislators input.submit {
    		margin-left: 6px !important;
	}
	form.legislators #jloader {
    		margin-left: 2px !important;
	}
}

@media (max-width: 580px) {
	form.legislators input, form.legislators textarea {
    		width: 65% !important;
	}
	form.legislators input.submit {
    		margin-left: 68px !important;
	}
	p.congress_example {
    		margin-left: 40px !important;
	}
}

@media (max-width: 540px) {
	p.congress_example {
		width: 80%;
	}
}

@media (max-width: 479px) {
	form.legislators label {
    		margin-left: 36px;
   	 	margin-right: 46px;
	}
	form.legislators input, form.legislators textarea {
    		margin-left: 34px !important;
	}
	form.legislators input.submit {
    		margin-left: 33px !important;
    		width: 60% !important;
	}
}

@media (max-width: 442px) {
	p.congress_example {
		text-align: center;
		margin-left: 27px !important;
	}
}

@media (max-width: 349px) {
	form.legislators label {
    		margin-left: 2px;
	}
	form.legislators input, form.legislators textarea {
    		margin-left: 0 !important;
		width: 80% !important;
	}
	form.legislators input.submit {
    		margin-left: 0 !important;
	}
	p.congress_example {
    		margin-left: 22px !important;
	}
}

@media (max-width: 325px) {
	form.legislators #jloader {
    		margin-left: 0 !important;
	}
}

@media (max-width: 294px) {
	form.legislators input.submit {
		width: 50% !important;
	}
}

@media (min-width: 278px) and (max-width: 304px) {
	form.legislators .le_head {
    		font-size: 1.3em !important;
	}
}

@media (max-width: 277px) {
	form.legislators .le_head {
    		font-size: 1em !important;
	}
}


/* ================================================================================================
				  JOIN TEAM GREEN PAGE STYLES
===================================================================================================*/
/* change styles on Visual Form Builder
-------------------------------------------------------------------------------*/

/*Submit Button*/
.vfb-submit {
    padding: 6px 20px;
    border: 2px solid #7cc68d;
    border-radius: 3px;
    background: none repeat scroll 0 0 transparent;
    background-repeat: repeat-x;
    color: #7cc68d;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    font-family: "Arimo",Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 20px !important;
    font-weight: 500;
    line-height: 1.7em;
    transition: all 0.2s ease 0s;
    text-shadow: none;
}
.vfb-submit:hover {
    padding: 6px 20px;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    cursor: pointer;
}

/* Background Color
-------------------------------*/
.visual-form-builder fieldset {
     background-color: #f6f6f6;
 }

/* LABELS
-------------------------------*/
label.vfb-desc,
.visual-form-builder li div label,
.visual-form-builder li span label {
	text-transform: uppercase;
	font-size: 14px;
}
#vfb-7-country {
	font-size: 14px;
}

/* VERIFICATION LABEL
--------------------------------*/
.vfb-legend {
	text-transform: uppercase;
}

/* Remove extra spacing between Team Green title and body text
----------------------------------------------------------------*/
@media (max-width: 980px) {
	.page-id-82 .et_pb_column {
		margin-bottom: 0 !important;
	}
	.page-id-82 .et_pb_row {
		padding: 2% 0 !important;
	}
}


/* Decrease Form Title i.e. Join Team Green, Verification, etc. On Smaller Screens
--------------------------------------------------------------------------------------*/
@media (max-width: 600px) {
	.vfb-legend h3 {
		font-size: 18px !important;
	}
	/* name, phone, email */
	#item-vfb-1 ul .vfb-left-half, #item-vfb-1 ul .vfb-right-half {
    		float: none;
    		width: 100% !important;
	}
	/* address */
	#item-vfb-7 > div .vfb-right {
		float: none !important;
	}
	#item-vfb-7 > div .vfb-left {
		width: 100% !important;
	}
}

/* Decrease font size on form labels on smaller screens
-------------------------------------------------------------*/
@media (max-width: 523px) {
	label.vfb-desc,
	.visual-form-builder li div label,
	.visual-form-builder li span label,
	#vfb-7-country {
		font-size: 90% !important;
	}
}

/* =================================================================================================
================JIG====================JIG=================JIG======================================
====================================================================================================*/
/* remove box shadow on photo gallery page that surrounds the title of the gallery
--------------------------------------------------------------------------------------*/
#jig1 .jig-imageContainer {
	box-shadow: none !important;
}
#jig1 .jig-overflow {
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) !important;
}


/* ==================================================================================================
				Articles Page
=====================================================================================================*/
.et_pb_post h2 a:hover {
	color: #7cc68d !important;
}


/* ===================================================================================================
					SIDEBAR
======================================================================================================*/

/* Recent Posts in sidebar other than Articles page
-----------------------------------------------------------------*/
#categories-2 .screen-reader-text {
	visibility: hidden !important;
}
#recent-posts-2 .widgettitle {
    line-height: 24px;
    padding-bottom: 30px;
}
#recent-posts-2 ul li a {
	color: #006738 !important;
	font-size: 0.9em;
}
#recent-posts-2 ul li a:hover {
	color: #7cc68d !important;
}

/* Contact Form Styles
------------------------------------------------------------------*/

/*Add border to contact form elements*/
.et_pb_contact p input, .et_pb_contact p textarea {
	border: 2px solid #7cc68d !important;
}


/* ==================================================================================================
			FIXING DISPLAY OF FOOTER WIDGETS
=====================================================================================================*/
/* MAP WIDGET
--------------------------------------------------------------------------*/
#ftr-map {
	width: 250px !important;
	height: 250px !important;
}
@media (min-width: 1140px) and (max-width: 1290px) {
	#ftr-map {
    		width: 215px !important;
	}
}
@media (min-width: 1041px) and (max-width: 1139px) {
	#ftr-map {
    		width: 200px !important;
	}
}
@media (min-width: 981px) and (max-width: 1040px) {
	#ftr-map {
    		width: 190px !important;
	}
}

/* TEXT WIDGET
-----------------------------------------------------------------------------*/
#black-studio-tinymce-2 .textwidget {
    font-size: 0.8em;
}

/* TWITTER WIDGET
-----------------------------------------------------------------------------*/
div.wdtf-screen-name {
	font-size: 1em !important;
	line-height: 24px !important;
}
.tweet_data {
	font: 0.8em/20px "Roboto",Helvetica,Arial,Lucida,sans-serif !important;
}
.tweet_wrap .times a {
    font-size: 0.8em !important;
}

@media (max-width: 998px) {
	div.wdtf-screen-name {
		width: 72% !important;
	}
}

/* FACEBOOK WIDGET
-------------------------------------------------------------------*/
/* Styles for Facebook footer widget 
--------------------------------------*/
/*change ___ people like color*/
#facebook body .pts.plm > span {
	color: #f6f6f6 !important;
}

/* center Facebook images 
----------------------------------*/
.footer-widget .fb-like-box .pam {
	margin-left: 9px !important;
}

#easy_facebook_feed-2 h4 {
    padding-bottom: 16px;
}
#efblcf.thumbnail .efbl_story_photo {
    display: none;
}
.efbl_auth_logo img {
    border-radius: 5px;
   margin-right: 10px;
}
.efbl_author_name,
.efbl_story_time {
    padding-bottom: 8px !important;
}
.efbl_story_time {
	float: left;
}
#efblcf .efbl_post_content .efbl_content_wraper {
    font-size: 0.8em;
    line-height: 22px;
}
#efblcf .efbl_story_meta .efbl_read_more_link {
    float: left;
    font-size: 0.8em;
}

/* FOOTER INFO
===========================================*/
#footer-info {
	font-size: 0.8em;
}
.new_footer_section > p {
    font-size: 0.8em;
}

/* ==========================================================================================================	
					    FOOTER DISCLAIMER
============================================================================================================*/

/* Disclaimer Footer
----------------------------------------------------------------*/
#new-footer {
	background-color: #006738;
	padding: 10px;
	color: #f6f6f6;
}
.new_footer_section {
	text-align: center;
}

/* =====================================================================================================
					FUNDRAISING PLUGIN BEGIN
=======================================================================================================*/
/* Fundraiser Page Styles
---------------------------------------------------------------*/
/*attempt to make the page not look like a blog post*/
.post-8391.et_pb_post .post-meta, 
.post-8391.et_pb_portfolio_item .post-meta,
.postid-8391 #sidebar,
.postid-8391 #main-content .container:before,
.postid-8391 #comment-wrap {
	display: none !important;
}

/* Donate Button on Home Page and on Fundraising page
---------------------------------------------------------------*/
.wdf-fresh .wdf_send_pledge,
.wdf_donate_button .wdf_send_donation,
.wdf_donate_button input.wdf_send_donation {
	padding: 6px 20px;
	margin-left: 15px;
    	/*border: 2px solid #7cc68d;*/ /*Green*/
	border: 2px solid #67002f; /*Red*/
    	border-radius: 3px;
    	background: none repeat scroll 0 0 transparent;
    	background-repeat: repeat-x;
    	/*color: #7cc68d;*/ /*Green*/
	color: #67002f; /*Red*/
    	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    	font-family: "Arimo",Helvetica,Arial,Lucida,sans-serif !important;
    	font-size: 14px !important;
    	font-weight: 500;
    	line-height: 1.7em;
    	transition: all 0.2s ease 0s;
    	text-shadow: none;
}

.wdf-fresh .wdf_send_pledge:hover,
.wdf_donate_button .wdf_send_donation:hover,
.wdf_donate_button input.wdf_send_donation:hover {
  	padding: 6px 20px;
    	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
    	border: 2px solid transparent;
    	cursor: pointer;
}

/* Making the Fundraising page look a bit better
------------------------------------------------------------*/
/*make the donate section boxes and text a bit bigger*/
.wdf_donate_button .wdf_pledge_amount,
.wdf_donate_button select {
	padding: 8px;
}

/*Change background color
--------------------------------*/
.single-funder #main-content {
	background-color: #dcdcc9;
}

/* Fundraising Footer Widget
-------------------------------------------------------------*/
/*remove "Contributor and amount raised"*/
.footer-widget .wdf_fundraiser_panel .wdf_total_backers,
.footer-widget .wdf_fundraiser_panel .wdf_amount_raised {
	display: none;
}

/* fix superscript on the 9th congressional district page 
--------------------------------------------------------------*/
sup {
	bottom: 0;
	font-size: smaller;
	vertical-align: super;
}

/* get rid of list bullets and fix how icons display on twitter widget 
-------------------------------------------------------------------------*/

ul.fetched_tweets, ul.fetched_tweets li{
	list-style: none;
	list-style-type: none;
}

#footer-widgets .footer-widget li:before {
	border-style: none;
}

#footer-widgets .footer-widget li {
	padding: 0;
}

.et_pb_widget ul li ul li {
	margin: 0;
}

.footer-widget #wptt_twittertweets-2 {
	width: 258px;
}

/* Donate Button in Sidebar
--------------------------------------------------------*/
.donate_sidebar_btn {
	color: #67002f !important;
	font-size: 22px;
	padding: 5px 8% !important;
	/*margin: 4px auto 4px;*/
	cursor: pointer;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

/* FUNDRAISING PLUGIN END
=================================================================================*/