/*
 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
*/

/* Quickform */
.contactForm {
    position: absolute;
    float: right;
    width: 21%;
    left: 70px;
    margin-top: 0px;
}

.contactForm .quickform {
    width: 100%;
    padding: 10px 20px 10px;
    background-color: #a5a5a5;
	transition: .4s all ease-in-out;
    }
#quickform {
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formhead .line1 {
    color: #fff;
	text-align: center;
	    font-weight: 700;
}
#quickform .gform_fields {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [ 12 ];
    grid-row-gap: 3px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    width: 100%;
}
#quickform .rsi-lead-form_wrapper {
    max-height: 60px;
    overflow: hidden;
	transition: all 0.4s ease 0s;
}
.rsi-lead-form {
    padding-top: 10px;
    padding-bottom: 10px;
}
#quickform.expanded .rsi-lead-form_wrapper,
#quickform .rsi-lead-form_wrapper.gform_validation_error {
    max-height: 3000px;
}
#quickform .gform_heading .gform_required_legend {
    display: none !important;
}
#quickform .gfield_label {
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
}
#quickform .gfield_required {
    color: #fff;
}
#quickform input[type="text"], #quickform input[type="email"] {
    padding: 1px 5px;
    max-height: 30px;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 14px;
}
#quickform .gfield_consent_label {
    font-size: 10px;
    color: #fff;
    line-height: 20px;
    margin-left: 5px;
}
#quickform .rsi-procedure {
    margin-top: 15px;
}
#quickform select {
    padding: 1px 5px;
    max-height: 30px;
    font-size: 14px;
    line-height: 28px;
}
#quickform textarea {
    max-height: 60px;
    min-block-size: 60px;
}
#quickform .gform_footer {
    margin-top: 0;
    padding-top: 10px;
}
#quickform input[type="submit"] {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #990e30;
    color: #fff;
    font-weight: 600;
	padding: 10px 0;
}
#quickform .validation_message.gfield_validation_message {
    display: none !important;
}
#quickform .gform_validation_errors {
    padding: 5px 5px;
    margin: 0 0 10px;
    background: #fff;
}
#quickform .gform_submission_error {
    font-size: 12px;
    line-height: 15px;
}
#quickform .gform_submission_error .gform-icon {
    display: none;
}
#quickform .quickform-arrow {
	position: absolute;
    top: 10px;
    right: 5px;
}
#quickform .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}
#quickform.expanded .quickform-arrow:after {
    content: "2";
}

    
.nav li ul.sub-menu {
    padding: 0px 0 20px;
}   
.nav li ul.sub-menu a {
    line-height: 22px;    
}

#top-menu li.menu-item-225 > .sub-menu {
    top: 50%;
    transform: translate(0px, -30%);    
}
#et-secondary-nav li li a {
    padding: 7px 10px;
}

@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) {    
	#main-header {
		padding-bottom: 43px;
	}
    .contactForm {
	}
}
    
@media only screen  and (max-width : 768px) {  
	
	.contactForm {
		width: 100%;
		float: none;
		left: auto;
	}
	
	.contactForm .quickform #sndForm { 
		width: 28%;
		right: 20px;
		bottom: 30px;
		padding: 0;
	}
}
/* - */


/* RSI Mobile Icons */

.mobile_location_link {
	display: none;
}

.mobile_location_link:before {
	position: relative;
    top: 0;
    left: 0;
    font-size: 20px;
    content: "\e01d";
	color: #fff;
    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 only screen  and (max-width : 980px) {    
	.mobile_location_link {
		display: block !important;
		order: 3;
	}
	#top-header > .container {
		display: flex;
		justify-content: space-between;
		align-content: center;
		align-items: center;
	}
	#top-header > .container::after {
		display: none;
	}
	#et-top-navigation {
		padding: 0 !important;
	}
	#et_mobile_nav_menu .mobile_menu_bar_toggle {
		display: none !important
	}
	.et_header_style_left .logo_container {
		position: relative;
		width: 100%;
		height: auto;
		text-align: center;
    	padding: 10px 0 0;
	}
	.et_header_style_left #logo {
		max-width: 300px !important;
	}
}

/* Custom CSS */