/*-------------------------------------------------------------- Nav Menu --------------------------------------------------------------*/
.tahefobu-nav-menu,
.tahefobu-nav-menu ul,
.tahefobu-mobile-nav-menu,
.tahefobu-mobile-nav-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0;
}

.tahefobu-nav-menu li {
    position: relative;
}

.tahefobu-nav-menu-horizontal .tahefobu-nav-menu>li {
    display: inline-block;
}

.tahefobu-nav-menu .tahefobu-menu-item {
    display: block;
    position: relative;
    z-index: 1;
}

/* Smooth transitions for active/hover state to prevent layout jump */
.tahefobu-nav-menu .tahefobu-menu-item,
.tahefobu-mobile-nav-menu .tahefobu-mobile-menu-item {
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
    box-sizing: border-box; /* prevent padding changes from affecting layout */
    display: inline-block;   /* stabilize inline menu item widths */
    min-width: 0;
}

.tahefobu-nav-menu > li > a,
.tahefobu-mobile-nav-menu > li > a {
    font-size: 16px;
    line-height: 1;
}

.tahefobu-mobile-nav-menu li {
    margin: 0;
}

.tahefobu-nav-menu-horizontal .tahefobu-nav-menu>li:first-child,
.tahefobu-pointer-none .tahefobu-nav-menu-horizontal>li:first-child .tahefobu-menu-item,
.tahefobu-pointer-line-fx .tahefobu-nav-menu-horizontal>li:first-child .tahefobu-menu-item {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.tahefobu-nav-menu-horizontal .tahefobu-nav-menu>li:last-child,
.tahefobu-pointer-none .tahefobu-nav-menu-horizontal>li:last-child .tahefobu-menu-item,
.tahefobu-pointer-line-fx .tahefobu-nav-menu-horizontal>li:last-child .tahefobu-menu-item {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

div[class*="tahefobu-main-menu-align-"] .tahefobu-nav-menu-vertical .tahefobu-nav-menu>li>.tahefobu-sub-menu,
div[class*="tahefobu-main-menu-align-"] .tahefobu-nav-menu-vertical .tahefobu-nav-menu>li>.tahefobu-sub-mega-menu {
    left: 100%;
}

.tahefobu-main-menu-align-left .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
.tahefobu-main-menu-align-center .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
    right: 0;
}

.tahefobu-main-menu-align-right .tahefobu-nav-menu-vertical .tahefobu-sub-icon {
    left: 0;
}

.tahefobu-main-menu-align-left .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
.tahefobu-main-menu-align-left .tahefobu-nav-menu-vertical .tahefobu-menu-item,
.tahefobu-main-menu-align-left .tahefobu-nav-menu-vertical .tahefobu-sub-menu li a {
    text-align: left;
}

.tahefobu-main-menu-align-center .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
.tahefobu-main-menu-align-center .tahefobu-nav-menu-vertical .tahefobu-menu-item {
    text-align: center;
}

.tahefobu-main-menu-align-right .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
.tahefobu-main-menu-align-right .tahefobu-nav-menu-vertical .tahefobu-menu-item,
.tahefobu-main-menu-align-right .tahefobu-nav-menu-vertical .tahefobu-sub-menu li a {
    text-align: right;
}

@media screen and ( min-width: 2400px) {
    .tahefobu-main-menu-align--widescreenleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--widescreencenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--widescreenleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--widescreenleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--widescreencenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--widescreencenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--widescreenright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--widescreenright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

@media screen and ( max-width: 1221px) {
    .tahefobu-main-menu-align--laptopleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--laptopcenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--laptopleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--laptopleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--laptopcenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--laptopcenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--laptopright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--laptopright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

@media screen and ( max-width: 1200px) {
    .tahefobu-main-menu-align--tablet_extraleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--tablet_extracenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--tablet_extraleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tablet_extraleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--tablet_extracenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tablet_extracenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--tablet_extraright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tablet_extraright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

@media screen and ( max-width: 1024px) {
    .tahefobu-main-menu-align--tabletleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--tabletcenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--tabletleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tabletleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--tabletcenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tabletcenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--tabletright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--tabletright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

@media screen and ( max-width: 880px) {
    .tahefobu-main-menu-align--mobile_extraleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--mobile_extracenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--mobile_extraleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobile_extraleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--mobile_extracenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobile_extracenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--mobile_extraright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobile_extraright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

@media screen and ( max-width: 767px) {
    .tahefobu-main-menu-align--mobileleft .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon,
    .tahefobu-main-menu-align--mobilecenter .tahefobu-nav-menu-vertical .tahefobu-menu-item .tahefobu-sub-icon {
        right: 0;
    }
    .tahefobu-main-menu-align--mobileleft .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobileleft .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: left;
    }
    .tahefobu-main-menu-align--mobilecenter .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobilecenter .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: center;
    }
    .tahefobu-main-menu-align--mobileright .tahefobu-nav-menu-horizontal .tahefobu-nav-menu,
    .tahefobu-main-menu-align--mobileright .tahefobu-nav-menu-vertical .tahefobu-menu-item {
        text-align: right;
    }
}

/* --- Sub Menu --- */
.tahefobu-nav-menu .tahefobu-sub-menu {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 180px;
    text-align: left;
    list-style: none;
    margin: 0;
}

.tahefobu-nav-menu-vertical .tahefobu-nav-menu>li>.tahefobu-sub-menu,
.tahefobu-nav-menu-vertical .tahefobu-nav-menu>li>.tahefobu-sub-mega-menu {
    top: 0;
}

.tahefobu-sub-menu-position-inline .tahefobu-nav-menu-vertical .tahefobu-sub-menu {
    position: static;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
}

.tahefobu-sub-menu-position-inline .tahefobu-sub-menu a {
    position: relative;
}

.tahefobu-nav-menu .tahefobu-sub-menu .tahefobu-sub-menu {
    top: 0;
    left: 100%;
}

.tahefobu-sub-menu .tahefobu-sub-menu-item {
    display: block;
    font-size: 14px;
}

.tahefobu-nav-menu-horizontal .tahefobu-menu-item .tahefobu-sub-icon {
    margin-left: 7px;
    text-indent: 0;
}

.tahefobu-nav-menu:not(.tahefobu-mega-menu) .tahefobu-sub-icon {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.tahefobu-nav-menu:not(.tahefobu-mega-menu) .tahefobu-sub-icon-rotate {
    -webkit-transform: rotate(-90deg) translateX(80%);
    -ms-transform: rotate(-90deg) translateX(80%);
    transform: rotate(-90deg) translateX(80%);
}

.tahefobu-sub-divider-yes .tahefobu-sub-menu li:not(:last-child) {
    border-bottom-style: solid;
}


/* Mobile Menu */
.tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu),
.tahefobu-mobile-nav-menu-container {
    display: none;
}

.tahefobu-mobile-nav-menu-container {
    position: relative;
    z-index: 99999;
}

.tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu) {
    position: absolute;
    z-index: 99999;
    background: inherit;
}

.tahefobu-mobile-menu-full-width .tahefobu-mobile-mega-menu-wrap {
    width: 100vw;
}

.tahefobu-mobile-nav-menu {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu) {
    min-width: 200px;
}

.tahefobu-mobile-menu-drdown-align-left .tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu),
.tahefobu-mobile-menu-drdown-align-left .tahefobu-mobile-mega-menu-wrap {
    left: 0;
}

.tahefobu-mobile-menu-drdown-align-center .tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu),
.tahefobu-mobile-menu-drdown-align-center .tahefobu-mobile-mega-menu-wrap {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tahefobu-mobile-menu-drdown-align-right .tahefobu-mobile-nav-menu:not(.tahefobu-mobile-mega-menu),
.tahefobu-mobile-menu-drdown-align-right .tahefobu-mobile-mega-menu-wrap {
    right: 0;
}

.tahefobu-mobile-menu-item,
.tahefobu-mobile-sub-menu-item {
    position: relative;
}

.tahefobu-mobile-menu-item,
.tahefobu-mobile-sub-menu-item {
    display: block;
}

.tahefobu-mobile-sub-menu,
.tahefobu-mobile-sub-mega-menu {
    display: none;
}

.tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.tahefobu-mobile-menu-item-align-left .tahefobu-mobile-sub-menu a:before {
    content: ' ';
    display: inline-block;
    width: 10px;
}

.tahefobu-mobile-menu-item-align-left .tahefobu-mobile-sub-menu .tahefobu-mobile-sub-menu a:before {
    width: 20px;
}

.tahefobu-mobile-menu-item-align-center .tahefobu-mobile-nav-menu {
    text-align: center;
}

.tahefobu-mobile-menu-item-align-right .tahefobu-mobile-nav-menu {
    text-align: right;
}

.tahefobu-mobile-menu-item-align-right .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    right: auto !important;
    left: 0;
}

div[class*="tahefobu-sub-icon-"] .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
    font-style: normal;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.tahefobu-sub-icon-caret-down .tahefobu-sub-icon:before,
.tahefobu-sub-icon-caret-down .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    content: "\f0d7";
}

.tahefobu-sub-icon-angle-down .tahefobu-sub-icon:before,
.tahefobu-sub-icon-angle-down .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    content: "\f107";
}

.tahefobu-sub-icon-chevron-down .tahefobu-sub-icon:before,
.tahefobu-sub-icon-chevron-down .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    content: "\f078";
}

.tahefobu-sub-icon-plus .tahefobu-sub-icon:before,
.tahefobu-sub-icon-plus .tahefobu-mobile-nav-menu .menu-item-has-children>a:after {
    content: "\f067";
}

.tahefobu-mobile-divider-yes .tahefobu-mobile-menu-item {
    border-bottom-style: solid;
}


/* Mobile Menu Toggle Button */
.tahefobu-mobile-toggle-wrap {
    font-size: 0;
    line-height: 0;
}

.tahefobu-mobile-toggle {
    display: inline-block;
    padding: 7px;
    cursor: pointer;
    border-style: solid;
    text-align: center;
}

.tahefobu-mobile-toggle-line {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-line:last-child {
    margin-bottom: 0 !important;
}

/* Transform hamburger to cross icon when menu is open */
.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(2) {
    opacity: 0;
}

.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.tahefobu-mobile-toggle-text {
    font-size: 16px;
    line-height: 1 !important;
}

.tahefobu-mobile-toggle-text:last-child {
    display: none;
}

.tahefobu-mobile-toggle-v2 .tahefobu-mobile-toggle-line:nth-child(2) {
    width: 78%;
    margin-left: 24%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-v2 .tahefobu-mobile-toggle-line:nth-child(3) {
    width: 45%;
    margin-left: 57%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-v2.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(2),
.tahefobu-mobile-toggle-v2.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(3) {
    width: 100%;
    margin-left: 0;
}

.tahefobu-mobile-toggle-v3 .tahefobu-mobile-toggle-line:nth-child(2) {
    width: 75%;
    margin-left: 15%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-v3.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(2) {
    width: 100%;
    margin-left: 0;
}

.tahefobu-mobile-toggle-v4 .tahefobu-mobile-toggle-line:nth-child(1),
.tahefobu-mobile-toggle-v4 .tahefobu-mobile-toggle-line:nth-child(3) {
    width: 75%;
    margin-left: 25%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-v4 .tahefobu-mobile-toggle-line:nth-child(2) {
    width: 75%;
    margin-right: 25%;
    transition: all 0.3s ease;
}

.tahefobu-mobile-toggle-v4.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(1),
.tahefobu-mobile-toggle-v4.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(2),
.tahefobu-mobile-toggle-v4.tahefobu-mobile-toggle-open .tahefobu-mobile-toggle-line:nth-child(3) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.tahefobu-mobile-toggle-v5 .tahefobu-mobile-toggle-line:nth-child(1) {
    display: none;
}

.tahefobu-nav-menu-bp-always .tahefobu-nav-menu-container {
    display: none;
}

.tahefobu-nav-menu-bp-always .tahefobu-mobile-nav-menu-container {
    display: block;
}

@media screen and ( max-width: 1024px) {
    .tahefobu-nav-menu-bp-tablet .tahefobu-nav-menu-container {
        display: none;
    }
    .tahefobu-nav-menu-bp-tablet .tahefobu-mobile-nav-menu-container {
        display: block;
    }
}

@media screen and ( max-width: 767px) {
    .tahefobu-nav-menu-bp-pro-nn .tahefobu-nav-menu-container,
    .tahefobu-nav-menu-bp-pro-al .tahefobu-nav-menu-container,
    .tahefobu-nav-menu-bp-mobile .tahefobu-nav-menu-container {
        display: none;
    }
    .tahefobu-nav-menu-bp-pro-nn .tahefobu-mobile-nav-menu-container,
    .tahefobu-nav-menu-bp-pro-al .tahefobu-mobile-nav-menu-container,
    .tahefobu-nav-menu-bp-mobile .tahefobu-mobile-nav-menu-container {
        display: block;
    }
}