@charset "utf-8";

/**************************************************
*
*   board.css
*
***************************************************/

/***** 기본 테이블 *****/
.com_tbl_wrap {}
.com_tbl_wrap table {border-top: 2px solid #000; border-left: 1px solid #ddd;}
.com_tbl_wrap tr {border-bottom: 1px solid #ddd;}
.com_tbl_wrap th, .com_tbl_wrap td {padding: 12px 10px; border-right: 1px solid #ddd;}
.com_tbl_wrap th {background-color: #f9f9f9;}
.com_tbl_wrap td {}
.com_tbl_wrap .com_post_title {padding: 0 10px; text-align: left; display: flex; align-items: center;}
.com_tbl_wrap .com_post_title a {display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.com_tbl_wrap .com_post_title a:hover {text-decoration: underline;}
.com_tbl_wrap .com_post_title img {margin-left: 7px;}

/* 모바일 일때 세로형태로 변환 */
.com_tbl_wrap.type02 td {text-align: left; padding-left: 25px; padding-right: 25px;}

@media screen and (max-width: 1080px) {
    .com_tbl_wrap table {font-size: 14px;}
    .com_tbl_wrap.type02 td {text-align: left; padding-left: 15px; padding-right: 15px;}

}

@media screen and (max-width: 768px) {
    /* 모바일 일때 가로스크롤로 변환 */
    .com_tbl_wrap.type01 {overflow-x: auto;}
    .com_tbl_wrap.type01 table {width: 1000px;}

    
    .com_tbl_wrap.type02 {}
    .com_tbl_wrap.type02 colgroup {display: none;}
    .com_tbl_wrap.type02 th, .com_tbl_wrap.type02 td {width: 100%; display: block; padding: 12px 10px; text-align: center;}
    .com_tbl_wrap.type02 th {border-bottom: 1px solid #ddd;}
}



/***** 갤러리 *****/
.com_gallery_wrap {}
.com_gallery_wrap .list {display: grid; gap: 20px 10px;}
.com_gallery_wrap .list a {display: block; text-align: center;}
.com_gallery_wrap .list a:hover {text-decoration: underline;}
.com_gallery_wrap .list a:hover img {transform: scale(1.2);}
.com_gallery_wrap .list img {width: 100%; aspect-ratio: 16 / 9; transition: all 0.3s ease;}
.com_gallery_wrap .list .img_box {overflow: hidden; border: 1px solid #ddd;}
.com_gallery_wrap .list .title {font-weight: 600; font-size: 20px; margin: 20px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.com_gallery_wrap .list .date {}

.com_gallery_wrap.type01 .list {grid-template-columns: repeat(4, minmax(0,1fr));}
.com_gallery_wrap.type01 a {}

@media screen and (max-width: 1080px) { 
    .com_gallery_wrap.type01 .list {grid-template-columns: repeat(3, minmax(0,1fr));}
}

@media screen and (max-width: 768px) {  
    .com_gallery_wrap.type01 .list {grid-template-columns: repeat(2, minmax(0,1fr));}
    .com_gallery_wrap .list .title {font-size: 18px; margin: 15px 0;}
    .com_gallery_wrap .list .date {font-size: 14px;}
}

@media screen and (max-width: 480px) {
    .com_gallery_wrap .list .title {font-size: 16px; margin: 10px 0;}
    .com_gallery_wrap .list .date {font-size: 13px;}
}

/* Pagination */
.com_pagination {display: flex; gap: 0 3px; justify-content: center; font-size: 16px; margin-top: 50px;}
.com_pagination li {border: 1px solid #ddd;}
.com_pagination a {width: 35px; height: 35px; display: flex; justify-content: center; align-items: center;}
.com_pagination a.active {background-color: var(--com-sub-color-01); color: #fff;}
.com_pagination a:not(.active):hover {background-color: #e8e8e8;}
.com_pagination .btn_move i {font-size: 18px;}
.com_pagination .btn_move i:not(:last-of-type) {margin-right: -12px;}

@media screen and (max-width: 1080px) {
    .com_pagination {font-size: 15px;}
    .com_pagination .btn_move i {font-size: 16px;}
    .com_pagination .btn_move i:not(:last-of-type) {margin-right: -12px;}
}

@media screen and (max-width: 768px) {
    .com_pagination {font-size: 14px; margin-top: 30px;}
    .com_pagination a {width: 30px; height: 30px;}
}

@media screen and (max-width: 480px) {
    /* .com_pagination {font-size: 13px; margin-top: 20px;}
    .com_pagination a {width: 25px; height: 25px;}
    .com_pagination .btn_move i {font-size: 14px;}
    .com_pagination .btn_move i:not(:last-of-type) {margin-right: -10px;} */
}

/* 게시판 상세페이지 */
.com_brd_detail {line-height: 1.6;}
.com_brd_detail .content {min-height: 250px; text-align: left;}
.com_brd_detail .file_list {}
.com_brd_detail .file_list li {}
.com_brd_detail .file_list a {color: var(--com-sub-color-01); transition: none;}
.com_brd_detail .file_list a:hover {text-decoration: underline; text-underline-position: under; font-weight: 600;}
.com_brd_detail .prev_next_post {margin-top: 50px; border-top: 1px solid #000; border-bottom:1px solid #000;}
.com_brd_detail .prev_next_post > div {display: flex;}
.com_brd_detail .prev_next_post > div:first-of-type {border-bottom: 1px solid #aaa;}
.com_brd_detail .prev_next_post dt, .com_brd_detail .prev_next_post dd {padding-top: 10px; padding-bottom: 10px;}
.com_brd_detail .prev_next_post dt {flex-shrink: 0; width: 110px; background-color: #f9f9f9; display: flex; justify-content: center; align-items: center; text-align: center;}
.com_brd_detail .prev_next_post dt i {font-size: 16px; margin-left: 5px;}
.com_brd_detail .prev_next_post dd {width: 100%; padding-left: 20px; padding-right: 20px;}
.com_brd_detail .prev_next_post dd a {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; transition: none;}
.com_brd_detail .prev_next_post dd a:hover {text-decoration: underline; text-underline-position: under;}
.com_brd_detail .prev_next_post .prev_box dt i {margin-bottom: 3px;}
.com_brd_detail .btn_box {margin-top: 50px; display: flex; justify-content: center;}
.com_brd_detail .btn_box .com_btn {min-width: 90px; height: 45px;}

@media screen and (max-width: 1080px) {
    .com_brd_detail .btn_box .com_btn {min-width: 80px; height: 40px;}
}

@media screen and (max-width: 768px) {
    .com_brd_detail .content {min-height: 180px;}
    .com_brd_detail .prev_next_post {margin-top: 30px;}
    .com_brd_detail .prev_next_post dt, .com_brd_detail .prev_next_post dd {padding-top: 7px; padding-bottom: 7px;}
    .com_brd_detail .prev_next_post dd {padding-left: 12px; padding-right: 12px;}
    .com_brd_detail .prev_next_post dt {width: 90px;}
    .com_brd_detail .prev_next_post dt i {font-size: 14px; margin-left: 3px;}
    .com_brd_detail .prev_next_post .prev_box dt i {margin-bottom: 0;}
    .com_brd_detail .btn_box {margin-top: 30px;}
    .com_brd_detail .btn_box .com_btn {font-size: 16px;}
    .com_brd_detail .prev_next_post {font-size: 14px;}

}


/* 검색박스 */
.com_brd_srch_box {font-size: 18px; margin-bottom: 20px; position: relative; display: flex; justify-content: flex-end; align-items: center;}
.com_brd_srch_box .total_post {font-weight: 500; position: absolute; left: 0; bottom: 0; font-family: "SCDream", sans-serif; letter-spacing: -1px;}
.com_brd_srch_box .total_post .num {font-weight: 600; color: var(--com-sub-color-01); font-family: "SCDream", sans-serif;}
.com_brd_srch_box .srch_box {gap: 0 15px; display: flex; align-items: center; margin-left: auto;}
.com_brd_srch_box .srch_box select,
.com_brd_srch_box .srch_box input {height: 50px; border: none; border-bottom: 2px solid #000; font-family: "SCDream", sans-serif;}
.com_brd_srch_box .srch_box select {appearance: none;}
.com_brd_srch_box .srch_box .sel_box_01 {position: relative; width: 130px;}
.com_brd_srch_box .srch_box .sel_box_01 select {width: 100%; padding: 0 25px 0 10px;}
.com_brd_srch_box .srch_box .sel_box_01 i {position: absolute; top: 50%; right: 5px; transform: translateY(-50%);}
.com_brd_srch_box .srch_box .input_box_01 {position: relative; width: 340px;}
.com_brd_srch_box .srch_box .input_box_01 input {width: 100%; padding-right: 40px;}
.com_brd_srch_box .srch_box .input_box_01 i {font-size: 20px; position: absolute; top: 50%; right: 10px; transform: translateY(-50%);}

@media screen and (max-width: 1400px) {
    .com_brd_srch_box {font-size: 16px;}
    .com_brd_srch_box .srch_box select, 
    .com_brd_srch_box .srch_box input {height: 45px;}
    .com_brd_srch_box .srch_box .sel_box_01 {width: 115px;}
    .com_brd_srch_box .srch_box .input_box_01 {width: 300px;}
    .com_brd_srch_box .srch_box .input_box_01 i {font-size: 18px;}
}

@media screen and (max-width: 768px) {
    .com_brd_srch_box {font-size: 14px; margin-bottom: 10px; flex-wrap: wrap; justify-content: flex-start;}
    .com_brd_srch_box .total_post {position: static;}
    .com_brd_srch_box .srch_box {width: 100%; flex-wrap: wrap; gap: 0 10px;}
    .com_brd_srch_box .srch_box select, 
    .com_brd_srch_box .srch_box input {height: 40px;}
    .com_brd_srch_box .srch_box .sel_box_01,
    .com_brd_srch_box .srch_box .input_box_01 {margin-bottom: 50px;}
    .com_brd_srch_box .srch_box .sel_box_01 {width: 100px;}
    .com_brd_srch_box .srch_box .input_box_01 {width: calc(100% - 110px);}
}


/* 공통 게시판 */
.com_brd_wrap {}
.com_brd_wrap.type01 {}
.com_brd_wrap.type01 .brd_list {width: 100%; color: #000; border-top: 1px solid #000;}
.com_brd_wrap.type01 .brd_list > div {padding: 35px; display: flex; align-items: center; gap: 0 50px; border-bottom: 1px solid #ddd;}
.com_brd_wrap.type01 .brd_list > div:nth-of-type(2n) {background-color: #f9f9f9;}
.com_brd_wrap.type01 .brd_list .img_box {aspect-ratio: 400 / 220; flex-shrink: 0; width: 400px; border: 1px solid #ddd; display: flex; justify-content: center; align-items: center; background-color: #fff;}
.com_brd_wrap.type01 .brd_list .img_box img {max-height: 100%;}
.com_brd_wrap.type01 .brd_list .txt_box {}
.com_brd_wrap.type01 .brd_list .txt_box > p:not(:last-of-type) {margin-bottom: 25px;}
.com_brd_wrap.type01 .brd_list .title {font-size: 20px; font-weight: 600;}
.com_brd_wrap.type01 .brd_list .ctt,
.com_brd_wrap.type01 .brd_list .related_info {font-size: 18px;}
.com_brd_wrap.type01 .brd_list .ctt {line-height: 1.6;}
.com_brd_wrap.type01 .brd_list .related_info {display: flex; flex-wrap: wrap; gap: 5px;}
.com_brd_wrap.type01 .brd_list .related_info .tit {font-weight: 500; font-family: "SCDream",sans-serif; color: #000;}
.com_brd_wrap.type01 .brd_list .related_info a {transition: none; font-family: "SCDream",sans-serif; color: #888; text-decoration: underline; text-underline-position: under; word-break: break-all;}
.com_brd_wrap.type01 .brd_list .related_info a:hover {font-weight: 500;}

.com_brd_wrap.type02 .brd_list {border-top: 1px solid #000; color: #000;}
.com_brd_wrap.type02 .brd_list > li {border-bottom: 1px solid #ddd;}
.com_brd_wrap.type02 .brd_list .category {height: 80px; padding: 0 50px; font-weight: 600; font-size: 21px; display: flex; justify-content: space-between; align-items: center; position: relative; background-color: #f9f9f9; gap: 0 20px;}
.com_brd_wrap.type02 .brd_list .category:hover {background-color: #e8e8e8;}
.com_brd_wrap.type02 .brd_list .category i {font-size: 30px; color: #aaa; transition: transform 0.3s ease;}
.com_brd_wrap.type02 .brd_list .category.active i {transform: rotate(180deg);}
.com_brd_wrap.type02 .brd_list .list > div {border-top: 1px solid #ddd; display: flex; align-items: center; padding: 15px 0;}
.com_brd_wrap.type02 .brd_list .list > div > dt {width: 12%; padding: 0 10px; display: flex; justify-content: center; align-items: center;}
.com_brd_wrap.type02 .brd_list .list > div > dd {width: 88%; font-size: 18px; padding-right: 20px;}
.com_brd_wrap.type02 .brd_list .list .tit {font-weight: 600; margin-bottom: 5px;}
.com_brd_wrap.type02 .brd_list .list .tag {padding: 0 5px; font-size: 14px; font-weight: 500; min-width: 60px; height: 30px; display: flex; justify-content: center; align-items: center; text-align: center; margin: 0 auto; font-family: "SCDream",sans-serif; color: #fff; border-radius: 4px;}
.com_brd_wrap.type02 .brd_list .list .tag.type01 {background-color: var(--com-sub-color-01);}
.com_brd_wrap.type02 .brd_list .list .tag.type02 {background-color: #ff7200;}
.com_brd_wrap.type02 .brd_list .list .tag.type03 {background-color: #107303;}
.com_brd_wrap.type02 .brd_list .list .tag.type04 {background-color: purple;}
.com_brd_wrap.type02 .brd_list .list .tag.type05 {background-color: saddlebrown;}
.com_brd_wrap.type02 .brd_list .list .tag.type06 {background-color: cadetblue;}

.com_brd_wrap.type03 .brd_list {}
.com_brd_wrap.type03 .brd_list table {border-left: none;}
.com_brd_wrap.type03 .brd_list th, .com_brd_wrap.type03 .brd_list td {padding-left: 10px; padding-right: 10px; border: none;}
.com_brd_wrap.type03 .brd_list th {font-size: 20px; padding-top: 20px; padding-bottom: 20px;}
.com_brd_wrap.type03 .brd_list td {font-size: 18px; padding-top: 15px; padding-bottom: 15px;}

.com_brd_wrap.type04 .brd_list {font-size: 18px; border-top: 1px solid #000;}
.com_brd_wrap.type04 .brd_list > li {border-bottom: 1px solid #ddd;}
.com_brd_wrap.type04 .brd_list > li.active {border: 2px solid var(--com-sub-color-01);}
.com_brd_wrap.type04 .brd_list > li.active .question_box i {transform: rotate(180deg);}
.com_brd_wrap.type04 .brd_list p {font-family: "SCDream",sans-serif; line-height: 1.8;}
.com_brd_wrap.type04 .brd_list p span {font-size: 18px !important; font-family: "SCDream",sans-serif !important;}
.com_brd_wrap.type04 .brd_list .icon_q, 
.com_brd_wrap.type04 .brd_list .icon_a {flex-shrink: 0; width: 50px; font-size: 22px; font-weight: 800; font-family: "SCDream",sans-serif;}
.com_brd_wrap.type04 .brd_list .icon_q {color: #000;}
.com_brd_wrap.type04 .brd_list .icon_a {color: var(--com-sub-color-01);}
.com_brd_wrap.type04 .brd_list .question_box,
.com_brd_wrap.type04 .brd_list .answer_box {padding: 25px 30px 25px 50px; display: flex;}
.com_brd_wrap.type04 .brd_list .question_box {gap: 0 20px; justify-content: space-between; align-items: center;}
.com_brd_wrap.type04 .brd_list .question_box i {color: #888; transition: transform 0.3s ease; font-size: 26px;}
.com_brd_wrap.type04 .brd_list .question_box:hover {background-color: #efefef;}
.com_brd_wrap.type04 .brd_list .answer_box {display: none; background-color: #f7f8fa;}
.com_brd_wrap.type04 .brd_list .question_box .txt_box {display: flex;}




@media screen and (max-width: 1400px) {
    .com_brd_wrap.type01 .brd_list > div {gap: 0 35px; padding: 25px;}
    .com_brd_wrap.type01 .brd_list .title {font-size: 18px;}
    .com_brd_wrap.type01 .brd_list .ctt, 
    .com_brd_wrap.type01 .brd_list .related_info {font-size: 16px;}
    .com_brd_wrap.type01 .brd_list .txt_box > p:not(:last-of-type) {margin-bottom: 20px;}
    .com_brd_wrap.type01 .brd_list .img_box {width: 360px;}

    .com_brd_wrap.type02 .brd_list .category {font-size: 18px; height: 60px; padding: 0 30px;}
    .com_brd_wrap.type02 .brd_list .category i {font-size: 23px;}
    .com_brd_wrap.type02 .brd_list .list > div {padding: 12px 0;}
    .com_brd_wrap.type02 .brd_list .list > div > dd {font-size: 16px;}
    .com_brd_wrap.type02 .brd_list .list .tit {margin-bottom: 3px;}
    .com_brd_wrap.type02 .brd_list .list .tag {font-size: 13px;}

    .com_brd_wrap.type03 .brd_list th {font-size: 18px;}
    .com_brd_wrap.type03 .brd_list td {font-size: 16px;}

    .com_brd_wrap.type04 .brd_list {font-size: 16px;}
    .com_brd_wrap.type04 .brd_list .icon_q, 
    .com_brd_wrap.type04 .brd_list .icon_a {width: 35px; font-size: 20px;}
    .com_brd_wrap.type04 .brd_list .question_box, 
    .com_brd_wrap.type04 .brd_list .answer_box {padding: 20px 25px 20px 40px;}
    .com_brd_wrap.type04 .brd_list .question_box i {font-size: 22px;}
      .com_brd_wrap.type04 .brd_list p span {font-size: 16px !important;}
}

@media screen and (max-width: 1080px) {
    .com_brd_wrap.type01 .brd_list .img_box {width: 300px;}

    .com_brd_wrap.type02 .brd_list .list > div > dt {width: 20%;}
    .com_brd_wrap.type02 .brd_list .list > div > dd {width: 80%;}

}

@media screen and (max-width: 768px) {
    .com_brd_wrap.type01 .brd_list .img_box {width: 100%; flex-shrink: 0;}
    .com_brd_wrap.type01 .brd_list .img_box img {width: 100%; height: 100%;}
    .com_brd_wrap.type01 .brd_list > div {flex-wrap: wrap; gap: 20px 0; padding: 25px 15px;}
    .com_brd_wrap.type01 .brd_list .title {font-size: 16px;}
    .com_brd_wrap.type01 .brd_list .ctt, 
    .com_brd_wrap.type01 .brd_list .related_info {font-size: 14px;}
    .com_brd_wrap.type01 .brd_list .txt_box > p:not(:last-of-type) {margin-bottom: 15px;}

    .com_brd_wrap.type02 .brd_list .category {font-size: 16px; height: 50px; padding: 0 15px;}
    .com_brd_wrap.type02 .brd_list .category i {font-size: 19px;}
    .com_brd_wrap.type02 .brd_list .list > div {flex-wrap: wrap; padding: 15px;}
    .com_brd_wrap.type02 .brd_list .list > div > dt {width: 100%; justify-content: flex-start; padding: 0; margin-bottom: 10px;}
    .com_brd_wrap.type02 .brd_list .list > div > dd {width: 100%; padding: 0; font-size: 14px;}
    .com_brd_wrap.type02 .brd_list .list .tag {margin: 0; font-size: 12px; height: 27px; min-width: 50px;}

    .com_brd_wrap.type03 .brd_list th {font-size: 16px; padding-top: 15px; padding-bottom: 15px;}
    .com_brd_wrap.type03 .brd_list td {font-size: 14px;}

    .com_brd_wrap.type04 .brd_list {font-size: 14px;}
    .com_brd_wrap.type04 .brd_list .icon_q, 
    .com_brd_wrap.type04 .brd_list .icon_a {width: 30px; font-size: 18px;}
    .com_brd_wrap.type04 .brd_list .question_box, 
    .com_brd_wrap.type04 .brd_list .answer_box {padding: 15px 20px;}
    .com_brd_wrap.type04 .brd_list .question_box i {font-size: 18px;}
      .com_brd_wrap.type04 .brd_list p span {font-size: 14px !important;}

}

@media screen and (max-width: 480px) {
    .com_brd_wrap.type01 .brd_list > div {padding: 20px 10px;}



}

















@media screen and (max-width: 1560px) {
    
}
@media screen and (max-width: 1400px) {
    
}
@media screen and (max-width: 1240px) {
    
}
@media screen and (max-width: 1080px) {
    
}
@media screen and (max-width: 768px) {
    
}
@media screen and (max-width: 480px) {
    
}