@font-face {
    font-family: "Glypha";
    src: url("../font/GlyphaLTStd-Black.eot?#iefix");
    src: url("../font/GlyphaLTStd-Black.eot?#iefix") format("eot"),
    url("../font/GlyphaLTStd-Black.woff") format("woff"),
    url("../font/GlyphaLTStd-Black.otf") format("otf"),
    url("../font/GlyphaLTStd-Black.svg") format("svg");
}

@font-face {
    font-family: "OpenSans";
    src: url("../font/OpenSans-Regular.woff2") format("woff2"),
    url("../font/OpenSans-Regular.woff") format("woff"),
    url("../font/OpenSans-Regular.ttf") format("truetype"),
    url("../font/OpenSans-Regular.otf") format("otf");
    font-style: normal;
    font-stretch: 100%;
    font-display: swap;
}

@font-face {
    font-family: "OpenSans-SemiBold";
    src: url("../font/OpenSans-SemiBold.woff2") format("woff2"),
    url("../font/OpenSans-SemiBold.woff") format("woff"),
    url("../font/OpenSans-SemiBold.ttf") format("truetype"),
    url("../font/OpenSans-SemiBold.otf") format("otf");
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
}

:root {
    --pleasant-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

html, section {
    scroll-behavior: smooth;
}

body {
    font-family: 'OpenSans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 25px;
}

#wrapper {
    padding: 0px 0 50px 0;
    margin: 0 auto;
}
#content {
    margin: 0 auto;
    background-color: #F2F6F7;
}
header {    
    padding:39px 0px;
    transition: var(--pleasant-transition);
    background-color: #fff;
    z-index: 150;
}
#top {
    max-width: 1350px;
    margin: 0 auto;
}
header.sticky {
    position: sticky;
    top:0;
    padding:10px 0px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
header h2 {
    opacity: 0;
    margin:0px;
    transition: var(--pleasant-transition);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
header.sticky h2.visible {
    opacity: 1;
}
#logoTitle {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    max-width: 49%;
}
#logo-img {
    width: auto;
    height: 114px;
    transition: var(--pleasant-transition);
}
header.sticky #logo-img {
    height: 82px;
}
#headerbild {
    max-width: 1350px;
    margin: 0 auto;
}
#bg-content {
    background-color: #fff;
    padding: 40px 80px 80px;
    max-width: 1350px;
    margin: 0 auto;
}
.expired #bg-content {
    padding: 80px;
}
.expired #intro {
    padding-top:30px;
}
.expired .button-wrap a {
    margin-bottom:0px;
}
.gridContainer {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden; 
    justify-content: center;
    align-items: self-end; 
}

.gridColumn {
    flex: 1;
    max-width: 51%;
}

footer .gridContainer {
    max-width: 1350px;
    margin: 0 auto;
    overflow:visible;
}

#headerbild img{
    width: 100%;
    height: auto;
}

a {
    color: #3F848C;
}
a:hover {
    text-decoration: underline;
    color: #3F848C;
}

ul {
    list-style: none;
}
li {
    padding-bottom: 8px;
}
li:last-child {
    padding-bottom: 0;
}
li::before {
    content: "";
    height: 6px;
    width: 6px;
    background-color: #326e75;
    border-radius: 50%;
    display: inline-block;
    margin-left: -1em;
    margin-right: 10px;
    position: relative;
    top: -3px;
}

#nav {
    transition: var(--pleasant-transition);
    white-space: nowrap;
    text-align: right;
}

#nav ul, #nav ul li {
    margin:0;
    padding:0;
    list-style-type: none;
    display: inline-block;
}

#nav ul li::before {
    display: none;
}

#nav .menu a {
    display: inline-block;
    padding: 0 13px 32px 13px;
    font-size: 22px;
    line-height: 23px;
    color: #2d4d62;
    border-bottom: 10px solid transparent;
    margin-bottom:-42px;
    transition: var(--pleasant-transition);
}

#nav .menu.loc-fr a, #nav .menu.loc-it a {
    font-size: 21px;
}

#nav .menu li:last-child a {
    padding-right: 0;
}

#nav .menu a:hover,
#nav .menu a.active {
    text-decoration: none;
    border-bottom: 10px solid #3f848c;
}

header.sticky #nav {
    transform: translateY(-28px);
}

header.sticky #nav a {
    text-decoration: none;
    font-size:21px;
    line-height: 21px;
}

.homeoffice {
    display: flex;
    flex-direction: row;
    gap:10px;
    align-items: center;
    margin-top:20px;
}

.homeoffice img {
    width:35px;
    height:35px;
}

#title {
    font-family: 'OpenSans-SemiBold', Arial, sans-serif;
    font-size: 42px;
    font-weight: 600;
    margin: 12px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'OpenSans-SemiBold', Arial, sans-serif !important;
    font-weight: 600;
}

ul.parsley-errors-list {
    list-style: none;
    margin: 0;
}

.parsley-errors-list li {
    color: #a9265b;
    line-height: 1;
    font-size: 12px;
    margin: 5px 0 10px -40px;
}

#application-form-wrapper-sucess h1 {
    margin: 0 0 15px 0;
}

#intro {
    padding-top: 40px;
    font-size: 21px;
    line-height: 28px;
}

#content h2 {
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 20px;
}

#content ul {
    margin-top: 0;
    padding-left: 17px;
}

.line-top {
    border-top: 2px solid #C5DADC;
    margin: 40px 0;
    clear: both;
}
#description {
    font-size: 21px;
    line-height: 28px;
}

/* Benefits */
.slick-dotted.slick-slider {
    padding:0px 50px;
    margin-bottom:55px;
}
.slick-list {
    margin: 0 -25px;
    padding:30px 0px 50px;
}
.slick-slide {    
    margin: 0 25px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;   
}
.b-container {
    height: 280px;
    background-color: #F2F6F7;
    box-sizing: border-box;
    text-align: center;    
    border: 1px solid #C5DADC;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    position: relative;
}
.b-container:hover {
    transform: scale(1.1);
}
.b-container.active {
    transform:rotateY(180deg);
}
.b-container.active:hover {
    transform:rotateY(180deg) scale(1.1);
}
.benefitFront {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-sizing: content-box;
    transition: opacity ease-in-out 0.05s;
    transition-delay: 0.15s;
    height:230px;
}
.benefitBack {
    display: flex;
    opacity: 0;
    padding: 20px;
    box-sizing: content-box;
    transition: opacity ease-in-out 0.05s;
    position: absolute;
    top:0;
    transition-delay: 0.15s;
    flex-direction: column;
    font-size: 16px;
    justify-content: center;
    line-height: 24px;
    transform:rotateY(-180deg);
    height:230px;
}

.slider-fr p {
    font-size:14px!important;
}

.b-container.active .benefitBack {
    opacity: 1;
}
.b-container.active .benefitFront {
    opacity: 0;
}
.slick-slide img {
    width:100px;
    margin:0 auto;
}
.slick-slide h3 {
    color:#3F848C;
    margin-top:10px;
    margin-bottom:0px;
}
.slick-slide p {
    margin-top: 20px;
}
.slick-dots {
    margin:0px;
    padding:0!important;
    width:calc(100% - 100px);
}
.slick-dots li {
    margin:0 3px;
}
.slick-dots li button:before {
    opacity: 0.25;
    color: #3F848C;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #3F848C;
}
.slick-dots li button:before {
    font-size: 46px;
}
.slick-dots li::before {
    display: none;
}
/* Ende Benefits */


/* Contact and Maps */
.contact-image {
    margin-bottom:50px;
    overflow: auto;
    display: flex;
    align-items: center;
}

.contact-image img {
    float: left;
    margin-right:20px;
}

.contact-image p {
    line-height: 28px;
}

#google-maps {
    position: relative;
}

.iframe {
    width: 100%;
    border: none;
    height: 300px;
}
#video {
    position: relative;
    padding-bottom: 56.3%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}
#video iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all!important;
}

.bottomLinks {
    margin-top:40px;
}

.bottomLinks a {
    display: inline-block;
}

/* Footer und Social */
#footer {
    overflow: hidden;
    background: #3F848C;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 15px;
    z-index: 1000 !important;
}

#footer .ui.container {
    max-width: 1350px !important;
    padding: 0;
}

#footer .apply,
input.btn-submit {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    background: #6CA1A7 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    position: relative;
    top: 8px;
    padding: 12px 30px;
    font-weight: 400;
}

input.btn-submit {
    font-family: 'OpenSans-SemiBold', Arial, sans-serif;
    padding: 0.785714em 1.5em;
    font-weight: 600;
    margin: 10px 0;
}

#footer .apply:hover,
input.btn-submit:hover {
    color: #fff !important;
    background: #47949d !important;
}
@media screen and (max-width: 860px) {
    #footer .ui.container {
        margin: 0 !important;
    }
}

#social-icons {
    padding-top:15px;
}

#social-icons a {
    margin-right: 20px;
}

#social-icons img:hover {
    opacity: 0.3;
}

@media screen and (max-width: 860px) {
    #social-icons a {
        margin-right: 10px;
    }
}

/* iPhone 5 & 5S in portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: portrait) {
    #social-icons a {
        margin-right: 8px;
    }
}

/* iPhone 2G-4S in portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (orientation: portrait) {
    #social-icons a {
        margin-right: 6px;
    }
}

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

.print-only {
    display: none;
}

/* Expired Page */
#expired {
    padding-bottom:0px;
}
.button-wrap {
    margin-top:50px;
}
.button-wrap a {
    background-color: #3f848c;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    padding: 6px 30px 6px 20px;
    display: inline-block;
    margin-bottom: 20px;
}
.button-wrap a svg {
    position: relative;
    top:2px;
}
.button-wrap a:hover {
    background-color: #306c75;
    text-decoration: none;
}
.exp-bottomLinks {
    padding: 40px 80px;
    max-width: 1350px;
    margin: 0 auto;
}
#footer.expired {
    height:50px;
}
/* Application Form */

#application-form-wrapper,
#application-form-wrapper-sucess {
    border: 1px solid #000;
    box-sizing: border-box;
    margin: 10px;
    max-width: calc(100% - 20px);
    padding: 20px;
    width: 640px;
}

#posting-title {
    font-family: 'OpenSans-SemiBold', Arial, sans-serif;
    margin: 20px 0;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25em;
}

.group {
    width: 100%;
    display: inline-block;
    margin-bottom: 5px;
}

.span_1_of_2 {
    padding-right: 10px;
    width: calc(35% - 10px);
    float: left;
}

.span_2_of_2 {
    padding-left: 10px;
    width: calc(65% - 10px);
    float: left;
}

#info {
    color: #666;
    font-size: 12px;
    width: 100%;
    display: inline-block;
    margin: 0 0 30px 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    font-size: 1em;
    width: 100%
}

select::-ms-expand {
    display: none;
}

.lt-ie10 select {
    background-image: none;
}

input,
select {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    border: 1px solid #3b7c84;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}

select#dropdown-style {
    background: url("../images/dropdown.png") no-repeat scroll right 5% center / 30px 16px;
}

input.btn-submit {
    border: none;
    width: auto;
}

input#zip {
    width: 100px;
    float: left;
    margin-right: 10px;
}

input#city {
    width: calc(100% - 110px);
}

input#notes {
    height: 70px;
}

input.attachments {
    padding: 0;
    border: none;
    font-size: 12px;
}

#copy-form label {
    font-weight: 400;
}

input#attachments {
    border: none;
}

input[type='checkbox']:checked,
input[type='checkbox']:not(:checked) {
    visibility: hidden;
    margin: 0;
}

input[type='checkbox'] + label,
.portal-search-checkbox input[type='checkbox'] + label {
    cursor: pointer;
}

input[type='checkbox']:checked + label::before,
input[type='checkbox']:not(:checked) + label::before {
    content: '\2714';
    color: #fff;
    padding: 0 6px 11px 6px;
    display: inline-block;
    width: 13px;
    height: 13px;
    position: relative;
    border: 1px solid #3b7c84;
    margin-right: 10px;
    vertical-align: text-bottom;
}

input[type='checkbox']:not(:checked) + label::before {
    content: '';
}

input[type='checkbox']:checked + label::before {
    box-shadow: inset;
    content: '\2714';
    color: #3b7c84;
}

/* Cookie Banner */
#cookieContentOverlay {
    background: #2d4d62;
    opacity: 0.6 !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#cookie-bar {
    background-color: #e4eeef;
    color: #eeeeee;
    text-align: left;
    min-height: 50px;
    border-top: 1px solid;
    padding: 40px 0;
    z-index: 10000 !important;
}

#cookie-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#cookie-bar.fixed.bottom {
    bottom: 0;
    top: auto;
}

#cookie-bar > div {
    font-size: 17px;
    line-height: 20px;
    color: #7a7777;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#cookie-bar > div > div:first-child {
    width: 60%;
    margin-right: 5%;
    line-height: 25px;
}

#cookie-bar > div > div:last-child {
    width: 35%;
    text-align: right;
}

#cookie-bar a {
    color: #de2e53cc;
    display: inline-block;
    border-radius: 3px;
    text-decoration: underline;
    position: relative;
    background-image: url('../images/arrow.png');
    background-repeat: no-repeat,repeat;
    background-position: 0 8px;
    padding-left: 25px;
    margin-left: 5px;
}

#cookie-bar .cb-enable,#cookie-bar .cb-disable {
    background: #3f848c;
    text-decoration: none;
    margin-left: 8px;
    margin-bottom: 16px;
    color: #ffffff;
    border: none;
    display: inline-block;
    text-align: center;
    padding: 15px 20px;
}

#cookie-bar .cb-enable:hover,#cookie-bar .cb-disable:hover {
    background-color: #306c75;
}

#cookie-bar .cb-policy {
    background: blue;
}

#cookie-bar .cb-policy:hover {
    background: green;
}

.cookieLayer {
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #e4eeef;
    border: 1px solid #C5DADC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 5% 10%;
    z-index: 100;
}

.cookieLayer > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookieLayer a {
    background: #3f848c;
    text-decoration: none;
    margin-bottom: 16px;
    color: #ffffff;
    border: none;
    display: inline-block;
    text-align: center;
    padding: 15px 20px;
    border-radius: 3px;
}

.cookieLayer a:hover {
    background-color: #306c75;
}

.cookieLayer .overlayTitle {
    font-family: 'OpenSans-SemiBold', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
}

@media only screen and (max-width:580px) {
    .cookieLayer {
        gap: 10px;
    }

    .cookieLayer .overlayTitle {
        font-size: 16px;
    }

    .cookieLayer .overlayText {
        font-size: 14px;
        line-height: 22px;
    }

    .cookieLayer svg {
        width: 32px;
        height: 32px;
    }

    .cookieLayer a {
        margin-top: 10px;
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media only screen and (max-width:450px) {
    .cookieLayer {
        gap: 5px;
        padding: 15px;
    }

    .cookieLayer .overlayTitle {
        font-size: 14px;
    }

    .cookieLayer .overlayText {
        font-size: 12px;
        line-height: 18px;
    }

    .cookieLayer a {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media only screen and (max-width: 1200px) {
    #cookie-bar > div > div:first-child {
        width:55%;
    }

    #cookie-bar > div > div:last-child {
        width: 40%;
    }
}

@media only screen and (max-width: 1024px) {
    #cookie-bar > div > div:first-child a {
        margin-top:10px;
        display: block;
        margin-left: 0;
    }

    #cookie-bar > div > div:last-child a {
        margin-top: 25px;
    }
}

@media screen and (max-width: 768px) {
    #cookie-bar > div {
        flex-wrap:wrap;
    }

    #cookie-bar > div > div:first-child {
        margin-bottom: 40px;
    }

    #cookie-bar > div > div:first-child,#cookie-bar > div > div:last-child {
        width: 100%;
        margin-right: 0;
        text-align: left;
    }

    #cookie-bar > div > div:last-child a {
        margin-top: 0;
        margin-right: 40px;
    }
}


/* Media Queries */

.mobile-only {
    display: none;
}

#burgerMenu {
    display: none;
    position: absolute;
    top: 0px;
    right: 0;
}

#burger,  #closeBurger {
    position: absolute;
    right: 20px;
    top:20px;
    display: none;
    cursor: pointer;
}

#burgerMenu .burgerNav {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #659da3;
    display: none;
    top: 0px;
    padding: 120px 20px 20px;
    text-align: left;
}

#burgerMenu .burgerNav ul {
    margin: 0px;
    padding: 0px;
}

#burgerMenu .burgerNav li {
    border-bottom:solid 1px white;
    margin-bottom:15px;
}

#burgerMenu .burgerNav li:last-child {
    border-bottom: none;
}

#burgerMenu .burgerNav li::before {
    display: none;
}

#burgerMenu .burgerNav a {
    color:#fff;
    text-transform: uppercase;
}

@media screen and (max-width: 1352px) {
    #top {
        padding: 0px 20px !important;
    }
    #top .ui.grid {
        margin-left: 0 !important;
    }
    #bg-content {
        padding: 20px;
    }
    .bottomLinks {
        margin-bottom:30px;
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
    }
    #footer .gridContainer {
        padding: 0 20px !important;
    }
}
@media screen and (max-width: 1260px) {
    header {
        padding:20px 0px;
    }
    header nav {
        display: none;
    }
    .gridContainer {
        justify-content: space-between;
    }
    .gridColumn {
        width:95%;
        max-width: 95%;
    }
    #burgerMenu {
        display: block;
        width: 100%;
        text-align: right;
    }
    #burger {
        display: block;
    }
    #burgerMenu .burgerNav nav {
        display: block;
    }
    #burgerMenu.open #burger {
        display: none;
    }
    #burgerMenu.open #closeBurger {
        display: block;
        position: absolute;
        z-index: 1000;
        fill:#fff;
    }
    #burgerMenu.open .burgerNav {
        display: block;
    }
    #burgerMenu .burgerNav {
        top:0px;
    }
}
@media screen and (max-width: 767px) {
    #logoTitle img {
        width: 50px;
        height: auto;
        margin-left: 20px;
    }
    #title {
        font-size: 32px;
        line-height: 40px;
    }
    #intro {
        font-size: 17px;
    }
    #content h2 {
        font-size: 22px;
    }
    header, header.sticky {
        padding:10px 0px;
    }
    header.sticky {
        box-shadow: none;
        border-bottom: solid 1px #C5DADC;
    }
    #top {
        padding:0px!important;
    }
    header h2, h2.visible {
        display: none!important;
    }    
    header.sticky #logoTitle {
        justify-content: flex-start;
    }
    header.sticky #logo-img {
        height:auto;
    }
    #top > .gridContainer, #logoTitle {
        display: block;
        position: relative;
        overflow: visible;
    }
    #content .ui.grid>[class*="eight wide"].column {
        width: 100% !important;
    }
    .popover.bottom, .popover.top {
        max-width: 210px;
        hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    .b-container, .slick-slide {
        height: 340px;
    }
    .benefitBack, .benefitFront {
        height: 300px;
    }
    .slick-dots {
        bottom:-25px;
    }
    .slick-dotted.slick-slider {
        padding: 0px 35px;
    }
}

@media screen and (max-width: 560px) {

    .container.benefits {
        width: calc(100% / 4 - 4px);
        margin-top: 10px;
    }

    .container.benefits-lehre {
        width: calc(100% / 3 - 4px);
    }

    label {
        margin-bottom: 5px;
    }

    .group {
        margin-bottom: 15px;
    }

    #application-form-wrapper h1 {
        font-size: 26px;
        line-height: 1.1em;
    }
    #copy-form {
        margin-top: -20px;
        margin-bottom: 0;
    }
    .ui.button {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 420px) {
    .container.benefits {
        width: calc(100% / 3 - 4px);
    }
    #footer .apply {
        padding: 12px 20px;
    }
}

/**
 * Print.
 */
.printable-only {
    display: none;
}
