/*
 Theme Name:     Simply Green
 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
*/
/* Theme customization starts here
------------------------------------------------------- */
#logo {
    max-height: 100%;
}
#main-header {
    background-color: #0039a7;
    padding: 0px 0px;
    line-height: normal;
}
#top-menu a {
    color: #fff;
}
#et_top_search span{ 
    color:#fff;
}
.et-search-form input {
    color: #fff;
}
span.et_close_search_field:after {
    color: #fff;
}
.et-l--footer ul{
    list-style: none!important;
    font-size: 18px;
    line-height: 30px;
}
.foot_logo img{
    background: #0038A7;
    border-radius: 10px;
    padding: 10px;  
}
.bott_sect h3{
    font-size: 26px;
    line-height: 32px;
}
.bott_sect .et_pb_code_inner {
    position: relative;
    font-size: 16px;
    line-height: 28px;
}
ul.socail_icon, .et-l--footer ul{
    padding:0px;
}
ul.socail_icon li{
    float:left;
    display:inline-block;
    margin-right:15px;
}
.nav li ul {
    background: #0038A7;
}
#top-menu li{
	padding-right:16px;
}
#et-top-navigation #top-menu li.custom_call a{
    color: #ffffff!important;
    border-color: #ef2b2f;
    border-radius: 5px;
    letter-spacing: 0px;
    font-size: 14px;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 600!important;
    background-color: #ef2b2f;
    padding: 17px 15px 18px 15px !important;
    width: 162px !important;
    height: 49px !important;
    text-align: center;
}
#et-top-navigation #top-menu li.custom_request a {
    color:#ef2b2f!important;
    background-color:#fff;
    border-radius:5px;
    letter-spacing:0px;
    font-size:14px;
    font-family:'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight:600!important;
    padding: 17px 15px 18px 15px !important;
    width: 162px !important;
    height: 49px !important;
    text-align: center;
}

.et_header_style_left #et-top-navigation nav>ul>li>a {
    padding-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 20px;
}
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
    top: 15px;
}
.icon-box .et_pb_main_blurb_image {
    width: 50px;
}
header .container.et_menu_container{
    max-width: 1370px;
    width: 90%;
}
header #logo{
    width:300px;
    transition: margin-top 0.4s ease-in-out;
}
header .logo_container a{
    display: block;
}
header.et-fixed-header #logo{
    width:250px;
    transition: margin-top 0.4s ease-in-out;
}

#top-menu .menu-item a {
    color: #fff !important;
}
.location-box h4.et_pb_module_header {
    position: absolute;
    top: 18px;
    right: 18px;
    max-height: 50px;
    min-height: 25px;
    margin-right: auto;
    margin-left: auto;
    padding: 13px;
    justify-content: flex-start;
    border-radius: 20px;
    background-color: #000;
    color: #fff;
    opacity: 0.65;
}

.location-box .et_pb_blurb_description {
    padding: 10px;
    margin-bottom: 30px;
}
.location-box .et_pb_blurb_description h6{
    padding-top: 20px;
}
#services .et_pb_image img{
    position: relative;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

/* ------------- Menu code -------------- */

.et_header_style_left .logo_container {
    position: relative;
    z-index: 1;
    width: auto;
}
.et_menu_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main-header::after {
    content: "";
    width: 37vw;
    height: 127px;
    position: absolute;
    right: 0px;
    background: #0038a7;
    top: 0;
    transition: margin-top 0.4s ease-in-out;
}
#main-header.et-fixed-header::after{
    transition: margin-top 0.4s ease-in-out;
    margin-top: -11px;   
}

.et_fixed_nav #et-top-navigation {
    background: #0038a7;
    padding-left: 50px !important;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    clip-path:polygon(6% 0%, 110% 0%, 170% 76%, -130% 10000%, 0% 100%);
}
div#et-top-navigation::before {
    /*content: "";*/
    width: 75px;
    height: 127px;
    background: #fff;
    display: inline-block;
    position: absolute;
    top: 0;
    left: -40px;
    transform: skewX(-28deg);
    z-index: 0;
    transition: margin-top 0.4s ease-in-out;
}
header.et-fixed-header div#et-top-navigation::before {
    height: 102px;
    transition: margin-top 0.4s ease-in-out;
}
header.et-fixed-header#main-header::after {
    height: 102px;    
    transition: margin-top 0.4s ease-in-out;
}
#main-header {
    background-color: #fff;
}

.et-fixed-header div#et-top-navigation::before {
    transition: margin-top 0.4s ease-in-out;
    margin-top: -11px;   
}
#fluentform_3_success{
    color:#ef2b2f;
}

/* ------------- Menu code -------------- */
#et_mobile_nav_menu .mobile_menu_bar:before{
    color: #FFF !important;
}

@media only screen and (min-width:1200px) and (max-width:1330px){
    #main-header .et_menu_container{
        width: 90%;
    }
}
@media only screen and (min-width:1200px) and (max-width:1249px){
    #et-top-navigation #top-menu li.custom_call a{        
        padding: 17px 0px 18px 0px !important;
        width: 150px !important;
    }
    #et-top-navigation #top-menu li.custom_request a{
        padding: 17px 0px 18px 0px !important;
        width: 150px !important;    
    }
    #top-menu li{
        padding-right: 12px;
    }
}
@media only screen and (min-width:980px) and (max-width:1200px){
    #top-menu .custom_request {
        display: none;
    }
    #top-menu .custom_call {
        display: none;
    }
    div#et-top-navigation::before{
        height: 125px !important;
    }
    #main-header::after{
        height: 125px !important;    
    }
    header.et-fixed-header div#et-top-navigation::before{
        height: 100px !important;
        transition: margin-top 0.4s ease-in-out;
    }
    #main-header.et-fixed-header::after{
        height: 100px !important;    
        transition: margin-top 0.4s ease-in-out;
    }
} 

@media only screen and (max-width: 980px){
    .custom_call a:hover{
        color: #666!important;
        background-color: rgba(0,0,0,.03);
        opacity: .7;
    }
    li.custom_request a{
        color:#ef2b2f !important;
        padding:10px 10px 10px 30px;
        margin:5px 0 5px 0;
        border:2px solid #ef2b2f;
    }
    #main-header::after {
        height: 80px;        
    }
    div#et-top-navigation::before{
        height: 80px;      
    }
    #et-top-navigation{
        width: 100%;
    }
    .et_header_style_left #logo{
        max-width: 100% !important;
    }
    .et_header_style_left .logo_container {
        position: relative;
        z-index: 1;
        width: auto;
    }
	#services .et_pb_image_wrap {
		width:100%
	}
	#services .et_pb_image img{		    
    	height: 450px;    	
	    object-position: top;
    	width: 100%;
	}
}
@media only screen and (max-width: 575px){
    #services .et_pb_image img{         
        height: 250px;              
    }
    #location_new .et_pb_row{
        padding: 30px 0 0 0;
    }
    #location_new .et_pb_row:last-child{
        padding: 30px 0 50px 0;
    }
}