


/*********** Input *************/
/* INPUT — AGREE */
.answer_input .agree_box {display:flex; flex-direction:column; gap:15px; margin-bottom:15px; padding:40px 45px; border-radius:var(--borderR30); background:var(--grayBg);}
.answer_input .agree_txt {display:block; width:100%; height:160px; padding:18px 20px; border:0; border-radius:var(--borderR10) 0 0 var(--borderR10); background:var(--white); font-family:inherit; color:var(--basic); resize:none;}
.answer_input .agree_txt::-webkit-scrollbar {width:4px;}
.answer_input .agree_txt::-webkit-scrollbar-track {background:var(--border);}
.answer_input .agree_txt::-webkit-scrollbar-thumb {background:var(--main);}
.answer_input .agree_row {display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:5px;}
.answer_input .agree_radio {display:flex; align-items:center; gap:20px;}
.answer_input .agree_radio label {display:inline-flex; align-items:center; gap:8px; color:var(--basic); cursor:pointer;}
.answer_input .agree_radio input[type=radio] {flex-shrink:0; width:20px; height:20px; border:1px solid var(--border); border-radius:50%; background:radial-gradient(circle, rgba(51,47,51,0.1) 5.5px, var(--white) 6px); -webkit-appearance:none; appearance:none; cursor:pointer;}
.answer_input .agree_radio input[type=radio]:checked {border-color:var(--main); background:radial-gradient(circle, var(--main) 5.5px, var(--white) 6px);}

/* INPUT — MSG */
.answer_input .input_msg {padding:15px 0; color:var(--basic);}

/* INPUT — TABLE */
.answer_input .bbs_input {table-layout:fixed; border-top:3px solid var(--main);}
.answer_input .bbs_input col.th {width:260px;}
.answer_input .bbs_input th {padding:12px 20px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--grayBg); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); font-weight:500; color:var(--black);}
.answer_input .bbs_input th label {letter-spacing:inherit; cursor:pointer;}
.answer_input .bbs_input td {padding:12px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); color:var(--basic);}
.answer_input .bbs_input tr > :first-child {border-left:1px solid var(--border);}
.answer_input .bbs_input .input {height:52px; padding:0 15px; border-radius:var(--borderR5); font-size:1rem; letter-spacing:var(--letter-spacing-input); color:var(--basic); transition:border-color .3s;}
.answer_input .bbs_input .input::placeholder {color:rgba(51,47,51,0.4);}
.answer_input .bbs_input .input:focus {border-color:var(--main);}
.answer_input .bbs_input .input.vcode{border-radius:0 var(--borderR5) var(--borderR5) 0;}
.answer_input .bbs_input .norobot_img{border-radius: var(--borderR5) 0 0 var(--borderR5); overflow: hidden; padding: 9px 0;}
.answer_input .bbs_input .input_file {height:52px; line-height:50px; border-radius:var(--borderR5); font-size:0.8rem; color:var(--basic);}

/* INPUT — SELECT */
.answer_input .select_box {position:relative;}
.answer_input .select_box::after {content:'\e313'; position:absolute; top:50%; right:15px; transform:translateY(-50%); font-family:var(--icon); font-size:20px; line-height:100%; color:var(--basic); pointer-events:none;}
.answer_input .select_box select {width:100%; height:52px !important; padding:0 45px 0 15px; border:1px solid var(--border); border-radius:var(--borderR5); background:var(--white); font-size:1rem; letter-spacing:var(--letter-spacing-input); color:var(--basic); transition:border-color .3s;}
.answer_input .select_box select:focus {border-color:var(--main);}

/* INPUT — SUBJECT · PASSWORD */
.answer_input .subject_box {display:flex; align-items:center; gap:10px;}
.answer_input .subject_box .cat {flex-shrink:0;}
.answer_input .passwd_box {display:flex; align-items:center; gap:20px;}
.answer_input .passwd_box .input {flex-shrink:0; width:220px;}
.answer_input .passwd_box p {color:var(--basic);}

/* INPUT — CONTENTS */
.answer_input .bbs_input td.input_contents {padding:12px 10px;}
.answer_input .contents_opt {display:flex; align-items:center; gap:20px;}
.answer_input .bbs_input td .check {margin-bottom:10px;}
.answer_input .chk_label {display:inline-flex; align-items:center; gap:6px; color:var(--basic); cursor:pointer;}
.answer_input .chk_label input[type=checkbox] {flex-shrink:0; width:22px; height:22px; accent-color:var(--main); cursor:pointer;}

/* INPUT — BUTTON */
.answer_input .bbs_btn {padding-top:30px;}
.answer_input .bbs_btn ul {display:flex; align-items:flex-start; justify-content:space-between;}
.answer_input .bbs_btn li.list_btn {display:flex;}
.answer_input .bbs_btn a, .answer_input .bbs_btn input {display:block; width:94px; height:52px; line-height:50px; border:1px solid var(--border); border-radius:var(--borderR5); background:var(--white); font-size:0.9rem; letter-spacing:var(--letter-spacing-button); color:var(--basic); text-align:center; transition:all .3s;}
.answer_input .bbs_btn a:hover, .answer_input .bbs_btn input:hover {border-color:var(--black); color:var(--black);}
.answer_input .bbs_btn li.list_btn > :first-child {border-color:var(--black); background:var(--black); font-weight:500; color:var(--white);}
.answer_input .bbs_btn li.list_btn > :first-child:hover {border-color:var(--main); background:var(--main); color:var(--white);}



/*********** List *************/
/* LIST — TABLE */
.answer_list {width:100%; border-collapse:separate; border-spacing:0px;  border-top:2px solid var(--main); text-align:center;}
.answer_list th {padding:17px 10px; border-bottom:1px solid rgba(51,47,51,0.3); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); font-weight:500; color:var(--black);}
.answer_list td {padding:16px 10px; border-bottom:1px solid var(--border); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic); word-break:break-all;}
.answer_list td a {letter-spacing:inherit;}
.answer_list .chk {width:3%;}
.answer_list .num {width:8.5%;}
.answer_list .dept, .answer_list .doctor, .answer_list .writer, .answer_list .state {width:9.8%;}
.answer_list .date {width:11.8%;}
.answer_list .recom {width:6.5%;}
.answer_list td.num, .answer_list td.date {letter-spacing:var(--letter-spacing-none);}
.answer_list td.dept {font-weight:500; color:var(--main);}
.answer_list td.subject {text-align:left;}
.answer_list .notice span {color:var(--main);}

/* LIST — SUBJECT */
.answer_list .subject_box {display:flex; align-items:center; gap:5px; min-width:0;}
.answer_list .subject_box a {overflow:hidden; text-overflow:ellipsis; white-space:nowrap; transition:color .3s;}
.answer_list .subject_box a:hover {color:var(--main);}
.answer_list .lock_icon {flex-shrink:0; display:inline-flex;}
.answer_list .lock_icon::before {content:'\e897'; font-family:var(--icon); font-size:14px; line-height:100%; color:var(--light);}
.answer_list .mo_line {display:none;}

/* LIST — STATUS */
.answer_list .status_txt {display:inline-block; width:90px; height: 40px; border-radius:var(--borderR100); background:var(--grayBg); font-size:0.9rem; line-height:40px; letter-spacing:var(--letter-spacing-body); color:var(--light); text-align:center;}
.answer_list .status_txt.end {background:var(--main); font-weight:500; color:var(--white);}



/*********** View *************/
.answer_view,
.answer_view_btn{max-width: 1070px; margin: 0 auto;}

/* VIEW — TOP */
.answer_view .view_top {display:flex; flex-direction:column; align-items:center; gap:10px; padding-bottom:30px; border-bottom:2px solid var(--main); text-align:center;}
.answer_view .view_badge {padding:7px 24px 6px; border:1px solid var(--main); border-radius:var(--borderR100); font-weight:500; color:var(--main);}
.answer_view .view_subject {width:100%; font-weight:700; color:var(--black); word-break:keep-all;}
.answer_view .view_info {display:flex; align-items:center; gap:18px; padding-top:10px;}
.answer_view .view_info li {display:flex; align-items:center; color:var(--basic);}
.answer_view .view_info li.date {gap:8px;}
.answer_view .view_info li.date::after {content:''; width:1px; height:16px; margin-left:10px; background:var(--border);}
.answer_view .view_info li.count {gap:7px;}
.answer_view .view_info li.count::before {content:'\e8f4'; font-family:var(--icon); font-size:22px; line-height:100%; color:var(--basic);}

/* VIEW — TABLE */
.answer_view .view_table {width:100%; table-layout:fixed;}
.answer_view .view_table col.th {width:260px;}
.answer_view .view_table th {padding:18px 20px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); border-left:1px solid var(--border); background:var(--grayBg); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); font-weight:500; color:var(--black);}
.answer_view .view_table td {padding:18px 21px 19px 20px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--white); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic); word-break:break-all;}
.answer_view .view_table td.dept_doc .dept {font-weight:500; color:var(--main);}
.answer_view .view_table td.dept_doc .slash {margin:0 6px;}

/* VIEW — CONTENTS */
.answer_view .view_content {padding:30px 0; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic); word-break:break-all;}
.answer_view .view_content img {max-width:100%;}

/* VIEW — FILE */
.answer_view .view_file {display:flex; align-items:flex-start; gap:25px; margin-bottom:30px; padding:20px 23px; border-radius:var(--borderR5); background:var(--grayBg);}
.answer_view .view_file .file_tit {flex-shrink:0; width:140px; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); font-weight:500; color:var(--black);}
.answer_view .file_list {display:flex; flex-direction:column; align-items:flex-start; gap:5px; min-width:0;}
.answer_view .file_list a {display:inline-flex; align-items:center; border-bottom:1px solid var(--black); font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--black); word-break:break-all; transition:color .3s, border-color .3s;}
.answer_view .file_list a::before {content:'\e226'; flex-shrink:0; font-family:var(--icon); font-size:20px; line-height:100%; color:inherit;}
.answer_view .file_list a:hover {border-color:var(--main); color:var(--main);}

/* VIEW — ANSWER */
.answer_view .answer_content {margin-bottom:30px; border-radius:var(--borderR5); background:var(--grayBg);}
.answer_view .answer_tit {padding:14px 25px 12px; border-radius:var(--borderR5); background:var(--main); font-weight:700; color:var(--white); text-align:center;}
.answer_view .answer_txt {padding:25px 30px; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic); word-break:break-all;}

/* VIEW — PREV · NEXT */
.answer_view .view_nav {border-bottom:1px solid var(--border);}
.answer_view .view_nav li {display:flex; align-items:center; gap:25px; border-top:1px solid var(--border);}
.answer_view .view_nav .nav_tit {display:flex; align-items:center; justify-content:space-between; flex-shrink:0; width:260px; padding:18px 20px; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); font-weight:500; color:var(--black);}
.answer_view .view_nav .nav_tit::after {content:'\e316'; font-family:var(--icon); font-size:23px; line-height:100%; font-weight:400; color:var(--light);}
.answer_view .view_nav .next .nav_tit::after {content:'\e313';}
.answer_view .view_nav .nav_link {flex:1; min-width:0; padding-right:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic);}
.answer_view .view_nav .nav_link a {letter-spacing:inherit; transition:color .3s;}
.answer_view .view_nav .nav_link a:hover {color:var(--main);}
.answer_view .view_nav .nav_link .none {color:var(--light);}

/* VIEW — BUTTON */
.bbs_btn.answer_view_btn {display:flex; justify-content:flex-end; padding-top:30px;}
.bbs_btn.answer_view_btn a, .bbs_btn.answer_view_btn input {display:block; width:94px; height:52px; line-height:50px; border:1px solid var(--border); border-radius:var(--borderR5); background:var(--white); font-size:0.9rem; letter-spacing:var(--letter-spacing-button); color:var(--basic); text-align:center; transition:all .3s;}
.bbs_btn.answer_view_btn a:hover, .bbs_btn.answer_view_btn input:hover {border-color:var(--black); color:var(--black);}


/*******************************************************************************
    @media 1500px
*******************************************************************************/
@media all and (max-width:1500px){

/*********** Input *************/
/* INPUT — TABLE */
.answer_input .bbs_input col.th {width:220px;}

}

/*******************************************************************************
    @media ~1300px
*******************************************************************************/
@media all and (max-width:1300px){

/*********** Input *************/
/* INPUT — AGREE */
.answer_input .agree_box {padding:35px;}

/* INPUT — TABLE */
.answer_input .bbs_input col.th {width:180px;}
.answer_input .bbs_input th {padding:12px 15px;}

/*********** List *************/
/* LIST — TABLE */
.answer_list th {padding:15px 8px; font-size: 0.9rem;}
.answer_list td {padding:14px 8px; font-size: 0.9rem;}
.answer_list .num {width:7%;}
.answer_list .dept, .answer_list .doctor, .answer_list .writer, .answer_list .state {width:11%;}
.answer_list .date {width:14%;}

/* LIST — STATUS */
.answer_list .status_txt {width:80px; font-size: 0.8rem;}

/*********** View *************/
/* VIEW — TABLE */
.answer_view .view_table col.th {width:200px;}
.answer_view .view_table th {padding:16px 18px;}
.answer_view .view_table td {padding:16px 18px;}

/* VIEW — FILE */
.answer_view .view_file .file_tit {width:120px;}

/* VIEW — PREV · NEXT */
.answer_view .view_nav .nav_tit {width:200px; padding:16px 18px;}

}

/*******************************************************************************
    @media  ~980px              
*******************************************************************************/
@media all and (max-width:980px){

/*********** Input *************/
/* INPUT — AGREE */
.answer_input .agree_box {gap:12px; padding:30px 25px;}
.answer_input .agree_txt {height:140px; padding:15px;}
.answer_input .agree_row {flex-wrap:wrap; gap:8px 20px; padding-top:0;}

/* INPUT — MSG */
.answer_input .input_msg {padding:12px 0;}

/* INPUT — TABLE */
.answer_input .bbs_input {display:block; border-right:1px solid var(--border); border-left:1px solid var(--border);}
.answer_input .bbs_input tbody {display:block;}
.answer_input .bbs_input tr {display:grid; grid-template-columns:140px minmax(0, 1fr);}
.answer_input .bbs_input th {display:flex; align-items:center; padding:10px 12px;}
.answer_input .bbs_input td {padding:10px; border-right:0;}
.answer_input .bbs_input tr > :first-child {border-left:0;}
.answer_input .bbs_input td[colspan="4"] {grid-column:1 / -1;}
.answer_input .bbs_input .input {height:48px; padding:0 12px;}
.answer_input .bbs_input .input_file {height:48px; line-height:46px;}

/* INPUT — SELECT */
.answer_input .select_box::after {right:12px; font-size:18px;}
.answer_input .select_box select {height:48px !important; padding:0 38px 0 12px;}

/* INPUT — SUBJECT · PASSWORD */
.answer_input .passwd_box {flex-wrap:wrap; gap:8px 15px;}
.answer_input .passwd_box .input {width:200px;}

/* INPUT — CONTENTS */
.answer_input .bbs_input td.input_contents {padding:10px;}
.answer_input .chk_label input[type=checkbox] {width:20px; height:20px;}

/* INPUT — BUTTON */
.answer_input .bbs_btn {padding-top:25px;}
.answer_input .bbs_btn a, .answer_input .bbs_btn input {width:84px; height:48px; line-height:46px;}

/*********** List *************/
/* LIST — TABLE */
.answer_list, .answer_list tbody, .answer_list tr, .answer_list td {display:block; width:100%;}
.answer_list thead, .answer_list .pc_line {display:none;}
.answer_list tr {padding:15px; box-sizing: border-box; border-bottom:1px solid var(--border);}
.answer_list tr:nth-child(even){background: var(--grayBg2);}
.answer_list td {padding:0; border-bottom:0;}

/* LIST — CARD */
.answer_list .mo_line {display:block; position:relative; padding-right:100px; box-sizing: border-box;}
.answer_list .mo_cate {margin-bottom:4px; font-size:0.85rem; line-height:150%; color:var(--basic);}
.answer_list .mo_cate .dept {font-weight:500; color:var(--main);}
.answer_list .mo_cate .doc::before {content:''; display:inline-block; width:1px; height:10px; margin:0 8px; background:var(--border); vertical-align:middle;}
.answer_list .mo_subject {display:flex; align-items:center; gap:5px; min-width:0; font-size:1rem; line-height:150%; font-weight:500; color:var(--black);}
.answer_list .mo_subject a {overflow:hidden; text-overflow:ellipsis; white-space:nowrap; letter-spacing:inherit;}
.answer_list .mo_info {display:flex; align-items:center; margin-top:4px;}
.answer_list .mo_info li {font-size:0.8rem; line-height:150%; letter-spacing:var(--letter-spacing-body); color:var(--light);}
.answer_list .mo_info li + li::before {content:''; display:inline-block; width:1px; height:10px; margin:0 8px; background:var(--border); vertical-align:middle;}
.answer_list .mo_info li.date {letter-spacing:var(--letter-spacing-none);}

/* LIST — STATUS */
.answer_list .mo_line .status_txt {position:absolute; top:50%; right:0; transform:translateY(-50%); width:70px; height: 30px; line-height: 30px;}

/*********** View *************/
/* VIEW — TOP */
.answer_view .view_top {gap:8px; padding-bottom:25px;}
.answer_view .view_badge {padding:6px 20px 5px;}
.answer_view .view_info {gap:14px; padding-top:6px;}
.answer_view .view_info li.date::after {margin-left:6px;}
.answer_view .view_info li.count::before {font-size:20px;}

/* VIEW — TABLE */
.answer_view .view_table col.th {width:150px;}
.answer_view .view_table th {padding:14px 15px; word-break:keep-all;}
.answer_view .view_table td {padding:14px 15px;}

/* VIEW — CONTENTS */
.answer_view .view_content {padding:25px 0;}

/* VIEW — FILE */
.answer_view .view_file {gap:15px; margin-bottom:25px; padding:18px 20px;}
.answer_view .view_file .file_tit {width:100px;}
.answer_view .file_list a::before {font-size:18px;}

/* VIEW — ANSWER */
.answer_view .answer_content {margin-bottom:25px;}
.answer_view .answer_tit {padding:11px 20px 10px;}
.answer_view .answer_txt {padding:20px 25px;}

/* VIEW — PREV · NEXT */
.answer_view .view_nav li {gap:15px;}
.answer_view .view_nav .nav_tit {width:150px; padding:14px 15px;}
.answer_view .view_nav .nav_tit::after {font-size:21px;}

/* VIEW — BUTTON */
.bbs_btn.answer_view_btn {padding-top:25px;}
.bbs_btn.answer_view_btn a, .bbs_btn.answer_view_btn input {width:84px; height:48px; line-height:46px;}

}
/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){

/*********** Input *************/
/* INPUT — AGREE */
.answer_input .agree_box {gap:10px; margin-bottom:10px; padding:20px 15px;}
.answer_input .agree_txt {height:120px; padding:12px;}
.answer_input .agree_row {flex-direction:column; align-items: flex-end; gap:0;}
.answer_input .agree_radio {gap:15px;}
.answer_input .agree_radio input[type=radio] {width:18px; height:18px; background:radial-gradient(circle, rgba(51,47,51,0.1) 4.5px, var(--white) 5px);}
.answer_input .agree_radio input[type=radio]:checked {background:radial-gradient(circle, var(--main) 4.5px, var(--white) 5px);}

/* INPUT — MSG */
.answer_input .input_msg {padding:10px 0; font-size:0.8rem; letter-spacing:var(--letter-spacing-body); text-align:right;}

/* INPUT — TABLE */
.answer_input .bbs_input {display:block; border-right:1px solid var(--border); border-left:1px solid var(--border);}
.answer_input .bbs_input tbody, .answer_input .bbs_input tr {display:block;}
.answer_input .bbs_input th {display:block; padding:8px 12px; border:0; border-bottom:1px solid var(--border); font-size:0.9rem;}
.answer_input .bbs_input td {display:block; padding:10px 12px; border:0; border-bottom:1px solid var(--border);}
.answer_input .bbs_input tr > :first-child {border-left:0;}
.answer_input .bbs_input .input {height:44px; font-size:0.9rem;}
.answer_input .bbs_input .input_file {height:44px; line-height:42px; padding:0 10px;}
.answer_input .bbs_input .norobot_img{padding: 5px 0 6px;}

/* INPUT — SELECT */
.answer_input .select_box select {height:44px !important; font-size:0.9rem;}

/* INPUT — SUBJECT · PASSWORD */
.answer_input .subject_box {flex-wrap:wrap; gap:8px;}
.answer_input .passwd_box {flex-direction:column; align-items:stretch; gap:6px;}
.answer_input .passwd_box .input {width:100%;}
.answer_input .passwd_box p {font-size:0.8rem;}

/* INPUT — CONTENTS */
.answer_input .bbs_input td.input_contents {padding:10px 12px;}
.answer_input .contents_opt {gap:15px;}
.answer_input .chk_label input[type=checkbox] {width:18px; height:18px;}

/* INPUT — BUTTON */
.answer_input .bbs_btn {padding-top:20px;}
.answer_input .bbs_btn a, .answer_input .bbs_btn input {width:70px; height:40px; line-height:38px; font-size:0.85rem;}



/*********** List *************/
.answer_list tr{padding: 12px;}
/* LIST — CARD */
.answer_list .mo_line {padding-right:80px;}

/*********** View *************/
/* VIEW — TOP */
.answer_view .view_top {gap:6px; padding-bottom:20px;}
.answer_view .view_badge {padding:4px 16px;}
.answer_view .view_info {gap:10px; padding-top:4px;}
.answer_view .view_info li.date {gap:6px;}
.answer_view .view_info li.date::after {height:12px; margin-left:4px;}
.answer_view .view_info li.count {gap:4px;}
.answer_view .view_info li.count::before {font-size:18px;}

/* VIEW — TABLE */
.answer_view .view_table col.th {width:110px;}
.answer_view .view_table th {padding:12px 10px; font-size:0.9rem;}
.answer_view .view_table td {padding:12px; font-size:0.9rem;}
.answer_view .view_table td.dept_doc .slash {margin:0 4px;}

/* VIEW — CONTENTS */
.answer_view .view_content {padding:20px 0; font-size:0.9rem;}

/* VIEW — FILE */
.answer_view .view_file {flex-direction:column; gap:6px; margin-bottom:20px; padding:15px;}
.answer_view .view_file .file_tit {width:auto; font-size:0.9rem;}
.answer_view .file_list a {font-size:0.9rem;}
.answer_view .file_list a::before {font-size:16px;}

/* VIEW — ANSWER */
.answer_view .answer_content {margin-bottom:20px;}
.answer_view .answer_tit {padding:9px 15px 8px;}
.answer_view .answer_txt {padding:15px; font-size:0.9rem;}

/* VIEW — PREV · NEXT */
.answer_view .view_nav li {gap:10px;}
.answer_view .view_nav .nav_tit {width:90px; padding:12px 10px; font-size:0.9rem;}
.answer_view .view_nav .nav_tit::after {font-size:20px;}
.answer_view .view_nav .nav_link {padding-right:10px; font-size:0.9rem;}

/* VIEW — BUTTON */
.bbs_btn.answer_view_btn {padding-top:20px;}
.bbs_btn.answer_view_btn a, .bbs_btn.answer_view_btn input {width:70px; height:40px; line-height:38px; font-size:0.85rem;}

}