*{ 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{ --pagingFontStyle: 'Red Hat Display', sans-serif; --pagingNumC : #999; --pagingArrowC: #666; --aSize: 30px; --pagingMarTop: 70px; }

.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 30px;}
.paging .arr a:not(:last-child),.paging ul li:not(:last-child){ margin-right: 7px; }

/* 커스텀 */
.paging{ margin-top: var(--pagingMarTop); }
.paging a{ width:var(--aSize); height:var(--aSize); font-family: var(--engFont); line-height: var(--aSize); font-size:1.6rem; font-weight: 500; color: var(--pagingNumC); border-radius:50%; border:none; }
.paging ul li.on a { color:#fff; background: var(--mainColor); border-color: var(--mainColor); }
.paging .arr a{ border: 1px solid #DDD; color: #BBB; }
.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 ul{ margin: 0 15px; }
}

@media screen and (max-width: 600px) {
	.paging{ --pagingMarTop: 50px; }
	.paging a{ font-size: 1.5rem; }
	.paging ul{ margin: 0 5px; }
	.paging .arr a:not(:last-child){ margin-right: 5px; }
	.paging ul li:not(:last-child){ margin-right: 0; }
}


/* 검색창 변수 */
.search_box{ --height: 50px; --select: 140px; --input: 370px; --button: 90px; --padding: 10px; --gap: 20px; }

/* 검색창 */
.search_box{ display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; margin-bottom: 60px; }
.search_box *{ outline: none; border: none; font-family: var(--baseFont); font-size: 1.6rem !important; color: #111; letter-spacing: -0.02em; }
.search_box > *{ border-radius: 5px; -webkit-border-radius: 5px; }
.search_box .selectric-box, .search_box input{ padding: 0 var(--padding); }

.search_box .selectric-box{ width: var(--select); height: var(--height); border-bottom: 1px solid #333; border-radius: 0; -webkit-border-radius: 0; padding: 0; }
.search_box .selectric-box .selectric{ background: transparent; }
.search_box .selectric-box .selectric .label{ width: 100%; height: var(--height); display: flex; align-items: center; background: url("/img/sub/select_arrow.svg") no-repeat center right var(--padding) / auto; font-weight: 600; color: #333; padding: 0 var(--padding); padding-right: calc((var(--padding) * 2) + 10px); margin: 0; }
.search_box .selectric-box .selectric .button{ display: none; }
.search_box .selectric-box .selectric-items{ border-radius: 10px; background: #fff; box-shadow: 0px 0px 10px rgba(15, 41, 107, 0.2); margin: 5px 0; overflow: hidden; }
.search_box .selectric-box .selectric-items li{ padding: var(--padding); }
.search_box .selectric-box .selectric-items li.highlighted{ background: var(--mainColor) !important; color: #fff !important; }
.search_box .selectric-box .selectric-items li:hover{ background: #fff; color: var(--mainColor); }

.search_box input, .search_box .button{ margin-left: var(--gap); }
.search_box input{ width: var(--input); height: var(--height); border-bottom: 1px solid #DDD; }
.search_box input::placeholder{ color: #BBB; }
.search_box .button{ width: var(--button); height: var(--height); border: 1px solid #DDD; border-radius: 999px; background: none;  }
.search_box .button .hover{ background: var(--mainColor); }
.search_box button{ width: 100%; height: 100%; background: transparent; border: none; border-radius: inherit; font-weight: 600; color: #555; line-height: 1; transition: color 0.5s 0.5s; }

@media screen and (hover: hover){
    .search_box button:hover{ color: #FFF; transition-delay: unset; }
}

/* 미디어 */
@media screen and (max-width: 1280px){
	.search_box{ margin-bottom: 30px; }
}

@media screen and (max-width: 700px) {
	.search_box .selectric-box{ width: 100%; margin-bottom: var(--gap); }
	.search_box input{ width: calc(100% - var(--button) - var(--gap)); margin-left: 0; }
}


/* 기본 게시판 */
.board_box colgroup col{ width: 100%; }

.board_box table th{ position: relative; font-size: 2rem; font-weight: 600; color: #333; letter-spacing: -0.02em; background: #F5F5F5; padding: 20px 10px; }
.board_box table thead tr th:first-of-type{ border-radius: 20px 0 0 20px; }
.board_box table thead tr th:last-of-type{ border-radius: 0 20px 20px 0; }

.board_box table tbody tr{ border-bottom: 1px solid #e0e0e0; cursor: pointer; }
.board_box table td{ font-size: 1.8rem; font-weight: 300; color: #999; letter-spacing: -0.02em; padding: 30px 10px; text-align: center; }
.board_box table td a{ display: block; font-size: inherit; font-weight: 500; color: #333; letter-spacing: -0.02em; line-height: 1.3; text-align: left; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 0 30px; }

.board_box table thead{ background: #f9f9f9; }

/* 기본 게시판 - 공지 */
.board_box table tr.notice td:first-of-type{ display: block !important; font-weight: 500; color: var(--mainColor); }


/* 기본 게시판 - 기본 */
.board_box.basic colgroup col:nth-of-type(1){ width: 100px; }
.board_box.basic colgroup col:nth-of-type(2){  }
.board_box.basic colgroup col:nth-of-type(3){ width: 150px; }
.board_box.basic colgroup col:nth-of-type(4){ width: 150px; }


/* 기본 게시판 - 다운로드 */
.board_box.download colgroup col:nth-of-type(1){ width: 100px; }
.board_box.download colgroup col:nth-of-type(2){  }
.board_box.download colgroup col:nth-of-type(3){ width: 150px; }
.board_box.download colgroup col:nth-of-type(4){ width: 120px; }

@media screen and (max-width: 1700px){
	.board_box table th{ font-size: 1.8rem; }
	.board_box table td{ font-size: 1.7rem; }
}

@media screen and (max-width: 1280px){
	.board_box table th{ font-size: 1.7rem; padding: 15px 10px; }
	.board_box table td{ font-size: 1.6rem; padding: 20px 10px; }
	.board_box table td a{ padding: 0 20px; }

	/* 기본 게시판 - 기본 */
	.board_box.basic colgroup col:nth-of-type(3){ width: 120px; }
	.board_box.basic colgroup col:nth-of-type(4){ width: 120px; }

	/* 기본 게시판 - 다운로드 */
	.board_box.download colgroup col:nth-of-type(3){ width: 120px; }
	.board_box.download colgroup col:nth-of-type(4){ width: 110px; }
}

@media screen and (max-width: 1000px){
	.board_box table{ border-top: 1px solid #111; }
	.board_box colgroup, .board_box thead{ display: none; }
	.board_box tr{ display: flex; flex-wrap: wrap; }
	.board_box table td{ padding: 15px 10px; }
	.board_box tr td::before{ content: attr(data-txt); }
	.board_box table td a{ padding: 0; position: relative; }
	.board_box tr td img{ width: 18px; height: 18px; vertical-align: text-bottom; position: relative; top: -1px; }

	.board_box tr td:nth-of-type(1){ display: none; }
	.board_box tr td:nth-of-type(2){ width: 100%; padding-bottom: 0; }
	.board_box tr td:nth-of-type(3), .board_box tr td:nth-of-type(4){ padding-top: 10px; }
	.board_box tr td:nth-of-type(3) + td{ padding-left: 0; }

	.board_box table tr.notice td:nth-of-type(1){ margin-bottom: -50px; }
	.board_box table tr.notice td a{ padding-left: 35px; }
}


/* 이미지 게시판 (세로형) 변수 */
.img_borad_list{ --gapB: 90px; --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 a{ display: block; }
.img_borad_list .item .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 74.535%; border-radius: 20px; }
.img_borad_list .item .figure 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{ width: 100%; font-size: 2.4rem; font-weight: 600; color: #333; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.img_borad_list .item .txt p{ display: -webkit-box; height: 3.2em; font-size: 1.8rem; font-weight: 300; color: #777; line-height: 1.6; word-break: break-word; white-space: normal; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 20px; }
.img_borad_list .item .txt span{ display: block; font-size: 1.5rem; font-weight: 200; color: #BBB; letter-spacing: -0.02em; margin-top: 20px; }

@media screen and (max-width: 1700px){
	.img_borad_list .item .txt{ padding-top: 20px; }
	.img_borad_list .item .txt h2{ font-size: 2rem; }
	.img_borad_list .item .txt p{ font-size: 1.7rem; }
}

@media screen and (max-width: 1280px){
	.img_borad_list .item .txt{ padding-top: 10px; }
	.img_borad_list .item .txt h2{ font-size: 1.8rem; }
	.img_borad_list .item .txt p{ font-size: 1.6rem; margin-top: 10px; }
	.img_borad_list .item .txt span{ margin-top: 10px; }
}

@media screen and (max-width: 1200px){
	.img_borad_list{ --gapB: 70px; --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; }
}

@media screen and (max-width: 900px){
	.img_borad_list{ --gapB: 50px; --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_horizontal_list{ --img: 460px; }

/* 이미지 게시판 (가로형) */
.img_horizontal_list{ border-top: 1px solid #000; }
.img_horizontal_list .item{ display: flex; align-items: center; border-bottom: 1px solid #e0e0e0; padding: 50px 30px; position: relative; }
.img_horizontal_list .item::after{ content: ""; width: 100%; height: 1px; background: var(--mainColor); position: absolute; bottom: -1px; left: 0; transform: scaleX(0); transform-origin: left; transition: transform 1s; }

.img_horizontal_list .figure{ width: var(--img); }
.img_horizontal_list .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 58.696%; }
.img_horizontal_list .figure figure img{ width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.img_horizontal_list .txt{ width: calc(100% - var(--img)); padding-left: 60px; }
.img_horizontal_list .txt h2{ font-size: 28px; font-weight: 600; color: #222; }
.img_horizontal_list .txt p{ height: 4.76472em; display: -webkit-box; font-size: 17px; font-weight: 400; color: #666; line-height: 1.58824; white-space: normal; text-overflow: ellipsis; overflow: hidden; word-wrap: break-word; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 25px 0 45px; }
.img_horizontal_list .txt span{ font-size: 17px; font-weight: 400; color: #666; }

@media screen and (hover: hover){
	.img_horizontal_list .item:hover::after{ transform: scaleX(1); }
}


/* 상세 페이지 변수 */
.view_ctn{ --border: 1px solid #e0e0e0; --dt: 140px; --dd: calc(100% - var(--dt)); }

/* 상세 페이지 */
.view_ctn{  }
.view_ctn .tit{ text-align: center; padding-bottom: 40px; 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 h2{ font-size: 7rem; font-weight: 600; color: #222; }
.view_ctn .tit ul{ display: flex; justify-content: center; margin-top: 30px; }
.view_ctn .tit ul li{ font-size: 1.6rem; font-weight: 300; color: #999; position: relative; padding: 0 20px; }
.view_ctn .tit ul li:first-of-type{ padding-left: 0 !important; }
.view_ctn .tit ul li:last-of-type{ padding-right: 0 !important; }
.view_ctn .tit ul li::after{ content: ""; width: 1px; height: 12px; background: #DDD; position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); }
.view_ctn .tit ul li:last-of-type::after{ display: none; }
.view_ctn .tit ul li span{ font-weight: 500; color: #555; margin-right: 20px; }

.view_ctn .info{ padding: 50px 0 40px; 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 *, .view_ctn .pages dl *{ font-size: 1.6rem; }
.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ width: var(--dt); font-weight: 500; color: #222; padding: 24px 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; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.view_ctn .file_box{ margin-bottom: 40px; }
.view_ctn .file_box dl{ border-top: var(--border); border-bottom: var(--border); }
.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{ background: #F8F8F8; border-radius: 999px; }
.view_ctn .pages dl:not(:last-of-type){ margin-bottom: 10px; }
.view_ctn .pages dl dt span{ margin-right: 20px; vertical-align: text-bottom; }
.view_ctn .pages dl dt span::before{ content: ""; display: inline-block; width: 12px; height: 7px; }
.view_ctn .pages dl:first-of-type dt span::before{ background: url("/img/board/prev_arrow.svg") no-repeat center center / contain; }
.view_ctn .pages dl:last-of-type dt span::before{ background: url("/img/board/next_arrow.svg") no-repeat center center / contain; }

.view_ctn .list_btn{ margin-top: 100px; }
.view_ctn .list_btn a{ width: 200px; height: 60px; display: flex; justify-content: center; align-items: center; background: var(--mainColor); border-radius: 999px; font-size: 2rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; text-align: center; margin: 0 auto; }

@media screen and (hover: hover){
	.view_ctn .file_box dl dd:hover a{color: var(--mainColor);}
}

@media screen and (max-width: 1700px){
	.view_ctn .tit{ padding-bottom: 30px; }
	.view_ctn .tit h2{ font-size: 5rem; }

	.view_ctn .list_btn{ margin-top: 80px; }
	.view_ctn .list_btn a{ width: 170px; height: 55px; font-size: 1.7rem; }
}

@media screen and (max-width: 1280px){
	.view_ctn{ --dt: 110px; }
	.view_ctn .tit{ padding-bottom: 20px; }
	.view_ctn .tit h2{ font-size: 4rem; }
	.view_ctn .tit ul{ margin-top: 15px; }
	.view_ctn .tit ul li{ padding: 0 15px; }
	.view_ctn .tit ul li span{ margin-right: 10px; }
	
	.view_ctn .info{ padding: 30px 0; }

	.view_ctn .file_box{margin-bottom: 20px;}
	.view_ctn .file_box dl *, .view_ctn .pages dl *{ font-size: 1.5rem; }
	.view_ctn .file_box dl dt, .view_ctn .pages dl dt{ font-size: 15px; }
	.view_ctn .file_box dl dt::after, .view_ctn .pages dl dt::after{ height: 15px; }
	.view_ctn .file_box dl dd, .view_ctn .pages dl dd{ font-size: 15px; }

	.view_ctn .file_box dl{ padding: 5px 0; }
	.view_ctn .file_box dl dt{ padding: 10px 15px; }
	.view_ctn .file_box dl dd a{ padding: 10px 15px; padding-right: 120px !important; } 
	.view_ctn .file_box dl dd a span{ right: 15px; }

	.view_ctn .pages dl dt{ padding: 15px; }
	.view_ctn .pages dl dt i{ margin-right: 5px; }
	.view_ctn .pages dl dd a{ font-size: 15px; padding: 15px; }

	.view_ctn .list_btn{ margin-top: 40px; }
	.view_ctn .list_btn a{ width: 140px; height: 50px; font-size: 1.6rem; }
}

@media screen and (max-width: 900px){
	.view_ctn .tit h2{ font-size: 3rem; }
}
