@charset "utf-8";

.forum-board-skin {
    overflow: hidden;
    padding: 0;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}
.forum-board-intro {
    display: none;
}
.forum-skin-head {
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf3;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(245, 158, 11, .10)),
        #fbfcfe;
}
.forum-skin-head span {
    display: block;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.forum-skin-head h2 {
    margin: 0;
    color: #172033;
    font-size: 24px;
    line-height: 1.25;
}
.forum-skin-head p {
    margin: 9px 0 0;
    color: #667085;
    line-height: 1.65;
}
.forum-skin-head--view {
    background:
        linear-gradient(135deg, rgba(23, 32, 51, .06), rgba(15, 118, 110, .09)),
        #fff;
}
.forum-list-skin #bo_btn_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #edf1f5;
}
.forum-list-skin .btn_bo_user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}
.forum-list-skin .btn_bo_user li {
    float: none;
    margin: 0;
}
.forum-list-skin .btn_bo_user .btn,
.forum-board-skin .bo_sch .sch_btn,
.forum-board-skin .bo_sch_cls {
    display: grid !important;
    width: 38px;
    min-width: 38px;
    height: 38px !important;
    padding: 0 !important;
    place-items: center;
    border: 1px solid #d6dfe9 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
}
.forum-list-skin .btn_bo_user .btn i,
.forum-board-skin .bo_sch .sch_btn i,
.forum-board-skin .bo_sch_cls i {
    display: block;
    width: 19px;
    height: 19px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    color: transparent !important;
    font-size: 0 !important;
}
.forum-list-skin .btn_bo_user .fa-search,
.forum-board-skin .bo_sch .sch_btn i { background-image: url("../../../img/forum/search.svg"); }
.forum-list-skin .btn_bo_user .fa-pencil { background-image: url("../../../img/forum/write.svg"); }
.forum-list-skin .btn_bo_user .fa-rss,
.forum-list-skin .btn_bo_user .fa-ellipsis-v { background-image: url("../../../img/forum/comment.svg"); }
.forum-list-skin .btn_bo_user .fa-cog { background-image: url("../../../img/forum/board-server.svg"); }
.forum-board-skin .bo_sch_cls i { background-image: url("../../../img/forum/close.svg"); }
.forum-list-skin .btn_bo_user .fa-spin { animation: none !important; }
.forum-list-skin #bo_list_total {
    color: #667085;
    font-weight: 700;
}
.forum-list-skin #bo_list_total span {
    color: #172033;
}
.forum-list-skin .tbl_wrap {
    margin: 0;
}
.forum-list-skin table {
    border-collapse: separate;
    border-spacing: 0;
}
.forum-list-skin thead th {
    height: 42px;
    border: 0;
    border-bottom: 1px solid #e8edf3;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}
.forum-list-skin tbody td {
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
}
.forum-list-skin tbody tr:hover td {
    background: #fbfdfd;
}
.forum-list-skin .td_subject {
    padding-top: 15px;
    padding-bottom: 15px;
}
.forum-list-skin .bo_tit a {
    color: #172033;
    font-size: 15px;
    font-weight: 900;
}
.forum-list-skin .td_name,
.forum-list-skin .td_num,
.forum-list-skin .td_datetime {
    color: #667085;
}
.forum-list-skin .td_name {
    min-width: 116px;
    white-space: nowrap;
}
.forum-board-skin .profile_img {
    display: inline-grid;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    background: #172033 url("../../../img/forum/mark.svg") no-repeat center / cover;
    vertical-align: middle;
}
.forum-board-skin .profile_img img {
    display: block;
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px;
}
.forum-board-skin .profile_img img[src$="no_profile.gif"] {
    opacity: 0;
}
.forum-list-skin .notice_icon,
.forum-list-skin .bo_current,
.forum-list-skin .bo_cate_link {
    border-radius: 8px;
    background: #edf7f5;
    color: #0f766e;
    font-weight: 900;
}
.forum-list-skin .cnt_cmt {
    margin-left: 6px;
    border-radius: 999px;
    background: #fff3d6;
    color: #9a5b00;
}
.forum-list-skin .new_icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    vertical-align: middle;
    border-radius: 999px;
    background: #172033 url("../../../img/forum/new.svg") no-repeat center / 18px 18px;
    color: transparent;
    font-size: 0;
}
.forum-list-skin .cnt_cmt:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: -2px 4px 0 0;
    vertical-align: middle;
    background: url("../../../img/forum/comment.svg") no-repeat center / contain;
}
.forum-board-skin .btn_b01,
.forum-board-skin .btn_b02,
.forum-board-skin .btn_admin,
.forum-board-skin .btn_submit,
.forum-board-skin .btn_cancel {
    border-radius: 8px !important;
}
.forum-board-skin .btn_b01 {
    border: 1px solid #d6dfe9 !important;
    background: #fff !important;
    color: #172033 !important;
}
.forum-board-skin .btn_b02,
.forum-board-skin .btn_submit {
    border: 1px solid #172033 !important;
    background: #172033 !important;
    color: #fff !important;
}
.forum-view-skin > header,
.forum-view-skin #bo_v_info,
.forum-view-skin #bo_v_atc,
.forum-view-skin #bo_v_top,
.forum-view-skin #bo_v_file,
.forum-view-skin #bo_v_link,
.forum-view-skin #bo_vc,
.forum-view-skin #bo_vc_w {
    margin-left: 22px;
    margin-right: 22px;
}
.forum-view-skin > header {
    margin-top: 22px;
}
.forum-view-skin #bo_v_title {
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf3;
}
.forum-view-skin #bo_v_title .bo_v_tit {
    color: #172033;
    font-size: 26px;
    line-height: 1.3;
}
.forum-view-skin .bo_v_cate {
    border-radius: 8px;
    background: #edf7f5;
    color: #0f766e;
}
.forum-view-skin #bo_v_info {
    border-bottom: 1px solid #edf1f5;
}
.forum-view-skin #bo_v_con {
    color: #263241;
    font-size: 16px;
    line-height: 1.85;
}
.forum-view-skin #bo_v_act {
    border-top: 1px solid #edf1f5;
}
.forum-write-skin {
    padding-bottom: 22px;
}
.forum-write-skin form {
    margin: 22px;
}
.forum-write-skin .write_div {
    margin-bottom: 12px;
}
.forum-write-skin .frm_input,
.forum-write-skin .frm_file,
.forum-write-skin textarea,
.forum-write-skin select {
    border-color: #cbd5e1 !important;
    border-radius: 8px !important;
}
.forum-write-skin #wr_subject {
    height: 46px;
    font-size: 16px;
    font-weight: 800;
}
.forum-write-skin .btn_confirm {
    padding-top: 8px;
}
@media (max-width: 720px) {
    .forum-skin-head {
        padding: 18px;
    }
    .forum-skin-head h2 {
        font-size: 21px;
    }
    .forum-list-skin #bo_btn_top {
        display: block;
    }
    .forum-list-skin .btn_bo_user {
        margin-top: 12px;
    }
    .forum-list-skin .td_num,
    .forum-list-skin .td_datetime,
    .forum-list-skin th:nth-last-child(1),
    .forum-list-skin td:nth-last-child(1) {
        display: none;
    }
    .forum-view-skin > header,
    .forum-view-skin #bo_v_info,
    .forum-view-skin #bo_v_atc,
    .forum-view-skin #bo_v_top,
    .forum-view-skin #bo_v_file,
    .forum-view-skin #bo_v_link,
    .forum-view-skin #bo_vc,
    .forum-view-skin #bo_vc_w,
    .forum-write-skin form {
        margin-left: 14px;
        margin-right: 14px;
    }
}

/* ============================================
   유튜브 임베드 (wr_10)
   ============================================ */
#bo_v_youtube {
    margin: 24px 0;
}

#bo_v_youtube .youtube_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

#bo_v_youtube .youtube_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 유튜브 입력 필드 아이콘 색상 */
.bo_w_youtube label .fa-youtube-play {
    color: #ff0000;
}
