*{ 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: 110px; }

.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 { color:#fff; background: var(--blue); border-color: var(--blue); }
.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: 80px; }
}

@media screen and (max-width:600px) {
	.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: 70px; --select: 175px; --button: 110px; --padding: 30px; --border: 1px solid #CCC; --radius: 10px; }

/* 검색창 */
.search_box{ display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 60px; position: relative; z-index: 10; }
.search_box *{ outline: none; border: none; font-size: 18px; color: #111; letter-spacing: -0.02em; }
.search_box > *{ border-radius: 5px; -webkit-border-radius: 5px; }
.search_box input{ font-size: 18px; }
.search_box select{ padding: 0 var(--padding); }

.search_box .selectric-box{ width: var(--select); }
.search_box .selectric-box *{ font-size: 18px; }
.search_box .selectric{ width: 100%; }
.search_box .selectric .label{ display: flex; align-items: center; width: 100%; height: var(--height); font-weight: 400; color: #111; background: #fff url("/img/sub/select_icon.svg") no-repeat center right var(--padding) / auto; border: 1px solid #CCC; border-radius: var(--radius); margin: 0; padding-left: var(--padding); padding-right: calc(var(--padding) * 2); }
.search_box .selectric .button{ display: none; }
.search_box .selectric-items{ background: #fff; border: 1px solid #CCC; border-radius: var(--radius); overflow: hidden; top: calc(100% - 1px); }
.search_box .selectric-items ul, .search_box .selectric-items li{ font-weight: 400; color: #666; }
.search_box .selectric-items li{ padding: 10px var(--padding); }
.search_box .selectric-items li.highlighted{ background: var(--mainColor) !important; color: #fff !important; }
.search_box .selectric-items li:hover{ background: #fff; color: #666; }

.search_box input{ width: 388px; height: var(--height); border: var(--border); border-radius: var(--radius); -webkit-border-radius: var(--radius); padding: 0 var(--padding); }
.search_box input::placeholder{ font-weight: 300; color: #ccc; }
.search_box button{ width: var(--button); height: var(--height); background: var(--blue); border-radius: var(--radius); font-family: var(--baseFont); font-size: 17px; font-weight: 500; color: #fff; }

@media screen and (max-width: 1600px){
	.search_box{ --height: 65px; }

	.search_box{ margin-bottom: 40px; }
}

@media screen and (max-width: 1280px){
	.search_box{ --height: 60px; --padding: 20px; }

	.search_box{ margin-bottom: 20px; }
	.search_box *{ font-size: 17px; }
	.search_box button{ font-size: 16px; }

	.search_box .selectric-box *{ font-size: 17px; }
}

@media screen and (max-width: 800px){
	.search_box{ --height: 55px; --select: 100%; --button: 100px; }

	.search_box input{ width: calc(100% - 10px - var(--button)); }
}


/* 기본 게시판 */
#board{ overflow: hidden; }
.board_box{ border-top: 1px solid #000; }
.board_box colgroup col{ width: 100%; }

.board_box colgroup col.small{ width: 110px; }
.board_box colgroup col.medium{ width: 150px; }
.board_box colgroup col.large{ width: 210px; }

.board_box table tr{ position: relative; border-bottom: 1px solid #e0e0e0; cursor: pointer; }
.board_box table th{ position: relative; font-size: 17px; font-weight: 700; color: #111; padding: 40px 10px; }
.board_box table th::after{ content:""; width: 1px; height: 15px; background: #e0e0e0; 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: 16px; font-weight: 400; color: #666; padding: 40px 5px; text-align: center; }
.board_box table td a{ display: block; font-size: 18px; font-weight: 400; color: #222; line-height: 1.3; text-align: left; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 0 35px; }

.board_box table thead{ background: #f9f9f9; }

/* 기본 게시판 - 공지 */
.board_box table .notice{ background: #F5F5F5; }
.board_box table .notice td i{ color: var(--mainColor); }

@media screen and (max-width: 1600px){
	.board_box table th{ padding: 30px 10px; }
	.board_box table td{ padding: 30px 5px; }
}

@media screen and (max-width: 1280px){
	.board_box colgroup col.small{ width: 90px; }
	.board_box colgroup col.medium{ width: 140px; }
	.board_box colgroup col.large{ width: 150px; }

	.board_box table th{ font-size: 16px; padding: 25px 10px; }
	.board_box table td{ font-size: 15px; padding: 25px 5px; } 
	.board_box table td a{ font-size: 17px; padding: 0 15px; }
}

@media screen and (max-width: 1000px){
	.board_box colgroup{ display: none; }
	.board_box thead{ display: none; }
	.board_box tr{ display: flex; flex-wrap: wrap; align-items: center; }
	.board_box table td{ max-width: 100%; padding: 15px; position: relative; }
	.board_box table td::before{ content: attr(data-txt); color: #333; }
	.board_box table td a{ width: 100%; padding: 0; }

	.board_box tr td:first-of-type{ display: none; }
	.board_box tr td:last-of-type{ padding-left: 0; }

	.board_box table td.tit{ padding-top: 20px; padding-bottom: 0; }

	.board_box tr.notice td:first-of-type{ display: block; padding-right: 0; margin-bottom: -65px; }
	.board_box tr.notice td.tit{ padding-left: 40px; }
}


/* 기본 게시판 - type */
@media screen and (max-width: 1000px){
	.board_box.type td span{ display: inline-block; border: 1px solid var(--mainColor); border-radius: 5px; font-size: 14px; color: var(--mainColor); line-height: 1; padding: 6px 10px; }
	.board_box.type table td.tit{ padding-top: 0; }

	.board_box.type tr.notice td:first-of-type{ display: none; }
	.board_box.type tr.notice td.tit{ padding-left: 15px; margin-bottom: -5px; }
}

/* 이미지 게시판 (세로형) 변수 */
.img_borad_list{ --gapB: 80px; --gapR: 24px; --line: 4; }

/* 이미지 게시판 (세로형) */
.img_borad_list{ display: flex; flex-wrap: wrap; gap: var(--gapB) var(--gapR); }
.img_borad_list .item{ width: calc((100% - calc(var(--gapR) * (var(--line) - 1))) / var(--line)); }
.img_borad_list .item .figure figure{ width: 100%; border: 1px solid #EAEAEA; position: relative; overflow: hidden; padding-bottom: 100%; border-radius: 10px 10px 0 0; margin-bottom: -5px; }
.img_borad_list .item .figure figure img{ height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1); transition: transform 0.5s; }
.img_borad_list .item .txt{ padding-top: 25px; border: 1px solid #EAEAEA; border-top: none; border-radius: 0 0 10px 10px; padding: 30px; }
.img_borad_list .item .txt h6, .img_borad_list .item .txt p{ display: -webkit-box; word-break: break-word; white-space: normal; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.img_borad_list .item .txt h6{ height: 2.8em; font-size: 24px; font-weight: 600; color: #111; line-height: 1.4; }
.img_borad_list .item .txt p{  height: 3em; font-size: 18px; font-weight: 300; color: #666; line-height: 1.5; margin: 15px 0 30px; }
.img_borad_list .item .txt span{ font-size: 16px; font-weight: 400; color: #888; }

@media screen and (hover: hover){
	.img_borad_list .item:hover .figure figure img{ transform: translate(-50%, -50%) scale(1.1); }
}

@media screen and (max-width: 1600px){
	.img_borad_list .item .txt h6{ font-size: 22px; }
	.img_borad_list .item .txt p{ font-size: 17px; }
	.img_borad_list .item .txt span{ font-size: 15px; }
}

@media screen and (max-width: 1400px){
	.img_borad_list .item .txt{ padding: 20px; }
	.img_borad_list .item .txt p{ margin: 10px 0 20px; }
}

@media screen and (max-width: 1280px){
	.img_borad_list .item .txt h6{ font-size: 20px; }
	.img_borad_list .item .txt p{ font-size: 16px; }
	.img_borad_list .item .txt span{ font-size: 14px; }
}

@media screen and (max-width: 1200px){
	.img_borad_list{ --gapB: 60px; --gapR: 20px; --line: 3; }
}

@media screen and (max-width: 900px){
	.img_borad_list .item .txt{ padding: 12px 15px; }
	.img_borad_list .item .txt h6{ font-size: 18px; }
	.img_borad_list .item .txt p{ margin: 5px 0 10px; }
}

@media screen and (max-width: 800px){
	.img_borad_list{ --gapB: 40px; --line: 2; }
}


/* 영상 게시판 */
.video_board_list{ --gapB: 95px; --gapR: 20px; --line: 3; }

/* 영상 게시판 */
.video_board_list{ display: flex; flex-wrap: wrap; gap: var(--gapB) var(--gapR); }
.video_board_list .item{ width: calc((100% - calc(var(--gapR) * (var(--line) - 1))) / var(--line)); }
.video_board_list .item figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 53.847%; border-radius: 10px 10px 0 0; }
.video_board_list .item figure::after{ content: ""; width: 60px; height: 60px; background: url("/img/sub/play_icon.svg") no-repeat center center / contain; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.video_board_list .item figure img{ width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1); transition: transform 0.5s; }
.video_board_list .item .txt h6{ display: -webkit-box; font-size: 20px; font-weight: 600; color: #111; margin-top: 20px; word-break: break-word; white-space: normal; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@media screen and (hover: hover){
	.video_board_list .item:hover figure img{ transform: translate(-50%, -50%) scale(1.1); }
}

@media screen and (max-width: 1600px){
	.video_board_list .item .txt h6{ font-size: 18px; }
}

@media screen and (max-width: 1280px){
	.video_board_list{ --gapB: 50px; }

	.video_board_list .item figure::after{ width: 50px; height: 50px; }
	.video_board_list .item .txt h6{ font-size: 17px; margin-top: 10px; }
}

@media screen and (max-width: 1000px){
	.video_board_list{ --line: 2; }
}

@media screen and (max-width: 650px){
	.video_board_list .item figure::after{ width: 40px; height: 40px; }
}
  


/* 상세 페이지 변수 */
.view_ctn{ --border: 1px solid #e0e0e0; --dt: 170px; --dd: calc(100% - var(--dt)); }

/* 상세 페이지 */
.view_ctn{ border-top: 3px solid #000; }
.view_ctn .tit{ text-align: center; padding: 60px 30px 30px; border-bottom: var(--border); }
.view_ctn .tit .tag{ display: inline-block; background: var(--mainColor); border-radius: 20px; font-size: 15px; font-weight: 500; color: #fff; line-height: 1; padding: 10px 23px; margin-bottom: 30px; }
.view_ctn .tit h6{ font-size: 32px; font-weight: 700; color: #222; }
.view_ctn .tit ul{ display: flex; justify-content: flex-end; gap: 5px 30px; margin-top: 22px; }
.view_ctn .tit ul li{ font-size: 16px; font-weight: 400; color: #666; }
.view_ctn .tit ul li.type{ margin-right: auto; }
.view_ctn .tit ul li span{ font-weight: 600; color: #222; }

.view_ctn .iframe{ width: 100%; padding-bottom: 56%; position: relative; margin-top: 40px; }
.view_ctn .iframe iframe{ width: 100%; height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.view_ctn .info{ padding: 40px 0; font-size: 16px; }

.view_ctn .file_box dl, .view_ctn .pages dl{ display: flex; flex-wrap: wrap; align-items: baseline; }
.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ width: var(--dt); font-size: 16px; font-weight: 500; 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; font-size: 16px; font-weight: 400; color: #666; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 20px 30px; }

.view_ctn .file_box{ border-top: var(--border); border-bottom: var(--border); padding: 5px 0; margin-bottom: 60px; }
.view_ctn .file_box dl dt{  color: #222; text-align: center; }
.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{ display: flex; justify-content: space-between; }
.view_ctn .pages dl{ width: calc((100% - 30px) / 2); border: var(--border); border-radius: 5px; padding: 30px 0; transition: border 0.5s; }
.view_ctn .pages dl dt{ display: flex; color: #333; padding: 0 40px; transition: color 0.5s; }
.view_ctn .pages dl dt i{ transform: translateY(1px); }
.view_ctn .pages dl:first-of-type dt{ justify-content: flex-end; text-align: right; }
.view_ctn .pages dl:first-of-type dt i{ margin-right: 15px; }
.view_ctn .pages dl:last-of-type{ flex-direction: row-reverse; }
.view_ctn .pages dl:last-of-type dt::after{ left: 0; right: unset; }
.view_ctn .pages dl:last-of-type dt i{ margin-left: 15px; }
.view_ctn .pages dl:last-of-type dd a{ text-align: right; }

.view_ctn .list_btn{ margin-top: 110px; }
.view_ctn .list_btn a{ display: flex; justify-content: center; align-items: center; width: 170px; height: 70px; background: transparent; border: 1px solid #000; border-radius: 10px; font-size: 17px; font-weight: 500; color: #000; letter-spacing: 0.02em; transition: background 0.5s, border 0.5s, color 0.5s; margin: 0 auto; }
.view_ctn .list_btn a i{ margin-right: 10px; transform: translateY(1px); }

@media screen and (hover: hover){
	.view_ctn .file_box dl dd:hover a{color: var(--mainColor);}

	.view_ctn .pages dl:hover{ border: 1px solid var(--mainColor); }
	.view_ctn .pages dl:hover dt{ color: var(--mainColor); }

	.view_ctn .list_btn a:hover{ background: var(--blue); border: 1px solid var(--blue); color: #fff; }
}

@media screen and (max-width: 1600px){
	.view_ctn .tit{ padding: 40px 30px 30px; }
	.view_ctn .tit h6{ font-size: 28px; }

	.view_ctn .pages dl{ padding: 20px 0; }

	.view_ctn .list_btn{ margin-top: 70px; }
	.view_ctn .list_btn a{ width: 150px; height: 60px; }
}

@media screen and (max-width: 1280px){
	.view_ctn{ --dt: 150px; }

	.view_ctn .tit{ padding: 30px 20px 20px; }
	.view_ctn .tit h6{ font-size: 24px; }
	.view_ctn .tit ul{ gap: 5px 15px; }
	.view_ctn .tit ul li{ font-size: 15px; }

	.view_ctn .iframe{ margin-top: 20px; }

	.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ font-size: 15px; }
	.view_ctn .file_box dl dd a, .view_ctn .pages dl dd a{ font-size: 15px; padding: 12px 20px; }

	.view_ctn .file_box{ margin-bottom: 30px; }
	.view_ctn .file_box dl dd span{ right: 20px; }

	.view_ctn .pages dl{ padding: 15px 0; }
	.view_ctn .pages dl dt{ padding: 0 30px; }

	.view_ctn .list_btn{ margin-top: 40px; }
	.view_ctn .list_btn a{ width: 130px; height: 50px; font-size: 16px; }
}

@media screen and (max-width: 900px){
	.view_ctn{ --dt: 130px; }

	.view_ctn .tit h6{ font-size: 20px; }

	.view_ctn .file_box dl dd a, .view_ctn .pages dl dd a{ padding: 12px 15px; }
	.view_ctn .file_box dl dd span{ right: 15px; }

	.view_ctn .pages{ flex-direction: column; }
	.view_ctn .pages dl{ width: 100%; }
	.view_ctn .pages dl:not(:last-of-type){ margin-bottom: 15px; }
	.view_ctn .pages dl dt{ width: 100px; justify-content: center !important; }
	.view_ctn .pages dl dt i{ display: inline-block; transform: translateY(2px); }
	.view_ctn .pages dl:first-of-type dt i{ margin-right: 5px; }
	.view_ctn .pages dl:last-of-type dt i{ margin-left: 5px; }
	.view_ctn .pages dl dd{ width: calc(100% - 100px); }
}
