@charset "utf-8";

/* 게시판 목록 */
#bo_gall {
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    padding: 0 0 40px;
}
#bo_cate {
    margin: 25px 0;
}
#bo_cate h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
#bo_cate ul {
    zoom: 1;
}
#bo_cate ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
#bo_cate li {
    display: inline-block;
    padding: 2px;
}
#bo_cate a {
    display: block;
    line-height: 28px;
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid #d6e9ff;
    color: #6794d3;
}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
    text-decoration: none;
    background: #3a8afd;
    color: #fff;
}
#bo_cate #bo_cate_on {
    z-index: 2;
    background: #3a8afd;
    color: #fff;
    font-weight: bold;
    border: 1px solid #3a8afd;
    -webkit-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
    -moz-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
    box-shadow: inset 0 2px 5px rgb(33, 135, 202);
}
.td_subject img {
    margin-left: 3px;
}

.selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden;
}
.gall_box {
    position: relative;
}

.gall_chk.chk_box {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}
.chk_box {
    position: relative;
    /* top: 0; */
    /* left: 0; */
    margin: 10px 0;
}
.chk_box input[type="checkbox"] + label {
    position: relative;
    padding-left: 20px;
    color: #676e70;
    vertical-align: baseline;
}
.chk_box input[type="checkbox"] + label:hover {
    color: #2172f8;
}
.chk_box input[type="checkbox"] + label span {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    display: block;
    background: #fff;
    border: 1px solid #d0d4df;
    border-radius: 3px;
}
.write_div .chk_box input[type="checkbox"] + label,
.bo_vc_w .chk_box input[type="checkbox"] + label {
    padding-left: 20px;
}
.write_div .chk_box input[type="checkbox"] + label span,
.bo_vc_w .chk_box input[type="checkbox"] + label span {
    position: absolute;
    top: 2px;
    left: 0;
    width: 15px;
    height: 15px;
    display: block;
    margin: 0;
    background: #fff;
    border: 1px solid #d0d4df;
    border-radius: 3px;
}
.chk_box input[type="checkbox"]:checked + label {
    color: #000;
}
.chk_box input[type="checkbox"]:checked + label span {
    background: url(./img/chk.png) no-repeat 50% 50% #3a8afd;
    border-color: #1471f6;
    border-radius: 3px;
}
.all_chk.chk_box input[type="checkbox"] + label span {
    top: 0;
    left: 0;
}

/* 갤러리 목록 */
#bo_gall #gall_ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
}
#bo_gall .gall_li {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding: 0;
    margin: 0;
    position: relative;
}
#bo_gall .gall_li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#bo_gall .gall_img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
#bo_gall .gall_text_href {
    padding: 10px;
}
#bo_gall .bo_tit {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
#bo_gall .gall_info {
    padding: 5px 10px;
    font-size: 12px;
    color: #666;
}

.gall_row .col-gn-0,
.gall_row .col-gn-1,
.gall_row .col-gn-2,
.gall_row .col-gn-3,
.gall_row .col-gn-4,
.gall_row .col-gn-5,
.gall_row .col-gn-6,
.gall_row .col-gn-7,
.gall_row .col-gn-8,
.gall_row .col-gn-9,
.gall_row .col-gn-10 {
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 0;
}
.gall_row .col-gn-0,
.gall_row .col-gn-1 {
    width: 100%;
}
.gall_row .col-gn-2 {
    width: 50%;
}
.gall_row .col-gn-3 {
    width: 33.33333333%;
}
.gall_row .col-gn-4 {
}
.gall_row .col-gn-5 {
    width: 20%;
}
.gall_row .col-gn-6 {
    width: 16.66666667%;
}
.gall_row .col-gn-7 {
    width: 14.28571428%;
}
.gall_row .col-gn-8 {
    width: 12.5%;
}
.gall_row .col-gn-9 {
    width: 11.11111111%;
}
.gall_row .col-gn-10 {
    width: 10%;
}

.gall_row .box_clear {
    clear: both;
}

#bo_gall .gall_now .gall_text_href a {
    color: #ff3061;
}

#bo_gall .gall_href a:link,
#bo_gall .gall_href a:focus,
#bo_gall .gall_href a:hover {
    text-decoration: none;
}
#bo_gall .gall_img {
    border-bottom: 1px solid #eee;
    text-align: center;
    overflow: hidden;
    height: auto;
}
#bo_gall .gall_img a,
#bo_gall .gall_img .no_image,
#bo_gall .gall_img .is_notice {
    display: block;
}
#bo_gall .gall_img img,
#bo_gall .gall_img video {
    max-width: 100%;
    height: auto !important;
}
#bo_gall .gall_img span {
    display: inline-block;
    background: #eaeaea;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.25em;
    color: #777;
}

#bo_gall .gall_text_href {
    margin: 10px 0;
}
#bo_gall .gall_text_href a {
    font-weight: bold;
}
#bo_gall .gall_text_href img {
    margin: 0 0 0 4px;
}
#bo_gall .bo_tit {
    display: block;
    line-height: 30px;
    font-weight: bold;
    color: #000;
    font-size: 1.2em;
}
#bo_gall .bo_tit .cnt_cmt {
    background: #e9eff5;
    color: #3a8afd;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    border-radius: 3px;
    vertical-align: middle;
}

#bo_gall .bo_cnt {
    color: #acacac;
    line-height: 18px;
}
#bo_gall .profile_img img {
    border-radius: 50%;
}
#bo_gall .bo_tit .fa-download {
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: #e89f31;
    color: #fff;
    text-align: center;
    font-size: 10px;
    border-radius: 2px;
    margin-right: 2px;
    vertical-align: middle;
}
#bo_gall .bo_tit .fa-link {
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: #ad68d8;
    color: #fff;
    text-align: center;
    font-size: 10px;
    border-radius: 2px;
    margin-right: 2px;
    vertical-align: middle;
    font-weight: normal;
}
#bo_gall .bo_tit .fa-link {
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: #ad68d8;
    color: #fff;
    text-align: center;
    font-size: 10px;
    border-radius: 2px;
    margin-right: 2px;
    vertical-align: middle;
    margin-right: 2px;
}
#bo_gall .bo_tit .new_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.825em;
    color: #23db79;
    background: #b9ffda;
    text-align: center;
    border-radius: 2px;
    margin-left: 2px;
    font-weight: bold;
    vertical-align: baseline;
}
#bo_gall .bo_tit .hot_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #fff;
    background: #e52955;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 2px;
}
#bo_gall .bo_tit .fa-lock {
    display: inline-block;
    line-height: 16px;
    color: #999;
    text-align: center;
    vertical-align: middle;
}

#bo_gall .gall_info {
    line-height: 1.5em;
    line-height: 20px;
}
#bo_gall .gall_info strong {
    display: inline-block;
    margin: 0;
}
#bo_gall .gall_info i {
    font-size: 12px;
}
#bo_gall .gall_info .gall_date,
#bo_gall .gall_info .gall_view {
    display: inline-block;
    margin-left: 10px;
    color: #777;
}

#bo_gall .gall_option {
    position: absolute;
    top: 10px;
    right: 10px;
}
#bo_gall .gall_option strong {
    background: #fff;
    padding: 5px 10px;
    border-radius: 30px;
    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

/* 게시판 목록 공통 */
#bo_btn_top {
    margin: 0;
    position: relative;
    display: block;
}
#bo_btn_top:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
.bo_fx {
    margin: 20px 0;
}
.bo_fx:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
.bo_fx ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#bo_list_total {
    float: left;
    line-height: 34px;
    font-size: 0.92em;
    color: #4e546f;
}

.btn_bo_user {
    /* float: right; */
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.btn_bo_user li {
    text-align: center;
    background: #fff;
}
.btn_bo_user > li {
    position: relative;
}
.btn_bo_adm {
    float: left;
}
.btn_bo_adm li {
    float: left;
    margin-right: 5px;
}
.btn_bo_adm input {
    padding: 0 8px;
    border: 0;
    background: #d4d4d4;
    color: #666;
    text-decoration: none;
    vertical-align: middle;
}
.bo_notice td {
    background: #fff6fa !important;
    border-bottom: 1px solid #f8e6ee;
}
.bo_notice td a {
    font-weight: bold;
}
.bo_notice .notice_icon {
    display: inline-block;
    line-height: 25px;
    border-radius: 5px;
    font-weight: bold;
    color: #f9267f;
}

.more_opt {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: #fff;
    border: 1px solid #b8bfc4;
    z-index: 999;
}
.more_opt:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #b8bfc4 transparent;
}
.more_opt:after {
    content: "";
    position: absolute;
    top: -6px;
    right: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #fff transparent;
}
.more_opt li {
    border-bottom: 1px solid #f1f1f1;
    padding: 10px;
    float: inherit;
    width: 90px;
    margin: 0;
    color: #6b757c;
    text-align: left;
}
.more_opt li:last-child {
    border-bottom: 0;
}
.more_opt li button,
.more_opt li a {
    width: 100%;
    border: 0;
    background: #fff;
    color: #6b757c;
}
.more_opt li:hover a,
.more_opt li:hover button {
    color: #000;
}
.more_opt li i {
    float: right;
    line-height: 20px;
}

.td_num strong {
    color: #000;
}
.bo_cate_link {
    display: inline-block;
    background: #e2eaf6;
    color: #3a8afd;
    font-weight: normal !important;
    height: 20px;
    line-height: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.95em;
} /* 글제목줄 분류스타일 */
.bo_cate_link:hover {
    text-decoration: none;
}
.bo_current {
    color: #e8180c;
}
#bo_list .profile_img {
    display: inline-block;
    margin-right: 5px;
}
#bo_list .profile_img img {
    border-radius: 50%;
}
#bo_list .cnt_cmt {
    display: inline-block;
    margin: 0 0 0 3px;
    font-weight: bold;
    color: #ed6478;
    font-size: 0.86em;
}

#bo_gall li.empty_list {
    padding: 85px 0;
    text-align: center;
}

.bo_sch_wrap {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.bo_sch {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    text-align: left;
    width: 330px;
    max-height: 300px;
    margin-left: -125px;
    margin-top: -180px;
    overflow-y: auto;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.2);
    border: 1px solid #dde7e9;
    background: #fff;
    border-radius: 3px;
}
.bo_sch:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
.bo_sch h3 {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
}
.bo_sch legend {
    background: red;
}
.bo_sch form {
    padding: 15px;
    display: block;
}
.bo_sch select {
    border: 0;
    width: 100%;
    height: 40px;
    border: 1px solid #d0d3db;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.bo_sch .sch_bar {
    display: inline-block;
    width: 100%;
    clear: both;
    margin-top: 15px;
    border: 1px solid #d0d3db;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.bo_sch .sch_input {
    width: 250px;
    height: 38px;
    border: 0;
    padding: 0;
    background-color: transparent;
    float: left;
}
.bo_sch .sch_btn {
    height: 38px;
    float: right;
    color: #656565;
    background: none;
    border: 0;
    width: 40px;
    font-size: 15px;
}
.bo_sch .bo_sch_cls {
    position: absolute;
    right: 0;
    top: 0;
    color: #b5b8bb;
    border: 0;
    padding: 12px 15px;
    font-size: 16px;
    background: #fff;
}
.bo_sch_bg {
    background: #000;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

/* 게시판 쓰기 */
#bo_w .bo_v_option li {
    display: inline-block;
    float: left;
    text-align: left;
    margin: 0 5px 0 0;
}
#bo_w .bo_v_option li label {
    vertical-align: baseline;
}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {
    margin-left: 0;
    margin-right: 5px;
}
#bo_w .write_div {
    margin: 10px 0;
    position: relative;
}
#bo_w .write_div:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
#bo_w .bo_w_info:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
#bo_w .bo_w_info .frm_input {
    float: left;
    margin-bottom: 1%;
}
#bo_w #wr_password,
#bo_w #wr_homepage {
    margin-left: 1%;
}
#bo_w .wr_content.smarteditor2 iframe {
    background: #fff;
}
#bo_w .bo_w_tit {
    position: relative;
}
#bo_w .bo_w_tit #btn_autosave {
    position: absolute;
    top: 5px;
    right: 5px;
    line-height: 30px;
    height: 30px;
}
#bo_w .bo_w_link label {
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 3px 0 0 3px;
    height: 38px;
    line-height: 38px;
    width: 40px;
    font-size: 1.2em;
    text-align: center;
    color: #b2b2b2;
}
#bo_w .bo_w_link .frm_input {
    padding-left: 50px;
}
#bo_w .bo_w_flie .lb_icon {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 3px 0 0 3px;
    height: 38px;
    line-height: 38px;
    width: 40px;
    font-size: 1.2em;
    text-align: center;
    color: #b2b2b2;
}
#bo_w .bo_w_flie .frm_file {
    padding-left: 50px;
    margin-top: 3px;
}
#bo_w .bo_w_flie .file_wr {
    position: relative;
    background: #fff;
    color: #000;
    vertical-align: middle;
    border-radius: 3px;
    padding: 5px;
    height: 40px;
    margin: 0;
}
#bo_w .bo_w_flie .frm_input {
    margin: 10px 0 0;
}
#bo_w .bo_w_flie .file_del {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.92em;
    color: #7d7d7d;
}
#bo_w .bo_w_select select {
    border: 1px solid #d0d3db;
    width: 100%;
    height: 40px;
    border-radius: 3px;
}
#bo_w .btn_submit {
    padding: 0 20px;
    font-size: 1.167em;
}
#bo_w .btn_cancel {
    border-radius: 3px;
    font-size: 1.167em;
}

/* 게시물 읽기 (view.skin.php) */
#bo_v {
    margin-bottom: 20px;
    background: #fff;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#bo_v header {
    margin-bottom: 20px;
}

#bo_v_title {
    font-size: 2em;
    color: #333;
}

#bo_v_info {
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
}

#bo_v_atc {
    margin: 20px 0;
}

#bo_v_img img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

#bo_v_con {
    line-height: 1.7em;
    font-size: 16px;
}

#bo_v_file ul,
#bo_v_link ul {
    list-style: none;
    padding: 0;
}

#bo_v_file li,
#bo_v_link li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.bo_v_nb {
    margin: 20px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.bo_v_nb li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.bo_v_nb li:last-child {
    border-bottom: none;
}
.btn_b01.btn,
button#btn_submit {
    padding: 0px 15px;
    border: 1px solid var(--color-text-tertiary);
    background: var(--color-text-tertiary);
    color: var(--color-secondary);
    text-decoration: none;
    vertical-align: middle;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
}
.btn_b01.btn:hover,
button#btn_submit:hover {
    border: 1px solid var(--color-text-tertiary);
    background: #fff;
    color: #000;
}
.cm_wrap h2 {
    font-size: 14px;
    margin-top: 0px;
}
ul.bo_vc_act {
    margin: 10px;
    max-width: 100px;
}
ul.bo_vc_act li {
    padding: 5px;
}
/* 반응형 수정: max-width 1024px 이하 모바일 */
@media (max-width: 1024px) {
    #bo_gall #gall_ul {
        grid-template-columns: repeat(3, 1fr); /* 태블릿 3열 */
    }
    .gall_img img {
        height: 180px; /* 썸네일 높이 축소 */
    }
    .bo_tit {
        font-size: 14px; /* 폰트 크기 조정 */
    }
    .btn_bo_user li a {
        /* 버튼 터치 친화적 */
    }
    #bo_v {
        padding: 10px;
    }
    #bo_v_title {
        font-size: 1.5em;
    }
    #bo_v_con {
        font-size: 14px;
    }
    #bo_v_img img {
        width: 100%;
        height: auto;
    }
    .bo_v_com ul {
        flex-direction: column;
        gap: 5px;
    }
    #bo_btn_top {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    #bo_gall #gall_ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        display: grid;
        justify-content: center;
        align-items: center;
        justify-items: center;
        text-align: center;
    }
    .gall_li {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gall_img img {
        height: 150px;
    }
    .gall_text_href {
        padding: 8px;
    }
    .gall_info {
        font-size: 11px;
    }
    #bo_v_title {
        font-size: 1.2em;
    }
    #bo_v_info {
        padding: 5px;
    }
    #bo_v_con {
        font-size: 13px;
    }
    .bo_v_nb li {
        padding: 5px 0;
    }
}
