:root {
    --btfh-bg: transparent;
    --btfh-text: #fff;
    --btfh-divider: rgba(255, 255, 255, 0.5);
    --btfh-sub-divider: #fff;
    --btfh-selected-color: #fff;
    --btfh-font: inherit;
    --btfh-maxw: 1258px;
    --btfh-pad-x: 0;
    --btfh-pad-y: 13px;
    --btfh-line-h: 50px;
    --btfh-anim-dur: 220ms;
    --btfh-anim-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
    --btfh-sticky-bg1: #5D4B3F;
    --btfh-sticky-bg2: #3c3028;
    --btfh-sticky-trigger: 120;
    --btfh-item-fade-in: 140ms;
    --btfh-item-fade-out: 100ms;
    --btfh-item-stagger: 30ms;
    --btfh-sticky-item-fade-in: var(--btfh-item-fade-in);
    --btfh-sticky-item-fade-out: var(--btfh-item-fade-out);
    --btfh-sticky-item-stagger: var(--btfh-item-stagger);
}

.btfh-header,
.btfh-sticky {
    font-family: var(--btfh-font);
    color: var(--btfh-text);
    background: var(--btfh-bg);
}

.btfh-header {
    margin-top: 20px;
	min-width: 1226px !important;
    max-width: 100%;
	width:100%;
}

.qn-menu-principal-header .mcb-background-overlay {
	bottom: 0!important;
	left: 0!important;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, transparent 100%);
}

.btfh-line {
    max-width: 1226px;
    width: 100%;
    margin: 0 auto;
}

.btfh-sticky-line {
    width: 100%;
}

.btfh-line-inner,
.btfh-sticky-inner {
    max-width: var(--btfh-maxw);
    margin: 0 auto;
    padding: 0 var(--btfh-pad-x);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.btfh-line1 .btfh-line-inner {
    justify-content: center;
}

.btfh-logo img {
    display: block;
    height: 57px;
    max-width: 100%;
}

.btfh-line2 {
    display: flex;
}

.btfh-line2 .btfh-line-inner,
.btfh-sticky-line1 .btfh-sticky-inner,
.btfh-sticky-line2 .btfh-sticky-inner {
    min-height: var(--btfh-line-h);
}

.btfh-nav-l2,
.btfh-sticky-nav-l2 {
    width: 100%;
}

.btfh-l2-list,
.btfh-sticky-l2-list,
.btfh-l4-list,
.btfh-sticky-l4-list {
    list-style: none!important;
    display: flex;
    align-items: center;
    margin: 0!important;
    padding: 0;
    /* width: 100%; */
    box-sizing: border-box;
}

.btfh-l2-list {
    justify-content: flex-start;
    gap: 14px;
}

.btfh-sticky-l2-list {
    justify-content: center;
    gap: 16px;
}

.btfh-l4-list,
.btfh-sticky-l4-list {
    align-items: stretch;
    justify-content: center;
    gap: 14px;
}

.btfh-l2-item,
.btfh-sticky-l2-item {
    position: relative;
    margin-bottom: 0!important;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
}

.btfh-l2-item:hover,
.btfh-sticky-l2-link:hover {
    color: var(--btfh-text);
}

.btfh-l2-item.has-children .btfh-l2-link,
.btfh-sticky-l2-item.has-children .btfh-sticky-l2-link {
    cursor: pointer;
}

/* Ícone Home */
.btfh-l2-item:first-child a.btfh-l2-link,
.btfh-sticky-l2-item:first-child a.btfh-sticky-l2-link {
    position: relative;
    width: 21px;
    height: 21px;
    text-indent: -9999px;
    padding-right: 18px;
}

.btfh-l2-item:first-child a.btfh-l2-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 21px;
    background: url('images/icone-casa-menu.svg') 0 0 no-repeat;
    background-size: contain;
}

.btfh-sticky-l2-item:first-child a.btfh-sticky-l2-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 21px;
    background: url('images/icone-casa-menu.svg') 0 0 no-repeat;
    background-size: contain;
}

.btfh-l2-link,
.btfh-sticky-l2-link {
    display: block;
    text-decoration: none!important;
    color: var(--btfh-text)!important;
    text-transform: uppercase;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.btfh-l2-link {
    line-height: 18px;
    padding: 8px 0 1px;
}

.btfh-sticky-l2-link {
    line-height: 1;
    padding: 9px 0 5px 0;
}

.btfh-l2-item.is-selected:not(:first-of-type) > .btfh-l2-link,
.btfh-sticky-l2-item.is-selected:not(:first-of-type) > .btfh-sticky-l2-link {
    border-bottom-color: var(--btfh-selected-color);
}

.btfh-divider {
    width: 100%;
    height: 1px;
    background: var(--btfh-divider);
}

.btfh-line4 .btfh-line-inner,
.btfh-sticky-line2 .btfh-sticky-inner {
    position: relative;
}

.btfh-line4 .btfh-line-inner {
    overflow: visible;
    padding-bottom: 30px;
}

.btfh-sticky-line2 .btfh-sticky-inner {
    overflow: hidden;
}

.btfh-nav-l4,
.btfh-sticky-submenu {
    position: absolute;
    left: var(--btfh-pad-x);
    right: var(--btfh-pad-x);
    visibility: hidden;
    pointer-events: none;
}

.btfh-nav-l4 {
    top: 50%;
    transform: translateY(-50%);
}

.btfh-sticky-submenu {
    top: var(--btfh-pad-y);
}

.btfh-nav-l4.is-open,
.btfh-nav-l4.is-out,
.btfh-sticky-submenu.is-open,
.btfh-sticky-submenu.is-out {
    visibility: visible;
    pointer-events: auto;
}

.btfh-l4-item,
.btfh-sticky-l4-item {
    display: flex;
    align-items: stretch;
    opacity: 0;
    transition-property: opacity;
    transition-timing-function: var(--btfh-anim-ease);
    position: relative;
    line-height: 18px;
    font-weight: 300;
}

.btfh-l4-item {
    font-size: 15px;
    transition-duration: var(--btfh-item-fade-in);
	margin-top:10px;
}

.btfh-sticky-l4-item {
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 4px;
    transition-duration: var(--btfh-sticky-item-fade-in);
}

.btfh-l4-link,
.btfh-sticky-l4-link {
    display: block;
    text-decoration: none!important;
    color: var(--btfh-text)!important;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.btfh-l4-link {
    padding: 4px 0 0 0;
}

.btfh-sticky-l4-link {
    padding: 0;
}

.btfh-l4-link:hover,
.btfh-sticky-l4-link:hover {
    color: var(--btfh-text);
    border-bottom-color: var(--btfh-selected-color);
}

.btfh-submenu.is-open .btfh-l4-item {
    opacity: 1;
    transition-delay: calc(var(--i, 0) * var(--btfh-item-stagger));
}

.btfh-submenu.is-out .btfh-l4-item {
    opacity: 0;
    transition-duration: var(--btfh-item-fade-out);
    transition-delay: calc(var(--ri, 0) * var(--btfh-item-stagger));
}

.btfh-sticky-submenu.is-open .btfh-sticky-l4-item {
    opacity: 1;
    transition-delay: calc(var(--i, 0) * var(--btfh-sticky-item-stagger));
}

.btfh-sticky-submenu.is-out .btfh-sticky-l4-item {
    opacity: 0;
    transition-duration: var(--btfh-sticky-item-fade-out);
    transition-delay: calc(var(--ri, 0) * var(--btfh-sticky-item-stagger));
}

.btfh-l4-item:not(:last-child)::after,
.btfh-sticky-l4-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -8px;
    width: 1px;
    height: 12px;
    background-color: #b6b3ad;
    transform: translateY(-50%);
}

.btfh-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.btfh-sticky.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btfh-sticky-line1 {
    background: var(--btfh-sticky-bg1);
    padding-top: 2px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.btfh-sticky-line2 {
    background: var(--btfh-sticky-bg2);
    display: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    will-change: opacity, transform;
    pointer-events: none;
}

.btfh-sticky-line2.is-visible {
    display: block;
    transform: translateY(0);
    pointer-events: auto;
}

.btfh-hover-extend,
.btfh-sticky-hover-extend {
    position: fixed;
    left: 0;
    width: 100vw;
    pointer-events: none;
    background: transparent;
    z-index: 2;
    display: none;
}

@media (max-width: 1239px) {
    header .qn-menu-mobile {
        display: block !important;
        border-width: 0 0 3px 0;
        padding: 10px;
    }
    header .qn-hamburguer-header {
        position: absolute;
        right: 0px;
    }
    header .qn-logo-header {
        width: 250px;
    }
    header .qn-logo-header .image_frame {
        width: 61% !important;
    }
    header .qn-menu-principal-header,
    .btfh-sticky,
    .btfh-hover-extend,
    .btfh-sticky-hover-extend {
        display: none !important;
    }
}