/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/*-----Leadform------*/

.contactForm-container {
	display: none;
	position: relative;
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
}

.contactForm {
    position: absolute;
    right: 0;
    width: 30%;
    margin-top: 0px;
}

.contactForm .quickform {
    width: 100%;
    padding: 10px 20px 10px;
    background-color: rgba(0,0,0,0.65);
	transition: .4s all ease-in-out;
    }

.contactForm .quickform .formhead {text-align: center; color: #fff;}

.contactForm .quickform .formbody {
	height: 0px;
	overflow: hidden;
	transition: .4s all ease;
}

.contactForm .quickform .line1 {
	position: relative;
	font-size: 18px;
	text-transform: uppercase;
	padding: 0 15px;
}

.contactForm .quickform .line1 .quickform-arrow {
	position: absolute;
    top: 2px;
    right: 0;
	margin-top: -2px;
}

.contactForm .quickform .line1 .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}

.contactForm .quickform.expanded .line1 .quickform-arrow:after {
    content: "2";
}


.contactForm .quickform .line3 a {
	color: #fff;
}

.contactForm .quickform.expanded .formbody {
	height: 213px;
	transition: .4s all ease;
}

.contactForm .quickform .formsubmit {
	height: 0;
	opacity: 0;
	transition: .2s all ease;
	transition-delay: 0s;
    overflow: hidden;
}

.contactForm .quickform.expanded .formsubmit {
	height: auto;
	opacity: 1;
	transition: .2s all ease;
	transition-delay: .2s;
}

.contactForm .quickform input,
.contactForm .quickform select,
.contactForm .quickform textarea {
	color: #fff;
	font-family: Poppins;
	text-transform: uppercase;
	background-color: rgba(255,255,255,.5);
}

.contactForm .quickform #fName, .contactForm .quickform #lName {
    width: 49.5%;
    float: left;
    height: 34px;
}

.contactForm .quickform #fName {margin-right: 1%;}
.contactForm .quickform #uEmail{
    width: 100%;
    height: 34px;
    margin-top: 1%;
    margin-bottom: 1%;
}

.contactForm .quickform #uPhone,
.contactForm .quickform #uZip {
    width: 49.5%;
    float: left;
    height: 34px;
}

.contactForm .quickform #uPhone {margin-right: 1%;}

.contactForm .quickform #uProc {
    width: 100%;
    height: 34px;
    margin-top: 1%;
    margin-bottom: 1%;
    }

.contactForm .quickform #uMsg {width: 70%;}    

.contactForm .quickform #sndForm {
    position: absolute;
	width: 30%;
    bottom: 35px;
    float: right;
    right: 11px;
    border: 0;
    background-color: transparent;
    color: #fff;
    background: url('/wp-content/themes/Divi-child/images/send_btn_gray.png');
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    }

@media only screen  and (max-width : 1440px) {
    .contactForm .quickform #sndForm { 
	}
}  
    
@media only screen  and (max-width : 1024px) {    
    .contactForm {width: 30%;}
}

@media only screen  and (max-width : 980px) {    
    .contactForm {
		margin-top: 20px;
	}
}
    
@media only screen  and (max-width : 768px) {  
	
	.contactForm {
		width: 100%;
		float: none;
		left: auto;
		margin-top: 20px;
	}
	
	.contactForm .quickform #sndForm { 
		width: 28%;
		right: 20px;
		bottom: 30px;
		padding: 0;
	}
}

/********* Mobile Menu Collapse ********/
#main-header .et_mobile_menu li ul.hide {
	display: none !important;
}
#mobile_menu .menu-item-has-children {
	position: relative;
}
#mobile_menu .menu-item-has-children > a {
	background: transparent;
}
#mobile_menu .menu-item-has-children > a + span {
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	z-index: 3;
}
span.menu-closed:before {
	content: "\4c";
	display: block;
	color: #fff;
	font-size: 16px;
	font-family: ETmodules;
}
span.menu-closed.menu-open:before {
	content: "\4d";
}


/* RSI Mobile Menu */

.mobile_location_link {
	display: none;
}

.mobile_location_link:before {
	position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\e01d";
	color: #816ca4;
    cursor: pointer;
	text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}

.mobile_call_link {
	display: none;
}

.mobile_call_link:before {
	position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\e090";
	color: #816ca4;
    cursor: pointer;
	text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}

@media (max-width:980px) {
	#main-header {
		background-color: rgba(0,0,0,0.7) !important;
	}
	
	.et_header_style_centered #logo {
		max-height: 100px;
	}
	
	.select_page, nav#top-menu-nav {
		display: none !important;
	}

	.et_header_style_centered #main-header .mobile_nav {
		background-color: transparent;
		padding: 0;
	}

	.et_header_style_centered .et_menu_container .mobile_menu_bar {
		position: relative;
		top: auto;
		right: auto;
	}

	.et_header_style_centered #et_mobile_nav_menu {
		position: initial;
		float: right;
		margin-top: 0;
	}
	
	.et_header_style_centered .et_mobile_menu {
		top: 52px;
		height: auto;
	}

	.et_header_style_centered #main-header div#et-top-navigation {
		display: flex;
		justify-content: space-between;
		margin-top: 20px;
	}

	.mobile_menu_bar:before {
		color: #816ca4;
	}
	
	.mobile_call_link {
		display: block !important;
	}
	
	.mobile_location_link {
		display: block !important;
	}
}

/* Custom Nested Mobile Menu CSS */

#main-header .et_mobile_menu .menu-item-has-children {
	position: relative;
}
#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator {
	background-color: transparent; 
	position: absolute; 
	top: 0;
    right: 0;
    z-index: 2;
}
#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator:after { 
	font-family: 'ETmodules'; 
	text-align: center; 
	speak: none; 
	font-weight: normal; 
	font-variant: normal; 
	text-transform: none; 
	-webkit-font-smoothing: antialiased; 
	position: absolute; 
}
#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator:after { 
	font-size: 16px; 
	content: '\4c';
	right: 20px; 
}
#main-header .et_mobile_menu .menu-item-has-children.visible > a.has-children-indicator:after {
	content: '\4d'; 
}
/* #main-header .et_mobile_menu ul.sub-menu { 
	display: none !important; 
	visibility: hidden !important;  
	transition: all 1.5s ease-in-out;
} */
#main-header .et_mobile_menu .visible > ul.sub-menu { 
	display: block !important; 
	visibility: visible !important; 
}

/* Site Custom CSS */

.top-header-logo {
	float: left;
	width: 240px;
}

@media (max-width:980px) {
	.top-header-logo {
		display: none;
	}
}

.et_pb_menu_0_tb_footer.et_pb_menu ul li.highlight-menu a {
    color: #ee5a26 !important;
}

.email-subs-field .tnp-email {
    margin-bottom: 20px;
}

.gform_body {
    font-family: 'Alata',Helvetica,Arial,Lucida,sans-serif;
}

h2.gsection_title {
    font-size: 40px !important;
}


/* Header - Desktop */
header#main-header li.highlight-menu > a {
    color: #ee5a26 !important;
}

.mobile-header {
	display: none;
}
/* - */

/* Header - Donate Banner */
.donate-sticky {
    width: 400px;
    position: absolute;
    background-color: white;
    text-align: center;
    color: #0e4070;
    right: 20px;
}

.donate-sticky .head {
    background-color: #ee5a27;
    color: white;
}

.donate-sticky .head h3 {
    color: white;
}

.donate-sticky .head, .donate-sticky .sub-head {
    padding: 10px;
}

body:not(.home) .donate-sticky {
	display: none;
}
/* - */

/* Mobile Header */
@media (max-width: 768px) {
	.donate-sticky {
		display: none;
	}
	
	.mobile-header {
		display: block;
	}
	
	.mobile-header {
		background-color: white;
	}

	.mobile-header .logo-container{
		background-color: #225381;
		padding: 20px
	}

	.menu-container {
		padding: 20px;
		display: flex;
		justify-content: space-between;
	}

	.menu-container a {
		display: flex;
		align-items: center;
		font-size: 30px;
		color: #ee5a26;
	}

	.menu-container a img {
		width: 30px;
		margin-right: 10px;
	}
	
	.menu-button {
		content: "\61";
		font-size: 32px;
		position: relative;
		left: 0;
		top: 0;
		cursor: pointer;
	}
	
	.menu-logo-container {
		width: 50px;
		margin-top: 15px;
		margin-right: 20px;
	}
	
	header#main-header .container {
		height: 0;
	}

	header#main-header #et-top-navigation {
		height: 0;
	}

	header#main-header #et-top-navigation .mobile_menu_bar {
		display: none
	}

	header#main-header #et-top-navigation ul#mobile_menu {
		top: 230px;
	}
	
	.two-columns .et_pb_column {
		width: 45% !important;
	}

	.two-columns .et_pb_module {
		min-height: 90px !important;
	}
}
/* - */

/* Mobile Homepage */
@media (max-width: 768px) {
	.homepage-impact-long-term-section-mobile .header-content {
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
	}

	.homepage-impact-long-term-section-mobile .et_pb_fullwidth_header_container {
		margin: 0 20px !important;
		width: 90%;
	}
}
/* - */

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
	header#main-header #et-top-navigation ul#mobile_menu {
		top: 320px;
	}
	
	#logo {
		max-height: 40% !important;
	}
	
	.homepage-volunteers-make-difference-desktop,
	.volunteers-make-difference-desktop {
		background-position-x: 80% !important;
	}
	
	.homepage-volunteers-btn {
		margin-top: 100px;
	}
	
	.homepage-volunteer-stories .et_pb_column {
		padding: 50px 20px;
	}
	
	.volunteer-application-btn {
		padding: 0 !important;
		margin-top: 40px;
	}
}
/* - */


/*-----------------------------------------------*/ 
/*-------------DIVI Theme Options CSS------------*/ 
/*-----------------------------------------------*/

/*-----------------------------------------------*/ 
/*-----Scrolling Module Carousel by Divi Soup----*/ 
/*-----------------------------------------------*/


/*Carousel settings, adjust these values only*/

:root {
    --ds-module-number: 24; /*Your TOTAL number of modules, so if you have 8 modules duplicated, this number should be 16*/
    --ds-columns-desktop: 8; /*The number of modules you want displayed at any one time on desktop*/
    --ds-columns-tablet: 6; /*The number of modules you want displayed at any one time on tablet*/
    --ds-columns-mobile: 2; /*The number of modules you want displayed at any one time on mobile*/
    --ds-speed-desktop: 30s; /*The speed you want your carousel to move on desktop (increase value for slower, decrease for faster)*/
    --ds-speed-tablet: 30s; /*The speed you want your carousel to move on tablet (increase value for slower, decrease for faster)*/
    --ds-speed-mobile: 30s; /*The speed you want your carousel to move on mobile (increase value for slower, decrease for faster)*/
}

/**************************************************/
/*You do not need to edit anything below this line*/
/**************************************************/

/*Variables for desktop*/

@media all and (min-width: 981px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-desktop));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-desktop);
    }
}


/*Variables for tablets*/

@media all and (max-width: 980px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-tablet));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-tablet);
    }
}


/*Variables for mobile*/

@media all and (max-width: 479px) {
    :root {
        --ds-module-width: calc(100vw / var(--ds-columns-mobile));
        --ds-scroll-speed: var(--ds-speed-mobile);
    }
}


/*Hide the row overflow*/

.ds-carousel {
    overflow: hidden;
}


/*Define the grid and apply animation*/

.ds-carousel .et_pb_column {
    display: grid;
    grid-template-columns: repeat(var(--ds-module-number), var(--ds-module-width));
    width: var(--ds-column-width);
    -webkit-animation: scroll var(--ds-scroll-speed) linear infinite;
    animation: scroll var(--ds-scroll-speed) linear infinite;
}


/*Apply the module width*/

.ds-carousel .et_pb_module {
    width: var(--ds-module-width) !important;
}


/*Define the animation*/

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}


/*Pause animation on hover*/

.ds-carousel .et_pb_column:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/*-----------------------------------------------*/ 
/*---End Scrolling Module Carousel by Divi Soup--*/ 
/*-----------------------------------------------*/

.menu-item-11570 > a,
.menu-item-11569 > a {
	color: #ee5a26 !important;
}

.rv_button.closed:after {content:"\33";}
.rv_button.opened:after{content:"\32";}

body {
	background-color: #f4f4f4;
}

.ds-carousel img {
    height: 110px;
}