/* 목록,작성완료 버튼 */
.write_button{display: block; margin: auto; font-size: 18px; font-weight: 600; color: #fff; background-color: var(--main-color); /*border: 1px solid #3b4850*/; height: 70px; line-height: 70px; text-align: center; width: 250px; margin-top: 50px; transition: all 0.2s ease-in-out; border-radius: 60px}
.write_button:hover {background: #20344b; color: #fff;}
.g02_btn {display: flex; justify-content: center}
.g02_btn .write_button {margin: 50px 5px 0; background: #fff; border: 1px solid var(--main-color); color: var(--main-color)}
.g02_btn .write_button:first-child {background: var(--main-color); border: 1px solid var(--main-color); color: #fff}
.g02_btn .write_button:first-child:hover {background: #20344b;}

/* 카테고리 */
#bo_cate {font-size: 18px; text-align: center; margin: 0 0 30px 0;}
#bo_cate ul {display: flex; justify-content: center}
#bo_cate li {display: block; width: 106px; padding: 0; margin: 0 3px}
#bo_cate a {color: #777; border-radius: 60px; line-height: 35px; border: 1px solid #ddd;}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {background: none; color: #777;}
#bo_cate #bo_cate_on {background:var(--main-color); border: 1px solid var(--main-color); border-radius: 60px; box-shadow: none}


/* 검색+토탈 */
.sch_box{/*background: #f7f7f7; padding: 20px;*/ display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; margin-top: 100px}
.sch_box.mar_t {margin-top: 60px}

.sch_box .total {font-size: 16px}
.sch_box .total .icon{width: 30px; height: 30px; background: #3b4850; position: relative; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 5px;}
.sch_box .total .icon img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 40%;}
.sch_box .total p{display: inline-block; vertical-align: middle;}
.sch_box .total p span{color: var(--main-color); font-weight: 600;}

.sch_box .sch{display: flex; align-items: flex-start;}
.sch_box .sch .select{width: 150px; background: #fff; overflow: hidden;  margin-right: 10px;}
.sch_box .sch .select select{width: 100%; background: url(/img/sub/select_arrow.png) no-repeat 90% 50%; border: none; padding: 0 20px; height: 60px; font-size: 16px; color: #666; border: 1px solid #e5e5e5; border-radius: 60px}
.sch_box .sch .select select option {padding: 5px}
.sch_box .sch .sch_txt {border: 1px solid #e5e5e5; border-radius: 60px; overflow: hidden}
.sch_box .sch input{width: 230px; background: #fff; overflow: hidden;  padding: 0 20px; height: 60px; border: none; font-size: 16px;}
.sch_box .sch button{width: 60px; height: 50px; background: #fff; color: #fff; font-size: 16px; margin-left: -3px}
.sch_box .sch button img{max-width: 16px; vertical-align: middle;}


/* 관리자 글쓰기 버튼 */
.write_btn{display: flex; align-items: center; justify-content: flex-end; margin-bottom: 10px;}
.write_btn li{cursor: pointer; border-radius: 60px; overflow: hidden}
.write_btn li+li{margin-left: 5px;}
.write_btn li *{display: block; color: #fff; text-align: center; height: 45px; line-height: 45px; padding: 0 20px; font-size: 14px; font-weight: 500;}
.write_btn li *{background: #5a5a5a;}
.write_btn li:last-of-type *{background: var(--main-color);}


/* 게시판 탭 리스트 */
.tab_list li{cursor: pointer; display: inline-block;}
.tab_list li+li{margin-left: 6px;}
.tab_list li a{color: #999; background: #f9f9f9; padding: 15px 40px; font-size: 16px; font-weight: 500;}
.tab_list .on a{background: #333; color: #fff;}


/* 전체선택 */
.all_check{margin-bottom: 10px;}
.all_check label{cursor: pointer;}


/* 일반형 게시판 */
.board{border-top: 2px solid #333; font-size: 16px}
.board li{padding: 30px 0; border-bottom: 1px solid #ddd; display: flex; align-items: center; text-align: center;}
.board li.none {justify-content: center; padding: 150px 0; color: #777; text-align: center}
.board li a {display: block}
.board .th div{font-weight: 600; color: #666;}
.board .td .tit{text-align: left; font-size: 18px}
.board .check{width: 15px;}
.board .num{width: 100px;}
.board .year{width: 100px; color: var(--main-color); font-weight: 600;}
.board .notice{display: inline-block; font-size: 16px; color: #d13f4a; /*height: 30px; line-height: 30px; border-radius: 0px; padding: 0 15px; background: #fff; border: 1px solid #d13f4a;*/ font-weight: 600;}
.board .tit{font-size: 16px; font-weight: 600; line-height: 1; display: inline-block; vertical-align: middle; line-height: 24px; width: calc(100% - 380px); border-bottom: 0!important; padding-bottom: 0px!important; margin-bottom: 0px!important;}
.board .secret{width: 16px; margin-right: 5px; display: inline-block; vertical-align: initial; position: relative; top: 1px;}
.board .new{background: #f6eeeb; color: #f73e00; font-size: 11px; padding: 3px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px; line-height: normal}
.board .hot{width: 16px; margin-left: 5px; vertical-align: middle;}
.board .file{width: 16px; margin-left: 5px; vertical-align: middle;}
.board .link{width: 14px; margin-left: 5px; vertical-align: middle;}
.board .comment{background: #e9eff5; color: #3a8afd; font-size: 11px; padding: 3px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px;}
.board .name{width: 100px;}
.board .hit{width: 80px;}
.board .date{width: 100px;}


/*페이징*/
.pg_wrap {padding: 20px 0 0 0; position: relative; left: 50%; transform: translateX(-50%); float: none}
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#eee;border:1px solid #eee;}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#959595;font-size:14px;height:25px;line-height:24px;padding:0 5px;min-width:25px;text-decoration:none;border-radius:3px}
.pg_page:hover {background-color:#fafafa}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fafafa}

.pg_current {display:inline-block;background:var(--main-color);border:1px solid var(--main-color);color:#fff;font-weight:normal;height:25px;line-height:25px;padding:0 10px;min-width:25px;border-radius:3px}



/* 썸네일형 게시판 */
.board_02 li{padding: 20px 0; position: relative;}
.board_02 li a{display: flex;}
.board_02 li .check{position: absolute; top: 35px; left: 15px; z-index: 9;}
.board_02 .img{width: 350px; height: 226px; overflow: hidden; position: relative; border-radius: 15px; background: #f8f8f8;}
.board_02 .img img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;}
.board_02 .img .no_image {/*line-height: 227px!important;*/ color: #777; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.board_02 .text{padding-left: 30px; width: calc(100% - 350px); margin-top: 18px; text-align: left;}
.board_02 .text em{display: inline-block; color: #9fd116; font-size: 16px; font-weight: 500; line-height: 1; margin-bottom: 10px;}
/*.board .notice{margin-right: 10px;}*/
.board_02 .text .tit{font-size: 18px; line-height: 24px; width: 100%; position: relative;}
.board_02 .text .tit::after {content: ""; background: #222; display: block; width: 40px; height: 1px; margin: 23px 0}
.board_02 .text .con{margin-top: 0px; color: #999; line-height: 26px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 23px;}
.board_02 .text .hit{display: inline-block; width: auto; vertical-align: middle; border-right: 1px solid #ddd; padding-right: 10px; margin-right: 10px; color: #999; margin-bottom: 18px}
.board_02 .text .name{display: inline-block; width: auto; vertical-align: middle; border-right: 1px solid #ddd; padding-right: 10px; margin-right: 10px; color: #999; margin-bottom: 18px}
.board_02 .text .date{display: inline-block; width: auto; vertical-align: middle; color: #999; margin-bottom: 18px}
.board_02 .notice {margin-right: 10px}



/* 갤러리 */
.gallery{border-top: none;}
.gallery li{display: inline-block; vertical-align: top; width: calc(100% / 4 - 26px); margin-right: 30px; margin-top: 50px; position: relative; padding: 0; border-bottom: none; text-align: left;}
.gallery li:nth-child(1){margin-top: 0;}
.gallery li:nth-child(2){margin-top: 0;}
.gallery li:nth-child(3){margin-top: 0;}
.gallery li:nth-child(4){margin-top: 0;}
.gallery li:nth-child(4n){margin-right: 0;}
.gallery li.empty_list {width: 100%; text-align: center; padding: 150px 0!important}
.gallery li .check{margin-bottom: 10px;}
.gallery li .img{width: 100%; padding-top: 70%; overflow: hidden; position: relative; border: 0; height: auto; background: #f8f8f8; border-radius: 15px;}
.gallery li .img img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;}
.gallery li .img .no_image {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #777}
.gallery li .text{margin-top: 20px;}
.gallery li .text em{color: var(--main-color); font-size: 16px; font-weight: 600; line-height: 1; margin-bottom: 5px; display: inline-block}
.gallery .text .tit{width: 100%; margin-top: 0px; font-size: 18px; line-height: 24px; padding-top: 0px; font-weight: 600}
.gallery .text .date{margin-top: 13px; color: #999; display: block;}

/* faq */
.faq_list li{border: 1px solid #ddd;}
.faq_list li+li{margin-top: 20px;}

.faq_list .adm_btn{position: absolute; top: 27px; right: 70px;}
.faq_list .adm_btn a{text-align: center; height: 30px; line-height: 30px; padding: 0 20px; color: #fff; border-radius: 50px; font-size: 12px; font-weight: 500; display: inline-block; cursor: pointer;}
.faq_list .adm_btn a:nth-child(1){background: #999;}
.faq_list .adm_btn a:nth-child(2){background: #333;}

.faq_list .questions{position: relative; padding: 30px;}
.faq_list .icon{position: absolute; top: 30px; left: 30px; font-size: 25px; font-weight: 900; margin-right: 30px; line-height: 1;}

.faq_list .questions .icon{color: #333;}
.faq_list .questions h1{line-height: 24px; padding-right: 25px; position: relative; padding-left: 40px; cursor: pointer;}
.faq_list .questions img{position: absolute; top: 35px; right: 30px; transform: rotate(0); width: 15px; transition: all 0.5s;}

.faq_list .answer{border-top: 1px solid #eee; padding: 30px; display: none; position: relative;}
.faq_list .answer .icon{color: #f73e00;}
.faq_list .answer p{padding-left: 35px; line-height: 24px;}

.faq_list li.on .questions .icon{color: #9ed116;}
.faq_list li.on .questions img{transform: rotate(180deg);}
.faq_list.adm_login h1{padding-right: 190px;}


/* view 페이지 */
.board_view {margin-top: 100px!important}
.board_view .tit{/*border: 1px solid rgba(59,72,80,0.3);*/ padding: 30px!important; margin-bottom: 0px!important; border-radius: 15px; box-shadow: 0px 0px 10px #e1e1e1}
.board_view .tit h1{font-size: 24px; line-height: 31px; font-weight: 600; padding-right: 50px; margin-bottom: 7px}
.board_view .tit span{display: inline-block; width: auto; vertical-align: middle; border-right: 1px solid #ddd; padding-right: 10px; margin-right: 10px; font-size: 15px}
.board_view .tit span:last-child{border: none; margin: 0; padding: 0;}
.board_view .tit span.ca_name {color: #fff; vertical-align: middle; background: var(--main-color); padding: 2px 20px; border-radius: 30px; margin-bottom: 7px}
.board_view .tit span.year {background: var(--main-color); color: #fff; padding: 2px 20px; border-radius: 30px; margin-bottom: 7px}
.board_view .file{background: #f9f9f9; border-radius: 15px; display: flex; align-items: center; padding: 30px; font-size: 14px; }
.board_view .file + .file{margin-top: 10px;}
.board_view .file img{display: inline-block; width: 16px;}
.board_view .file b{margin: 0 5px; font-weight: 400; white-space: nowrap}
.board_view .link {background: #f9f9f9; border-radius: 0px; display: flex; align-items: center; padding: 30px; font-size: 14px}
.board_view .link img{display: inline-block; width: 16px;}
.board_view .link b{margin: 0 5px; font-weight: 400;}
.board_view .cont{padding: 30px; min-height: 350px; font-size: 16px; line-height: 1.5}
.board_view .cont img{max-width: 100%;}
.board_view .cont .caution{color: #f74300; font-weight: 500; margin-top: 30px;}
.board_view .list_btn{margin: 50px auto 0;}
.board_view .list_btn img{width: 30px; display: block; margin: auto;}

/* write 페이지 */
.board_write table{border-top: 2px solid #333; width: 100%; margin-top: 100px; font-size: 16px}
.board_write table td{padding: 20px; border-bottom: 1px solid #ddd;}
.board_write table .th{background: #f9f9f9; text-align: center; font-weight: 500; color: #666; width: 250px;}
.board_write table .th span{display: block; font-size: 14px; margin-top: 5px;}
.board_write table .td{width: calc(100% - 250px);}
.board_write table .check{width: 18px; height: 18px; -webkit-appearance:checkbox; appearance:checkbox; -moz-appearance:checkbox; -ms-appearance:checkbox; display:inline-block; vertical-align: middle; margin-right: 5px; position: relative; top: -1px;}
.board_write table .input{border: 1px solid #ddd; height: 50px; line-height: 50px; padding: 0 20px; background: #fff; width: 100%; border-radius: 15px}
.board_write table select{width: 230px; background: url(/img/sub/select_arrow.png) no-repeat 95% 50%; border: none; padding: 0 20px; height: 50px; border: 1px solid #ddd; border-radius: 15px;}
.board_write table textarea{border: 1px solid #ddd; padding: 20px; resize: none; height: 300px; width: 100%}
.board_write table input[type=file] {font-size: 12px}
.cke_sc {font-size: 12px}
.board_write table .del{margin-top: 10px;}


@media screen and (max-width: 1450px){
    #bo_cate {font-size: 16px;}
    #bo_cate ul {flex-wrap: wrap;}
    #bo_cate li {width: 90px; margin: 3px}
    #bo_cate a {line-height: 25px; padding: 5px 0}
    
    .sch_box {margin-top: 80px}
    .sch_box .sch input {height: 50px}
    .sch_box .sch .select select {height: 50px}
    
    .gallery li {margin-right: 20px}
    .gallery li{width: calc(100% / 4 - 18.5px);}
/*
    .gallery li:nth-child(4n){margin-right: 30px;}
    .gallery li:nth-child(3n){margin-right: 0;}
    .gallery li:nth-child(4){margin-top: 50px;}
*/
    
    .board_write table {margin-top: 80px}
    .board_write table .th{width: 200px;}
    .board_write table .td{width: calc(100% - 200px);}
    
    .board_view {margin-top: 80px!important}
    .board_view .tit h1 {font-size: 22px}
}

@media screen and (max-width: 1100px){
    .write_button{height: 60px; line-height: 60px; font-size: 16px;}
    
    .board {font-size: 14px}
    .board .td .tit {font-size: 16px}
    
    .sch_box{/*display: block; background: #fff; padding: 0;*/ margin-bottom: 20px;}
    .sch_box .total {font-size: 14px}
	.sch_box .sch{/*margin-top: 15px; background: #f7f7f7; padding: 15px;*/}
	.sch_box .sch .select select{font-size: 14px;}
	.sch_box .sch input{/*width: calc(100% - 240px);*/ font-size: 14px;}
	.sch_box .sch button{font-size: 14px;}

	
	.faq_list .questions{padding: 20px;}
	.faq_list .icon{font-size: 20px; left: 20px; top: 22px;}
	.faq_list .questions h1{padding-left: 30px; padding-right: 25px;}
	.faq_list .questions img{top: 26px; right: 20px; width: 12px;}
	.faq_list .answer{padding: 20px;}
	
	.faq_list .adm_btn{position: relative; top: auto; right: auto; margin-top: 10px; padding-left: 30px;}
	
	.write_btn{margin-bottom: 10px;}
	.write_btn li *{font-size: 12px; font-weight: 600; height: 40px; line-height: 40px;}
    
    .all_check{top: 20px;}
    .all_check label{font-size: 14px;}
    
    .board li{display: block; text-align: left; padding: 20px 0;}
    .board .th{display: none;}
    .board .check{margin-bottom: 10px;}
    .board .num{width: auto; font-size: 0; margin-bottom: 5px;}
    .board .notice {font-size: 14px}
    .board .year{width: auto; margin-bottom: 5px;}
    .board .tit{width: 100%; margin-bottom: 5px!important}
    .board .name{display: inline-block; width: auto; vertical-align: middle; border-right: 1px solid #ddd; padding-right: 10px; margin-right: 10px;}
    .board .hit{display: none;}
    .board .date{display: inline-block; width: auto; vertical-align: middle;}
    
    .board_02 .img{width: 221px; height: 140px;}
    .board_02 .text{width: calc(100% - 221px); padding-left: 20px; margin-top: 0;}
    .board_02 .text .tit{font-size: 16px; line-height: 22px;}
    .board_02 .text .tit::after {margin: 13px 0 7px 0}
    .board_02 .text .con{margin-top: 0; line-height: 21px}
    .board_02 .text .con{-webkit-line-clamp: 2; margin-bottom: 10px;}
    .board_02 .text .hit, .board_02 .text .name, .board_02 .text .date {margin-bottom: 0}
    
    .gallery li{width: calc(100% / 2 - 12px); margin-right: 20px; display: inline-block;}
    .gallery li:nth-child(4n){margin-right: 20px;}
    .gallery li:nth-child(3n){margin-right: 20px;}
    .gallery li:nth-child(2n){margin-right: 0;}
    .gallery li:nth-child(3){margin-top: 50px;}
    .gallery li:nth-child(4){margin-top: 50px;}
    .gallery .text .tit{font-size: 16px; line-height: 22px;}
    .gallery li .text em{font-size: 14px;}
    
    .board_view .tit, .board_view .cont, .board_view .file {padding: 20px!important}
    .board_view .tit h1{font-size: 18px; line-height: 26px;}
    .board_view .tit span {font-size: 14px}
    .board_view .tit span.year {padding: 2px 15px}
    .board_view .tit span.ca_name  {padding: 2px 15px}
    
    .board_write table tr{display: block; border-bottom: 1px dashed #ddd; padding: 20px 0;}
    .board_write table td{display: block; border-bottom: none; padding: 0;}
    .board_write table .th{width: 100%; background: #fff; text-align: left; margin-bottom: 10px;}
    .board_write table .td{width: 100%;}
}


@media screen and (max-width: 800px){
    .write_button{width: 100%; height: 55px; line-height: 55px; font-size: 14px; margin-top: 30px;}
    
    .board li.none {padding: 100px 0}
    
    .sch_box {margin-top: 50px; flex-wrap: wrap}
    .sch_box.mar_t {margin-top: 30px}
    .sch_box .sch{display: block; width: 100%}
	.sch_box .sch .select{width: 100%; margin-right: 0; margin-bottom: 5px; font-size: 14px;}
	.sch_box .sch .select select{background: url(/img/sub/select_arrow.png) no-repeat calc(100% - 20px) 50%; padding: 0 15px;}
	.sch_box .sch input{width: calc(100% - 57px); font-size: 14px; padding: 0 15px;}
	.sch_box .sch button{/*margin-top: 10px; font-size: 14px; font-weight: 500;*/ width: 55px;}
	.sch_box .sch button img{max-width: 13px; margin-right: 3px;}
	
    .sch_box .total {width: 100%; margin-bottom: 10px}
	.sch_box .total .icon{width: 25px; height: 25px;}
	.sch_box .total p{font-size: 14px;}
	
	.faq_list .icon{font-size: 18px;}
	.faq_list .questions h1{font-size: 14px; line-height: 22px; padding-left: 25px;}
	.faq_list .adm_btn{padding-left: 25px;}
	.faq_list .answer p{font-size: 14px; line-height: 21px; padding-left: 25px;}
	
	.tab_list li a{font-size: 14px; padding: 10px 20px;}
    
    .board li{font-size: 14px;}
    
    .board_02 li{padding: 20px 0;}
    .board_02 li .check{top: 25px; left: 10px;}
    .board_02 .img{width: 100px; height: 67px;}
    .board_02 .text{width: calc(100% - 100px); padding-left: 15px; margin-top: 0;}
    .board_02 .text .con{line-height: 20px; margin-bottom: 5px;}
    
    .board_02 li a {flex-wrap: wrap}
    .board_02 .img {width: 100%; height: auto; padding-top: 60%}
    .board_02 .text {width: 100%; padding-left: 0; padding-top: 15px}
    
    .gallery li.empty_list {padding: 100px 0!important}
    .gallery li{width: calc(100% / 2 - 7px); margin-top: 30px; margin-right: 10px; padding: 0;}
    .gallery li:nth-child(4n){margin-right: 10px;}
    .gallery li:nth-child(3n){margin-right: 10px;}
    .gallery li:nth-child(2n){margin-right: 0;}
    .gallery li:nth-child(4){margin-top: 30px;}
    .gallery li:nth-child(3){margin-top: 30px;}
    .gallery li .text{margin: 0; margin-top: 15px;}
    
    
    .board_view {margin-top: 50px!important}
    .board_view .tit, .board_view .cont, .board_view .file{padding: 15px!important;}
	.board_view .tit{/*display: flex; justify-content: center; flex-wrap: wrap; flex-direction: row;*/ padding: 15px!important;}
    .board_view .tit h1{font-size: 16px; line-height: 22px; margin-bottom: 5px; padding-right: 0;}
/*    .board_view .tit h1 br {display: none}*/
    .board_view .tit span{font-size: 14px; color: #999;
    display: inline-block;
    width: auto;
    vertical-align: middle;
    border-right: 1px solid #ddd;
    padding-right: 10px;
    margin-right: 10px;
}
    .board_view .cont {min-height: 200px; font-size: 15px}
    .board_view .file{font-size: 14px;}
    
    .board_write table{font-size: 14px; margin-top: 50px}
    .board_write .br{display: block;}
    .board_write table select{width: 100%; padding: 0 15px;}
    .board_write table .input{padding: 0 15px;}
    .board_write table textarea{padding: 15px; height: 200px!important;}
    .board_write table .th span{display: inline-block;}
	.board_write table .check{width: 15px; height: 15px;}
}

