@charset "utf-8";
/* 본청 메인 레이어 팝업 (관리자 > 메인관리 > 팝업관리, dept 0) - /kma/include/main_popup.jsp */
.hq-popup { position:absolute; z-index:1000; width:450px; background:#fff; box-shadow:0 4px 18px rgba(0,0,0,.35); }
.hq-popup[hidden] { display:none; }
.hq-popup-body { position:relative; width:450px; height:584px; overflow:hidden; }
.hq-popup-body > a { display:block; width:100%; height:100%; color:inherit; text-decoration:none; }
.hq-popup-body img { display:block; width:100%; height:100%; object-fit:contain; }
.hq-popup-text { position:absolute; left:50%; width:80%; transform:translateX(-50%); text-align:center; font-size:15px; line-height:1.6; color:#222; word-break:keep-all; }
.hq-popup-text strong { display:block; margin-bottom:10px; font-size:18px; }
.hq-popup-text.tpl1 { top:16%; }
.hq-popup-text.tpl2 { top:14%; }
.hq-popup-text.tpl3 { top:33%; }
.hq-popup-text.tpl4 { top:20%; }
.hq-popup-foot { display:flex; align-items:center; justify-content:space-between; padding:6px 10px; background:#3a526b; color:#fff; font-size:14px; }
/* 체크박스는 KRDS 형식(.krds-form-check : 실제 input 은 숨기고 label 앞에 상자를 그림) */
.hq-popup-foot .krds-form-check label { color:#fff; font-size:14px; cursor:pointer; }
.hq-popup-close { padding:2px 6px; border:0; background:none; color:#fff; font-size:14px; font-weight:bold; cursor:pointer; }
.hq-popup-close:focus, .hq-popup-body > a:focus { outline:2px solid #ffbf00; outline-offset:2px; }

/* 좁은 화면 : 관리자 좌표 대신 화면 가운데, 화면 폭에 맞춰 줄임 */
@media (max-width:767px) {
	.hq-popup { left:50% !important; top:10px !important; width:calc(100% - 32px); max-width:450px; transform:translateX(-50%); }
	.hq-popup-body { width:100%; height:auto; aspect-ratio:450 / 584; }
	.hq-popup-text { font-size:13px; }
	.hq-popup-text strong { font-size:15px; }
}
