@charset "utf-8";

/* 카테고리 */
.list-category .div-tab-box { margin-bottom:15px; }
.list-category .dropdown { margin-bottom:15px; }
.list-category .active a, .list-category .selected a { color:crimson; font-weight:bold !important; }

/* PC 목록 */
table.list-pc { border-bottom: 1px solid #ddd; margin-bottom:15px; }
table.list-pc th { white-space:nowrap; clear:both; height:43px; background: url('./img/head.gif') repeat-x !important; font-weight:bold; font-size:14px; color:#333; border:0px !important; padding:0px !important; margin:0px !important; text-align:center; }
table.list-pc th a { text-decoration:none; color:#333; }
table.list-pc th a:hover, table.bo-list th a:focus, table.bo-list th a:active { color:#000; }
table.list-pc td { white-space:nowrap; }
table.list-pc tbody tr:first-child td { border-top:0 !important; }
table.list-pc .list-now { background: #fafafa; }
table.list-pc .list-img img { width:40px; height:40px; border-radius:50%; }
table.list-pc .list-img i { width: 40px; height: 40px; line-height:40px; margin:0px; font-size: 24px; background: rgb(238, 238, 238); border-radius:50%; text-align: center; color: rgb(255, 255, 255); display: inline-block; }
table.list-pc .list-subject { text-align:left !important;  white-space:normal !important;}
table.list-pc .list-subject a { display:block; }
table.list-pc .list-subject.now { font-weight:bold !important; }
table.list-pc .list-subject.notice { font-weight:bold !important; }
table.list-pc .list-none { padding:100px 0px; }

/* 모바일 목록 */
.list-mobile { margin-bottom:15px; border-top:1px solid #eee; }
.list-mobile strong { font-weight:normal; margin:0px; line-height:40px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; }
.list-mobile.no-img strong { line-height:30px; }
.list-mobile strong.notice a { font-weight:bold; }
.list-mobile strong.best a { }
.list-mobile strong.now a { font-weight:bold; color:crimson; }
.list-mobile .list-img img { width:40px; height:40px; border-radius:50%; }
.list-mobile .list-img i { width: 40px; height: 40px; line-height:40px; margin:0px; font-size: 24px; background: rgb(238, 238, 238); border-radius:50%; text-align: center; color: rgb(255, 255, 255); display: inline-block; }
.list-mobile .list-cnt { color: orangered; font-size: 14px; font-weight:bold; font-family:verdana; letter-spacing:-1px; }
.list-mobile .media { border-bottom:1px solid #eee; margin:0px; padding:6px 8px; }
.list-mobile .media.list-notice {  background:#fafafa; }
.list-mobile .media.list-now { background:#fafafa; }
.list-mobile :first-child.media { margin-top:0px; }
.list-mobile .media .media-body { padding-left:0px; }

/* 목록 공통 */
.list-wrap { width:100%; }
.list-btn-box { margin-bottom: 15px; }
.list-btn-box a span { margin-left: 4px; }
.list-btn-box .sort a { color:crimson !important; font-weight:bold !important; }
.list-btn-box .dropdown-menu { font-size: 14px; }
.list-none { margin:0px 0px 15px; padding:80px 0px; }
.list-page { margin-bottom:15px; }
.list-page .pagination { margin:0; }

/* 아이콘 */
.list-wrap .wr-text { font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-wrap .wr-icon { display:inline-block; padding:0px; margin:0px; overflow:hidden; vertical-align:middle; background-repeat: no-repeat; background-position: left top; }
.list-wrap .wr-notice { width:37px; height:19px; background-image: url('./img/icon_notice.gif'); }
.list-wrap .wr-new { width:12px; height:12px; background-image: url('./img/icon_new.gif'); }
.list-wrap .wr-secret { width:12px; height:12px; background-image: url('./img/icon_secret.gif'); }
.list-wrap .wr-hot { width:12px; height:12px; background-image: url('./img/icon_hot.gif'); }

/* 내용 공통 */
.view-wrap { width:100%; overflow:hidden; }
.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display:inline-block; }
.view-wrap .img-resize img { max-width:100%; height:auto; }
.view-wrap h1 { font-size: 22px; font-weight:bold; margin:0px; line-height:50px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; margin:0px; padding:0px 10px; color: rgb(59, 62, 67); letter-spacing:-1px; }
.view-wrap h1 .photo { border-radius: 50%; width: 50px; height: 50px; margin-bottom:10px; margin-right:10px; }
.view-wrap .no-attach { border-bottom:0px; }

.view-btn { margin:0px 0px 30px; }
.view-btn i { margin-right:2px; }

.view-head { border-left:0px; border-right:0px; }
.view-head .sp { display:inline-block; width:20px; text-align:center; font-size:11px; color:#888; }
.view-head .list-group-item { padding:5px 15px; border-style:dotted; }
.view-tag { margin:10px 0px; padding:0px; color:#888; }
.view-tag a { color:#888; }
.view-tag a:hover { color:crimson; }
.view-cnt { margin-top:4px; }
.view-img img { display:block; max-width:100%; margin:0 auto 15px; border:0; height:auto; }
.view-content { padding:0px 15px 20px; font-size:13px !important; }
.view-mobile .view-content { padding:0px 0px 20px; }
.view-content img { width:auto; height:auto; max-width:100%; }
.view-content p { padding:0; margin:0; line-height:22px; }
.view-good-box { text-align:center; }
.view-good-box span { margin:15px 6px; width:80px; height:80px; display:inline-block; }
.view-good-box a { background: rgb(245, 245, 245); padding-top:14px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(51, 51, 51); font-size: 22px; line-height:26px; display: inline-block; }
.view-good-box .view-good a:hover { background: rgb(223, 17, 25); color: rgb(255, 255, 255); }
.view-good-box .view-nogood a:hover { background: rgb(0, 0, 0); color: rgb(255, 255, 255); }
.view-author .auth-photo { width:160px; padding-right:15px; }
.view-comment { color: rgb(51, 51, 51); font-family: "Roboto", sans-serif; margin: 0px 0px 10px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; font-size: 20px; font-weight: 500; border-bottom-color: rgb(51, 51, 51); border-bottom-width: 1px; border-bottom-style: solid; display: inline-block; position: relative; }

#bo_v_sns {margin:4px 0 15px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

/* 댓글 */
.comment-media { }
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display:inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .media { border-top:1px solid #eee; margin:7px 0px; padding:7px 0px 0px; }
.comment-media :first-child.media { border-top:0px; margin-top:0px; padding-top:0px; }
.comment-media h5 { margin:2px 0px; line-height: 22px; }
.comment-media .media .media-body { padding-left:0px; }
.comment-media .media .media-info { margin-left:10px; }
.comment-media .media .media-content {	margin-top:8px; }
.comment-media .media .media-btn {	margin-left:4px; }
.comment-media .cmt-good-btn { text-align:right; padding-right:1px; }
.comment-media .cmt-good, .comment-media .cmt-nogood { display:inline-block; width:74px; height:20px; margin-top:10px; padding-right:10px; margin-right:-1px; font:bold 11px verdana; text-align:right; letter-spacing:-1px; line-height:19px; cursor:pointer; }
.comment-media .cmt-good { background: url('./img/cmt_good.gif') no-repeat left center; color:#f4695b; }
.comment-media .cmt-nogood { background: url('./img/cmt_nogood.gif') no-repeat left center; color:#888; }

#bo_vc_opt ol {	margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_opt ol:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_opt ol li { float:left;margin:0; }
#bo_vc_send_sns ul { margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_send_sns ul:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_send_sns ul li {	float:left;margin:0 0 0 20px; }
#bo_vc_send_sns input {	margin:0 0 0 5px; }

/* 쓰기 공통 */
.write-wrap { width:100%; overflow:hidden; }
.write-wrap h2 { padding:0px; margin:0px; font-size:14px; font-weight:bold; }
.write-wrap label { font-weight:bold; margin-top:4px; }
.write-wrap .write-content { height: 300px; }
.write-wrap .write-file { border:0;box-shadow:none; }
.write-wrap .write-btn { margin:15px 0px 25px; text-align:center; }
.write-wrap .delete-file { margin:0px; padding:0px 10px; font-weight:normal; }
.write-wrap .delete-file label { font-weight: normal; }
.write-wrap .sp-label { font-weight:normal; margin-right:10px; }
.write-wrap .sp-label input[type="checkbox"], .write-wrap .sp-label input[type="radio"] { margin-top:0px; }

#autosave_pop div { text-align:right; }
#autosave_pop button { margin:0; margin-left:10px; padding:0; border:0; background:transparent; color:#888; }
#autosave_pop ul { margin:0; padding:0; padding-left:15px; list-style:disc; }
#autosave_pop li { padding:2px 5px;  }
#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; }

/* 반응형 공통 */
@media all and (max-width:460px) {
	.responsive .list-btn { text-align:center; margin:0px auto; }
	.responsive .pull-right.list-btn { float:none !important; margin-bottom:14px; }
	.responsive .view-wrap h1 { text-overflow:clip; overflow:none; white-space:normal; line-height: 24px; font-size: 18px; margin-bottom:10px; }
	.responsive .view-wrap h1 .photo { display:none; }
	.responsive .view-btn i { margin-right:0px; }
	.responsive .view-author .auth-photo { float:none; width:100%; padding-right:0px; }
	.responsive .comment-btn { text-align:center; }
	.responsive .comment-btn .pull-right { float:none !important; }
}
/* 모바일 최적화 - 불필요한 컬럼 숨김 */
@media screen and (max-width: 767px) {
    /* 분류 컬럼 숨김 (is_category) */
    table.list-pc thead tr th:nth-child(3),
    table.list-pc tbody tr td:nth-child(3) {
        display: none;
    }
    
    /* 날짜 컬럼 숨김 */
    table.list-pc thead tr th:nth-child(6),
    table.list-pc tbody tr td:nth-child(6) {
        display: none;
    }
    
    /* 조회 컬럼 숨김 */
    table.list-pc thead tr th:nth-child(7),
    table.list-pc tbody tr td:nth-child(7) {
        display: none;
    }
    
    /* 추천 컬럼 숨김 (is_good) */
    table.list-pc thead tr th:nth-child(8),
    table.list-pc tbody tr td:nth-child(8) {
        display: none;
    }
    
    /* 제목 컬럼 너비 확장 */
    table.list-pc .list-subject {
        width: auto;
    }
}

/* 게시판 목록 열 크기 통일 - C1008 기준 (2025-11-30) */

/* 일반 사용자용 - 체크박스 없음 */
/* 번호 열 */
/* ===== 일반 사용자용 컬럼 설정 (c1002 basic 스킨과 동일) ===== */

/* 번호 열 */
table.list-pc td:nth-child(1) {
    width: 70px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 분류 열 */
table.list-pc td:nth-child(2) {
    width: 80px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 제목 열 - 가변폭, 왼쪽정렬 */
table.list-pc td:nth-child(3) {
    width: auto !important;
    text-align: left !important;
    padding: 8px 5px !important;
}

/* 글쓴이 열 - 왼쪽정렬 */
table.list-pc td:nth-child(4) {
    width: 100px !important;
    padding: 8px 5px !important;
    text-align: left !important;
}

/* 날짜 열 */
table.list-pc td:nth-child(5) {
    width: 50px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 조회 열 */
table.list-pc td:nth-child(6) {
    width: 40px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 추천 열 */
table.list-pc td:nth-child(7) {
    width: 40px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 제목 컬럼 클래스 */
table.list-pc .td_subject {
    text-align: left !important;
}

table.list-pc .td_name {
    width: 100px !important;
    text-align: left !important;
}



/* ===== 관리자용 - 체크박스 열 설정 (일반 사용자에게 영향 없음) ===== */
/* 체크박스가 있는 첫 번째 열만 좁게 */
table.list-pc th:first-child:has(input[type="checkbox"]) {
    width: 25px !important;
    padding: 5px !important;
}

table.list-pc td:first-child:has(input[type="checkbox"]) {
    width: 25px !important;
    padding: 5px !important;
}



/* ===== 관리자용 컬럼 설정 (체크박스 있을 때) ===== */
/* :has() 선택자로 체크박스 있는 테이블에만 적용 - 일반 사용자에게 영향 없음 */

/* 번호 열 - nth-child(2) */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(2) {
    width: 70px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 분류 열 - nth-child(3) */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(3) {
    width: 80px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 제목 열 - nth-child(4) - 가변폭, 왼쪽정렬 */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(4) {
    width: auto !important;
    text-align: left !important;
    padding: 8px 5px !important;
}

/* 글쓴이 열 - nth-child(5) - 왼쪽정렬 */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(5) {
    width: 100px !important;
    padding: 8px 5px !important;
    text-align: left !important;
}

/* 날짜 열 - nth-child(6) */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(6) {
    width: 50px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 조회 열 - nth-child(7) */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(7) {
    width: 40px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}

/* 추천 열 - nth-child(8) */
table.list-pc:has(th:first-child input[type="checkbox"]) td:nth-child(8) {
    width: 40px !important;
    padding: 8px 5px !important;
    text-align: center !important;
}


/* ========== 읽은 게시물 표시 (일반 모드) ========== */
table.list-pc tr.read-post {
    background-color: #f5f5f5 !important;
}
table.list-pc tr.read-post .list-subject a {
    color: #888 !important;
}
.list-mobile .list-item.read-post {
    background-color: #f5f5f5 !important;
}
.list-mobile .list-item.read-post a {
    color: #888 !important;
}

/* 오토봇 다운로드 가능 표시 (2026-04-11) */
.autobot-dl { display:inline-block; border:2px solid #333; padding:0px 6px; border-radius:3px; }
body.dark-mode .autobot-dl { border-color:#999 !important; }
