/* 弹窗遮罩层 */
.mobile_banner_pop{
	margin-left: 50px;
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* 弹窗内容 */
#modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #343434;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#my-video{
	max-width: 100%; /* 视频宽度不超过容器宽度 */
	max-height: 100%; /* 视频高度不超过容器高度 */
	object-fit: contain; /* 保持视频比例 */
	border-radius: 10px;
}
/* 关闭按钮 */
#modal-close {
    display: block;
    text-align: right;
    margin-bottom: 10px;
}

#modal-close a {
    text-decoration: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
}
/* 手机适配样式 */
@media (max-width: 768px) {
    #modal {
        width: 90%; /* 弹窗宽度为屏幕的90% */
        height: auto; /* 高度自适应 */
    }

    #my-video {
        object-fit: contain; /* 视频按比例适配弹窗 */
    }
	.mobile_banner_pop{
		margin-left: 0!important;
	}
}


/* 3video */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
	text-align: center;
    transform: translate(-50%, -50%);
    background: #343434;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#video-player{
	max-width: 100%; /* 视频宽度不超过容器宽度 */
	max-height: 100%; /* 视频高度不超过容器高度 */
	object-fit: contain; /* 保持视频比例 */
	border-radius: 10px;
	background: transparent!important; /* 设置背景透明 */
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}
/* 手机适配样式 */
@media (max-width: 768px) {
    .modal {
        width: 90%; /* 弹窗宽度为屏幕的90% */
        height: auto; /* 高度自适应 */
    }

    #video-player {
        object-fit: contain; /* 视频按比例适配弹窗 */
    }
}