@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%; }
}


/* ══════════════════════════════════════════════════════════════
 * P2 화면용 규칙 (회원 리스트 · 결제 현황)
 *
 * 🔴 신규 디자인이 아니다. 레거시 `old/ADM/common/css/bootstrap.min.css` 에서
 *    P2 화면이 실제로 쓰는 셀렉터의 정의만 그대로 뽑아 왔다.
 *    Bootstrap 전체를 새로 로드하지 않는다는 §1-2 전제를 지키기 위한 최소 이식이다.
 *
 * 이식 셀렉터: .table* / .pagination* / .alert* / .close / .sr-only /
 *              .form-inline / .pull-right / .btn-default·warning·danger
 *
 * ⚠️ 레거시 버전 특성을 그대로 둔다 —
 *    · `.table-striped` 는 `:nth-child(odd)` 다(`:nth-of-type` 아님)
 *    · `.table-responsive` 에 `@media (max-width:767px)` 래퍼가 **없다**(항상 적용)
 *
 * 상세: docs/외부관리자포털_Node포팅/06_구현계획서_P2_회원리스트_결제현황.md T29-1
 * ══════════════════════════════════════════════════════════════ */
@media print{
.table td,
.table th {background-color:#fff!important}
.table {border-collapse:collapse!important}
.table-bordered th,
.table-bordered td {border:1px solid #ddd!important}
}
.sr-only {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
blockquote.pull-right {padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}
blockquote.pull-right footer:before,
blockquote.pull-right small:before,
blockquote.pull-right .small:before {content:''}
blockquote.pull-right footer:after,
blockquote.pull-right small:after,
blockquote.pull-right .small:after {content:'\00A0 \2014'}
.table {width:100%;margin-bottom:20px}
.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}
.table>thead>tr>th {vertical-align:bottom;border-bottom:2px solid #ddd}
.table>caption+thead>tr:first-child>th,
.table>colgroup+thead>tr:first-child>th,
.table>thead:first-child>tr:first-child>th,
.table>caption+thead>tr:first-child>td,
.table>colgroup+thead>tr:first-child>td,
.table>thead:first-child>tr:first-child>td {border-top:0}
.table>tbody+tbody {border-top:2px solid #ddd}
.table .table {background-color:#fff}
.table-bordered {border:1px solid #ddd}
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {border:1px solid #ddd}
.table-bordered>thead>tr>th,
.table-bordered>thead>tr>td {border-bottom-width:2px}
.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {background-color:#f9f9f9}
.table-hover>tbody>tr:hover>td,
.table-hover>tbody>tr:hover>th {background-color:#f5f5f5}
.table>thead>tr>td.active,
.table>tbody>tr>td.active,
.table>tfoot>tr>td.active,
.table>thead>tr>th.active,
.table>tbody>tr>th.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>tbody>tr.active>td,
.table>tfoot>tr.active>td,
.table>thead>tr.active>th,
.table>tbody>tr.active>th,
.table>tfoot>tr.active>th {background-color:#f5f5f5}
.table-hover>tbody>tr>td.active:hover,
.table-hover>tbody>tr>th.active:hover,
.table-hover>tbody>tr.active:hover>td,
.table-hover>tbody>tr.active:hover>th {background-color:#e8e8e8}
.table>thead>tr>td.success,
.table>tbody>tr>td.success,
.table>tfoot>tr>td.success,
.table>thead>tr>th.success,
.table>tbody>tr>th.success,
.table>tfoot>tr>th.success,
.table>thead>tr.success>td,
.table>tbody>tr.success>td,
.table>tfoot>tr.success>td,
.table>thead>tr.success>th,
.table>tbody>tr.success>th,
.table>tfoot>tr.success>th {background-color:#dff0d8}
.table-hover>tbody>tr>td.success:hover,
.table-hover>tbody>tr>th.success:hover,
.table-hover>tbody>tr.success:hover>td,
.table-hover>tbody>tr.success:hover>th {background-color:#d0e9c6}
.table>thead>tr>td.info,
.table>tbody>tr>td.info,
.table>tfoot>tr>td.info,
.table>thead>tr>th.info,
.table>tbody>tr>th.info,
.table>tfoot>tr>th.info,
.table>thead>tr.info>td,
.table>tbody>tr.info>td,
.table>tfoot>tr.info>td,
.table>thead>tr.info>th,
.table>tbody>tr.info>th,
.table>tfoot>tr.info>th {background-color:#d9edf7}
.table-hover>tbody>tr>td.info:hover,
.table-hover>tbody>tr>th.info:hover,
.table-hover>tbody>tr.info:hover>td,
.table-hover>tbody>tr.info:hover>th {background-color:#c4e3f3}
.table>thead>tr>td.warning,
.table>tbody>tr>td.warning,
.table>tfoot>tr>td.warning,
.table>thead>tr>th.warning,
.table>tbody>tr>th.warning,
.table>tfoot>tr>th.warning,
.table>thead>tr.warning>td,
.table>tbody>tr.warning>td,
.table>tfoot>tr.warning>td,
.table>thead>tr.warning>th,
.table>tbody>tr.warning>th,
.table>tfoot>tr.warning>th {background-color:#fcf8e3}
.table-hover>tbody>tr>td.warning:hover,
.table-hover>tbody>tr>th.warning:hover,
.table-hover>tbody>tr.warning:hover>td,
.table-hover>tbody>tr.warning:hover>th {background-color:#faf2cc}
.table>thead>tr>td.danger,
.table>tbody>tr>td.danger,
.table>tfoot>tr>td.danger,
.table>thead>tr>th.danger,
.table>tbody>tr>th.danger,
.table>tfoot>tr>th.danger,
.table>thead>tr.danger>td,
.table>tbody>tr.danger>td,
.table>tfoot>tr.danger>td,
.table>thead>tr.danger>th,
.table>tbody>tr.danger>th,
.table>tfoot>tr.danger>th {background-color:#f2dede}
.table-hover>tbody>tr>td.danger:hover,
.table-hover>tbody>tr>th.danger:hover,
.table-hover>tbody>tr.danger:hover>td,
.table-hover>tbody>tr.danger:hover>th {background-color:#ebcccc}
@media (max-width:767px){
.table-responsive {width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}
.table-responsive>.table {margin-bottom:0}
.table-responsive>.table>thead>tr>th,
.table-responsive>.table>tbody>tr>th,
.table-responsive>.table>tfoot>tr>th,
.table-responsive>.table>thead>tr>td,
.table-responsive>.table>tbody>tr>td,
.table-responsive>.table>tfoot>tr>td {white-space:nowrap}
.table-responsive>.table-bordered {border:0}
.table-responsive>.table-bordered>thead>tr>th:first-child,
.table-responsive>.table-bordered>tbody>tr>th:first-child,
.table-responsive>.table-bordered>tfoot>tr>th:first-child,
.table-responsive>.table-bordered>thead>tr>td:first-child,
.table-responsive>.table-bordered>tbody>tr>td:first-child,
.table-responsive>.table-bordered>tfoot>tr>td:first-child {border-left:0}
.table-responsive>.table-bordered>thead>tr>th:last-child,
.table-responsive>.table-bordered>tbody>tr>th:last-child,
.table-responsive>.table-bordered>tfoot>tr>th:last-child,
.table-responsive>.table-bordered>thead>tr>td:last-child,
.table-responsive>.table-bordered>tbody>tr>td:last-child,
.table-responsive>.table-bordered>tfoot>tr>td:last-child {border-right:0}
.table-responsive>.table-bordered>tbody>tr:last-child>th,
.table-responsive>.table-bordered>tfoot>tr:last-child>th,
.table-responsive>.table-bordered>tbody>tr:last-child>td,
.table-responsive>.table-bordered>tfoot>tr:last-child>td {border-bottom:0}
}
@media (min-width:768px){
.form-inline .form-group {display:inline-block;margin-bottom:0;vertical-align:middle}
.form-inline .form-control {display:inline-block;width:auto;vertical-align:middle}
.form-inline .input-group>.form-control {width:100%}
.form-inline .control-label {margin-bottom:0;vertical-align:middle}
.form-inline .radio,
.form-inline .checkbox {display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}
.form-inline .radio input[type=radio],
.form-inline .checkbox input[type=checkbox] {float:none;margin-left:0}
.form-inline .has-feedback .form-control-feedback {top:0}
}
.btn-default {color:#333;background-color:#fff;border-color:#ccc}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {color:#333;background-color:#ebebeb;border-color:#adadad}
.btn-default:active,
.btn-default.active {background-image:none}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {background-color:#fff;border-color:#ccc}
.btn-default .badge {color:#fff;background-color:#333}
.btn-warning {color:#fff;background-color:#f0ad4e;border-color:#eea236}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active {color:#fff;background-color:#ed9c28;border-color:#d58512}
.btn-warning:active,
.btn-warning.active {background-image:none}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {background-color:#f0ad4e;border-color:#eea236}
.btn-warning .badge {color:#f0ad4e;background-color:#fff}
.btn-danger {color:#fff;background-color:#d9534f;border-color:#d43f3a}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active {color:#fff;background-color:#d2322d;border-color:#ac2925}
.btn-danger:active,
.btn-danger.active {background-image:none}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {background-color:#d9534f;border-color:#d43f3a}
.btn-danger .badge {color:#d9534f;background-color:#fff}
.pull-right>.dropdown-menu {right:0;left:auto}
.pagination {display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}
.pagination>li {display:inline}
.pagination>li>a,
.pagination>li>span {position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}
.pagination>li:first-child>a,
.pagination>li:first-child>span {margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}
.pagination>li:last-child>a,
.pagination>li:last-child>span {border-bottom-right-radius:4px;border-top-right-radius:4px}
.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {color:#2a6496;background-color:#eee;border-color:#ddd}
.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}
.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}
.alert {padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}
.alert h4 {margin-top:0;color:inherit}
.alert .alert-link {font-weight:700}
.alert>p,
.alert>ul {margin-bottom:0}
.alert>p+p {margin-top:5px}
.alert-dismissable {padding-right:35px}
.alert-dismissable .close {position:relative;top:-2px;right:-21px;color:inherit}
.alert-danger {background-color:#f2dede;border-color:#ebccd1;color:#a94442}
.alert-danger hr {border-top-color:#e4b9c0}
.alert-danger .alert-link {color:#843534}
.close {float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}
.close:hover,
.close:focus {color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}
button.close {padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}
.pull-right {float:right!important}

/* ──────────────────────────────────────────────────────────────
   모달 — P4(기수 관리)에서 처음 쓰인다.

   🔴 레거시는 `bootstrap.min.css` 가 `.modal { display:none }` 을 담당했는데
      ext.css 에는 규칙이 0개라, 규칙 없이 두면 **등록·수정 폼이 페이지 하단에
      항상 펼쳐진 채로 렌더된다**(dev 브라우저 실측 2026-08-07).
      JS 의 show/hide 만으로는 초기 상태를 숨길 수 없다.
   ────────────────────────────────────────────────────────────── */
/* 🔴 z-index 는 **10050** 이다. 부트스트랩 관례값 1050 을 쓰면 안 된다 —
   이 CSS 는 `#main-section` 에 5000, 사이드바 계열에 9000·9500 을 이미 쓰고 있어
   1050 이면 **모달이 본문 뒤에 가려 오버레이만 보인다**(dev 브라우저 실측 2026-08-07). */
.modal {display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:10050;overflow-x:hidden;overflow-y:auto;background-color:rgba(0,0,0,.5)}
.modal.in {display:block}
.modal-dialog {position:relative;width:auto;max-width:600px;margin:40px auto;padding:0 10px}
.modal-content {position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 15px rgba(0,0,0,.5);outline:0}
.modal-header {padding:15px;border-bottom:1px solid #e5e5e5}
.modal-header .close {margin-top:-2px}
.modal-title {margin:0;line-height:1.42857143;font-size:18px}
.modal-body {position:relative;padding:15px}
.modal-footer {padding:15px;text-align:right;border-top:1px solid #e5e5e5}
.modal-footer .btn+.btn {margin-left:5px}

/* 모달 안 form-horizontal 이 쓰는 그리드 (기존 목록에 없던 폭들) */
.col-lg-2, .col-md-2, .col-sm-2 {width:16.66666667%}
.col-lg-3, .col-sm-3 {width:25%}
.col-lg-4, .col-md-4, .col-sm-4 {width:33.33333333%}
.col-lg-9, .col-sm-9 {width:75%}
.col-lg-10, .col-md-10, .col-sm-10 {width:83.33333333%}
.form-horizontal .control-label {padding-top:7px;margin-bottom:0;text-align:right}
.form-horizontal .form-group {margin-right:-15px;margin-left:-15px}
.form-horizontal .form-group:after {display:table;clear:both;content:" "}
.form-horizontal .form-group>[class*="col-"] {float:left;padding-right:15px;padding-left:15px;min-height:1px}

@media (max-width: 767px) {
    .form-horizontal .form-group>[class*="col-"] {float:none;width:100%}
    .form-horizontal .control-label {text-align:left}
}
