/*----- home page edits based of garret mockup ------*/

/* header all pages */

#page-container #top-header {
	display: none !important;
}

/*
#header-donate-button {
    letter-spacing: normal;
    color: #fff !important;
    background-color: #b13934;
    border-color: #b13934;
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400 !important;
    padding-right: .7em;
}

#header-donate-button:hover {
	color: #b13934 !important;
	background-color: #fff;
	border: 1px solid #b13934;	
}

#header-donate-button:after {
	display: none;
}

#divi_pb_widget-3 .et_pb_row .et_pb_column:last-child {
	width: auto;
	float: right;
}*/

#page-container #main-header span.et_pb_image_wrap > span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated {
	color: #253a6c !important;	
}

#page-container #main-header .header_widget_area a {
	color: #253a6c;
	font-size: 18px;
    /*font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;*/
}

#page-container #main-header .et_pb_column_1_3 h4 {
	padding-bottom: 0px;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-weight: 400;
}

#page-container #main-header #top-menu  a {
	color: #253a6c;
}

/* header homepage only - transparent */
.page-id-25335 #page-container {
	padding-top: 0px !important;
}

.page-id-25335 #page-container #main-header {
	background-color: transparent;
}

.page-id-25335 #page-container #main-header .et_pb_column_1_3 h4 {
	color: #fff;
}

.page-id-25335 #page-container #main-header .header_widget_area a {
	color: #fff;
}

.page-id-25335 #page-container #main-header .et_pb_widget a {
	color: #fff;
}

.page-id-25335 #page-container #main-header span.et_pb_image_wrap > span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated {
	color: #fff !important;
}

.page-id-25335 span.et_pb_image_wrap > span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated {
	color: #fff !important;
}

/*.page-id-25335 #page-container #main-header .et_pb_button_0 {
	color: #253A6C !important;
	background-color: #fff;
	border-color:#fff;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400 !important;
}

.page-id-25335 #page-container #main-header .et_pb_button_0:hover {
	letter-spacing: normal;
	color: #fff !important;
	background-color: #b13934;
	border-color: #b13934;
}*/

.page-id-25335 #page-container #main-header #top-menu a {
	color: #fff;
}

.page-id-25335 #page-container #main-header #top-menu .sub-menu a {
	color: #253a6c;
}
/* header - sticky */

.page-id-25335 #page-container #main-header.et-fixed-header .header_widget_area a {
	color: #253a6c;
}

/*
#page-container #main-header.et-fixed-header .et_pb_button_0 {
	letter-spacing: normal;
	color: #fff !important;
	background-color: #b13934;
	border-color: #b13934;
}

#page-container #main-header.et-fixed-header .et_pb_button_0_wrapper {
	margin-top: -10px;
}

#page-container #main-header.et-fixed-header .et_pb_button_0:hover {
	color: #b13934 !important;
	background-color: #fff;
	border: 1px solid #b13934;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400 !important;
    padding-right: .7em;
}
*/

/* header - sticky - homepage only*/

.page-id-25335 #page-container #main-header.et-fixed-header {
	background-color: #fff;
}

.page-id-25335 #page-container #main-header.et-fixed-header #top-menu  a {
	color: #253a6c;
}

.page-id-25335 #page-container #main-header.et-fixed-header .et_pb_widget a {
	color: #253a6c;
}

.page-id-25335 #page-container #main-header.et-fixed-header .et_pb_column_1_3 h4 {
	color: #253a6c;	
}

.page-id-25335 #page-container #main-header.et-fixed-header span.et_pb_image_wrap > span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated {
	color: #253a6c !important;	
}

/* END header */

.page-id-25335 #page-container .breadcrumbs{
	display: none !important;
}

.page-id-25335 .et_pb_widget a {
	color: #fff;
	font-size: 18px;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
}

#top-menu li.mega-menu>ul>li>a:first-child {
	border-bottom: none !important;
}

.page-id-25335 .et_close_search_field {
	color: #fff;
}

.page-id-25335 #main-header #et_search_icon {
	color: #fff;
}

.page-id-25335 #main-header.et-fixed-header #et_search_icon {
	color: #253A6C !important;
}

.page-id-25335 #main-header.et-fixed-header .et_close_search_field {
	color: #253A6C;
}

.page-id-25335 #main-header .et-search-form input::placeholder {
	color: #fff;
}
.page-id-25335 #main-header .et-search-form input {
	color: #fff;
}

.page-id-25335 #main-header.et-fixed-header .et-search-form input::placeholder {
	color: #253A6C !important;
}
.page-id-25335 #main-header.et-fixed-header .et-search-form input {
	color: #253A6C !important;
}

#top-menu li.mega-menu:hover > ul {
	opacity: 1 !important;
	border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.logo_container #divi_pb_widget-3 .et_pb_row {
	width: 88%;
}

/*START white homepage logo */

.page-id-25335 #page-container .logo_container img {
	display: none;
}

.page-id-25335 #page-container .logo_container > a {
    background-image: url(/wp-content/themes/Divi-child-update/assets/img/navigation-logo-white@2x.png);
    margin-top: 25px;
    height: 41px;
    min-width: 109px;
    background-size: 109px 41px;
    display: inline-block;
    background-repeat: no-repeat;
}
.page-id-25335 #page-container #main-header.et-fixed-header .logo_container > a {
	background-image: none;
    background-size: auto;
    width: auto;
    height: auto;
    margin-top: 0px;
}

.page-id-25335 #page-container #main-header.et-fixed-header .logo_container img {
	display: inline-block;
}
/*END white homepage logo */

/* hero video section */
.page-id-25335 .et_pb_section_video:not(.et_pb_fullwidth_menu) {
	height: 86vh;
}

/*
.page-id-25335 .et_pb_section_0 .et_pb_row_1 {
	margin: 22% 0 0 2%;
}

.page-id-25335 .et_pb_section_0 .et_pb_row_1 .et_pb_blurb_content {
	margin: 0 0 0 30px;
}
*/

/* seciton under vid -- 3 sections */
/*.page-id-25335 .et_pb_section_2 .et_pb_column {
	height: 80px;
	border-top: 1px solid #fff;
	padding: 30px;
}

.page-id-25335 .et_pb_section_2 .et_pb_column_3 {
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
}


.page-id-25335 .et_pb_section_2 .et_pb_column a {
	color: #fff;
	font-size: 18px;
}
*/

/*-- count down section ----*/
/*.page-id-25335 .et_pb_countdown_timer .section p {
	color: #B13934 !important;
}

.page-id-25335 .et_pb_countdown_timer_0 {
	max-width: 100% !important;
}*/



/*---- What we do section ----*/
/*
.page-id-25335 .et_pb_section_3 .et_pb_row {
	height: 450px;
}

.page-id-25335 .et_pb_section_4.et_pb_section {
    padding-top: 0;
    padding-bottom: 0;
}

.page-id-25335 .et_pb_blurb_4.et_pb_blurb {
	padding-top: 145px!important;
	line-height: 1.2em !important;
}

.page-id-25335 .et_pb_image.et_pb_image_2  .et_pb_image_wrap {
	overflow: hidden;
}

.page-id-25335 .et_pb_image.et_pb_image_2  .et_pb_image_wrap img {
    max-height: 592px;
    max-width: none;

}

.page-id-25335 .et_pb_blurb_3.et_pb_blurb {
	padding-top: 145px !important;
}

.page-id-25335 .et_pb_section_8 .et_pb_blurb_description span.s1 {
	line-height: 1.2em;
}

.page-id-25335  .et_pb_section_12 .et_pb_image {
	display: inline-block;
}
*/


/*
.page-id-25335  .et_pb_section_12 .et_pb_image img {
	max-height: 23px;
}

.page-id-25335 .percent .percent-value {
	font-size: 32px;
}

.page-id-25335 .et_pb_countdown_timer .title {
	font-weight: 300;
}
*/

/*@media (min-width: 981px)
.page-id-25335 .et_pb_row.et_pb_row_fullwidth, .page-id-25335 .et_pb_specialty_fullwidth>.et_pb_row {
    width: 89%!important;
    max-width: 89%!important;
}*/


/*---- our stories section --- */


/*.page-id-25335 div.et_pb_section.et_pb_section_6 {
	min-height: 100vh;
}*/


/* ----- donate section ----*/
.page-id-25335 .et_pb_column_13, .page-id-25335 .et_pb_column_14, .page-id-25335 .et_pb_column_15, .page-id-25335 .et_pb_column_16 {
	border-radius: 3px;
}


/*--- Our Approach section ---*/
/*.page-id-25335 .et_pb_row_1 {
		overflow: visible !important;
	}

.page-id-25335 .et_pb_column_19, .page-id-25335 .et_pb_column_20, .page-id-25335 .et_pb_column_21{
	border-radius: 5px;
	-moz-box-shadow: 0 0 10px  #ccc;
	-webkit-box-shadow: 0 0 10px  #ccc;
	box-shadow: 0 0 10px  #ccc;
}

.page-id-25335 .et_pb_column_19 h4, .page-id-25335 .et_pb_column_20 h4, .page-id-25335 .et_pb_column_21 h4{
	font-weight: 400;
}
*/

/*----- subscribe section ----*/

/*----button------*/
/*body.page-id-25335 #page-container .et_pb_signup_0.et_pb_subscribe .et_pb_button {
    margin-left: auto;
    margin-right: auto;
    width: 43%;
    border-radius: 5px;
 }*/

/*----form input field----*/

/*.page-id-25335 .et_pb_newsletter_form input[type=text], .page-id-25335 .et_pb_newsletter_form p.et_pb_newsletter_field input[type=text] {
	width: 70%;
    height: 65px;
}*/


/*---social media incons---*/

/*.page-id-25335 .et_pb_column_22 .et_pb_image {
    float: left;
}

.page-id-25335 .et_pb_column_22 .et_pb_image img {
	max-width: 30px;
	height: auto;
}
*/


/*---- together we change section------*/

/*
.page-id-25335 .et_pb_number_counter_0.et_pb_number_counter .percent p {
    color: #fff!important;
}*/

/*---text under counter percentages--*/
.page-id-25335 .et_pb_number_counter_0.et_pb_number_counter h3,.page-id-25335 .et_pb_number_counter_1.et_pb_number_counter h3,
.page-id-25335 .et_pb_number_counter_2.et_pb_number_counter h3,.page-id-25335 .et_pb_number_counter_3.et_pb_number_counter h3 {
	background-color: #fff;
    line-height: 2.25em;
    display: inline;
    padding-bottom: 0;
    box-shadow: 3px 0 0 #fff, -3px 0 0 #fff;
    padding: 2px 0;
}


/*
@media screen (min-width: 770px) and (max-width: 1900) {
	.page-id-25335 .et_pb_row_1{
	margin: 14% 0 0 2%;
	}
}*/

/*-- Footer --*/

#footer-bottom {
	background-color: #fff !important;
	padding-bottom: 25px;
}
#footer-bottom #menu-footer-menu {
	display: inline-block;
}

#footer-bottom #menu-footer-menu li a {
	color: #666666;
	font-weight: 400;
}

#footer-bottom .et-social-icons li {
	margin-top: 15px !important;
}

#footer-bottom .et-social-icons li a.icon {
	font-size: 17px;
}

#footer-bottom .et-social-icons li a.icon:before {
	color: #253a6c;
}

#footer-bottom #footer-sub {
	color: #909090;
	font-size: 12px;
	text-align: center;
	padding: 10px 0px;
}

#footer-bottom #footer-sub #footer-sub-nav {
	display: inline-block;
	float: left;
}

#footer-bottom #footer-sub #footer-sub-nav li {
	display: inline-block;
	float: left;
}

#footer-bottom #footer-sub li#divider {
	padding: 0 5px;
}

#footer-bottom #footer-sub #footer-sub-nav li a {
	color: #909090;
}


/*#footer-bottom #footer-sub .copyright {
	display: inline-block;
    width: 45%;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
}*/

#footer-bottom #footer-sub .site-credit {
	display: inline-block;
	float: right;
}

#footer-bottom #footer-sub .site-credit a {
	color: #909090;
}

/* Ian's additions */

/* Fixes hero to cover whole body on desktop */
.page-id-25335 .et_pb_section_video:not(.et_pb_fullwidth_menu) {
  height: calc(100vh - 240px);
  min-height: 480px;
}

@media (min-width: 981px) {
	.et_header_style_centered #main-header div#et-top-navigation{
		border-bottom: none;
	}

  .page-id-25335 .et_pb_section_video:not(.et_pb_fullwidth_menu) {
    height: calc(100vh - 100px); /* browser height minute bottom nav items */
    min-height: 600px; /* makes sure it doesn't collide with hero text */
  }
  .page-id-25335 #main-header.et-fixed-header #divi_pb_widget-3 {
  	    top: 14%;
  }
}

@media only screen and (max-width: 767px) {
	/* Makes sure the hero is available on mobile: remove these lines */
  .et_pb_section_0 {
    display: none!important;
  }

  /* Adjust Countdown */
  /*.page-id-25335 .et_pb_column .et_pb_countdown_timer_0.et_pb_countdown_timer .section p.value {
  	font-size: 30px !important;
  }
  .page-id-25335 .et_pb_text_3 p {
  	line-height: 1 !important;
  }*/
}


/* Fixes vertical margin around countdown */
/*.page-id-25335 .et_pb_section_4.et_pb_section {
  margin: 100px auto;
}*/

/* Fixes vertical margine on mobile */
@media (max-width: 980px) {
  .et_pb_row .et_pb_column .et_pb_module.et-last-child, .et_pb_row .et_pb_column .et_pb_module:last-child, .et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child, .et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child {
    margin-bottom: 50px;
  }
}

/* Fixes red background on Other donate button */
/*.et_pb_column_22 {
  background: #b13934;
}*/

@media (max-width: 980px) {
	/* Makes mobile header translucent but readable */
  	.page-id-25335 #page-container #main-header {
    	background-color: rgba(255,255,255,0.9);
  	}
  	/* Fixes what we do  */
  	/*.page-id-25335 .et_pb_image.et_pb_image_2 .et_pb_image_wrap img {
  		max-width: 100%;
  		height: auto;
  	}
  	.page-id-25335 .et_pb_row .et_pb_column.et_pb_column_10 .et_pb_module:last-child {
  		margin-bottom: 0px;
  	}*/
	/* Fixes donation buttons */
  	/*.page-id-25335 .et_pb_row_8 .et_pb_column .et_pb_module {
  		margin-bottom: 0px !important;
  	}*/
  	/* Fixes our approach boxes */
  	/*.page-id-25335 .et_pb_row .et_pb_column.et_pb_column_19 .et_pb_image, .page-id-25335 .et_pb_row .et_pb_column.et_pb_column_20 .et_pb_image, .page-id-25335 .et_pb_row .et_pb_column.et_pb_column_21 .et_pb_image {
		margin-bottom: 0px;
	}*/

	/*.page-id-25335 .et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_description {
		display: none;
	}

	.page-id-25335 .et_pb_signup_0.et_pb_subscribe {
		padding-top: 50px!important;
	    padding-right: 5px!important;
	    padding-bottom: 50px!important;
	    padding-left: 5px !important;
	}

	.page-id-25335 .et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_form {
		width: 100%;
	}*/
}

@media (max-width: 1120px) {
	.et_pb_widget a {
		font-size: 17px;
	}
	
	#page-container #main-header .header_widget_area a {
		font-size: 16px;
	}

	body.page-id-25335 #page-container .et_pb_signup_0.et_pb_subscribe .et_pb_button {
		width: 55%;
	}

}

/*-- Daniel's Addition for forms --*/
/*span.help-inline.wp_crm_error_messages { color: #D8000C; background-color: #FFD2D2; font-size: 15px; vertical-align: middle; } .wp_crm_response_text.failure{ color: #D8000C; background-color: #FFD2D2; font-size: 15px; vertical-align: middle; } .wp_crm_required_field div label.control-label.wp_crm_input_label:after { content: "*"; color: red; } ul.wp_crm_contact_form:before { content: "* denotes REQUIRED FIELD"; font-size: 12px; padding: 2px; color: red; }*/
