/* modified styles - DO NOT modify this content */

/*
===========================================================
==================== Table of Contents ====================
===========================================================

=== 1.0 - General ----------------------------------------

=== 2.0 - Header ------------------------------------------
------- 2.1 - Desktop Navigation Layout -------------------
----------- 2.1.1 - Sub-Items Changes ---------------------
----------- 2.1.2 - Sub-Items Children --------------------
------- 2.2 - Mobile Navigation ---------------------------
----------- 2.2.1 - Hamburger Icon Content ----------------
----------- 2.2.2 - Sub-Items Changes ---------------------
*/



/* ===================== */
/* === 1.0 - General === */
/* ===================== */



/* ==================== */
/* === 2.0 - Header === */
/* ==================== */

/* === 2.1 - Desktop Navigation Layout === */
/* add this class if the final dropdown navigation items is too close to the right side of the screen */
/*
#top-menu > li.menu-item-has-children:last-child > ul {
    right: 0;
}
*/

/* ----- 2.1.1 - Sub-Items Changes ----- */
@media (min-width: 981px) {
    #divi-child-plus-header .sub-menu {
        padding: 0;
    }
        #divi-child-plus-header .sub-menu li {
            border-bottom: 1px solid #eee;
            padding: 0;
            width: 100%;
        }
            #divi-child-plus-header .sub-menu li:last-child {
                border-bottom: none;
            }

            #divi-child-plus-header .sub-menu li a {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 5px 15px !important;
                width: 100%;
            }
                /*  */
                #divi-child-plus-header .sub-menu li.menu-item-has-children a:after {
                    position: unset;
                    padding-left: 5px;
                }

        #divi-child-plus-header .sub-menu li ul {
            top: -3px;
        }
}

/* ----- 2.1.2 - Sub-Items Children ----- */
/* dropdown arrow direction pointing animation */
li li.menu-item-has-children > a:first-child:after {
    transition: 0.25s ease-in-out;
}
    /* pointing right */
    li li.menu-item-has-children:hover > a:first-child:after {
        transform: rotate(-90deg);
    }
    /* pointing left */
    .et-reverse-direction-nav li.menu-item-has-children:hover > a:first-child:after {
        transform: rotate(90deg);
    }


/* === 2.2 - Mobile Navigation === */
@media screen and (max-width: 980px) {
    .et_header_style_centered #main-header .mobile_nav {
        background-color: transparent;
    }

    .et-fixed-header#main-header {
        background-color: transparent !important;
    }
}

/* change background of mobile menu */
#divi-child-plus-header .et_mobile_menu {
    padding: 0 !important;
}
    #divi-child-plus-header .et_mobile_menu li a {
        border: 0;
    }

/* remove large indent */
#divi-child-plus-header .et_mobile_menu li li {
    padding-left: 0;
}

/* create new spacing for navigation items */
#divi-child-plus-header .et_mobile_menu li a,
#divi-child-plus-header .et_mobile_menu li li a,
#divi-child-plus-header .et_mobile_menu li li li a {
    padding: 15px;
}

/* remove transition on mobile navigation items */
#divi-child-plus-header .et_mobile_menu li a {
    transition: none;
}

/* indednt each sub-items */
#divi-child-plus-header .et_mobile_menu li ul {
    padding-left: 15px !important;
}

/* underline under menu items */
#divi-child-plus-header .et_mobile_menu .sub-menu-toggle.popped ~ a {
    border-bottom: 1px solid #eee;
}

#divi-child-plus-header .et_mobile_menu li {
    border-bottom: 1px solid #eee;
}
    #divi-child-plus-header .et_mobile_menu li:last-child {
        border-bottom: none;
    }

/* --- 2.2.1 - Hamburger Icon Content --- */
.mobile_menu_bar:before {
/*
    color: #000 !important;
*/
}
    /* hides the hamburger icon when toggled open */
    .mobile_nav.opened .mobile_menu_bar:before {
        content: "\4d";
        z-index: 99999;
    }

/* adds the 'x' icon to close menu */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}

/* --- 2.2.2 - Sub-Items Changes --- */
#divi-child-plus-header .et_mobile_menu .menu-item-has-children {
    position: relative;
}

/* toggle dropdown button */
#divi-child-plus-header .et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 10px;
    right: 15px;
    cursor: pointer;
    text-align: center;
    transition: 0.25s ease-in-out;
}
    #divi-child-plus-header .et_mobile_menu .sub-menu-toggle.popped {
        background-color: rgba(0, 0, 0, 0.1);
        transform: rotate(180deg);
    }

    /* toggle dropdown button arrow */
    #divi-child-plus-header .et_mobile_menu .sub-menu-toggle::before {
        font-family: "ETmodules" !important;
        font-weight: normal;
        font-style: normal;
        font-variant: normal;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        line-height: 36px;
        font-size: 30px;
        text-transform: none;
        speak: none;
        content: '\33';
        /* minor alignment */
        display: block;
        position: relative;
        left: -1px;
    }

/* sub-options toggled closed */
#divi-child-plus-header .et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
}

/* sub-options toggle opened */
#divi-child-plus-header .et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}

#divi-child-plus-header .et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}