.timeline-item__face--front {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1200px) {
    .timeline-item__face--front .timeline-item__headline {
        display: none;
    }
    .wide-links {
        margin-bottom: 0 !important;
    }
}

.timeline-item__face--front .timeline-item__headline {
    font-size: 4vmin;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: tb-lr;
    writing-mode: horizontal-tb;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    padding: 16px;
    left: 0;
    line-height: 1;
    text-align: center;
    align-items: center;
    position: relative;
    color: var(--white);
    opacity: 1;
}

.timeline-item__face--back .timeline-item__headline {
    font-size: 30px;
    line-height: 1.2;
}


/*form styles*/

#msform {
    margin: 40px auto;
    text-align: center;
    position: relative;
    z-index: 1;
    display: none;
}

#msform fieldset {
    background: transparent;
    border: 0 none;
    border-radius: 3px;
    padding: 40px 30px;
    box-sizing: border-box;
    width: 100%;
    /* min-height: 50vh; */
    /*stacking fieldsets above each other*/
    position: absolute;
}


/*Hide all except first fieldset*/

#msform fieldset:not(:first-of-type) {
    display: none;
}


/*inputs*/

#msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}


/*buttons*/

#msform .action-button {
    width: 100px;
    border: 1px solid var(--blue);
    color: var(--blue);
    cursor: pointer;
    padding: 10px 20px;
    margin: 20px 5px;
    transition: transform .3s ease, -webkit-transform .3s ease;
    transition-property: color, background-color, border-color;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: var(--blue);
    color: var(--white);
}


/*headings*/

.fs-title {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 20px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 24px;
}


/*progressbar*/

#progressbar {
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    display: flex;
    justify-content: center;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 10%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: var(--lightGray);
    border-radius: 3px;
    margin: 0 auto 5px auto;
}


/*progressbar connectors*/

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--lightGray);
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
    /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}


/*marking active/completed steps green*/


/*The number of the step and the connector before it = green*/

#progressbar li.active:before,
#progressbar li.active:after {
    background: var(--blue);
    color: white;
}

.surveyBtn {
    background-color: var(--darkBlue);
    margin: 0;
    min-width: 20px;
    /* padding: 16px; */
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 11;
}

.form-check {
    margin-bottom: 20px;
}

#sfToggle {
    color: var(--white);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    padding: 16px;
}

@media (min-width: 992px) {
    .wide-link {
        width: 49%;
    }
}

.wide-link__icon svg,
.wide-link__icon img {
    width: 40px !important;
    height: 40px !important;
}

.help-block {
    font-size: .8em;
    color: #7c7c7c;
    margin-bottom: .5em;
}

#svInfo,
#finalText {
    margin-top: 144px;
}

#finalText {
    display: none;
}

@media (min-width: 1200px) {
    .wide-link__title {
        padding: 20px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .wide-links {
        margin-bottom: -20px !important;
    }
}

@media (min-width: 992px) {
    .card--news {
        padding-top: 85%;
    }
}

@media (min-width: 768px) {
    .card--portrait .card__content {
        padding: 20px;
    }
}

.overlay--gradient-black::after {
    background: linear-gradient(transparent 40%, #000 100%);
}

@media (min-width: 1200px) {
    .card__figure--fixed-height {
        height: 80px;
    }
}

#socialBenefits {
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 1200px) {
    #socialBenefits {
        display: flex;
        justify-content: space-between;
        gap: 1em;
    }
}

#socialBenefits p {
    font-size: 14px;
    margin: 1em 0;
    font-weight: 700;
}

#socialBenefits svg,
#socialBenefits img {
    width: 65px;
    height: 65px;
    color: var(--darkBlue);
}

.benefit {
    width: 120px;
    margin-bottom: 1em;
}

.section__timeline-career .bg-media--grayscale {
    mix-blend-mode: unset;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: .5;
}

@media (min-width: 1200px) {
    .timeline-item__face--back {
        background-color: var(--white);
    }
    .section__timeline-career .btn {
        border-color: var(--black);
        color: var(--black);
    }
    .timeline-item__face--back .timeline-item__headline,
    .timeline-item__face--back .headline-3,
    .timeline-item__face--back .content__small-text,
    .timeline-item__face--back .color-white {
        color: var(--black);
    }
    .timeline-item__face--back .divider--white {
        background-color: var(--black);
    }
}

.l-header .btn--white.btn--border:hover {
    border-color: var(--white);
    background-color: transparent;
}

@media (max-width: 1200px) {
    .timeline-item__face--back .btn {
        border: 1px solid #fff;
        color: #fff;
    }
}