/*
Fixed edit nav (place in nav scss later)
*/
nav.tabs ul.nav-tabs {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  /*width: 100%;*/
  z-index: 100;
  margin-bottom: 0;
  box-shadow: 0px 11px 35px 5px rgba(0, 0, 0, 0.56);
  background-color: #363636;
  li {
    a {
      color: white;
      border: none;
      &:hover, &:focus {
        background-color: #17A2B8;
        border: none;
      }
    }
  }
}

:root {
  --color-blue: #17A2B8;
  --color-blue-darker: color-mix(in srgb,var(--color-blue),#000 30%);
  --color-dark-blue: #031E45;
  --color-lightgray: #D5D5D5;
  --color-gold: #C5A254;
  --color-black: #1D1D1B;
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

.bg-light-blue {
  background-color: var(--color-blue);
}

.logo-waarden {
  position: absolute;
  left: 92px;
  top: 50%;
  transform: translateY(-50%);
}

.grid {
  display: grid;
}

.grid-3-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.gap-30 {
  gap: 30px;
}

.paragraph--type--hero-with-text {
  /*max-height: 599px;*/
  height: 599px;
  width: 100%;
  overflow: hidden;
  &.is-not-video {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 90px;
    padding-bottom: 90px;
  }
  &.is-video {
    position: relative;
    .video-wrapper {
      .field--name-field-media-video-file {
        .field__item {
          font-size: 0;
        }
      }
      .field--type-entity-reference {
        margin-bottom: 0;
      }
      video {
        /*object-fit: cover;*/
        /*width: 100%;*/
        /*height: auto;*/

        object-fit: cover;
        position: absolute;
        height: 599px;
        width: 100%;
        top: 0;
        left: 0;
      }
    }
    .hero-content {
      /*position: absolute;*/
      /*top: 50%;*/
      /*left: 50%;*/
      /*transform: translateX(-50%) translateY(-50%);*/

      position: relative;
      z-index: 2;
      top: 50%;
      transform: translateY(-50%);
      padding-top: 90px;
      padding-bottom: 90px;
    }
  }

  .slick-slider-custom-nav {
    position: relative;
    z-index: 1;
  }
  &.show-testimonials {
    position: relative;
    overflow: visible;
    .col-text {
      position: relative;
      z-index: 3;
    }
  }
  .featured-collega-verhalen {
    position: absolute;
    bottom: -245px;
    right: 0;
    max-width: 685px;
    z-index: 2;
    .collega-verhalen-item-featured {
      .c-read-more {
        img {
          transition: .25s all ease;
        }
      }
      &:hover {
        .c-read-more {
          img {
            transform: translateX(3px);
          }
        }
      }
    }
  }
  .hero-wysiwyg {
    max-width: 658px;
    h1 {
      font-size: 57px;
      line-height: 66px;
      margin-bottom: 70px;
    }
    h1, h2, h3, h4, h5, h6 {
      text-transform: initial;
      &:before {
        content: none;
      }
    }
    p {
      font-size: 18px;
      line-height: 30px;
    }
  }
  a {
    &.btn-arrow-down {
      margin-top: 70px;
      background-color: var(--color-blue);
      color: white;
      font-size: 16px;
      line-height: 22px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      transition: .25s all ease;
      &:hover {
        background-color: var(--color-blue-darker);
      }
      .link-title {
        padding-left: 16px;
        padding-right: 16px;
      }
      img {
        background-color: white;
        width: 45px;
        height: 45px;
        padding: 12px;
      }
    }
  }
}

.paragraph--type--text-with-image-style-alt {
  position: relative;
  background-size: cover;
  background-position: center;

  h1, h2 {
    font-size: 57px;
    line-height: 66px;
    margin-bottom: 60px;
  }
  h1, h2, h3, h4, h5, h6 {
    text-transform: initial;
    &:before {
      content: none;
    }
  }
  p {
    font-size: 18px;
    line-height: 30px;
    &:last-child {
      margin-bottom: 0;
    }
  }

  .row {
    position: relative;
  }

  .col-text {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 130px;
    padding-bottom: 190px;
    flex: 0 0 57%;
    max-width: 57%;
    padding-left: 12px;
  }

  .col-img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 43vw;
  }

  .col-img {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}


.paragraph--type--onze-waarden {
  padding-top: 70px;
  padding-bottom: 70px;
  .intro {
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 40px;
      line-height: 55px;
      font-weight: 600;
      margin-bottom: 45px;
      text-transform: initial;
    }
  }
  .grid {
    .c-card {
      background-color: white;
      .card-icon {
        position: absolute;
        background-color: var(--color-blue);
        padding: 16px 14px;
      }
      .c-card-wysiwyg {
        padding: 30px;
        h1, h2, h3, h4, h5, h6 {
          font-family: 'Source Sans Pro', sans-serif;
          font-size: 24px;
          line-height: 28px;
          font-weight: 600;
          margin-bottom: 20px;
          text-transform: initial;
        }
        p {
          font-size: 18px;
          line-height: 30px;
          font-weight: 400;
          &:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}

.paragraph--type--onze-waarden, .paragraph--type--three-col-cards {
  .c-card-img {
    img {
      width: 100%;
    }
  }
}

.view-collega-verhalen {
  &.view-display-id-block_1 {
    padding-bottom: 60px;
    .col-img {
      img {
        max-width: 785px;
      }
    }
    .view-content {
      &.row {
        display: block;
      }
    }
    .row-view {
      a {
        &.link-to-node {
          transition: .25s all ease;
          display: block;
          &:hover {
            transform: scale(1.025);
            .col-img {
              img {
                transform: none;
              }
            }
            .read-more-img {
              img {
                transform: translateX(3px);
              }
            }
          }
        }
      }
      &:not(:last-child) {
        margin-bottom: 40px;
      }
      &.odd {
        .col-text {
          right: 0;
        }
        .col-img {
          text-align: left;
        }
      }
      &.even {
        .col-img {
          text-align: right;
        }
        .col-text {
          left: 0;
          text-align: left;
        }
      }
      .col-text {
        background: url(../images/bg-gradient-grey-white-v2.jpg) lightgray 50% / cover no-repeat;
        padding: 62px;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 26px;
        line-height: normal;
        font-weight: 700;
        max-width: 554px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        q {
          quotes: "“" "”" "‘" "’";
          font-style: italic;
          p {
            display: inline;
          }
        }
      }
      .c-read-more {
        margin-top: 35px;
        color: var(--color-blue);
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 20px;
        line-height: normal;
        font-weight: 700;
        letter-spacing: 0.575px;
        display: flex;
        align-items: center;
        .read-more-img {
          margin-left: 16px;
          img {
            width: 18px;
            height: 18px;
            transition: .25s all ease;
          }
        }
      }
    }
  }
  &.view-display-id-block_2 {
    position: relative;
    .slick-slider-custom-nav {
      position: absolute;
      top: 371px;
      right: 0;
      button {
        width: 52px;
        height: 52px;
        border: none;
        background-color: white;
        &:focus {
          outline: none;
          border: 2px solid var(--color-blue);
        }
        &.prev-btn {
          margin-right: 7px;
        }
        img {
          width: 20px;
          height: 20px;
        }
      }
    }
    .link-to-node {
      &:hover {
        img {
          transform: none;
        }
      }
    }
    .col-text {
      background: url(../images/bg-gradient-grey-white-v2.jpg) lightgray 50% / cover no-repeat;
      padding: 45px;
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 26px;
      line-height: normal;
      font-weight: 700;
      z-index: 1;
      q {
        quotes: "“" "”" "‘" "’";
        font-style: italic;
        p {
          display: inline;
        }
      }
    }
    .col-img {
      img {
        max-width: 455px;
        object-fit: cover;
        margin-left: auto;
      }
    }
    .c-read-more {
      margin-top: 35px;
      color: var(--color-blue);
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 20px;
      line-height: normal;
      font-weight: 700;
      letter-spacing: 0.575px;
      display: flex;
      align-items: center;
      .read-more-img {
        margin-left: 16px;
        img {
          width: 18px;
          height: 18px;
          transition: .25s all ease;
        }
      }
    }
  }
}

.paragraph--type--list-views {
  h2 {
    &.title-style-2 {
      margin-top: 100px;
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 46px;
      line-height: 53px;
      font-weight: 700;
      margin-bottom: 54px;
      text-transform: initial;
      &:before {
        content: none;
      }
    }
  }
  .block-cta-wrapper {
    text-align: center;
    a {
      &.block-cta {
        background-color: var(--color-blue);
        border: 2px solid var(--color-blue);
        color: white;
        font-size: 16px;
        line-height: 30px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        margin-bottom: 120px;
        transition: .25s all ease;
        &:hover {
          background-color: var(--color-blue-darker);
          border: 2px solid var(--color-blue-darker);
        }
        .link-title {
          padding-left: 16px;
          padding-right: 16px;
        }
        .link-img {
          img {
            background-color: white;
            width: 45px;
            height: 45px;
            padding: 12px;
          }
        }
      }
    }
  }
}

.paragraph--type--afbeelding-en-waarden {
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 40px;
    line-height: 55px;
    font-weight: 700;
    margin-bottom: 45px;
    text-transform: initial;
  }
  .col-img {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .col-text-icons {
    padding: 35px;
    ul {
      &.icon-items {
        li {
          color: white;
          font-family: 'Source Sans Pro', sans-serif;
          font-size: 24px;
          line-height: 28px;
          font-weight: 600;
          &:not(:last-child) {
            margin-bottom: 25px;
          }
          img {
            padding-right: 25px;
          }
        }
      }
    }
  }
}

.paragraph--type--three-col-cards {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top: 90px;
  padding-bottom: 90px;
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px;
    margin-bottom: 70px;
    text-transform: initial;
  }
  .c-card {
    background-color: white;
    transition: .25s all ease;
    &:hover {
      transform: scale(1.025);
    }
    .c-card-link {
      color: var(--color-black);
      text-decoration: none;
    }
    .c-card-img {
      width: 100%;
    }
    .c-card-content {
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 24px;
      font-style: normal;
      font-weight: 600;
      line-height: 28px;
      padding: 30px;
    }
  }
}

.paragraph--type--three-col-videos {
  padding-top: 90px;
  padding-bottom: 90px;
  h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px;
    text-transform: initial;
    display: block;
    margin-bottom: 70px;
    &:before {
      content: none;
    }
  }
  .field--name-field-video-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    .field--name-field-media-oembed-video {
      position: relative;
      overflow: hidden;
      width: 100%;
      padding-top: 56.25%;
      iframe {
        &.media-oembed-content {
          position: absolute;
          top: 0;
          left: 0;
          bottom: 0;
          right: 0;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}

.paragraph--type--video-card {
  .field--name-field-video {
    margin-bottom: 20px;
  }
  .field--name-field-wysiwyg {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    p {
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.block-views-blockvacatures-block-3 {
  .views-element-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.view-vacatures {
  &.view-display-id-block_3 {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 50px;
    .view-header, .view-filters {
      margin-left: -12px;
    }
    h2 {
      font-family: 'Source Sans Pro', sans-serif;
      font-size: 46px;
      font-style: normal;
      font-weight: 700;
      line-height: 53px;
      text-transform: initial;
      margin-top: 25px;
      margin-bottom: 24px;
      max-width: 270px;
    }
    .bef-exposed-form {
      fieldset.form-type-select, div.form-select.bef-links {
        display: flex;
        align-items: center;
      }
      fieldset.form-type-select {
        margin-bottom: 30px;
        padding: 0;
        label {
          margin-bottom: 0;
          color: var(--color-dark-blue);
          font-family: 'Source Sans Pro', sans-serif;
          font-size: 22px;
          font-style: normal;
          font-weight: 600;
          line-height: normal;
        }
      }
      fieldset.form-type-select label, .form-select.bef-links .col-auto:not(:last-child) {
        margin-right: 17px;
      }
      .form-select.bef-links {
        .col-auto {
          padding-right: 0;
          padding-left: 0;
          &:first-child {
            display: none;
          }
        }
        a {
          display: inline-flex;
          padding: 13px 22px;
          justify-content: center;
          align-items: center;
          background: var(--color-lightgray);
          color: white;
          transition: .25s all ease;
          text-align: center;
          font-family: 'Source Sans Pro', sans-serif;
          font-size: 16px;
          font-style: normal;
          font-weight: 700;
          line-height: 19px;
          letter-spacing: 0.491px;
          &:hover {
            background: var(--color-gold);
          }
        }
        .bef-link-active {
          a {
            background: var(--color-gold);
            &:after {
              content: '';
              display: block;
              background-image: url(../images/check-white.svg);
              background-size: 19px 19px;
              height: 19px;
              width: 19px;
              margin-left: 10px;
            }
          }
        }
      }
    }
    .views-row {
      width: 100%;
      &>a {
        border: 2px solid var(--color-blue);
        padding: 24px;
        display: block;
        &.link-to-node {
          transition: .25s all ease;
          &:hover {
            transform: scale(1.025);
            img {
              transform: none;
            }
            .c-read-more {
              background: var(--color-blue-darker);
            }
          }
        }
      }
      .col-img {
        padding-left: 0;
        padding-right: 20px;
        max-width: 293px;
      }
      .col-content {
        padding-left: 20px;
        padding-right: 0;
        .teaser-text {
          margin-bottom: 35px;
          p {
            &:last-of-type {
              margin-bottom: 0;
            }
          }
        }
      }
      h3 {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 42px;
        text-transform: initial;
        margin-bottom: 16px;
      }
      .c-read-more {
        border: 0 solid white;
        background: var(--color-blue);
        color: white;
        display: inline-flex;
        padding: 13px 22px;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 19px;
        letter-spacing: 0.5px;
        transition: .25s all ease;
      }
      &:not(:last-child) {
        margin-bottom: 23px;
      }
    }
  }
}

footer {
  .social-links {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    margin-top: 12px;
    margin-bottom: 0;
    li {
      a {
        &:hover {
          svg {
            transform: translateY(-3px);
          }
        }
        svg {
          width: 35px;
          height: 35px;
          transition: .25s all ease;
          path {
            fill: white;
            transition: .25s all ease;
          }
        }
      }
    }
  }
}

.hero-desktop {
  .featured-collega-verhalen {
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (max-width: 1800px) {
  .logo-waarden {
    left: 100px;
    height: 150px;
  }
}

@media screen and (max-width: 1600px) {
  .logo-waarden {
    left: 65px;
  }
}

@media screen and (max-width: 1500px) {
  .logo-waarden {
    left: 50px;
    height: 100px;
  }
}

@media screen and (max-width: 1470px) {
  .logo-waarden {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .view-vacatures {
    &.view-display-id-block_3 {
      .views-row {
        h3 {
          font-size: 24px;
          line-height: 28px;
        }
      }
    }
  }
  .paragraph--type--hero-with-text {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    &,bg-fallback-mobile {
      height: auto;
      width: 100%;
      overflow: initial;
      .hero-content {
        position: initial !important;
        top: initial !important;
        left: initial !important;
        transform: initial !important;
      }
    }
  }
  .paragraph.paragraph--type--hero-with-text,
  .paragraph.paragraph--type--onze-waarden,
  .paragraph.paragraph--type--text-with-image-style-alt,
  .paragraph.paragraph--type--list-views,
  .paragraph--type--afbeelding-en-waarden,
  .paragraph--type--three-col-cards,
  .paragraph--type--three-col-videos {
    h1, h2, h2.title-style-2, h3, h4, h5, h6 {
      font-size: 32px;
      line-height: 36px;
      margin-bottom: 25px;
    }
  }
  .paragraph--type--onze-waarden,
  .paragraph--type--three-col-cards,
  .paragraph--type--three-col-videos {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .paragraph--type--hero-with-text {
    &.is-not-video {
      padding-top: 90px;
      padding-bottom: 90px;
    }
    &.is-video {
      /*height: 375px;*/
      .hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
      }
    }
  }
  .paragraph--type--text-with-image-style-alt {
    h1, h2 {
      margin-bottom: 24px;
    }
    .row {
      display: block;
      .col-text {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }
    .col-text {
      padding-top: 50px;
      padding-bottom: 50px;
    }
    .col-img {
      width: 100%;
      position: initial;
    }
  }
  .paragraph--type--list-views {
    h2 {
      &.title-style-2 {
        margin-top: 25px;
        margin-bottom: 25px;
      }
    }
    .block-cta-wrapper {
      a {
        &.block-cta {
          margin-bottom: 15px;
        }
      }
    }
  }
  .view-collega-verhalen {
    &.view-display-id-block_1 {
      padding-bottom: 40px;
      .row-view {
        .col-text {
          padding: 32px;
          max-width: 450px;
        }
      }
    }
  }
  .paragraph--type--afbeelding-en-waarden {
    ul {
      &.icon-items {
        li {
          font-size: 16px;
          line-height: 22px;
        }
      }
    }
  }
  .paragraph--type--hero-with-text {
    &.show-testimonials {
      &.is-video {
        /*background-image: url(../images/hero-abstract-art.jpg);*/
        background-size: cover;
        background-position: center;
        height: auto;
        video {
          display: none;
        }
        .hero-content {
          position: initial;
          top: initial;
          transform: initial;
        }
      }
      .container {
        &>.row {
          display: block;

          .col-lg-7, .col-lg-5 {
            max-width: 100%;
            flex: 0 0 100%;
          }
        }
      }
      .featured-collega-verhalen {
        position: initial;
        max-width: 100%;
        margin-top: 50px;
        .views-element-container {
          &.col-auto {
            padding-left: 0;
            padding-right: 0;
          }
        }
      }
    }
  }
  .view-collega-verhalen {
    &.view-display-id-block_2 {
      .slick-slider-custom-nav {
        top: 0;
      }
      .col-img {
        img {
          max-width: 100%;
          margin-left: 0;
          width: 100%;
        }
      }
    }
  }
}

@media screen and (max-width: 991px) {
  .view-collega-verhalen {
    &.view-display-id-block_1 {
      .row-view {
        .col-text {
          position: initial;
          transform: none;
          max-width: 100%;
        }
      }
    }
    &.view-display-id-block_2 {
      .col-img {
        img {
          height: 350px;
        }
      }
    }
  }
  .view-vacatures {
    &.view-display-id-block_3 {
      margin-bottom: 25px;
      .bef-exposed-form {
        fieldset {
          &.form-type-select {
            display: block;
            label {
              margin-right: 0;
              margin-bottom: 12px;
            }
          }
        }
      }
      .views-row {
        .row {
          display: block;
          .col-img {
            padding-right: 0;
            height: auto;
            max-width: 100%;
            margin-bottom: 24px;
            img {
              object-fit: cover;
              height: 350px;
            }
          }
          .col-content {
            padding-left: 0;
            .teaser-text {
              margin-bottom: 24px;
            }
          }
        }
      }
    }
  }
  .paragraph--type--hero-with-text {
    a {
      &.btn-arrow-down {
        margin-top: 50px;
      }
    }
  }
  .paragraph--type--hero-with-text .hero-wysiwyg,
  .paragraph--type--three-col-cards .wysiwyg,
  .paragraph--type--three-col-videos .wysiwyg {
    h1, h2, h3, h4, h5, h6 {
      margin-bottom: 50px;
    }
  }
  .paragraph--type--three-col-cards {
    padding-top: 50px;
    padding-bottom: 50px;
    .c-card-content {
      .c-card-icon {
        img {
          width: 30px;
        }
      }
    }
  }
  .paragraph--type--three-col-videos {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .view.view-collega-verhalen.view-display-id-block_1, .view.view-vacatures.view-display-id-block_3 {
    .link-to-node {
      margin-bottom: 0;
    }
  }
  .grid-3-cols {
    grid-template-columns: 1fr;
  }
  .paragraph--type--afbeelding-en-waarden {
    .col-img {
      padding-left: 0;
      padding-right: 0;
    }
  }
  .paragraph--type--three-col-videos {
    .field--name-field-video-card {
      grid-template-columns: 1fr;
    }
  }
  .view-collega-verhalen {
    &.view-display-id-block_2 {
      .col-img {
        img {
          height: 250px;
        }
      }
    }
  }
  .view-vacatures {
    &.view-display-id-block_3 {
      .views-row {
        .row {
          .col-img {
            img {
              height: 250px;
            }
          }
        }
      }
    }
  }
}
