#custom-map {
  min-height: 550px;
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50.5%);
}


.page-template-contact #main {
  padding-top: 0;
}

.page-template-contact .leaflet-popup-content-wrapper {
  background: #d11218 !important;
  color: #fff !important;
}

.page-template-contact .leaflet-div-icon,
.page-template-contact .leaflet-popup-tip {
  background: #d11218 !important;
}

.page-template-contact .leaflet-div-icon {
  border-radius: 50%;   
}

#map-wrapper {
  background: url('/wp-content/themes/Avada-Child-Theme/images/atb-map.jpg') no-repeat center center;
  background-size: cover;
}

.leaflet-bottom.leaflet-right {
  display: none;
}

#maps-accept-terms-element {
  padding: 20px 40px;
  background: #fff;
  border: 1px solid #b2b2b2;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  line-height: 1.5;
  width: calc(100% - 80px);
}

#maps-accept-terms-element a {
  color: #d11218;
  text-decoration: underline;
}

#maps-accept-terms {
  background: #d11218;
  display: inline-block;
  color: #fff;
  padding: 10px 20px;
  margin: 40px 0 20px 0;
  cursor: pointer;
}

#maps-accept-terms:hover {
  opacity: 0.85;
}
