/* 목록,작성완료 버튼 */
.write_button{display: block; margin: auto; font-size: 18px; font-weight: 600; color: #3b4850; background-color: transparent; border: 1px solid #3b4850; height: 70px; line-height: 70px; text-align: center; width: 250px; margin-top: 50px; transition: all 0.2s ease-in-out;}
.write_button:hover{background: #3b4850; color: #fff;}


/* 카테고리 */
#bo_cate a {color: #666; border: 1px solid #ddd;}
#bo_cate #bo_cate_on {background: #5a5a5a; border: 1px solid #5a5a5a; }
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {background: #5a5a5a; border: 1px solid #5a5a5a;}
#bo_cate #bo_cate_on {background:#5a5a5a; color:#fff; border:1px solid #5a5a5a;
-webkit-box-shadow:inset 0 2px 5px rgb(74, 74, 74);
-moz-box-shadow:inset 0 2px 5px rgb(74, 74, 74);
box-shadow:inset 0 2px 5px rgb(74, 74, 74)}


/* 검색+토탈 */
.sch_box{background: #f7f7f7; padding: 20px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 50px;}

.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: #3b4850; 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: 50px; font-size: 16px; color: #666;}
.sch_box .sch input{width: 300px; background: #fff; overflow: hidden;  padding: 0 20px; height: 50px; border: none; font-size: 16px;}
.sch_box .sch button{width: 100px; height: 50px; background: #5a5a5a; color: #fff; font-size: 16px;}
.sch_box .sch button img{max-width: 15px; vertical-align: middle;}


/* 관리자 글쓰기 버튼 */
.write_btn{display: flex; align-items: center; justify-content: flex-end; margin-bottom: 20px;}
.write_btn li{cursor: pointer;}
.write_btn li+li{margin-left: 10px;}
.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: #3b4850;}


/* 게시판 탭 리스트 */
.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;}
.board li{padding: 30px 0; border-bottom: 1px solid #ddd; display: flex; align-items: center; text-align: center;}
.board li.none {justify-content: center;}
.board .th div{font-weight: 600; /*color: #666;*/}
.board .td .tit{text-align: left;}
.board .check{width: 15px;}
.board .num{width: 100px;}
.board .notice{display: inline-block; font-size: 14px; 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;}
.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: #39b0d5; 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; position: relative; left: 50%; transform: translateX(-50%);}
.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:0px}
.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:#454545;border:1px solid #454545;color:#fff;font-weight:normal;height:25px;line-height:25px;padding:0 10px;min-width:25px;border-radius:0px}



/* 썸네일형 게시판 */
.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: 300px; height: 200px; overflow: hidden; position: relative;}
.board_02 .img img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;}
.board_02 .text{padding-left: 30px; width: calc(100% - 300px); margin-top: 15px; 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: 26px; width: 100%;}
.board_02 .text .con{margin-top: 10px; color: #999; line-height: 24px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 15px;}
.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;}
.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;}
.board_02 .text .date{display: inline-block; width: auto; vertical-align: middle; color: #999;}



/* 갤러리 */
/*.gallery{border-top: none;}
.gallery li{display: inline-block; vertical-align: top; width: calc(100% / 4 - 25.5px); 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;}
.gallery li .check{margin-bottom: 10px;}
.gallery li .img{width: 100%; padding-top: 70%; overflow: hidden; position: relative; border: 0; height: auto;}
.gallery li .img img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;}
/*.gallery li .text{margin-top: 20px;}*/
.gallery li .text em{color: #9fd116; font-size: 16px; font-weight: 500; line-height: 1;}
/*.gallery .text .tit{width: 100%; margin-top: 0px; font-size: 20px; line-height: 26px; padding-top: 10px; font-weight: 600}*/
.gallery .text .date{margin-top: 8px; color: #999; display: block;}

/* faq */
.faq_list {margin-bottom: 70px}
.faq_list li{border: 1px solid #ddd;}
.faq_list li+li{margin-top: 20px;}
.faq_list li.none {font-size: 15px; color: #727272; padding: 200px 0; text-align: center}

.faq_list .adm_btn{position: absolute; top: 50%; transform: translateY(-50%); 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: 25px;}
.faq_list .icon{position: absolute; top: 50%; left: 25px; transform: translateY(-50%); 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; font-size: 18px}
.faq_list .questions img{position: absolute; top: 50%; right: 30px; transform: rotate(0) translateY(-50%); width: 15px;}

.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; font-size: 16px;}

.faq_list li.on .questions {background: #f6f8f8}
.faq_list li.on .questions .icon{color: #39b0d5;}
.faq_list li.on .questions img{transform: rotate(180deg); top: 38% }
.faq_list.adm_login h1{padding-right: 190px;}


/* view 페이지 */
.board_view .tit{border: 1px solid rgba(59,72,80,0.3); padding: 30px!important; margin-bottom: 0px!important;}
.board_view .tit h1{font-size: 20px; line-height: 28px; font-weight: 600; padding-right: 50px;}
.board_view .tit span{display: inline-block; width: auto; vertical-align: middle; border-right: 1px solid #ddd; padding-right: 10px; margin-right: 10px;}
.board_view .tit span:last-child{border: none; margin: 0; padding: 0;}
.board_view .tit span.ca_name {font-size: 15px; margin-right: 15px; color: #9fd116; vertical-align: top;}
.board_view .file{background: #f9f9f9; border-radius: 0px; display: flex; align-items: center; padding: 30px;}
.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;}
.board_view .link {background: #f9f9f9; border-radius: 0px; display: flex; align-items: center; padding: 30px;}
.board_view .link img{display: inline-block; width: 16px;}
.board_view .link b{margin: 0 5px; font-weight: 400;}
.board_view .cont{padding: 30px;}
.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%;}
.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%;}
.board_write table select{width: 300px; background: url(/img/sub/select_arrow.png) no-repeat 95% 50%; border: none; padding: 0 20px; height: 50px; border: 1px solid #ddd; border-radius: 0px;}
.board_write table textarea{border: 1px solid #ddd; padding: 20px; resize: none; height: 300px; width: 100%;}
.board_write table .del{margin-top: 10px;}


/*@media screen and (max-width: 1240px){
    .gallery li{width: calc(100% / 3 - 22.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 .th{width: 200px;}
    .board_write table .td{width: calc(100% - 200px);}
}

@media screen and (max-width: 1000px){
    .sch_box{display: block; margin-bottom: 30px; background: #fff; padding: 0;}
	.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 .tit{width: 100%;}
    .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: 180px; height: 120px;}
    .board_02 .text{width: calc(100% - 180px); padding-left: 20px; margin-top: 0;}
    .board_02 .text .tit{font-size: 16px; line-height: 24px;}
    .board_02 .text .con{margin-top: 0;}
    .board_02 .text .con{-webkit-line-clamp: 2; margin-bottom: 10px;}
    
    .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 .text .tit{font-size: 16px; line-height: 24px;}
    
    .board_view .tit h1{font-size: 18px; line-height: 26px;}
    
    .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){
    .sch_box .sch{display: block;}
	.sch_box .sch .select{width: 100%; margin-right: 0; margin-bottom: 10px; font-size: 14px;}
	.sch_box .sch .select select{background: url(/img/sub/select_arrow.png) no-repeat 95% 50%; padding: 0 15px;}
	.sch_box .sch input{width: 100%; font-size: 14px; padding: 0 15px;}
	.sch_box .sch button{margin-top: 10px; width: 100%; font-size: 14px; font-weight: 500;}
	.sch_box .sch button img{max-width: 13px; margin-right: 3px;}
	
	.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 li{padding: 15px 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: 22px; margin-bottom: 5px;}
    
    .gallery li{width: calc(100% / 2 - 9.5px); margin-top: 30px; margin-right: 15px; padding: 0;}
    .gallery li:nth-child(4n){margin-right: 15px;}
    .gallery li:nth-child(3n){margin-right: 15px;}
    .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;}
    .gallery li .text em{font-size: 14px;}
    
    .board_view .tit, .board_view .cont, .board_view .file{padding: 20px;}
    .board_view .tit h1{font-size: 16px; line-height: 24px; margin-bottom: 5px; padding-right: 0;}
	.board_view .tit{display: flex; justify-content: center; flex-wrap: wrap; flex-direction: row; padding: 15px!important;}
    .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 .file{font-size: 14px;}
    
    .board_write table{font-size: 14px;}
    .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;}
}

@media screen and (max-width: 700px){
    .write_button{width: 100%; height: 50px; line-height: 50px; font-size: 14px; margin-top: 30px;}
}*/
