/*
 Theme Name:  GDLife Media Theme
 Theme URI:    https://gdlifemedia.com
 Description:  Custom child theme for Divi
 Author:       Mike Clarke
 Author URI:   https://gdlifemedia.com
 Template:     Divi
 Version:      1.0.0
*/


/* Hamburger Menu Color */
.mobile_menu_bar:before {
color: #4f4f4f !important;
}

/* Menu Line Stlying */
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 50%;
 background: #4f4f4f; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}

/* Remove the line from submenu items */
#main-header .nav li li a {
 background: #ffffff!important;
}
#main-header .nav li li a:hover {
 background: #F0F0F1!important;
}
#top-menu .sub-menu .menu-item a:before { 
    height: 0px;
}

/* Add Button to Divi menu item with class menu_button */

@media only screen and ( min-width: 981px ) {
.menu_button a {
    background-color: #4f4f4f;
    padding: 10px 15px !important;
    border-radius: 3px;
    color: #fff !important;
    box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.1);
}
	
.menu_button a:hover {
    background-color: #F0F0F1;
    padding: 10px 15px !important;
    border-radius: 3px;
    color: #4f4f4f !important;
}

.et-fixed-header #top-menu .menu_button a	{
     color: #fff !important;
}}
	
/* Center Align the menu items */
#top-menu, .et-menu, nav#top-menu-nav, nav.et-menu-nav {
    float: none!important;
    text-align: right;
}
#et-top-navigation {
    width: 100%;
}
