@charset "utf-8";
/* ============================================================
   g4look - 그누보드4 basic_ 스킨(카라그래퍼) 느낌 재현용 스타일
   원래 스킨의 style.css(글쓰기/댓글 폼) 위에 덮어씁니다.
   ============================================================ */

/* ---------- 공통 ---------- */
.g4wrap { max-width:1200px; margin:0 auto; padding:0 0 20px; box-sizing:border-box;
    color:#222; font-family:Tahoma,"굴림",Gulim,"Malgun Gothic",sans-serif; font-size:12px; line-height:1.5; }
.g4wrap a:link, .g4wrap a:visited { color:#466c8a; text-decoration:none; }
.g4wrap a:hover { text-decoration:underline; }
.g4wrap img { border:0; }
.g4wrap:after, .g4v_top:after, .g4v_info:after, .g4v_nav:after { content:""; display:block; clear:both; }

.g4wrap .g4btn, .g4wrap a.g4btn:link, .g4wrap a.g4btn:visited {
    display:inline-block; height:23px; line-height:21px; padding:0 10px; margin:0 1px; box-sizing:border-box;
    border:1px solid #ccc; background:#f6f6f6; background:linear-gradient(#fff,#eee);
    color:#555; font-size:12px; font-family:inherit; text-decoration:none; vertical-align:middle; cursor:pointer; }
.g4wrap a.g4btn:hover { border-color:#999; text-decoration:none; }

/* ---------- 상단 배너 ---------- */
.g4_banner { position:relative; margin:0 0 12px; line-height:0; }
.g4_banner img { display:block; width:100%; height:auto; }
.g4_banner a { position:absolute; display:block; overflow:hidden; text-indent:-9999px; }
.g4_bn_home  { left:45%;    top:11.1%; width:4.4%;  height:9.5%; }
.g4_bn_photo { left:49.4%;  top:11.1%; width:4.8%;  height:9.5%; }

/* 큰 글자 제목 / 텍스트 메뉴 (기본은 숨김, 모바일 또는 설정에 따라 표시) */
.g4_mtitle { display:none; margin:22px 0 6px; text-align:center; line-height:1.15; }
.g4wrap .g4_mtitle a:link, .g4wrap .g4_mtitle a:visited { color:#444; text-decoration:none; font-family:Georgia,"Times New Roman",serif; font-weight:bold; font-size:28px; font-size:clamp(20px,6.4vw,40px); letter-spacing:.12em; }
@supports ((-webkit-text-stroke:1px #000) or (text-stroke:1px #000)) {
    .g4wrap .g4_mtitle a:link, .g4wrap .g4_mtitle a:visited { color:#fff; -webkit-text-stroke:1.2px #555; text-shadow:2px 2px 0 #d3d3d3; }
}
.g4_mnav { display:none; }
.g4wrap .g4_mnav { margin:0 0 6px; padding:6px 0; text-align:center; font-family:Tahoma,sans-serif; font-size:13px; font-weight:bold; letter-spacing:1px; border-bottom:1px dotted #ddd; }
.g4wrap .g4_mnav a:link, .g4wrap .g4_mnav a:visited { display:inline-block; padding:2px 10px; color:#222; }
.g4_mnav span { color:#ccc; }
.g4_tp .g4_banner { display:none; }
.g4_tp .g4_mtitle, .g4_tp .g4_mnav { display:block; }

/* ---------- 회원 정보 한 줄 ---------- */
.g4_userbar { height:26px; line-height:26px; margin:0 0 8px; color:#888; border-bottom:1px dotted #ddd; }
.g4_userbar:after { content:""; display:block; clear:both; }
.g4_visit { display:none; float:left; white-space:nowrap; font-size:12px; color:#888; }
.g4_user { float:right; text-align:right; }
@media (min-width:641px) { .g4_visit { display:block; } }
.g4_userbar b { color:#505050; }
.g4_sep { margin:0 6px; color:#ccc; }

/* ---------- 메인 화면 ---------- */
.g4m_img { margin:0; text-align:center; }
.g4m_img img { display:block; margin:0 auto; max-width:100%; height:auto; }
.g4m_empty { max-width:1200px; margin:10px auto; padding:90px 20px; box-sizing:border-box; border:2px dashed #ccc; color:#888; line-height:1.8; text-align:center; }
.g4m_empty b { color:#505050; }

/* ---------- 메인 화면: 최신글 목록 ---------- */
.g4m_list { margin:14px 0 0; border-top:1px solid #ddd; }
.g4m_list_head { height:30px; line-height:30px; padding:0 10px; border-bottom:1px solid #ddd;
    background:#f8f8f8; background:linear-gradient(#fff,#f1f1f1); color:#505050; font-weight:bold; }
.g4m_more { float:right; font-weight:normal; font-size:11px; }
.g4m_list ul { list-style:none; margin:0; padding:0; }
.g4m_list li { position:relative; height:30px; line-height:30px; padding:0 74px 0 10px; border-bottom:1px dotted #ddd; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.g4m_list li a { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.g4m_date { position:absolute; right:10px; top:0; color:#888; font-size:11px; }

/* ---------- 글 보기 ---------- */
.g4v_top { height:30px; clear:both; }
.g4v_date { float:left; margin-top:6px; color:#888; }
.g4v_date img { vertical-align:middle; }
.g4v_btns { float:right; }
.g4v_btns img { vertical-align:middle; }

.g4v_title { clear:both; box-sizing:border-box; min-height:34px; padding:7px 10px; border:1px solid #ddd;
    background:#f8f8f8; background:linear-gradient(#fff,#f1f1f1);
    color:#505050; font-size:13px; line-height:18px; font-weight:bold; word-break:break-all; }
.g4v_cate { color:#888; font-weight:normal; }
.g4v_shadow { height:3px; line-height:1px; font-size:1px; background:linear-gradient(rgba(0,0,0,.07), rgba(0,0,0,0)); }

.g4v_info { height:30px; line-height:30px; color:#888; background:url(img/view_dot.gif) repeat-x left bottom; }
.g4v_name { float:left; }
.g4v_name b { color:#888; }
.g4v_hit { float:right; }
.g4v_hit img { vertical-align:middle; }

.g4v_files { list-style:none; margin:0; padding:6px 10px 0; color:#888; }
.g4v_con { padding:10px; min-height:150px; word-break:break-all; font-size:12px; line-height:1.6; color:#222; }
.g4v_con #bo_v_con { overflow:hidden; }
.g4v_con img { max-width:100%; height:auto; }

/* ---------- 댓글 (원래 skin 의 구조 위에 덮어쓰기) ---------- */
#g4view #bo_vc { margin:10px 0 0; padding:0; border:0; border-bottom:1px solid #ddd; background:none; }
#g4view #bo_vc > h2 { position:absolute; width:0; height:0; overflow:hidden; font-size:0; line-height:0; }
#g4view #bo_vc article { position:relative; margin:0; padding:0; border:0; border-top:1px solid #ddd; background:none; }
#g4view #bo_vc .cm_wrap { margin:0; padding:0; }
#g4view #bo_vc .pf_img, #g4view #bo_vc .profile_img { display:none; }
#g4view #bo_vc article header { margin:0; padding:2px 4px; height:auto; line-height:24px; background:#f8f8f8; border:0; color:#888; }
#g4view #bo_vc article header h2 { position:absolute; width:0; height:0; overflow:hidden; font-size:0; line-height:0; }
#g4view #bo_vc article header .member, #g4view #bo_vc article header .sv_member, #g4view #bo_vc article header .sv_guest,
#g4view #bo_vc article header .guest, #g4view #bo_vc article header .sv_wrap { color:#888; font-weight:bold; }
#g4view #bo_vc .bo_vc_hdinfo { margin-left:4px; color:#888; font-size:11px; }
#g4view #bo_vc .bo_vc_hdinfo i, #g4view #bo_vc .bo_vc_hdinfo .fa { display:none; }
#g4view #bo_vc .cmt_contents { margin:0; padding:8px 8px 10px; border:0; background:none; color:#222; font-size:12px; line-height:1.6; }
#g4view #bo_vc .cmt_contents p { margin:0; padding:0; }
#g4view #bo_vc .bo_vc_act { margin:6px 0 0; }

/* ---------- 이전글 / 다음글 / 목록 ---------- */
.g4v_nav { margin-top:10px; padding:8px 0 8px; border-bottom:2px solid #ddd; }
.g4v_nav_l { float:left; }
.g4v_nav_l a { margin-right:5px; }
.g4v_nav_r { float:right; }
.g4v_nav img { vertical-align:middle; }

/* ---------- 목록 ---------- */
.g4l_info { height:26px; line-height:26px; color:#888; }
.g4l_total b { color:#505050; }
.g4l_admin { float:right; }
.g4l_table { width:100%; table-layout:fixed; border-collapse:collapse; border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.g4l_table th { height:30px; padding:0 4px; border-bottom:1px solid #ddd; text-align:center; white-space:nowrap;
    background:#f8f8f8; background:linear-gradient(#fff,#f1f1f1); color:#505050; font-size:12px; font-weight:bold; }
.g4l_table td { height:28px; padding:0 4px; border-bottom:1px dotted #ddd; text-align:center; color:#888; }
.g4l_table td.g4l_subj { padding-left:10px; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#222; }
.g4l_table td.g4l_name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.g4l_table td.g4l_name a, .g4l_table td.g4l_name span { color:#888; font-weight:bold; }
.g4l_table tr.g4l_notice td { background:#fafafa; font-weight:bold; }
.g4l_table tr:hover td { background:#fafcfd; }
.g4l_table td.g4l_empty { height:80px; color:#888; }
.g4l_cmt { margin-left:3px; color:#888; font-size:11px; }

.g4l_btns { margin:10px 0 0; text-align:right; min-height:23px; }
.g4l_pg { margin:6px 0 4px; text-align:center; }
.g4wrap .g4l_pg .pg_wrap { float:none; display:block; margin:0; padding:6px 0; text-align:center; }
.g4wrap .g4l_pg .pg_wrap .pg { display:inline-block; }
.g4wrap .g4l_pg .pg_page, .g4wrap .g4l_pg .pg_current, .g4wrap .g4l_pg .pg_start, .g4wrap .g4l_pg .pg_prev,
.g4wrap .g4l_pg .pg_next, .g4wrap .g4l_pg .pg_end {
    display:inline-block; min-width:24px; height:24px; line-height:22px; margin:0 1px; padding:0 4px; box-sizing:border-box;
    border:1px solid #ddd; background:#fff; color:#666; font-size:12px; text-align:center; text-decoration:none; vertical-align:middle; }
.g4wrap .g4l_pg .pg_current { border-color:#aaa; background:#f1f1f1; color:#222; font-weight:bold; }

.g4l_search { margin:12px 0 4px; text-align:center; }
.g4l_search select, .g4l_search .g4l_stx { height:23px; padding:0 4px; box-sizing:border-box; border:1px solid #ccc; font-size:12px; font-family:inherit; vertical-align:middle; }
.g4l_search .g4l_stx { width:160px; }

/* ---------- 하단 문구 ---------- */
.g4_foot { margin-top:22px; text-align:center; color:#888; }
.g4_foot p { margin:0 0 8px; }
.g4_foot_line { width:540px; max-width:90%; margin:0 auto 10px; border-top:2px solid #d6d7d6; }
.g4_foot_notice { font-size:11px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width:640px) {
    .g4_userbar { height:auto; line-height:22px; padding:2px 6px; text-align:center; }
    .g4_user { float:none; display:block; text-align:center; }
    .g4_tm .g4_banner { display:none; }
    .g4_tm .g4_mtitle, .g4_tm .g4_mnav { display:block; }
    .g4_bn_home, .g4_bn_photo { display:none; }
    .g4l_table col:nth-child(3), .g4l_table th:nth-child(3), .g4l_table td:nth-child(3),
    .g4l_table col:nth-child(5), .g4l_table th:nth-child(5), .g4l_table td:nth-child(5) { display:none; }
    .g4v_nav_l img, .g4v_nav_r img { height:auto; }
}
