/*
Theme Name: LESEC
Theme URI: http://www.elegantthemes.com/gallery/
Version: 1
Description: Child Theme for LESEC
Author: Adaro Consulting
Author URI: http://adaroconsulting.com/
Template: Divi
*/

/* parent theme styles */
@import url("../Divi/style.css");
/* end parent theme styles */

/* typography */

@import url(https://fonts.googleapis.com/css?family=Muli:400,300,300italic,400italic);

body, 
li, 
p,
h1,
h2,
h3,
h4,
h5, 
input {
	font-family: 'Muli', sans-serif !important;
	font-size: 16px;
	font-weight: 300;
}

h2,
h3 {
	color: #639964;
}

h5 {
	line-height: 2.5rem;
}

p a {
	color: #4f6802;
	font-weight: bold;
}

article h2 a:hover,
p a:hover {
	border-bottom: 2px solid #639964;
}

.et_pb_bg_layout_light .et_pb_widget li a:hover {
	border-bottom: 1px solid #666666;
}

/* end typography */

/* footer */

p#footer-info {
	color: #ffffff;
	float: none;
	text-align: center;
}

.et_pb_social_media_follow li a.icon::before {
	color: #404040;
    height: 40px;
    width: 58px;
    font-size: 28px;
    line-height: 56px;
}

.et_pb_social_media_follow li a.icon {
    height: 56px;
    width: 56px;
}

#footer-bottom {
	background-color: #404040;
}

footer p a {
	color: #ccc;
	border-bottom: 2px solid #ccc;
}

/* end footer */

/* hero */

.et_parallax_bg.et_pb_parallax_css:before {
    content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-image: linear-gradient(to bottom right,#8ea363,#8ea363);
		/*background-image: linear-gradient(to bottom right,rgba(97, 97, 98, 0.27),rgba(180, 178, 178, 0.34));*/
		opacity: .3; 
		z-index: 3 !important;
}

.et_pb_bg_layout_dark .et_pb_slide_description,
.et_pb_slide_description {
	z-index: 9999 !important;
}

.et_pb_slider .et_pb_container {
	z-index: 4;
}

.et_pb_slide_content p {
	font-weight: bold;
}

/*506a48*/

.et_pb_slide_description h2,
.et_pb_title_container h1 {	
	text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}

.post-title.et_pb_section_0 {
	background-position: top center;
	background-size: cover;
}

.post-title.et_pb_section_0:before,
.et_pb_fullwidth_header_0.et_pb_fullwidth_header:before {
 	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to bottom right,#8ea363,#8ea363);
	opacity: .8; 
} 

.header-content h1 {
	text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}

.header-content p {
	font-size: 18px;
}

/* end hero */

/* homepage posts */

.et_pb_blog_grid .et_pb_post {
	padding: 0 19px;
}

/* programs */

@media screen 
  	and (min-width: 1200px) { 
  	.programs .et_pb_main_blurb_image img,
	.programs .et_pb_main_blurb_image {
		width: 210px;
	}

	.programs .et_pb_blurb_container {
		padding-left: 40px;
	}

	.programs .et_pb_blurb_content {
		max-width: none;
	}

	.programs h4 {
		font-size: 27px;
	}

	h4.widgettitle {
		font-size: 21px;
	}
}

.programs h4 {
	color: #639964;
}

.programs img, 
.programs img {
	border-radius: 50%;	
}

/* end programs */

/* toggles */
.et_pb_toggle_0.et_pb_toggle_close,
.et_pb_toggle_1.et_pb_toggle_close,
.et_pb_toggle_2.et_pb_toggle_close,
.et_pb_toggle_3.et_pb_toggle_close,
.et_pb_toggle_4.et_pb_toggle_close,
.et_pb_toggle_5.et_pb_toggle_close,
.et_pb_toggle_6.et_pb_toggle_close,
.et_pb_toggle_7.et_pb_toggle_close,
.et_pb_toggle_8.et_pb_toggle_close,
.et_pb_toggle_9.et_pb_toggle_close,
.et_pb_toggle_10.et_pb_toggle_close,
.et_pb_toggle_open {
	/* gray */
    background-color: #e9e9e9;
}

.et_pb_toggle_open:hover,
.et_pb_toggle_0.et_pb_toggle_close:hover,
.et_pb_toggle_1.et_pb_toggle_close:hover,
.et_pb_toggle_2.et_pb_toggle_close:hover,
.et_pb_toggle_3.et_pb_toggle_close:hover,
.et_pb_toggle_4.et_pb_toggle_close:hover,
.et_pb_toggle_5.et_pb_toggle_close:hover,
.et_pb_toggle_6.et_pb_toggle_close:hover,
.et_pb_toggle_7.et_pb_toggle_close:hover,
.et_pb_toggle_8.et_pb_toggle_close:hover,
.et_pb_toggle_9.et_pb_toggle_close:hover,
.et_pb_toggle_10.et_pb_toggle_close:hover,
.et_pb_toggle_close:hover {
	/* green */
	background-color: #c8d5c8;
}

.et_pb_toggle_close h5.et_pb_toggle_title,
.et_pb_toggle_open h5.et_pb_toggle_title {
	/* darker green */
	color: #639964;
}

.et_pb_toggle_title:before {
	color: #639964;
}

/* icons for staff toggles */

.et_pb_toggle_title:before,
.et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\e0a1";
}

/* icons for composting toggles */

.composting .et_pb_toggle_0 .et_pb_toggle_title:before {
	content: "\e07d";
}

.composting .et_pb_toggle_1 .et_pb_toggle_title:before {
	content: "\e009";
}

/* icons for directions toggles */
.directions .et_pb_toggle_title:before,
.directions .et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\e01f";
}

/* icons for calendar toggles */
.calendar .et_pb_toggle_title:before,
.calendar .et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\e023";
}

/* icons for soil toggles */
.soil .et_pb_toggle_title:before,
.soil .et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\e07b";
}

/* accordions */

.questions .et_pb_toggle_title:before,
.questions .et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\e064";
}

/* mailchimp styles */
#mc_embed_signup h2 {
	color: #ffffff;
}
.mc-field-group, 
input#mc-embedded-subscribe {
	float: left;
}

/* forms */

input {
	border: none;
	line-height: 2rem;
	padding: 2px 10px;
}

input[type=email] {
	border: 1px solid #636363;
    color: #636363;
    min-height: 38px;
    padding: 2px 35px;
}

input[type=submit] {
	background-color: #749f72;	
	border: 1px rgba(0, 0, 0, .4) solid;
	color: #ffffff;	
	font-weight: 400;
}

input[type=submit]:hover {
	background-color: #506a48;
}

h3.toggle-title {
	padding-bottom: 0;
}

.wpcmsdev-toggle .toggle-title a {
	background: none;
	background-color: #e9e9e9;
}

sup {
    bottom: 0.1em;
}

.salesforce_w2l_lead .top-aligned .w2linput {
	width: 100%;
}

/* end forms */

/* events */
.tribe-events-notices {
	background: #749f72;
	border: #506a48;
	color: #ffffff;
}

.tribe-events-notices li {
	text-shadow: none;
}

#tribe-bar-cats p {
	padding-left: 10px;
}
select#tribe-category {
	margin-bottom: 15px;	
	margin-left: 10px;
}

ul.tribe-events-sub-nav a, 
ul.tribe-events-sub-nav a:hover {
	font-weight: bold;
}

#tribe-bar-form .tribe-bar-submit input[type=submit] {
	background: #749f72;
}

.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], 
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
	background-color: #749f72;
}

ul.ecs-event-list .recurringinfo {
	display: none;
}

.event-single-box {
	width: 100%;
}

.eventtitle {
	float: left;
	width: 50%;
}

.eventdetails {
	float: left;
	padding-top: 1.25rem;
	width: 50%;
}

.events-text {
	border-top: dotted #323232 2px;
	float: left;
	min-height: 85px;
	padding: 1.25rem 0;
	width: 100%;
}

.events-box {
	border-bottom: dotted #323232 2px;
	width: 100%;
}

.eventdatebox {
	border: 4px solid #666666;
	float: left;
	font-size: 12px;
	font-weight: 700;
	margin: 0rem 2rem 0 0;
	width: 50px;
	overflow: hidden;
	text-align: center;
	text-transform: uppercase;
}

.eventdatebox .eventdateboxbottom {
	background-color: #666666;
	color: #fff;
	width:100%;
}

.eventtitle a {
	color: #4f6802;
	float: left;
	font-size: 16px;
	font-weight: 600;
	margin-right: 2rem;	
	padding-top: 1.25rem;
	text-transform: uppercase;
}

.view-more a:hover,
.eventtitle a:hover {
	border-bottom: 2px solid #4f6802;
}

.eventtime {
	color: #636363;
	float: left;
	font-size: 16px;
	margin-right: 2rem;
}

.eventdate {
	color: #636363;
	float: left;
	font-size: 16px;
	margin-right: 4rem;
}

.view-more {
	color: #4f6802;
	font-size: 16px;
	padding: 1rem 0;
	text-align: center;
}

h2.events-section-title {
	color: #639964;
	font-size: 27px;
	margin-bottom: 1rem;
	text-align: center;
}

/* end events */

@media screen 
  	and (min-width: 736px) { 
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module {
		margin-bottom: .5%;
	}
	.et_pb_toggle_close h5.et_pb_toggle_title,
	.et_pb_toggle_open h5.et_pb_toggle_title {
		font-size: 27px;
		padding-left: 5%;
	}

	.et_pb_toggle_title:before {
		font-size: 27px;
		left: 0;
	}
	/* typography */
	    
	h1 {
		font-size: 32px;
		font-weight: 300;
	}

	h2 {
		font-size: 27px;
		line-height: 2rem;
	}

	h3 {
		font-size: 21px;
	}

	h4 {
		font-size: 18px;
	}
	.et_pb_slide_description h2 {
		font-size: 44px !important;
		line-height: 60px !important;
	}
	.et_pb_slide_description {
		padding-right: 0;
    	padding-left: 0;
	}
	.textwidget p, 
	footer p {
		font-size: 14px;
	}
	.get-in-touch h3 {
		font-size: 24px;
	}
	.et_pb_title_container h1 {	
		font-size: 32px;
	}
	.post-title .et_pb_text p {
		font-size: 18px;
	}
	/* mailchimp styles */
	#mc_embed_signup h2 {
		font-size: 21px;
	}
	.sign-up-text h4 {
		font-size: 26px;
		padding-top: 7px;
	}
	#mc_embed_signup .et_pb_blurb {
		padding-left: 15%;
	}
	input#mce-EMAIL.required.email {
		width: 270px;
	}
	.sign-up-text .et_pb_main_blurb_image span {
		font-size: 26px;
	}
	/* instagram */
	div.si_item {
	    padding-right: 2rem;
	}
	/* homepage posts */
	.homepage-posts.et_pb_blog_grid .et_pb_post {
		padding: 19px 0;
	}
	.homepage-posts .et_pb_image_container {
		margin: 0;
	}
	/* forms */
	.salesforce_w2l_lead .w2linput.submit {
		width: 20% !important;
	}
}

@media screen 
and (max-width: 768px)
and (min-width: 768px) { 
	.mailchimp-code {
		padding-left: 18%;
	}		
}

@media screen 
and (max-width: 1024px)
and (min-width: 1024px) { 
	.sign-up-text h4 {
		font-size: 18px;
		padding-top: 7px;
	}	
}

@media screen 
and (max-width: 414px) { 
	input#mce-EMAIL.required.email {
		width: 100%;
	}
	.sign-up-text h4 {
		font-size: 20px;
		padding-top: 5px;
	}
	input[type=email] {
		color: #fff;
	}
	.mc-field-group, 
	input#mc-embedded-subscribe {
		float: right;
	}
	input[type=submit] {
		margin-top: 1.5rem;
	}
	.salesforce_w2l_lead .w2linput.text {
		width: 100% !important;
	}
}

@media screen 
and (max-width: 767px) { 
	.eventdatebox {
		display: none;
	}
}

@media screen 
and (max-width: 1175px) { 
	.eventtitle,
	.eventdetails,
	.eventvenue, 
	.eventdate {
		float: none;
		width: 100%;
	}
	.eventtitle a {
		border-bottom: none;
		float: none;
		width: 56%;
	}	
	.eventdetails {
		padding-top: 0;
	}
		.et_pb_social_media_follow li a.icon::before {
		height: 20px;
	    width: 31px;
	    font-size: 18px;
	    line-height: 33px;
	}
	.et_pb_social_media_follow li a.icon {
		height: 30px;
		width: 30px;
	}
}