@charset "utf-8";

/* 서브 레이아웃 본문 안 게시판 */
.koreacts-sub-body #bo_list,
.koreacts-sub-body #bo_v,
.koreacts-sub-body #bo_w {margin-bottom:0}

/* 게시판 목록 - 시안형 */
#bo_list.koreacts-board-list {position:relative;margin:0}
#bo_list.koreacts-board-list:after {display:block;visibility:hidden;clear:both;content:""}

.board-category-card {
    background:#ffffff;
    border:1px solid #dbe4ee;
    border-radius:8px;
    padding:10px 12px;
    box-shadow:0 5px 18px rgba(15, 23, 42, 0.035);
    margin-bottom:10px;
}
.category-card-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:7px;
}
.category-card-title {
    display:flex;
    align-items:center;
    gap:8px;
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    letter-spacing:-0.4px;
}
.category-card-title::before {
    content:'';
    width:3px;
    height:16px;
    background:#b8924c;
    border-radius:99px;
    display:block;
    flex-shrink:0;
}
.category-help {display:none}
.category-toggle-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:28px;
    padding:0 12px;
    border:1px solid #1e3a5f;
    border-radius:999px;
    background:#1e3a5f;
    color:#ffffff;
    font-size:11.5px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
    flex-shrink:0;
}
.category-toggle-btn:hover {
    background:#152a47;
    border-color:#152a47;
    color:#ffffff;
}
.category-mobile-select {display:none}
.board-category-card:not(.is-open) .book-category-grid {
    display:none !important;
}
.book-category-grid {
    display:grid !important;
    grid-template-columns:repeat(10, minmax(0, 1fr)) !important;
    gap:3px !important;
}
.book-category-grid a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:24px !important;
    height:24px !important;
    padding:2px 4px !important;
    border:1px solid #dbe4ee !important;
    border-radius:3px !important;
    background:#ffffff !important;
    color:#334155 !important;
    font-size:11.5px !important;
    font-weight:500 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-decoration:none;
    box-sizing:border-box;
}
.book-category-grid a:hover {
    background:#f8fafc !important;
    color:#1e3a5f !important;
    border-color:#94a3b8 !important;
}
.book-category-grid a.is-all {
    background:#f4ead5 !important;
    color:#7c5d25 !important;
    border-color:#e5d2a8 !important;
    font-weight:700 !important;
}
.book-category-grid a.is-all:hover {
    background:#e8d9b8 !important;
    color:#7c5d25 !important;
}
.book-category-grid a.is-active {
    background:#1e3a5f !important;
    color:#ffffff !important;
    border-color:#1e3a5f !important;
    font-weight:700 !important;
}
.book-category-grid a.is-all.is-active {
    background:#b8924c !important;
    color:#ffffff !important;
    border-color:#b8924c !important;
}

@media (max-width: 1100px) {
    .book-category-grid {
        grid-template-columns:repeat(9, minmax(0, 1fr)) !important;
    }
}

/* sermon2 성경 분류 필터 */
.bible-filter-card {
    background:#ffffff;
    border:1px solid #dbe4ee;
    border-radius:8px;
    padding:16px 18px;
    margin-bottom:14px;
}
.bible-filter-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
}
.bible-filter-title {
    display:flex;
    align-items:center;
    gap:8px;
    color:#0f172a;
    font-size:18px;
    font-weight:900;
}
.bible-filter-title::before {
    content:'';
    width:4px;
    height:22px;
    background:#b8924c;
    border-radius:99px;
}
.bible-filter-scope {
    color:#64748b;
    font-size:13px;
    font-weight:700;
}
.bible-book-grid {
    display:grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
    border-top:1px solid #dbe4ee;
    border-left:1px solid #dbe4ee;
}
.bible-book-link {
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #dbe4ee;
    border-bottom:1px solid #dbe4ee;
    background:#ffffff;
    color:#334155;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    box-sizing:border-box;
}
.bible-book-link:hover,
.bible-book-link.is-active {
    background:#f4ead5;
    color:#7c5d25;
}
.bible-chapter-panel {
    display:grid;
    grid-template-columns:160px minmax(0, 1fr);
    border:1px solid #dbe4ee;
    margin-top:12px;
    background:#ffffff;
}
.selected-book-name {
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #dbe4ee;
    background:#f8fafc;
    color:#334155;
    font-size:13px;
    font-weight:800;
    min-height:38px;
}
.chapter-links {
    display:flex;
    flex-wrap:wrap;
    gap:0;
    padding:7px 9px;
}
.chapter-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:24px;
    color:#475569;
    font-size:12px;
    text-decoration:none;
    border-radius:3px;
}
.chapter-link:hover,
.chapter-link.is-active {
    background:#1e3a5f;
    color:#ffffff;
}

#sermon2BibleFilter,
#sermon2ChapterPanel,
#sermon2WriteBibleFilter,
#sermon2WriteChapterPanel,
#sermon2BoardPanel {
    scroll-margin-top:18px;
}

@media (max-width: 768px) {
    .bible-filter-card {
        padding:13px 12px;
    }
    .bible-filter-title {
        font-size:15px;
    }
    .bible-filter-scope {
        font-size:12px;
    }
    .bible-book-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
    .bible-book-link {
        min-height:32px;
        font-size:12px;
    }
    .bible-chapter-panel {
        display:block;
    }
    .selected-book-name {
        min-height:34px;
        border-right:0;
        border-bottom:1px solid #dbe4ee;
    }
    .chapter-links {
        padding:8px;
    }
    .chapter-link {
        min-width:34px;
        height:26px;
        font-size:12px;
    }
    #sermon2BibleFilter,
    #sermon2ChapterPanel,
    #sermon2WriteBibleFilter,
    #sermon2WriteChapterPanel,
    #sermon2BoardPanel {
        scroll-margin-top:14px;
    }
}

.board-panel {
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 6px 22px rgba(15, 23, 42, 0.04);
}
.board-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 20px;
    background:#f8fafc;
    border-bottom:1px solid #e2e8f0;
}
.board-count {
    color:#475569;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}
.board-count strong {color:#0f172a}
.board-search-form {
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
}
.board-search-form input[type="text"] {
    width:240px;
    height:34px;
    border:1px solid #cbd5e1;
    border-radius:4px;
    background:#fff;
    color:#334155;
    font-size:14px;
    padding:0 10px;
    box-sizing:border-box;
}
.board-search-form button {
    height:34px;
    border:0;
    border-radius:4px;
    background:#b8924c;
    color:#fff;
    font-size:14px;
    font-weight:800;
    padding:0 15px;
    cursor:pointer;
}
.board-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:10px;
    padding:10px 20px;
    border-bottom:1px solid #eef2f7;
    background:#fff;
}
.board-admin-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
    margin-right:auto;
}
.board-admin-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:auto;
    width:auto;
    height:34px;
    padding:0 12px;
    border:1px solid #cbd5e1;
    border-radius:4px;
    background:#fff;
    color:#334155;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    writing-mode:horizontal-tb;
    cursor:pointer;
    box-sizing:border-box;
}
.board-admin-btn:hover {
    background:#f8fafc;
    color:#1e3a5f;
    border-color:#94a3b8;
}
#bo_list.koreacts-board-list .board-actions .btn_bo_user {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
    float:none;
    margin:0;
}
#bo_list.koreacts-board-list .board-actions .btn_bo_user li {
    display:inline-flex;
    width:auto;
    min-width:auto;
    margin:0;
}
#bo_list.koreacts-board-list .board-actions .btn_bo_user a,
#bo_list.koreacts-board-list .board-actions .btn_bo_user button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-width:auto;
    height:34px;
    padding:0 12px;
    white-space:nowrap;
    writing-mode:horizontal-tb;
}

.board-table-wrap {overflow-x:auto}
.board-table {
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}
.board-table th {
    height:44px;
    background:#ffffff;
    color:#334155;
    border-bottom:1px solid #cbd5e1;
    font-size:14px;
    font-weight:800;
    text-align:center;
}
.board-table td {
    border-bottom:1px solid #eef2f7;
    padding:12px 10px;
    color:#475569;
    font-size:14px;
    text-align:center;
    vertical-align:middle;
}
.board-table td.title {
    text-align:left;
    color:#1e293b;
    font-weight:600;
}
.board-table td.title a {color:#1e293b;text-decoration:none}
.board-table td.title a:hover {color:#b8924c;text-decoration:underline}
.board-table .num,
.board-table col.num,
.board-table th.num {width:80px}
.board-table .category,
.board-table col.category,
.board-table th.category {width:120px}
.board-table .date,
.board-table col.date,
.board-table th.date {width:120px}
.board-table .chk,
.board-table col.chk,
.board-table th.chk {width:46px}
.board-table td.category {
    color:#b8924c;
    font-weight:800;
    text-align:center;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.board-table td.title {
    text-align:left;
}
.board-table .empty_table {padding:40px 10px;color:#64748b}

.mobile-board-list {display:none}
.mobile-board-item {
    display:block;
    padding:14px 20px;
    border-bottom:1px solid #eef2f7;
    text-decoration:none;
    color:inherit;
    box-sizing:border-box;
}
.mobile-board-item:hover {background:#f8fafc}
.mobile-board-item .m-category {color:#b8924c;font-size:12px;font-weight:900;margin-bottom:4px}
.mobile-board-item .m-title {color:#0f172a;font-size:14px;font-weight:700;line-height:1.45;margin-bottom:0}
.mobile-board-empty {padding:40px 20px;text-align:center;color:#64748b;font-size:14px}

.board-pagination {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    padding:22px 10px;
    border-top:1px solid #eef2f7;
}
.board-pagination .pg_page,
.board-pagination .pg_current,
.board-pagination .pg_start,
.board-pagination .pg_prev,
.board-pagination .pg_next,
.board-pagination .pg_end,
.board-pagination a,
.board-pagination strong {
    min-width:34px;
    height:34px;
    border:1px solid #dbe4ee;
    border-radius:4px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#475569;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    box-sizing:border-box;
    padding:0 8px;
    line-height:1;
}
.board-pagination .pg_current,
.board-pagination strong.pg_current {
    background:#1e3a5f;
    color:#fff;
    border-color:#1e3a5f;
}
.board-pagination .pg_page:hover {background:#f8fafc;color:#1e3a5f}

#bo_list .bo_fx {padding:12px 20px 16px;border-top:1px solid #eef2f7}
#bo_list .bo_fx {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
}
#bo_list .bo_fx .btn_bo_user {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
    float:none;
    margin:0;
    padding:0;
    list-style:none;
}
#bo_list .bo_fx .btn_bo_user li {
    display:inline-flex;
    width:auto;
    margin:0;
}
#bo_list .bo_fx .btn_bo_user a,
#bo_list .bo_fx .btn_bo_user button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-width:auto;
    height:34px;
    padding:0 12px;
    white-space:nowrap;
    writing-mode:horizontal-tb;
}

/* 게시판 목록 공통 */
.selec_chk {position:absolute;top:0;left:0;width:0;height:0;opacity:0;outline:0;z-index:-1;overflow:hidden}
.chk_box {position:relative}
.chk_box input[type="checkbox"] + label {position:relative;color:#676e70}
.chk_box input[type="checkbox"] + label:hover {color:#2172f8}
.chk_box input[type="checkbox"] + label span {float:left;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}

.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
.btn_bo_user {margin:0;padding:0;list-style:none}
.btn_bo_user li {display:inline-block;width:40px;text-align:center;margin-left:5px;background:#fff;vertical-align:top}
.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:#fffaf0 !important}
.bo_notice td a {font-weight:bold}
.bo_notice .notice_icon {display:inline-block;line-height:25px;border-radius:5px;font-weight:bold;color:#b8924c}

.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 {float:left;display:inline-block;margin-right:10px;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_tit {display:block;color:#000;font-weight:bold}
.bo_current {color:#e8180c}
#bo_list .profile_img img {border-radius:50%}
#bo_list .cnt_cmt {background:#e9eff5;color:#3a8afd;font-size:11px;height:16px;line-height:16px;padding:0 5px;border-radius:3px;vertical-align:middle}

#bo_list .bo_tit .title_icon {margin-right:2px}
#bo_list .bo_tit .fa-heart {color:#ff0000}
#bo_list .bo_tit .fa-lock {display:inline-block;line-height:14px;width:16px;font-size:0.833em;color:#4f818c;background:#cbe3e8;text-align:center;border-radius:2px;font-size:12px;border:1px solid #cbe3e8;vertical-align:middle}
#bo_list .bo_tit .new_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#23db79;background:#b9ffda;text-align:center;border-radius:2px;margin-left:2px;font-weight:bold;vertical-align:middle}
#bo_list .bo_tit .hot_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#ff0000;background:#ffb9b9;text-align:center;border-radius:2px;vertical-align:middle}
#bo_list .bo_tit .fa-caret-right {color:#bbb}
#bo_list .bo_tit .fa-download {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#daae37;background:#ffefb9;text-align:center;border-radius:2px;margin-left:5px;vertical-align:middle}
#bo_list .bo_tit .fa-link {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#b451fd;background:#edd3fd;text-align:center;border-radius:2px;margin-left:5px;vertical-align:middle}

@media (max-width: 768px) {
    .board-category-card {padding:10px 10px;margin-bottom:10px}
    .category-card-title {font-size:14px}
    .category-mobile-select {
        display:grid !important;
        grid-template-columns:1fr auto;
        gap:6px;
        margin:7px 0 8px;
    }
    .category-mobile-select select,
    .category-mobile-select button {
        height:32px;
        border:1px solid #cbd5e1;
        border-radius:5px;
        font-size:12px;
        box-sizing:border-box;
    }
    .category-mobile-select select {padding:0 10px;background:#fff;color:#334155}
    .category-mobile-select button {
        border:0;
        background:#1e3a5f;
        color:#fff;
        font-weight:800;
        cursor:pointer;
        padding:0 12px;
    }
    .book-category-grid {
        display:grid !important;
        grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
        gap:3px !important;
    }
    .board-category-card:not(.is-open) .book-category-grid {
        display:none !important;
    }
    .book-category-grid a {
        min-height:24px !important;
        height:24px !important;
        padding:2px 3px !important;
        font-size:11px !important;
        font-weight:500 !important;
        border-radius:3px !important;
    }
    .board-toolbar {display:block;padding:13px 14px}
    .board-count {font-size:13px;margin-bottom:10px}
    .board-search-form {
        display:grid;
        grid-template-columns:minmax(0, 1fr) 58px;
        gap:5px;
        width:100%;
    }
    .board-search-form input[type="text"] {
        width:100%;
        min-width:0;
        height:34px;
        font-size:12.5px;
        padding:0 6px;
    }
    .board-search-form button {
        width:58px;
        height:34px;
        font-size:12.5px;
        padding:0 6px;
    }
    .board-actions {padding:10px 14px}
    .board-table-wrap {display:none}
    .mobile-board-list {display:block;padding:0 14px}
    .mobile-board-item {
        display:block;
        padding:13px 0;
        border-bottom:1px solid #eef2f7;
    }
    .mobile-board-item .m-category {
        color:#b8924c;
        font-size:14px;
        font-weight:800;
        line-height:1.35;
        margin-bottom:4px;
    }
    .mobile-board-item .m-title {
        color:#0f172a;
        font-size:14px;
        font-weight:700;
        line-height:1.45;
        margin-bottom:0;
    }
    .board-pagination {padding:16px 8px;gap:4px}
    .board-pagination .pg_page,
    .board-pagination .pg_current,
    .board-pagination a,
    .board-pagination strong {min-width:30px;height:30px;font-size:12px}
}

@media (max-width: 420px) {
    .book-category-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}

#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute !important;top:34px;right:0;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;
-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)}
#autosave_pop:before {content:"";position:absolute;top:-8px;right:45px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #000 transparent}
#autosave_pop:after {content:"";position:absolute;top:-7px;right:45px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:center;margin:0 !important}
#autosave_pop button {margin:0;padding:0;border:0}
#autosave_pop ul {padding:15px;border-top:1px solid #e9e9e9;list-style:none;overflow-y:scroll;height:130px;border-bottom:1px solid #e8e8e8}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #fff;background:#eee;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right;font-size:0.92em;font-style:italic;color:#999}
.autosave_close {cursor:pointer;width:100%;height:30px;background:none;color:#888;font-weight:bold;font-size:0.92em}
.autosave_close:hover {background:#f3f3f3;color:#3597d9}
.autosave_content {display:none}
.autosave_del {background:url(./img/close_btn.png) no-repeat 50% 50%;text-indent:-999px;overflow:hidden;height:20px;width:20px}

/* 게시판 읽기 */
#bo_v {margin-bottom:20px;background:#fff;box-sizing:border-box}

.sermon-view-category {
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:5px 12px;
    margin-bottom:12px;
    border-radius:5px;
    background:#fff8e8;
    color:#9a6a1f;
    border:1px solid #ead7aa;
    font-size:14px;
    font-weight:800;
    line-height:1.25;
}
.sermon-view-title,
#bo_v_title.sermon-view-title {
    margin:0 0 14px;
    color:#0f172a;
    font-size:28px;
    font-weight:800;
    line-height:1.35;
    letter-spacing:-1px;
    word-break:break-all;
}
.sermon-view-meta {
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:18px;
    margin-bottom:20px;
    border-bottom:1px solid #e2e8f0;
    color:#64748b;
    font-size:13px;
    font-weight:500;
}
#bo_v_info {margin:0 0 16px;border-bottom:0;color:#666}
#bo_v_info .profile_info {display:none}

@media (max-width: 768px) {
    .sermon-view-category {
        min-height:24px;
        padding:3px 8px;
        margin-bottom:8px;
        font-size:12px;
        font-weight:700;
    }
    .sermon-view-title,
    #bo_v_title.sermon-view-title {
        font-size:22px;
        line-height:1.4;
        letter-spacing:-0.8px;
        margin-bottom:12px;
    }
    .sermon-view-meta {
        font-size:12.5px;
        gap:10px;
        padding-bottom:14px;
        margin-bottom:16px;
    }
}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title .bo_v_cate {display:none}
#bo_v_title .bo_v_tit {display:none}

#bo_v_file h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_file li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_file li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_file a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_file a:focus, #bo_v_file li:hover a, #bo_v_file a:active {text-decoration:underline;color:#3a8afd}
#bo_v_file img {float:left;margin:0 10px 0 0}
#bo_v_file .bo_v_file_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_file li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_file li:hover i {color:#3a8afd}
#bo_v_file li:hover .bo_v_file_cnt {color:#99c2fc}


#bo_v_link h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_link li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_link li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_link a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_link a:focus, #bo_v_link li:hover a, #bo_v_link a:active {text-decoration:underline;color:#3a8afd}
#bo_v_link .bo_v_link_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_link li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_link li:hover i {color:#3a8afd}
#bo_v_link li:hover .bo_v_link_cnt {color:#99c2fc}

#bo_v_top {zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_top ul {padding:0;list-style:none;word-break:break-all;background:#fff}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_bot ul {padding:0;list-style:none}

.bo_v_com {margin:20px 0;float:right}
.bo_v_com > li {position:relative;float:left;margin-left:5px}

.bo_v_nb {position:relative;margin:20px 0;clear:both;text-align:left}
.bo_v_nb:after {display:block;visibility:hidden;clear:both;content:""}
.bo_v_nb li {border-top:1px solid #f1f1f1;padding:13px}
.bo_v_nb li:last-child {border-bottom:1px solid #f1f1f1}
.bo_v_nb li:hover {background:#f6f6f6}
.bo_v_nb li i {font-size:13px;color:#b3b3b3}
.bo_v_nb li .nb_tit {display:inline-block;padding-right:20px;color:#b3b3b3}
.bo_v_nb li .nb_date {float:right;color:#b3b3b3}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img a.view_image {display:block}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin:10px 0 30px;width:100%;line-height:1.7em;min-height:200px;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle;color:#4a5158}
#bo_v_act a:hover {background-color:#fff;color:#ff484f;border-color:#ff484f}
#bo_v_act i {font-size:1.4em;margin-right:5px}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;z-index:9999;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}
#bo_v_act .bo_v_good {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}
#bo_v_act .bo_v_nogood {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}

#bo_v_sns {padding:0;list-style:none;zoom:1;float:left;display:inline-block}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;width:135px;margin-right:5px;text-align:left}
#bo_v_sns li a {height:35px;line-height:35px;text-align:center;border-radius:5px;color:#fff;font-size:0.95em}
#bo_v_sns li img {vertical-align:middle;margin-right:5px}
#bo_v_sns li .sns_f {display:block;background:#3b5997}
#bo_v_sns li .sns_t {display:block;background:#09aeee}
#bo_v_sns li .sns_g {display:block;background:#ea4026}
#bo_v_sns li .sns_k {display:block;background:#fbe300}

#bo_v_share {position:relative;padding:20px 0}
#bo_v_share:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_share .btn {padding:0 10px;color:#555;font-weight:normal;font-size:1em;width:80px;line-height:35px;height:35px;border-color:#d5d5d5;border-radius:5px}
#bo_v_share .btn:hover {background:#fff}
#bo_v_share .btn i {margin-right:5px;color:#4b5259;vertical-align:middle}

/* 게시판 댓글 */
.cmt_btn {width:100%;text-align:left;border:0;border-bottom:1px solid #f0f0f0;background:#fff;font-weight:bold;margin:30px 0 0px;padding:0 0 15px}
.cmt_btn span.total {position:relative;display:inline-block;margin-right:5px;font-size:1em;color:#3a8afd}
.cmt_btn span.cmt_more {float:right;display:inline-block;width:15px;height:10px;background:url(./img/btn_cmt.png) no-repeat right 2px;margin-top:5px}
.cmt_btn_op span.cmt_more {background-position:right -8px}
.cmt_btn b {font-size:1.2em;color:#000}
.cmt_btn span.total:after {position:absolute;bottom:-17px;left:0;display:inline-block;background:#3a8afd;content:"";width:100%;height:2px}
#bo_vc {}
#bo_vc h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc article {margin:20px 0;position:relative;border-bottom:1px solid #f0f0f0}
#bo_vc article:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc article .profile_img img {border-radius:50%}
#bo_vc article .pf_img {float:left;margin-right:10px}
#bo_vc article .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_vc article .cm_wrap {float:left;max-width:870px;width:90%}
#bo_vc header {position:relative;width:100%}
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc header .profile_img {display:none}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {color:#777}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc .cmt_contents {line-height:1.8em;padding:0 0 20px}
#bo_vc p a {text-decoration:underline}
#bo_vc p a.s_cmt {text-decoration:underline;color:#ed6479}
#bo_vc_empty {margin:0;padding:80px 0 !important;color:#777;text-align:center}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc .bo_vl_opt {position:absolute;top:0;right:0}

.bo_vc_act {display:none;position:absolute;right:0;top:40px;width:58px;text-align:right;border:1px solid #b8bfc4;margin:0;list-style:none;background:#fff;zoom:1;z-index:9999}
.bo_vc_act:before {content:"";position:absolute;top:-8px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #b8bfc4 transparent}
.bo_vc_act:after {content:"";position:absolute;top:-6px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
.bo_vc_act li {border-bottom:1px solid #f0f0f0}
.bo_vc_act li:last-child {border-bottom:0}
.bo_vc_act li a {display:inline-block;padding:10px 15px}
.bo_vc_act li a:hover {color:#3a8afd}

.bo_vc_w {position:relative;margin:10px 0;display:block}
.bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.bo_vc_w #char_cnt {display:block;margin:0 0 5px}
.bo_vc_w textarea {border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;width:100%;height:120px;
-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1)}
#wr_secret {}
.bo_vc_w_info {margin:10px 0;float:left}
.bo_vc_w_info:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w_info .frm_input {float:left;margin-right:5px}
.bo_vc_w_info #captcha {padding-top:10px;display:block;clear:both}
.bo_vc_w .btn_confirm {clear:both;margin-top:10px}
.bo_vc_w .btn_confirm label {display:inline-block;margin-right:10px;border-radius:3px;font-size:1.5em;text-align:center}
.bo_vc_w .btn_submit {height:45px;padding:0 20px;border-radius:3px;font-weight:bold;font-size:1.083em}
.bo_vc_w .btn_confirm .secret_cm label {font-size:1em !important}
.bo_vc_w_wr:after {display:block;visibility:hidden;clear:both;content:""}
.secret_cm {display:inline-block;float:left}

#bo_vc_send_sns {display:inline-block;float:left}
#bo_vc_sns {display:inline-block;margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 5px 0 0}
#bo_vc_sns .sns_li_f {border-radius:3px;background:#3a589b;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_t {border-radius:3px;background:#00aced;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_off {background:#bbb}
#bo_vc_sns a {display:inline-block;padding:0 15px 0 5px}
#bo_vc_sns input {margin:0 5px 0 0}

/* 글쓰기 상단 레이아웃 — kboard-write */
#bo_w {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    overflow-x:clip;
}
#bo_w .kboard-write-top {
    width:100%;
    box-sizing:border-box;
    margin-bottom:16px;
}
#bo_w .kboard-write-category {
    width:280px;
    max-width:100%;
    margin-bottom:10px;
}
#bo_w .kboard-write-category select {
    display:block;
    width:100%;
    height:42px;
    padding:0 12px;
    border:1px solid #cbd5e1;
    border-radius:4px;
    background:#fff;
    color:#334155;
    font-size:14px;
    font-weight:600;
    box-sizing:border-box;
}
#bo_w .kboard-write-subject-row {
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:10px;
    margin-bottom:0;
}
#bo_w .kboard-write-subject {
    flex:1 1 auto;
    min-width:0;
}
#bo_w .kboard-write-subject input {
    display:block;
    width:100%;
    max-width:100%;
    height:42px;
    padding:0 14px;
    border:1px solid #cbd5e1;
    border-radius:4px;
    font-size:14px;
    color:#0f172a;
    box-sizing:border-box;
}
#bo_w .kboard-write-autosave {
    position:relative;
    flex:0 0 auto;
    flex-shrink:0;
}
#bo_w .kboard-write-autosave .btn_frmline,
#bo_w .kboard-write-autosave #btn_autosave {
    position:static;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:42px;
    line-height:1.2;
    padding:0 12px;
    margin:0;
    font-size:13px;
    white-space:nowrap;
    box-sizing:border-box;
}
#bo_w .kboard-write-autosave .btn,
#bo_w .kboard-write-autosave button,
#bo_w .kboard-write-autosave a {
    white-space:nowrap;
}
#bo_w .kboard-write-content {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    clear:both;
    margin-bottom:16px;
}
#bo_w .kboard-write-content .wr_content {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}
#bo_w .kboard-write-content iframe,
#bo_w .kboard-write-content .cke,
#bo_w .kboard-write-content textarea {
    max-width:100%;
    box-sizing:border-box;
}
#bo_w .kboard-write-top ~ .kboard-write-content {
    margin-top:0;
}
#bo_w #autosave_pop {
    top:calc(100% + 4px);
    right:0;
}
@media (max-width:768px) {
    #bo_w .kboard-write-category {
        width:100%;
        max-width:100%;
    }
    #bo_w .kboard-write-category select {
        width:100%;
        max-width:100%;
        height:44px;
        box-sizing:border-box;
    }
    #bo_w .kboard-write-subject-row {
        display:block;
        margin-bottom:0;
    }
    #bo_w .kboard-write-subject {
        width:100%;
        max-width:100%;
        margin-bottom:8px;
        box-sizing:border-box;
    }
    #bo_w .kboard-write-subject input {
        width:100%;
        max-width:100%;
        height:44px;
        box-sizing:border-box;
    }
    #bo_w .kboard-write-autosave {
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }
    #bo_w .kboard-write-autosave .btn_frmline,
    #bo_w .kboard-write-autosave #btn_autosave {
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }
    #bo_w #autosave_pop {
        left:0;
        right:0;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }
}

/*글쓰기*/
#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 .frm_input {padding-right:120px}
#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;border:1px solid #ccc;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}

/* sermon2 글쓰기 — 리스트 성경 분류 UI 재사용 */
#bo_w.sermon2-write {
    overflow-x: clip;
    max-width: 100%;
}
.bible-filter-card--write button.bible-book-link,
.bible-filter-card--write button.chapter-link {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: inherit;
}
.bible-filter-card--write button.bible-book-link {
    width: 100%;
    border-top: 0;
    border-left: 0;
}
.bible-filter-card--write button.chapter-link {
    border: 0;
    background: transparent;
}
.bible-filter-card--write button.chapter-link.is-active,
.bible-filter-card--write button.chapter-link:hover {
    background: #1e3a5f;
    color: #ffffff;
}
.sermon2-write-selected {
    margin: 10px 0 16px;
    color: #475569;
    font-size: 14px;
}
.sermon2-write-selected strong {
    color: #7c5d25;
    font-weight: 800;
}
.sermon2-write-char-desc,
.sermon2-write-char-count {
    font-size: 13px;
}
.sermon2-write-captcha {
    margin-top: 12px;
}
.sermon2-write-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
.sermon2-write-btn {
    min-width: 96px;
}

@media (max-width: 768px) {
    #bo_w.sermon2-write {
        padding-left: 0;
        padding-right: 0;
    }
    .sermon2-write-selected {
        font-size: 13px;
        margin: 8px 0 12px;
    }
}

