@import "./benefits.css";

@font-face {
  font-family: "Eina 03 Semi Bold";
  src: url("../fonts/EinaSemiBold/tmpeina03-semibold.otf");
  src: url("../fonts/EinaSemiBold/Eina03W05-SemiBold.woff2") format("woff2"),
    url("../fonts/EinaSemiBold/Eina03W05-SemiBold.woff") format("woff");
}

@font-face {
  font-family: "Eina 03 Regular";
  src: url("../fonts/EinaRegular/tmpeina03-regular.otf");
  src: url("../fonts/EinaRegular/Eina03W05-Regular.woff2") format("woff2"),
    url("../fonts/EinaRegular/Eina03W05-Regular.woff") format("woff");
}
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0 auto;
  padding: 0;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font: 15px/22px "Eina 03 Regular", Arial, Helvetica, sans-serif;
  color: #404040;
  margin: 0 auto;
  padding: 0;
}

/* html, body, .grid-2, main, .main-grid, .content-wrapper, section, .grid-2 * {
  box-sizing: border-box;
}
 */

/* *,
:after,
:before {
  -webkit-box-sizing: initial;
  box-sizing: initial;
} */

/**
 * Typography.
 */
p,
h1,
h2,
h3,
h4 {
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
b,
strong {
  font-weight: normal;
  font-family: "Eina 03 Semi Bold", Arial, Helvetica, sans-serif;
}
h2,
h2 b {
  font-size: 30px;
  line-height: normal;
  padding-bottom: 20px;
}

h3 {
  font-size: 20px;
  line-height: normal;
}

p,
th,
td,
ul,
ol,
div {
  font-family: "Eina 03 Regular", Arial, Helvetica, sans-serif;
  font-style: normal;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  font-size: 18px;
  line-height: 24px;
}

/**
 * Header
 */

header {
  background: linear-gradient(90deg, #e61f2b 7%, #e30613 39%, #cc0511 69%, #9f040d 100%);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  height: 86px;
}

header .wrapper {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: inherit;
  gap: 24px;
}

header .logo {
  flex-shrink: 0;
}

header .logo img {
  width: auto;
  height: 40px;
}

.header-titles {
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

header .header-title,
header .header-subtitle {
  color: white;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

header .header-title {
  font-family: "Eina 03 Semi Bold", Arial;
  font-size: 24px;
}

header .header-subtitle {
  font-family: "Eina 03 Regular";
  font-size: 16px;
}

#menu-toggle-open,
#menu-toggle-close {
  background: transparent;
  border: none;
  padding: none;
  cursor: pointer;
}

#menu-toggle-close {
  position: absolute;
  right: 25px;
  top: 25px;
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e61f2b 7%, #e30613 39%, #cc0511 69%, #9f040d 100%);
  color: white;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  flex-direction: column;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu a,
#mobile-menu a b {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-family: "Eina 03 Semi Bold";
}

#mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 86px; /*to be under the header*/
}

/* .yellow-blob {
  border-radius: 0px 0px 80px 80px;
  background: #fffcbe;
  width: 1003px;
  height: 435px;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
} */
.banner-wrapper::before {
  position: absolute;
  left: 43vw;
  top: 0;
  right: 0;
  height: 435px;
  z-index: -1;
  border-radius: 0px 0px 80px 80px;
  background-color: #fffcbe;
  opacity: 1;
  top: 0px;
  content: "";
}
.banner-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}
.banner-wrapper .job-subtitle {
  margin-top: 20px;
  font-size: 22px;
  line-height: normal;
}

.banner-wrapper .job-title {
  font-family: "Eina 03 Semi Bold", Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 48px;
  line-height: normal;
  padding: 0;
  margin: 0;
  word-break: break-word;
}

.banner-img {
  flex-shrink: 0;
  width: 100%;
  object-fit: cover;
  border-radius: 0 0 25px 25px;
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
}
/* header .sticky {
    margin-left:40px;
    float:left;
    width:calc(100% - 450px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom:0px;
    margin-top:10px;
    text-align: left;
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#header.sticky .sticky {
    opacity: 1;
} */

/**
 * Layout
 */
.print-only {
  display: none;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.main-grid {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 60px;
}

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.pos-relative {
  position: relative;
}

.shadow-container {
  border-radius: 20px;
  background: white;
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
  padding: 20px 30px;
}

/**
 * Content
 */

section ul {
  margin: 0px;
  padding-left: 0px;
  list-style: none;
}
section ul li {
  padding: 0px 0px 0px 26px;
  margin-bottom: 10px;
  position: relative;
}
section ul li:before {
  width: 13px;
  height: 10.6px;
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  background: url("../images/list-bullet.svg");
  background-size: cover;
}
section ul li:last-child {
  margin-bottom: 0px;
}
.mobile {
  display: none !important;
}

.button.apply {
  font-family: "Eina 03 Semi Bold", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: normal;
  border-radius: 50px;
  background: white;
  border: solid 1px white;
  color: #e30613;
  padding: 10px 22px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 10px;
}

.button.apply:hover {
  color: #9f040d;
}

/**
 * Contact.
 */


.contact-container {
  margin: 0 auto;
  margin-top:40px;
  max-width: 800px;
  position: relative;
  padding-bottom: 52px;
  display: flex;
  justify-content: start;
}

.contact-img {
  border-radius: 20px;
  width: 350px;
  height: 350px;
  object-fit: cover;
}

.contact-img.placeholder {
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-img.placeholder img {
  height: 220px;
}

.contact-container h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.contact-container button {
  margin-top: 20px;
}

.contact-container .shadow-container {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 440px;
  padding: 40px 30px;
  box-sizing: content-box;
}

.contact-container.swap {
  margin-top: 63px;
  margin-bottom:40px;
  justify-content: end;
  padding-top: 52px;
  padding-bottom:0;
}

.contact-container.swap .shadow-container {
  left: 0;
  top:0;
  height:min-content
}

/* modal */

.blocker {
  z-index: 99999;
}
.modal {
  padding: 30px;
  max-width: 760px;
  min-height: 260px;
}
.modal#jobabo-modal {
  max-width: 1000px;
  padding: 0;
}
#contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
#contact-form .field,
#contact-form input,
#contact-form textarea {
  width: 100%;
}

#contact-form input,
#contact-form textarea {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
}

#contact-loading-indicator {
  display: none;
  height: 16px;
}

ul.parsley-errors-list {
  color: #e30613;
  font-size: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-confirmation, .contact-error {
  display: none;
}
.contact-error{
  color: #e30613;
  font-size: 14px;
  margin-top:20px;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation-name: spin;
  animation-duration: 1000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/**
 * Prozess
 */

.process-wrapper .step {
  background-color: #d7e5fb;
  color: #00317e;
  display: flex;
  padding: 20px 30px;
  align-items: flex-start;
  gap: 30px;
  align-self: stretch;
  border-radius: 20px;
  position: relative;
}

.process-wrapper .step h4 {
  font-size: 20px;
  line-height: 24px;
}

.process-wrapper .step img {
  max-width: 40px;
}
.process-wrapper .step .img-placeholder {
  width: 40px;
  height: 40px;
  background: transparent;
}

#process-expand-btn,
#process-collapse-btn {
  background: transparent;
  border: none;
  line-height: 0;
  cursor: pointer;
  padding: 10px 30px;
}
#process-collapse-btn,
.middle-steps {
  display: none;
}

.process-wrapper .middle-steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}
.process-wrapper .middle-steps .step {
  background: transparent;
}
.middle-steps {
  margin:20px 0px;
}
.middle-steps .step p {
  position: relative;
}
.middle-steps .step p:before {
  width: 2px;
  height: 90%;
  background-color: #00317E;
  content: "";
  position: absolute;
  left: -50px;
  top: 31px;
}
.step.first p {
  position: relative;
}
.processExpanded .step.first:before {
  width: 2px;
  height: 20px;
  background-color: #00317E;
  content: "";
  position: absolute;
  left: 50px;
  bottom: -30px;
}
.processicon {
  width: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 40px;
}
/**
 * Map-team
 */

.video-wrapper {
  display: flex;
  gap: 50px;
}

.video-wrapper article {
  width: 100%;
}
iframe#video-frame,
iframe#map-frame {
  border-radius: 20px;
  width: 100%;
  height: 270px;
}

.awards-wrapper {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 30px;
}

/**
 * Similar Jobs.
 */

.job {
  border-bottom: solid 1px #dedede;
  width: 100%;
}

.job:first-of-type {
  border-top: solid 1px #dedede;
}
.job a {
  font-family: "Eina 03 Regular", Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 18px;
  line-height: normal;
  padding: 15px 20px;
  color: inherit;
  -webkit-transition: 0.25s all ease-in-out;
  -moz-transition: 0.25s all ease-in-out;
  -ms-transition: 0.25s all ease-in-out;
  -o-transition: 0.25s all ease-in-out;
  transition: 0.25s all ease-in-out;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.job a:hover {
  background: #f7f8f9;
}
.job h3 {
  font-family: "Eina 03 Semi Bold", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: normal;
  width: 80%;
}

.similarJobsMoreLink {
  font-family: "Eina 03 Semi Bold";
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  color: #e30613;
  margin-top: 32px;
  text-decoration: none;
}

.similarJobsMoreLink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/**
 * Buttons
 */

button.red,
a.red {
  background-color: #e30613;
  color: white;
  border: none;
  padding: 10px 20px;
  transition: all 0.2s ease-in-out;
  font-family: "Eina 03 Semi Bold";
  font-size: 18px;
  line-height: normal;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

button.red:hover,
a.red:hover {
  background-color: #9f040d;
}

.red.fixed-apply {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
  display: none;
  white-space: nowrap;
}

/**
 * Social icons
 */
 #social{
  padding-top:60px;
}
.social-icons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons .icon-btns {
  display: flex;
  gap: 15px;
  align-items: center;
}

.icon-btn {
  background: #e30613;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.icon-btn:hover,
#share-btn-trigger.show {
  background: #9f040d;
}

.tooltip-content {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  background: #e30613;
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s;
  transform: scale3d(1, 0.9, 1);
  bottom: 45px;
  width: 150px;
  left: -60px;
}
.tooltip-content:after {
  content: "";
  position: absolute;
  top: 99%;
  right: 65px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid transparent;
  border-top: 15px solid #e30613;
}
.tooltip-content a {
  display: block;
  text-align: left;
  margin: 5px 0px 0px;
  color: #fff;
  text-decoration: none;
  transition: margin 0.2s ease-in-out;
}
.tooltip-content a:hover {
  margin-left: 4px;
}

.tooltip-content a svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  transition: all 0.2s ease;
}

.tooltip-content.show {
  transition: transform 0.2s;
  opacity: 1;
  z-index: 10;
  -webkit-transform: scale3d(1, 1, 1);
  -moz-transform: scale3d(1, 1, 1);
  -transform: scale3d(1, 1, 1);
  pointer-events: auto;
}

/**
 * Footer
 */
footer {
  width: 100%;
  border-top: 0.8px solid #d5d5d5;
  padding: 30px 0 60px 0;
}

footer #external-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
footer #external-links .separator {
  height: 28px;
  width: 0.8px;
  background-color: #404040;
}

footer #external-links a {
  color: #404040;
  text-decoration: none;
  font-size: 14px;
  line-height:normal;
}
footer #external-links a:hover {
  text-decoration: underline;
}

/* EXPIRED */
.jobabo-teaser {
  display: flex;
  max-width: 400px;
  padding: 20px;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: #d7e5fb;
  color: #00317e;
}
.jobabo-teaser .texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jobabo-teaser p {
  font-size: 15px;
  line-height: normal;
}

.jobabo-teaser .cc-link {
  font-family: "Eina 03 Semi Bold";
  text-decoration: none;
  color: inherit;
  cursor:pointer
}
.jobabo-teaser .partner-link {
  font-size: 13px;
  line-height: normal;
  color: inherit;
}
.abo-icon {
  display: flex;
  width: 80px;
  height: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 100px;
  background: #00317e;
}

.abo-icon img{
  width:auto;
  height:42px;
  transition: width 0.8s ease-in-out
}

.jobabo-teaser:hover .abo-icon img{
  height:46px;
}

.expired .red.cta{
  display:inline-block;
  padding: 13px 30px
}
.expired .main-grid{
  padding-bottom:0
}

/**
 * Media Queries
 */
@media screen and (max-width: 1380px) {
  header .wrapper {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media screen and (max-width: 1290px) {
  .banner-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .tooltip-content {
    bottom: -10px;
    left: -160px;
  }
  .tooltip-content:after {
    top: 160px;
    right: -20px;
    border-left: 15px solid #e30613;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
  }
}

@media screen and (max-width: 1260px) {
  .banner-img {
    width: 100%;
    margin-top: 25px;
    border-radius: 25px;
  }
}

@media screen and (max-width: 1140px) {
  .content-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .banner-img {
    height: 400px;
  }

  .banner-wrapper::before {
    left: 10vw;
    border-radius: 0;
    height: 320px;
  }

  .main-grid {
    padding-top: 60px;
  }
}
@media screen and (min-width:737px) and (max-width:840px) {
  .contact-container .shadow-container {
    width: 100%;
    max-width: calc(100% - 360px);
  }
}
/* mobile */
@media screen and (max-width: 736px) {
  main {
    padding-top: 50px;
  }
  header {
    height: 58px;
  }
  header .button.apply {
    display: none;
  }

  .red.fixed-apply {
    display: block;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }
  .main-grid {
    padding-top: 30px;
    padding-bottom:30px;
  }
  .video-wrapper {
    flex-direction: column;
  }
  .desktop {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  header .logo img {
    height: 30px;
  }
  .banner-img {
    height: 320px;
    border-radius: 20px;
  }

  .banner-wrapper::before {
    height: 280px;
    left: 15vw;
  }

  .banner-wrapper .job-title {
    font-size: 30px;
  }
  .banner-wrapper .job-subtitle {
    font-size: 18px;
    margin-top: 10px;
  }

  .contact-container {
    flex-direction: column;
    padding: 0;
  }

  .contact-container.swap {
    flex-direction: column-reverse;
  }
  .contact-img {
    width: 100%;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    height: 310px;
    object-position: top;
  }

  .contact-container .shadow-container {
    position: static;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    width: inherit;
  }

  .awards-wrapper img.smart {
    height: 40px;
  }
  .awards-wrapper img.olympic {
    height: 40px;
  }
  .job a {
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  #social{
    padding-top:50px;
  }
  .processExpanded .step.first {
    margin-bottom: 40px;
  }
  .processExpanded .step.first:before {
    height: 30px;
    bottom: -46px;
  }
}

@media screen and (max-width: 536px) {
  .awards-wrapper {
    gap: 10px;
  }
  .awards-wrapper img.smart {
    height: 40px;
  }
  .awards-wrapper img.olympic {
    height: 25px;
  }
}
