.c-location-header {
  /*background: var(--color-brand-blue-dark);*/
  border-top: 20px solid var(--color-brand-blue-dark);
  margin-top: -60px;
  transform: translateY(-70px);

  .c-page-header__subtitle {
    color: white;
    margin-top: 20px;
    font-size: 32px;

    @media screen and (max-width: 60em) {
      font-size: 26px;
    }
  }

  .c-location-header-wrapper {
    min-height: 340px;
    background: var(--color-brand-blue-dark);
  }

  .c-location-header__bg {
    height: auto;
    /*min-height: 340px;*/
    padding: 20px 0 90px;
    overflow: hidden;

    img {
      object-fit: cover;
      /*min-height: 340px;*/
      width: 100%;

      @media screen and (min-width: 70em) {
        /*max-height: 340px;*/
      }
    }
  }

  .c-page-header {
    /*transform: translateY(-230px);*/
    min-height: 340px;
    margin-bottom: 0;

    h1 {
      color: #fff;
      font-size: 36px;
      font-weight: 800;
      padding-top: 150px;
      margin-top: 0;

      @media screen and (max-width: 47em) {
        font-size: 30px;
      }

      span {
        font-weight: 400;
        display: block;
      }
    }

    h2 {
      font-size: 24px;
      padding-bottom: 65px;
    }

    &.background-light h1,
    &.background-light h2 {
      color: #4A4F54;
    }
  }
}

.c-location-header__img {
  /*transform: translateY(-70px);*/
  z-index: 1;

  img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    max-height: 200px;
    width: auto;
  }
}

@supports (object-fit: cover) {
  .c-location-header .c-location-header__img img {
    display: block;
    height: 100%;
    left: auto;
    margin: 0 auto;
    max-height: none;
    object-fit: cover;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }
}

.c-location-header + .l-container--md .c-alert {
  margin-top: 1rem;
}

.c-location-header__img {
  background-color: var(--color-neutral-white);
  border-radius: 50%;
  height: 200px;
  margin: 0 auto;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  overflow: hidden;
  position: relative;
  /*transform: translateY(-510px);*/
  width: 200px;

  &.checklist {
    width: 150px;
    height: 150px;

    img {
      max-height: 150px;
    }
  }
}

.c-location-header-border {
  background-size: cover;
  height: 200px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  z-index: 1;
}

.single-locations {
  .l-container--padded__tb {
    padding-bottom: 6rem;
    padding-top: 6rem;
  }

  .c-alert--location { 
    /*transform: translateY(-508px);*/
    background: var(--color-brand-blue-dark);
    padding: 16px 30px;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-height: 90px;
    margin-top: -30px;
    display: flex;

    &.hidden {
      display: none;
    }

    .l-container--lg {
      flex-direction: column;
      display: flex;
      justify-content: center;

      p {
        &::before {
          content: '';
          background-repeat: no-repeat;
          background-size: 100% auto;
          display: inline-block;
          width: 39px;
          height: 25px;
          left: -15px;
          top: 7px;
          position: relative;
        }
      }
    }

    &.red {
      background: #EF1F3F;

      .l-container--lg {
        p {
          &::before {
            top: 9px;
          }
        }
      }
    }
  }

  .location-clinician-wrapper {
    display: flex;
    margin: auto;
    max-height: 460px;
    overflow: hidden;
    transition: max-height 1s;
    padding-bottom: 50px;
    margin-bottom: 50px;
    justify-content: center;

    @media all and (max-width: 47em) {
        max-height: 2000px;
    }
  }

  .c-clinician-list__img {
    max-height: 277px;
    overflow: hidden;
  }

  .c-location-links {
    margin-top: -80px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EDEDED;

    .c-link-group {
      display: flex;
      justify-content: center;

      @media all and (max-width: 60em) {
        display: block;
        text-align: center;
        margin: 1rem 0;
      }
    }
  }

  .c-location-global-content {
    padding-top: 80px;
  }

  form {
    width: 280px;

    &#mc-embedded-subscribe-form {
      width: auto;
    }

    @media all and (max-width: 60em) {
      margin-bottom: 0;
      margin: auto;
    }
  }

  label {
    width: 280px;

    @media all and (max-width: 47em) {
      width: auto;
      padding: 0;
    }

    @media all and (max-width: 60em) {
      padding: 0;
    }

    span {
      font-size: 16px;
    }

    &.c-link-group__link svg.svg-location {
      margin-right: 10px;
      margin-bottom: 6px;
    }

    &.c-link-group__link svg.svg-checkmark {
      margin-right: -21px;
      margin-bottom: 5px;
    }

    &.c-link-group__link svg.svg-border {
      margin-bottom: 5px;
      margin-left: -1px;
    }

    &.c-link-group__link [type="checkbox"] {
      margin-right: -10px;
    }

    &:hover, 
    svg:hover,
    input:hover {
      cursor: pointer;
    }
  }

  a.c-link-group__link {
    font-size: 16px;
    margin: 0 40px 0 50px;

    @media all and (min-width: 60em) {
      white-space: nowrap;
    }

    &.orange-caps {
      /*width: 346px;*/

      svg.map-marker {
        color: #4A4F54;
        margin-bottom: 6px;
        margin-right: 5px;
      }
    }

    span {
      white-space: nowrap;
    }
  }

  a.orange-caps:hover, a.orange-caps:focus, .orange-caps a:hover, .orange-caps a:focus {
    color: var(--color-link-location-header-caps);
  }

  svg.svg-arrow {
    margin-left: 8px;
    margin-bottom: -1px;
  }

  .clinic-share {
    .blog-event-social {
      text-align: center;
    }
  }

  .share-buttons {
    min-width: 211px;
    margin-top: -1px;
  }

  .blog-event-social .social-title { 
    font-size: 16px;
    color: #4A4F54;
    padding-top: 4px;
  }

  .clinic-share {
    .c-footer-nav__childlink {
      color: white;
      background-color: var(--bg-chinic-share-footer-nav);
    }

    .c-social-media__link {
      border: 0px solid #4a4f54;
      margin: -2px 1px 4px 1px;
    }
  }

  .c-location-checklist-header {
    text-align: center;

    h2 {
      font-size: 28px;
      font-weight: 700;
      background-color: #F4F4F4;
      margin-top: -100px;
      padding: 130px 30px 50px;
    }
  }

  .c-location-checklist-content {
    margin-top: 100px;

    h3 {
      font-size: 24px;
      font-weight: 400;
    }
  }

  .c-location-checklist-patientforms {
    h3 {
      font-size: 24px;
      font-weight: 400;
    }
  }

  .c-location-checklist-downloads {
    .c-form-download {
      display: flex;
      align-items: flex-end;
      margin-left: -1rem;
      margin-right: -1rem;
      margin-top: 60px;

      .c-form-download__item {
        align-self: flex-start;
        margin-top: 0;
      }
    }
  }
}
