@charset "utf-8";
/* ============================================================
 * notice.css — 공지사항 페이지 (17-공지사항 / 17-01-공지사항-상세)
 * 검색폼, 페이지네이션, 정보바, 상세페이지 스타일
 * ============================================================ */

/* ===============================================================
   17-공지사항.html (리스트 페이지)
   =============================================================== */
	/* ===== 검색폼 컨테이너 ===== */

	#bbsWrap #search {

		padding: 2rem;

		margin-bottom: 3rem;

		background-color: #f7f6f2;

		border-radius: 0.8rem;

		border: 0.1rem solid rgba(0, 0, 0, 0.08);

		box-sizing: border-box;

	}

	#bbsWrap #search .flex {

		display: flex;

		flex-wrap: nowrap;

		align-items: center;

		justify-content: center;

		gap: 0.8rem;

		max-width: 72rem;

		min-width: 0;

		margin: 0 auto;

	}

	/* ===== 항목 공통 높이 4.4rem (Kendo 내부 요소 포함 강제 통일) ===== */

	#bbsWrap #search .flex > * {

		height: 4.4rem !important;

		box-sizing: border-box;

		margin: 0;

		vertical-align: middle;

	}

	/* 셀렉트(콤보박스) — 고정 16rem + 내부 높이 4.4rem 통일 */

	#bbsWrap #search .flex .k-combobox,

	#bbsWrap #search .flex span.k-widget.k-combobox {

		flex: 0 0 16rem;

		width: 16rem !important;

		min-width: 16rem;

	}

	#bbsWrap #search .flex .k-combobox .k-dropdown-wrap,

	#bbsWrap #search .flex .k-combobox .k-picker-wrap {

		height: 4.4rem !important;

		display: flex;

		align-items: stretch;

		background-color: #fff;

		border-radius: 0.4rem;

		overflow: hidden;

	}

	#bbsWrap #search .flex .k-combobox .k-input,

	#bbsWrap #search .flex .k-combobox input.k-input {

		height: 4.4rem !important;

		line-height: 4.4rem;

		font-size: 1.5rem;

		padding: 0 1rem;

		background-color: #fff;

		border: 0;

		box-sizing: border-box;

		flex: 1 1 auto;

	}

	#bbsWrap #search .flex .k-combobox .k-select {

		height: 4.4rem !important;

		width: 3.6rem;

		flex: 0 0 3.6rem;

		display: flex;

		align-items: center;

		justify-content: center;

	}

	#bbsWrap #search .flex .k-combobox .k-select .k-icon {

		font-size: 1.4rem;

		line-height: 1;

	}

	/* 검색어 입력 — 남는 공간 모두 차지, 높이 4.4rem 강제 */

	#bbsWrap #search .flex .searchInput,

	#bbsWrap #search .flex input.k-textbox.searchInput {

		flex: 1 1 auto;

		width: auto;

		min-width: 0;

		height: 4.4rem !important;

		padding: 0 1.2rem;

		font-size: 1.5rem;

		line-height: 4.4rem;

		border: 0.1rem solid rgba(0, 0, 0, 0.15);

		border-radius: 0.4rem;

		background-color: #fff;

		box-sizing: border-box;

	}

	#bbsWrap #search .flex .searchInput:focus {

		outline: none;

		border-color: #224e42;

	}

	/* 검색 버튼 — 4.4 × 4.4 정사각 */

	#bbsWrap #search .flex .ui.button.grey {

		flex: 0 0 4.4rem;

		width: 4.4rem !important;

		height: 4.4rem !important;

		min-height: 4.4rem;

		padding: 0;

		display: inline-flex;

		align-items: center;

		justify-content: center;

		background-color: #224e42;

		color: #fff;

		border-radius: 0.4rem;

		border: 0;

		cursor: pointer;

		line-height: 1;

	}

	#bbsWrap #search .flex .ui.button.grey:hover {

		background-color: #16382f;

	}

	#bbsWrap #search .flex .ui.button.grey .icon {

		margin: 0;

		font-size: 1.6rem;

		line-height: 1;

	}

	/* ===== 모바일 (~767px): 세로 스택, 셀렉트는 100%, 입력+버튼은 한 줄 ===== */

	/* ===== 리스트 상단 정보바 (totalNum + 목록수 선택) ===== */

	#bbsList .listInfoBar {

		display: flex;

		flex-wrap: wrap;

		align-items: center;

		justify-content: space-between;

		gap: 1rem;

		margin-bottom: 1.2rem;

	}

	#bbsList .listInfoBar .totalNum {

		margin: 0;

		font-size: 1.5rem;

		color: #555;

	}

	#bbsList .listInfoBar .totalNum strong {

		color: #224e42;

		font-weight: 700;

	}

	#bbsList .listInfoBar .perPageBox {

		display: inline-flex;

		align-items: center;

		gap: 0.6rem;

	}

	#bbsList .listInfoBar .perPageBox label {

		font-size: 1.4rem;

		color: #555;

		font-weight: 600;

	}

	#bbsList .listInfoBar #perPageSel,

	#bbsList .listInfoBar span.k-widget.k-combobox[aria-owns*="perPageSel"],

	#bbsList .listInfoBar .perPageBox .k-combobox {

		width: 11rem !important;

		min-width: 11rem;

	}

	#bbsList .listInfoBar .perPageBox .k-combobox .k-dropdown-wrap,

	#bbsList .listInfoBar .perPageBox .k-combobox .k-picker-wrap {

		height: 3.6rem !important;

		display: flex;

		align-items: stretch;

		background-color: #fff;

		border-radius: 0.4rem;

		overflow: hidden;

	}

	#bbsList .listInfoBar .perPageBox .k-combobox .k-input {

		height: 3.6rem !important;

		line-height: 3.6rem;

		font-size: 1.4rem;

		padding: 0 0.8rem;

	}

	#bbsList .listInfoBar .perPageBox .k-combobox .k-select {

		height: 3.6rem !important;

		width: 3rem;

		flex: 0 0 3rem;

	}

	/* ===== 검색결과 매칭 하이라이트 ===== */

	#bbsList tbody .list-item .hi {

		background-color: #fff5b1;

		color: #224e42;

		font-weight: 700;

		padding: 0 0.1rem;

		border-radius: 0.2rem;

	}

	/* ===== 빈 결과 메시지 ===== */

	#bbsList .emptyMsg {

		display: none;

		margin: 2rem 0 0;

		padding: 4rem 2rem;

		text-align: center;

		font-size: 1.5rem;

		color: #888;

		background-color: #fafaf7;

		border: 0.1rem dashed rgba(0, 0, 0, 0.15);

		border-radius: 0.8rem;

	}

	#bbsList .emptyMsg .icon {

		display: block;

		font-size: 3.2rem;

		color: #c5c2b3;

		margin-bottom: 1rem;

	}

	#bbsList .emptyMsg .msgTxt {

		display: block;

		margin-bottom: 1.6rem;

		color: #555;

	}

	#bbsList .emptyMsg .resetBtn {

		padding: 0.8rem 1.6rem;

		font-size: 1.3rem;

		background-color: #224e42;

		color: #fff;

		border: 0;

		border-radius: 0.4rem;

		cursor: pointer;

	}

	#bbsList .emptyMsg .resetBtn:hover { background-color: #16382f; }

	/* ===== 페이지네이션 - 모던 카드 스타일 ===== */

	#list-pagination.pagination-wrapper {

		margin-top: 4rem;

		text-align: center;

	}

	#list-pagination ul {

		display: inline-flex;

		flex-wrap: wrap;

		justify-content: center;

		align-items: center;

		gap: 0.4rem;

		padding: 0;

		margin: 0;

		list-style: none;

	}

	#list-pagination li {

		float: none !important;

		display: inline-block;

		margin: 0 !important;

	}

	#list-pagination li a {

		float: none !important;

		display: inline-flex;

		align-items: center;

		justify-content: center;

		min-width: 4rem;

		height: 4rem;

		padding: 0 1.2rem;

		font-size: 1.4rem;

		font-weight: 600;

		color: #555;

		background-color: #fff;

		border: 0.1rem solid rgba(0, 0, 0, 0.12) !important;

		border-radius: 0.6rem;

		text-decoration: none;

		line-height: 1;

		box-sizing: border-box;

		transition: all 0.18s ease;

		cursor: pointer;

	}

	#list-pagination li a:hover {

		color: #224e42;

		border-color: #224e42 !important;

		background-color: #f7f6f2;

		transform: translateY(-1px);

		box-shadow: 0 0.2rem 0.6rem rgba(34, 78, 66, 0.12);

	}

	#list-pagination li a.active {

		color: #fff !important;

		background-color: #224e42 !important;

		border-color: #224e42 !important;

		box-shadow: 0 0.3rem 0.8rem rgba(34, 78, 66, 0.28);

		cursor: default;

	}

	#list-pagination li a.active:hover {

		transform: none;

	}

	#list-pagination li.liTxt a,

	#list-pagination li a.navBtn {

		min-width: 4rem;

		padding: 0 1rem;

		font-size: 1.6rem;

		color: #888;

	}

	#list-pagination li a.navBtn .icon {

		margin: 0;

		font-size: 1.4rem;

		line-height: 1;

	}

	#list-pagination li a.navBtn.disabled {

		opacity: 0.35;

		cursor: not-allowed;

		pointer-events: none;

	}

	/* 모바일 (~767px) — 페이지네이션 컴팩트 + 정보바 세로 정렬 */

/* ===============================================================
   17-01-공지사항-상세.html (상세 페이지)
   =============================================================== */
	/* 제목 폰트 크게 (bbs.css 기본 대비 1.5배) */

	#bbsView .titZone h2 {

		font-size: 3rem;

		line-height: 1.35;

		margin-bottom: 1.4rem;

	}

	/* 주소복사: URL 텍스트와 [주소복사] 버튼 사이 간격 */

	#bbsView .bbsBox .flex {

		display: flex;

		flex-wrap: wrap;

		align-items: center;

		gap: 1.2rem;

	}

	#bbsView .bbsBox .urlAddr {

		flex: 1 1 auto;

		min-width: 0;

		padding: 0.8rem 0;

		font-size: 1.5rem;

		word-break: break-all;

	}

	#bbsView .bbsBox .ui.button.grey {

		flex: 0 0 auto;

		padding: 0.9rem 1.6rem;

	}

	#bbsView .bbsBox .ui.button.grey .icon {

		margin: 0 0.4rem 0 0;

	}

	/* documentInfo 아이콘 절대 노출 차단 (혹시 외부 CSS에서 들어와도) */

	#bbsView .titZone .documentInfo .item .icon { display: none !important; }

	/* documentInfo 가운데 정렬 */

	#bbsView .titZone .documentInfo {

		display: flex;

		flex-wrap: wrap;

		justify-content: center;

		align-items: center;

	}

	/* shortList 다음글/이전글 한 줄 정렬 */

	#bbsView .shortList dl.flex-first {

		display: flex;

		align-items: center;

		flex-wrap: nowrap;

		gap: 1rem;

		margin: 0;

	}

	#bbsView .shortList dl.flex-first dt {

		flex: 0 0 auto;

		margin: 0;

		white-space: nowrap;

	}

	#bbsView .shortList dl.flex-first dd {

		flex: 1 1 auto;

		margin: 0;

		min-width: 0;

		overflow: hidden;

		text-overflow: ellipsis;

		white-space: nowrap;

	}

	/* ===============================================================
	   17-02-공지사항-쓰기.html (입력·수정 페이지)
	   =============================================================== */

	/* ─ Kendo Editor (글내용 위지윅) ─ */
	#bbsInput .k-editor {
		height: 36rem;
		font-size: 1.5rem;
	}
	#bbsInput .k-editor .k-editable-area iframe { min-height: 28rem; }

	/* Editor 툴바 - 아이콘 정렬 + 높이 통일 */
	#bbsInput .k-editor .k-toolbar.k-toolbar-resizable,
	#bbsInput .k-editor .k-editor-toolbar {
		flex-wrap: wrap;
		align-items: center;
		gap: 0.2rem;
		padding: 0.4rem 0.6rem;
		min-height: 4.2rem;
		background-color: #fafaf7;
		border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
	}
	#bbsInput .k-editor .k-toolbar > *,
	#bbsInput .k-editor .k-editor-toolbar > * {
		margin: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		vertical-align: middle;
	}
	#bbsInput .k-editor .k-toolbar .k-button,
	#bbsInput .k-editor .k-editor-toolbar .k-button {
		min-width: 3.2rem;
		height: 3.2rem;
		padding: 0 0.4rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}
	#bbsInput .k-editor .k-toolbar .k-button .k-icon,
	#bbsInput .k-editor .k-editor-toolbar .k-button .k-icon {
		font-size: 1.6rem;
		line-height: 1;
		margin: 0;
	}
	#bbsInput .k-editor .k-toolbar .k-combobox,
	#bbsInput .k-editor .k-toolbar .k-dropdown,
	#bbsInput .k-editor .k-toolbar .k-input {
		height: 3.2rem;
		font-size: 1.4rem;
	}
	#bbsInput .k-editor .k-toolbar .k-separator,
	#bbsInput .k-editor .k-editor-toolbar .k-separator {
		height: 2.4rem;
		align-self: center;
		margin: 0 0.3rem;
	}

	/* ─ DatePicker / DateTimePicker — 글자 크기 + 높이 (input과 동일 4rem) ─ */
	#bbsInput .k-datepicker,
	#bbsInput .k-datetimepicker {
		height: 4rem;
	}
	#bbsInput .k-datepicker { width: 22rem; }
	#bbsInput .k-datetimepicker { width: 26rem; }

	#bbsInput .k-datepicker .k-picker-wrap,
	#bbsInput .k-datetimepicker .k-picker-wrap {
		height: 4rem !important;
		display: flex;
		align-items: stretch;
		background-color: #fff;
	}
	#bbsInput .k-datepicker .k-input,
	#bbsInput .k-datepicker .k-input-inner,
	#bbsInput .k-datetimepicker .k-input,
	#bbsInput .k-datetimepicker .k-input-inner {
		height: 4rem !important;
		line-height: 4rem;
		font-size: 1.6rem;
		padding: 0 1rem;
		box-sizing: border-box;
	}
	#bbsInput .k-datepicker .k-select,
	#bbsInput .k-datetimepicker .k-select {
		height: 4rem !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#bbsInput .k-datepicker .k-select .k-icon,
	#bbsInput .k-datetimepicker .k-select .k-icon {
		font-size: 1.5rem;
	}

	/* ─ 일반 input/textarea도 동일 4rem 기준 ─ */
	#bbsInput input.k-textbox,
	#bbsInput input[type="text"].k-textbox,
	#bbsInput input[type="password"].k-textbox,
	#bbsInput input[type="email"].k-textbox {
		height: 4rem;
		font-size: 1.5rem;
		padding: 0 1rem;
		box-sizing: border-box;
	}

	/* ─ 유튜브 정보 영역 ─ */
	#bbsInput #videoInfo1 .yt-info-thumb,
	#bbsInput #videoInfo2 .yt-info-embed,
	#bbsInput #videoInfo3 .yt-info-duration {
		padding: 0.6rem 0;
	}

	/* ─ 유튜브 정보가져오기 버튼 ─ */
	#bbsInput .ui.youtube.button {
		background-color: #c4302b;
		color: #fff;
		padding: 1rem 1.6rem;
		font-size: 1.4rem;
		border-radius: 0.4rem;
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		cursor: pointer;
		border: 0;
	}
	#bbsInput .ui.youtube.button:hover { background-color: #9a2521; }
	#bbsInput .ui.youtube.button .icon { margin: 0; }

	/* ===============================================================
	   Kendo Editor — Insert Image 다이얼로그 (텍스트 잘림 수정만)
	   Kendo 기본 레이아웃은 유지하고, 한글 라벨이 잘리는 부분만 보정
	   =============================================================== */
	.k-window.k-imagebrowser-dialog .k-upload-button,
	.k-window.k-editor-dialog .k-upload-button {
		min-width: 12rem;
		white-space: nowrap;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.k-window.k-imagebrowser-dialog .k-button,
	.k-window.k-editor-dialog .k-button {
		white-space: nowrap;
	}
	.k-window.k-imagebrowser-dialog .k-toolbar .k-button,
	.k-window.k-editor-dialog .k-toolbar .k-button {
		padding-left: 0.8rem;
		padding-right: 0.8rem;
	}


	/* ===============================================================
	   갤러리 / 동영상 게시판 — 그리드 카드 (19-/20-*)
	   =============================================================== */
	#bbsList .gallery-item {
		margin: 0;
		background: #fff;
		border: 0.1rem solid rgba(0, 0, 0, 0.08);
		border-radius: 0.8rem;
		overflow: hidden;
		transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	}
	#bbsList .gallery-item:hover {
		transform: translateY(-0.3rem);
		box-shadow: 0 0.8rem 2rem rgba(34, 78, 66, 0.12);
		border-color: rgba(34, 78, 66, 0.25);
	}
	#bbsList .gallery-item .img {
		position: relative;
		width: 100%;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		background-color: #f5f3eb;
		margin: 0;
	}
	#bbsList .gallery-item .img a {
		display: block;
		width: 100%;
		height: 100%;
	}
	#bbsList .gallery-item .img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		transition: transform 0.25s ease;
	}
	#bbsList .gallery-item:hover .img img {
		transform: scale(1.04);
	}
	#bbsList .gallery-item .img .time {
		position: absolute;
		right: 0.8rem;
		bottom: 0.8rem;
		padding: 0.3rem 0.7rem;
		background-color: rgba(0, 0, 0, 0.75);
		color: #fff;
		font-size: 1.2rem;
		font-weight: 600;
		border-radius: 0.3rem;
		z-index: 2;
	}
	#bbsList .gallery-item .con {
		margin: 0;
		padding: 1.4rem 1.6rem;
	}
	#bbsList .gallery-item .con h6 {
		margin: 0 0 0.6rem;
		font-size: 1.55rem;
		line-height: 1.45;
		font-weight: 700;
		color: #224e42;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: keep-all;
	}
	#bbsList .gallery-item .con h6 a {
		color: inherit;
		text-decoration: none;
	}
	#bbsList .gallery-item .con h6 a:hover {
		color: #16382f;
		text-decoration: underline;
	}
	#bbsList .gallery-item .con p {
		margin: 0;
		font-size: 1.3rem;
		color: #888;
		line-height: 1.5;
	}


	/* ===============================================================
	   상세페이지 미디어 영역 — 갤러리 이미지 / 동영상 유튜브 임베드
	   =============================================================== */
	#bbsView .bbsCon .mediaWrap {
		margin: 0 auto 3rem;
		max-width: 96rem;
		text-align: center;
	}
	#bbsView .bbsCon .mediaWrap.galleryMedia img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
		border-radius: 0.6rem;
		box-shadow: 0 0.5rem 1.6rem rgba(0, 0, 0, 0.12);
	}
	#bbsView .bbsCon .mediaWrap.videoMedia {
		position: relative;
		width: 100%;
		max-width: 96rem;
		aspect-ratio: 16 / 9;
		background-color: #000;
		border-radius: 0.6rem;
		overflow: hidden;
		box-shadow: 0 0.5rem 1.6rem rgba(0, 0, 0, 0.18);
	}
	#bbsView .bbsCon .mediaWrap.videoMedia iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 0;
	}


/* ===============================================================
   @media (max-width: 1459px) — 노트북/소형 데스크탑
   =============================================================== */
@media only screen and (max-width: 1459px) {
	#bbsList .gallery.flex-first.four {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* ===============================================================
   @media (max-width: 1300px) — 태블릿 가로/소형 노트북
   =============================================================== */
@media only screen and (max-width: 1300px) {
	#bbsList .gallery.flex-first.three,
	#bbsList .gallery.flex-first.four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#bbsList .gallery-item .con h6 { font-size: 1.45rem; }
}


/* ===============================================================
   @media (max-width: 767px) — 모바일
   =============================================================== */
@media only screen and (max-width: 767px) {


		#bbsWrap #search {

			padding: 1.4rem;

			margin-bottom: 2rem;

			border-radius: 0.6rem;

		}

		#bbsWrap #search .flex {

			flex-wrap: wrap;

			gap: 0.6rem;

			max-width: none;

		}

		/* 모바일도 모든 항목 동일 4.4rem 유지 */

		#bbsWrap #search .flex > * {

			height: 4.4rem !important;

		}

		#bbsWrap #search .flex .k-combobox,

		#bbsWrap #search .flex span.k-widget.k-combobox {

			flex: 1 1 100%;

			width: 100% !important;

			min-width: 0;

		}

		#bbsWrap #search .flex .searchInput {

			flex: 1 1 auto;

			width: calc(100% - 5rem);

		}

		#bbsWrap #search .flex .ui.button.grey {

			flex: 0 0 4.4rem;

			width: 4.4rem !important;

		}

	


		#bbsList .listInfoBar {

			gap: 0.8rem;

			align-items: stretch;

		}

		#bbsList .listInfoBar .totalNum { font-size: 1.4rem; }

		#bbsList .listInfoBar .perPageBox { justify-content: flex-end; }

		#bbsList .listInfoBar #perPageSel,

		#bbsList .listInfoBar .perPageBox .k-combobox {

			width: 10rem !important;

			min-width: 10rem;

		}



		#list-pagination.pagination-wrapper {

			margin-top: 2.4rem;

		}

		#list-pagination ul { gap: 0.3rem; }

		#list-pagination li a {

			min-width: 3.4rem;

			height: 3.4rem;

			padding: 0 0.8rem;

			font-size: 1.3rem;

			border-radius: 0.5rem;

		}

		#list-pagination li.liTxt a,

		#list-pagination li a.navBtn {

			min-width: 3.4rem;

			padding: 0 0.8rem;

			font-size: 1.4rem;

		}

	


		#bbsView .titZone h2 { font-size: 2.2rem; }

		#bbsView .bbsBox .flex { gap: 0.8rem; }

		#bbsView .bbsBox .urlAddr { flex: 1 1 100%; font-size: 1.4rem; }

		#bbsView .bbsBox .ui.button.grey { flex: 1 1 100%; justify-content: center; }

	

		#bbsInput .k-datepicker,
		#bbsInput .k-datetimepicker { width: 100%; }
		#bbsInput .k-editor { height: 28rem; }
		#bbsInput .k-editor .k-toolbar .k-button { min-width: 2.8rem; height: 2.8rem; }
		#bbsInput .k-editor .k-toolbar .k-button .k-icon { font-size: 1.4rem; }

	/* 갤러리/동영상 — 모바일 1열 */
	#bbsList .gallery.flex-first.three,
	#bbsList .gallery.flex-first.four,
	#bbsList .gallery.flex-first.five {
		grid-template-columns: 1fr;
		gap: 1.6rem 0;
	}
	#bbsList .gallery-item .img { aspect-ratio: 16 / 10; }
	#bbsList .gallery-item .con { padding: 1.2rem 1.4rem; }
	#bbsList .gallery-item .con h6 { font-size: 1.4rem; -webkit-line-clamp: 3; }
	#bbsList .gallery-item .con p { font-size: 1.2rem; }
}
