/* Hotspot */

.link-hotspot {
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -25px;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  z-index: 999;
}

.switching .link-hotspot {
  pointer-events: none;
}

.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.link-hotspot-tooltip {
  position: absolute;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;

  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  -ms-transform: translate(-50%, -100%);
  -webkit-transform: translate(-50%, -100%);
}


/* Embed */

.embedInfo {
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
}

.embedInfo img, .embedInfo video, .embedInfo audio{
  width: 300px;
  display: block;
}

.embedInfo .embedInfoIcon {
  position: absolute;
  width: 45px;
  height: 45px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background-color: #26dede;
  padding: 5px;
  border-radius: 50%;
  transition: background-color .3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.embedInfo .embedInfoIcon:hover {
  background-color: #fff;
}

.embedInfo .embedInfoIcon .default {
  width: 30px;
  height: 30px;
  background-image: url(./img/embed/info.png);
  background-size: 30px;
  background-position: 0 30px;
}

.embedInfo .embedInfoIcon:hover .default {
  background-position: 0 0px;
}

.embedInfo .embedInfoIcon .video {
  width: 35px;
  height: 35px;
  background-image: url(./img/embed/video.png);
  background-size: 35px;
  background-position: 0 35px;
}

.embedInfo .embedInfoIcon:hover .video {
  background-position: 0 0px;
}

.embedInfo .embedInfoIcon .photo {
  width: 35px;
  height: 35px;
  background-image: url(./img/embed/photo.png);
  background-size: 35px;
  background-position: 0 35px;
}

.embedInfo .embedInfoIcon:hover .photo {
  background-position: 0 0px;
}

.embedInfo .embedInfoIcon .audio {
  width: 35px;
  height: 35px;
  background-image: url(./img/embed/audio.png);
  background-size: 35px;
  background-position: 0 35px;
}

.embedInfo .embedInfoIcon:hover .audio {
  background-position: 0 0px;
}

.embedInfo .embedInfoIcon .text {
  width: 35px;
  height: 35px;
  background-image: url(./img/embed/text.png);
  background-size: 35px;
  background-position: 0 35px;
}

.embedInfo .embedInfoIcon:hover .text {
  background-position: 0 0px;
}

.embedInfo .embedInfoTip {
  position: absolute;
  padding: 5px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  cursor: pointer;
}

.embedInfo .embedInfoTip .child {
  width: 300px;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
}

.photo .embedInfoTip .child {
  overflow: hidden;
  max-height: unset;
}

.video .embedInfoTip .child {
  overflow: hidden;
  max-height: unset;
}

.embedInfo .embedInfoTip .close{
  position: absolute;
  background-color: rgb(255 255 255 / 50%);
  top: calc(100% + 5px);
  right: 50%;
  transform: translate(50%,0);
  -webkit-transform: translate(50%,0);
  width: 25px;
  height: 25px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.embedInfo .embedInfoTip .close:hover{
  background-color: rgb(255 255 255 / 100%);
}

.embedInfo .embedInfoTip .close img{
  width: 20px;
  height: 20px;
}

.txt .embedInfoTip {
  background-color: rgb(0,0,0,0.5);
  color: white;
}