/*//A PLACE TO PUT OVERRIDES WITHOUT HAVING TO COMPILE SASS*/
#header .menu--social-media ul.menu a.twitter:before {
    background-image: url('x-logo.png');
    background-size: 13px 13px;
    display: inline-block;
    height: 12px;
    background-repeat: no-repeat;
    width: 33px;
    background-position-x: center;
    content:"";
}

.slider {
  display: flex;
  min-height: 800px;
  width: 100%;
}

.slide-bg {
  flex: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.slide-img {
  display: none !important;
  margin-bottom: 30px;
}

.slide-content {
  padding: 60px 140px 0 80px;
  flex: 50%;
  background-color: #1d7336;
  position: relative;

  .field {
    color: #ffffff;
  }

  .field--name-title {
    display: block;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 48px;
  }

  .field--name-body {
    line-height: 22px;
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 40px;
  }

  .slide-button {
    background-color: #145a9f;
    border: none;
    color: white;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    font-weight: 200;
    text-transform: uppercase;
  }

  .slide-button::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 200;
    width: 2rem;
    height: 2rem;
    margin-left: 5px;
    font-size: 12px;
  }
}

.slide-thumbnails {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
  padding: inherit;
}

.view-slide-articles {
  .view-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
  }

  .views-row {
    border-bottom: none !important;
    flex: 1 1 0px !important;
  }

  .views-field-field-main-image {
    flex-shrink: 0;
    margin-bottom: 10px;
    img {
      border-radius: 12px;
    }
  }

  .views-field-title {
    line-height: 18px;
    span {
      color: #fff;
      font-weight: bold;
    }
  }
}

/* .slide-row:nth-of-type(2) { */
/*   display: none; */
/* } */
/**/
/* .slide-row:nth-of-type(3) { */
/*   display: none; */
/* } */


.slide-nav-container {
  display: inline-block;
  margin-left: 100px;

  .slide-nav {
    display: flex;
    align-items: center;
    gap: 10px;

    .slide-dot {
      cursor: pointer;
      height: 20px;
      width: 20px;
      background-color: #fff;
      border-radius: 50%;
      display: inline-block;
      padding: 3px;
      position: relative;
      border: 1px solid #fff;
      box-sizing: border-box;
      box-shadow: 0 0 0 15px #1d7336 inset;
    }

    .slide-left::after {
      cursor: pointer;
      color: #fff;
      content: "\f060";
      font-family: "Font Awesome 5 Free";
      font-weight: 200;
      width: 2rem;
      height: 2rem;
      margin-left: 5px;
      font-size: 12px;
    }

    .slide-right::after {
      cursor: pointer;
      color: #fff;
      content: "\f061";
      font-family: "Font Awesome 5 Free";
      font-weight: 200;
      width: 2rem;
      height: 2rem;
      margin-left: 5px;
      font-size: 12px;
    }
  }
}

.slide:nth-of-type(2) {
  .slide-dot:nth-child(2) {
    border: 1px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 0 0 5px #1d7336 inset;
  }

  .views-row:nth-child(1) .views-field-field-main-image img {
    opacity: 0.5;
  }
}

.slide:nth-of-type(3) {
  .slide-dot:nth-child(3) {
    border: 1px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 0 0 5px #1d7336 inset;
  }

  .views-row:nth-child(2) .views-field-field-main-image img {
    opacity: 0.5;
  }
}

.slide:nth-of-type(4) {
  .slide-dot:nth-child(4) {
    border: 1px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 0 0 5px #1d7336 inset;
  }

  .views-row:nth-child(3) .views-field-field-main-image img {
    opacity: 0.5;
  }
}

.view-homepage-videos {
  .views-field-field-video {
    margin-bottom: 1.5rem;

    img {
      border-radius: 11px;
    }

    a::after {
      content: url('/sites/default/files/2021-08/photo-video-solid.svg');
      position: absolute;
      top: 10px;
      right: 16px;
      height: 39px;
      width: 39px;
      background-color: rgba(8, 32, 15, 0.9);
      padding: 10px;
      border-radius: 50%;
      padding: 6px 9px 8px 9px;
    }
  }

  .views-field-title {
    margin-bottom: 1rem;

    span {
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      color: #36414D;
      font-size: 1.375rem;
      line-height: 1.75rem;
      font-weight: 800;
    }
  }

  .views-field-view-node {
    a {
      text-decoration: none;
      text-transform: uppercase;
      line-height: 0.875rem;
      font-size: 12px;
      font-weight: 600;
      color: #36414D;
    }

    a::after {
      font-family: "Font Awesome 5 Free";
      font-weight: 400;
      content: "\f061";
      font-size: 0.75rem;
      display: inline-block;
      margin-left: 0.5rem;
      color: #2EB355;
    }
  }

  .views-fieel
}

@media (max-width: 1350px) {
  .slide-content {
    padding: 30px 30px 0 30px;
  }
}


@media (max-width: 1250px) {
  .slider {
    min-height: 750px;
  }

  .slide-bg {
    flex: 0%;
  }

  .slide-content {
    flex: 100%;
  }
}

@media (max-width: 700px) {
  .slider {
    min-height: none;
  }

  .slide-img {
    display: block !important;
  }

  .slide-content {
    flex: 100%;

    .field--name-body {
      display: none;
    }
  }

  .slide-thumbnails {
    display: none;
  }

  .slide-nav-container {
    display: block;
    margin-left: 0;
    margin-top: 40px;
    margin-bottom: 30px;
  }
}
