.mapYA-wrapper {
  cursor: pointer;
}

.mapYA-poster,
.mapYA-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.mapYA-poster {
  background-repeat: no-repeat;
  background-size: cover;
}

.mapYA-caption {
  color: #4e7dc7;
}

.mapYA.poppy-modal-box {
  margin: auto;
  max-width: initial;
  max-height: 100%;
  width: 100vw;
  height: 100vh;
}

.mapYA .poppy-modal-box__content {
  height: 100%;
}

.mapYA .poppy-modal-box__header + .poppy-modal-box__content {
  height: calc(100% - 50px);
}

@media (min-width: 1110px) {
  .mapYA.poppy-modal-box {
    width: calc(100vw - 150px);
    height: calc(100vh - 150px);
  }
}
.mapYA-gp-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: auto;
  user-select: none;
  cursor: pointer;
  border: 1px solid #edf2f9;
  padding: 15px;
  background-color: #273f64;
  border-radius: 50px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
  width: 40px;
  height: 40px;
}

.mapYA-gp-marker {
  background-image: linear-gradient(to bottom, #4e7dc7 0.5%, transparent) !important;
}

.mapYA-marker .front {
  fill: #ffffff;
}

.mapYA-marker .back {
  fill: #273f64;
}

.mapYA-marker .outline {
  stroke: #ffffff;
  stroke-width: 1px;
}

.mapYA-gp-marker-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
  background-color: #373d46;
  color: #ffffff;
  border-radius: 50px;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 10px;
  line-height: 10px;
  white-space: nowrap !important;
  padding: 5px 7.5px;
}

.mapYA-cluster-marker {
  color: #ffffff;
  border: none;
  box-shadow: 0 0 10px #273f64;
  width: 40px;
  height: 40px;
}

.mapYA-control-container {
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
}

.mapYA-control-container-br {
  right: 10px !important;
  bottom: 24px !important;
}

.mapYA-control-container-bl {
  bottom: 30px !important;
  left: 10px !important;
}

.mapYA-control,
.mapYA > .poppy-modal__close {
  background-color: #f4f4f4;
  border: none;
  padding: 0;
}

.mapYA-control {
  min-width: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.mapYA > .poppy-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
}

.mapYA > .poppy-modal__close svg,
.mapYA-control svg {
  fill: #373d46;
  stroke: #373d46;
  stroke-width: 2px;
}

.mapYA-control-top {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.mapYA-control-bottom {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.mapYA-control:not(:first-child, :only-child) {
  border-top: 1px solid #c6c6c6;
}

/* Controlli custom per mappa ROAD e HYBRID */
.mapYA-control-container .mapYA-control-road,
.mapYA-control-container .mapYA-control-sat {
  width: 60px;
  height: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 4px solid #f4f4f4;
  border-radius: 4px;
}

.mapYA-control-road {
  background-image: url(https://images.yesalps.com/static/site/maptype-road.png);
}

.mapYA-control-sat {
  background-image: url(https://images.yesalps.com/static/site/maptype-sat.png);
}

.gm-style iframe + div {
  border: none !important;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  width: 300px !important;
}

.gm-style .gm-style-iw-ch {
  padding-top: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: max-content !important;
}

.gm-ui-hover-effect {
  display: none !important;
}
