/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        3.0.75
*/
/* =Theme customization starts here
------------------------------------------------------- */

.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a { 
   padding-bottom: 15px !important;}

/* Menu */
.et_header_style_left #et-top-navigation nav > ul > li > a,.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a { 
	padding-bottom: 15px;}

#top-menu li { 
	padding-right: 5px;}

#et-top-navigation { 
	padding: 10px 0 !important;}

#top-menu li a { 
	background: rgba(246,42,0,0.87); /*** CHANGES THE BACKGROUND COLOR ***/ 
	padding: 15px 20px; border-radius: 3px;}

#top-menu li a:hover,#top-menu li li a:hover { color: #fff !important;}

#top-menu li a:hover { background: #3662ad !important; /*** CHANGES THE BACKGROUND COLOR ON HOVER ***/}

#top-menu li.current-menu-item > a { background: #3662ad; /*** CHANGES THE BACKGROUND COLOR OF THE CURRENT PAGE LINK ***/}

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

.et_pb_column_1_3 .et_pb_promo {
	padding: 20px;
}

/* Submenu */
#top-menu li li {   
	margin: 0;   
	padding: 0;}

#top-menu li li a {  
  width: 240px !important;   
  padding: 6px 20px;
 }

.nav li ul { 
	position: absolute; 
	padding: 0;
}

 
@media only screen and (min-width: 981px) {
.et_header_style_centered #top-menu>li>a {
    padding-bottom: 15px !important;
}
.et-fixed-header #top-menu li a {
    font-size: 12px !important;
}
#et-top-navigation {
	padding: 0px !important;
}
}

@media (max-width: 980px) {
.et_header_style_centered #logo {
    max-height: 100px !important;
}
.et_header_style_centered #et_mobile_nav_menu {
    margin-top: 40px !important;
}
.et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: absolute !important;
}
}