section.event{
	padding: 30px 0 80px;
}
.event .detail-title{
	font-size: 20px;
	letter-spacing: -1px;
	margin-bottom: 20px;
	font-weight: 500;
}


.event .tab-title {
    position: relative;
    font-size: 0;
    width: auto;
    height: 40px;
    background: #fff;
    box-sizing: border-box;
}
.event .tab-title ul {
    width: 100%;
    height: 100%;
    position: relative;
    border-right: 0.5px solid #D2D2D2;
}
.event .tab-title ul li {
    width: 50%;
    height: 100%;
    border-color: #D2D2D2;
    border-style: solid;
    border-width: 0.5px 0 0.5px 0.5px;
    background: transparent;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}
.event .tab-title ul li a {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width:100%;
	height: 100%;
	font-size: 14px;
	letter-spacing:-0.4px;
	color: #767676;
	cursor: pointer;
}
.event .tab-title ul li.active{
	border-bottom: 0;
	position: relative;
}
.event .tab-title ul li.active a{
	color: var(--main-color)!important;
	font-weight: 500;
}
.event .tab-title ul li.active::after{
	position: absolute;
	content: "";
	z-index: 3;
	top: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--main-color);
}

.event .tab-inner {
	position: relative;
	width: 100%;
	height: auto;
	z-index: 3;
}

.event .tab-cont .tab-box {
	display: none;
	position: relative;
	width: 100%;
	padding-top: 10px;
	height: auto;
	z-index: 3;
}
.event .tab-cont .tab-box.active {
	display: block;
}

.event .table-header {
	padding: 12px 0 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	color: #000;
	font-weight: 500;
}
.event .table-header div.total{
	font-size: 12px;
	font-weight: 400;
	color: #000;
}
.event .table-header .form-control-line{
	line-height: 15px;
	height: 15px;
	padding-right: 13px;
	border: 0;
}

@media (min-width:1160px) {
	section.event{
		padding: 50px 0!important;
	}
	.event .detail-title{
		font-size: 30px;
		letter-spacing: -0.75px;
		margin-bottom: 30px;
		font-weight: 600;
		display: flex !important;
		align-items: flex-end;
	}
	.event .detail-title h1{
		padding: 0 20px; font-size: 20px; font-weight:300;
	}

	.event .tab-title {
		width: auto;
		height: 60px;
	}
	.event .tab-title ul li {
		font-weight: 500;
	}
	.event .tab-title ul li a {
		font-size: 18px;
		letter-spacing:-0.54px;
	}
	.event .tab-cont .tab-box {
		padding-top: 14px;
	}
	.event .table-header {
		padding:20px 0;
	}
	.event .table-header div.total{
		font-size: 16px;
		color: #000;
		font-weight: 500;
	}

	.event .table-header .form-control-line{
		line-height: 25px;
		height: 25px;
	}
}

.event .grid,.event .grid-2 {
	margin-top: 0;
	align-items: stretch;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows:auto;
	gap: 12px;
	box-sizing: border-box;
}
.event .grid-item {
	width: auto;
	padding: 0;
	cursor: pointer;
	position: relative;
}
.event .item-sm{
	display: flex;
	align-items: left;
	flex-direction: column;
	border: 0.5px solid #e6e6e6;
	padding: 0;
	width:auto;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
	background-color: #fff;
	position: relative;
	cursor:pointer;
}
.event .item-sm .item-img {
	position: relative;
	width: 100%;
	height: 225px;
}
/* Issue_6 : <picture>(WebP+PNG 폴백) 로 감싼 썸네일도 img 의 height:100% 가 유지되도록 */
.event .item-sm .item-img picture{
	display: block;
	width: 100%;
	height: 100%;
}
.event .item-sm .item-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.event .item-info{
    width: 100%;
    text-align: left;
    padding:15px 20px;
    color: #000;
}
.event .item-info strong, .event .item-info h2{
	font-weight: 500;
	font-size: 16px;
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap:break-word;
	min-height:38px;
	height:auto;
	line-height: 1.2;
	width: 100%;
	letter-spacing: -0.4px;
}
.event .item-info .period{
    font-size: 13px;
    font-weight: 300;
    letter-spacing: -0.33px;
    line-height: 1;
}
.event .grid-2{
	padding-top: 12px;
}
@media (min-width:1160px) {
    .event .grid-2{
        padding-top: 50px;
    }
    .event .grid, .event .grid-2 {
        margin-top: 0;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows:auto;
        gap: 28px 26px;
        box-sizing: border-box;
    }
    .event .item-sm{
        border: 1px solid #E6E6E6;
    }
    .event .item-sm .item-img {
        height: 239px;
    }
    .event .item-info{
        padding: 12px 30px;
    }
    .event .item-info strong, .event .item-info h2{
			font-weight: 500;
			font-size: 20px;
			height: auto;
			min-height:48px;
			letter-spacing: -0.5px;
			margin: 10px 0;
    }
    .event .item-info .period{
        font-size: 14px;
        font-weight: 400;
    }
}

.event .event-end .item-sm::after{
	position: absolute;
	content: "";
	background: rgba(0,0,0,0.15);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
}
.event .event-end .done{
	position: absolute;
	top: 77px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	width: 70px;
	height: 70px;
	background: rgba(0,0,0,0.8);
	text-align: center;
	padding-top: 28px;
	color: #fff;
	font-size: 15px;
}

@media (min-width:1160px) {
	.hv-header .sub-gnb.on .menu ul li.d2:nth-child(4){ color: #ed174d; }
	.event .event-end .done{
		top: 92px;
		padding-top: 40px;
		font-size: 22px;
		width: 100px;
		height: 100px;
	}
}



