/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 0.12
Description: Divi Child Theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
*/
/*---Global Elements---*/
h1, h2, h3, h4, h5, h6, p {
    word-wrap: normal;
}

h1, h2, h3, h4, h5, h6 {
	padding-top: 10px;
	padding-bottom: 10px;
}

a:hover {
    text-decoration: underline;
}

a.et_pb_button:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: none;
}

#footer-widgets .footer-widget li a:hover {
    text-decoration: underline;
}

.et_pb_text ul, .et_pb_text ol {
    padding-top: 1em;
}

ul.sub-menu li a {
    line-height: 1.5em;
}

sup {
	font-size: 75%
}

#left-area ul, .entry-content ul, .et-l--header ul, .et-l--body ul, .et-l--footer ul, .comment-content ul, body.et-pb-preview #main-content .container ul {
    padding: 0 0 1.7em 23px;
}

#left-area ul ul, .comment-content ul ul, .entry-content ul ul, .et-l--body ul ul, .et-l--footer ul ul, .et-l--header ul ul, body.et-pb-preview #main-content .container ul ul {
    padding-top: 5px;
    padding-bottom: 0;
}

p.post-meta {
    font-size: 15px !important;
}

/*--Gravity Forms--*/

.gform_wrapper input:not([type=submit]):not(.gform-theme-button):not([type="file"]), .gform_wrapper textarea, .gform_wrapper textarea {
	background: rgba(167,177,193,0.28);
	border: none;
	border-radius: 0;
	color: #424e60 !important;
	padding: 20px !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    font-size: 24px !important;
    color: #c02b0a !important;
}

.gform_wrapper .top_label input.medium.datepicker {
    width: 100% !important;
}

.gfield_time_ampm.ginput_container.ginput_container_time>select {
    height: 50px;
    background-color: #eeeeee;
    border: none;
    border-radius: 0 !important;
}

.gform_wrapper .gform_footer input.button {
	font-size: 20px !important; /*--change this--*/
    padding: 0.3em 1em !important; /*--change this--*/
    text-transform: uppercase !important; /*--change this--*/
}

.gform_wrapper .gform_footer input.button:hover {
	padding: 0.3em 1em !important; /*--change this--*/
	cursor: pointer;
}

.gform_wrapper .gform_footer {
    margin-top: 0;
}

.gform_fields {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

li.gf-disable input:hover {
    cursor: not-allowed;
}

.gform_wrapper li.gf-disable input {
    background-color: #f9f9f9 !important;
    color: #757575 !important;
}

.gform_body select {
    -webkit-appearance: none;
    background: #eee;
    border: none;
    border-radius: 0;
    color: #121212 !important;
    padding: 15px !important;
    line-height: normal !important;
    background-image: url('images/selectbox-arrow.png');
    background-repeat: no-repeat;
    background-position: right;
}

.gfield_radio {
    margin: 0 !important;
}

body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox, body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 8px !important
}

.gform_heading {
    margin-bottom: 10px;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 18px;
}

.gform_wrapper.gravity-theme .ginput_complex label {
    padding-top: 0 !important;
}

p.gform_required_legend {
    font-size: 16px !important;
    font-style: italic;
}
/*----NEW MOBILE HEADER WORK----*/
/*Values may need to change, depending on size of logo; menu etc...*/
@media screen and (min-width:768px) {
    div#et-info.mobile-only {display:none}
}

@media screen and (max-width:767px) {
    div#et-info {display:none}
    div#et-info.mobile-only {
	    display:block;
	    float: left;
	    margin-right: 30px;
	}
	
	div#et-info a:hover {
	    text-decoration: none;
	}
    
	div#et-info.mobile-only :before {
	    font-size: 19px;
	    top: -3px;
	    position: relative;
	}
	
	div#et-info.mobile-only #et-info-phone:before {
	    top: -4px;
	    margin-right: 0;
	    font-size: 16px;
	}
}
@media screen and (max-width:330px) {
	div#et-info.mobile-only {
	    margin-right: 0;
	    float: right;
	    display: flex;
	    line-height: 2;
	}
}

/*---Header Jump Fix (transparent, no secondary bar)---
/*Values may need to change, depending on menu selections...
@media screen and (min-width:981px) {
	header#main-header {
	    top: 36px !important;
	}
	
	body.logged-in header#main-header {
	    top: 68px !important;
	}
	
	div#page-container {
	    padding-top: 0 !important;
	}
}

@media screen and (max-width:767px) {
	header#main-header {
	    top: 0px !important;
	}
	
	body.logged-in header#main-header {
	    top: 46px !important;
	}
	
	div#page-container {
	    padding-top: 0 !important;
	}
}

/*---BioCraft Menu---*/
div#et-top-navigation {
    background-color: transparent;
}

@media screen and (min-width:981px) {
	
	div#et-top-navigation {
	    padding-left: 220px !important;
	    padding-bottom: 40px !important;
	    padding-top: 40px !important;
	}
	
	li.damp-proofing, #main-header .nav li.damp-proofing ul.sub-menu {
	    background-color: #424e60;
	}
	
	li.basement, #main-header .nav li.basement ul.sub-menu {
	    background-color: #f8b614;
	}
	
	li.dry-rot, #main-header .nav li.dry-rot ul.sub-menu {
	    background-color: #ab5700;
	}
	
	li.condensation, #main-header .nav li.condensation ul.sub-menu {
	    background-color: #62b1cd;
	}	
	
	ul.sub-menu {
	    top: 100%;
	}
	
	.expand {
	    display: none;
	}
	
	.et-fixed-header img#logo {
	    padding: 10px 0;
	}

}

li.current-page-ancestor>a, li.current-menu-item>a {
    font-weight: 900 !important;
}

/*li.basement a {
    width: 300px;
    text-align: center;
    display: inherit;
    vertical-align: middle;
    padding-bottom: 0 !important;
}*/

#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
    content: none;
}

#top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child {
    padding-right: 0;
}

#top-menu>li>a {
    text-align: center !important;
    padding: 10px !important;
}

ul#top-menu li.menu-item {
    padding: 0px !important;
}

.et_header_style_centered #top-menu>li>a {
    padding: 10px 1.47em !important
}



ul#top-menu li.top-level {
    width: 25%;
    display: table-cell;
    vertical-align: middle;
}   

ul#top-menu li.top-level:not(:last-child) {
    border-right: 3px solid #fff;
}

/*Dropdown Mneu*/
#main-header .nav li ul.sub-menu {
    width: 200%;
    padding: 0;
    margin: 0 !important;
    border-color: #fff;
}

#main-header .nav li.condensation ul.sub-menu {
    left: auto;
    right: 0;
}

#top-menu li li a {
    width: 100%;
    font-size: 16px;
}

ul#top-menu ul.sub-menu li:not(last-child) {
    border-bottom: 1px solid #fff;
}

ul#top-menu ul.sub-menu li {
    width: 100%;
    padding: 5px !important;
}

#main-header .nav li ul.sub-menu ul.sub-menu {
    left: 101%;
    top: 0;
    width: 100%;
    border: none;
}    

.et-fixed-header div#et-top-navigation {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/*---Side Menu---*/
ul.sb-cp {
    list-style: none;
    padding: 0;
}

ul.sb-cp ul.children li {
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 5px;
    position: relative;
}

ul.sb-cp li {
    padding: 15px 6%;
    margin-bottom: 1px;
}

ul.sb-cp li:nth-child(even) {
    background-color: rgba(167,177,193,0.2);
}

ul.sb-cp li:nth-child(odd) {
    background-color: rgba(167,177,193,0.3);
}

ul.sb-cp ul.children {
    list-style: none;
}

ul.sb-cp ul.children li:before {
    content: "\27A5";
    position: absolute;
    left: -5px;
    color: #ee8626;
    font-size: 90%;
}

ul.sb-cp li.current_page_item a {
    color: #fff;
}

ul.sb-cp li.current_page_item {
    background-color: #ee8626;
}

	footer .et_pb_module.et_pb_menu li.menu-item-has-children .expand,
	footer .et_pb_module.et_pb_menu li.menu-item-has-children ul.sub-menu {
	    display: none;
	}
	
	footer .et_pb_module.et_pb_menu .menu-item-has-children > a:first-child:after {
	    content: none;
	}
	
	footer .et_pb_module.et_pb_menu .menu-item-has-children > a:first-child {
	    padding-right: 0;
	}

/*---Mobile Menu---*/
@media screen and (max-width:980px) {
	/*--Custom mobile menu---*/
	ul#mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    transition: 0.1s;
	}
	
	ul#mobile_menu {
	    background-color: #424e60;
	}
	
	ul#mobile_menu {
	    height: auto !important;
	}
	
	ul#mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    pointer-events: none;
	}	
	
	ul#mobile_menu .menu-item-has-children ul.sub-menu.showmenu {
	    height: auto;
	    opacity: 1;
	    pointer-events: all;
	}
	
	.expand {
	    position: absolute;
	    right: -10%;
	    top: 15px;
    display: block;
    padding: 0 10px;
	color: #ee8626;
	}
		
	ul#mobile_menu li {
	    width: 90%;
	}
	
	li.the-parent {
	    position: relative;
	}
	
	.expand:hover {
	    cursor: pointer;
	}
	
	.expand.down:after {
	    content: '\2193';
	    color: #ee8626 !important;
	}
	
	.expand.down {
	    color: transparent;
	}
	
	/*--Footer Menu--*/
	#et-main-area footer .et_pb_row--with-menu {
	    padding-bottom: 0 !important;
	}

	footer .et_pb_module.et_pb_menu {
	    max-height: 100%;
	}
	
	footer .et_pb_module.et_pb_menu .et_pb_menu__menu {
	    display: flex;
	}
	
	footer .et_pb_module.et_pb_menu .et_mobile_nav_menu {
	    display: none !important;
	}
	
}