/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://elegantthemes.com/
 Description:  Child Theme For Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com/
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
/* NAVBAR Dropdown Menu */
.nav li ul {
	width: 200px;
	padding-top: 20px;
}

#top-menu > li > ul > li > a, #top-menu > li > ul > li > a {
	font-size: 1em!important;
	line-height: 1.4em;
}

#top-menu > li > ul > li, #top-menu > li > ul > li {
	padding: 0;
}

/* make sustainability green on navbar */
#top-menu > li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-248 > a {
	color: green !important;
} 

/* Hide footer
#main-footer {
    height: 0px!important;
}
 */
/* Logo tilt */
#logo {
	transform: skewY(-5deg);
	margin-bottom: 5px!important;
}

/*****Application form CSS*****/
/* title of form */
#post-422 > h1, #post-646 > h1 {
	visibility: hidden;
}

#nf-field-241 > option:nth-child(1) {
	display: hidden;
}

/* radio button sizing */
#input_1_6, #input_1_8, #input_1_19, #input_1_20, #input_1_21, #field_1_25 > div, #input_1_27, #input_1_32, #input_1_47, #input_1_57 {
	width: 200px;
	font-size: 1.3em;
}

/* push email field down */
#field_1_4 > div {
	margin-top: 22px!important;
}

#input_1_3_4, #input_2_6_4, #input_1_10, #input_1_15, #input_2_9, #input_2_10, #input_2_18, #input_2_19, #input_2_20, #input_2_21 {
	height: 28px!important;
	margin-bottom: 12px;
	margin-top: 0px!important;
}

/* resize request a quote form */
#post-646, #post-422 {
	max-width: 120%!important;
	width: 120%;
}

/* header text (page title) */
.gform_legacy_markup_wrapper span.gform_description {
	visibility: hidden!important;
	text-align: center;
}

#gform_wrapper_2 > div > h3 {
	font-size: 40px;
	text-align: center;
}

/* section text */
#field_1_13 > h2, #field_1_14 > h2, #field_1_24 > h2, #field_1_45 > h2, #field_2_2 > h2, #field_1_67 > h2, #field_1_75 > h2 {
	padding-left: 4px!important;
}

.rrm-app-sb {
	background-color: rgba(0,0,0,0.2);
	padding-top: 6px!important;
}

/* application form spacing */
#post-422 > div > div > div > div > div > div.et_pb_row {
	max-width: 100%!important;
	width: 97%;
}

/* submit button on forms */
#gform_submit_button_1, #gform_submit_button_2 {
	color: #c0251b!important;
    border-width: 4px!important;
    border-radius: 0px!important;
    letter-spacing: 4px!important;
    font-size: 14px!important;
    font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
	padding: 12px 30px 12px 30px!important;
	margin-left: 1100px!important;
	margin-bottom: 20px!important;
	line-height: 1.7em!important;
    background-color: transparent;
    border: 2px solid;
	transition: all 300ms ease 0ms;
}

/* submit button hover */
#gform_submit_button_1:hover, #gform_submit_button_2:hover {
	color: #ffffff!important;
    border-color: #c0251b!important;
    background-image: initial!important;
    background-color: #c0251b!important;
	border: 2px solid transparent;
	cursor: pointer;
}

#post-646, #post-422 {
	margin: 0px 0px 0px -10%!important;
}

/*APPLICATION FORM CSS NINJA FORMS*/
#post-2715 > h1 {
	display: none!important;
}

#nf-form-title-3 > h3, #nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-before-form-content > nf-section > div {
	margin-top: 0px;
  	margin-bottom: 10px;
	text-align: center;
}

#post-2715 {
	display: block;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	max-width: 100%!important;
	width: 100%!important;
}

#post-2719 > h1{
	display: none!important;
}

#nf-form-title-4 > h3, #nf-form-4-cont > div > div.nf-form-layout > form > div > div.nf-before-form-content > nf-section > div {
	margin-top: 0px;
  	margin-bottom: 10px;
	text-align: center;
}

#post-2719 {
	display: block;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	max-width: 100%!important;
	width: 100%!important;
}

@media (min-width: 1200px){
	#post-2715 {
    width: 1170px;
	}
}
@media (min-width: 992px){
	#post-2715 {
    width: 970px;
	}
}
@media (min-width: 768px){
	#post-2715 {
    width: 750px;
	}
}

@media (min-width: 1200px){
	#post-2719 {
    width: 1170px;
	}
}
@media (min-width: 992px){
	#post-2719 {
    width: 970px;
	}
}
@media (min-width: 768px){
	#post-2719 {
    width: 750px;
	}
}
/*****Application form CSS END*****/

/********* Mobile Menu Collapse ********/
 
/**** This hides the sub menu items on mobile ****/
 
#main-header .et_mobile_menu li ul.hide {
display: none !important;
}
 
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
 
#mobile_menu .menu-item-has-children {
position: relative;
}
#mobile_menu .menu-item-has-children > a {
background: transparent;
}
 
/**** This styles the icon and moves it to the right ****/
 
#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;
}
 
/**** Here you can swap out the actual icons ****/
 
span.menu-closed:before {
content: "\4c";
display: block;
color: #c0251b;
font-size: 25px;
font-family: ETmodules;
}
 
span.menu-closed.menu-open:before {
content: "\4d";
}

/***** Maps InfoWindows ******/
.wpgmza_infowindow_title {
	font-weight: bold;
}

/* allows Sustainability text to be moved outside of container */
.sus-sec-overlap:before {
	content:'';
	width:100%;
	position:absolute;
	height:18%;
	top:-18%;
	z-index:1;
	background-color:transparent;
}

.sus-overlap {
	z-index:2;
}

/* concrete calc css */
#field > h2 {
	font-size: 2em;
}

/* media queries */
/* box shadow on application/request a quote */
/*@media (min-width: 980px) { #post-422
	{box-shadow: 0 0 10px 10px #888888!important;}
}*/

@media (min-width: 980px) { #post-646
	{box-shadow: 0 0 10px 10px #888888!important;}
}

@media (max-width: 500px) { #gform_1 > div.gform_heading > h3, #gform_2 > div.gform_heading > h3
	{font-size: 36px;}
}

@media (max-width: 980px) { #gform_submit_button_1, #gform_submit_button_2 
	{color: #c0251b!important;
    border-width: 2px!important;
    border-radius: 0px!important;
    letter-spacing: 2px!important;
    font-size: 12px!important;
    font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
	padding-top: 8px!important;
    padding-right: 26px!important;
    padding-bottom: 8px!important;
    padding-left: 26px!important;
	line-height: 1.5em!important;
    background-color: transparent;
    border: 2px solid;
	margin-left: 0px; 
	transition: all 300ms ease 0ms;}
}

@media (max-width: 640px) { #gform_submit_button_1, #gform_submit_button_2 
	{margin-left: 2%!important;}
}

/*@media (max-width: 980px) { #post-422 
	{margin: 0px -12%!important;}
}*/

@media (max-width: 600px) { #post-646
	{margin: 0px -12%!important;}
}

/* adjust footer text sizes */
@media (max-width: 1110px) { #et-boc > div > div > div.et_pb_section.et_pb_section_7.et_section_regular > div > div.et_pb_column.et_pb_column_1_4.et_pb_column_15.et_pb_css_mix_blend_mode_passthrough > div > div.et_pb_promo_description > h2, #et-boc > div > div > div.et_pb_section.et_pb_section_7.et_section_regular > div > div.et_pb_column.et_pb_column_1_4.et_pb_column_16.et_pb_css_mix_blend_mode_passthrough > div > div.et_pb_promo_description > h2, #et-boc > div > div > div.et_pb_section.et_pb_section_7.et_section_regular > div > div.et_pb_column.et_pb_column_1_4.et_pb_column_17.et_pb_css_mix_blend_mode_passthrough > div > div.et_pb_promo_description > h2, #et-boc > div > div > div.et_pb_section.et_pb_section_7.et_section_regular > div > div.et_pb_column.et_pb_column_1_4.et_pb_column_18.et_pb_css_mix_blend_mode_passthrough.et-last-child > div > div.et_pb_promo_description > h2 {font-size: 30px!important;}
}
/* media queries */