@charset "utf-8";
/*
 * 외부(지자체) 관리자 포털 스타일
 *
 * 레거시 `old/ADM/common/css/Site.css` 에서 P1 화면(로그인 · 메인 · 패스워드 변경)이
 * 실제로 쓰는 규칙만 옮긴 것이다. 레이아웃·색상·치수는 레거시 그대로다.
 *
 * Kendo UI(kendo.common/metro/dataviz) 는 P1 화면이 위젯을 하나도 쓰지 않으므로
 * 로드하지 않는다(상세설계 §11). Bootstrap 3 도 로드하지 않고, 레거시 마크업이
 * 사용하는 그리드·폼 클래스만 아래에 최소 구현한다 — 공유 번들의 dist/bootstrap 은
 * 5.x 라서 `col-xs-*` 등 BS3 클래스가 없기 때문이다.
 */

/* ── reset (Site.css:1~20) ───────────────────────────────────── */
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, a, img, dl, dt, dd, ol, ul, li,
table, tfoot, thead, tr, th, td,
article, aside, canvas, details, footer, header, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

body {
    line-height: 1;
    font-size: 12px;
}

ol, ul { list-style: none; }

html, body {
    height: 100%;
    font-family: 'Open Sans', arial, sans-serif;
}

html, body,
.FullHeight,
.container-fluid,
.column { height: 100%; }

*, *::before, *::after { box-sizing: border-box; }

/* ── icomoon (Site.css:118~155) ──────────────────────────────── */
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?c8m22a');
    src: url('fonts/icomoon.eot?#iefixc8m22a') format('embedded-opentype'),
         url('fonts/icomoon.woff?c8m22a') format('woff'),
         url('fonts/icomoon.ttf?c8m22a') format('truetype');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-info:before         { content: "\e600"; }
.icon-faves:before        { content: "\e601"; }
.icon-star-empty:before   { content: "\e602"; }
.icon-chart-column:before { content: "\e603"; }
.icon-mobile:before       { content: "\e604"; }

.icon { margin-right: 0.917em; }

/* ── 그리드 최소 구현 (BS3 대체) ──────────────────────────────── */
.row, .container-fluid { padding: 0; margin: 0; }

.row::after { content: ""; display: table; clear: both; }

.column { padding-left: 0; padding-right: 0; }

[class^="col-"], [class*=" col-"] {
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.col-xs-3  { width: 25%; }
.col-xs-6  { width: 50%; }
.col-xs-9  { width: 75%; }
.col-xs-12 { width: 100%; }
.col-md-3  { width: 25%; }
.col-md-9  { width: 75%; }
.col-lg-6, .col-md-6 { width: 50%; }
.col-lg-12 { width: 100%; }

@media (max-width: 991px) {
    .col-sm-12 { width: 100%; }
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-danger { color: #a94442; }

/* ── Nav section (Site.css:94~152) ───────────────────────────── */
#nav-section {
    background-color: #35373d;
    width: 220px;
    height: 100%;
    z-index: 6000;
    position: fixed;
}

#nav-section li {
    border-bottom: 1px solid #4a4b51;
    white-space: nowrap;
    font-size: 11px;
    line-height: 11px;
}

#nav-section li a {
    color: #b8bbc2;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 1em;
    font-size: 12px;
    padding: 15px;
    display: block;
}

#nav-section li:hover  { background-color: #212329; }
#nav-section li.active { background-color: #0d1016; }

.nav > li > a:hover,
.nav > li > a:focus { background: none; }

#dash-logo,
#dash-logo small {
    color: #fff;
    background-color: #1996e4;
    text-align: center;
}
#dash-logo small { font-size: 9pt; }

#sidebar-nav { padding: 0; }

#rights {
    color: #848690;
    font-size: 10px;
    position: absolute;
    bottom: 10px;
    left: 15px;
}

/* 토글 버튼 (Site.css:156~172) — 모바일 폭에서만 노출 */
#toggle-button {
    margin-top: 27px;
    border: none;
    background: transparent;
    padding: 9px 10px;
    display: none;
}
#toggle-button:hover,
#toggle-button:focus { background-color: transparent; }
#toggle-button .icon-bar {
    background-color: #fff;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-top: 4px;
}

/* ── Main section (Site.css:174~215) ─────────────────────────── */
#main-section {
    float: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 220px;
    z-index: 5000;
    overflow-y: auto;
}

#dash-logo,
#main-section-header > h2 {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 26px;
    padding-top: 30px;
    height: 90px;
    padding-bottom: 7px;
}

#main-section-header > h2 {
    padding-left: 1.667em;
    white-space: nowrap;
}

#main-section-header {
    height: auto;
    border-bottom: 1px solid #ededee;
    box-shadow: 1px 0 4px #ededee;
    background-color: #fff;
}

#dateFilter {
    padding: 30px;
    text-align: right;
}

/* ── MainSection (Site.css:896~901) ──────────────────────────── */
#MainSection { background-color: #FFF; padding: 15px; }
#MainSection section { margin: 0 0 30px 0; }
#MainSection section header { margin-bottom: 15px; }
#MainSection section header h2 { font-size: 20pt; font-weight: bold; color: #454545; margin-bottom: 10px; }
#MainSection section header p { padding: 5px; margin-bottom: 5px; color: #7A7A7A; }

/* ── 폼 최소 구현 (BS3 대체) ─────────────────────────────────── */
.form-group { margin-bottom: 15px; }
.form-group::after { content: ""; display: table; clear: both; }

.form-horizontal label {
    display: block;
    padding-top: 7px;
    padding-bottom: 7px;
    font-weight: 700;
    font-size: 13px;
    color: #333;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
}

.help-block {
    display: block;
    margin-top: 5px;
    color: #737373;
    font-size: 12px;
    line-height: 1.5em;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-lg { padding: 10px 16px; font-size: 18px; border-radius: 6px; }
.btn-primary { color: #fff; background-color: #337ab7; border-color: #2e6da4; }
.btn-primary:hover { background-color: #286090; border-color: #204d74; }

/* 검증 상태 (function.js:Tooltip 이 토글) */
.has-warning .form-control { border-color: #8a6d3b; }
.has-success .form-control { border-color: #3c763d; }
.form-control.error { border-color: #a94442; }

/* ── 로그인 (Site.css:914~930) ───────────────────────────────── */
#LoginBoxSection { margin-top: 50px; }
#LoginBoxSection header h3 {
    color: #000;
    font: bold 20pt Verdana, Geneva, sans-serif;
    margin-bottom: 10px;
}
#LoginBoxDiv {
    padding: 15px;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    box-shadow: #CCC 0px 0px 5px;
}

/* ── 패스워드 변경 (Site.css:932~951) ────────────────────────── */
#resetPW { margin: 30px; padding: 15px; }
#resetPW .alert {
    padding: 10px 0 !important;
    color: #F00;
    font-size: 9pt !important;
    line-height: 1.5em !important;
}
#resetPW .alert li { margin-bottom: 4px; }
#resetPW #pwForm { margin-bottom: 30px; }
#new_pw_text { margin: 15px 0; }

/* ── 툴팁 (function.js:$.fn.Tooltip 대체) ────────────────────── */
#Tooltip {
    position: absolute;
    z-index: 9000;
    max-width: 280px;
}
#Tooltip .Tooltip {
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.4em;
}
#Tooltip .Tooltip_arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
#Tooltip.down .Tooltip_arrow { top: -5px; border-bottom: 5px solid #333; }
#Tooltip.up   .Tooltip_arrow { bottom: -5px; border-top: 5px solid #333; }

/* ── 로딩 오버레이 (default.js:$.fn.Loading 대체) ────────────── */
#ExtLoading {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 9500;
}
#ExtLoading::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid #ccc;
    border-top-color: #1996e4;
    border-radius: 50%;
    animation: ExtSpin 0.8s linear infinite;
}
@keyframes ExtSpin { to { transform: rotate(360deg); } }

/* ── 좁은 화면 (레거시 row-offcanvas 대응 최소 구현) ─────────── */
@media (max-width: 767px) {
    #nav-section { position: relative; width: 100%; height: auto; }
    #main-section { position: relative; padding-left: 0; }
    #rights { position: relative; bottom: auto; left: auto; display: block; padding: 10px 15px; }
    #toggle-button { display: block; }
    #sidebar-nav.collapse { display: none; }
    #sidebar-nav.collapse.in { display: block; }
    [class^="col-"], [class*=" col-"] { float: none; width: 100%; }
}
