#header {
    display: flex;
    padding: 20px var(--defaultMargin);
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

div#branding {
    margin-right: 0px;
}

div#branding img {
    width: 230px;
    display: block;
}

#menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header, #menu, .menu-header {
    gap: 32px;
}

.menu-header a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-family: 'dinmedium';

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 6px;
}


/* BUSCA */
div.container-busca-header,
.btns-menu-mobile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-busca-header input[type=search],
.btns-menu-mobile input[type=search] {
    position: absolute;
    right: -10px;
    top: -6px;
    border: 0px solid #fff;
    border-radius: 20px;
    padding: 10px 10px 10px 20px;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
    width: 0;
    transition: all 0.25s ease-in-out;
    z-index: 1;
    opacity: 0;
}

.btns-menu-mobile input[type=search] {
    top: 0px;
    right: -2px;
}
  
.container-busca-header input[type=submit],
.btns-menu-mobile input[type=submit] {
    display: none;
}
  
.container-busca-header input[type=search]:focus,
.btns-menu-mobile input[type=search]:focus {
    outline: 0;
}

.container-busca-header input[type=search].active,
.btns-menu-mobile input[type=search].active {
    width: 265px;
    opacity: 1;
}

#menu button.btn-search,
.btns-menu-mobile button.btn-search {
    background-color: #fff;
    border: 0px solid transparent;
    cursor: pointer;
    padding: 0px;
    z-index: 2;
}

#menu button.btn-search img,
.btns-menu-mobile button.btn-search img {
    display: block;
    width: 18px;
}

div.banner img {
    width: 100%;
}

ul.sub-menu {
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: absolute;
    background-color: #e5e5e5;
    margin-top: 60px;
    padding: 10px 0px 10px 30px;
    border-left: 1px solid #000;
    outline: 30px solid #e5e5e5;
    z-index: 2;
    gap: 14px;
}

ul.sub-menu.active {
    display: flex;
}

ul.sub-menu a {
    font-weight: 400;
}

div.bg-sub-menu {
    display: none;
    background-color: #e5e5e5;
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 10px;
    z-index: 1;
}

div.bg-sub-menu.active {
    display: flex;
}

img.arrow-menu-with-sub {
    display: none;
}

ul.menu-header > li.menu-item-has-children > a > img.arrow-menu-with-sub {
    display: block;
    margin-top: 4px;
    width: 8px;
}

a.btn-header {
    font-family: 'dinmedium' !important;
}

/* MOBILE */

.menu-header-mobile a {
    color: #000;
    font-size: 18px;
    font-family: 'dinmedium';
    line-height: 1.5;
    font-weight: normal;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

ul.menu-header-mobile > li.menu-item-has-children > a > img.arrow-menu-with-sub {
    display: block;
    margin-top: 4px;
    width: 8px;
}

div.btns-menu-mobile {
    display: none;
}

.menu-nav-mobile {
    width: 34px;
    height: 100%;
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none!important;
}


.lbl-menu,
.lbl-menu::before,
.lbl-menu::after {
    display: block;
    background-color: #000;
    position: absolute;
    height: 4px;
    width: 34px;
    transition: all .3s ease-in-out;
    border-radius: 10px;
    opacity: 1;
    cursor: pointer;
    margin-top: 0px;
}

.lbl-menu::before {
    content: '';
    margin-top: -10px;
}

.lbl-menu::after {
    content: '';
    margin-top: 10px;
}

#chk-menu:checked + .menu-nav-mobile .lbl-menu {
    background-color: transparent;
}

#chk-menu:checked + .menu-nav-mobile .lbl-menu::before {
    transform: rotate(45deg) translateY(8px) translateX(8px);
}

#chk-menu:checked + .menu-nav-mobile .lbl-menu::after
{
    transform: rotate(-45deg) translateY(-6px) translateX(6px);
    opacity: 1;
}

.menu-mobile {
    background-color: #fff;
    font-size: 22px;
    line-height: 25px;
    font-weight: 400;
    height: 100vh;
    max-height: 100%;
    opacity: 0;
    overflow: auto;
    position: fixed;
    left: -100%;
    top: 0;
    width: 80%;
    z-index: 99999;
    transition: all .6s ease-in-out;
    padding: 30px;
}

#chk-menu:checked~.menu-mobile {
    left: 0;
    opacity: 1;
    transition: all .65s ease-in-out;
}



@media screen and (max-width: 767px) {
    #menu {
        display: none;
    }

    .menu-nav-mobile {
        display: flex;
        z-index: 999999;
    }

    div.btns-menu-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    div#branding {
        width: 100px;
        margin-right: 0px;
    }

    div#branding img {
        width: 100%;
    }

    #header, #menu, .menu-header {
        gap: 4px;
        padding: 12px 8px;
    }

    div.bg-sub-menu.active {
        display: none;
    }

    ul.sub-menu {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        position: relative;
        outline: 0;
        background-color: #e5e5e5;
        margin-top: 0px;
        padding: 10px 0px 10px 30px;
        border-left: 1px solid #000;
        z-index: 3;
        gap: 14px;
    }
}