/* 검색+토탈 */
.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; color: var(--txt-color); overflow: hidden; margin-right: 10px; font-size: 16px;}
.sch_box .sch .select select{width: 100%; border: none; padding: 0 20px; height: 50px; background-position: right 10px center;}
.sch_box .sch input{width: 300px; background: #fff; overflow: hidden; padding: 0 20px; height: 50px; border: none; font-size: 16px; color: var(--txt-color);}
.sch_box .sch button{width: 80px; height: 50px; background: #666; 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; font-size: 14px;}
	.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; font-size: 14px;}
	.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: #999;}
.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{border-top: 2px solid var(--txt-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: 600; color: #fff; background: var(--main-color); font-size: 12px; line-height: 30px; padding: 0 10px; border-radius: 50px;}
.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; font-weight: 700; padding: 3px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px;}
.board .hot{color: #23db79; background: #b9ffda; font-size: 11px; font-weight: 700; padding: 3px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px;}
.board .file{color: #daae37; background: #ffefb9; font-size: 11px; padding: 3px 4px; border-radius: 3px; vertical-align: middle; margin-left: 5px;}
.board .link{color: #b451fd; background: #edd3fd; font-size: 11px;font-weight: 700; padding: 3px 3px; 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;}

.board input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;width:18px;height:18px;margin:0;border:1px solid #ccc;border-radius:3px;background:#fff;vertical-align:middle;cursor:pointer}
.board input[type="checkbox"]:checked{background-color:var(--main-color)!important;border-color:var(--main-color)!important;background-image:url("data:image/svg+xml;utf8,<svg fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M5 13l4 4L19 7'/></svg>")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:12px!important}
.board input[type="checkbox"]:disabled{opacity:.5;cursor:not-allowed}


@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: 12px!important; line-height: 24px; padding: 0 15px; 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; 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;}*/
}


/* 전체선택 */
#bo_btn_top .all_check label{font-size: 14px;}


/* 갤러리 */
.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: 60%; overflow: hidden; position: relative; border: 1px solid #efefef;}
.gallery li .img img{position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: cover;}
.gallery li .text{margin-top: 20px; text-align: center;}
.gallery li .text em{color: #9fd116; font-size: 16px; font-weight: 500; line-height: 1;}
.gallery .text .tit{width: 100%; font-size: 18px; text-align: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.gallery .text .date{display: block; margin-top: 10px; color: #999; width: 100%;}

/* 인증서 */
.cert_list li .img{border: none; background: #f5f5f5; padding-top: 100%;}
.cert_list li .img img{width: auto; height: 80%;}

.cert_list .cert-popup-open {
    cursor: pointer;
    display: block;
}

.cert_lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.82);
}

.cert_lightbox.on {
    display: block;
}

.cert_lightbox_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.cert_lightbox_img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    max-width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

html.cert-lightbox-open,
body.cert-lightbox-open {
    overflow: hidden;
    height: 100%;
}
/* 홍보영상 */
.video_list li .img{padding-top: 64%; border: 1px solid #eee;}
.video_list li .img::before{content: ''; width: 100%; height: 100%; background: rgba(0,0,0,0.3); position: absolute; top: 0; left: 0; z-index: 1;}
.video_list li .img::after{--tri-h: clamp(30px, 2.8vw, 50px); /* 최소~이상적~최대 */ content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-40%, -50%); width: 0; height: 0; border-top: calc(var(--tri-h) / 2) solid transparent; border-bottom: calc(var(--tri-h) / 2) solid transparent; border-left: calc(var(--tri-h) * 0.7778) solid #fff; z-index: 2; pointer-events: none;}

/* 비디오 */
.cate_list li{border: 1px solid #eee;}
.cate_list li .img{border: none; padding-top: 100%;}
.cate_list li .img img{width: auto; height: 80%;}
.cate_list li .text{margin-top: 0;}
.cate_list .down{display: block; margin: 30px auto; color: var(--txt-color); border: 1px solid var(--txt-color); border-radius: 50px; width: 140px; line-height: 50px; text-align: center; font-size: 14px; font-weight: 500; transition: 0.3s;}

/* hover */
@media (min-width: 1024px){
    .cate_list .down:hover{border-color: var(--main-color); background: var(--main-color); color: #fff;}
}


@media (max-width: 1440px){
    .gallery li{width: calc(100% / 3 - 7.5px); margin-right: 10px;}
    .video_list li .img::after{}
}

@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:nth-child(4){margin-top: 20px;}
    .gallery li .check{margin: 0 0 5px;}
    .gallery li .text{margin-top: 10px; }
    .gallery li .text .tit{font-size: 14px!important; white-space: normal;
  overflow: visible;
  text-overflow: unset;}
    .gallery li .text .date{margin-top: 0; margin-right: 0;}
    
    .cate_list li{width: 100%; margin-right: 0;}
    .cate_list li:nth-child(2){margin-top: 20px;}
    .cate_list li:nth-child(3n){margin-right: 10px;}
    .cate_list .down{margin-top: 20px; width: calc(100% - 40px); line-height: 40px;}
}

@media (max-width: 480px){
    .gallery li{width: 100%; margin-right: 0;}
    .gallery li:nth-child(3n){margin-right: 0;}
    .gallery li:nth-child(2){margin-top: 20px;}
}

/* view 페이지 */
.board_view .tit{padding: 20px 0; border-top: 2px solid #000; border-bottom: 1px solid #ddd;}
.board_view .tit h1{font-size: 20px; line-height: 1.5rem; margin-bottom: 10px; font-weight: 600;}
.board_view .tit span{display: inline-block; width: auto; vertical-align: middle; margin-right: 15px; font-size: 14px; color: #999;}
.board_view .tit span:last-child{border: none; margin: 0; padding: 0;}
.board_view .tit i{color: #999;}
.board_view .file{background: #f7f7f7; display: flex; align-items: flex-start; padding: 20px; font-size: 16px;}
.board_view .file i{margin-right: 5px;}
.board_view .file a{width: calc(100% - 21px);}
.board_view .cont{padding: 20px 0; min-height: 300px; font-size: 1rem;}
.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 .youtube-embed iframe {max-width: 100%; height: auto; aspect-ratio: 16 / 9;}
.board_view .cont *{font-family: inherit;}
.board_view .file a:hover{text-decoration: underline;}

.youtube-embed{position:relative; width:100%; margin-bottom: 40px;}
.youtube-embed iframe{display:block;}

.youtube-embed .yt-cover{
  position:absolute; left:0; top:0; right:0; bottom:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

/* 끝났을 때 덮개 ON */
.youtube-embed .yt-cover.on{
  opacity:1;
  pointer-events:auto;
}

/* 커스텀 재생 버튼 */
.youtube-embed .yt-cover-play{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%, -50%);
  width:74px; height:52px;
  border:0;
  border-radius:14px;
  background:rgba(0,0,0,.65);
  cursor:pointer;
}

/* 재생 삼각형 */
.youtube-embed .yt-cover-play::before{
  content:"";
  position:absolute;
  left:50%; top:50%;
  transform:translate(-35%, -50%);
  width:0; height:0;
  border-left:18px solid #fff;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
}

/* 호버 */
.youtube-embed .yt-cover-play:hover{
  background:rgba(0,0,0,.8);
}

/* 이전글 / 다음글 */
.board_view .view_nav{
  margin: 30px 0 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.board_view .view_nav_item{
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 16px 4px;
  border-bottom: 1px solid #eee;
  color: #333;
  transition: background .2s ease, color .2s ease;
}

.board_view .view_nav_item:last-child{
  border-bottom: 0;
}

/*
.board_view .view_nav_item:hover{
  background: #fafafa;
}
*/

.board_view .view_nav_label{
  flex: 0 0 90px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.board_view .view_nav_item strong{
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board_view .view_nav_item:hover strong{
  text-decoration: underline;
}

.board_view .view_nav_item.disabled{
  color: #aaa;
  background: #fcfcfc;
}

.board_view .view_nav_item.disabled strong,
.board_view .view_nav_item.disabled .view_nav_label{
  color: #aaa;
}

.board_view .view_nav_item.disabled:hover strong{
  text-decoration: none;
}

@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 .cont{min-height: 200px; font-size: 0.9rem;}
    .board_view .file{font-size: 14px;}
    .youtube-embed{margin-bottom: 20px;}
    .board_view .view_nav{
      margin-top: 24px;
    }

    .board_view .view_nav_item{
      gap: 12px;
      min-height: 54px;
      padding: 14px 0;
    }

    .board_view .view_nav_label{
      flex: 0 0 72px;
      font-size: 13px;
    }

    .board_view .view_nav_item strong{
      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; 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;}


.board_write input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;display: inline-block; width:18px;height:18px;margin:0;border:1px solid #ccc;border-radius:3px;background:#fff;vertical-align:middle;cursor:pointer; margin-right: 5px;}
.board_write input[type="checkbox"]:checked{background-color:var(--main-color)!important;border-color:var(--main-color)!important;background-image:url("data:image/svg+xml;utf8,<svg fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M5 13l4 4L19 7'/></svg>")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:12px!important;}
.board_write input[type="checkbox"]:disabled{opacity:.5;cursor:not-allowed;}


@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;}
}


/* 연혁 리스트 */
.history{border-top:2px solid var(--txt-color);padding-top:60px;position:relative;}
.history::before{content:'';width:1px;height:calc(100% - 80px);background:#eee;position:absolute;top:70px;left:200px;}
.history .year{display:flex;align-items:flex-start;}
.history .year+.year{margin-top:120px;}
.history .year h1{color:var(--main-color);font-size:35px;font-weight:800;letter-spacing:-0.5px;width:200px;position:relative;}
.history .year h1::before{content:'';display:inline-block;width:21px;height:21px;background:#F5ECE8;position:absolute;top:50%;transform:translateY(-50%);right:-10px;border-radius:50%;}
.history .year h1::after{content:'';display:block;position:absolute;top:16px;right:-3px;width:7px;height:7px;border-radius:50%;background:var(--main-color);z-index:1;}
.history .month{padding-left:100px;width:calc(100% - 200px);}
.history .month .txt{display:flex;align-items:flex-start;margin-bottom:60px;}
.history .month .txt:last-of-type{margin-bottom:0;}
.history .month .txt em{font-weight:700;font-size:22px;width:100px;line-height:1.5;color:var(--main-color);}
.history .month .txt ul{width:100%;padding-left:60px;}
.is_admin .history .month .txt ul{width:calc(100% - 100px);}
.history .month .txt ul li{font-size:18px;line-height:1.5;position:relative;padding-left:15px;color:var(--txt-color);}
.history .month .txt ul li::before{content:'';width:6px;height:1px;background:var(--txt-color);position:absolute;top:13px;left:0;}
.history .month .txt ul li+li{margin-top:20px;}
.history .history_chk a{color:red;}

@media screen and (max-width:1280px){
    .history{padding-top:40px;}
    .history::before{left:180px;top:60px;}
    .history .year+.year{margin-top:80px;}
    .history .year h1{font-size:28px;width:180px;}
    .history .year h1::after{top:12px;}
    .history .month{width:calc(100% - 180px);padding-left:80px;}
    .history .month .txt em{font-size:20px;}
    .history .month .txt ul li{font-size:16px;}
    .history .month .txt ul{padding-left:40px;}
    .history .month .txt{margin-bottom:40px;}
}

@media screen and (max-width:981px){
    .history{padding-top:0;border-top:none;}
    .history::before,.history .year h1::before,.history .year h1::after{display:none;}
    .history .year{display:block;}
    .history .year+.year{margin-top:40px;}
    .history .year h1{width:100%;background:#f9f9f9;padding:10px;text-align:center;font-size:18px;color:var(--main-color);}
    .history .month{width:100%;padding-left:0;}
    .history .month .txt{margin-bottom:0;margin-top:20px;}
    .history .month .txt em,.history .month .txt ul li{font-size:14px;}
    .history .month .txt em{width:50px;}
    .history .month .txt ul{padding-left:10px;width:100%;}
    .is_admin .history .month .txt ul{width:100%;}
    .history .month .txt ul li::before{top:9px;}
    .history .month .txt ul li+li{margin-top:5px;}
}

/* 연혁 글쓰기 */
.board_write .year_span{display:inline-block;width:calc(100% / 10 - 3.5px);}
.board_write .year_span label{font-size:14px;color:var(--txt-color);}
.board_write .history_content li{display:flex;align-items:center;}
.board_write .history_content li+li{margin-top:5px;}
.board_write .history_content .input{width:calc(100% - 50px);}
.board_write .history_content .del{width:50px;background:#999;color:#fff;text-align:center;line-height:50px;display:inline-block;margin-top:0;cursor:pointer;font-size:14px;}
.board_write .history_content .add{width:50px;background:var(--txt-color);color:#fff;text-align:center;line-height:35px;display:inline-block;margin-top:10px;cursor:pointer;font-size:12px;}

@media screen and (max-width:1024px){
    .board_write .year_span{width:calc(100% / 6 - 3.5px);}
}

@media screen and (max-width:768px){
    .board_write .year_span{width:calc(100% / 4 - 3.5px);}
}

@media screen and (max-width:480px){
    .board_write .year_span{width:calc(100% / 3 - 3.5px);}
}

