@charset "UTF-8";
/*
 * 파일명: lightningCount.css
 * 설명: 낙뢰영상 > 낙뢰 횟수 화면 전용 스타일.
 *       레거시 lightning_count.jsp 의 인라인 <style> 을 옮기고,
 *       원본이 인라인 style 속성으로 흩뿌려 두었던 표/버튼 여백도 여기로 모았다.
 */

/* ============================================================
   달력(jQuery UI datepicker) 보정 — 레거시 인라인 <style> 원본
   ============================================================ */

/* 월/연 선택 드롭다운이 좁아 연도가 잘리던 것을 넓힌다. */
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 43%; }

/* 월 선택 모드: 날짜 격자를 감춰 '연.월' 만 고르게 한다. */
.hide-calendar .ui-datepicker-calendar { display: none; }
.hide-calendar .ui-datepicker-buttonpane { display: block; }
/* 연 선택 모드: 월 드롭다운까지 감춘다. */
.hide-month .ui-datepicker-month { display: none; }

/* 담당자 안내 띠(#part_weather)는 낙뢰 전국영상에도 같은 것이 있어 pub.css 로 옮겼다. */

/* ============================================================
   조회조건 / 결과표 — 레거시가 인라인 style 로 주던 값 이관
   ============================================================ */
.lgt-cond { margin-bottom: 15px; }

/* 시작~종료 사이 물결표. 레거시는 <c:out value=" ~ "/> 로 공백에 기대고 있었다. */
.lgt-tilde { margin: 0 6px; }

/* ------------------------------------------------------------
   아이콘 버튼(달력 / 검색)

   레거시는 검색을 images/icon/search_btn.gif 로 넣고, 달력은
   jQuery UI 의 트리거 버튼을 쓰려다 이미지를 지정하지 않아
   아예 보이지 않았다. 둘 다 axicon 아이콘 폰트로 바꾸었다.
   폰트라 고해상 화면에서 번지지 않고 색상도 CSS 로 바꿀 수 있다.
   ------------------------------------------------------------ */
.lgt-count .btn_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    padding: 0;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.lgt-count .btn_icon i { line-height: 1; }

/* 달력 — 보조 동작이므로 외곽선만 */
.lgt-count .btn_icon_cal {
    border: 1px solid #c2c2c2;
    background: #fff;
    color: #1b52a9;
}
.lgt-count .btn_icon_cal:hover,
.lgt-count .btn_icon_cal:focus {
    border-color: #1b52a9;
    background: #f2f6fc;
}

/* 검색 — 이 줄의 주 동작이므로 채운 버튼. 색은 사이트 기본색(#1b52a9) */
.lgt-count .btn_icon_solid {
    margin-left: 8px;
    border: 1px solid #1b52a9;
    background: #1b52a9;
    color: #fff;
}
.lgt-count .btn_icon_solid:hover,
.lgt-count .btn_icon_solid:focus {
    border-color: #164289;
    background: #164289;
}

/* 입력칸 높이를 버튼과 맞춘다(안 맞추면 버튼만 퍼 보인다). */
.lgt-count .date_search input.calendar {
    height: 26px;
    box-sizing: border-box;
}

/*
 * 입력칸 폭 — 담을 글자 수에 맞춘다.
 * n2019/layout.css 의 table.f2 td input[type=text]{width:85px} 가 모든 입력칸을 85px 로 묶어
 * 실시간 자료시각(yyyy.MM.dd HH:mm, 16자)이 뒤가 잘려 보였다(1920×1080 등).
 * 우선순위를 이기도록 table.f2 를 붙이고, 글꼴 크기가 달라도 맞도록 ch 단위 + 좌우 여백으로 준다.
 */
.lgt-count table.f2 td .date_search input.calendar         { width: calc(16ch + 24px); }
.lgt-count table.f2 td .date_search input#dateTimeDay1,
.lgt-count table.f2 td .date_search input#dateTimeDay2     { width: calc(10ch + 24px); }
.lgt-count table.f2 td .date_search input#dateTimeMonth1,
.lgt-count table.f2 td .date_search input#dateTimeMonth2   { width: calc(7ch + 24px); }
.lgt-count table.f2 td .date_search input#dateTimeYear1,
.lgt-count table.f2 td .date_search input#dateTimeYear2    { width: calc(4ch + 24px); }

/* 항목명(자료시각 · 기간 · 행정구역(법정동) · 도명)은 줄바꿈하지 않는다.
   colgroup 의 8% 는 좁은 본문폭에서 '행정구역(법정동)' 을 두 줄로 꺾었다. 표가 칸을 글자만큼 넓힌다. */
.lgt-count table.lgt-cond th { white-space: nowrap; }

/* ------------------------------------------------------------
   Now / ±기간 버튼

   n2019/layout.css 의 규칙이 a.btn_01 / a.btn_02 라 링크에만 먹는다.
   이 화면은 <button> 을 쓰고 있어 레거시에서도 브라우저 기본 버튼으로
   보였다. 설계 의도대로 보이게 같은 값을 button 에도 준다(이 화면 한정).
   ------------------------------------------------------------ */
.lgt-count button.btn_01,
.lgt-count button.btn_02 {
    display: inline-block;
    height: 23px;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
}
.lgt-count button.btn_01 { padding: 0 7px; background: #1b52a9; color: #fff; border: 1px solid #1b52a9; }
.lgt-count button.btn_02 { padding: 0 5px; background: #fff; color: #666; border: 1px solid #c2c2c2; }
.lgt-count button.btn_02:hover { border-color: #1b52a9; color: #1b52a9; }

.lgt-caption { margin: 10px 0 0; font-weight: bold; }

.lgt-result { margin-top: 5px; }
/* table.f1 th{text-align:left}(n2019/layout.css) 보다 우선하도록 table 을 붙인다. */
table.lgt-result th,
table.lgt-result td { text-align: center; }
/* 마지막 합계 줄은 th/td 모두 회색 */
table.lgt-result tfoot th,
table.lgt-result tfoot td { background: #f5f5f5; font-weight: bold; }
/* 시·군·구 모드에서 도 아래에 들여쓰는 하위 지역 */
.lgt-result .lgt-sub-name { text-align: left; padding-left: 20px; }
/* 도별 소계 줄 */
.lgt-result .subtotal-row td { font-weight: bold; background: #f5f5f5; }
/* 도/광역시 구분 머리줄 */
.lgt-result .lgt-group-head { font-weight: bold; }

.lgt-note { text-align: end; }

/* 조회 실패/무자료 안내 */
.lgt-result .lgt-empty { color: #666; }

/* 기간(실시간/일별… + 누적 간격) 두 셀렉트는 한 줄로 둔다.
   항목명 칸이 글자만큼 넓어지면서 이 칸이 좁아져 두 번째 셀렉트가 아랫줄로 떨어지던 것을 막는다.
   첫 셀렉트의 fl(float:left) 은 줄바꿈 금지를 무시하고 최소폭을 키우므로 이 칸에서는 풀어 준다. */
.lgt-count table.lgt-cond td.lgt-period { white-space: nowrap; }
.lgt-count table.lgt-cond td.lgt-period select.fl { float: none; }
