@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Emoji&display=swap');

body{
	font-family: 'Pretendard GOV','Noto Emoji', sans-serif;
}

.program-list,.program-write{
	width:100%;
	margin: 100px auto
}

.program-write__wrap{
	max-width: 1080px;
	display: flex;
	flex-direction: column;
	row-gap:40px;
}

.prgr-write__label{
	display: block;
	margin-bottom: 8px
}

.prgr-write__label::after{
	content: '*';
	margin-left: 4px;
	color:var(--color-error);
}

.prgr-write__deadline-label-sub{
	display: block;
	color: var(--color-gray-60);
	margin: 4px 0 0 4px
}

.prgr-write__deadline-input{
	max-width: 200px
}

.prgr-write__btn{
	display: flex;
	justify-content: center;
	column-gap: 20px;
	margin-top: 40px
}

.ui-datepicker{
	width:300px;
	font-size: max(1.5rem, min(2vw, 1.6rem));
	line-height: calc(max(1.5rem, min(2vw, 1.6rem)) + 6px);
	letter-spacing: -0.02em
}

.ui-datepicker-calendar tr{
	display: grid;
	grid-template-columns: repeat(7, 1fr)
}

.ui-state-default{
	height:30px
}

.ui-datepicker td span, .ui-datepicker td a{
	text-align: center
}

.prgr-write__thumb input[type="file"]::file-selector-button{
	height: 24px;
	font-size: 1.3rem;
	line-height: 1.6rem;
	text-align: center;
	margin:16px 8px 16px 0;
	float: left;
}

.prgr-write__thumb input[type="file"]{
	line-height: 56px
}



.program-list__banner{
	width:100%;
	max-width: var(--width-default);
	margin:0 auto;
	margin-bottom: 80px;
	padding:80px 0;
	box-sizing: border-box;
	border-radius: 12px;
	background: url(bg_03.png) no-repeat center/cover;
}

.program-list__title{
	margin-bottom: 8px;
	text-align: center;
	color: var(--color-gray-00);
	padding: 0 20px;
	word-break: keep-all;
	box-sizing: border-box
}

.program-list__breadcrumb{
	display: flex;
	justify-content: center;
	column-gap: 12px;
	margin-bottom: 40px;
	color: var(--color-gray-40);
	padding: 0 20px;
	box-sizing: border-box
}

.program-list__link-wrap{
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box
}

.program-list__link-pc .program-list__link-btn{
	padding:4px;
	background-color: var(--color-gray-00);
	border-radius: 100px;
	box-sizing: border-box;
}

.program-list__link-pc .program-list__link-default a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	padding: 0 40px;
	box-sizing: border-box;
	transition: 0.3s;
	border-radius: 100px
}

.program-list__link-pc .program-list__link-default a:hover{
	background-color: var(--color-gray-10);
}

.program-list__link-pc .program-list__link-on a{
	background-color: var(--color-primary-70);
	color: var(--color-gray-00);
}

.program-list__link-pc .program-list__link-on a:hover{
	background-color: var(--color-primary-80);
	color: var(--color-gray-00);
}

.program-list__link-mo{
	display: none
}


.program-list__data{
	width:100%;
	max-width: var(--width-default);
	margin:0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 20px;
}

.program-list__total-color{
	color: var(--color-primary-70)
}

.program-list__search{
	position: relative;
	width: 100%;
	max-width: 400px;
	height: 48px;
	background-color: var(--color-gray-10);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: none
}

.program-list__search input[type="text"]{
	width:100%;
	height: 48px;
}

.program-list__search .btn_submit{
	position: absolute;
	top:50%;
	right: 12px;
	transform: translateY(-50%);
	background: url(../../../img/images/ico_search.svg) no-repeat center;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.program-list__grid{
	max-width: var(--width-default);
	margin:0 auto;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:40px;
}

.program-list__item{
	display: grid;
	grid-template-columns: 1fr 2fr;
	column-gap: 20px;
	width:100%;	
	height: 100%;
	padding:20px;
	box-sizing: border-box;
	box-shadow: inset 0 0 0 1px var(--color-gray-20);
	border-radius: 12px
}

.program-list__thumb{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 8px;
	overflow: hidden;

}

.program-list__thumb img{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.program-list__deadline{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 24px;
	margin-bottom: 4px;
	padding:0 8px;
	box-sizing: border-box;
	background-color: var(--color-primary-10);
	color: var(--color-primary-70);
	border-radius: 4px
}

.program-list__tit{
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	margin-bottom: 8px
}

.program-list__content{
	min-height: calc(calc(max(1.5rem, min(2vw, 1.6rem)) + 6px) * 2);
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 24px
}

.program-list__date{
	margin-bottom: 4px
}

.program-list__date,.program-list__place{
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	color: var(--color-gray-50)
}


.program-list__date-ico, .program-list__place-ico{
	margin-right: 8px
}

.program-list__date-ico::before{
	content: '접수기간';
	width:24px;
	height:24px;
	padding-left: 28px;
	background: url(../../../img/images/ico-date.svg) no-repeat center left;
}

.program-list__place-ico::before{
	content: '장소';
	width:24px;
	height:24px;
	padding-left: 28px;
	background: url(../../../img/images/ico-map.svg) no-repeat center left;
}

.program-list__place-ico{
	margin-right: 8px
}

.program-list__empty{
	position: relative;
	width:100%;
	height: 300px;
}

.program-list__empty span{
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
}

.program-list__edit{
	max-width: var(--width-default);
	margin:0 auto;
}

.program-list__write a{
	float:right;
	margin-top: 20px
}

.program-list__none-write{
	display: block;
	height: 36px
}

.program-list__page{
	display: flex;
	align-items: center;
	justify-content: center;
}

.program-list__page .pg{
	display: flex;
	column-gap: 12px
}

.pg_page, .pg_current{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width:40px;
	height:40px;
	border-radius: 100px;
}

.pg_page{
	background-color: var(--color-gray-00);
	transition: 0.3s
}

.pg_current{
	background-color: var(--color-primary-70);
	color: var(--color-gray-00)
}

.pg_page:hover{
	background-color: var(--color-gray-05)
}

.pg_prev{
	width:40px;
	height: 40px;
	background: url(../../../img/images/ico-prev.svg) no-repeat center;
}

.pg_next{
	width:40px;
	height: 40px;
	background: url(../../../img/images/ico-next.svg) no-repeat center;
}

.program-view__content{
	max-width: var(--width-default);
	margin:0 auto;
}

.program-view__deadline{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 24px;
	margin-bottom: 4px;
	padding:0 8px;
	box-sizing: border-box;
	background-color: var(--color-primary-10);
	color: var(--color-primary-70);
	border-radius: 4px
}

.program-view__content-top{
	margin-bottom: 40px;
}

.program-view__content-grid{
	position: relative;
	height:100%;
}

.program-view__content-left{
	width:calc(60% - 20px);
	float: left;
}

.program-view__content-right{
	position: sticky;
	top:0;
	width:calc(40% - 20px);
	float: right;
}

.program-view__content-thumb{
	position: relative;
	width: 100%;
	height: 0;
	margin-bottom: 24px;
	padding-bottom: 100%;
	border-radius: 8px;
	overflow: hidden
}

.program-view__content-thumb img{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.program-view__content-thumb-none{
	position: relative;
	width:100%;
	height: 0;
	padding-bottom: 100%;
	background-color: var(--color-gray-05)
}

.program-view__content-thumb-nonetxt{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: var(--color-gray-60)
}

.program-view__content-info{
	display: flex;
	flex-direction: column;
	row-gap:12px;
}

.program-view__content-wr{
	display: grid;
	grid-template-columns: 83px 1fr;
	align-items: start;
	gap:20px;
}

.program-view__ico{
	position: relative;
	padding-left: 28px;
}

.program-view__ico_2::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/images/ico-date.svg) no-repeat center left;
}

.program-view__ico_3::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/images/ico-date.svg) no-repeat center left;
}

.program-view__ico_4::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/images/ico-map.svg) no-repeat center left;
}

.program-view__ico_5::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/images/ico-people.svg) no-repeat center left;
}

.program-view__ico_6::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/images/ico-phone.svg) no-repeat center left;
}

.program-view__content-link a{
	margin-top: 40px;
	width:100%;
}

.program-view__content-link-ico{
	margin-left: 4px
}

.program-view__edit{
	display: flex;
	column-gap: 12px;
	margin-top: 40px
}

.program-view__content-text{
	word-break: break-all;
}

.program-view__content-text img{
	max-width: 100%
}

.program-view__content-text>p>span{
	all: unset
}

.program-view__content-text p b{
	font-weight: 700
}

.program-view__content-text p i{
	font-style: italic
}

.program-view__content-text p s{
	text-decoration: line-through
}

.program-view__content-text p u{
	text-decoration: underline
}

.program-view__content-text p a{
	text-decoration: underline	
}

.program-list__banner,
.program-list__data,
.program-list__grid,
.program-view__content-top,
.program-view__content-grid,
.program-list__empty{
	will-change: opacity, transform;
	opacity: 0;
	transform:translateY(40px);
	transition:1.5s ease-out
}

@media all and (max-width:1200px) {
	.program-list__grid{
		gap:20px;
	}
}

@media all and (max-width:1024px) {
	.program-list__grid{
		grid-template-columns: repeat(1,1fr);
	}

	.program-view__content-left{
		position: sticky;
		top:0;
		width:calc(50% - 20px);
		float: left;
	}

	.program-view__content-right{
		width:calc(50% - 20px);
		float: right;
	}

	.program-list__link-pc{
		display: none
	}

	.program-list__link-mo{
		position: relative;
		display: block;
		width:100%;
		max-width: 400px;
	}

	.program-list__link-bg{
		width:100%;
		height: 100%;
		background-color: transparent;
		position: fixed;
		top:0;
		left: 0;
		z-index: 5;
	}

	.program-list__link-mo .program-list__link-btn{
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 48px;
		background-color:;
		border-radius: 100px;
		cursor: pointer;
		z-index: 10;
		background: var(--color-gray-00) url(../../../img/images/ico_select_close.svg) no-repeat right 16px center;
	}

	.program-list__link-mo .program-list__link-btn.link-open{
		background: var(--color-gray-00) url(../../../img/images/ico_select_open.svg) no-repeat right 16px center;
	}

	.program-list__link-mo .program-list__link-ul{
		width:100%;
		max-width: 392px;
		position: absolute;
		top:56px;
		left:50%;
		transform: translateX(-50%);
		border-radius:24px;
		background-color: var(--color-gray-00);
		box-shadow: inset 0 0 0 1px var(--color-gray-10);
		overflow: hidden;
		z-index: 10;
	}

	.program-list__link-mo .program-list__link-li{
		display: block;
		width:100%;
		padding:4px;
		box-sizing: border-box
	}

	.program-list__link-mo .program-list__link-li a{
		display: flex;
		height: 48px;
		align-items: center;
		justify-content: center;
		border-radius: 100px;
		transition: 0.3s
	}

	.program-list__link-mo .program-list__link-li a:hover{
		background-color: var(--color-gray-10);
		color: var(--color-gray-90);
	}
}


@media all and (max-width:768px) {	

	.program-list__data{
		flex-direction: column;
		align-items: flex-start;
		gap:20px;
	}
	
	.program-view__content-left{
		position: static;
		top:0;
		width:100%;
		float: none;
		margin-top: 64px
	}

	.program-view__content-right{
		position: static;
		width:100%;
		float: none;
	}

}

@media all and (max-width:500px) {
	.program-list,.program-write{
		width:100%;
		margin: 80px auto
	}

	.program-list__banner{
		border-radius: 0
	}

	.program-list__banner-wrap.calc40{
		width: calc(100% - 0px);
		margin: 0 auto;
	}
}