#bo_gall .bo_coupon .cp_name,
#bo_gall .gall_img .cp_name {
    width:100%;
    border-radius:0;
    text-align:center;
    height:40px;
    line-height:40px;
    padding:0;
    z-index:3;
    position:absolute;
    top:0;
    left:0;
    background:#dc3545;
    color:#fff;
    font-weight:700;
    font-size:16px;
    letter-spacing:-1.5px;
}

#bo_gall .gall_img {
    border:0 !important;
    height:214px !important;
    max-height:214px !important;
    position: relative;
    display:block;
    border-radius:10px 10px 0 0;
    overflow:hidden;
    background:#fff;
}

#bo_gall .gall_img img,
#bo_gall .gall_img video {
    max-height:100% !important;
    height:100% !important;
    width:100% !important;
    object-fit:cover !important;
}

#bo_gall .bo_coupon .evnet_title{
	font-weight: bold;
	text-align: center;
	padding: 10px 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size:18px; 
	letter-spacing: -1.5px;
}
#bo_gall .bo_coupon .evnet_title a:hover{
	color: crimson;
}

#bo_gall .gall_img .img-hover-cover {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
}

#bo_gall .gall_img .img-hover-cover > div {
    position: relative;
    height: 100%;
}

#bo_gall .gall_img .img-hover-cover > div > span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#bo_gall #gall_ul.gall_row > li.gall_li .img-hover-cover {
    display: none;
	background-color: rgba(219, 50, 50, 0.8);
}
#bo_gall #gall_ul.gall_row > li.gall_li.end .img-hover-cover {
	display: block;
    background-color: rgba(0, 0, 0, 0.8);
}

#bo_gall #gall_ul.gall_row > li.gall_li:hover .img-hover-cover {
    display: block;
}

#bo_gall #gall_ul.gall_row > li.gall_li.end .cp_name {
	background: #999;
}
#bo_gall #gall_ul.gall_row > li.gall_li.end .list-event-date span:first-child, 
#bo_gall #gall_ul.gall_row > li.gall_li.end .list-event-date span:last-child {
	    color: #999;
}

@media (min-width: 768px) {
    #bo_gall #gall_ul.gall_row {
        display: flex !important;
        flex-wrap: wrap !important;
        float: none !important;
    }
    #bo_gall #gall_ul.gall_row > li.gall_li {
        width: 33.33% !important;
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
        padding: 10px 6px !important;
        float: none !important;
        box-sizing: border-box !important;
    }
}

#bo_gall .list-event-info {
	padding: 5px 10px 10px;
}

#bo_gall .list-event-info .list-event-date {
	background: #f5f7fa;
	text-align: center;
	font-size: 15px;
	padding: 3px 0;
	border-radius: 5px;
}

#bo_gall .list-event-info .list-event-date span {
	display: inline-block;
	vertical-align: middle;
}

#bo_gall .list-event-info .list-event-date span.empty {
	display: inline-block !important;
	color: #666 !important;
}

#bo_gall .list-event-info .list-event-date span:first-child {
	color: #666;
}

#bo_gall .list-event-info .list-event-date span:last-child {
	color: #db3232;
	letter-spacing: -0.05rem;
}

#event_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden;}
#event_cate ul {zoom:1;text-align: left; margin:0; padding:0; list-style:none;}
#event_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#event_cate li {display:inline-block;padding:0px;text-align: left; }
#event_cate a {display:block;line-height:30px;padding:0px 10px;border-radius:0px;border:0px solid none;color:inherit; text-decoration:none;}

#event_cate {
	position: relative;
	margin-bottom: 16px;
}

#event_cate_list {
	flex-grow: 1 !important;
	overflow: hidden;
	padding-right:16px;
}

#event_cate:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: #db3232;
	z-index: 1;
}

#event_cate.sly-tab .d-flex {
	display: flex !important;
	border-left: 0;
}

#event_cate.sly-tab li a {
	padding: 10px 23px !important;
	background: transparent;
	font-size: 16px;
	font-weight: bold;
	transition: color .15s ease-in-out;
}

#event_cate.sly-tab li a:hover {
	color: #db3232;
}

#event_cate.sly-tab li a, #event_cate_prev_wrap, #event_cate_next_wrap {
	position: relative;
	border: 0;
}

#event_cate.sly-tab li a:after, #event_cate_prev_wrap:after, #event_cate_next_wrap:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 4px;
	left: 0;
	bottom: 0;
	background: #db3232;
	z-index: 2;
}

#event_cate.sly-tab li.active a {
	border-top: 4px solid #db3232;
	border-left: 4px solid #db3232;
	border-right: 4px solid #db3232;
	color: #db3232;
	background: #fff;
	border-radius: 8px 8px 0 0;
	padding-top: 6px !important;
}

#event_cate.sly-tab li.active a:after {
	background: #fff;
}

@media (max-width: 768px) {
	#event_cate.sly-tab li a {
		padding:10px 18px !important;
		font-size: 14px;
	}

    #bo_gall #gall_ul.gall_row > li.gall_li {
        width: 50% !important;
        max-width: 50% !important;
        float: left !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }
}
