*{ box-sizing: border-box; }
figure{ display: inline-block; margin: 0; }
select::-ms-expand { display: none; }
select { 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
	outline: none;
}
input{ outline: none; border: none; }
input[type="submit"],input[type="button"], input[type="file"],
input[type="text"], button { appearance: none; -moz-appearance: none; -webkit-appearance: none; border-radius: 0;-webkit-border-radius: 0; -moz-border-radius: 0; }
input[type="checkbox"]{ padding: 0 !important; }


/* paging 변수 */
.paging{ --pagingNumC : #333; --pagingArrowC: #666; --aSize: 30px; --pagingMarTop: 90px; }

.paging{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
.paging a{ letter-spacing: 0; }
.paging .arr{ display:flex; }
.paging .arr a.last i,
.paging .arr a.first i{ display: inline-block; -webkit-transform:translateX(-5px); transform:translateX(-5px); letter-spacing: -10px; }
.paging a{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
.paging ul{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; margin:0 5px;}
.paging .arr a:not(:last-child),.paging ul li:not(:last-child){ margin-right:5px; }

/* 커스텀 */
.paging{ margin-top: var(--pagingMarTop); }
.paging a{ width:var(--aSize); height:var(--aSize); color: var(--pagingNumC); font-family: var(--engFont); line-height: var(--aSize); font-weight: 400; font-size:16px; border-radius:50%; border:none; }
.paging ul li.on a { font-weight: 400; color:#fff; background: #000; border-color: #000; }
.paging .arr a{ border:none; color: var(--pagingArrowC); }
.paging .arr a.first i{ transform:translateX(-6px); }
.paging .arr a.last i{ transform:translateX(-4px); }
.paging .arr a.first i:first-of-type{ transform:translateX(-5px); }
.paging .arr a.last i:last-of-type{ transform:translateX(-5px); }

@media screen and (max-width: 1280px) {
	.paging{ --pagingMarTop: 50px; }
	.paging a{ font-size: 15px; }
	.paging .arr a:not(:last-child), .paging ul li:not(:last-child){ margin-right: 0; }
}


/* 검색창 변수 */
.search_box{ --height: 60px; --select: 400px; --button: 180px; --padding: 30px; }

/* 검색창 */
.search_box{ display: flex; align-items: center; gap: 15px; background: #F8F8F8; padding: 60px; margin-bottom: 60px; }
.search_box *{ outline: none; border: none; font-size: 17px; color: #111; letter-spacing: -0.02em; }
.search_box > *{ border-radius: 5px; -webkit-border-radius: 5px; }
.search_box select, .search_box input{ padding: 0 var(--padding); }
.search_box select{ width: var(--select); height: var(--height); background:#fff url("/img/board/icon_select.png") no-repeat center right var(--padding) / auto; font-weight: 400; padding-right: calc((var(--padding) * 2) + 20px); appearance: none; }
.search_box input{ width: calc(100% - var(--select) - var(--button) - 30px); height: var(--height); }
.search_box input::placeholder{ color: #ccc; }
.search_box button{ width: var(--button); height: var(--height); background: #000; font-weight: 700; color: #fff; transition: background 0.5s; }

@media screen and (hover: hover){
    .search_box button:hover{ background: var(--mainColor); }
}

/* 미디어 */
@media screen and (max-width: 1280px) {
	.search_box{ --select: 250px; --padding: 15px; }
	.search_box{padding: 30px;}
}

@media screen and (max-width: 900px) {
	.search_box{ --height: 50px; --button: 130px; }
	.search_box{ flex-wrap: wrap; padding: 25px; }
    .search_box *{ font-size: 16px; }
	.search_box select{ width: 100%; }
	.search_box input{ width: calc(100% - var(--button) - 15px); }
}


/* 기본 게시판 */
.board_box{ border-top: 1px solid #CCC; }
.board_box colgroup col{ width: 100%; }
.board_box colgroup col.s{ width: 120px; }
.board_box colgroup col.m{ width: 180px; }

.board_box table tr{ position: relative; border-bottom: 1px solid #CCC; }
.board_box table th, .board_box table td{ padding: 23px 10px; }
.board_box table th{ position: relative; font-size: 1.8rem; font-weight: 500; color: #333; }
.board_box table th::after{ content:""; width: 1px; height: 15px; background: #CCC; position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.board_box table th:last-of-type::after{ display: none; }
.board_box table td{ font-size: 1.7rem; font-weight: 400; color: #333; text-align: center; }
.board_box table td a{ display: block; font-size: 1.8rem; color: #333; text-align: left; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 0 30px; }
.board_box img{ vertical-align: baseline; }

.board_box table thead{ background: #EEE; }

@media screen and (max-width: 1280px){
	.board_box colgroup col.s{ width: 100px; }
	.board_box colgroup col.m{ width: 150px; }

	.board_box table th, .board_box table td{ padding: 20px 10px; }
	.board_box table th{ font-size: 1.7rem; }
	.board_box table td{ font-size: 1.6rem; }
	.board_box table td a{ font-size: 1.7rem; padding: 0 10px; }
}

@media screen and (max-width: 1000px){
	.board_box{ border-top: 2px solid #111; }
	.board_box thead, .board_box colgroup{ display: none; }
	.board_box tr{ display: flex; flex-wrap: wrap; }
	.board_box th, .board_box td{ padding: 15px 10px; }
	.board_box td:not(:first-of-type){ padding: 13px 10px; }
	.board_box td:nth-of-type(1){ display: none; }
	.board_box td:nth-of-type(2){ width: 100%; padding-top: 20px; padding-bottom: 0; }
	.board_box td::before{ content: attr(data-txt); color: #999; }

	.board_box table td a{ padding: 0; }

	/* 기본 게시판 - 공지 */
	.board_box .notice td a::before{ content: ""; display: inline-block; width: 14px; height: 14px; background: url("/img/board/notice_icon.svg") no-repeat center center / contain; margin-right: 10px; }
}



/* 이미지 게시판 (세로형) 변수 */
.img_borad_list{ --gapB: 60px; --gapR: 30px; --line: 4; }

/* 이미지 게시판 (세로형) */
.img_borad_list{ display: flex; flex-wrap: wrap; margin-bottom: calc(var(--gapB) * -1); }
.img_borad_list .item{ width: calc((100% - (var(--gapR) * (var(--line) - 1))) / var(--line)); margin-right: var(--gapR); margin-bottom: var(--gapB); }
.img_borad_list .item:nth-of-type(4n){ margin-right: 0; }
.img_borad_list .item figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 91%; border-radius: 20px; margin-bottom: -5px; }
.img_borad_list .item figure img{ width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.img_borad_list .item .txt{ padding-top: 30px; }
.img_borad_list .item .txt h2{ display: -webkit-box; height: 3em; font-size: 2rem; font-weight: 500; color: #222; line-height: 1.5; text-overflow: ellipsis; word-break: break-all; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@media screen and (max-width: 1700px){
	.img_borad_list .item .txt h2{ font-size: 1.8rem; }
}

@media screen and (max-width: 1280px){
	.img_borad_list{ --gapB: 40px; --gapR: 20px; --line: 3; }
	
	.img_borad_list .item:nth-of-type(4n){ margin-right: var(--gapR); }
	.img_borad_list .item:nth-of-type(3n){ margin-right: 0; }
	.img_borad_list .item .txt{ padding-top: 20px; }
	.img_borad_list .item .txt h2{ font-size: 1.7rem; }
}

@media screen and (max-width: 800px){
	.img_borad_list{ --line: 2; }
	.img_borad_list .item:nth-of-type(3n){ margin-right: var(--gapR); }
	.img_borad_list .item:nth-of-type(2n){ margin-right: 0; }
	.img_borad_list .item .txt{ padding-top: 15px; }
}


/* 상세 페이지 변수 */
.view_ctn{ --border: 1px solid #e0e0e0; --dt: 140px; --dd: calc(100% - var(--dt)); }

/* 상세 페이지 */
.view_ctn{ border-top: 1px solid #000; }
.view_ctn .tit{ text-align: center; padding: 60px 0; border-bottom: var(--border); }
.view_ctn .tit h2{ font-size: 3rem; font-weight: 600; color: #222; }
.view_ctn .tit ul{ display: flex; justify-content: center; gap: 5px 40px; margin-top: 30px; }
.view_ctn .tit ul li{ font-size: 1.6rem; font-weight: 400; color: #666; }
.view_ctn .tit ul li span{ color: #222; }

.view_ctn .info{ padding: 45px 0; font-size: 16px; }

.view_ctn .file_box dl, .view_ctn .pages dl{ display: flex; flex-wrap: wrap; align-items: baseline; border-top: var(--border); border-bottom: var(--border); }
.view_ctn .file_box dl *, .view_ctn .pages dl *{ font-size: 16px; }
.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ width: var(--dt); font-weight: 500; color: #222; padding: 20px 30px; position: relative; }
.view_ctn .file_box dl dt::after, .view_ctn .pages dl dt::after{ content: ""; width: 1px; height: 20px; background: #e0e0e0; position: absolute; top: 50%; right: 0; transform: translate(-50%, -50%); }
.view_ctn .file_box dl dd, .view_ctn .pages dl dd{ width: var(--dd); }
.view_ctn .file_box dl dd a, .view_ctn .pages dl dd a{ display: block; padding: 20px 30px; color: #666; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.view_ctn .file_box{ margin-bottom: 50px; }
.view_ctn .file_box dl dd a{ position: relative; padding-right: 150px; transition: color 0.5s; }
.view_ctn .file_box dl dd a i{ margin-right: 8px; }
.view_ctn .file_box dl dd span{ position: absolute; top: 50%; right: 30px; transform: translateY(-50%); }

.view_ctn .pages dl:not(:last-of-type){ margin-bottom: 10px; }
.view_ctn .pages dl dt i{ margin-right: 15px; }

.view_ctn .list_btn{ margin-top: 80px; }
.view_ctn .list_btn a{ display: flex; justify-content: center; align-items: center; width: 240px; height: 70px; background: #000; border-radius: 20px; font-size: 1.8rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0 auto; }

@media screen and (hover: hover){
	.view_ctn .file_box dl dd:hover a{ color: #222; }
}

@media screen and (max-width: 1700px){
	.view_ctn .tit{ padding: 40px 0; }
	.view_ctn .tit h2{ font-size: 2.6rem; }

	.view_ctn .file_box{ margin-bottom: 30px; }

	.view_ctn .list_btn a{ width: 200px; height: 60px; }
}

@media screen and (max-width: 1280px){
	.view_ctn{ --dt: 110px; }
	.view_ctn .tit{ padding: 30px 0; }
	.view_ctn .tit h2{ font-size: 2.4rem; }
	.view_ctn .tit ul{ margin-top: 20px; gap: 5px 20px; }

	.view_ctn .info{padding: 30px 0; }

	.view_ctn .file_box{margin-bottom: 20px;}
	.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ font-size: 15px; padding: 15px; }
	.view_ctn .file_box dl dd, .view_ctn .pages dl dd{ font-size: 15px; }
	.view_ctn .file_box dl dd a, .view_ctn .pages dl dd a{ font-size: 15px; padding: 15px; }

	.view_ctn .file_box dl dd a{ padding-right: 120px !important; } 
	.view_ctn .file_box dl dd a span{ right: 15px; }

	.view_ctn .pages dl dt i{ margin-right: 5px; }

	.view_ctn .list_btn{margin-top: 50px; }
	.view_ctn .list_btn a{ width: 150px; height: 50px; font-size: 16px; }
}

@media screen and (max-width: 900px){
	.view_ctn .tit h2{ font-size: 2.2rem; }
}
