/* Component: location-map */

.eg-location-map-container {
  width: 100%;
}

.eg-location-map {
  position: relative;
  width: 100%;
  padding-top: 200%;
}

.wpv-addon-maps-render {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.eg-map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: white;
}

.eg-map-overlay .fl-col-content {
  padding: 20px;
}

.eg-map-overlay .fl-heading {
  margin: 20px;
}

.eg-map-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* black with 30% opacity */
  z-index: 5; /* sits above the map, but below .eg-map-overlay (z-index: 10) */
  pointer-events: none; /* ensures the map doesn’t become unclickable */
}

/* 768px and up - 50% width */
@media (min-width: 768px) {
    
  .eg-map-overlay {
    width: 50%;
  }

    .eg-location-map {
      padding-top: 57%;
    }
  
}
