/* ** 캘린더 상세내용 ** */
.fc .fc-toolbar-title{
	color: #1D1D1D;
	font-size: 25px;
	font-weight: 700;
}
.fc .fc-button-primary{
	background-color: transparent;
	border: none;
}
.fc .fc-button-primary:hover,
.fc .fc-button-primary:active,
.fc .fc-button-primary:focus{
	background-color: #fff;
}
.calView .fc .fc-button:hover,
.calView .fc .fc-button:focus-visible {
	background-color: #fff;
}
.calView .fc .fc-button .fc-icon {
	background-repeat: no-repeat;
	background-position: center;
}
.calView .fc .fc-button {
	background-color: #fff;
	border: 0;
	outline: none;
}
.calView .fc .fc-button .fc-icon-chevron-left {
	background-image: url(../images/sub/250528_ico_arrow_left.svg);
}
.calView .fc .fc-button:hover .fc-icon-chevron-left,
.calView .fc .fc-button:focus-visible .fc-icon-chevron-left {
	background-image: url(../images/sub/250528_ico_arrow_left.svg);
}
.calView .fc .fc-button .fc-icon-chevron-right {
	background-image: url(../images/sub/250528_ico_arrow_right.svg);
}
.calView .fc .fc-button:hover .fc-icon-chevron-right,
.calView .fc .fc-button:focus-visible .fc-icon-chevron-right {
	background-image: url(../images/sub/250528_ico_arrow_right.svg);
}
.calView .fc .fc-button .fc-icon::before {
	display: none;
}
.calDetailView .txt{
	color: #1d1d1d;
	font-size: 17px;
	font-weight: 400;
	text-align: right;
}
.cal_detailList{
	margin-top: 16px;
	width: 100%;
	height: 450px;
	position: relative;
}
.cal_detailList.guide{
	margin-bottom: 41px;
}
.cal_detailList .titBox{
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 12px 12px 0px 0px;
	background: #162B64;
	height: 42px;
}
.cal_detailList .titBox .tit_date{
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	position: relative;
}
.cal_detailList .titBox .tit_date::before{
	content: '';
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%) translateX(-100%);
	width: 19px;
	height: 19px;
	background-image: url(../images/sub/250528_calendar_ico.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.cal_detailList .cal_detailList_inr{
	border:solid 1px #D8D8D8;
	height: calc(100% - 42px);
	border-radius: 0px 0px 12px 12px;
}
.cal_detailList .detailList,
.cal_detailList .detailList_reservation{
	width: calc(100% - 49px);
	height: calc(100% - 24px);
	transform: translateY(12px);
	padding: 0px 12px 0px 24px;
	overflow-y: auto;
}
.cal_detailList .detailList::-webkit-scrollbar,
.cal_detailList .detailList_reservation::-webkit-scrollbar {
    width: 2px;
}
.cal_detailList .detailList::-webkit-scrollbar-thumb,
.cal_detailList .detailList_reservation::-webkit-scrollbar-thumb {
    background-color: #1C1C1C;
}
.cal_detailList .detailList::-webkit-scrollbar-track,
.cal_detailList .detailList_reservation::-webkit-scrollbar-track {
    background-color: #D4D4D4;
}
.cal_detailList .detailList li{
	padding: 16px 0px;
	border-bottom: 1px solid #D8D8D8;
	display: flex;
	align-items: center;
}
.cal_detailList .detailList li:first-child{
	padding-top: 4px;
}
.cal_detailList .detailList li .cal_time{
	display: inline-block;
	width: 54px;
	color: #1d1d1d;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-right: 33px;
	position: relative;
}
.cal_detailList .detailList li .cal_time::before{
	content: '';
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 16px;
	background-color: #D8D8D8;
}
.cal_detailList .detailList li .cal_cont{
	display: inline-block;
	width: calc(100% - 87px);
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/** 새로운 형태의 리스트 */
.cal_detailList .detailList li .cal_box {
    display: flex;
    gap: 6px;
    width: 100%;
}
.cal_detailList .detailList li .cal_box .main_ico {
    display: flex;
    width: 72px;
    height: 72px;
    padding: 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 10px;

    overflow: hidden;
    color: var(--ffffff, #FFF);
    text-align: center;
    text-overflow: ellipsis;
    font-family: "Pretendard";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.42px;
}
.cal_detailList .detailList li .cal_box .main_ico.type1 {
    background: #4075DF;
}
.cal_detailList .detailList li .cal_box .main_ico.type2 {
    background: #FF9861;
}
.cal_detailList .detailList li .cal_box .main_ico.type3 {
    background: #56C28C;
}
.cal_detailList .detailList li .cal_box .info_box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
}
.cal_detailList .detailList li .cal_box .info_box .title {
    color: var(--teal-1-d-1-d-1-d, #1D1D1D);

    font-family: "Pretendard";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.48px;
    padding-left: 4px;
}
.cal_detailList .detailList li .cal_box .info_box .detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.cal_detailList .detailList li .cal_box .info_box .detail .spot,
.cal_detailList .detailList li .cal_box .info_box .detail .date {
    display: flex;
    align-items: center;
    gap: 2px;
}
.cal_detailList .detailList li .cal_box .info_box .detail .spot span,
.cal_detailList .detailList li .cal_box .info_box .detail .date span {
    overflow: hidden;
    color: var(--555555, #555);
    text-overflow: ellipsis;
    
    font-family: "Pretendard";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.42px;
}
.cal_detailList .detailList li .cal_box .info_box .detail .spot span.ico {
    display: block;
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
    background-image: url(../images/sub/250528_cal_area_ico.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
}
.cal_detailList .detailList li .cal_box .info_box .detail .date span.ico {
    display: block;
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
    background-image: url(../images/sub/250528_cal_date_ico.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
}
/** 새로운 형태의 리스트 */

.cal_detailList .detailList .noEvent,
.table_calReservation tbody .noEvent p,
.cal_detailList .detailList_reservation .noEvent{
	color: #1D1D1D;
	font-size: 17px;
	font-weight: 400;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding-left: 24px;
	background-image: url(../images/sub/250528_ico_no_event.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 16px;
}
.cal_detailList .detailList_reservation .noEvent{
	width: 100%;
	text-align: center;
	background-image: none;
}
.cal_detailList .detailList_reservation .noEvent .ico{
	background-image: url(../images/sub/250528_ico_no_event.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin-right: 4px;
	transform: translateY(1px);
}
.cal_detailList .detailList_reservation:has(li) .noEvent{
	display: none;
}
.fc .fc-scrollgrid{
	width: 100%;
	height: 337px;
	border:solid 1px #D8D8D8;
	border-radius: 12px;
	overflow: hidden;
}
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{
	min-height: 0;
}
/* ** 캘린더 상세내용 ** */
.calendar_wrap{
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 24px;
	padding-bottom: 40px;
    margin-top: 50px;;
}
.calendar_wrap.facility_reservation{
	border-bottom:solid 1px #D8D8D8;
}
.calendar_wrap > div{
	flex: 1;
}
/* calendar : headerToolbar */
.fc-direction-ltr .fc-button-group{
	display: flex;
	align-items: center;
	gap: 8px;
}
.fc-direction-ltr .fc-button-group > .fc-button{
	border-radius: 0px !important;
}
.fc-direction-ltr .fc-button-group > .fc-button.fc-prev-button,
.fc-direction-ltr .fc-button-group > .fc-button.fc-next-button{
	padding: 0px;
}
.fc .fc-button-primary.fc-customSpacer-button,
.fc .fc-button-primary.fc-newButton-button{
	width: 118px;
	height: 40px;
	background-color: #fff;
	padding: 0;
	position: relative;
	border: none;
}
.fc-customSpacer-button .select,
.fc-newButton-button .select{
	width: 100%;
	height: 100%;
	padding: 8px 8px 8px 16px;
	z-index: 1;
}
.fc-customSpacer-button .select span,
.fc-newButton-button .select span{
	display: inline-block;
	line-height: 150%;
	padding-top: 2px;
}
.fc-customSpacer-button .select .selectbox > button:after,
.fc-newButton-button .select .selectbox > button:after{
	background-image: url(../images/sub/250528_calendar_date_button_ico.svg);
}
.fc-customSpacer-button .select .selectbox > button:has(+ .show):after,
.fc-newButton-button .select .selectbox > button:has(+ .show):after{
	transform: rotate(180deg);
}
.calView:has(.select .selectbox .option.show) .fc-view-harness.fc-view-harness-passive,
.calView:has(.select .selectbox .option.show) .fc-view-harness.fc-view-harness-passive{
	pointer-events : none;
	z-index: 0 !important;
}
.calView .select .selectbox{
	z-index: 1 !important;
}
.fc .fc-toolbar.fc-header-toolbar{
	margin-bottom: 16px;
}
.calView .select .selectbox .optionWrap{
	max-height: 266px;
}
.fc-theme-standard td.fc-day-sat,
.fc-theme-standard td.fc-day-sun{
	background-color: #F8F8F8;
	pointer-events: none;
}
.calView .fc td.fc-day-sun .fc-daygrid-day-number{
	color: #EA0000;
}
.calView .fc td.fc-day-sat .fc-daygrid-day-number{
	color: #0076CC;
}
/* calendar : headerToolbar */

/* calendar : 요일 */
.fc-theme-standard th .fc-scrollgrid-sync-inner{
	border-right: solid 1px #D8D8D8;
	background-color: #EFF1F5;
	padding: 8px 16px;
}
.fc-theme-standard th:last-child .fc-scrollgrid-sync-inner{
	border-right: none;
}
.fc .fc-col-header-cell-cushion{
	padding: 0;
	color: #1D1D1D;
	font-size: 15px;
	font-weight: 500;
}
/* calendar : 요일 */

/* calendar : 날짜 */
.calView .fc .fc-daygrid-day {
	overflow: hidden;
}
.calView .fc .fc-daygrid-day .fc-daygrid-day-frame {
	box-sizing: border-box;
	height: 67px;
	border:none;
	padding: 4px 8px 8px 8px;
}
.calView .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame{
	/* 오늘 날짜 색상 */
    background-color: #B3C8F2;
}
.fc .fc-cell-shaded, .fc .fc-day-disabled {
    /* 이전, 이후 달의 날짜 색상 */
    background: #fff;
}
.fc-theme-standard td.fc-day-sat, .fc-theme-standard td.fc-day-sun {
    /* 주말 날짜 색상 */
    background-color: #fff;
    pointer-events: none;
}
.calView .fc .fc-daygrid-day.on .fc-daygrid-day-frame {
    /* 선택 날짜 색상 */
	background-color: #D9E8FF;
}
.calView .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-top:after {
	content: '오늘';
	display: inline-block;
	color: #1D1D1D;
	font-size: 12px;
	font-weight: 400;
	line-height: 200%;
	margin-left: 4px;
}
.calView .fc .fc-daygrid-day:not(.on) .fc-daygrid-day-frame:hover{
    /* hover 날짜 색상 */
	background-color: #D9E8FF;
}
.calView .fc .fc-daygrid-day-top {
	flex-direction: initial;
}
.calView .fc .fc-daygrid-day-number {
	display: inline-block;
	padding: 0px;
	line-height: 23px;
    
    font-family: "Pretendard";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
.calView .fc .fc-daygrid-day-events {
	margin-top: 8px;
	margin-bottom: 0px;
	height: 24px;
}
.calView  .fc .fc-daygrid-day-frame {
	cursor: pointer;
}
.calView .fc .fc-event-count {
	position: absolute;
	background-color: #FFEDC2;
	font-size: 15px;
	color: #1D1D1D;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	bottom: 8px;
	right: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
}
a.fc-event ,
.fc-event-status,
.calView .fc .fc-daygrid-event-harness .koHolidays::before {
	display: none;
}
.fc-theme-standard th:last-child,
.fc-theme-standard td:last-child{
	border-right: none;
}
.fc-theme-standard tr:last-child td{
	border-bottom: none;
}
.tbl-wrap .tbl.data.table_cal tbody td .txt_date{
	color: #075D5D;
	font-size: 17px;
	font-weight: 700;
}
.tbl-wrap .tbl.data.table_cal tbody td:nth-child(2) p{
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	width: 100%;
}
.tbl-wrap .tbl.data.table_cal tbody td p{
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	width: 100%;
}
.tbl-wrap .tbl.data tbody td.no_event{
	padding: 60px 16px;
}
.tbl-wrap .tbl.data tbody td.no_event span{
	color: #1D1D1D;
	font-size: 17px;
	font-weight: 400;
	padding-left: 24px;
	background-image: url(../images/board/ico_no_event.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 16px;
}

@media screen and (max-width: 1024px) {
    .calendar_wrap {
        flex-direction: column;
        gap: 8px;
    }
    .calDetailView > .txt {
        margin-top: 14px;
    }
    .calendar_wrap > div {
        width: 100%;
    }
    .cal_detailList {
        height: 337px;
    }
}
@media screen and (max-width: 767px) {
	.calView .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-top:after {
	}
}
@media screen and (max-width: 470px) {
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 7px;
    }
    .calendar_wrap {
        margin-top: 30px;
    }
}

@media screen and (max-width: 425px) {
	.calView .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-top:after {
		font-size: 10px;
	}
	.calView .fc .fc-daygrid-day .fc-daygrid-day-top:after {
		font-size: 10px;
	}
	.calView .fc .fc-daygrid-day .fc-daygrid-day-frame {
		padding: 4px;
	}
    .cal_detailList .detailList li .cal_box .info_box .title {
        font-size: 14px;
    }
    .cal_detailList .detailList li .cal_box .info_box .detail .spot span,
    .cal_detailList .detailList li .cal_box .info_box .detail .date span {
        font-size: 12px;
    }
}
@media screen and (max-width: 375px) {
	.calView .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-top:after {
		display: none;
	}
}


/* select */
.select {
    position: relative;
    display: inline-flex;
    width: 104px; height: 40px;
}
.select select {
    position: absolute;
    top: 50%; left: 50%;
    width: 1px; height: 1px;
}
.select .selectbox {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.select:has(.show) {
    z-index: 2;
}
.select .selectbox > button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%; height: 100%;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #919191;
    text-align: left;
    padding-left: 12px;
}
.select .selectbox > button:after {
    content: "";
    display: block;
    width: 40px; height: 40px;
    min-width: 40px;
    background-image: url(img/icon_select-arrow-down.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.select .selectbox > button:has(+ .show):after {
    transform: rotate(180deg);
}
.select .selectbox > button > span {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space:nowrap;
}
.select .selectbox .option {
    display: none;
    position: absolute;
    bottom: -6px; left: 0;
    width: 100%; height: auto;
    border: 1px solid #919191;
    background: #fbfbfc;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    border-radius: 4px;
}
.select .selectbox .option.show {
    display: block;
    z-index: 1;
}
.select .selectbox .optionWrap {
    max-height: 166px;
    position: relative;
    overflow: auto;
}
.select .selectbox .option ul {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    background-color: rgba(0,0,0,0.8);
}
.select .selectbox .option ul::-webkit-scrollbar {
    width: 7px;
}

.select .selectbox .option ul::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #162B64;
    opacity: 0;
    background-clip: padding-box;
    border: 2px solid transparent;
}

.select .selectbox .option ul::-webkit-scrollbar-track {
    background: #fbfbfc;
}
.select .selectbox .option ul > li {
    width: 100%;
}
.select .selectbox .option ul > li button {
    width: 100%; height: 40px;
    display: block;
    text-align: left;
    background: #fff;
    padding: 0 12px;
    border-bottom: 1px solid #D2D2D2;
}
.select .selectbox .option ul > li.active button {
    background: #ECF4FE;
}
.select .selectbox .option ul > li button:hover,
.select .selectbox .option ul > li button:focus-visible {
    color: #1260C4;
}

@media screen and (max-width: 767px) {
    .tblTop {
        flex-wrap: wrap;
    }
    .tblTop  .tblinfo {
        order: 2;
        margin-top: 24px;
    }
    .tblTop .tblSearch {
        width: 100%;
        order: 1;
    }
    .tblTop .tblSearch .inputText {
        width: calc(100% - 112px);
    }
}

/* scroll 기능 추가 시 */
.select.scroll .selectbox .option {
    position: relative;
}
.select.scroll .selectbox .optionWrap::-webkit-scrollbar {
    display: none;
}
.select.scroll .scroll {
    position: absolute;
    top: 10px; right: 10px;
    width: 4px; height: calc(100% - 20px);
    z-index: 10;
    overflow: auto;
}
.select.scroll .scroll::-webkit-scrollbar {
    width: 2px;
}
.select.scroll .scroll::-webkit-scrollbar-thumb {
    background-color: #1C1C1C;
}
.select.scroll .scroll::-webkit-scrollbar-track {
    background-color: #D4D4D4;
}


/* select box */
.select {
	width: 93px; height: 43px;
}
.select .selectbox > button {
	padding: 12px !important;
	border-radius: 8px !important;
	border: 1px solid #D8D8D8 !important;
}
.select .selectbox > button:has(+ .show) {
	border-radius: 8px 8px 0 0;
}
.select .selectbox > button:after {
	min-width: 16px;
	width: 16px; height: 16px;
	background-image: url(../images/board/ico_select_down.svg);
}
.select .selectbox > button:has(+ .show):after {
    transform: rotate(180deg);
}
.select .selectbox .option {
	border-radius: 8px;
	bottom: 1px; left: 0;
	border-radius: 0 0 8px 8px;
	overflow: hidden;
	border: 1px solid #D8D8D8;
	background: #fff;
}
.select .selectbox .option ul > li.active button {
	background: #F8F8F8;
}
.select .selectbox .option ul > li button:hover,
.select .selectbox .option ul > li button:focus-visible {
	color: #1d1d1d;
	text-decoration: underline;
	text-underline-offset: 3px;
	outline-offset: -0.4rem;
}
.select.scroll .scroll {
	right: 8px;
}

.gh_sub .calendar_wrap .select .selectbox > button > span {
    font-size: 18px;
}
/* select box */