@charset "utf-8";
legend{
	width:auto !important;
}
/* =============================================================================
   기본 및 Q&A 상태 스타일
============================================================================= */
.qa_status_badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    margin-right: 5px;
    vertical-align: middle;
    text-align: center;
    line-height: 1.5;
	width:80px;
}
.qa_waiting { background-color: #fff !important; border:1px solid #333 !important; color:#333 !important;}
.qa_hold { background-color: #9c27b0 !important; }
.qa_complete { background-color: #333 !important; }

/* =============================================================================
   게시판 목록 (List)
============================================================================= */
/* 전체 감싸기 */
#bo_list_wrap {
    max-width: 1200px;
    margin: 100px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

/* 상단 버튼 영역 */
#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
#bo_list_total {
    background: #172b4d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}
#bo_btn_top .btn_bo_user {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
#bo_btn_top .btn_bo_user > li {
    position: relative;
}
#bo_btn_top .btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 7px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#bo_btn_top .btn i { margin-right: 5px; }
#bo_btn_top .btn_b02 {
    background: #172b4d;
    border-color: #172b4d;
    color: #fff;
}
#bo_btn_top .btn_more_opt {
    position: relative;
}
.more_opt {
    display: none;
    position: absolute;
    top: auto;
    right: auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 10;
    list-style: none;
    padding: 15px 10px;
    margin: 5px 0 0;
    width: 120px;
	text-align:center;
}
.more_opt li button {
    background: none;
    border: none;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9em;
}
.more_opt li i { margin-left: 15px; }

a.btn_b02:hover, .btn_b02:hover{
	background:#172b4d;
	color:#fff;
}
/* 리스트 본문 */
#bo_list {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.bo_list_head_wrap {
    display: flex;
    background-color: #f9f9f9;
    font-weight: bold;
    padding: 0 10px;
    border-bottom: 1px solid #e9ecef;
}
.bo_list_head {
    padding: 12px 5px;
    text-align: center;
    color: #333;
}
#bo_list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bo_list_body li {
    display: flex;
    padding: 0 10px;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
    min-height: 52px;
}
.bo_list_body li:last-child {
    border-bottom: 0;
}
.bo_list_body li.bo_notice {
    background-color: #fffaf0;
    font-weight: bold;
}
.bo_list_body li > div {
    padding: 10px 5px;
    text-align: center;
    color: #555;
}
.bo_list_head.list_subject, .bo_list_body li > .list_subject { text-align: left; }

/* 컬럼 너비 */
.list_chk { flex: 0 0 40px; }
.list_num { flex: 0 0 70px; }
.list_subject { flex: 1 1 0; }
.list_writer { flex: 0 0 120px; }
.list_status { flex: 0 0 100px; }
.list_view { flex: 0 0 80px; }
.list_date { flex: 0 0 100px; }

/* 리스트 내용 스타일 */
.list_subject a {
    color: #333;
    text-decoration: none;
}
.cnt_cmt { color: #d9534f; font-size: 0.9em; margin-left: 5px; font-weight: bold; }
.fa-lock { margin-left: 5px; }
.list_date { font-size: 0.9em; color: #777; }
.bo_current { color: #d9534f; font-weight: bold; }
.empty_list { padding: 50px 0; text-align: center; color: #888; }

/* 체크박스 */
.chk_box { text-align: center; }
.chk_box input[type="checkbox"] { display: none; }
.chk_box label {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.chk_box label span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
}
.chk_box input[type="checkbox"]:checked + label span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #337ab7;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.all_chk.chk_box { flex: 0 0 40px; }

/* 페이지네이션 */
.pagination { margin: 25px 0 0; text-align: center; }
.pg_page, .pg_current {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
}
.pg_current {
    background-color: #337ab7;
    color: #fff;
    font-weight: bold;
    border-color: #2e6da4;
}

/* 하단 버튼 */
.bo_fx {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}
.bo_fx .btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    color: #555;
}
.bo_fx .btn_b02 {
    background: #172b4d;
    border-color: #172b4d;
    color: #fff;
	height:40px;
	line-height:1.3;
}
.bo_fx .btn_admin {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
	height:40px;
}


/* 검색폼 */
#bo_sch {
    margin-top: 30px;
    text-align: center;
    border: 0;
    padding: 0;
}
#bo_sch select, #bo_sch .sch_input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    vertical-align: middle;
    height: 36px;
}
#sfl{
	width:25%;
}
.sch_input{
	width:50%;
}
#bo_sch .sch_btn {
    padding: 8px 12px;
    height: 36px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    border-radius: 3px;
    vertical-align: middle;
    cursor: pointer;
}


/* =============================================================================
   반응형 스타일
============================================================================= */
@media (max-width: 991px) {
    .list_writer { flex: 0 0 100px; }
    .list_status, .list_view { display: none; }
}

@media (max-width: 767px) {
    .bo_list_head_wrap { display: none; }
    .bo_list_body li {
        flex-wrap: wrap;
        position: relative;
        padding: 10px;
        padding-left: 45px;
    }
	
	.bo_list_body li.empty_list{
		display:block;
	}
    .list_chk {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 10px;
    }
    .list_subject { width: 100%; order: 1; text-align: left; padding: 0 0 8px; font-size: 1.05em; }
    .list_num, .list_view, .list_status { display: none !important; }

    .list_writer { order: 2; flex: 0 0 auto; font-size: 0.85em; color: #888; padding: 0; }
    .list_date { order: 3; flex: 0 0 auto; font-size: 0.85em; color: #888; padding: 0; margin-left: auto; }

    #bo_btn_top { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0;}
    #bo_btn_top .btn_bo_user { width: 100%; justify-content: flex-end; }
    .bo_fx { flex-direction: column; gap: 8px; }
    .bo_fx .btn { width: 100%; text-align: center; }
}

/* =============================================================================
   게시판 쓰기 (Write)
============================================================================= */
#bo_w {
    max-width: 1200px;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

#bo_w form > .write_div {
    margin-bottom: 25px;
}

#bo_w form > .write_div:last-child {
    margin-bottom: 0;
}

#bo_w .frm_input,
#bo_w select,
#bo_w textarea {
    border: 1px solid #d0d3db;
    border-radius: 5px;
    padding: 0 12px;
    width: 100%;
    font-size: 0.95em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 42px;
    color: #333;
}

#bo_w textarea {
    height: auto;
    padding: 12px;
    line-height: 1.6;
}

#bo_w .bo_w_info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
#bo_w .bo_w_info .frm_input {
    flex: 1 1 48%;
}

#bo_w .bo_v_option {
    margin: 0;
    padding: 15px;
    list-style: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

#bo_w .wr_content .smarteditor2 {
    border: 1px solid #d0d3db;
    border-radius: 5px;
}
#bo_w .wr_content textarea {
    min-height: 250px;
}

#bo_w .bo_w_flie .frm_file {
    margin-bottom: 8px;
}
#bo_w .bo_w_flie .file_del {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}
#bo_w .bo_w_flie .file_del input {
    vertical-align: middle;
}

#bo_w .btn_confirm {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

#bo_w .btn_confirm .btn {
    padding: 0 35px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    line-height: 1;
}

#bo_w .btn_confirm .btn_cancel {
    background: #fff;
    color: #555;
    border: 1px solid #e0e0e0;
}
#bo_w .btn_confirm .btn_cancel:hover {
    background: #f8f9fa;
}

#bo_w .btn_confirm .btn_submit {
    background: #172b4d;
    border: 1px solid #172b4d;
    color: #fff;
    margin-left: 10px;
}
#bo_w .btn_confirm .btn_submit:hover {
    background: #172b4d;
	color: #fff;
}

/* =============================================================================
   게시판 보기 (View)
============================================================================= */
#bo_v {
    max-width: 1200px;
    margin: 100px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    padding: 40px 50px 30px 50px;
}

#bo_v_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    line-height: 1.5em;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.5em;
    margin-bottom: 20px;
}
.bo_v_status {
    font-size: 0.7em !important;
    padding: 4px 12px;
    order: -1; /* 상태를 가장 앞으로 */
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: 20px;
	color:#fff;
}


#bo_v_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
	padding-bottom:20px;
    border: 1px solid transparent;
    border-radius: 20px;
	border-bottom: 1px solid #f0f0f0;
}
#bo_v_info .profile_info {
    display: flex;
    align-items: center;
    gap: 10px;
}
#bo_v_info .profile_info .pf_img img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
#bo_v_info .profile_info_ct {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
}
#bo_v_info .profile_info_ct strong {
    font-weight: normal;
    color: #666;
    font-size: 0.9em;
}
#bo_v_info .profile_info_ct > strong:first-of-type {
    font-weight: 600;
    color: #333;
    font-size: 1em;
}
#bo_v_top { margin: 0; }
.btn_bo_user .btn_b01.btn, .btn_bo_user .btn_more_opt.is_view_btn {
    background: #fff;
    border: 1px solid #d9dce1;
    color: #444;
}
.btn_bo_user .btn_b01.btn:hover, .btn_bo_user .btn_more_opt.is_view_btn:hover {
    background-color: #f9fafb;
}

#bo_v_atc {
    clear: both;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* 댓글 */
.cmt_btn {
    background: transparent;
    border: 1px solid #d9dce1;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #444;
    cursor: pointer;
    margin-top: 30px;
}
.cmt_btn b {
    font-weight: 600;
}

#bo_vc {
    padding-top: 20px;
}
#bo_vc h2 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}
#bo_vc_empty {
    padding: 40px 0;
    text-align: center;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
}
#bo_vc article {
    border: none;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 15px;
}
#bo_vc article:last-child {
    border-bottom: none;
}
#bo_vc .pf_img img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
#bo_vc .cm_wrap {
    flex: 1;
}
#bo_vc header {
    margin-bottom: 10px;
}
#bo_vc header > span:first-of-type {
    font-weight: 600;
}
#bo_vc .bo_vc_hdinfo {
    color: #888;
    font-size: 0.9em;
    margin-left: 10px;
}
#bo_vc .cmt_contents {
    line-height: 1.7;
}
#bo_vc .bo_vl_opt {
    position: relative;
}
#bo_vc .btn_cm_opt {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.1em;
    cursor: pointer;
    padding: 5px;
}
#bo_vc .bo_vc_act {
    position: absolute;
    top: 30%;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 5px 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 10;
	width:60px;
}
#bo_vc .bo_vc_act li a {
    display: block;
    padding: 5px 15px;
    font-size: 0.9em;
    color: #444;
    text-decoration: none;
}
#bo_vc .bo_vc_act li a:hover {
    background: #f5f5f5;
}

#bo_vc_w {
    margin-top: 30px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 8px;
}
#bo_vc_w h2 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}
#bo_vc_w #wr_content {
    border: 1px solid #d9dce1;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    min-height: 100px;
    background: #fff;
    resize: vertical;
}
#bo_vc_w .btn_confirm {
    margin-top: 15px;
    text-align: center;
}
#bo_vc_w .btn_submit {
    background-color: #00247f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
#bo_vc_w .bo_vc_w_info {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
#bo_vc_w .bo_vc_w_info .frm_input {
    border: 1px solid #d9dce1;
    border-radius: 4px;
    padding: 0 10px;
    height: 36px;
    flex: 1;
}

#bo_v_act { padding:15px 0;text-align:center }
#bo_v_act .bo_v_act_gng {display:inline-block;margin:0 3px;text-align:center}

#bo_v_info .gall_date, #bo_v_info .gall_view, #bo_v_info .if_date {
    color: #888;
    font-size: 0.95em;
}

#bo_v_info .if_view {
    color: #888;
    font-size: 0.95em;
}

/* 반응형 */
@media (max-width: 991px) {
    #bo_v, #bo_w {
        padding: 30px 20px;
    }
    #bo_v_title { font-size: 1.3em; }
}
@media (max-width: 767px) {
    #bo_v, #bo_w {
        padding: 15px;
        margin: 40px 0;
    }
    #bo_v_title { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 1.1em; }
    #bo_v_info {
        flex-direction: column;
        align-items: flex-start;
    }
    #bo_v_top { margin-top: 15px; }
}

/*==============================================================================
    write.skin.php(글쓰기)
===============================================================================*/
#bo_w {
    max-width: 1200px;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

#bo_w form > .write_div {
    margin-bottom: 25px;
}

#bo_w form > .write_div:last-child {
    margin-bottom: 0;
}

#bo_w .frm_input,
#bo_w select,
#bo_w textarea {
    border: 1px solid #d0d3db;
    border-radius: 5px;
    padding: 0 12px;
    width: 100%;
    font-size: 0.95em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 42px;
    color: #333;
}

#bo_w textarea {
    height: auto;
    padding: 12px;
    line-height: 1.6;
}

#bo_w .bo_w_info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
#bo_w .bo_w_info .frm_input {
    flex: 1 1 48%;
}

#bo_w .bo_v_option {
    margin: 0;
    padding: 15px;
    list-style: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

#bo_w .wr_content .smarteditor2 {
    border: 1px solid #d0d3db;
    border-radius: 5px;
}
#bo_w .wr_content textarea {
    min-height: 250px;
}

#bo_w .bo_w_flie .frm_file {
    margin-bottom: 8px;
}
#bo_w .bo_w_flie .file_del {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}
#bo_w .bo_w_flie .file_del input {
    vertical-align: middle;
}

#bo_w .btn_confirm {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

#bo_w .btn_confirm .btn {
    padding: 0 35px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    line-height: 1;
}

#bo_w .btn_confirm .btn_cancel {
    background: #fff;
    color: #555;
    border: 1px solid #e0e0e0;
}
#bo_w .btn_confirm .btn_cancel:hover {
    background: #f8f9fa;
}

#bo_w .btn_confirm .btn_submit {
    background: #172b4d;
    border: 1px solid #172b4d;
    color: #fff;
    margin-left: 10px;
}
#bo_w .btn_confirm .btn_submit:hover {
    background: #172b4d;
	color: #fff;
}

/* 게시판 목록 공통 */
.status-waiting { background-color: #ff7b00; border-color: #ff7b00; color: #fff; }
.status-pending { background-color: #6c757d; border-color: #6c757d; color: #fff; }
.status-complete { background-color: #2563eb; border-color: #2563eb; color: #fff; }
.status-waiting, .status-pending, .status-complete {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 20px;
    line-height: 1.5;
    border: 1px solid transparent;
}

#bo_list .num { font-size: 0.9em; color: #888; }
#bo_list .subject { text-align: left; }