img {
  max-width: 100%;
  height: auto;
}
.map {
  position: relative;
  margin: auto;
}
.map img {
  display: block;
  width: 100%;
}
.map-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  width: 100%;
  padding: 10px;
  background-color: #FFFFFF;
  transition: all 300ms ease-in;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 24px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
}
.map-popup > *:first-child { margin-top: 0; }
.map-popup > *:last-child { margin-bottom: 0; }
.map-popup.open {
  opacity: 1;
  visibility: visible;
}
.marker {
  position: absolute;
  z-index: 1;
  display: inline-block;
  width: 50px;
  height: 50px;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background-color: #D2B893;
  transition: all 300ms;
}
.marker i {
  font-size: 20px;
  padding-top: 6px;
}
.marker i span {
  font-size: 12px;
  display: block;
  padding-top: 5px;
  font-family: Arial;
}
.marker:hover {
  color: #FFFFFF;
  background-color: #CC9900;
}
.marker i,.marker i span:hover {
  color: #FFFFFF;
}
.marker1 {
  top: 40%;
  left: 49%;
}
@media only screen and (min-width:480px) {
.map-item {
  position: absolute;
  width: 36px;
  height: 36px;
}
.map-item .marker {
  top: auto;
  left: auto;
}
.map-item1 {
  top: 43%;
  left: 53%;
}
.map-popup {
  position: absolute;
  left: 58px;
  width: 350px;
  transform: translateY(-50%);
}
.map-popup:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  margin-top: -16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #fff transparent transparent;
}
.map-popup.edge {
  left: auto;
  right: calc(100% + 24px);
}
.map-popup.edge:before {
  left: auto;
  right: -16px;
  border-width: 16px 0 16px 16px;
  border-color: transparent transparent transparent #fff;
}
}