@charset "utf-8";

/***************** 공통 게시판 / 갤러리 리스트 상단 - total, 검색 *****************/
ul:has(.no-result){display: block;}
.no-result  {
    display: flex; justify-content: center; align-items: center;
    height: 340px; font-size: 15px; color: #999;
    @media (width <= 640px) {
        height: 200px;  font-size: 14px;
    }
}

.bo_top {
    position: relative; display: flex; justify-content: space-between; align-items: flex-end;
    width: 100%; margin-bottom: 28px;
    .total{font-weight: bold; color: var(--gray-color); line-height: 1;}
    .total span{color: var(--basic-color);}
    .bo-search {
        flex: 0 0 380px;
        .searchbar {position: relative; display: flex; padding: 4px; border: 1px solid var(--border-color); border-radius: 50px}
        .blind {display: none;}
        select,
        input[type="text"],
        input[type="submit"]{height: 42px; font-size: 16px; font-weight: bold; border: 0; background-color: transparent;}
        select {flex: 0 0 116px;}
        input[type="text"] { flex: 1; padding-left: 0;}
        input[type="text"]::placeholder{color: var(--gray-color)}
        input[type="submit"] {flex: 0 0 42px; font-size: 0; border-radius: 30px; background: var(--point-color0102) url('/assets/site/img/common/ico-search.png') no-repeat center / 16px auto;}
    }
    html:lang(en) & {
        .bo-search {
            flex: 0 0 420px;
            select{flex: 0 0 146px;}
        }
    }

    @media (width <= 860px) {
        margin-bottom: 20px;
        .total{font-size: 15px;}
        .bo-search {flex: 0 0 320px;}
    }
    @media (width <= 640px) {
        .total{display: none;}
        .bo-search {
            flex: 0 0 100%;
            text-align: right;
            .searchbar{display: inline-flex; max-width: 380px; width: 100%;}
            select,
            input[type="text"],
            input[type="submit"]{height: 38px; font-size: 15px;}
            select {flex: 0 0 104px;}
            input[type="submit"]{flex: 0 0 38px; font-size: 0;}
        }
        html:lang(en) & {
            .bo-search {
                flex: 0 0 100%;
                select{flex: 0 0 130px;}
            }
        }
    }
}

/***************** 공통 일반 게시판 리스트 *****************/
.bo_basic_list {border-top: 1px solid #222;}
.bo_basic_list table {width: 100%; text-align: center; table-layout: fixed;}
.bo_basic_list th {border-bottom: 1px solid #222; padding:15px 0; background: #f9f9f9;}
.bo_basic_list th.a {width: 12%;}
.bo_basic_list th.b {}
.bo_basic_list th.c {width: 12%;}
.bo_basic_list th.d {width: 12%;}
.bo_basic_list th.e {width: 15%;}
.bo_basic_list tbody tr:hover {background:#f5f5f5;}
.bo_basic_list tbody td {padding: 20px 0 20px; border-bottom: 1px solid #dbdbdb; vertical-align: middle;}
.bo_basic_list tbody td.tda {}
.bo_basic_list tbody td.tda span.notice {display: inline-block; width: 40px; vertical-align:baseline; text-align: center; font-size: 11px; color: #fff; background-color: #333; top: 50%; }
.bo_basic_list tbody td.tda span.notice::after {content: '공지'; font-size: 14px;}
.bo_basic_list tbody td.tdb {text-align: left; padding-left: 2%;}
.bo_basic_list tbody td.tdb a {display: inline-block; width: auto; max-width: 90%; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; vertical-align: middle; margin-right: 5px;}
.bo_basic_list tbody td.tdb span.date {display: none;}
.bo_basic_list tbody td.tdb span.new {display: inline-block; width: 15px; height: 15px; line-height: 15px; border-radius: 50%; font-size: 10px; margin: 0 5px; text-align: center; background:#e60012; color:#fff;}
.bo_basic_list tbody td.tdb span.file {display: inline-block; margin: 0 5px;}
.bo_basic_list tbody td.tdb span.lock {display: inline-block; margin: 0 5px 0 0;}
.bo_basic_list tbody td.tdc {}
.bo_basic_list tbody td.tdd {}
.bo_basic_list tbody td.tbe {color: var(--point-color0102);}

@media only screen and (max-width: 1600px) {
.bo_basic_list th.a {width: 10%;}
.bo_basic_list th.b {}
.bo_basic_list th.c {width: 12%;}
.bo_basic_list th.d {width: 10%;}
.bo_basic_list tbody td.tdb a {max-width: 80%;}
}

@media only screen and (max-width: 860px) {
    .bo_basic_list table {text-align: left;}
    .bo_basic_list th {display: none;}
    .bo_basic_list tbody tr {display: block; padding: 16px 0; border-bottom: 1px solid #e6e6e6; box-sizing: border-box;}
    .bo_basic_list tbody td {border-bottom: 0px; padding: 0;}
    .bo_basic_list tbody td.no_reulst{display: block; width: 100% !important; text-align: center; padding: 6rem 0;}
    .bo_basic_list tbody td.tda {display: none; /*글번호*/}
    .bo_basic_list tbody td.tdb {display: block; width: 100%; padding-left: 0; margin-bottom: 4px;}
    .bo_basic_list tbody td.tdb a {max-width: 85%; margin-right: 0;}
    .bo_basic_list tbody td.tdc,
    .bo_basic_list tbody td.tdd{font-size: 14px;}

    .bo_basic_list tbody td.tdc {display: inline-block; color: #aaa;}
    .bo_basic_list tbody td.tdc::after {content: ''; display: inline-block; width: 1px; height: 10px; background: #ccc; margin: 0 10px;}
    .bo_basic_list tbody td.tdd {display: inline-block; color: #aaa;}
    .bo_basic_list tbody td.tdd::before {content:'조회수'; margin-right: 3px;}
}

@media only screen and (max-width: 768px) {
.bo_basic_list tbody td.tdb a {max-width: 80%;}
}

@media only screen and (max-width: 640px) {
    .bo_basic_list tbody td.tdc,
    .bo_basic_list tbody td.tdd{font-size: 13px;}
}

@media only screen and (max-width: 460px) {
.bo_basic_list tbody td.tdb a {max-width: 70%;}
.bo_basic_list tbody td.tdb span.new {margin: 0 2px;}
.bo_basic_list tbody td.tdb span.file {margin: 0 2px;}
.bo_basic_list tbody td.tdb span.lock {display: inline-block; margin: 0 3px 0 0;}
}

/***************** 공통 일반 게시판 리스트 하단 - 페이징버튼 *****************/
.bo_footer {margin: 40px 0 0; position: relative;}

.bo-pagenate {
    .paging {position: relative; display: flex; justify-content: center; align-items: center; gap: 8px;}
    .paging a {display: flex; justify-content: center; align-items: center; width: 32px; aspect-ratio: 1; line-height: 1;}
    .paging a.lock{pointer-events: none; background-color: rgba(0,0,0,0.08); opacity: .5;}
    .paging .first,
    .paging .prev,
    .paging .next,
    .paging .end {font-size: 0;  border: 1px solid #dbdbdb; background-repeat: no-repeat; background-position: center;}
    .paging .first {background-image: url('/assets/site/img/board/arr-paging-first.svg');}
    .paging .prev {background-image: url('/assets/site/img/board/arr-paging-prev.svg');}
    .paging .next {background-image: url('/assets/site/img/board/arr-paging-next.svg');}
    .paging .end {background-image: url('/assets/site/img/board/arr-paging-last.svg');}
    .paging ol {display: flex; align-items: center; gap: 8px;}
    .paging ol li a {font-size: 14px; color: #666; border: 1px solid #dbdbdb;}
    .paging ol li a.on {color: #222; border-color: #222;}
    .paging ol li.last_page{display: none;}
    @media (width <= 860px) {
        .paging ol{margin: 0 6px;}
        .paging ol li{display: none;}
        .paging ol li.current,
        .paging ol li.last_page{display: flex; align-items: center;}
        .paging ol li:last-child:before{content: "/"; font-size: 12px; margin-right: 6px;}
        .paging ol li:first-child:before{display: none;}
        .paging ol li a{border: none; width: auto; font-size: 16px;}
        .paging ol li a.on{border: none; font-weight: 700;}
    }
}


/***************** 공통 일반 게시판 게시글 상세 페이지 *****************/
.bo_basic_view {
    --board-view-padding: 40px;
    .view-header {
        position: relative;
        display: flex; justify-content: space-between; align-items: center;
        padding: 0 0 20px; border-bottom: 1px solid var(--basic-color);
        .view-title{min-width: 0; flex: 1;}
        .view-title strong{display: block; font-size: 38px; font-weight: 700; color: var(--basic-color); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: left}
        .view-meta{flex: 0 0 120px; text-align: right}
        .view-date{ font-weight: bold; color: var(--gray-color);}
    }
    .view-content {
        position: relative; min-height: 200px; padding: 28px 0; overflow:hidden;
        font-size: 16px; line-height: 26px; word-break: keep-all;
        iframe.note-video-clip{max-width: 100%; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 0 auto;}
        .table{margin-bottom: 0;}
        img {max-width:100%; height:auto; margin: 6px 0;}
        a{text-decoration: underline;}
    }
    .view-nav {
        border-top: 1px solid #cbcbcb;
        font-size: 16px; color: #222; margin-top: 30px;
        .nav-item {display: flex; height: 61px; border-bottom: 1px solid #cbcbcb;}
        .nav-label, .nav-title, .nav-date{display: flex; align-items: center;}
        .nav-label {min-width: 180px; justify-content: center; gap: 10px; flex-shrink: 0; padding: 0 40px 0 calc(var(--board-view-padding) - 7px); font-weight: 400; background-color: #f9f9f9;}
        .nav-label i{width: 24px; aspect-ratio: 1; background: url('/assets/site/img/board/arr-bonav.svg') no-repeat 0 0 / 100% auto;}
        .icon-arrow-down{rotate: 180deg;}
        .nav-title{flex: 1; min-width: 0; padding-left: 20px;}
        .nav-title a{display: block; line-height: 38px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
        .nav-date { flex-shrink: 0; padding: 0 var(--board-view-padding);}
    }
    html:not(:lang(ko)) & {
        .view-nav .nav-label{min-width: 206px; justify-content: flex-start;}
    }
    @media (width <= 1280px) {
        .view-header{
            padding: 0 0 16px;
            .view-title strong{font-size: 34px;}
        }
        .view-content{padding: 24px 0;}
    }
    @media (width <= 1024px) {
        --board-view-padding: 20px;
        .view-header {
            .view-title strong{font-size: 30px;}
            .view-date{font-size: 15px;}
        }
        .view-nav {
            font-size: 15px;
            .nav-item {height: 58px;}
        }
    }
    @media (width <= 860px) {
        .view-header {
            padding: 0 0 14px;
            .view-title strong{font-size: 26px;}
            .view-date{font-size: 14px;}
        }
        .view-content{padding: 22px 0;}
        .view-nav .nav-label{min-width: 150px;}
        html:not(:lang(ko)) & {
            .view-nav .nav-label{min-width: 180px;}
        }
    }
    @media (width <= 640px) {
        --board-view-padding: 14px;
        .view-header {
            padding: 0 0 14px;
            flex-direction: column; justify-content: flex-start; align-items: flex-start;
            .view-title strong{font-size: 22px; text-overflow: initial; white-space: normal; overflow: visible; word-break: break-all;}
            .view-meta{flex: 0 0 auto;}
            .view-date{font-size: 14px;}
        }
        .view-content {padding: 20px 0; font-size: 15px; line-height: 25px;}
        .view-nav {
            font-size: 14px; margin-top: 20px;
            .nav-label {min-width: 110px; gap: 4px; padding: 0 18px 0 calc(var(--board-view-padding) - 7px);}
            .nav-item {height: 48px;}
            .nav-title{padding-left: 14px;}
            .nav-date{display: none;}
        }
        html:not(:lang(ko)) & {
            .view-nav .nav-label{min-width: 138px;}
        }
    }
}

/***************** 공통 일반 게시판 게시글 상세 페이지 내, 첨부파일 *****************/
.bo_basic_view .bbs_file_t {
    display: flex; align-items: center;
    line-height: 20px;
    padding: 25px; margin: 25px 0 0 0; background: #f5f5f5;
    .acc{position: relative; font-weight: 600;}
    .acc:after{content: ""; display: inline-block; width: 1px; height: 13px; background-color: #c1c1c1; margin: 0 14px;}
    .bbs_file_wrap{position: relative; top: -2px;}
    .bbs_file_wrap span{display: block;}
    .bbs_file_wrap span + span{margin: 10px 0 0;}
    .bbs_file_wrap span a{position: relative; display: block; max-width: 100%; box-sizing: border-box; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
    .bbs_file_wrap span a img{margin: 0 3px;}

    html:not(:lang(ko)) & {
        .bbs_file_wrap{top: 0;}
    }
    @media (width <= 640px) {
        flex-direction: column; align-items: flex-start; gap: 8px;
        padding: 16px 20px; margin-top: 20px;
        font-size: 15px;
        .acc:after{display: none;}

    }
}





/***************** 공통 갤러리 리스트 *****************/
.board-gallery {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 35px 40px;
    .gallery-item {
        > a{position: relative; display: flex; flex-direction: column; height: 100%;}
        > a:hover .gallery-thumb::before,
        > a:focus .gallery-thumb::before{opacity: 1; visibility: visible;}
        > a:hover .gallery-thumb img,
        > a:focus .gallery-thumb img{transform: scale(1.05);}
    }
    .gallery-thumb{position: relative; display: block; aspect-ratio: 420 / 232; box-sizing: border-box; overflow: hidden;}
    .gallery-thumb::before{content: ""; position: absolute; z-index: 1; top: 0; left: 0; display: block; width: 100%; height: 100%; background-color: rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transition: .2s ease-out;}
    .gallery-thumb img{width: 100%; height: 100%; object-fit: cover; transition: .2s ease-out;}
    /*.gallery-thumb:has(.no-img){border: 1px solid #e4e4e4;}*/
    .gallery-info{flex: 1; display: flex; flex-direction: column; margin-top: 18px;}
    .gallery-cate{font-size: 12px; font-weight: bold; color: var(--point-color0101); line-height: 1; text-transform: uppercase; margin-bottom: 7px;}
    .gallery-title { margin-bottom: 11px; }
    .gallery-title .title-wrap { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .gallery-title .title { font-size: 22px; font-weight: bold; line-height: 1.4; word-break: break-all; }
    .gallery-title .new { position: relative; top: -2px; display: inline-block; flex-shrink: 0; width: 15px; height: 15px; line-height: 15px; margin-left: 5px; border-radius: 50%; background: #e60012; color: #fff; font-size: 10px; text-align: center; display: none;}
    .gallery-desc{font-size: 15px; color: #777; line-height: 24px; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; display: none;}
    .gallery-date{display: block; font-size: 14px; color: #888; margin-top: auto;}
    @media (width <= 1280px) {
        grid-gap: 26px 30px;
        .gallery-info{margin-top: 14px;}
        .gallery-title{margin-bottom: 9px;}
        .gallery-title .title { font-size: 20px;}
    }
    @media (width <= 1200px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width <= 860px) {
        grid-gap: 24px;
        .gallery-info{margin-top: 12px;}
        .gallery-title{margin-bottom: 6px;}
        .gallery-title .title { font-size: 19px;}
        .gallery-date{font-size: 13px;}
    }
    @media (width <= 640px) {
        grid-template-columns: minmax(0, 1fr);
        .gallery-title .title { font-size: 20px;}
    }
}

/*뉴스 갤러리*/
.new-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 30px 20px;
    .gallery-thumb{aspect-ratio: 320 / 210; border-radius: var(--radius01) var(--radius01) 0 0;}
    .gallery-info{padding: 30px; border: 1px solid var(--border-color); border-top: 0; margin-top: 0; background: #fff; border-radius: 0 0 var(--radius01) var(--radius01);}
    .gallery-title { margin-bottom: 15px; }
    .gallery-title .title {font-size: 20px; line-height: 1.4;}
    .gallery-source{display: none; font-size: 13px; font-weight: bold; color: #999; margin-top: auto;}
    .is-press {
        .gallery-thumb{display: none;}
        .gallery-info{padding: 39px 30px 34px; border: 1px solid var(--border-color); border-radius: var(--radius01); background: #fff url('/assets/site/img/board/arr-rightup-black.png') no-repeat calc(100% - 40px) calc(100% - 37px) / 17px auto; }
        .gallery-title .title-wrap{-webkit-line-clamp: 3;}
        .gallery-cate{margin-bottom: 13px;}
        .gallery-desc{display: block; font-size: 12px; color: var(--gray-color); line-height: 18px; word-break: break-all; text-overflow: initial; -webkit-box-orient: initial; margin-bottom: 40px;}
        .gallery-date{display: none;}
        .gallery-source{display: block;}
    }
    @media (width <= 1420px) {
        .is-press .gallery-info{background-position: calc(100% - 24px) calc(100% - 37px);}
    }
    @media (width <= 1280px) {
        .gallery-info{padding: 24px;}
        .gallery-title .title {font-size: 19px;}
        .is-press .gallery-info{padding: 30px 24px 28px; background-position: calc(100% - 24px) calc(100% - 30px); }
    }
    @media (width <= 1200px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    @media (width <= 1024px) {
        .gallery-title .title {font-size: 18px;}
        .is-press .gallery-info{background-color: #fff;}
    }
    @media (width <= 860px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        .is-press {
            min-height: 280px;
            .gallery-info{background: #fff url('/assets/site/img/board/arr-rightup-black.png') no-repeat calc(100% - 24px) calc(100% - 30px) / 15px auto;}
        }
    }
    @media (width <= 640px) {
        grid-template-columns: 1fr; grid-gap: 20px;
        .gallery-thumb{aspect-ratio: 32 / 18;}
        .gallery-title .title {font-size: 20px;}
        .gallery-info{padding: 22px 20px;}
        .is-press {
            min-height: 260px;
            .gallery-info{padding: 30px 20px; background-position: calc(100% - 24px) calc(100% - 34px); }
        }
    }
}


/***************** 공통 게시글 작성하기 페이지 *****************/
.board_write_wrap .tit_area > div {}
.board_write_wrap .tit_area > div:after {content: ""; display: block; clear: both;}
.board_write_wrap .tit_area .t_label {float: left; display: block; vertical-align: middle; font-weight: 700; font-size: 1.2rem; width: 8%; margin-right: 1%; cursor: default;}
.board_write_wrap .tit_area .t_content{float: left; display: block; vertical-align: middle; width: 91%;}
.board_write_wrap .tit_area .short .t_content input {max-width: 300px;}
.board_write_wrap .content_area {margin-top: 2rem; min-height: 300px; box-sizing: border-box;}

@media screen and (max-width:640px){
.board_write_wrap .tit_area .t_label{float: none; display: block; width: 100%; margin-right: 0;}
.board_write_wrap .tit_area .t_content{float: none; display: block; width: 100%;}
.board_write_wrap .tit_area .short .t_content input {max-width: 200px;}
}

/***************** 글쓰기 에디터 커스텀 - 시작 *****************/
.note-frame {width: calc(100% - 2px) !important; border-radius: 0 !important; border-color: #dbdbdb !important; font-family: inherit !important;}
.note-placeholder {color: #bbb !important; padding: 1rem !important; font-weight: 300 !important;}
.note-editor .note-editing-area .note-editable {padding: 1rem !important; color: #222 !important;}
/* 230203 에디터 수정하면서 추가 */
.note-editor h4{clear: none !important; width: auto !important; padding: 0 !important; font-size: 1.5rem !important; font-weight: 500 !important;;}
.note-editor h4:before{display: none !important;}
.note-editor h4:after{display: none !important;}
.note-editor input{padding: 0; height: auto; width: auto;}
.note-editor label{height: auto; line-height: inherit;}
.note-editor .card-header{padding: 0.5rem; padding-top: 0 !important;}
.note-popover .popover-content>.note-btn-group,
.note-toolbar>.note-btn-group{margin-top: 0.5rem !important;}
.note-editor .modal{background-color: rgba(0, 0, 0, 0.5);}
/***************** 글쓰기 에디터 커스텀 - 끝 *****************/

.board_write_wrap .btn_area {margin-top: 2rem; text-align: center;}
.board_write_wrap .btn_area button {display: inline-block; padding: .8rem 1.5rem; font-size: 1.2rem; font-weight: 500;}
.board_write_wrap .btn_area .confirm {background: #111; color: #fff; margin-right: 0.5rem;}
.board_write_wrap .btn_area .cancel {background: #e5e5e5; color: #222;}

/***************** 첨부파일 *****************/
.fileform_wrap .b_files {font-size: 0;}
.fileform_wrap .b_files:after {content: ""; display: block; clear: both;}
.fileform_wrap .b_files:nth-child(n+2) {margin: 10px 0 0;}
.fileform_wrap .b_files > label {float: left; display: block; font-weight: 700; font-size: 1.2rem; width: 8%; margin-right: 1%;}
.fileform_wrap .custom-file {float: left; display: block; width: 91%; position: relative;}
.fileform_wrap .custom-file input {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;}
.fileform_wrap .custom-file label {border: 1px solid #dbdbdb; font-size: 1rem; box-sizing: border-box; display: block; line-height: 44px; padding: 0 1rem; color: #aaa;}
.fileform_wrap .upload_files_del {position: absolute; top: 0; left: 0; height: 100%; border: none; background: #666; color: #fff; padding: 0.3rem 1rem; cursor: pointer; display: inline-block;}
.fileform_wrap .custom-file.upload {}
.fileform_wrap .custom-file.upload label {padding-left: 70px; cursor: auto;}
.fileform_wrap .custom-file.upload label.img {padding-left: 115px;}
.fileform_wrap .custom-file.upload img {position: absolute; width: 40px; height: 30px; left: 65px; top: 50%; transform: translateY(-50%); object-fit: fill;}

@media screen and (max-width:1024px){
.fileform_wrap .b_files > label {float: none; display: block; width: 100%; margin-right: 0;}
.fileform_wrap .b_files .custom-file {float: none; display: block; width: 100%;}
}

@media screen and (max-width:640px){
.fileform_wrap .custom-file label {max-width: 100%; height: 40px; line-height: 38px;}
.fileform_wrap .upload_files_del {padding: 0.3rem 0.7rem;}
.fileform_wrap .custom-file.upload img {width: 30px; height: 20px; left: 50px;}
.fileform_wrap .custom-file.upload label {padding-left: 50px;}
.fileform_wrap .custom-file.upload label.img {padding-left: 85px;}
}

/***************** 개발용 - 캡챠 *****************/
#google_recaptha{display: block; overflow: hidden; width: 0; height: 0; line-height: 0; font-size: 0; opacity: 0;}

/* 비밀번호 입력 */
/*.pw_layer_popup {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
}
.pw_layer_popup .dimBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
  filter: alpha(opacity=50);
}
.pw_layer_popup .pwd_popup_wrap {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  height: auto;
  background-color: #fff;
  z-index: 10;
  padding: 1.6rem 2.4rem;
  box-sizing: border-box;
}
.pw_layer_popup h4{
  font-size: 1.2rem;
  color: #111;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}
.pw_layer_popup input[type="password"]{
  font-size: 1rem;
  padding: 0 1%;
  box-sizing: border-box;
  background: #f9f9f9;
  border: 1px solid #ddd;
  height: 48px;
  width: 96%;
  text-align: center;
}
.pw_layer_popup .btn_wrap{
  margin-top: 1.2rem; text-align: center;
}
.pw_layer_popup .btn_wrap button{
  display: inline-block; padding: 0.5rem 1rem; font-size: 1rem;
}
.pw_layer_popup .btn_wrap .btn_submit{
  background: #111; color: #fff;
}
.pw_layer_popup .btn_wrap .btn_cancel{
  background: #eee; color: rgb(65, 63, 63);
}
@media screen and (max-width:640px){
  .pw_layer_popup input[type="password"]{
    height: 40px;
  }
}
@media screen and (max-width:500px){
  .pw_layer_popup .pwd_popup_wrap{
    width: 75%;
    padding: 1.4rem 1.6rem;
  }
}*/
/***********************************************************************************/
/***************** 공통 게시판 리스트 - 비밀번호 입력 *****************/
.pw_layer_popup {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3000;}
.pw_layer_popup .dimBg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; opacity: .5; filter: alpha(opacity=50);}
.pw_layer_popup .pwd_popup_wrap {display: block; position: absolute;  top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 600px; height: auto; background-color: #fff; z-index: 10; padding: 1.6rem 2.4rem; box-sizing: border-box;}
.pw_layer_popup h4 {font-size: 1.2rem; color: #111; font-weight: 600; margin-bottom: 1rem; text-align: center;}
.pw_layer_popup input[type="password"] {font-size: 1rem; width: 96%; height: 48px; padding: 0 1%; background: #f9f9f9; border: 1px solid #ddd; box-sizing: border-box; text-align: center;}
.pw_layer_popup .btn_wrap {margin-top: 1.2rem; text-align: center;}
.pw_layer_popup .btn_wrap button {display: inline-block; padding: 0.5rem 1rem; font-size: 1rem;}
.pw_layer_popup .btn_wrap .btn_submit {background: #111; color: #fff;}
.pw_layer_popup .btn_wrap .btn_cancel {background: #eee; color: rgb(65, 63, 63);}

@media screen and (max-width:640px){
.pw_layer_popup input[type="password"] {height: 40px;}
}

@media screen and (max-width:500px){
.pw_layer_popup .pwd_popup_wrap {width: 75%; padding: 1.4rem 1.6rem;}
}

/*댓글*/
.comment { margin:20px 0 ;}
.comment .comment_input {position:relative; width:100%}
.comment p.c_byte { color:#999; padding:10px 0; }
.comment .comment_input table {width:100%;   border:1px solid #333}
.comment .comment_input th {padding:5px !important  }
.comment .comment_input td {width:90px}
.comment .comment_input textarea {float:left; width:100%; height:30px; outline:none; border:0; color:#999; overflow-y:hidden; padding:0!important; }
.comment .comment_input a {float:right; width:100%; line-height:50px; text-align:center;  background:#333; color:#fff;  border-left:1px solid #202020}
.comment .comment_input a:hover {}

.comment p.c_total { margin:20px 0 10px 0}
.comment .comment_list {border-top:1px solid #e6e6e6}
.comment .comment_list li {position:relative; border-bottom:1px solid #e6e6e6; padding:15px 0}
.comment .comment_list p.m_info { }
.comment .comment_list p.m_info span.id {  }
.comment .comment_list p.m_info span.date { color:#999; margin-left:10px;}
.comment .comment_list p.ment { color:#666; padding-top:5px}
.comment .comment_list p.btn{ padding-top:5px }
.comment .comment_list p.btn span{ margin-right:10px;   }
.comment .comment_list p.btn span.reply{background: url('./img/icon_reply.gif') 0px 3px no-repeat; padding-left:15px}
.comment .comment_list p.btn span a{ color:#999; font-size:12px}
.comment .comment_list li div.comment_input { margin:10px 2% 0 2%; width:96%}

/* 관리자 댓글 */
.admin_comment{}
.admin_comment .info{}
.admin_comment .info:after{content: ""; display: block; clear: both;}
.admin_comment .info .who{float: left; width: 200px;}
.admin_comment .info .when{float: left; width: calc(100% - 200px); text-align: right;}
.admin_comment .text{background-color: #f5f5f5; box-sizing: border-box; padding: 25px; height: 100px; overflow-y: auto;}

/* ************************ 댓글 기능 ************************ */
.comment_area .amount{
  border-bottom: 1px solid #444;
  padding: 0.5rem 0;
  font-size: 1.05rem;
}
.comment_area .write_wrap{
  margin-top: 2rem;
  padding-bottom: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}
.comment_area .write{
  display: flex;
}
.comment_area .write textarea{
  border: none;
  background-color: #f9f9f9;
  height: 110px;
  padding: 1.5rem;
}
.comment_area .write textarea:focus{
  border: 1px solid #222;
  background-color: #fff;
}
.comment_area .write .submit{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  color: #fff;
  padding: 0 4rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.comment_list li{
  position: relative;
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
}
.comment_list .info{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.comment_list .info .name{
  display: block;
}
.comment_list .info .date{
  display: block;
  color: #888;
  font-size: 0.9rem;
}
.comment_list .btn_area{
  position: absolute;
  right: 0;
  top: 1.5rem;
  gap: 0.4rem;
}
.comment_list .btn_area .btn{
  background-image: none; padding: 0;
}
.comment_list .btn_area .btn span{
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  background-color: #222;
  color: #fff;
}
@media (max-width: 1024px){
  .comment_area .write_wrap{
      padding-bottom: 20px;
      margin-top: 1.3rem;
  }
  .comment_area .write .submit{
      padding: 0 2rem;
      font-size: 1rem;
  }
}
@media (max-width: 768px){
  .comment_area .write textarea{
      padding: 1rem;
  }
}
@media (max-width: 425px){
  .comment_area .write{
      flex-direction: column;
  }
  .comment_area .write textarea{
  }
  .comment_area .write .submit{
      padding: 0.75rem 0;
  }
}


/* ==========================================================================
    BOARD CUSTOM
    ========================================================================== */
.pg-board {
    .bo_basic_list{border-top: 1px solid var(--point-color0102);}
    .bo_basic_list th,
    .bo_basic_list tbody td{line-height: 1;}
    .bo_basic_list th{padding: 26px 0;}
    .bo_basic_list tbody td{padding: 23px 0;}
    .bo_basic_list th{color: #999; border-color: #ddd; background-color: #f8f9fa}
    .bo_basic_list td{font-weight: bold; color: var(--gray-color);}
    .bo_basic_list th.a{width: 9.7%;}
    .bo_basic_list tbody td.tdb{font-size: 20px; color: var(--basic-color); padding: 0 20px;}
    .bo_basic_list tbody td.tda span.notice{display: inline-flex; justify-content: center; align-items: center; width: 46px; height: 22px; border-radius: 11px;}
    .bo_basic_list tbody td.tda span.notice::after{position: relative; top: 1px; font-size: 12px}


    /*갤러리*/
    .board_photo_wrap{padding-top: 25px; border-top: 1px solid #222;}
    .board_photo_wrap li a .contents{display: none;}
    .board_photo_wrap li a .tit{position: relative}
    .board_photo_wrap li a .tit .txt{max-width: 100%; height: 48px; white-space: normal; font-size: 18px; line-height: 24px; word-break: break-all}
    .board_photo_wrap li a .tit .txt{display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2;}
    .board_photo_wrap li a .tit .new{display: none}
    .form_wrap .form_table{border-width: 1px}

    .btn_wrap  .board-btn {
        display: inline-flex; justify-content: center; align-items: center;
        width: 100%; max-width: 180px; height: 48px;
        border: 1px solid var(--basic-color); border-radius: 5px; background: #fff;
        font-size: 16px; color: var(--basic-color); text-align: center; cursor: pointer;
        transition: .15s ease-out;
        &:hover{background: var(--basic-color); color: #fff;}
    }
    @media (width <= 1280px) {
        .bo_basic_list th{padding: 24px 0;}
        .bo_basic_list tbody td{padding: 21px 0;}
        .bo_basic_list tbody td.tdb{font-size: 18px; padding: 0 14px;}
    }
    @media (width <= 860px) {
        .bo_basic_list tbody tr {padding: 16px 0 10px;}
        .bo_basic_list th,
        .bo_basic_list tbody td{padding: 2px 0}
        .bo_basic_list tbody td.tdb{padding: 0; margin-bottom: 0;}
        .bo_basic_list tbody td.tdb a{max-width: 100%; line-height: 1.3; word-break: break-all; text-overflow: initial; overflow: visible; white-space: normal;}
        .bo_basic_list tbody td.tbe{padding-bottom: 8px;}
        .board_photo_wrap li:nth-child(n+2){margin-top: 30px;}
        .board_photo_wrap li a .tit .txt{display: block; height: auto}
    }
    @media (width <= 640px) {
        .bo_basic_list tbody tr:hover{background-color: transparent;}
        .bo_basic_list th,
        .bo_basic_list tbody td{font-size: 13px}
        .bo_basic_list tbody td.tdb{font-size: 17px;}
        .bo_basic_view > table th{padding: 18px 0}
        .bo_basic_view th span.tit,
        .bo_basic_view th span.date{display: block; float: none; width: 100%}
        .bo_basic_view th span.date{font-size: 13px; text-align: left; padding-top: 0; margin-top: 12px}

        .btn_wrap  .board-btn{max-width: 160px; font-size: 15px; height: 42px}
    }
}

/* ==========================================================================
    FAQ
   ========================================================================== */
.faq-accordion {
    --faq-padding: 34px;
    --bubble: 45px;
    border-top: 1px solid var(--point-color0102);
    .faq-accordion-item{border-bottom: 1px solid #ddd;}
    .faq-accordion-head{position: relative;}
    .faq-accordion-btn {position: relative; display: block; width: 100%; line-height: 32px; padding: 14px 50px 14px var(--faq-padding); text-align: left; white-space: normal;}
    .faq-accordion-btn:before{content: ""; position: absolute; top: 30px; right: 20px; width: 13px; height: 8px; background: url('/assets/site/img/board/arr-faq.svg') no-repeat 0 0 / 100% auto; rotate: 0; filter: brightness(0) saturate(100%) invert(59%) sepia(0%) saturate(7500%) hue-rotate(81deg) brightness(99%) contrast(102%); transition: rotate .25s ease-out;}
    .bubble-txt{flex: 0 0 var(--bubble); display: flex; justify-content: center; align-items: center; width: var(--bubble); height: var(--bubble); font-size: 20px; font-weight: bold; }
    .q-txt{color: #fff; background: url('/assets/site/img/board/faq-q.png') no-repeat 0 0 / 100% auto;}
    .a-txt{color: var(--point-color0102); background: url('/assets/site/img/board/faq-a.png') no-repeat 0 0 / 100% auto;}
    .faq-accordion-inner {display: flex; align-items: flex-start; gap: 43px;}
    .faq-cont{position: relative; top: 6px; flex: 1;}
    .q-title{max-width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; word-break: break-all; overflow-wrap: break-word; font-size: 18px; font-weight: bold;}
    .faq-accordion-body{display: grid; grid-template-rows: 0fr; padding: 0 var(--faq-padding); background-color: #f8f9fb; overflow: hidden; transition: grid-template-rows .25s ease-out;}
    .faq-accordion-cont{overflow: hidden; font-size: 15px; color: #777; line-height: 24px; transition: padding .3s ease-out;}
    .code-cont {
        .code-num{color: var(--point-color0101); margin-right: 12px;}
        .code-txt{font-weight: 400;}
    }
    .code-info {
        display: flex; flex-wrap: wrap;
        padding-bottom: 12px;
        .code-item{flex: 1 1 50%;}
        .code-item:not(:last-child){margin-bottom: 24px;}
        .in-tit{font-weight: bold; color: var(--basic-color);}
    }
    .faq-accordion-item.on {
        .faq-accordion-btn:before{rotate: 180deg;}
        .faq-accordion-body {grid-template-rows: 1fr; border-top: 1px solid #ddd;}
        .faq-accordion-cont {padding: 20px 0;}
    }
    @media (width <= 1280px) {
        --faq-padding: 24px;
        .faq-accordion-inner{gap: 24px;}
    }
    @media (width <= 1024px) {
        .faq-accordion-q .q-title{font-size: 17px;}
        .code-info {
            padding-bottom: 0;
            .code-item{flex: 0 0 100%;}
        }
    }
    @media (width <= 860px) {
        --faq-padding: 20px;
        --bubble: 36px;
        .faq-accordion-inner{gap: 14px;}
        .bubble-txt{font-size: 17px;}
        .faq-cont{top: 1px;}
    }
    @media (width <= 640px) {
        --faq-padding: 0;
        --bubble: 28px;
        .faq-accordion-btn {padding: 14px 10px 14px 0;}
        .faq-accordion-btn:before{display: none;}
        .faq-accordion-inner{gap: 10px;}
        .bubble-txt{font-size: 14px;}
        .faq-accordion-q .q-title{font-size: 15px; line-height: 24px;}
        .faq-accordion-body{padding: 0 14px 0 38px;}
        .a-txt{display: none;}
    }
}
