/**
 * Overwrite semantic css html height.
 * Important: DO NOT REMOVE THIS, IS USED FOR iFrameResizer.
 */
:root {
    --companyPrimaryColor: #D00035;
    --companyPrimaryColorHover: #891023;
    --colorPaleGreen: #F4F8E9;
    --colorPaleGreenTwo: #E4EAD6;
    --colorSilverThree: #CFD9BC;
}

svg:not(:root) {
    overflow: visible;
}

 html, body {
    height: initial;
    font-size: 100%;
    line-height: 1.25;
    font-family: "Frutiger Light", Arial sans-serif;
}

/* Fonts */
@font-face { font-family: 'Frutiger Bold';
    src: url('font/FrutigerLTPro-Bold.otf') format('opentype'); }
@font-face { font-family: 'Frutiger Light';
    src: url('font/FrutigerLTPro-Light.otf') format('opentype'); }
@font-face { font-family: 'Frutiger Standard';
    src: url('font/FrutigerLTPro-Roman.otf') format('opentype'); }

main a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--companyPrimaryColor);
    transition: 0.2s ease-in-out;
}

main a:hover {
    color: var(--companyPrimaryColorHover);
}

main a svg, main a svg path {
    transition: 0.2s ease-in-out;
}

main a:hover svg, main a:hover svg path {
    fill: var(--companyPrimaryColorHover);
}

ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 24px;
}

p, ul {
    font-size: 1.25rem;
    line-height: 1.625rem;
}

b {
    font-weight: normal;
}

h1, h3, h4, h5 {
    font-family: "Frutiger Standard", Arial sans-serif;
    font-weight: normal;
}

h1 {
    font-size: 2.25em;
    line-height: 40px;
    margin: 17px 0 13px;
}

h2, h3 b {
    font-family: "Frutiger Bold", Arial sans-serif;
}

h2, h2:last-child, h3, h3:last-child {
    font-size: 2.25em;
    line-height: 44px;
    display: inline-block;
    margin-top: 24px;
    margin-bottom: 24px;
    font-weight: normal;
}

/* Buttons */
.button {
    font-family: "Frutiger Standard", Arial sans-serif;
    margin: 0;
    padding: 11px 30px;
    transition: 0.2s ease-in-out;
    text-align: center;
}

.button.red {
    background-color: var(--companyPrimaryColor);
    color: #FFFFFF;
    font-family: "Frutiger Bold", Arial sans-serif;
}

.button.red:hover {
    background-color: var(--companyPrimaryColorHover);
}

.button.green {
    background-color: var(--colorPaleGreenTwo);
    color: #000000;
}

.button.green:hover {
    background-color: var(--colorSilverThree);
}

/* Wrapper */
#wrapper {
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

main section {
    max-width: 1220px;
    justify-content: space-between;
    padding: 40px 40px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.align-start {
    justify-content: flex-start;
}

.flex-gap {
    column-gap: 118px;
    row-gap: 32px;
}

.flex-gap.emptyContainer {
    row-gap: 0;
}

.no-wrap {
    flex-wrap: nowrap;
}

.flexRight {
    width: 100%;
    max-width: 755px;
}

.flexLeft {
    min-width: 268px;
}

.flexRight.width665 {
    max-width: 665px;
}

/* Header */
header {
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 2px -2px #E5E5E5;
}

header .container {
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 40px 16px;
    max-width: 1220px;
    margin: 0 auto;
}

.logo {
    width: 230px;
}

.logo.short {
    display: none;
    width: 32px;
}

.headerButtons {
    gap: 8px;
}

.ui.popup {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 224px;
}

/**
 * Header image.
 */
#keyVisual {
    display: block;
    overflow: hidden;
}
#keyVisual img {
    width: 100%;
    height: auto;
}

#titleAndIntroduction {
    row-gap: 0;
}

#titleAndIntroduction h2 {
    margin-top: 24px;
}

.imageTablet, .imageMobile {
    display: none;
}

/* Intro Box */
#introBox {
    position: relative;
    padding: 36px;
    background-color: var(--companyPrimaryColor);
    color: #FFFFFF;
    margin-top: -34%;
    margin-bottom: 28px;
    min-height: 260px;
}

.introBoxLabel {
    position: relative;
    line-height: 37px;
}

.introBoxLabel::after {
    content: "";
    position: absolute;
    display: block;
    bottom: -10px;
    width: 52px;
    height: 1px;
    background-color: #FFFFFF;
}

#introBox svg {
    position: absolute;
    bottom: -28px;
    left: 142px;

}

/* Benefits */
#benefits .cardItemsContainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#benefits {
    flex-wrap: nowrap;
    flex-direction: column;
    row-gap: 8px;
}

#benefits h3 {
    font-family: "Frutiger Bold", sans-serif;
    position: absolute;
    left: 24px;
    top: 24px;
    font-size: 1.5rem;
    line-height: 1.5rem;
    max-width: calc(100% - 48px);
}

.benefitsTitle {
    row-gap: 0;
}

#benefits ul {
    margin: 52px 0 0;
    padding: 0 15px;
    font-size: 1rem;
    line-height: 1.25rem;
}

.card {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    background-color: var(--colorPaleGreenTwo);
    aspect-ratio: 1/1;
    cursor: pointer;
}

.card.rotate {
    transform: rotateY(180deg);
}

.card.rotate .face.front {
    display: none;
}

.card.rotate .face.back {
    display: block;
}

.face {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 24px;
}

.face.front {
    transform: rotateY(0deg);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.face.back {
    display: none;
    transform: rotateY(180deg);
    z-index: 1;
}

.moreBenefitsBox {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background-color: var(--colorPaleGreen);
    aspect-ratio: 1/1;
    padding: 24px 24px 40px;
}

.moreBenefitsBox a {
    font-family: "Frutiger Bold", Arial sans-serif;
}

/* About */
#about-button {
    margin-top: 24px;
    color: var(--companyPrimaryColor);
}

#about-button:hover {
    color: var(--companyPrimaryColorHover);
    background-color: var(--colorSilverThree);
}

/* Awards */
#awards {
    margin-top: 60px;
    column-gap: 32px;
    align-items: center;
}

#awards img {
    max-width: 190px;
    width: 100%;
    height: auto;
}

#awards .friendlyWorkspace {
    max-width: 200px;
}

/* Video */
#video {
    flex-direction: column;
    row-gap: 8px;
    flex-wrap: nowrap;
}

#video iframe {
    aspect-ratio: 16/9;
    border: none;
}

/* Contact */
#contact {
    max-width: 100%;
    color: #FFFFFF;
}

#contact > div {
    background-color: var(--companyPrimaryColor);
    padding: 40px 0;
}

#contact > div:first-child {
    margin-bottom: 8px;
}

#contact a {
    color: #FFFFFF;
    transition: 0.2s ease-in-out;
}

#contact a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.contactLinie, .contactHR {
    margin-left: auto;
    margin-right: auto;
}

.contactImage {
    max-width: 263px;
    width: 100%;
    aspect-ratio: 1/1;
}

#contact a:hover svg path {
    fill: #FFFFFF;
}

#contact a:hover svg .linkedin-path {
    fill: var(--companyPrimaryColor);
}

/* Application process */
#applicationProcess {
    padding-top: 80px;
}

#applicationProcess .accordion .title {
    background-color: var(--colorPaleGreenTwo);
    margin-bottom: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-family: "Frutiger Standard", Arial sans-serif;
}

#applicationProcess .accordion .title.active svg {
    transform: rotate(180deg);
}

#applicationProcess .accordion .content {
    padding: 16px 16px 32px;
}

/* Application CTA */
#applicationCTA {
    row-gap: 0;
    align-items: flex-end;
}

/* Similar Jobs */
#similarJobs {
    flex-direction: column;
}

#similarJobs .similarJobsTitle {
    row-gap: 0;
}

#similarJobsWrapper {
    display: flex;
    gap: 18px;
}

#similarJobsWrapper > a {
    display: block;
    width: 100%;
    background-color: var(--colorPaleGreenTwo);
    transition: 0.2s ease-in-out;
    color: #000;
}

#similarJobsWrapper > a:hover {
    background-color: var(--colorSilverThree);
}

#similarJobsWrapper img {
    width: 100%;
}

.similarJobContainer {
    padding: 24px;
}

#similarJobsWrapper .job-meta {
    max-width: 90%;
}

#similarJobsWrapper .job-meta .pensum, #similarJobsWrapper .job-meta > div > div {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

#similarJobsWrapper .workplace {
    display: inline-flex;
}

#similarJobsWrapper .job-meta .pensum {
    margin-bottom: 14px;
}

#similarJobsWrapper .similarJob .jobTitle {
    font-family: "Frutiger Bold", Arial sans-serif;
    font-size: 1.25rem;
    line-height: 1.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    color: #000;
    margin: 0 0 24px;
    max-width: 90%;
}

.moreVacancies {
    display: flex;
    justify-content: end;
    margin-top: 24px;
}

.moreVacancies a {
    font-family: "Frutiger Bold", Arial sans-serif;
}

/* Footer & Follow us sections */
#footer {
    position: relative;
    margin-top: 40px;
    background: #555B67;
    width: 100%;
}

.footerContent {
    max-width: 1220px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 32px 40px;
    color: #FFFFFF;
}

.footerContent a {
    color: #FFFFFF;
}

.copyright {
    gap: 8px;
}

.sepLine {
    display: none;
}

.followContainer {
    align-items: center;
    gap: 24px;
}

.followTitle {
    font-family: "Frutiger Bold", Arial sans-serif;
}

.followIcons {
    gap: 8px;
}

.followContainer.insideContent .followIcons {
    gap: 12px;
}

.followIcons img {
    width: 48px;
}

#goTopBtn {
    display: none;
}

/* Cookie Banner */
#cookieBanner {
    display: none;
    position: fixed;
    background: var(--colorPaleGreen);
    height: auto;
    left: 0;
    width: 100%;
    z-index: 100000000;
    color: #000;
    font-size: 14px;
    line-height: 17px;
    font-weight: 300;
    border-bottom: 0;
    bottom: 0;
    top: auto;
}

.cookieBannerInner {
    padding: 12px;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookieBannerInner p {
    padding-right: 10px;
    margin: 0;
    font-size: 0.875rem;
}

.cookieBannerInner a {
    display: block;
    border: 0;
    border-radius: 0;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--companyPrimaryColor);
    background-color: var(--colorPaleGreenTwo);
    padding: 14px 26px 12px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: all .25s ease-in-out;
}

.cookieBannerInner a:hover {
    background-color: var(--colorSilverThree);
    color: var(--companyPrimaryColorHover);
}

/* Responsive */
@media screen and (min-width:641px) and (max-width:1560px) {
    .imageTablet {
        display: block;
    }
    .imageDesktop, .imageMobile {
        display: none;
    }
}

@media screen and (max-width: 1220px) {
    #benefits .cardItemsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #benefits .card, .moreBenefitsBox {
        aspect-ratio: auto;
        min-height: 296px;
    }
    footer .followTitle {
        display: none;
    }
}

@media screen and (max-width: 1130px) {
    .contactLinie, .contactHR {
        gap: 40px;
    }

    #contact .noContactImage {
        display: none;
    }
}

@media screen and (max-width: 780px) {
    .flexRight.width665 {
        max-width: 700px;
    }
    #similarJobsWrapper {
        flex-direction: column;
    }
    #similarJobsWrapper a {
        min-height: 154px;
    }
    #introBox {
        margin-top: -112px;
    }
    #tasks img, #profile img {
        width: 112px;
    }
}

@media screen and (max-width: 767px) {
    h1, h2, h3, h4, h5 {
        hyphens: auto;
        font-size: 20px;
        line-height: 24px;
    }
    h2, h2:last-child, h3, h3:last-child {
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 20px;
        line-height: 24px;
    }
    html, body, p, ul {
        font-size: 14px;
        line-height: 20px;
    }
    main section {
        padding: 24px 12px;
    }
    .button {
        padding: 10px 16px;
    }
    header #apply-button, #share-button {
        padding: 6px 16px;
    }
    .logo {
        display: none;
    }
    header .container {
        padding: 16px 12px 8px;
    }
    header .container::before {
        height: 8px;
        background: var(--companyPrimaryColor);
        content: "";
        position: absolute;
        top: 0;
        width: calc(100% - 24px);
    }
    .logo.short {
        display: block;
    }
    #introBox {
        padding: 10px 16px 40px;
        margin-top: -86px;
        min-height: 180px;
    }
    #introBox svg {
        left: 56px;
    }
    #awards {
        gap: 16px;
    }
    #awards img {
        max-width: 132px;
    }
    #awards .friendlyWorkspace {
        max-width: 140px;
    }
    #contact > div {
        padding: 0;
    }
    #applicationProcess {
        padding-top: 48px;
    }
    #applicationProcess .accordion .title {
        font-size: 16px;
    }
    #footer {
        margin-top: 24px;
    }
    footer .footerContent {
        padding: 16px 12px;
    }
}

@media screen and (max-width:700px) {
    #benefits .cardItemsContainer {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media screen and (max-width:640px) {
    .imageMobile {
        display: block;
    }
    .imageDesktop, .imageTablet {
        display: none;
    }
    #tasks, #profile {
        row-gap: 16px;
    }
    #tasks img, #profile img {
        width: 80px;
    }
    .contactLinie, .contactHR {
        flex-direction: column;
    }
    .contactImage {
        max-width: 320px;
    }
    footer .footerContent {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 32px 12px 16px;
    }
    .copyright {
        flex-direction: column-reverse;
        row-gap: 16px;
    }
    .copyright .sep {
        display: none;
    }
    .sepLine {
        display: block;
        height: 1px;
        width: 100%;
        background-color: white;
    }
    #goTopBtn {
        position: absolute;
        display: inline-block;
        right: 2px;
        bottom: 5px;
        padding: 10px;
    }
}

.printable-only {
    display: none;
}