@-webkit-keyframes fromtop {
    from{
        transform: translateY(-50%);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fromtop{
    from{
        transform: translateY(-50%);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}


:root{
    --primary-color: #d19e24;
    --body-text-color: #000000;
}
html,
body {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-variant-ligatures: no-common-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 300px;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.5em;
    font-weight: 400;
    color: var(--body-text-color);
    scroll-behavior: smooth;
}

/* PRELOADER */

.preloader{
    position: fixed;
    top:0;
    right: 0;
    background-color: var(--body-text-color);
    width: 100%;
    height: 100vh;
    z-index: 9999;
    overflow: hidden;
}
.preloader .preloader-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
}
.preloader img {
    position: absolute;
    width: 50%;
    height: auto;
    top: 45%;
    left: 25%;
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.92);
    animation: preloaderLogoFadeIn 2s cubic-bezier(.22, 1, .36, 1) .15s forwards;
}
.preloader.move-logo img{
    width: 251.3px;
    top: 44px;
    left: 50px;
    opacity: 1;
    filter: blur(0);
}

/******* HEADER / NAVI START *******/

#page{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.cursor-style {
    position: absolute;
    z-index: 1;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
}
.cursor-style:before,
.cursor-style:after{
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    display: block;
    opacity: 0;
}
.cursor-style:before{
    opacity: 1;
    background: -webkit-radial-gradient(circle, rgba(220,220,220,.8) 0%,rgba(220,220,220,0) 50%,rgba(220,220,220,0) 100%);
    background: radial-gradient(circle, rgba(220, 220, 220, 0.8) 0%,rgba(220,220,220,0) 50%,rgba(220,220,220,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.cursor-style:after{
    opacity: 0;
    background: -webkit-radial-gradient(circle, rgba(209,158,36,.8) 0%,rgba(209, 158, 36,0) 50%,rgba(209, 158, 36,0) 100%);
    background: radial-gradient(circle, rgba(209, 158, 36, 0.8) 0%,rgba(209, 158, 36,0) 50%,rgba(209, 158, 36,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.cursor-style.linkhover:before{
    opacity: 0;
}
.cursor-style.linkhover:after{
    opacity: .8
}


#main{
    position: relative;
    overflow: hidden;
}
#main > div{
    z-index: 2;
}
header {
    width: 100%;
    margin: 0 auto;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
}
header #branding svg{
    width: 30px;
    height: auto;
}

/* MIDNIGHT JS */

header .header-wrapper-inner{
    padding: 40px 50px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-wrapper.white #branding svg{
    fill: #fff;
    display: block;
}
.header-wrapper.white .canvas-navi-bar .bar{
    background-color: #fff;
}

header .header-wrapper .canvas-navi-bar:hover .bar{
    background-color: var(--primary-color);
}

/* CANVAS NAV */

header .canvas-navi-icon {
    position: relative;
    z-index: 100;
}
header .canvas-navi-bar {
    cursor: pointer;
    width: 50px;
    padding: 0;
}
header .canvas-navi-bar div {
    display: block;
    width: 100%;
    height: 2px;
    margin-left: auto;
    margin-bottom: 6px;
    background-color: var(--body-text-color);
    transition: 0.4s all ease;
    position: relative;
}
header .canvas-navi-bar div.bar:last-child {
    margin-bottom: 0;
}

#canvas-nav {
    position: fixed;
    background: var(--body-text-color);
    top: -100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    text-align: left;
    visibility: hidden;
}
#canvas-nav:before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    background-image: url('../img/canvas-nav-bg.png');
    background-size: 100% 100%;
    background-position: right bottom;
    opacity: 0;
    z-index: -1;
}
#canvas-nav > *{
    z-index: 102;
}
#canvas-nav .canvas-nav-inner{
    padding: 10vw 10vw 6vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}
#canvas-nav .logo{
    position: absolute;
    top: 43px;
    left: 50px;
    opacity: 0;
}
#canvas-nav .logo svg{
    width: 30px;
    height: auto;
    fill: #fff;
}
#canvas-nav .close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 32px;
    right: 65px;
    opacity: 0;
}
#canvas-nav .close:hover .bar{
    background-color: var(--primary-color);
}
.close > div {
    display: block;
    width: 50px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    transform-origin: center center;
}
.close .bar:first-child{
    transform: rotate(-45deg);
}
.close .bar:nth-child(2) {
    transform: rotate(45deg);
}

#canvas-nav ul{
    margin: 0;
    padding: 0;
}
#canvas-nav .main-menu{
    margin: auto 0 7%;
}
#canvas-nav .main-menu ul li {
    list-style: none;
    display: inline-block;
    margin-right: 60px;
    margin-bottom: 60px;
}
#canvas-nav .main-menu ul li a {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    font-size: 6vw;
    position: relative;
    font-weight: 100;
}
#canvas-nav .main-menu ul li a:hover{
    color: var(--primary-color);
}
.canvas-nav-footer {
    display: flex;
    justify-content: space-between;
}
.canvas-nav-footer .contact-infos{
    font-size: 0.9em;
    line-height: 1.4em;
    font-weight: 300;
}
.canvas-nav-footer .contact-infos img {
    display: inline-block;
    height: 12px;
}
.canvas-nav-footer .bottom-menu li{
    list-style: none;
    display: inline-block;
    width: 45%;
}
.canvas-nav-footer .bottom-menu li a{
    font-weight: 300;
    text-decoration: none;
}

.canvas-nav-footer a i {
    transform: scale(0.6);
    display: inline-block;
    width: 30px;
}

/* OPEN */

.canvas-menu-open #canvas-nav nav ul li,
.canvas-menu-open .canvas-nav-footer{
    animation: fromtop .6s .3s backwards;
}
.canvas-menu-open .canvas-nav-footer{
    animation-delay: 1s;
}
.canvas-menu-open #canvas-nav nav ul li:nth-child(1){animation-delay: .6s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(2){animation-delay: .65s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(3){animation-delay: .70s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(4){animation-delay: .75s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(5){animation-delay: .80s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(6){animation-delay: .85s;}
.canvas-menu-open #canvas-nav nav ul li:nth-child(7){animation-delay: .90s;}

.canvas-menu-open #canvas-nav {
    top: 0;
    visibility: visible;
}
.canvas-menu-open #canvas-nav:before{
    opacity: .4;
    transition-delay: 1.2s;
}
.canvas-menu-open #canvas-nav .logo,
.canvas-menu-open #canvas-nav .close{
    transition-delay: 1.2s;
    opacity: 1;
}
button.canvas-navi-icon:focus-visible,
.canvas-menu-open #canvas-nav .close:focus-visible{
    transition-delay: 0s;
    animation: ease 0.01s;
    opacity: 1;
    outline: 2px solid #1b6dd8;
}
#canvas-nav .close:hover > div{
    transform: none;
}
button.canvas-navi-icon,
#canvas-nav button.close{
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: 1;
    text-align: inherit;
    cursor: pointer;
    border-radius: 0;
}
button.canvas-navi-icon::-moz-focus-inner,
#canvas-nav button.close::-moz-focus-inner{
    border: 0;
    padding: 0;
}
button.canvas-navi-icon:focus-visible,
#canvas-nav button.close:focus-visible{
    outline: 2px solid #1b6dd8;
    outline-offset: 4px;
    border-radius: 1px;
}

/* WPML */

.wpml-ls-legacy-list-horizontal {
    padding: 0;
    border: 0;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    font-weight: 100;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item.wpml-ls-current-language {
    font-weight: 400;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item + .wpml-ls-item {
    border-left: 1px solid #444;
}
.wpml-ls-legacy-list-horizontal a {
    padding: 2px 10px 2px;
}

/* FOCUS STATES */

.vc_tta-panel-title > a:focus-visible{
    outline: none;
}

.vc_tta-panel-title > a:focus-visible .vc_tta-controls-icon{
    outline: 2px solid #1b6dd8;
    outline-offset: 4px;
    border-radius: 2px;
}

#interview-slider button.slick-arrow{
    height: 66px;
    width: 22px;
    padding: 8px 0;
    padding-bottom: 18px;
    box-sizing: content-box;
}

#interview-slider button.slick-arrow::before{
    display: block;
    line-height: 1;
}

#interview-slider button.slick-arrow:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 4px !important;
    border-radius: 2px;
}

.gform_wrapper .select2-container .select2-selection:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 6px !important;
    border-radius: 2px;
}

.gform_wrapper .select2-container .select2-selection:focus-visible{
    box-shadow: 0 10px 0 0 transparent;
    border-radius: 2px;
}

.gform_wrapper input[type="checkbox"]:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

.gform_wrapper .gform_button:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Inputs / Textarea / File */
#recruitee-careers-details-container.active .rt-control:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 2px !important;
}

/* Checkbox: outline auf Fake-UI (span.cr) */
#recruitee-careers-details-container.active .rt-fancy input[type="checkbox"]:focus-visible + .cr{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

/* Close + Footer Buttons (div/span) */
#recruitee-careers-details-container.active .rt-details__close:focus-visible,
#recruitee-careers-details-container.active .rt__button[data-rt-close]:focus-visible,
#recruitee-careers-details-container.active .rt__button[data-rt-form]:focus-visible{
    outline: 2px solid #1b6dd8 !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

/*************************************/
@-webkit-keyframes preloaderLogoFadeIn {
    from {
        opacity: 0;
        filter: blur(6px);
        -webkit-transform: scale(0.96);
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        filter: blur(0);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes preloaderLogoFadeIn {
    from {
        opacity: 0;
        filter: blur(6px);
        -webkit-transform: scale(0.96);
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        filter: blur(0);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/******* HEADER / NAVI START *******/

/* LANGUAGE SWITCHER */

.language-switcher {
    margin-top: -2px;
    margin-left: 15px;
    display: flex;
    align-items: center;
}
.language-switcher svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: #fff;
    background-color: transparent;
    border-radius: 20px;
    padding: 3px;
    box-sizing: border-box;
}
.language-switcher svg:hover,
.language-switcher.open svg{
    background-color: var(--primary-color);
}
header .language-switcher .wpml-ls-legacy-list-horizontal {
    padding: 0;
    margin: 0;
    width: 0;
    overflow: hidden;
    border: none;
}
header  .language-switcher.open .wpml-ls-legacy-list-horizontal {
    width: 65px;
}
header  .language-switcher .wpml-ls-legacy-list-horizontal>ul {
    width: 65px;
}
#navigation .language-switcher .wpml-ls-legacy-list-horizontal a {
    font-weight: 400;
    margin: 0 5px;
}
#navigation .language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-current-language a {
    font-weight: 600;
}
.language-switcher .wpml-ls-legacy-list-horizontal li + li {
    border-left: 1px solid #fff;
}

/* LANGUAGE SWITCHER TEXT (header + canvas nav) */

.header-actions {
    display: flex;
    align-items: center;
    gap: 45px;

}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.lang-switch__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.lang-switch__link:hover {
    color: var(--primary-color);
}
.lang-switch__link.is-current {
    font-weight: 600;
}
.lang-switch__sep {
    opacity: 0.4;
    font-weight: 300;
}

/* Colour per midnight.js header state */
.header-wrapper .lang-switch {
    color: var(--body-text-color);
}
.header-wrapper.white .lang-switch {
    color: #fff;
}

/* Canvas nav: same spot as header (left of the close button) */
#canvas-nav .canvas-nav-lang {
    position: absolute;
    top: 32px;
    right: 155px;
    height: 50px;
    display: flex;
    align-items: center;
    z-index: 102;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
#canvas-nav .canvas-nav-lang .lang-switch {
    color: #fff;
}
.canvas-menu-open #canvas-nav .canvas-nav-lang {
    opacity: 1;
    transition-delay: 1.2s;
}