/*
 Theme Name:   Divi Child Theme by DiviNationKit
 Theme URI:    http://www.divinationkit.com/
 Description:  A child theme for the Divi theme
 Author:       Your Name
 Author URI:   http://www.divinationkit.com
 Author Email: wyarejali@gmail.com
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 * Free Divi Child Theme by DiviNationKit
 * Functions.php
 *
 * New to Divi?
 * Want to learn cool tricks and features with our Divi tutorials: https://www.divinationkit.com/blog/
 *
 * Discover our premium Divi products: https://www.divinationkit.com/shop/
 *
 */

/* Custom CSS goes here */
#page-container .mobile_nav .dina_sub_menu {
    display: none;
}
#page-container .mobile_nav .dina_sub_menu li {
    list-style: none !important;
}

#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}

#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}

#page-container .mobile_nav .mobile_menu_toggler {
    position: absolute;
    text-align: center;
    border: none !important;
    width: 44px;
    height: 100%;
    padding: 0 !important;
    top: 0px;
    right: 0;
    opacity: 1 !important;
    z-index: 999;
}

/* Customize close toggler */
#page-container .mobile_nav .mobile_menu_toggler::after {
    position: relative;
    content: '\33';
    top: 12px;
    right: 0;
    font-family: 'ETmodules';
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    background: transparent !important; /* Change toggler background color */
    color: #ffffff !important; /* Change toggler icon color */
    padding: 3px;
    border-radius: 50px;
    transform-origin: center;
    transition: all 0.4s ease !important;
}
/* Customize open toggler */
#page-container .mobile_nav .mobile_menu_toggler.menu-open::after {
    background: transparent !important;
    content: '\32';
}

nav ul.sub-menu {
    width: 300px;
}

.nav li li ul {
    left: 300px;
}

nav ul.sub-menu li.menu-item {
    width: 100%;
}

nav ul.sub-menu li.menu-item a {
    line-height: 1.7em;
    width: 100%;
    padding: 6px 15px;
    font-size: 14px;
    letter-spacing: .1em;
}

nav ul.sub-menu li.menu-item a:hover {
    background: #fff;
} 