@charset "UTF-8";

.hideBlock {
  display: none;
}

.toVideo {
  width: 100%;
  background: rgba(0, 0, 0, 1);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  height: 100%;
}

.toVideo .contentBox {
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1200px;
  max-height:90%;
  height:90%;
}

.toVideo .contentBox .splist{
	width: 100%;
	height:100%;
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.toVideo .contentBox .splist::-webkit-scrollbar {
width: 0px;
}

.toVideo .contentBox .close {
  border: 2px solid #FFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: 100%;
  left: 100%;
  cursor: pointer;
}

.toVideo .contentBox .close::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 85%;
  left: 50%;
  top: 50%;
  background: #FFF;
  transform: translate(-50%, -50%) rotate(45deg);
}

.toVideo .contentBox .close::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 85%;
  left: 50%;
  top: 50%;
  background: #FFF;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.toVideo .contentBox video {
  width: 100%;
  height: auto;
}

/* 简单的图片弹窗样式 */
.image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.image-popup .content {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  position: relative;
}

.popup-image {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  transition: transform 0.3s ease;
}

.close-btn {
  position: absolute;
  bottom: 100%;
  left: 100%;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transform: translate(50%, 0);
  z-index: 1000;
}

@media (max-width: 768px) {
  .toVideo .contentBox {
    width: 90.5%;
	height:82%;
  }

  .toVideo .contentBox .close {
    width: 24px;
    height: 24px;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 100%);
  }

  .close-btn {
    display: none;
  }

}