

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   CSS 초기화
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: 'Pretendard', sans-serif; /* Pretendard 폰트 적용 */
  font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
 
h3 { 
  font-weight: 700;
}
/* 
  CSS 초기화
*/

html {
  font-size: 80%; /* 전체 폰트 사이즈 조절 */
  height: 100%;
}

body {
  min-height: 100vh; /* 100% 대신 100vh 사용 */
  display: flex;
  flex-direction: column;
  margin: 0;
}

.navbar-custom {
    background-color: #343a40 !important; /* Corresponds to Bootstrap's bg-dark */
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.75) !important; /* A slightly off-white for nav links on a dark background */
}

.nav-link-custom:hover {
    color: #fff !important;
}

.navbar-logo {
    height: 30px;
    margin-right: 10px;
}

#wrapper {
    display: flex;
    flex: 1 0 auto; /* 남은 공간을 모두 채워 푸터를 아래로 밀어냄 */
}

.footer {
  flex-shrink: 0;
  width: 100%;
  padding: 20px 0;
  line-height: 1.5;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
  position: relative !important; /* 절대 위치 강제 해제 */
  margin-top: auto !important; /* 컨텐츠가 적어도 바닥, 많으면 컨텐츠 아래에 위치 */
}

#sidebar-wrapper {
    min-height: 88vh;
    width: 250px;
    background-color: #f8f9fa; /* A light grey background */
    border-right: 1px solid #dee2e6;
}

#sidebar-wrapper .nav-link {
    color: #333;
    padding: 1rem;
}

#sidebar-wrapper .nav-link.active {
    font-weight: bold;
    color: #0d6efd;
}

#page-content-wrapper {
    width: 100%;
}

.dept1-btn.show::before {
  content: "\F2E9";
  font-style: normal;
  font-family: "bootstrap-icons";
  color: #333;
  font-size: 15px;
}

.dept1-btn::before {
  content: "\F4FD";
  font-style: normal;
  font-family: "bootstrap-icons";
  color: #333;
  font-size: 15px;
}

.search-btn::after{
  content: "\F52A";
  font-style: normal;
  font-family: "bootstrap-icons";
  margin: 4px;
}

.search-area{
  margin-bottom: 1rem;
}

.search-body{
  margin-top: 1rem;
  margin-right: 2rem;
}

.vertical-line{
  border-left: thin solid rgb(168, 168, 168); 
  height:auto;
  min-height: 80vh;
}

.control-label{
  margin-bottom: 5px;
}


.notice-content{
  min-height: 50vh;
}
 
/* .dx-fileuploader-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
} */
 
/* .dx-fileuploader-input-container {
    text-align: center;
} */
 
/* #file-uploader .dx-fileuploader-wrapper {
    overflow-y: auto;
} */

.note {
  font-size: 10pt;
  color: #484848;
  margin-left: 9px;
}

.note > span {
  font-weight: 700;
}

/* .file-uploader-block{
  background-color: #f5f5f5;
  border-radius: 16px;
} */

/* #file-uploader {
  height: 100%;
} */

/* .dx-fileuploader-content {  
  height: 100%;
  position: relative;
} */

/* .dx-fileuploader-input-wrapper {
  margin:12px;
  width: 100%;
  height: 15vh;
  place-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  vertical-align: middle;
} */


/* dxFileUploader 자체의 드롭 영역을 스타일링합니다. */
#file-uploader .dx-fileuploader-input-wrapper {
  min-height: 150px; /* 드롭 영역의 최소 높이를 늘립니다. */
  border: 2px dashed #ccc;
  padding: 20px;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.dx-fileuploader-input {
  height:15vh;
}

.content-display {
  min-height: 150px;
  white-space: normal; /* 텍스트가 자동으로 줄 바꿈되도록 설정 */
  word-break: break-word; /* 긴 단어도 줄 바꿈되도록 설정 */
}

.redCard{
  background-color:rgb(255, 200, 200);
  color: #ff1212;
}

.blueCard{
  background-color: #dcedff;
  color: #1b77d3;
}

.yellowCard{
  background-color: #fff4d4;
  color: #f78a1f;
}

.greenCard{
  background-color: #e5fcf1;
  color: #1b9f62;
}

/* 대시보드 카드 높이 일관성 유지 (Bootstrap h-100이 작동하지 않을 경우 대비) */
.card.h-100 {
  height: 100% !important;
  border-radius: 10px;
}
/* 카드 바디를 flex 컨테이너로 만들어 내부 요소 정렬 */
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 내부 요소들을 위-아래로 최대한 분배 */
  height: 100%; /* 부모의 높이를 채우도록 */
  
}
/* 카드 타이틀과 설명 컨테이너 */
.card-body .d-flex.flex-column {
  flex-grow: 1; /* 남은 공간을 차지하여 제목-설명 그룹을 확장 */
  justify-content: flex-start; /* 제목-설명은 상단에 배치 */
}
/* 카드 타이틀에 여백 추가 */
.card-title {
  margin-bottom: 0.25rem; /* 제목과 설명 사이 간격 줄임 */
  font-weight: 600;
}
/* 일반 card-text 글씨 크기 키우기 */
.card-text {
  font-size: 1.1rem; /* 조금 더 크게 */
}
/* KPI 숫자 크게 표시 (정렬은 flexbox로 처리) */
.card-text.display-5 {
  font-size: 2.5rem; /* Bootstrap display-5 */
  font-weight: 700;
  line-height: 1;
  margin-top: auto; /* 숫자가 항상 바닥에 붙도록 (선택 사항) */
  /* text-align: right; // Flexbox로 대체됨 */
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}


#chart {
  height: 440px;
}

.tooltip-header {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 1px solid #c5c5c5;
}

.tooltip-body {
  width: 170px;
}

.tooltip-body .series-name {
  font-weight: normal;
  opacity: 0.6;
  display: inline-block;
  line-height: 1.5;
  padding-right: 10px;
  width: 126px;
}

.tooltip-body .value-text {
  display: inline-block;
  line-height: 1.5;
  width: 30px;
}
