/* #Hotspot
-------------------------------------- */
.tx-hs-item:hover .tx-hs-popup {
  opacity: 1;
  visibility: visible;
}
.tx-hs-item {position: absolute;}
.tx-hs-popup {
  position: absolute;
  left: 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;
}
.tx-hs-popup.open {
  opacity: 1;
  visibility: visible;
}
.tx-hs-marker {
  position: absolute;
  z-index: 10;
  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;
  cursor: pointer;
}
.tx-hs-marker img,
.tx-hs-marker-text {
  z-index: -1;
}
.tx-hs-marker svg {
    width: 14px;
}
.tx-hs-marker:hover,
.tx-hs-marker:focus {
  color: #fff;
}
.tx-hs-marker:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    border-width: 4px;
    border-style: solid;
    border-color: tomato;
    border-radius: 50%;
}
.tx-hs-tt-title {
  font-size: 15px;
  font-weight: 600;
}
@-webkit-keyframes pulsate
{
    0%
    {
        -webkit-transform: scale(0); opacity: 0;
    }
    50%
    {
        opacity: .5;
    }
    100%
    {
        -webkit-transform: scale(1.5); opacity: 0;
    }
}
@media only screen and (min-width:48em) {

  .tx-hs-item {
    position: absolute;
    width: 36px;
    height: 36px;
  }
  .tx-hs-item .tx-hs-marker {
    top: auto;
    left: auto;
  }
  .tx-hs-popup {
    position: absolute;
    width: 280px;
  }
  .tx-hs-popup.left {
    top: 50%;
    left: auto;
    right:58px;
    transform: translateY(-50%);
  }
  .tx-hs-popup.right {
    top: 50%;
    left: 58px;
    transform: translateY(-50%);
  }
  .tx-hs-popup.top {
    top: -30px;
    left: 50%;
    transform: translate(-50%, -100%);
  }
  .tx-hs-popup.bottom {
    bottom: -32px;
    left: 50%;
    transform: translate(-50%, 100%);
  }
  .tx-hs-popup:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
  }
  .tx-hs-popup.left:before {
    top: 50%;
    right: -16px;
    border-width: 16px 0 16px 16px;
    margin-top: -16px;
    border-color: transparent transparent transparent #fff;
  }
  .tx-hs-popup.right:before {
    top: 50%;
    left: -16px;
    border-width: 16px 16px 16px 0;
    margin-top: -16px;
    border-color: transparent #fff transparent transparent;
  }
  .tx-hs-popup.top:before {
    left: 44%;
    bottom: 0;
    border-width: 16px 16px 16px 16px;
    margin-bottom: -32px;
    border-color: #fff transparent transparent transparent;
  }
  .tx-hs-popup.bottom:before {
    left: 44%;
    top: 0;
    border-width: 16px 16px 16px 16px;
    margin-top: -32px;
    border-color: transparent transparent #fff transparent;
  }
  .tx-hs-popup.edge {
    left: auto;
    right: calc(100% + 24px);
  }
  .tx-hs-popup.edge:before {
    left: auto;
    right: -16px;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #fff;
  }
}

@media(max-width: 767px) {
  .tx-hs-popup {
    width: 280px;
    margin-top: 16px;
  }
   .tx-hs-popup.left {
    left: auto;
    right: 20px;
    transform: translateY(-50%);
  }
  .tx-hs-popup.right {
    left: 58px;
    transform: translateY(-50%);
  }
  .tx-hs-popup.top {
    top: -38px;
    left: 50%;
    transform: translate(-44%, -100%);
  }
  .tx-hs-popup.bottom {
    bottom: -58px;
    left: 50%;
    transform: translate(-44%, 100%);
  }
  .tx-hs-popup:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
  }
  .tx-hs-popup.left:before {
    top: 50%;
    right: -16px;
    border-width: 16px 0 16px 16px;
    margin-top: -16px;
    border-color: transparent transparent transparent #fff;
  }
  .tx-hs-popup.right:before {
    top: 50%;
    left: -16px;
    border-width: 16px 16px 16px 0;
    margin-top: -16px;
    border-color: transparent #fff transparent transparent;
  }
  .tx-hs-popup.top:before {
    left: 44%;
    bottom: 0;
    border-width: 16px 16px 16px 16px;
    margin-bottom: -32px;
    border-color: #fff transparent transparent transparent;
  }
  .tx-hs-popup.bottom:before {
    left: 44%;
    top: 0;
    border-width: 16px 16px 16px 16px;
    margin-top: -32px;
    border-color: transparent transparent #fff transparent;
  }

}