@font-face {
  font-family: Roboto-Regular;
  src: url(../../files/assets/fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: Roboto-Bold;
  src: url(../../files/assets/fonts/Roboto-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Roboto-Light;
  src: url(../../files/assets/fonts/Roboto-Light.ttf);
}

/* Global */
html {
  scroll-behavior: smooth;
}
html * {
  font-family: Roboto-Regular;
}

body {
  background-color: #03356A;
}
.invisible {
  display: none;  
}

.btn-bright {
  color: #05B8FA;
  border: 2px solid #05B8FA;
  border-radius: 70px;
  padding: 16px 40px;
  font-size: 21px;
  font-family: Roboto-Bold;
}

.btn-bright:hover {
  color: white;
  border-color: white;
}

main ul {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

ol {
  counter-reset: li;
  row-gap: 8px;
  display: flex;
  flex-direction: column;
}

ol li::before {
  content: counter(li);
  color: #07B8FA;
  font-size: 25px;
  font-family: Roboto-Bold;
  display: block;
  width: 1em;
  margin-right: 1rem;
  height: fit-content;
  line-height: 31.5px;
}

ol li {
  font-size: 21px;
  font-family: Roboto-Regular;
  color: white;
  counter-increment: li;
  display: flex;
}

main ul li {
  display: flex;
  align-items: center;
  column-gap: 18px;
  font-family: Roboto-Bold;
  font-size: 24px;
}

main ul li::before {
  display: block;
  align-self: start;
  content: url('../../files/assets/images/icons/bullet-point-icon.svg');
  width: 22px;
  height: 22px;
  padding-top: 2.5px;
}

.shariff ul {
  display: grid !important;
  grid-template-columns:  repeat(3, minmax(0, 1fr));
}
.shariff ul li {
  margin-bottom: 0 !important;
  display: block;
  height: unset;
}

.shariff ul li:before {
  content: none;
  width: unset;
  height: unset;
  padding-top: 0;
  display: unset;
}

a:focus-visible {
  outline: 2px solid #07B8FA;
  outline-offset: 2px;
}

#menu-mobile a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}


.mobile-chevron:focus-visible, #menu-close:focus-visible, #menu-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

main p a {
  color: #07B8FA;
  font-family: Roboto-Bold;
  text-decoration: underline;
  border: 1px solid transparent;
}

main p a:hover {
  border: 1px solid #07B8FA;
  text-decoration: none;
}

.shariff ul li a {
  height: 36px !important;
}

p strong {
  font-family: Roboto-Bold;
}


.breadcrumb a {
  color: white !important;
  font-size: 16px !important;
  font-family: Roboto-Light !important;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .mod_article:last-of-type {
    margin-bottom: 10px;
  }
}

@media (min-width: 1024px) {
  .mod_article:last-of-type {
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .mod_article:last-of-type {
    margin-bottom: 40px;
  }
}

.mod_article:has(>.oblique-wrapper:last-child ) + .mod_article {
  margin-top: 15vw;
}

.mod_article:has(+.mod_article .oblique-wrapper.no-gradient:first-child ) {
  margin-bottom: 8vw;
}

/* Typographie */

h1 {
  font-family: Roboto-Bold !important;
  font-size: 30px !important;
  line-height: 35px !important;  
  color: #fff !important;
}

h2 {
  font-size: 29px !important;
  font-family: Roboto-Light !important;
  line-height: 34px !important;
  color: #fff !important;
}

h3 {
  font-size: 38px !important;
  font-family: Roboto-Bold !important;
  line-height: 44px !important;
  color: #fff !important;
}

h4 {
  font-size: 30px !important;
  font-family: Roboto-Light !important;
  line-height: 38px !important;
  color: #07B8FA !important;
}

h5 {
  font-size: 24px !important;
  font-family: Roboto-Bold !important;
  line-height: 30px !important;
  color: #fff !important;
}

p {
  font-size: 21px;
  font-family: Roboto-Regular;
  line-height: 32px;
  color: #fff;
}

@media (min-width: 768px) {
  h1 {
    font-family: Roboto-Bold !important;
    font-size: 50px !important;
    line-height: 60px !important;  
    color: #fff !important;
  }
  
  h2 {
    font-size: 42px !important;
    font-family: Roboto-Light !important;
    line-height: 49px !important;
    color: #fff !important;
  }
  
  h3 {
    font-size: 38px !important;
    font-family: Roboto-Bold !important;
    line-height: 44px !important;
    color: #fff !important;
  }
  
  h4 {
    font-size: 30px !important;
    font-family: Roboto-Light !important;
    line-height: 38px !important;
    color: #07B8FA !important;
  }
  
  h5 {
    font-size: 24px !important;
    font-family: Roboto-Bold !important;
    line-height: 30px !important;
    color: #fff !important;
  } 
}

.nav-dropdown {
  left: 50%;
  transform: translate(-50%);
  top: 36px;
}

.nav-dropdown.open {
  display: flex;
}

.nav-item.open {
  border-bottom-color: #07B8FA;
}

.nav-item.open > a {
  color: #07B8FA;
}

.nav-dropdown-button {
  height: fit-content;  
}

.nav-item.open > .nav-dropdown-button {
  transform: rotate(180deg);
}

.nav-item.open > .nav-dropdown-button svg path {
  fill: #07B8FA;
}

.nav-dropdown a {
  position: relative;
  text-decoration: none;
}

.nav-dropdown a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: #03356A;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-dropdown a:hover::before {
  transform: scaleX(1);
}

.mobile-dropdown {
  transition: opacity 500ms, display 500ms;
}

.footer ul {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  font-size: 21px;
}

.footer a {
  border: 1px solid transparent;
}

.footer a:hover {
  border: 1px solid #07B8FA;
}

.footer strong.active {
  font-weight: normal;
  text-decoration: underline;
}

.oblique-wrapper {
  --size: 12vw;
  --rotation: -2.5deg;
  
  position: relative;
  z-index: 20;
  margin-top: calc(-1*(var(--size) - 5vw));
  width: 100%;
  height: 10vw;
  overflow: hidden;
}

.oblique-wrapper::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  height: var(--size);
  width: 200%;
  
  /* Use Same Color RGBA for Transparent Gradients on Safari */
  background-image:
    linear-gradient(
    to top,
    rgba(3, 53, 106, 1) 85%,
    rgba(3, 53, 106, 0) 100%
  );
  
  /* Set Transform Origin to Center */
  transform-origin: 50% 50%;
  transform: translate(-50%, 25%) rotate(var(--rotation));
}

.oblique-wrapper.no-gradient::after {
  background-image: none;
  background-color: #03356A;
}

.oblique-wrapper.bottom {
  margin-top: 0;
  margin-bottom: calc(-1 * var(--size));
  rotate: 180deg;
}

.oblique-wrapper.no-gradient.dark::after {
  background-color: #001A36;
}

.contact-form input, .contact-form textarea {
  padding-left: 8px;
}

/* Timeline */
.timeline {
  max-width: 1293px;
  margin: 0 auto;
}

.timeline-container::before {
  content: ' ';
  position: absolute;
  width: 1px;
  background-color: #05B8FA;
  top: 0;
  bottom: 0;
  left: 30px;
  z-index: 10;
}

.timeline-container:last-child::before {
  height: 50%;
}

.timeline-container:first-child::before {
  height: 50%;
  bottom: 0;
  top: unset;
}

.timeline-container {
  position: relative;
}

.timeline-container::after {
  content: ' ';
  position: absolute;
  width: 24px;
  height: 24px;
  left: 18px;
  background-color: #001A36;
  border: 2px solid #05B8FA;
  top: 50%;
  border-radius: 50%;
  z-index: 10;
  transform: translateY(-50%);
}

.timeline-container:has(> :nth-child(2):last-child)::after {
  top: 25%;
}

.event-image::after {
  display: none;
}

.timeline-container div:last-of-type:has(> :nth-child(2):last-child)::after {
  display: none;
}

.timeline-container div:last-of-type:has(> :nth-child(1):last-child):last-child .event-image::after {
  display: block;
  content: ' ';
  position: absolute;
  width: 24px;
  height: 24px;
  left: -44px;
  background-color: #001A36;
  border: 2px solid #05B8FA;
  top: 60%;
  border-radius: 50%;
  z-index: 10;
  transform: translateY(-50%);
}

.timeline-container:has(> :nth-child(2):last-child):first-child::before  {
  height: 75%;
}

.timeline-container:has(> :nth-child(2):last-child):last-child::before  {
  height: 25%;
}
@media (min-width: 425px) {
  .timeline-container:has(> :nth-child(2):last-child):first-child .event-image::after {
    top: 45%;
  }
  .timeline-container:has(> :nth-child(2):last-child):last-child .event-image::after {
    top: 50%;
  }
}

@media (min-width: 768px) {
  
  .timeline-container>div:last-of-type {
    flex-direction: row !important;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .timeline-container.alignRight>div:last-of-type {
    flex-direction: row-reverse !important;
  }
  
  .timeline-container.alignRight .event-image-container {
    padding-right: 0 !important;
    padding-left: 62px !important;
  }
  
  .timeline-container.alignRight .event-text-container {
    padding-left: 0 !important;
    padding-right: 62px !important;
  }
  
  .timeline-container:has(> :nth-child(1):last-child).alignRight {
    justify-content: start;
  }
  
  
  .timeline-container div:last-of-type:has(> :nth-child(1):last-child).alignRight .event-text-container {
    padding-right: 62px !important;
    padding-left: 0 !important;
  }
  
  .timeline-container div:last-of-type:has(> :nth-child(1):last-child) .event-image-container {
    padding-left: 62px !important;
    padding-right: 0 !important;
  }
  
  .timeline-container div:last-of-type:has(> :nth-child(1):last-child).alignRight .event-image-container {
    padding-right: 62px !important;
    padding-left: 0 !important;
    justify-content: end;
  }
  .timeline-container.alignRight .event-image-container {
    justify-content: start;
  }
  
  .timeline-container.alignRight .event-text-container {
    justify-content: end;
    padding-left: 0;
  }
  .timeline-container::before {
    left: 50%;
  }
  
  .event-text {
    max-width: 406px;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }
  
  .event-image::after {
    display: none !important;
  }
  
  .timeline-container::after {
    display: block !important;
    left: 48.5% !important;
  }
  
  .timeline-container:has(> :nth-child(2):last-child)::after {
    top: 50% !important;
  }
  
  .timeline-container:has(> :nth-child(2):last-child):last-child::before  {
    height: 50%;
  }
  
  .timeline-container:has(> :nth-child(2):last-child):first-child::before  {
    height: 50%;
  }
}

@media (min-width: 1024px) {
  .timeline-container::after {
    left: 48.9% !important;
  }
}

@media (min-width: 1440px) {
  .timeline-container::after {
    left: 49.1% !important;
  }
}

.appear {
  transition: all 0.5s;
  opacity: 0;
}

.appear.inview {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

/* Timeline END */

/* Flip-Card */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Formulare  */

.widget-text, .widget-textarea {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

input.text {
  height: 60px;  
}

input.text, textarea {
  background-color: transparent;
  border: 1px solid #E8ECF4;
}

label {
  font-size: 21px;
  color: white;
  margin-bottom: 12px;
}

fieldset {
  display: flex;
  flex-direction: column;
}

.submit {
  color: #05B8FA;
  border: 2px solid #05B8FA;
  border-radius: 70px;
  padding: 16px 40px;
  font-size: 21px;
  font-family: Roboto-Bold;
}

.submit:hover {
  color: #011B36;
  background-color: #05B8FA;
  border-color: #05B8FA;
}

.contact-form h2 {
  margin-bottom: 37px;
}

@media (min-width: 768px) {
  fieldset {
    flex-direction: row;
    column-gap: 26px;
  }
  
  fieldset .widget-text {
    width: 50%;
  }
}
/* Accordion  */

.active .accordion-chevron {
  transform: rotate(0deg);
}

.accordion:hover {
  outline: 2px solid #07B8FA;
  outline-offset: 2px;
  cursor: pointer;
}

/* Jobfilter/HR4YOU */

.custom-select::after {
  position: absolute;
  content: " ";
  top: 20px;
  right: 30px;
  width: 25px;
  height: 20px;
  background-image: url('../../files/assets/images/icons/custom-select-arrow.svg');
  background-position: center;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

select:focus-visible, input:focus-visible, textarea:focus-visible, select:hover, input:hover, textarea:hover {
  outline: 2px solid #07B8FA;
  outline-offset: 2px;
}


/* Joblist */
.jobs-list a:hover {
  background: #07B8FA;
}

.jobs-list a:hover p {
  color: black;
}

.pagination span[aria-current="page"] {
  background: #07B8FA;
  color: black;
}


/* Job-Detail */

.job-details li {
  font-family: Roboto-Regular !important;
  font-size: 21px;
  color: white;
  overflow-wrap: break-word;
  word-break: break-word;
}

.sidebar li {
  font-size: 21px;
}

.job-details strong {
  font-size: 29px !important;
  font-family: Roboto-Light !important;
  line-height: 34px !important;
  color: #fff !important;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

.job-details h2 {
  display: none;
}

.shariff-button {
  overflow: unset !important;
}

.shariff-button a:focus-visible, .shariff-button a:focus {
  outline: 2px solid #07B8FA;
}

@media (min-width: 768px) {
  .job-details strong {
      font-size: 42px !important;
      font-family: Roboto-Light !important;
      line-height: 49px !important;
      color: #fff !important;
  }
}

.linked-jobs-list:has( > .linked-jobs:empty) {
  display: none;
}
dialog::backdrop {
  background-color: black;
  opacity: 0.4;
}

.shariff .orientation-horizontal li .share_text {
  display: inline !important;
}




/* Jobfilter */

.custom-select:hover select {
  outline: 2px solid #07B8FA;
  outline-offset: 2px;
  cursor: pointer;
}

/* NEW FONT CLASSES */
.h2 {
  font-size: 42px !important;
  font-family: Roboto-Light !important;
  line-height: 49px !important;
  color: #fff !important;
}
