*{ 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 : #BBB; --pagingArrowC: #BBB; --aSize: 24px; --pagingMarTop: 100px; }

.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:10px; }

/* 커스텀 */
.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: 600; font-size:16px; border-radius:50%; border:none; }
.paging ul li.on a{ color: var(--mainColor); text-decoration: underline; text-underline-position: under; }
.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(7px); }
.paging .arr a.last i:last-of-type{ transform:translateX(-5px); }

.paging .xi-angle-left-min:before{ content: url("/img/sub/paging_prev.svg"); }
.paging .xi-angle-right-min:before{ content: url("/img/sub/paging_next.svg"); }

@media screen and (max-width:600px) {
	.paging{ --pagingMarTop: 50px; }
	.paging .arr a:not(:last-child), .paging ul li:not(:last-child){ margin-right: 0; }
}


/* 검색창 변수 */
.search_box{ --height: 60px; --select: 200px; --input: 420px; --padding: 20px; }

/* 검색창 */
.search_box{ display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; margin-bottom: 100px; }
.search_box *{ outline: none; border: none; font-size: 18px; font-weight: 500; 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); border-radius: 0; -webkit-border-radius: 0; }
.search_box select{ width: var(--select); height: var(--height); background:#fff url("/img/sub/search_arrow.svg") no-repeat center right var(--padding) / auto; border: 1px solid #999; padding-right: calc((var(--padding) * 2) + 20px); appearance: none; margin-right: 30px; }
.search_box .input{ width: var(--input); position: relative; }
.search_box input{ width: 100%; height: var(--height); border-bottom: 1px solid #999; padding-right: var(--height); }
.search_box input::placeholder{ font-weight: 300; color: #BBB; }
.search_box button{ width: var(--height); height: var(--height); background: none; border: none; position: absolute; top: 0; right: 0; }
.search_box button::before{ content: ""; display: inline-block; width: 24px; height: 24px; background: url("/img/sub/search_icon.svg") no-repeat center center / contain; }

/* 미디어 */
@media screen and (max-width: 1600px) {
	.search_box{ --height: 55px; }

	.search_box{ margin-bottom: 70px; }
	.search_box *{ font-size: 17px; }
}

@media screen and (max-width: 1280px) {
	.search_box{ --height: 50px; }

	.search_box{ margin-bottom: 40px; }
	.search_box *{ font-size: 16px; }
}

@media screen and (max-width: 800px) {
	.search_box{ --padding: 10px; }
	.search_box select{ margin-right: 20px; }
	.search_box .input{ width: calc(100% - var(--select) - 20px); }
}

@media screen and (max-width: 600px) {
	.search_box select{ width: 100%; margin-right: 0; margin-bottom: 10px; }
	.search_box .input{ width: 100%; }
}


/* 기본 게시판 */
.board_box{ --gapB: 60px; --gapR: 40px; --line: 3; }

.board_box{ display: flex; flex-wrap: wrap; margin-bottom: calc(var(--gapB) * -1); }
.board_box .item{ width: calc((100% - calc(var(--gapR) * (var(--line) - 1))) / var(--line)); background: #FFF; border: 1px solid #DDD; margin-right: var(--gapR); margin-bottom: var(--gapB); transition: background 0.3s, border-color 0.3s, opacity 1s, transform 1s; }
.board_box .item a{ display: block; padding: 40px; }
.board_box .item:nth-of-type(3n){ margin-right: 0; }

.board_box .item h6{ min-height: 3.2em; display: -webkit-box; font-size: 24px; font-weight: 500; color: #111; letter-spacing: -0.02em; line-height: 1.6; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.board_box .item p{ min-height: 4.8em; display: -webkit-box; font-size: 17px; font-weight: 300; color: #333; letter-spacing: -0.02em; line-height: 1.6; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-top: 40px; }
.board_box .item ul{ display: flex; flex-wrap: wrap; margin: -3px; margin-top: 20px; }
.board_box .item ul li{ background: rgba(0, 0, 0, 0.03); font-size: 16px; font-weight: 300; color: #777; letter-spacing: -0.02em; line-height: 1; padding: 7px 15px; margin: 3px; transition: background 0.3s, color 0.3s; }
.board_box .item ul li::before{ content: "#"; }

.board_box .item .data{ display: flex; align-items: center; font-family: var(--engFont); font-size: 16px; font-weight: 700; color: rgba(0, 0, 0, 0.3); margin-top: 50px; }
.board_box .item .data .category{ font-family: var(--baseFont); font-weight: 500; color: var(--mainColor); margin-left: 15px; }
.board_box .item .data button{ display: flex; justify-content: center; align-items: center; background: none; border: none; outline: none; margin-left: auto; padding: 0; opacity: 0; transition: opacity 0.3s; }
.board_box .item .data button::before{ content: ""; display: inline-block; width: 36px; height: 20px; background: url("/img/sub/board_arrow.svg") no-repeat center center / contain; }

@media screen and (hover: hover){
	.board_box .item:hover{ background: #F6FBFF; border-color: var(--mainColor); }
	.board_box .item:hover ul li{ background: var(--mainColor); color: #FFF; }
	.board_box .item:hover .data button{ opacity: 1; }
}

@media screen and (max-width: 1600px){
	.board_box .item a{ padding: 30px; }
	.board_box .item h6{ font-size: 20px; }
	.board_box .item p{ margin-top: 25px; }
	.board_box .item .data{ margin-top: 40px; }
}

@media screen and (max-width: 1280px){
	.board_box .item a{ padding: 20px; }
	.board_box .item h6{ font-size: 18px; }
	.board_box .item p{ font-size: 16px; margin-top: 20px; }
	.board_box .item ul li{ font-size: 15px; padding: 6px 10px; }
	.board_box .item .data{ font-size: 15px; margin-top: 30px; }
	.board_box .item .data button::before{ width: 30px; height: 17px; }
}

@media screen and (max-width: 1200px){
	.board_box{ --gapB: 40px; --gapR: 20px; }
}

@media screen and (max-width: 1000px){
	.board_box{ --line: 2; }

	.board_box .item:nth-of-type(3n){ margin-right: var(--gapR); }
	.board_box .item:nth-of-type(2n){ margin-right: 0; }
	.board_box .item p{ margin-top: 10px; }
	.board_box .item .data{ margin-top: 20px; }
}

@media screen and (max-width: 700px){
	.board_box{ --gapB: 20px; --line: 1; }
	.board_box .item{ margin-right: 0 !important; }
}


/* 이미지 게시판 (가로형) 변수 */
.img_horizontal_list{ --img: 430px; }

/* 이미지 게시판 (가로형) */
.img_horizontal_list .item{ border-bottom: 1px solid #DDD; }
.img_horizontal_list .item:first-of-type{ border-top: 1px solid #DDD; }
.img_horizontal_list .item a{ display: flex; align-items: center; padding: 60px 0; }

.img_horizontal_list .figure{ width: var(--img); }
.img_horizontal_list .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 69.77%; }
.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 span{ font-family: var(--engFont); font-size: 16px; font-weight: 800; color: var(--mainColor); letter-spacing: -0.02em; }
.img_horizontal_list .txt h6, 
.img_horizontal_list .txt p{ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.img_horizontal_list .txt h6{ font-size: 24px; font-weight: 500; color: #111; letter-spacing: -0.02em; margin-top: 15px; }
.img_horizontal_list .txt p{ font-size: 17px; font-weight: 300; color: #555; letter-spacing: -0.02em; margin-top: 15px; }

@media screen and (max-width: 1600px){
	.img_horizontal_list .item a{ padding: 40px 0; }
	.img_horizontal_list .txt h6{ font-size: 20px; }
}

@media screen and (max-width: 1280px){
	.img_horizontal_list .item a{ padding: 20px 0; }
	.img_horizontal_list .txt{ padding-left: 40px; }
	.img_horizontal_list .txt span{ font-size: 15px; }
	.img_horizontal_list .txt h6{ font-size: 18px; margin-top: 5px; }
	.img_horizontal_list .txt p{ font-size: 16px; }
}

@media screen and (max-width: 900px){
	.img_horizontal_list{ --img: 40%; }
}

@media screen and (max-width: 650px){
	.img_horizontal_list .item a{ flex-direction: column; padding: 30px 0; }
	.img_horizontal_list .figure{ width: 100%; }
	.img_horizontal_list .txt{ width: 100%; padding-left: 0; padding-top: 20px; }
}


/* 상세 페이지 변수 */
.view_ctn{ --border: 1px solid #DDD; }

/* 상세 페이지 */
.view_ctn{ border-top: 1px solid #000; }
.view_ctn .tit{ text-align: center; border-bottom: var(--border); }
.view_ctn .tit h2{ font-size: 30px; font-weight: 500; color: #111; letter-spacing: -0.02em; padding: 50px 0; }
.view_ctn .tit ul{ display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 40px; padding: 30px 0; border-top: var(--border); }
.view_ctn .tit ul li{ font-size: 18px; font-weight: 300; color: #555; letter-spacing: -0.02em; }
.view_ctn .tit ul li span{ font-weight: 600; }

.view_ctn .info{ padding: 65px 0; font-size: 16px; }

.view_ctn .file_box dl, 
.view_ctn .pages dl{ display: flex; flex-wrap: wrap; 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; 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); align-content: center; }
.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{ --dt: 110px; --dd: calc(100% - var(--dt)); }
.view_ctn .file_box{ margin-bottom: 60px; }
.view_ctn .file_box dl > *:not(:last-of-type){ border-bottom: var(--border); }
.view_ctn .file_box dl dt{ padding: 30px 0; }
.view_ctn .file_box dl dd a{ position: relative; color: #999; padding-right: 150px; transition: color 0.3s; }
.view_ctn .file_box dl dd a i{ margin-right: 8px; }
.view_ctn .file_box dl dd span{ position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.view_ctn .file_box dl dd span i{ transform: translateY(2px); }

.view_ctn .pages{ --dt: 135px; --dd: calc(100% - var(--dt)); }
.view_ctn .pages dl{ background: #F8F8F8; }
.view_ctn .pages dl dt{ text-align: center; padding: 25px 0; }
.view_ctn .pages dl:not(:last-of-type){ margin-bottom: 10px; }
.view_ctn .pages dl dt i{ margin-right: 15px; }
.view_ctn .pages dl dd a{ color: #666; }

.view_ctn .list_btn{ margin-top: 100px; }
.view_ctn .list_btn a{ display: flex; justify-content: center; align-items: center; width: 220px; height: 70px; background: #FFF; border: 1px solid var(--mainColor); font-size: 20px; font-weight: 600; color: var(--mainColor); letter-spacing: 0.02em; transition: background 0.3s, color 0.3s; margin: 0 auto; }
.view_ctn .list_btn a i{ margin-right: 15px; }

@media screen and (hover: hover){
	.view_ctn .file_box dl dd:hover a{color: var(--mainColor);}
	.view_ctn .list_btn a:hover{background: var(--mainColor); color: #FFF; }
}

@media screen and (max-width: 1600px){
	.view_ctn .tit h2{ font-size: 26px; padding: 40px 0; }
	.view_ctn .tit ul{ gap: 5px 30px; padding: 20px 0; }
	.view_ctn .tit ul li{ font-size: 17px; } 

	.view_ctn .info{ padding: 45px 0; }

	.view_ctn .file_box dl dd a, 
	.view_ctn .pages dl dd a{ padding: 15px 25px; }

	.view_ctn .file_box{ margin-bottom: 40px; }
	.view_ctn .file_box dl dt{ padding: 20px 0; }

	.view_ctn .pages{ --dt: 120px; }
	.view_ctn .pages dl dt{ padding: 20px 0; }

	.view_ctn .list_btn{ margin-top: 70px; }
	.view_ctn .list_btn a{ width: 180px; height: 65px; font-size: 18px; }
}

@media screen and (max-width: 1280px){
	.view_ctn .tit h2{ font-size: 22px; padding: 30px 0; }
	.view_ctn .tit ul{ gap: 5px 20px; padding: 15px 0; }
	.view_ctn .tit ul li{ font-size: 16px; } 

	.view_ctn .info{ padding: 30px 0; }

	.view_ctn .file_box dl *, 
	.view_ctn .pages dl *{ font-size: 15px; }
	.view_ctn .file_box dl dd a, 
	.view_ctn .pages dl dd a{ padding: 10px 15px; }

	.view_ctn .file_box{ --dt: 90px; }
	.view_ctn .file_box{ margin-bottom: 20px; }
	.view_ctn .file_box dl dt{ padding: 15px 0; }
	.view_ctn .file_box dl dd a i{ margin-right: 5px; }

	.view_ctn .pages{ --dt: 100px; }
	.view_ctn .pages dl dt{ padding: 15px 0; }
	.view_ctn .pages dl dt i{ margin-right: 7px; }

	.view_ctn .list_btn{ margin-top: 40px; }
	.view_ctn .list_btn a{ width: 160px; height: 60px; font-size: 16px; }
	.view_ctn .list_btn a i{ margin-right: 10px; } 
}

@media screen and (max-width: 900px){
	.view_ctn .tit h2{ font-size: 20px; }
	.view_ctn .tit ul{ padding: 12px 0; }
	.view_ctn .tit ul li{ font-size: 15px; }

	.view_ctn .list_btn a{ width: 140px; height: 55px; }
}