/* 검색+토탈 */
.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: var(--main-color); 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: 55%;}
.sch_box .total p{display: inline-block; vertical-align: middle; font-size: 16px;}
.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(/home/img/down_arrow.svg) no-repeat 90% 50%; background-size: 9px; border: none; padding: 0 20px; height: 50px; font-size: 14px; color: #000;}
.sch_box .sch input{width: 300px; background: #fff; overflow: hidden; padding: 0 20px; height: 50px; border: none; font-size: 14px;}
.sch_box .sch button{width: 80px; height: 50px; background: var(--main-color); color: #fff; font-size: 14px; border: none;}
.sch_box .sch button img{max-width: 17px;}
.sch_box input, .sch_box select{font-family: inherit; /* 폰트 상속 */
    border-radius: 0px; /* iOS 둥근모서리 제거 */
    -webkit-appearance: none; /* 네이티브 외형 감추기 */ 
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    margin: 0;
    overflow: visible;
    text-transform: none;
    vertical-align: middle;}

@media screen and (max-width: 981px){
    .sch_box{display: block; margin-bottom: 20px; background: #fff; padding: 0;}
	.sch_box .sch{display: block; margin-top: 15px; background: #f7f7f7; padding: 15px; font-size: 0;}
	.sch_box .sch .select{width: 100%; margin-right: 0; margin-bottom: 10px;}
	.sch_box .sch .select select{padding: 0 15px; background-position: 95% 50%; height: 40px;}
	.sch_box .sch input{width: calc(100% - 70px); padding: 0 15px; height: 40px; display: inline-block;}
	.sch_box .sch button{display: inline-block; width: 70px; height: 40px;}
	.sch_box .sch button img{max-width: 14px; position: relative; top: 1px;}
	
	.sch_box .total .icon{width: 25px; height: 25px;}
    .sch_box .total p{font-size: 14px;}
}


/* 게시판 분류 */
#bo_cate_ul{display: flex;}
#bo_cate li{padding: 0; margin-right: 5px; width: calc(100% / 5)}
#bo_cate li:last-child{margin-right: 0;}
#bo_cate_ul a{font-size: 14px; border: 1px solid #ddd; color: #666; text-align: center;}
#bo_cate #bo_cate_on{background: #fff; box-shadow: none; border: 1px solid #263c88; background: var(--main-color); font-weight: 500; color: #fff;}
#bo_cate_ul a:hover{background: #f9f9f9; color: var(--main-color); font-weight: 500;}

@media screen and (max-width: 640px){
    #bo_cate{margin: 20px auto; text-align: center;}
    #bo_cate_ul a{font-size: 12px; padding: 0 10px;}
}

/* 관리자 글쓰기 버튼 */
.adm_btn{display: flex; align-items: center; justify-content: flex-end; margin-bottom: 20px; position: relative; height: 40px;}
.adm_btn li{cursor: pointer;}
.adm_btn li+li{margin-left: 10px;}
.adm_btn li *{color: #fff; text-align: center; height: 40px; line-height: 40px; padding: 0 20px; font-size: 14px; font-weight: 500;  border: none; display: block; cursor: pointer;}
.adm_btn li.color1 *{background: var(--sub-color);}
.adm_btn li.color2 *{background: #e62c1f;}
.adm_btn li.color3 *{background: #333;}

.adm_btn .left_btn{position: absolute; top: 0; left: 0; z-index: 9;}

@media screen and (max-width: 981px){
    .adm_btn{margin-bottom: 10px; height: 30px;}
    .adm_btn li *{font-size: 12px; line-height: 30px; height: 30px; padding: 0 15px;}
    .adm_btn li+li{margin-left: 5px;}
}

/* 본문 글쓰기 버튼 */
.write_btn{display: flex; align-items: center; justify-content: center; margin: 60px auto 0;}
.write_btn *{width: 200px; height: 60px; line-height: 60px; text-align: center; font-size: 16px; font-weight: 500; border: none; cursor: pointer;}
.write_btn a{color: #999; margin-right: 10px; background: #fff; border: 1px solid #ddd;}
.write_btn button{background: var(--main-color); color: #fff; border: 1px solid var(--main-color);}

@media screen and (max-width: 981px){
    .write_btn{margin-top: 20px;}
    .write_btn *{font-size: 14px; width: calc(100% / 2 - 5px); height: 50px; line-height: 50px;}
}

/* 게시판 탭 리스트 */
.tab_list{margin-bottom: 10px;}
.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; border-radius: 50px; font-size: 16px; font-weight: 500;}
.tab_list .on a{background: #333; color: #fff;}

@media screen and (max-width: 981px){
	.tab_list li a{font-size: 14px; padding: 10px 20px;}    
}


/* 일반형 게시판 */
.board input[type="checkbox"]{-webkit-appearance: checkbox; appearance: checkbox; -moz-appearance: checkbox; -ms-appearance: checkbox; display: inline; width: 15px; height: 15px;}
.board{border-top: 2px solid var(--main-color);}
.board li{padding: 30px 0; border-bottom: 1px solid #ddd; display: flex; align-items: center; text-align: center; font-size: 16px;}
.board .th div{font-weight: 500; color: #666;}
.board .td .tit{text-align: left;}
.board .check{width: 15px;}
.board .num{width: 100px;}
.board .notice{display: inline-block; font-weight: 700; color: #fff; color: var(--main-color);}
.board .tit{font-weight: 600; display: inline-block; vertical-align: middle; width: calc(100% - 465px);}
.board .secret{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 .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: 100px;}
.board .date{width: 150px;}

@media screen and (max-width: 981px){
    .board li{display: block; text-align: left; padding: 20px 0; font-size: 14px;}
    .board .th{display: none;}
    .board .check{margin-bottom: 10px;}
    .board .num{width: auto; font-size: 0!important;}
    .board .notice{font-size: 14px!important; margin-bottom: 5px;}
    .board .tit{width: 100%; margin-bottom: 5px; font-size: 16px!important;}
    .board .name{display: inline-block; width: auto; vertical-align: middle; margin-right: 10px; color: #999;}
    .board .name *{color: #999;}
    .board .hit{display: none;}
    .board .date{display: inline-block; width: auto; vertical-align: middle; margin-right: 10px; color: #999;}
}

/* 썸네일형 게시판 */
.board_02 li{padding: 20px 0;}
.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; border-radius: 10px; 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 .notice{margin-right: 10px;}
.board_02 .text .tit{font-size: 20px; line-height: 28px; 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;}

@media screen and (max-width: 981px){
    .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;}
    
    .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;}    
}

/* faq */
.faq_list .adm_btn{position: absolute; top: 29px; right: 40px; margin-bottom: 0;}
.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; background: #000;}

.faq_list{border-top: 2px solid var(--main-color);}
.faq_list li{border-bottom: 1px solid #ddd;}

.faq_list .icon{position: absolute; top: 27px; left: 0; font-size: 25px; font-weight: 900; color: #999;}
.faq_list .questions{position: relative; padding: 30px 0;}
.faq_list .questions .tit{line-height: 1.5rem; font-size: 18px; padding-right: 25px; font-weight: 500; position: relative; padding-left: 40px; cursor: pointer;}
.faq_list .questions .tit .span{color: var(--main-color);}
.faq_list .questions .down_arrow{position: absolute; top: 28px; right: 0; transform: rotate(0); width: 30px; height: 30px; border-radius: 50%; background: #f1f1f1; transition: all 0.5s; cursor: pointer;}
.faq_list .questions .down_arrow img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 30%; opacity: 0.5;}

.faq_list .answer{padding: 30px 0; display: none; position: relative; border-top: 1px dashed #ddd;}
.faq_list .answer .icon{color: #F39800; left: 0; top: 25px;}
.faq_list .answer .con{padding-left: 40px; font-size: 16px; min-height: 200px;}

.faq_list li.on .questions .icon{color: var(--main-color);}
.faq_list li.on .questions .down_arrow{transform: rotate(180deg);}
.faq_list li.on .questions img{top: 54%;}
.faq_list.adm_login .tit{padding-right: 140px;}

@media screen and (max-width: 981px){
    .faq_list .questions{padding: 20px 0;}
	.faq_list .icon{font-size: 18px; left: 0; top: 22px;}
    .faq_list .questions .down_arrow{top: 17px;}
    .faq_list .questions .tit{font-size: 16px; padding-left: 25px; padding-right: 40px;}
    .faq_list.adm_login .tit{padding-right: 100px;}
	.faq_list .questions img{top: 26px; right: 20px; width: 12px;}
	.faq_list .answer{padding: 20px 0;}
    .faq_list .answer .icon{top: 18px;}
    .faq_list .answer .con{padding-left: 25px; font-size: 14px; min-height: 150px;}
	.faq_list .adm_btn{top: 20px;}
    .faq_list .adm_btn a{font-size: 10px; padding: 0 15px; height: 25px; line-height: 25px;}
    .faq_list .icon{font-size: 18px;}
	.faq_list .questions h1{font-size: 14px; line-height: 22px; padding-left: 25px;}
/*	.faq_list .answer p{font-size: 14px; line-height: 21px; padding-left: 25px;}*/
}


/* 갤러리 */
.gallery_wrap{position: relative;}
.gallery_wrap .all_check{position: absolute; top: -50px;}
.gallery_wrap .all_check input[type="checkbox"]{-webkit-appearance: checkbox; appearance: checkbox; -moz-appearance: checkbox; -ms-appearance: checkbox; display: inline; width: 15px; height: 15px; margin-right: 5px;}
.gallery_wrap .all_check label{cursor: pointer; font-size: 16px;}

.gallery{font-size: 0; padding-top: 20px;}
.gallery li{display: inline-block; vertical-align: top; width: calc(100% / 3 - 13.5px); margin-right: 20px; margin-top: 40px; 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(3n){margin-right: 0;}
.gallery li .check{margin: 0 0 10px;}
.gallery li .img{width: 100%; padding-top: 56.5%; overflow: hidden; position: relative; border: 1px solid #efefef;}
.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%;}
.gallery .text .date{display: block; margin-top: 10px; color: #999; width: 100%;}

@media screen and (max-width: 981px){
    .gallery_wrap .all_check{top: -34px;}
    .gallery_wrap .all_check label{font-size: 14px;}
    .gallery li{width: calc(100% / 2 - 5px); margin-right: 10px; margin-top: 20px;}
    .gallery li:nth-child(3n){margin-right: 10px;}
    .gallery li:nth-child(2n){margin-right: 0;}
    .gallery li:nth-child(3){margin-top: 20px;}
    .gallery li .check{margin: 0 0 5px;}
    .gallery li .text{margin-top: 15px;}
    .gallery .text .date{margin-top: 0; margin-right: 0;}
}

/* view 페이지 */
.board_view .tit{padding: 20px 0; border-top: 2px solid #000; border-bottom: 1px solid #ddd;}
.board_view .tit h1{font-size: 22px; line-height: 1.5rem; margin-bottom: 10px; font-weight: 600;}
.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: 16px; color: #999;}
.board_view .tit span:last-child{border: none; margin: 0; padding: 0;}
.board_view .file{background: #f7f7f7; display: flex; align-items: flex-start; padding: 20px; font-size: 16px;}
.board_view .file img{display: inline-block; width: 16px; margin-right: 5px; vertical-align: top;}
.board_view .file b{margin-right: 5px; font-weight: 400;}
.board_view .file a{display: inline-block; width: calc(100% - 21px); color: var(--main-color);}
.board_view .cont{padding: 20px 0; min-height: 300px;}
.board_view .cont img{max-width: 100%;}
.board_view .cont .caution{color: #f74300; font-weight: 500; margin-top: 30px;}
.board_view .cont .video{position: relative; display: block; width: 800px; height: 450px; overflow: hidden; margin: auto;}
.board_view .cont .video iframe{position: absolute; width:100%; height:100%; top: 0; left: 0;}
.board_view .cont *{font-family: inherit;}
.board_view .file a:hover{text-decoration: underline;}

@media screen and (max-width: 981px){
    .board_view .cont .video{width: 100%; padding-bottom: 60%; height: auto;}
    .board_view .tit h1{font-size: 18px;}
    .board_view .tit span{font-size: 14px;}
    .board_view .cont{min-height: 200px;}
    .board_view .file{font-size: 14px;}
}


/* write 페이지 */
.board_write input[type="checkbox"]{-webkit-appearance: checkbox; appearance: checkbox; -moz-appearance: checkbox; -ms-appearance: checkbox; display: inline; width: 15px; height: 15px;}
.board_write table{border-top: 2px solid #000; width: 100%; 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; font-weight: 400;}
.board_write table .td{width: calc(100% - 250px);}
.board_write table .td p{margin-top: 10px; font-size: 14px; color: #666; line-height: 1.3;}
.board_write table .check{width: 18px; height: 18px; margin-right: 5px;}
.board_write table .input{border: 1px solid #ddd; height: 50px; line-height: 50px; padding: 0 20px; 10px; background: #fff; width: 100%;}
.board_write table select{width: 300px; background: url(/img/board/down_arrow.svg) no-repeat 90% 50%; background-size: 9px; border: none; padding: 0 20px; height: 50px; border: 1px solid #ddd;}
.board_write table textarea{border: 1px solid #ddd; padding: 20px; resize: none; height: 300px; width: 100%;}
.board_write table .del{margin-top: 10px;}
.board_write table .del label{color: #666;}

.btn_cke_sc{font-size: 12px!important; height: auto!important;}

@media screen and (max-width: 1280px){
    .board_write table .th{width: 200px;}
    .board_write table .td{width: calc(100% - 200px);}
}
@media screen and (max-width: 981px){
    .board_write .chk_box{font-size: 14px; margin-bottom: 10px;}
    .board_write .chk_box span{margin-right: 5px;}
    
    .board_write table{font-size: 14px;}
    .board_write .br{display: block;}
    .board_write table .check{width: 15px; height: 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; font-weight: 600;}
    .board_write table .td{width: 100%;}
    .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 .chk_box input[type="checkbox"] + label span{top: 0; left: 0;}
}


/* 그누보드 페이징 */
.pg_wrap{margin: 60px auto 0; float: inherit; width: 100%; text-align: center;}
.pg_wrap .pg > *{float: inherit; display: inline-block; font-size: 14px; border-radius: 0; padding: 0;}
.pg_wrap .pg_current{line-height: 28px; background: var(--main-color); border-color: var(--main-color)}

@media screen and (max-width: 981px){
    .pg_wrap{margin: 30px auto 0;}
    .pg_wrap .pg > *{width: 25px; height: 25px; line-height: 23px; min-width: inherit; font-size: 12px;}
}
