
#event-gallery{
    padding-top: 0;
    padding-bottom: 140px;
}
/* styles.css */
#video-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    cursor: pointer;
}
.video-container{
    position: relative;
}
#eventVideo {
    width: 100%;
    height: auto; /* 保持视频比例 */
}
 
#play-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    cursor: pointer;
    width: 70px;
    height: 70px;
    transition: opacity 0.3s ease;
}
 
#play-button.hidden {
    opacity: 0; /* 隐藏按钮 */
    pointer-events: none; /* 防止点击隐藏按钮 */
}
 
#play-button.visible {
    opacity: 1; /* 显示按钮 */
    pointer-events: auto; /* 允许点击按钮 */
}

#eventVideo01 {
    width: 100%;
    height: auto; /* 保持视频比例 */
}
 
#play-button01 {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    border-radius: 50%; /* 圆形按钮 */
    cursor: pointer;
    width: 70px; /* 按钮大小 */
    height: 70px;
    transition: opacity 0.3s ease; /* 添加淡入效果 */
}
 
#play-button01.hidden {
    opacity: 0; /* 隐藏按钮 */
    pointer-events: none; /* 防止点击隐藏按钮 */
}
 
#play-button01.visible {
    opacity: 1; /* 显示按钮 */
    pointer-events: auto; /* 允许点击按钮 */
}
 
.center img {
    width: 100%;
    height: auto; /* 保持图片比例 */
    max-width: 100%; /* 防止图片超出按钮大小 */
}
.event-gallery-title{
    font-family: 'SourceHanSansCN-Bold';
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 15px;
    text-align: left;
}
.event-gallery-title a{
    color: #333;
}
.event-gallery-title .event-gallery-title-data{
    font-size: 16px;
    line-height: 1.8em;    
    font-family: 'SourceHanSansCN-Light';
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: left;
    color: #333;
	font-weight:bold;
    cursor: auto;
}
.event-gallery-title .event-gallery-title-info p{
    font-family: 'SourceHanSansCN-Light';
    font-size: 16px;
    line-height: 1.6em;
    margin-top: 0.5em;
    margin-top:0;
    margin-bottom:0;
    color: #333;
    font-weight: normal;
}
.event-gallery-title .event-gallery-title-info div{
	
	
           display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    text-align: justify;
    text-align-last: left;
}
.event-gallery-title-more{
    color:#f07d12;
    text-decoration: underline;
    font-family: 'SourceHanSansCN-Light';
    font-size: 16px;
    line-height: 1.6em;
    font-weight: normal;
	cursor:pointer;
}
.event-gallery-list{
    padding: 70px 0;
}
.event-gallery-image{
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.event-gallery-image img{
    width: 100%;
}
.event-gallery-image-play{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 70px;
    height: 70px;
}
.event-gallery-image-play img{
    width: 70px;
    height: 70px;
}
.eventgallery-modal-close{
    position: absolute;
    top: -28px;
    right: -28px;
    cursor: pointer;
    z-index: 1;
}
.eventgallery-modal-close img{
    width: 59px;
    height: 59px;
}
.event-gallery-list .modal-dialog{
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}
.event-gallery-list .modal-dialog .modal-content{
    width: 100%;
}
.event-gallery-list .modal-dialog .modal-body {
    padding: 10px;
}
#Partners{
	padding-bottom:100px;
}

@media screen and (min-width:320px) and (max-width:767px){
    #event-gallery {
        padding-bottom: 40px;
    }
    #play-button{
        width: 45px;
        height: 45px;
    }
    .event-gallery-title {
        font-size: 16px;
    }
    .event-gallery-list {
        padding: 40px 0;
    }
    .event-gallery-title .event-gallery-title-info p{
        text-align: justify;
        text-align-last: left;
        font-size: 14px;
    }
    .event-gallery-list .row .col-md-6:not(:first-child){
        margin-top: 40px;
    }
    .event-gallery-list .modal-dialog .modal-content {
        width: 100%;
        margin: 0 25px;
    }
    .eventgallery-modal-close img {
        width: 24px;
        height: 24px;
    }
    .eventgallery-modal-close {
        top: -12px;
        right: -12px;
    }
    #play-button01,#play-button02{
        width: 45px;
        height: 45px;
    }
    .event-gallery-image-play, .event-gallery-image-play img{
        width: 45px;
        height: 45px;
    }
    #play-button01,#play-button02{
        top: 47%;
    }
	#play-button{
		display:none;
	}
	#Partners{
	padding-bottom:20px;
}
.event-gallery-title-more{
	font-size:14px;
}
.event-gallery-title .event-gallery-title-data{
	
	font-size:14px;
}
#play-button01{
	display:none;
}
}