*{ 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 : #333; --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 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(--baseFont);  line-height: var(--aSize); font-weight: 600; font-size:16px; border-radius:50%; border:none; }
.paging ul li.on a { color:#fff; background: var(--mainColor); border-color: var(--mainColor); }
.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: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: 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 #000; }
.board_box colgroup col{ width: 100%; }
.board_box colgroup col:nth-of-type(1){ width: 150px; }
.board_box colgroup col:nth-of-type(2){  }
.board_box colgroup col:nth-of-type(3){ width: 300px; }
.board_box colgroup col:nth-of-type(4){ width: 300px; }
.board_box colgroup col:nth-of-type(5){ width: 150px; }

.board_box table tr{ position: relative; border-bottom: 1px solid #e0e0e0; }
.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; text-align: center; }
.board_box table td a{ display: block; font-size: 17px; font-weight: 600; color: #222; text-align: left; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.board_box table thead{ background: #f9f9f9; }
.board_box table tbody tr::after{ content: ""; width: 100%; height: 1px; background: var(--mainColor); position: absolute; bottom: -1px; left: 0; transform: scaleX(0); transform-origin: left; transition: transform 1s; }

/* 기본 게시판 - 공지 */
.board_box table .notice td{ background: #FFF7F8; }
.board_box table .notice td i{ color: var(--mainColor); }

@media screen and (hover: hover){
    .board_box table tbody tr:hover::after{ transform: scaleX(1); }
}


/* 이미지 게시판 (세로형) 변수 */
.img_borad_list{ --gapB: 70px; --gapR: 40px; --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))) / 4); }
.img_borad_list .item .figure{ transform: scale(0.8); transition: transform 0.5s; }
.img_borad_list .item .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 68%; }
.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: 25px; }
.img_borad_list .item .txt h2{ font-size: 20px; font-weight: 600; color: #222; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.img_borad_list .item .txt p{ display: -webkit-box; height: 3.17648em; font-size: 17px; font-weight: 400; color: #666; line-height: 1.58824; word-break: break-word; white-space: normal; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 10px; }

/* 제목 + 조회수 + 날짜 */
.img_borad_list .item .txt ul{ display: flex; justify-content: space-between; border-top: 1px solid #E8E8E8; padding-top: 15px; margin-top: 15px; }
.img_borad_list .item .txt ul li{ font-size: 16px; font-weight: 400; color: #888; }
.img_borad_list .item .txt ul li img{ vertical-align: middle; transform: translateY(-0.05em); margin-right: 3px; }

/* (style02) */
.img_borad_list.style02 .item{ border: 1px solid #e0e0e0; }
.img_borad_list.style02 .item .txt{ padding: 40px; }
.img_borad_list.style02 .item .txt .tag{ display: inline-block; border: 1px solid var(--mainColor); border-radius: 15px; font-size: 15px; font-weight: 600; color: var(--mainColor); line-height: 1; padding: 7px 15px; margin-bottom: 15px; }

@media screen and (hover: hover){
	.img_borad_list .item:hover .figure{ transform: scale(1); }
}


/* 이미지 게시판 (가로형) 변수 */
.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; }

.img_horizontal_list a{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; }

@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{ border-top: 1px solid #000; }
.view_ctn .tit{ text-align: center; padding: 60px 0; 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: 32px; 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: 16px; font-weight: 400; color: #666; }
.view_ctn .tit ul li span{ font-weight: 600; color: #222; }

.view_ctn .info{ padding: 65px 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: 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: 60px; }
.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; }
.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: 130px; }
.view_ctn .list_btn a{ display: flex; justify-content: center; align-items: center; width: 180px; height: 60px; background: #000; border-radius: 5px; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 0.02em; transition: background 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 .list_btn a:hover{background: var(--mainColor);}
}

@media screen and (max-width: 1600px){
	.view_ctn .tit{ padding: 40px 0; }
	.view_ctn .tit h2{ font-size: 26px; }

	.view_ctn .info{padding: 45px 0; }

	.view_ctn .file_box{ margin-bottom: 40px; }

	.view_ctn .list_btn{margin-top: 90px; }
	.view_ctn .list_btn a{ width: 140px; height: 55px; }
}

@media screen and (max-width: 1280px){
	.view_ctn{ --dt: 110px; }
	.view_ctn .tit{ padding: 30px 0; }
	.view_ctn .tit h2{ font-size: 24px; }
	.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: 125px; line-height: 50px; font-size: 16px; }
}

@media screen and (max-width: 900px){
	.view_ctn .tit h2{ font-size: 22px; }
}
