/* TaxCoach bundle; source order is significant. */

/* TaxCoach source: /css/header.css */
button {
    background-color: transparent;
    outline: 0;
    border-style: none;
}
.navigation-overlay-style {
    background-color: black;
    opacity: 50%;
    width: 9999px;
    height: 9999px;
}
.navigation-overlay {

}
/* FIXME: This is a MASSIVE hack. I wasn't able to find the place where the padding was applied */
/*        This hack is supposed to fix the padding of 17px being applied when the "Client zone" was clicked */
body {
    padding-right: 0 !important;
    padding-top: var(--page-header-offset, 0px);
}

header {
    background-color: #2F202D;
    border-bottom: #594D57 solid 1px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%);
    /*padding-top: 80px;*/
    max-height: 80px;
    height: 100%;
    color: white;

    @media screen and (max-width: 1199px) {
        display: none;
    }

    @media screen and (max-width: 374px) {
        max-height: 44px;
    }
}

header.taxswitch-visible {
    max-height: none;
    height: auto;
}

.header-nav {
    max-width: 1920px !important;
    margin: 0 auto !important;
    position: unset !important;
    top: unset !important;
    left: unset !important;
    width: unset !important;
    z-index: unset !important;
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;
    height: 100% !important;
    min-height: 80px;
    padding: 0 80px !important;
    padding-top: 16px !important;
    padding-bottom: 20px !important;

    @media screen and (max-width: 1599px) {
        padding-left: 57px !important;
        padding-right: 57px !important;
    }

    @media screen and (max-width: 1360px) {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo-container {
    max-width: 174px;
    flex: 0 1 174px;
    margin-right: 65px;

    @media screen and (max-width: 1599px) {
        margin-right: 30px;
    }

    @media screen and (max-width: 1299px) {
        max-width: 150px;
        flex: 0 1 150px;
        margin-right: 32px;
    }

    @media screen and (max-width: 400px) {
        max-width: 150px;
        flex: 0 1 150px;
        margin-right: 16px;
    }
}

.nav-logo-container img {
    @media screen and (max-width: 1299px) {
        max-width: 150px;
    }

    @media screen and (max-width: 374px) {
        max-width: 130px;
    }
}

.nav-menus-container {
    flex: 1 1 100%;
}

.nav-misc-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    gap: 24px;
    max-height: 48px;
}

.nav-menus-list {
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 32px;

    @media screen and (max-width: 1599px) {
        gap: 24px;
    }
}

.nav-menus-item {
    display: flex;
    align-items: center;
    max-width: fit-content;
    position: relative;
}

nav .nav-dropdown-menu {
    top: 50px;
    border-radius: 0 0 4px 4px;
    background-color: white;
    color: black;
    border: 1px solid #ddd;
    padding: 4px;
    width: max-content;
}

.nav-dropdown-menu__search {
    position: absolute;
    top: 100%;
    border: solid #594D57 10px;
    outline: none;
    border-radius: 0 0 10px 10px;
}

.nav-dropdown-menu__search input {
    outline: none;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
}

.nav-dropdown-menu__search button {
    background-color: #2F202D;
    padding: 6px 10px;
    font-size: 14px;
    flex: 0 1;
}

.menu-button {
    color: white;
    outline: none !important;
    padding: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none !important;
}

.menu-button:hover,
.menu-button.active {
    color: #D4A773;
}

.menu-button img {
    transition: transform 200ms ease;
}

.menu-button.active img:last-child {
    transform: rotate(180deg);
    filter: brightness(0) saturate(100%) invert(68%) sepia(22%) saturate(693%) hue-rotate(352deg) brightness(99%) contrast(86%);
}

.nav-dropdown-menu__element {
    padding: 8px 16px;
    color: black !important;
    text-decoration: none !important;
    display: block;
    border-radius: 4px;
}

.nav-dropdown-menu__element:hover {
    background-color: #D4A773;
}

.nav-dropdown-menu {
    position: absolute;
    display: none;
}
.nav-dropdown-menu.show {
    display: block;
}

#nav-search-button {
    transition: 150ms linear;
    background-image: url("/img/nav/icon-search.svg");
    width: 21px;
    height: 21px;
    outline: none !important;
}

#nav-search-button.active {
    background-image: url("/img/clients-zone/x.png");
    width: 18px;
    height: 18px;
}

.vertical-line {
    width: 1px;
    height: 40px;
    background-color: #594D57;
    max-height: 24px;
    /*margin: 0 10px;*/
}

.show-client-zone-button {
    font-size: 16px;

    @media screen and (max-width: 1500px) {
        font-size: 14px;
    }
    @media screen and (max-width: 1199px) {
        font-size: 12px;
    }
}

.client-zone button:hover {
    text-decoration: underline white;
}

.show-client-zone-button:focus {
    outline: none;
}

.account-icon {
    margin-right: 22px;
}

.header-big-button {
    background-color: #D4A773;
    text-decoration: none !important;
    color: black !important;
    border-radius: 8px;
    display: block;
    padding: 12px 24px;
}

.header-big-button:hover {
    opacity: 0.8;
}

.menu-button-lang {
    gap: 4px;
    color: #9F989E;
}

.menu-button-lang:hover:not(.active) {
    color: #9F989E;
}

.nav-dropdown-menu__langs {
    top: 100% !important;
    padding: 8px !important;
    background-color: rgb(32, 22, 31) !important;
    border-left: 1px solid rgb(89, 77, 87) !important;
    border-bottom: 1px solid rgb(89, 77, 87) !important;
    border-right: 1px solid rgb(89, 77, 87) !important;
}

.nav-dropdown-menu__langs.mobile {
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
}

.nav-dropdown-menu-client-zone {
    top: 110% !important;
    border-radius: 8px !important;
    left: 68% !important;
}

.nav-offer-menu {
    /*top: 80px !important;*/
    background-color: #F2F4F7 !important;
    color: #101828;
    padding: 0 !important;
    width: 100vw !important;
    /*position: fixed;*/
    /*left: 50%;*/
    border-radius: 0 !important;
    /*transform: translateX(-50%);*/
}

.nav-offer-menu__inner {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.nav-offer-menu__category-buttons {
    border-right: 1px solid #E4E7EC;
    box-shadow: 0px 4px 16px 0px #00000029;
    /*flex: 1;*/
}

.login-logo {
    filter: unset !important;
}

.nav-menus-item .nav-dropdown-menu[data-menu="6"] .nav-dropdown-menu__element:first-child,
.mobile-menu-panel__controls > .mobile-submenu:last-of-type .mobile-submenu__element:first-child {
    pointer-events: none;
    opacity: .5;
    cursor: default;
}

/* TaxCoach source: /css/header-mobile.css */
.header-mobile {
    display: none;
    background-color: #2F202D;
    border-bottom: #594D57 solid 1px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%);
    color: white;
    max-height: 68px !important;
    height: 100%;

    @media screen and (max-width: 1199px) {
        display: block;
    }

    @media screen and (max-width: 1199px) {
        display: block;
    }

    @media screen and (max-width: 374px) {
        max-height: 44px !important;
    }
}

.header-mobile.taxswitch-visible {
    max-height: none !important;
    height: auto;
}

.header-nav-mobile {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 68px;
    padding: 0 16px;
    max-width: 1920px !important;
    margin: 0 auto !important;
    position: relative !important;
    top: unset !important;
    left: unset !important;
    width: unset !important;
    padding-top: unset !important;
    z-index: 1 !important;
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;

    @media screen and (max-width: 374px) {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        align-items: center;
        min-height: unset !important;
        background-color: #2F202D;
    }
}

.mobile-nav__controls {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;

    @media(max-width:350px){
            gap: 8px;
    }
}

.ham-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ham-icon span {
    display: block;
    background-color: #FFFFFF;
    width: 30px;
    height: 2px;
    transition: 400ms;
}

.ham-icon.active span:nth-child(1) {
    transform: translate(0, 8px) rotate(-45deg);
}
.ham-icon.active span:nth-child(2) {
    opacity: 0;
}
.ham-icon.active span:nth-child(3) {
    transform: translate(0, -8px) rotate(45deg);
}

.mobile-menu-panel {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    background-color: #2F202D;
    z-index: 998;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    height: calc(100vh);
    overflow-y: auto;
}

.mobile-menu-panel.active {
    display: flex;
}

.mobile-control {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none !important;
    color: white !important;
    outline: none !important;
    border-bottom: 1px solid #594D57;
    padding: 16px 0;
}

.mobile-menu-panel__bottom {
    margin-top: auto;
    margin-bottom: 148px;
    padding-top: 24px;
}

.new-header-mobile-big-button {
    background-color: #D4A773;
    padding: 12px 24px;
    text-decoration: none !important;
    text-align: center;
    color: #2F202D !important;
    width: 100%;
    border-radius: 8px;
    display: block;
}

.mobile-header-client-zone-button {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    outline: none !important;
    width: 100%;
    gap: 14px;
    color: white;
}

.mobile-submenu {
    display: none;
    background-color: white;
    position: fixed;
    top: var(--mobile-header-offset, 68px);
    left: 0;
    width: 100%;
    z-index: 998;
    flex-direction: column;
    gap: 16px;
    height: calc(100vh - var(--mobile-header-offset, 68px));
    overflow-y: auto;
}

.mobile-submenu__inner {
    padding: 16px;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu__header {
    display: flex;
    flex-direction: row;
    align-items: center;

    background-color: #594D57;
    padding: 16px;
    color: white;
    border-bottom: 1px solid #594D57;
}

.mobile-submenu__element {
    display: block;
    color: #2F202D !important;
    border-bottom: 1px solid #E4E7EC;
    padding: 16px 0;
}

.mobile-client-zone {
    display: none;
    background-color: white;
    color: #101828;
    position: fixed;
    left: 0;
    top: var(--mobile-header-offset, 68px);
    height: calc(100vh - var(--mobile-header-offset, 68px));
    width: 100%;
}

.mobile-client-zone.active {
    display: block;
}

.mobile-lang-switch {
    padding: 8px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #9F989E !important;
    border: 1px solid #9F989E;
    border-radius: 100px;

    @media screen and (max-width: 374px) {
        padding: 4px 8px;
    }
}

