@charset "utf-8";

/**
 * 각종증명서 — http://www.geosan.co.kr/page/cert1 인라인 <style> 2블록을 수치 변경 없이 이식
 * (원본은 전역 선택자 → 테마에서는 .geosan-cert 안으로만 범위 지정)
 *
 * 원본 DevTools 기준: li.clear = 167×201px
 *   = .outer 144 + .bd margin-top 8 + (.bd > a: padding 10 + subj 9 + padding 30 = 49)
 * 제목은 반드시 <div class="bd"><a><span class="subj"> 구조여야 함 (a 의 padding 이 -10px 마진을 흡수)
 */

/* ---------- 블록 1 ---------- */
.geosan-cert .bd ul { overflow: hidden; }
.geosan-cert .bd ul li { float: left; padding-right: 20px; }
.geosan-cert .active { color: #f87d31; font-weight: bolder; }

/* ---------- 블록 2 (pm-board_album_cert1 ~ 7 동일) ---------- */
.geosan-cert [class^="pm-board_album_cert"] * { box-sizing: border-box; }
.geosan-cert [class^="pm-board_album_cert"] ul { margin: 0; padding: 0; list-style: none; }
.geosan-cert [class^="pm-board_album_cert"] ul:after { content: ''; display: block; clear: both; }
.geosan-cert [class^="pm-board_album_cert"] li { float: left; }
.geosan-cert [class^="pm-board_album_cert"] li.clear { clear: both; }
.geosan-cert [class^="pm-board_album_cert"] li a { display: block; text-align: center; color: #333; padding: 10px 10px 30px; }
.geosan-cert [class^="pm-board_album_cert"] .figure { margin: 0; }
.geosan-cert [class^="pm-board_album_cert"] .figure img { display: block; margin: 0 auto; }
.geosan-cert [class^="pm-board_album_cert"] .figure span { display: block; min-width: 50px; max-width: 120px; height: 90px; margin: 0 auto; font-size: 12px; color: #999; line-height: 90px; font-family: Arial; background: #eee; border: 1px solid #ccc; }
.geosan-cert [class^="pm-board_album_cert"] .bd { margin: 8px 0 0; font-size: 13px; }
.geosan-cert [class^="pm-board_album_cert"] .date { margin: 5px 0 0; font-size: 12px; font-family: Arial; color: #888; }
.geosan-cert [class^="pm-board_album_cert"] .bd,
.geosan-cert [class^="pm-board_album_cert"] .date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geosan-cert [class^="pm-board_album_cert"] .comment { font-weight: normal; color: #888; }
.geosan-cert [class^="pm-board_album_cert"] .empty { padding: 10px 8px; font-size: 14px; color: #666; text-align: center; width: 100% !important; }

.geosan-cert [class^="pm-board_album_cert"].col_2 li { width: 50%; }
.geosan-cert [class^="pm-board_album_cert"].col_3 li { width: 33.33%; }
.geosan-cert [class^="pm-board_album_cert"].col_4 li { width: 25%; }
.geosan-cert [class^="pm-board_album_cert"].col_5 li { width: 20%; }

.geosan-cert .hd_list .bd ul { width: 100%; margin: 0; padding: 0; list-style: none; }
.geosan-cert .hd_list .bd ul li { border-bottom: 1px solid #e1e1e1; margin-bottom: 30px; }
.geosan-cert .hd_list .bd ul li a { float: left; display: block; padding: 0 7px 10px 0; }

.geosan-cert .outer { border: 1px solid #efefef; width: 144px !important; height: 144px !important; }
.geosan-cert .subj { display: block; font-size: 13px; font-weight: 400; margin-left: -20px; margin-top: -10px; }

/* ---------- 테마 전용 (원본에 없는 요소: 레이아웃에 영향 없도록 처리) ---------- */
/* 업로드 원본(약 1700×2338)을 그대로 쓰고, 원본 사이트 썸네일과 같은 88×120 안으로 표시만 축소 */
.geosan-cert [class^="pm-board_album_cert"] .figure.outer img { max-width: 88px; max-height: 120px; width: auto; height: auto; }
.geosan-cert { position: relative; }
.geosan-cert .pg_wrap { display: none; }
.geosan-cert .geosan-cert-admin {
	position: absolute;
	top: -26px;
	right: 0;
	z-index: 5;
	font-size: 12px;
	line-height: 1;
}
.geosan-cert .geosan-cert-admin a { margin-left: 10px; color: #666; }
.geosan-cert .toggleSearch {
	position: absolute;
	top: -4px;
	right: 0;
	z-index: 6;
	margin: 0 !important;
	padding: 8px;
	background: #fff;
	border: 1px solid #ccc;
}
