

.map {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
}
/*.map img {
  display: block;
  width: 100vw;
  height: 100vh;
}*/

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

.marker1 {
  top: 30%;
  left: 20%;
}
.marker2 {
  top: 50%;
  left: 64%;
}
.tooltip{
        position: absolute;
        transform: translate(-50%, -50%);
    z-index: 16;
    background-color: white;
    color: #1d2129;
    /*min-width: 319px;
    min-height: 113px;*/
    min-width: 100px;
    min-height: 60px;
    height: auto;
    display: none;
    text-align: center;
    border-radius: 0.7em;
    /*top: 408px;
    left: 397.4px;*/
    top: 0;
    left: 0;
}

.tooltip::after, .tooltip::before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.tooltip::after {
    border-bottom-color: white;
    border-width: 16px !important;
    margin-left: -16px !important;
}
.tooltip img{
  /*position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;*/
    max-width: 210px;
    max-height: 210px;
    
}
.tooltip .picture-item {
    position: relative;
    max-width: 210px;
    max-height: 210px;
    margin: 20px;
}
@media only screen and (min-width:48em) {
  .map-item {
    position: absolute;
    width: 36px;
    height: 36px;
    z-index: 99;
    }
    .map-item .marker {
      top: auto;
      left: auto;
    }
  
  .map-item1 {
    /*top: 16%;
    left: 28%;*/
  }
  .map-item2 {
    /*top: 44%;
    left: 30%;*/
  }
  
  .map-popup {
    position: absolute;
    left: 58px;
    width: 280px;
    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;
  }
}