/*
 Theme Name:     BrandCraft - Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
*/

    /*-----Header-----*/
#page-container #masthead {
    position: static;
}

/*-----Menu Toggle-----*/
#page-container #masthead-menu-toggle {
    position: absolute;
    top: 0;
    left: 100%;
    right: auto;
    width: auto;
    z-index: 999;
    transform: rotate(90deg);
    transform-origin: left top;
}

#page-container #masthead-menu-toggle .et_pb_module {
    margin-bottom: 0;
}

#page-container #masthead-menu-toggle .et_pb_button.close-menu {
    display: none;
}

body.menu-open #page-container #masthead-menu-toggle .et_pb_button.open-menu {
    display: none;
}

body.menu-open #page-container #masthead-menu-toggle .et_pb_button.close-menu {
    display: flex;
}

body.scrolled #page-container #masthead-menu-toggle .et_pb_button {
    overflow: hidden;
    text-indent: -9999px;
}

body.scrolled #page-container #masthead-menu-toggle .et_pb_button::before {
    text-indent: 0;
}

#page-container #masthead-menu-toggle .et_pb_button {
    display: flex;
    padding: 1.5em !important;
    transition: none !important;
}

body #page-container #masthead-menu-toggle .et_pb_button::before,
body.et-db #page-container #et-boc #masthead-menu-toggle .et_pb_button::before {
    font-size: 35px !important;
}

#page-container #masthead-menu-toggle .et_pb_button::before {
    position: static;
    margin-left: 0 !important;
    margin-right: 0.5em;
    transform: rotate(-90deg);
}

/*-----DropDown-----*/
#page-container #masthead-dropdown {
    display: none;
}

#page-container #masthead-dropdown > div {
    display: flex;
    row-gap: 2rem;
    min-height: 100%;
}

#page-container #masthead-dropdown > div > * {
    padding: 3rem 5%;
    border-right: 1px solid white;
    margin-bottom: 0;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
}

#page-container #masthead-dropdown > div > div:first-child {
    align-items: start;
}

#page-container #masthead-dropdown > div > div:nth-child(2) {
    flex: 0 0 40%;
}

#page-container #masthead-dropdown > div > div:nth-child(3) {
}

#page-container #masthead-dropdown .et_pb_menu .et_pb_menu__wrap,
#page-container #masthead-dropdown .et_pb_menu .et_pb_menu_inner_container {
    width: 100%;
}

#page-container #masthead-dropdown .et_pb_menu .et_pb_menu__menu {
    flex: 1 0 auto;
}

#page-container #masthead-dropdown .et_pb_menu .et-menu {
    margin-left: 0;
    margin-right: 0;
}

#page-container #masthead-dropdown .et-menu {
    display: flex;
    flex-direction: column;
}

#page-container #masthead-dropdown .et-menu .sub-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

#page-container #masthead-dropdown .et-menu li {
    display: block;
}

#page-container #masthead-dropdown .et-menu.nav li.et-touch-hover > ul,
#page-container #masthead-dropdown .et-menu.nav li:hover > ul {
    opacity: 1;
    visibility: visible;
}

#page-container #masthead-dropdown .et-menu > li > a {
    font-family: 'AstoriaClassicSans-Roman', Helvetica, Arial, Lucida, sans-serif;
    font-size: 50px;
    line-height: 1.5em;
    padding-right: 0;
}

#page-container #masthead-dropdown .et-menu .sub-menu li a {
    font-size: 20px;
    padding: 10px 0;
}

#page-container #masthead-dropdown .et_pb_menu .et-menu-nav,
#page-container #masthead-dropdown .et_pb_menu .et-menu.nav {
    width: 100%;
}

#page-container #masthead-dropdown .et-menu li li a {
    width: auto;
}

#page-container #masthead-dropdown .et-menu .menu-item-has-children > a:first-child:after {
    position: static;
    font-size: inherit;
}

#page-container #masthead-dropdown .nav li {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1200px) {

    #page-container #masthead-dropdown {
        padding: 0 40px !important;
    }

    #page-container #masthead-dropdown > div {
        flex-direction: column;
        align-items: stretch;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #page-container #masthead-dropdown > div > * {
        flex: 0 1 auto;
        padding: 2% 0;
        border-right: none;
    }

    #page-container #masthead-dropdown > div > div:nth-child(2) {
        flex: 0 0 auto;
    }

    #page-container #masthead-dropdown .et-menu > li > a {
        font-size: 35px;
    }
}
