/*
 Theme Name:   Divi - Max Mega Menu
 Description:  A child theme for Divi 2.x
 Author:       Tom Hemsley
 Author URI:   https://www.maxmegamenu.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
*/

/** Relatively position the logo **/
.et_header_style_left div.logo_container {
    position: relative;
    float: left;
    width: auto;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

/** On smaller screens, make sure the menu is on a new line below the logo */
#mega-menu-wrap-primary-menu {
    clear: both;
}

/** On wider screens, float the menu over to the right of the logo **/
@media only screen and (min-width: 980px) {
    #mega-menu-wrap-primary-menu {
        float: right;
        clear: none;
    }
}

/** Uncomment this if you want to hide the theme logo on mobile and use a mobile toggle block to display the logo instead **/
@media only screen and (max-width: 980px) {
    div.logo_container {
        /* display: none; */
    }
}

/** Uncomment this if you want to hide the theme logo completely **/
div.logo_container {
    /* display: none; */
}

/** Display secondary menu on mobiles **/
#top-header #et-secondary-nav,
#top-header #et-secondary-menu,
#top-header {
    display: inline-block !important;
}