.site-header {
    z-index: 4000;
    background: #ffffff;
    position: sticky;
    top: 0;
    width: 100%;
    padding-left: var(--vm-grid-gap);
    padding-right: var(--vm-grid-gap);
    margin-bottom: 3rem;
}

.velomotion-header-menu {
    height: var(--vm-header-height);
    padding: 1rem 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.vm-main-menu {
    padding: 0 1rem;
}

.vm-main-menu .menu {
    margin: 0;
    padding: 0;
    display: flex;
}

.vm-main-menu .menu > .menu-item:not(:first-of-type):before {
    content: '|';
    color: #E4003A;
}

.menu-item > a {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
}

.menu-item.menu-item-has-children {
    position: relative;
}

.vm-main-menu__expand {
    display: none;
    padding: 0 0 0 0.75rem;
    margin: 0;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
}
.vm-main-menu .menu-item.menu-item-has-children > .vm-main-menu__expand {
    display: flex;
}
.vm-main-menu .menu-item.menu-item-has-children > .vm-main-menu__expand:before {
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    border-color: #000;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: all 0.2s ease-in-out;
}

.vm-main-menu .menu-item.menu-item-has-children.is-active > .vm-main-menu__expand:before {
    border-top: 0;
    border-bottom: 0.3em solid;
}

.vm-main-menu .menu-item.menu-item-has-children > a {
    padding-right: 0;
}

.vm-main-menu .menu-item > a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
}
.vm-main-menu .menu-item {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.vm-main-menu .menu-item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 100%;
    background: #ffffff;
    border: none;
    flex-direction: column;
    box-shadow: 0 5px 5px 2px rgba(0,0,0,0.3), inset 0 0 0 1px #efefef;
}

.vm-main-menu .menu-item.is-active .sub-menu {
    display: flex;
}

.vm-menu-logo {
    display: inline-block;
    margin-right: 1rem;
}

.vm-main-menu .sub-menu > .menu-item {
    width: 100%;
    display: block;
}

.vm-main-menu .sub-menu > .menu-item:not(:last-of-type):after {
    content: '';
    display: block;
    width: calc(100% - 3rem);
    height: 1px;
    background: #E4003A;
    margin: 0 auto;
}

.vm-menu-logo.vm-menu-logo--mobile {
    display: none;
}

.vm-menu-button-toggle {
    display: none;
}

.vm-menu-logo-link {
    display: inline-block;
    line-height: 0;
}

.vm-menu-container-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

@media all and (max-width: 1023.98px) {
    .vm-menu-logo.vm-menu-logo--mobile {
        display: inline-block;
        min-width: 52px;
    }
    .vm-menu-logo {
        display: none;
    }
    .vm-main-menu {
        display: none;
        position: fixed;
        width: 100%;
        top: 80px;
        left: 0;
        background: #ffffff;
        padding: 1.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    }

    .vm-main-menu__expand {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        padding-right: 20px;
    }
    .vm-menu-container-wrapper {
        flex-direction: row-reverse;
    }
    .vm-main-menu .menu {
        flex-direction: column;
    }
    .vm-main-menu.is-active {
        display: block;
    }
    .vm-main-menu .menu > .menu-item:before {
        display: none !important;
    }
    .vm-menu-button-toggle {
        margin-left: 1rem;
        display: inline-block;
        cursor: pointer;
        border: none;
        background-color: transparent;
        outline: none;
        position: relative;
        width: 48px;
        height: 48px;
        padding: 0;
    }
    .vm-menu-button-toggle:focus,
    .vm-menu-button-toggle:hover {
        border: none !important;
        background-color: transparent !important;
        outline: none !important;
    }
    .vm-menu-button-toggle > span {
        display: block;
        width: 36px;
        height: 2px;
        background-color: #E4003A;
        transition: all 0.18s ease;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -1px;
        margin-left: -18px;
        transform-origin: center;
    }
    .vm-menu-button-toggle > span:nth-child(1) {
        transform: translate(0, -8px);
    }
    .vm-menu-button-toggle > span:nth-child(3) {
        transform: translate(0, 8px);
    }
    .vm-menu-button-toggle.is-expanded > span:nth-child(2) {
        background-color: transparent !important;
    }
    .vm-menu-button-toggle.is-expanded > span:nth-child(1) {
        transform: rotate(45deg);
    }
    .vm-menu-button-toggle.is-expanded > span:nth-child(3) {
        transform: rotate(-45deg);
    }
    .vm-main-menu .menu-item .sub-menu {
        position: static;
        padding-left: 1.5rem;
        width: 100%;
    }
    .vm-main-menu .menu-item {
        flex-wrap: wrap;
    }
}

.velomotion-header-menu .switcher .option {
    position: absolute !important;
}
.vm-menu-container-wrapper .gtranslate_wrapper {
    position:relative;
}
.vm-menu-container-wrapper .gtranslate_wrapper .gt_switcher {
    position: relative;
    top: 0;
    left: 0;
    overflow: initial !important;
}
.vm-menu-container-wrapper .gtranslate_wrapper .gt_switcher .gt_option {
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width: 680px) {
    .site-header {
        padding-left: var(--vm-grid-gap-half);
        padding-right: var(--vm-grid-gap-half);
        margin-bottom: 2rem;
    }
}