@charset "utf-8";

/* 카테고리 */
.list-category { margin-bottom:15px; }
.list-category .tabs { margin: 0px; padding:0px; }
.list-category .tabs::before { display: table; content: " "; }
.list-category .tabs::after { display: table; content: " "; clear:both; }
.list-category .tabs ul.nav-tabs { margin: 0px; padding:0px; border:0px; border-left:1px solid #ddd; }
.list-category .tabs ul.nav-tabs li.active a { background: rgb(255, 255, 255); color: rgb(233, 27, 35); font-weight:bold; cursor:pointer; }
.list-category .tabs ul.nav-tabs a { padding:10px 15px; background: rgb(247, 247, 247); color: #333; margin-right: 0px; border-radius: 0px; -moz-border-radius: 0; -webkit-border-radius: 0; border:1px solid #ddd; border-left:0px; }
.list-category .tabs ul.nav-tabs a:hover, .list-category .tabs ul.nav-tabs a:active, .list-category .tabs ul.nav-tabs a:focus { color: #fff; background: rgb(233, 27, 35); }
.list-category-xs .selected a { color:crimson !important; font-weight:bold !important; }

/* PC 목록 */
table.list-pc { border-bottom: 1px solid #ddd; margin-bottom:15px; }
table.list-pc th { clear:both; height:43px; background: url('./img/head.gif') repeat-x !important; font-weight:bold; font-size:12px; color:#333; border:0px; /*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 .list-now { background: #fafafa; }
table.list-pc .list-img img { width:60px; height:60px; border-radius:20%; }
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-cnt { color: orangered; font-size: 10px; font-weight:bold; font-family:verdana; letter-spacing:-1px; }
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: 12px; 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-label { display:inline-block; min-width:20px; padding:4px 6px 2px; font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-label-txt { font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-icon { display:inline-block; min-width:20px; padding:4px 6px 2px; font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.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-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'); }
.list-wrap .wr-best { width:12px; height:12px; background-image: url('./img/icon_best.gif'); }

/* 목록 모달 */
.list-modal { position:relative; height: 0; padding-bottom: 56.25%; overflow: hidden; }
.list-modal iframe { position: absolute;top: 0; left: 0; width: 100%; height:100%; }

/* 내용 공통 */
.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 10px; color: rgb(59, 62, 67); letter-spacing:-1px; }
.view-wrap h2 { font-size: 19px; font-weight:bold; margin:0px; line-height:25px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; margin:0px; padding:0px 10px 10px; color: rgb(59, 62, 67); letter-spacing:-1px; }
.view-wrap h1 .photo { border-radius: 50%; width: 50px; height: 50px; margin-right:10px; }
.view-wrap .no-attach { border-bottom:0px; }
.view-wrap.view-modal { padding:5px; margin:0px; }

.view-btn { margin:0px 0px 30px; }
.view-wrap.view-modal .view-btn { margin:0px; }
.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 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 }
.view-wrap-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-tag { margin-bottom:10px; }
.view-author .auth-photo { width:160px; padding-right:15px; }
.view-section { 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-wrap-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-wrap-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) {
    .list-btn { text-align:center; margin:0px auto; }
    .pull-right.list-btn { float:none !important; margin-bottom:15px; }
    .view-wrap h1 { text-overflow:clip; overflow:none; white-space:normal; line-height: 24px; font-size: 18px; }
    .view-wrap h1 .photo { display:none; }
    .view-btn i { margin-right:0px; }
    .view-author .auth-photo { float:none; width:100%; padding-right:0px; }
    .comment-btn { text-align:center; }
    .comment-btn .pull-right { float:none !important; }
    i.big-fa { fon-size:1.3em; }
}

.search-bar {
    border: 1px solid #2f96ff;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    background: #fff;
}

.search-scope {
    width: 130px;
    height: 34px;
    border: 0;
    border-right: 1px solid #dbeafe;
    margin-right: 8px;
    padding: 0 8px;
    outline: none;
    color: #333;
    background: #fff;
    font-size: 13px;
}

.search-input {
    border: none;
    flex: 1;
    padding: 5px;
    outline: none;
    color: #333;
    width: auto;
    min-width: 0;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    border: none;
    padding: 5px 8px;
    outline: none;
    color: #2f96ff;
    background: none;
    cursor: pointer;
    flex: 0 0 auto;
}

@media all and (max-width: 767px) {
    .search-bar {
        padding: 4px 6px;
    }

    .search-scope {
        width: 95px;
        font-size: 12px;
        margin-right: 5px;
        padding: 0 4px;
    }

    .search-input {
        font-size: 13px;
    }
}

/* 버튼 공통 */
button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button i {
    margin-right: 5px;
}

.torrent-download-button {
    background-color: #21a6ed;/*#4CAF50; 녹색 */
    color: white;
}

.torrent-download-button:hover {
    background-color: #1e8bc6;/*#45a049;*/
}

.magnet-link-button {
    background-color: #f44336; /* 빨간색 */
    color: white;
}

.magnet-link-button:hover {
    background-color: #da190b;
}

.video-play-button {
    background-color: #00005c; /* 남색 */
    color: white;
}

.video-play-button:hover {
    background-color: #0505b3;
}

.download-button {
    background-color: #3a9017;
    color: white;
}

.download-button:hover {
    background-color: #2a6b10;
}

/* 운영진 화면에서 일반회원 글은 파란색 */
.list-pc .list-subject a.member-subject {
    color: #304ffe !important;
    font-weight: 700;
}

/* 현재 열람중인 글은 파란색보다 우선해서 검은색 */
.list-pc .list-subject.now a.member-subject,
.list-pc tr.list-now .list-subject a.member-subject {
    color: #000 !important;
    font-weight: 700;
}

/* 현재 열람중인 글에 마우스를 올려도 검은색 유지 */
.list-pc .list-subject.now a.member-subject:hover,
.list-pc tr.list-now .list-subject a.member-subject:hover {
    color: #000 !important;
    text-decoration: none;
}

/* 이미 방문한 일반회원 글도 검은색 */
.list-pc .list-subject a.member-subject:visited {
    color: #000 !important;
}

.view-content img,
.view-img img {
    max-width:100% !important;
    height:auto !important;
}

/* 댓글 익명 표시 */
.comment-media .cmt-anonymous-badge {
    display:inline-block;
    margin-left:5px;
    padding:2px 6px;
    border-radius:4px;
    background:#444;
    color:#fff;
    font-size:10px;
    font-weight:normal;
    line-height:1.2;
    vertical-align:middle;
}

.comment-media .cmt-anonymous-name {
    font-weight:bold;
}

.comment-media .cmt-anonymous-photo {
    background:#f1f1f1 !important;
    color:#777 !important;
}

/* 숨김글 관리자 표시 */
.blind-subject {
    text-decoration: line-through !important;
    opacity: 0.65;
}

.blind-badge {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 3px 5px;
    margin-right: 4px;
    border-radius: 3px;
    color: #fff;
    vertical-align: middle;
    text-decoration: none !important;
}

.blind-badge.blind-normal {
    background: #777;
}

.blind-badge.blind-deduct {
    background: #d9534f;
}

.view-blind-alert {
    margin: 0 0 15px;
    padding: 12px 15px;
    border: 1px solid #d9534f;
    background: #fff5f5;
    color: #b52b27;
    font-weight: bold;
    line-height: 1.6;
}

/* 공유 종료일 표시 */
.share-expire-badge {
    display:inline-block;
    margin-left:6px;
    padding:2px 6px;
    border-radius:4px;
    background:#eef6ff;
    border:1px solid #b8dcff;
    color:#1f6fb2;
    font-size:11px;
    font-weight:normal;
    line-height:1.4;
    vertical-align:middle;
    text-decoration:none !important;
}

.share-expire-badge.share-today {
    background:#fff8e5;
    border-color:#f0c36d;
    color:#a36b00;
}

.share-expire-badge.share-expired {
    background:#f5f5f5;
    border-color:#ccc;
    color:#777;
}

.view-share-expire {
    margin:0 0 12px;
    padding:10px 12px;
    border:1px solid #b8dcff;
    background:#f4f9ff;
    color:#1f5f9b;
    line-height:1.6;
    border-radius:4px;
}

.view-share-expire strong {
    margin-right:8px;
}

.view-share-expire span {
    display:inline-block;
    font-weight:bold;
    color:#0f4c81;
}

.view-share-expire em {
    display:block;
    margin-top:2px;
    font-style:normal;
    color:#666;
    font-size:12px;
}

.view-share-expire.share-today {
    border-color:#f0c36d;
    background:#fffaf0;
    color:#8a5a00;
}

.view-share-expire.share-expired {
    border-color:#ccc;
    background:#f7f7f7;
    color:#777;
}

@media all and (max-width:767px) {
    .share-expire-badge {
        display:block;
        width:max-content;
        max-width:100%;
        margin:3px 0 0;
        font-size:10px;
    }

    .view-share-expire {
        margin-left:0;
        margin-right:0;
        font-size:12px;
    }
}


/* 글쓰기 - 공유기간 설정 */
.share-expire-write-row .share-expire-check-label {
    display:inline-block;
    margin-top:10px;
    font-weight:bold;
    cursor:pointer;
}

.share-expire-write-row .share-expire-check-label input {
    margin:0 5px 0 0;
    vertical-align:middle;
}

.share-expire-write-row .share-expire-help {
    display:inline-block;
    margin-top:6px;
    color:#777;
    font-size:12px;
    line-height:1.6;
    vertical-align:middle;
}

.share-expire-date-box {
    margin-top:8px;
}

.share-expire-date-input {
    display:inline-block;
    width:190px;
    max-width:100%;
    text-align:center;
    vertical-align:middle;
}

.share-expire-date-help {
    display:inline-block;
    margin-left:10px;
    color:#666;
    font-size:12px;
    line-height:1.6;
    vertical-align:middle;
}

@media all and (max-width:767px) {
    .share-expire-date-input {
        display:block;
        width:100%;
    }

    .share-expire-date-help {
        display:block;
        margin:6px 0 0;
    }
}


/* 다운로드/링크 클릭수 표시 */
.download-hit-count {
    display:inline-block;
    margin-left:6px;
    color:#e60000;
    font-weight:700;
    font-size:13px;
    line-height:1;
    vertical-align:middle;
}

.list-group-item .download-hit-count {
    margin-left:8px;
}

@media all and (max-width:767px) {
    .download-hit-count {
        margin-left:4px;
        font-size:12px;
    }
}

/* 자료정보: 해상도/자막 */
.ssg-meta-write-row .form-control {
    height: 30px;
    font-size: 12px;
}

.ssg-subtitle-badge {
    display:inline-block;
    min-width:34px;
    padding:3px 6px 2px;
    border-radius:10px;
    background:#f1f5f9;
    border:1px solid #dbe3ea;
    color:#334155;
    font-size:11px;
    line-height:1.1;
    letter-spacing:-1px;
}

.ssg-subtitle-kor,
.ssg-subtitle-official {
    background:#ecfdf5;
    border-color:#bbf7d0;
    color:#047857;
    font-weight:bold;
}

.ssg-subtitle-ai,
.ssg-subtitle-syncbad {
    background:#fff7ed;
    border-color:#fed7aa;
    color:#c2410c;
    font-weight:bold;
}

.ssg-subtitle-none {
    background:#f8fafc;
    border-color:#e2e8f0;
    color:#94a3b8;
}

.ssg-mobile-meta {
    margin-top:3px;
    font-size:11px;
    line-height:1.35;
    color:#64748b;
    letter-spacing:-1px;
}

/* 자막자료실 전용 배지 */
.ssg-subtitle-syncfix,
.ssg-subtitle-pack {
    background:#eff6ff;
    border-color:#bfdbfe;
    color:#1d4ed8;
    font-weight:bold;
}

.ssg-subtitle-hard,
.ssg-subtitle-hardkor,
.ssg-subtitle-multi {
    background:#f5f3ff;
    border-color:#ddd6fe;
    color:#6d28d9;
    font-weight:bold;
}

