//
// Map
// --------------------------------------------------

.map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  flex: 1;
  margin: 0;
  padding: 0;

  @media (max-width: $screen-md) {
    .angular-google-map-container {
      height: 600px;
    }
  }

  &-box {
    .node-display {
      .angular-google-map-container {
        height: $grid-unit-y * 75;

        @include border-radius($border-radius-new-small);
      }
    }
  }

  &-media {
    position: absolute;
    top: $grid-unit-y * 2;
    left: $grid-unit-x * 2;
    z-index: 1;
    width: $grid-unit-x * 75;
  }

  &-content {
    top: $grid-unit-y * 2;
    right: $grid-unit-x * 2;
    width: $grid-unit-x * 37;
    height: $grid-unit-y * 100;
    background-color: transparent;
    z-index: 1;
    position: absolute;
  }

  .angular-google-map-container,
  #windy {
    min-height: 100vh;
    height: 100vh;

    #mobile-ovr-select {
      margin-top: 70px;
    }
    #embed-zoom {
      margin-top: 70px;
    }

    #layers-menu {
      margin-top: 80px !important;
    }

    .closing-x {
      margin-top: 80px !important;
    }

    .progress-bar {
      all: unset;
    }
  }

  &-no-scroll {
    $map-height: 100vh;

    height: $map-height !important;
    overflow: hidden;
    position: relative;

    .angular-google-map-container {
      width: 100%;

      > div {
        height: 100% !important;
      }
    }
  }
}

g-map {
  @include border-radius($border-radius-base);
}

.angular-google-map-container {
  height: $grid-unit-y * 38;
  width: 100%;
}
