#course-detail-map {
  height: 500px;
  width: 100%;
}

#course-overview-map {
  height: 800px;
  width: 100%;
}

.gm-style-iw {
  .gm-style-iw-d {
    overflow: hidden !important;

    .marker-info-window {
      background-color: $zim_yellow;
      min-width: 360px;

      .marker-course {
        padding: 16px;
        border-bottom: 1px solid $text_inverse;

        &:last-child {
          border-bottom: none;
        }

        p, a {
          color: $text_inverse !important;
        }

        p {
          margin-right: 20px;
          margin-block-start: 0;
        }

        a {
          font-weight: bold;
        }
      }
    }
  }

  // Info Window close button
  // Google Maps applies element styles which override everything, so we have to apply the ugly !important styling
  button {
    top: 0 !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;

    img {
      width: 24px !important;
      height: 24px !important;
      filter: brightness(0) invert(1) !important;
    }
  }
}