@charset "utf-8";

.col-wd80 {width: 80px;}
.col-wd100 {width: 100px;}
.col-wd120 {width: 120px;}
.board_sub_wrap_tit {
    margin-bottom: 60px;
}

#container_title {display: none;}
.bo_v_wrap {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}
#bo_v_top {
    margin-top: 20px;
}

/*기존 리셋*/
.bo_notice td {}
.bo_notice .notice_icon {
    line-height: inherit;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #155BCA;
    padding: 4px 8px;
    background-color: #155BCA;
}
/*mo_notice_badge는 기존 아님*/
.mo_notice_badge {
    display: none;
    line-height: 1;
    padding: 4px 6px;
    font-size: 13px;
    color: #fff;
    border-radius: 20px;
    background-color: #155BCA;
}

#bo_btn_top {
    margin: 0;
}
.bo_sch_wrap {
    display: block !important;
    width: unset;
    height: unset;
    position: unset;
	z-index: 1;
}
.bo_sch {
    position: unset;
    width: unset;
    max-height: unset;
    margin-left: unset;
    margin-top: unset;
    overflow-y: unset;
    box-shadow: none;
    border: 0;
    background: none;
    border-radius: 0;
}
.bo_sch form {
    padding: 0;
}
#bo_btn_top:after,
#bo_list:after,
.bo_sch:after,
.bo_fx:after {
  all: unset;
}
.bo_sch select {
    width: unset;
    height: unset;
    box-shadow: none;
}
.bo_sch .sch_bar,
.bo_sch .sch_input,
.bo_sch .sch_btn {
    all: unset;
}
#bo_list tbody tr,
#bo_list tbody tr:hover {
    border-left: 0;
} 
.bo_fx {
    float: unset;
    margin-bottom: 0;
    margin-top: 20px;
}

/*================================*/
.tbl_wrap {
	overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
	width: 100%;
    max-width: 100vw;
}
.tbl_wrap table {
    border-top: 1px solid #C7C7C7;
    border-bottom: 1px solid var(--border-color);
    table-layout: fixed;
	/* min-width: 768px; */
}
/* .tbl_wrap table .col-wd130 {width: 130px;}
.tbl_wrap table .col-wd100 {width: 100px;} */

.tbl_head01 thead th {
    padding: 0;
    height: 50px;
    border-bottom: 1px solid #C7C7C7;
    border-left: 1px solid var(--border-color);
}

.tbl_head01 td {
    color: inherit;
    padding: unset;
    border-top: 0;
    border-bottom: 1px solid var(--border-color);
    line-height: unset;
    height: 50px;
    text-align: center;
}
.tbl_head01 tbody td {
    border-left: 1px solid var(--border-color);
}

#bo_list .td_name {
    text-align: center;
}
.tbl_head01 thead th:first-child,
.tbl_head01 tbody td:first-child {
    border-left: 0;
}
.bo_tit {
    font-weight: 500;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;

    padding: 0 14px;
}
.bo_tit a {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
}
.subject_text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  display: block;
}
#bo_list .bo_tit .new_icon,
#bo_list .bo_tit .hot_icon {
    width: unset;
    line-height: 1;
    padding: 3px 5px;
    margin-left: 0;
}

/** 내용 리셋 **/
#bo_v {
    margin-bottom: 0;
    background: none;
}
#bo_v header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 18px;
	flex-wrap: wrap;
    border-top: 2px solid;
}
#bo_v header #bo_v_title .bo_v_tit {
    font-size: 18px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    word-break: break-word;
}
#bo_v header .profile_info .profile_info_ct {
    display: flex;
	column-gap: 36px;
}
#bo_v header .profile_info .profile_info_ct > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
#bo_v header .profile_info .profile_info_ct > div b {
    font-weight: 700;
}
#bo_v_con {
    padding: 0 12px;
}

#bo_v_info {
    border-color: var(--border-color);
}
.more_opt:before,
.more_opt:after,
#bo_v_top:after {display: none;}

.btn_bo_user {
    margin: 0;
    float: unset; 

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    background: none !important;
}
.btn_bo_user > li {
    position: unset;
    float: unset;
    margin-left: unset;
    width: unset;
}
a.btn_b01, .btn_b01 {
    line-height: unset;
    height: unset;
    padding: unset;
    font-weight: 400;
    font-size: 1rem;
    color: inherit;
    vertical-align: unset;
}
.btn_bo_user > li > a,
.btn_bo_user > li > input {
    padding: 4px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: block;
}
.btn_bo_user > li > a.color_btn {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.btn_bo_user > li > input {
    color: #EF4444;
    background-color: #FEE2E2;
    border-color: #EF4444;
}

.bo_v_nb li,
.bo_v_nb li:last-child {
    border-color: var(--border-color);
}
.bo_v_nb li {
    display: flex;
    align-items: center;
    background-color: #fff;
}
.bo_v_nb li > a {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bo_v_nb li .nb_tit {
    color: inherit;
    padding: 0 18px;
    font-weight: 700;
}

/* 글쓰기 */
#bo_w .bo_w_info:after,
#bo_w .write_div:after {display: none;}
#bo_w .write_div {margin: 0;} 
#bo_w .bo_w_tit {
    display: flex; 
    align-items: center; 
    width: 100%; 
    gap: 20px;
}
#autosave_wrapper {
    flex: 1; 
    width: 100%;
}
.option_div {
    flex-shrink: 0;
}
.write_div .option_div .chk_box input[type="checkbox"] + label span {
    margin-top: 0;
}

.write_form .cke_sc {display: none;}
.btn_confirm {}

.write_form {
    border-top: 2px solid;
}
.write_flex {
    display: flex;
    gap: 36px;
    padding: 8px 18px;
    border-bottom: 1px solid #C7C7C7;
    background-color: #fff;
}
.write_flex_tit {
    align-items: center;
}
.write_flex.sub_bg {
    background-color: #fff;
    align-items: center;
}
.write_flex .tit {
    padding: 0 18px;
    font-weight: 700;
}
.write_flex .tit span {
    color: var(--main-color)
}
.write_flex > .write_div {
    flex: 1;
}
.btn_confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px !important;
}
#bo_w .btn_cancel {
    border-radius: 6px;
    font-size: 1rem;
    font-weight: normal;
    padding: 0 26px;
    background: #fff;
    border: 1px solid #C7C7C7;
    color: var(--sub-black);
    height: 44px;
    line-height: 44px;
    display: inline-block;
}
#bo_w .btn_submit {
    border-radius: 6px;
    font-size: 1rem;
    font-weight: normal;
    padding: 0 26px;
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    height: 44px;
    line-height: 44px;
	transition: all ease-in 0.3s
}
#bo_w .btn_submit:hover {
	background: var(--main-color);
	color: #fff;
}
#bo_w .write_div.option_div {flex: unset;}
#bo_w .bo_v_option li {
    float: unset;
    margin: 0;
}
#bo_w .bo_v_option li label {
    display: flex;
    align-items: center;
    padding-left: 0;
}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {
    position: unset;
}

.state_box {
    width: max-content;
    margin: 0 auto;
    padding: 4px 8px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    border-radius: 5px;
}
.state_box.state_yet_box {}
.state_box.state_ok_box {
    background-color: var(--main-color);
    color: #fff;
}

/** 매거진 **/
#faq_sch {
    padding: 0;
    text-align: left;
    margin: 0;
    background: #fff;
}
#faq_sch .frm_input,
#faq_sch .btn_submit {
    all: unset;
}
#faq_wrap li h3,
#faq_wrap li h3 .tit_bg,
#faq_con .con_inner .tit_bg {
    all: unset;
}

#faq_sch .frm_input,
#faq_sch .btn_submit {
    padding: 10px 14px;
}
#faq_sch .frm_input:focus {
    outline: none;
    border: none !important;
}
#faq_wrap li h3 {
    padding: 30px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
#faq_wrap ol {
    border-top: 1px solid #C7C7C7;
}
#faq_wrap li {
    border-bottom: 1px solid var(--border-color);
}
#faq_wrap li h3 .tit_bg {
    font-weight: 700;
    color: var(--main-color);
}
#faq_wrap li h3 .tit_btn,
#faq_con .con_inner .closer_btn {
    top: 30px;
    right: 12px;
    color: #A3A9B3;
}
#faq_wrap li h3.faq_li_open a {
    color: inherit;
}
#faq_con .con_inner {
    padding: 30px 12px;
    background-color: #F5F6FA;
    border-top: 1px solid var(--border-color);
}
/* #faq_con .con_inner::before {
    content: 'A';
} */
 #faq_con .con_inner .tit_bg {
    font-weight: 700;
    color: var(--main-color);
 }
#faq_con .con_inner .con_inner_flex {
    display: flex;
    gap: 12px;
}
a.btn_admin, .btn_admin {
    all: unset;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--sub-main-color);
    border-color: var(--sub-main-color);
    color: #fff;
    cursor: pointer;
}
.btn_admin:hover, a.btn_admin:hover {
    color: #fff;
}

/*댓글*/

#bo_vc {
	/* padding: 30px; */
    /* background: var(--sub-bg-color); */
    background: #fff;
}
#bo_vc article .cm_wrap {
	float: unset;
    max-width: unset;
    width: 100%;
}
.cmt_contents .qna_a_box {
	margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.cmt_contents .qna_a_box img {
	vertical-align: baseline;
    margin-right: 8px;
}
.cmt_contents .qna_a_box span {
	margin-left: 5px;
    font-weight: 400;
    font-size: 14px;
}
.bo_vl_opt .btn_cm_opt {
    line-height: 1;
    height: 35px;
    padding: 10px 20px;
    color: var(--sub-main-color);
}
.comment_box {
	border-bottom: 1px solid var(--border-color);
    padding: 0 16px 20px;
    /* background: var(--sub-bg-color); */
    background: #fff;
	margin: 0;
    margin-bottom: 20px;
}
.comment_box textarea {resize: none;}
.btn_confirm.right_box {
	margin-top: 0 !important;
    justify-content: flex-end;
}
.btn_confirm.right_box .secret_cm label {
	display: flex;
    align-items: center;
    line-height: 1;
}
.btn_confirm.right_box .color_btn {
    all: unset;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
	cursor: pointer;
}
.chk_box input[type="checkbox"] + label:hover {
	color: inherit;
}
#bo_w .bo_w_tit .frm_input {
    padding-right: 0;
    width: 100%;
    flex: 1;
}

/***댓글****/
#bo_vc_empty {
    padding: 20px 0 !important;
}
.community_contents {
    padding-bottom: 48px;
}
.cmt_btn span.total {
    color: var(--main-color);
}
.cmt_btn span.total:after {
    background: var(--main-color);
}
.write_div .chk_box input[type="checkbox"] + label span, .bo_vc_w .chk_box input[type="checkbox"] + label span {
    /* margin-top: 4px; */
    top: 0;
}
.bo_vc_w .btn_submit {
    background: var(--main-color);
    height: auto;
    padding: 4px 16px;
    font-weight: normal;
    font-size: 1rem;
    border-radius: 6px;
}
.bo_v_nb {
    margin: 0;
    padding-bottom: 12px;
    background-color: #fff;
}
#bo_vc {
    padding: 16px 12px;
    /* margin-top: 30px; */
}
#bo_vc article {
    margin: 16px 0;
}
#bo_vc article .cm_wrap header {
    display: block;
}
#bo_vc article .cm_wrap header .bo_vc_hdinfo {
    display: block;
}
#bo_vc .bo_vl_opt {
    z-index: 3;
}
.bo_vc_act {
    width: 60px;
}
.bo_vc_act li a:hover {
    color: var(--main-color);
}
#bo_vc .cmt_contents {
    padding-bottom: 8px;
}
.secret_flex {
    display: flex;
    align-items: center;
    gap: 4px;
}

/***커뮤니티 페이지***/
.sub-wrapper.community_section {
    padding-bottom: 0;
}
.community_section .sub_tit {
    text-align: center;
    margin-bottom: 30px;
}
#bo_v_act {
    margin: 30px 0;
}
.row_group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 24px 0 12px;
}
#smart_editor2 {
    min-width: 0 !important;
    width: 100% !important;
}

#smart_editor2 iframe {
    min-width: 0 !important;
    width: 100% !important;
}
.mb_txt {display: none;}



/* --- 게시판 모바일 리스트 (카드형 변환) --- */

@media (max-width: 768px) {
#bo_list tbody .even td {
    background-color: transparent;
}
/* 1. 테이블 기본 구조 부수기 (block으로 변경) */
#bo_list table, 
#bo_list tbody {
    display: block;
    width: 100%;
}
/* 2. PC용 헤더(번호, 제목 등) 숨기기 */
#bo_list thead {
    display: none;
}
/* 3. 각 게시글(tr)을 하나의 리스트 박스(flex)로 만들기 */
#bo_list tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 4px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    position: relative;
    background: #fff;
}
#bo_list tbody tr:last-child {
    border-bottom: 0;
}

/* 기존 테이블 셀(td)의 선과 여백 초기화 */
#bo_list tbody td {
    height: auto;
    border-left: 0;
}

/* 4. 번호 숨기기 */
#bo_list .td_num2 {
    display: none;
}

/* 5. 1번째 줄 (제목 & 댓글) */
.bo_tit {
    padding: 0;
}
#bo_list .td_subject {
    /* order: 1; */
    display: block;
    width: calc(100% - 40px) !important;
    padding: 0 !important;
    margin-bottom: 5px;
    border: none !important;
    height: auto;
}

/* 제목과 댓글을 양 끝으로 쫙 찢어서 배치 */
/* #bo_list .td_subject .bo_tit > a,
#bo_list .td_subject > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

/* 모바일에서 제목 말줄임표 처리 (...) */
#bo_list .td_subject a {
    font-weight: 500;
}

/* 댓글 포인트 컬러 및 우측 고정 */
#bo_list .cnt_cmt {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100% !important;
    background: #f8f8f8 !important;
    font-size: 14px !important;
    color: #EF4444 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6. 2번째 줄 (작성자 / 날짜 / 조회수) */
#bo_list .td_name,
#bo_list .td_datetime,
#bo_list .td_date, 
#bo_list .td_num:not(.td_num2), 
#bo_list .td_view {
    width: auto;
    font-size: 14px;
    border-bottom: 0;
}

/* 7. HTML 출력 순서를 CSS로 강제 재배치 (작성자 -> 날짜 -> 조회수) */
#bo_list .td_name { order: 2; padding: 0;}
#bo_list .td_datetime, #bo_list .td_date { order: 3; }
#bo_list .td_num:not(.td_num2), #bo_list .td_view { order: 4; }

/* 조회수 숫자만 있으면 헷갈리므로 앞에 '조회 ' 글자 추가 */
#bo_list .td_num:not(.td_num2)::before,
#bo_list .td_view::before {
    content: "조회 ";
}

/* 8. 각 항목 사이에 예쁜 구분선( | ) 추가 */
#bo_list .td_name::after,
#bo_list .td_datetime::after,
#bo_list .td_date::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #ddd;
    margin: 0 8px;
    vertical-align: middle;
}
.qa_board #bo_list .td_subject {
    width: calc(100% - 44px) !important;
}
#bo_list .td_board {
    position: absolute;
    top: 0;
    right: 0;
    width: 88px;
    height: 100% !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #EF4444 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qa_board #bo_list .td_subject a {
    width: 100%;
    text-align: left;
}
.qa_board .subject_text {
    flex: 0 1 calc(100% - 60px);
}


}


@media (max-width: 768px) {

#bo_btn_top {
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.bo_sch_wrap {width: 100%;}
.bo_sch .sch_bar {
    display: flex;
    flex: 1;
}
#faq_sch .frm_input {flex: 1;}

.write_flex .tit {
    display: none;
}
.mo_notice_badge {
    display: inline-block;
}

}/**768px 끝**/


@media (max-width: 620px) {
#bo_v header .profile_info {
    padding-top: 4px;
}
#bo_v header {
    padding: 0 10px;
}
#bo_v header .profile_info .profile_info_ct {
    column-gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}
#bo_v header .profile_info .profile_info_ct > div {
    gap: 4px;
}
#bo_v header .profile_info .profile_info_ct > div b {
    font-weight: 600;
}
.bo_v_nb li {
    padding: 8px 0;
}
#bo_v_act {
    margin: 20px 0;
}
#bo_v_act .bo_v_good,
#bo_v_act .bo_v_nogood {
    line-height: 36px;
}
.bo_v_nb li .nb_tit {
    padding: 0 10px;
}
#captcha,
#captcha.m_captcha audio {
    width: 100%;
}
.bo_vc_w_info .frm_input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
}
#captcha.m_captcha #captcha_key {
    width: calc(100% - 50px);
    height: 40px;
    margin-left: 0;
}
.row_group {
    gap: 4px;
}
#bo_w .write_div,
.frm_input {
    width: 100%;
}
    
}/**620px 끝**/


@media (max-width: 420px) {

}/**420px 끝**/