#header,#header a { color: #3F3B33; font-size: 14px; line-height: 130%; font-family: 'Vollkorn', serif; font-weight: 400; }
#header ul,#header li { position: relative; list-style: none; }
#header li { position: relative; margin: 15px 5px; padding: 15px; cursor: pointer; text-transform: uppercase; -webkit-transition: all 400ms ease-in-out; -moz-transition: all 400ms ease-in-out; -o-transition: all 400ms ease-in-out; -ms-transition: all 400ms ease-in-out; transition: all 400ms ease-in-out; }
#header .mainLink li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #7B9A01; z-index: -1; opacity: 0; -webkit-transition: all 400ms ease-in-out; -moz-transition: all 400ms ease-in-out; -o-transition: all 400ms ease-in-out; -ms-transition: all 400ms ease-in-out; transition: all 400ms ease-in-out; }
#header .mainLink li:hover { color: #ffffff; }
#header .mainLink li:hover::before { opacity: 1; }
#header.fullNavBar .navLogo li { margin: 5px; padding: 5px; }

#header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; }
#header .mainNav { position: relative; display: flex; align-items: center; justify-content: center; width: 1200px; max-width: 100%; margin: auto; }
#header .navLogo { display: none; }
#header .brand { position: relative; width: 190px; height: 100px; background-size: contain; background-position: center; background-repeat: no-repeat; background-image: url('../images/client/logo.png'); }
#header .navArea { display: flex; align-items: center; justify-content: flex-end; }
#header .mainLink { display: flex; align-items: center; justify-content: flex-end; }
#header .mainLink > li { white-space: nowrap; }
#header ul.dropMenu { display: none; position: absolute; top: 100%; left: -5px; width: max-content; max-width: 180px; white-space: normal; background-color: #CCC; }
#header ul.dropMenu li { display: block; }
#header ul.dropMenu ul.dropMenu { top: 0; left: 100%; }

#header .burgerArea { display: none; }
#header .burger { position: relative; width: 26px; height: 16px; }
#header .burger ul,#header .burger ul li { display: block; }
#header .burger .line { position: absolute; left: 0; width: 100%; height: 1px; background-color: #222; }
#header .burger .line1 { top: 0; }
#header .burger .line2 { top: 50%; }
#header .burger .line3 { top: 100%; }

#header.expandedMenu .burger { transform: rotate(180deg); }
#header.expandedMenu .burger .line1 { top: 50%; width: 100%; transform: rotate(45deg); transform-origin: center center; }
#header.expandedMenu .burger .line2 { opacity: 0; }
#header.expandedMenu .burger .line3 { top: 50%; width: 100%; transform: rotate(-45deg); transform-origin: center center; }

#header.fullNavBar { position: fixed; top: -200px; background-color: #ffffff; -webkit-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); -moz-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); }
#header.fullNavBar .navLogo { position: absolute; top: -12px; left: -30px; display: block; }
#header.fullNavBar li { margin: 10px 5px; padding: 10px 15px; }

#header.fullNavBar .mainNav { justify-content: center; }
#header.fullNavBarOn { top: 0px; }

#header .mainLink li, #header .navLogo li { pointer-events: none; }

/* Responsive */
@media only screen and (max-width : 1200px) {
    #header { position: fixed; top: 0px; background-color: #ffffff; -webkit-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); -moz-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.15); }
    #header.fullNavBar { top: 0px; }
    #header .brand { width: 115px; height: 60px; }
    #header li,#header.fullNavBar li { margin: 5px auto; padding: 10px; }
    #header.fullNavBar .navLogo { position: relative; top: auto; left: auto; }
    #header .navLogo li { margin: 5px; padding: 5px; }
    #header .mainNav,#header.fullNavBar .mainNav { justify-content: space-between; padding-left: 15px; padding-right: 15px; }
    #header .navLogo { display: block; }
    #header .burgerArea { display: inline-block; }
    #header nav { position: absolute; top: 100%; left: 0; width: 100%; background-image: url("../images/client/fundo.jpg"); background-size: 100%; background-repeat: repeat-y; opacity: 0; pointer-events: none; -webkit-transition: all 400ms ease-in-out; -moz-transition: all 400ms ease-in-out; -o-transition: all 400ms ease-in-out; -ms-transition: all 400ms ease-in-out; transition: all 400ms ease-in-out; }
    #header .mainNav { white-space: nowrap; }
    #header .mainLink { display: inline-grid; text-align: center; padding: 25px 0px; overflow-y: auto; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%)!important; -moz-transform: translate(-50%,-50%)!important; -ms-transform: translate(-50%,-50%)!important; -o-transform: translate(-50%,-50%)!important; transform: translate(-50%,-50%)!important;  }
    #header .mainLink::-webkit-scrollbar { display: none; }
    #header .mainLink { -ms-overflow-style: none; scrollbar-width: none; }
    #header .mainLink > li { display: block; width: 100%; margin: 5px auto; padding: 5px; }
    #header .mainLink ul.dropMenu { position: relative; top: inherit; left: inherit; max-width: 100%; margin: 10px auto; background-color: transparent; }
    #header .mainLink ul.dropMenu,#header ul.dropMenu ul.dropMenu { top: inherit; left: inherit; }
    #header .mainLink ul.dropMenu li { display: block; width: 100%; position: relative; max-width: calc( 100% - 10px ); }

    #header.expandedMenu nav { opacity: 1; pointer-events: auto; }
}

@media only screen and (max-width : 500px) {
    #header .mainNav,#header.fullNavBar .mainNav { padding-left: 0px; padding-right: 0px; }
}