
.map {
  position: relative;
  
  margin: auto;
  background-color: #ccc;
}
.map img {
  display: block;
  width: 100%;
}

.map-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  width: 22%;
  padding: 5px 30px;;
  background-color: #fff;
  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: 30px;
  height: 30px;
  color: #fff;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background-color: #a70b13;
  transition: all 300ms;
}

.marker1 {
      top: 35%;
    left: 14%;
}
.marker3 {
  top: 30%;
  left: 20%;
}
.marker4 {
  top: 50%;
    left: 21%;
}
.marker5 {
 top: 40%;
    left: 37%;
}
.marker6 {
  top: 52%;
    left: 29%;;
}
.marker7 {
  top: 47%;
    left: 47%;
}
.marker8 {
  top: 28%;
    left: 48%
}
.marker2 {
  top: 50%;
  left: 64%;
}

@media only screen and (min-width:48em) {
  .map-item {
    position: absolute;
    width: 36px;
    height: 36px;
    }
    .map-item .marker {
      top: auto;
      left: auto;
    }
  
  .map-item1 {
    top: 34%;
    left: 17%;
  }
  .map-item2 {
    top: 50%;
    left: 64%;
  }
	.map-item3 {
    top: 58%;
    left: 21%;
  }
	.map-item4 {
    top: 60%;
    left: 24%;
  }
	.map-item5 {
    top: 53%;
    left: 46%;
  }
  
	.map-item6 {
    top: 65%;
    left: 32%;
  }
	
	.map-item7 {
    top: 53%;
    left: 50%;
  }
	.map-item8 {
    top: 39%;
    left: 50%;
  }
	
	
  .map-popup {
    position: absolute;
    left: 58px;
    width: 207px;
    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;
  }
}