@import url('style-jon.css');
@import url('style-amy.css'); 

/*
 Theme Name:   Child & Nature: Divi Child Theme
 Theme URI:    http://childrenandnature.org
 Description:  Child theme of Divi for use on ChildrenAndNature.org.
 Author:       The Nerery
 Author URI:   http://nerdery.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  Divi-childnature
*/

/*---------------------------------------------------------
  Divi Widget: Advertisement
 *--------------------------------------------------------*/

.cnn_adtracker_thumb {
    width: 75px;
    border: 1px solid #ccc;
    padding: 2px;
    margin: 0 auto;
    display: block;
    padding: 7px;
}
p > .cnn_adtracker_image_label {
    display: block;
}


/*---------------------------------------------------------
  Global Styles
 *--------------------------------------------------------*/
.footerLogoContainer {
    text-align:center;
}

.footerLogo {
    max-height:40px;
    display:inline-block;
}

.hidden {display:none;}

/* Ensure text and buttons are displayed for fullwidth sliders on mobile devices */
@media only screen and (max-width: 500px) {
  .et_pb_slide_content {
    display: block !important;
  }
  .et_pb_slide_content h2 {
    padding: 0px !important;
  }
  .et_pb_more_button {
    display: block !important;
  }
  
}

/*******************************
    Homepage one page nav stuff (righthand sidebar)
*******************************/

#onepagenav {
    display:block;
    width:90px;
    height:125px;
    position:fixed;
    top:35%;
    right:0px;
    padding-right:20px;
    padding-top:0px;
    padding-left:20px;
    background-color:#59544d;
    border-radius:20px 0 0 20px;
    z-index:200;
}

#onepagenav a {
    color:white;
}

@media all and (max-width: 981px) {
    #onepagenav {
        display:none;
    }
}

/******************************
    Donation Page /
/******************************/
.cnnWhiteBackground {
 	background-color:#ffffff;
}
@media only screen and (min-width: 761px)  {
	.cnnWhiteBackground {
	    padding: 32px;
	}
}


/*******************************
    Sponsor Logos styles
*******************************/

.cnnSponsorLogo {
    padding-right:45px;
}

.cnnSponsorLogo:last-child {
    padding-right:0px;
}

.cnnSponsorLogoContainer {
    text-align:center;
}


/*******************************
    Blog Styles
*******************************/

article .inline-left img:first-of-type {
 position: absolute;
 width: 240px !important;
  margin: 0 auto;
  clip: rect(0px,240px,140px,0px)!important;
}

/*
div.et_pb_posts article img,
div#left-area article img {
    width: 200px;
    float: left;
}*/

/* Thumbnail settings for individual posts */
/*div#left-area article img {
    padding-top:30px;
    margin-right:20px;
}
*/
.abh_image > a > img.photo {
    padding-top: 0px !important;
}

/* Thumbnail settings for Divi blog module */
div.et_pb_posts article img {
    margin-right: 25px;
    margin-bottom:25px;
}

/* Thumbnail override for search results page (otherwise it would inherit top padding from individual post style above) */
body.search-results div#left-area article img,
body.archive div#left-area article img,
body.blog div#left-area article img {
    padding-top:0px;
}

/* Fix to ensure blog listings stack properly with floated thumbnail */
article {
    clear: both;
}

/* Style to visually separate articles in listings */
article + article {
    padding-top:20px;
    border-top:1px dashed #ddd;
}

/* Style for grid style blogs on news center page */
.et_pb_blog_grid .et_pb_post {
    width: 190px;
    margin-right:30px;
    margin-bottom:30px;
}

/* Avatars */
article .comment_avatar {
  width: 78px;
}

/* Author box styles */
.author-box {
    border-top: 1px solid #DDDDDD;
    border-bottom:1px solid #DDDDDD;
    padding:15px 0px;
    margin-bottom: 20px;
}

article .et_pb_post .entry-content {
  padding-top: 0;
}
/*
article.post img {
  margin: 25px 15px 10px 0px;
}
*/

article.post .about-author-image img {
    margin: 0px;
}


.entry_author_image {
  width: 116px;
  float: right;
  padding-left: 40px;
}

.short-section {
  padding: 18px 0 6px 0;
}

/*************************
 * Inline Object
 ************************/
.inline-left {
	position: relative;
    min-height: 140px;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
    .inline {
        display: table;
        width: 100%;
    }
    .inline > * {
        display: table-cell;
        vertical-align: top;
    }
    .inline-left {
        width: 270px;
    }
}

/*************************
 * Single Image On Post
 ************************/
.postImage {
    float: left;
    margin-right: 10px;
    max-width: 380px;
    max-height: 380px;
}

.mix-entry-content_noPad {
    padding-top: 0px !important;
}




/*******************************
    Homepage news
    News center posts
*******************************/

/*.home div.et_pb_posts article img, div#left-area article img {
  width: 120px;
}
*/
/* News Center */

.archive .et_pb_posts article a:first-child img {
  width: 124px;
}
.page-id-4028 .et_pb_post h2,
.archive .et_pb_post h2,
.home .et_pb_post h2,
.search .et_pb_post h2 {
  margin-top: 0px !important;
}
.page-id-4028 .et_pb_posts article,
.archive .et_pb_posts article,
.home .et_pb_posts article,
.category article,
.post-type-archive-research article{
  padding-top: 10px;
  padding-bottom: 5px;
  margin-bottom: 0;
  min-height: 145px;
}
.home .et_pb_promo.promo_small{
	margin-top: -15px;
	margin-bottom: 0px;
}

.page-id-4028 article .post-meta,
.archive article .post-meta,
.home article .post-meta {
  padding-top: 0;
}

/*******************************
    Main Navigation
*******************************/

/* Mobile menu colors */

.et_mobile_menu li a {
  color: #fff;
}

.et_mobile_menu li a:hover {
  color: #ccc;
}

/* Color / Hovers */

#top-menu a:hover {
  color: #ccc;
}

/*******************************
    Subscribe Modal
    Colors: tan(#F6F2EF) red(#CE563E) blue(#9DAECD)
*******************************/
.gform_widget {
    
}
.gform_widget #gform_1 input.large {
    box-sizing: border-box;
    border: 1px solid #333;
    padding: 4px 5px;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.gform_widget .gform_wrapper .gform_footer input[type=submit] {
    background: none;
    border: 1px solid #CE563E;
    color: #CE563E;
    font-size: 1em;
    padding: 10px 20px;
    cursor: pointer;
}

.gform_widget .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #CE563E;
    color: #FFFFFF;
}

.gform_widget .gform_wrapper .gform_footer.right_label,
.gform_widget .gform_wrapper .gform_footer.left_label {
    padding: 0;
    margin: 0;
    text-align: center;
}

.cnn-popup-subscribe {
  padding: 0 !important;
  width: 600px;
  margin: 0 auto;
  background: #f6f2ef;
  position: relative;
}

.cnn-popup-subscribe .mfp-close {
  background: url(images/btn-close.png) no-repeat;
  text-indent: -9999px;
  width: 29px;
  height: 29px;
  margin-top: 15px;
  margin-right: 5px;
  cursor: pointer;
}

.cnn-popup-subscribe h2 {
  margin-top: 40px;
  padding-top: 47px !important;
  margin-bottom: -5px;
}

.cnn-popup-subscribe h2,
.cnn-popup-subscribe p {
  padding: 20px;
}

.cnn-popup-subscribe #gform_wrapper_1 {
  margin: 0;
  max-width: 100%;
  margin-bottom: -20px;
}

.cnn-popup-subscribe .validation_error {
  display: none;
}


.cnn-popup-subscribe .gform_wrapper .ginput_container + .gfield_description.validation_message {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 7px 0 0 0 !important;
}

/* Footer */

.cnn-popup-subscribe #gform_wrapper_1 .gform_footer {
  
  padding: 16px 0 16px 0px;
  text-align: center;
  position: relative;
  top: 3px;
  margin-top: 0px; 
  margin-bottom: 20px; 
}
.cnn-popup-subscribe #field_1_2{
	margin: 0px;
}
.cnn-popup-subscribe .gform_wrapper .cnn-popup-subscribe .gform_footer.right_label,.cnn-popup-subscribe  .gform_wrapper .gform_footer.left_label {
	margin-left: 100px;
}
/* Inputs */

.cnn-popup-subscribe #gform_wrapper_1 input[type=submit] {
  background: none;
  border: 2px solid #5A7FB5;
  color: #5A7FB5;
  font-size: 1.2em;
  padding: 10px 20px;
  cursor: pointer;
}

.cnn-popup-subscribe #gform_wrapper_1 input[type=submit]:hover {
  border: 2px solid #5A7FB5;
  color: #5A7FB5;
}

.cnn-popup-subscribe #gform_fields_1 {
  text-align: center;
}

.cnn-popup-subscribe #input_1_1 {
  border: 2px solid #333;
  padding: 12px 5px;
  font-size: 1.2em;
  text-align: center;
}

/* iOS quirk for input */

@media only screen and (max-width: 767px) {

  .cnn-popup-subscribe #input_1_1 {
    width: 72%;
    padding: 12px 30px;
  }

  .cnn-popup-subscribe {
    width: 88%;
  }
  .expand_on_mobil{
  	width: 100%;
  }
	
}

/* Confirmation message */

.cnn-popup-subscribe #gform_confirmation_message_1 {
  padding: 15px 30px 25px 30px;
  font-size: 1.2em;
}


/*******************************
    Testimonials
*******************************/

.et_pb_testimonial_meta {
  padding: 5px 0 5px 0;
}

/*******************************
    Social Bar
*******************************/

@media only screen and (max-width: 500px) {
    .et_monarch .et_social_heading {
        padding-right: 40px;
    }
}

@media only screen and (max-width: 1024px) {
  .et_monarch .et_social_mobile {
    width: 50%;
  }
  .et_monarch .et_social_networks li, .et_monarch .et_social_mobile .et_social_networks li {
    width: 100% !important;
    margin: 5px 0 0 0 !important;
  }
  .et_monarch .et_social_networks li:nth-child(-n+2), .et_monarch .et_social_mobile .et_social_networks li:nth-child(-n+2) {
    margin: 5px 0 0 0 !important;
  }
}

/*******************************
    Donate
*******************************/

#gform_2 #input_2_3 li {
  /*
  background: #5C80AE;
  width: 126px;
  display: block;
  padding: 20px 10px !important;
  color: #fff;
  font-size: 1.55em;
  text-align: center;
  margin: 10px;
  */

  width: 33%;
  display: inline-block;
}

#gform_2 #input_2_3 input {
  display: none;
  margin-top: 10px;
  margin-left: 10px;
}

#gform_2 #input_2_3 label {
  margin: 0;
  background: #5C80AE;
  text-align: center;
  padding: 20px 0px !important;
  color: #fff;
  font-size: 1.55em;
  text-align: center;
  margin: 10px;
  cursor: pointer;
}

#gform_2 #input_2_3 input[type="radio"]:checked+label,
#gform_2 #input_2_3 input[type="checkbox"]:checked+label {
    background: #E6EAEF;
    color: #666666;
}

#gform_2 #input_2_2{
	width: 100%!important;
}
#gform_2 #input_2_22 li {
  display: inline-block;
  background: #E6EAEF;
  width: 35%;
  padding: 10px 20px !important;
  font-size: 1.15em;
  margin: 6px;
}

#gform_2 #field_2_21 {
  display: block;
  background: #E6EAEF;
  width: 278px;
  font-size: 1.15em;
  margin: 6px;
  margin-top: 24px !important;
  padding-top: 0px !important;
  font-weight: bold;
  padding: 0px 20px 14px 20px !important;
  margin-bottom: 0px !important;
}

#gform_2 #field_2_16 {
  background: #E6EAEF;
  padding: 0px 20px 15px 20px;
  width: 267px;
}

#gform_2 #field_2_2 {
  font-size: 1.5em;
  width: 282px !important;
  font-weight: bold;
  padding: 15px;
}

@media only screen and (max-width: 600px) {

  #gform_2 #field_2_21,
  #gform_2 #field_2_16{
    width: 80%!important;
  }
	.et-waypoint.et_pb_image{
		-moz-transform:scale(0.8);
    	-webkit-transform:scale(0.8);
    	transform:scale(0.8);	
	}
	#gform_2 #gform_submit_button_2{ width:240px!important }
	.et_pb_section{padding: 10px!important;}
	#gform_2 #input_2_3{font-size: 12px;}
}


/*****************************************
    Sidebar customization
    See: http://www.wpthemefaqs.com/setting-the-divi-theme-sidebar-background-color/
*****************************************/

#sidebar {
    background-color: #fafafa;
}

.et_left_sidebar #sidebar .gform_widget,
.et_pb_widget_area_left .gform_widget {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Increase the container width by 60px to provide space for outer margins */

@media only screen and (min-width: 1100px) {
  .et_right_sidebar #main-content .container, .et_left_sidebar #main-content .container {
    width: 1140px;
  }
}

@media only screen and (min-width: 981px) and (max-width: 1099px) {
  .et_right_sidebar #main-content .container, .et_left_sidebar #main-content .container {
    width: 1020px;
  }
}

/* Add outer padding */

@media only screen and (min-width: 981px) {
/* Add 30px margin to outside edge of sidebar */
  .et_right_sidebar #sidebar .et_pb_widget {
    margin-right: 30px;
  }
  .et_left_sidebar #sidebar .et_pb_widget {
    margin-left: 30px;
  }
/* Add 30px margin to outside edge of main area (for balance) */
  .et_right_sidebar #left-area {
    margin-left: 30px;
  }
  .et_left_sidebar #left-area {
    margin-right: 30px;
  }
}

/* Declare the sidebar width */

@media only screen and (min-width: 1100px) {
  .et_left_sidebar #sidebar, .et_right_sidebar #sidebar {
    width: 254px;
  }
}

@media only screen and (min-width: 981px) and (max-width: 1099px) {
  .et_left_sidebar #sidebar, .et_right_sidebar #sidebar {
    width: 224px;
  }
}

/* Fix the inside padding / margin on medium screens */

@media only screen and (min-width: 981px) and (max-width: 1099px) {
/* Reduce inside margin on main content */
  .et_right_sidebar #left-area {
    margin-right: 30px;
  }
  .et_left_sidebar #left-area {
    margin-left: 30px;
  }
/* Add as inside padding to sidebar instead */
  .et_right_sidebar #sidebar {
    padding-left: 30px;
  }
  .et_left_sidebar #sidebar {
    padding-right: 30px;
  }
}

/* Fix the dividing line position */

@media only screen and (min-width: 981px) {
  .et_right_sidebar #main-content .container:before {
    right: 254px;
  }
  .et_left_sidebar #main-content .container:before {
    left: 254px;
  }
}

/* Extend sidebar vertically */

@media only screen and (min-width: 981px) {
  .et_right_sidebar #sidebar, .et_left_sidebar #sidebar {
    padding-top: 60px;
    margin-top: -57px;
    padding-bottom: 10px;
  }
}

/* Add padding on small screens (mobiles, etc) */

@media only screen and (max-width: 981px) {
  #sidebar {
    padding: 30px !important;
    margin: 0 0 30px 0 !important;
  }
}
/*logo fixes*/

.et_fixed_nav #logo { max-height: 90px; margin-top: -40px}
.et-fixed-header #logo { max-height: 50px; margin-top: -18px }
/*gets rid of extra padding without except the main banner*/
.et_pb_section:not(.et_pb_fullwidth_section){padding: 5px 50px;}
/*custome padding changes*/
.et_pb_testimonial{padding: 22px;}
.et_pb_testimonial p{line-height: 1.3em}
/*drop caps*/
.dropcap {
	font-size: 4em;
	float: left;
	text-indent: 0em;
	line-height: .8em;
	margin: 0 4px 0 0;
	color: #999;
}
.news_page{
	font-size: 18px;
	font-family: "Times New Roman", Times, serif;
}
/*header font*/
@import url(http://fonts.googleapis.com/css?family=Josefin+Sans);
#top-menu{
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;	
	font-size: 18px!important;
}
.btn-donate a{
	color: #fff!important;
	background: #e08c42;
	padding: 7px 7px 3px 7px!important;
	
}
#footer-widgets .btn-donate a{
	margin-left: -15px;
  	padding: 10px!important;
}

.et-search-field{
	position: relative;
	top: -4px;
	height: 31px;
	border: 0px;
	width: 100%;
	padding-left: 10px;
}
#et_top_search{
	margin: 14px 0 0 20px;
}
.et-fixed-header .et-search-field{
	top: -10px;
}
#top-menu a{
	font-size: 18px!important;
}
/*donate form*/
.gform_wrapper.two-column_wrapper ul.gform_fields {
display: none;
}
.gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
display: block;
float: left;
width: 50%;
}
@media only screen and (max-width: 760px)  {
	.gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
		display: block;
		width: 100%;
		
	}

	.cnnWhiteBackground{
		padding: 5px 10px !important;
	}
	.search .inline-left{
		display: none;
	}
	article .inline-left img:first-of-type{ 
		width: 100% !important;
		clip: rect(0px,300px,140px,0px)!important
	}
	.et_fixed_nav #logo{
		max-height:35px;
		margin-top: 0px;
		margin-left: 0px;
	}
	#et_top_search{
  		width: 75%!important;
  		margin-left: 0px;
  		margin-right: -10px;
  	}
	.mobile-hide{
		display: none;
	}
	.mobile-collapse-menu .sub-menu{
		display: none;
	}
	.mobile-collapse-menu .widget_nav_menu{
		display: none;
	}
}
.gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child, #field_2_28 {
display: none;
}
#gform_2 .donation-type ul li{
	display: inline-block;
}
#gform_2 input.medium, #gform_2 select.medium{
	width: 95%!important;
}
#gform_2 #gform_submit_button_2{
	color: #fff!important;
	background: #e08c42;
	padding: 11px!important;
	border: 0px;
	font-size: 18px;
	font-weight: bold;
	width: 283px;
}
#gform_2 .gfield_required{
	color: #e08c42;
}

#gform_2 .ginput_total{
	font-size: 22px;
	font-weight: bold;
	color: #e08c42;
}
li #et-footer-nav .container{
	float: right;
	width: 280px;
}
li #et-footer-nav .container .bottom-nav2 a{ color: #fff; font-size: 12px;}



.research-meta {
	margin:15px 0px;
}
.et_pb_main_blurb_image{
	margin-bottom: 10px !important;
}

.et_pb_promo_description, .et_pb_text{padding-bottom: 5px;}
.et_pb_text{ margin-bottom: 5px;}

.next-prev {
	width:50%;
	float:left;
}

.next-prev p.left {
	padding-right:15px;
}

.next-prev p.right {
	padding-left:15px;
}

@media only screen and ( max-width: 740px ){
	.next-prev {
		width:100%;
	}
	.next-prev {
		padding:0px 0px 10px 0px;
	}
}

/***research***/
.right-checkbox-title{
	font-size: 12px;
}
.research_form #searchsubmit{
	
}

.et_pb_post .inline-right,.et_pb_post .inline-right p, .news_line_lineheight{
	font-size: 13px;
	font-family: Helvetica, Arial, Lucida, sans-serif !important;
	line-height: 16px;
}
.et_pb_post .inline-right,.et_pb_post .inline-right p{
	color: #000;
	padding-bottom: 0px;
}

.inline-right .post-meta{
	margin-top: 8px!important;
}
.green_font{
	color: #579552!important;
}
.green_font a{
	color: #579552!important;
}
.gray-title, .gray-title a{color: #777;}



/********sub menus*********/
.et_pb_promo_button, #submit, .comment-reply-link, .et_pb_more_button{
  	font-size: 16px;
}
.et_pb_promo_button:after, #submit:after, .comment-reply-link:after, .et_pb_more_button:after{
	top: 2px;
}
/********end sub menus*********/
.upper-left{
	margin-left: -15%;
	margin-top: -18%;
	text-align: left;
}
.lower-left{
	margin-left: -15%;
	margin-top: 18%;
	text-align: left;
}
.upper-right{
	margin-right: -14%;
	margin-top: -18%;
	text-align: right;
}

.lower-right{
	margin-right: 14%;
	margin-top: 18%;
	text-align: right;
}


/******inetz login****/


.inetz-login-page{
 	margin-top: 10px;
 	margin-bottom: 10px;
 
}
.inetz-login-page .formGroup{
	padding: 5px;
}
.inetz-login-page .formGroup label{
	display: inline-block;
	font-size: 20px;
	width: 180px!important;
}
.inetz-login-page .formGroup input, .inetz-login-page .formGroup select{
	height: 25px; font-size: 20px; width: 234px;  font-size: 20px;
}

.inetz-login-page .formGroup input[type="submit"]{
	height: 30px; font-size: 18px;
}
.inetz-login-page .inetz-login{

}
.inetz-login-page  .inetz-register{

}

.clear{
	clear:both;
}
.orange_border{
	border-color: #e08c42!important;
	color: #e08c42!important;
}
.orange_border:after{
	top: 2px;
}
.email_sign_up_form{
	margin-left: 0px!!important;
	width: 100%!important;
}
#sidebar h3{
	margin: 15px;
}
.widget_search{
	margin: 15px;
}

.research_form  h4, .research_form  label{
	margin-top: 15px;
}
.single-research #comment-wrap{
	padding-top: 0px;
}
.home-page-author .entry_author_image{
	padding-left: 0px;
	float: left;
	width: 100%;
}
#main-footer #gform_wrapper_1{
	border: 1px solid #fff;
	padding: 20px;
	text-align: center;
}
#main-footer #gform_wrapper_1 .medium{
	width: 90%;
}
#main-footer .menu li:before, #main-footer #gform_wrapper_1 ul, #main-footer #gform_fields_1 li:before{
	border: 0px;
	list-style: none;
}
#main-footer .gform_wrapper .gform_footer{
	padding-top: 0px;
	margin-top: 0px;
}


.reveal-modal-bg{
	background: rgba(0,0,0,.5);
	
}
.next_back{
	margin-top: 15px;
}
.blockquote-with-image{
	margin-top: -5px;
}


/*******************************
    Pop up servey
*******************************/
.popup-survey-title{
	color: #000;
}
.popup_survey_Modal{
	background: #FFF;
}
.popup_survey_Modal p{
	color: #000;
}

/*******************************
   End Pop up servey
*******************************/

