@charset "UTF-8";

html {
  font-size: 100%;
}
/* html {
  font-size: 10px;
}
body {
  font-size: 16px;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* 개요 */
.cf-overview .cf-img-box img {
  width: 100%;
  max-width: 100%;
  padding: 1rem 0;
}

.cf-overview-text {
  padding: 1.6rem 2.4rem;
  border: 1px solid #ddd;
  background: #f7f7f7;
  line-height: 1.5;
  word-break: keep-all;
  border-radius: 10px;
}
/* 조건검색 */
.cf-filter-section {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding: 1rem;
  background: #fbf2f2;
}

.cf-filter-form {
  display: flex;
  align-items: center;
}

.cf-filter-title {
  margin: 0;
  padding: 0;
  background: transparent;
  /* margin-right: 1rem; */
  font-size: 14px;
  color: #555;
}

.cf-filter-field {
  display: flex;
  margin-left: 0.5rem;
}

.cf-filter-field .cf-select {
  margin-left: 0.25rem;
}

.cf-btn {
  min-width: 60px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0 1rem;
  border: 0;
  box-shadow: none;
  background: #b4b4b4;
  font-size: 14px;
  color: #fff;
  transition: 0.2s;
  cursor: pointer;
  border-radius: 5px;
}

.cf-btn:hover, .cf-btn.is-active, .cf-btn.cf-btn-submit:hover {
  background: #a74444;
}

.cf-btn.cf-btn-submit {
  background: #ea3c3c;
}

.cf-download-btn {
  background: #239117;
  color: #fff;
}

.cf-download-btn:hover {
  background: #1c7413;
}

.cf-btn:disabled {
  background: #ddd;
  cursor: not-allowed;
}

.cf-filter-section .cf-download-btn {
  margin-right: auto;
  margin-left: 0;
}

/* 차트영역 */
.cf-section {
  overflow: hidden;
}

div.cf-chart-wrap {
  padding: 1rem 0 2rem 0;
}

div.cf-chart-wrap>div.cf-chart-box>.cf-chart-con {
  position:relative;
  flex: 1;
  padding: 1rem;
  border: 1px solid #ececec;
  /* overflow: auto; */
  transition: all 0.15s linear;
  border-radius: 10px;
  font-size:0.9rem;
}

div.cf-chart-wrap>div.cf-chart-box>.cf-chart-con:hover {
  border: 1px solid #c27e7e;
}

/* 차트영역 - flex */
div.cf-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
  padding-bottom: 0;
}

div.cf-full-height {
  align-items: stretch;
}

div.cf-full-height>div.cf-chart-box {
  display: flex;
  flex-direction: column;
}

div.cf-flex>div.cf-chart-box {
  min-width: 300px;
  flex: 1;
  margin: 0 0.5rem;
  margin-bottom: 1rem;
}

/* 차트영역 - half */
div.cf-half {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div.cf-half>div {
  min-width: 350px;
  flex: 1;
}

/* 지도 */
.cf-map-wrap {
  display: flex;
  flex-wrap: wrap;
  max-height:700px;
}

.cf-map-wrap>div {
  position: relative;
  min-width: 350px;
  flex: 1;
}
.cf-map-wrap>div.cf-map-box {
  display:flex;
  align-items:center;
}

.cf-map-wrap .cf-map {
 /*  padding: 3rem; */
  padding-right: 5%;
  height:100%;
  width:100%;
  max-height:500px;
}

.cf-map-box .cf-map-legend {
  padding: 1rem;
  border: 1px solid #ddd;
  z-index: 9;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  color: #333;
  border-radius: 10px;
}

.cf-map-box .cf-map-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.cf-map-box .cf-map-legend li:last-of-type {
  margin-bottom: 0;
}

.cf-map-box .cf-map-legend span {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 3px;
  border: 1px solid #ddd;
}

/* 차트타이틀 */
div.cf-chart-wrap>div.cf-chart-box>div.cf-title-box {
  position: relative;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #c27e7e;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.075);
  transition: all 0.15s linear;
  border-radius: 10px;
}

div.cf-chart-wrap>div.cf-chart-box>div.cf-title-box h4.cf-title {
  flex: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 16px;
  font-weight: bold;
}

div.cf-chart-wrap>div.cf-chart-box>div.cf-title-box:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 1rem;
  width: 8px;
  height: 8px;
  background: #ea3c3c;
  border-radius: 50%;
}

div.cf-chart-wrap>div.cf-chart-box>div.cf-title-box:after {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(1rem + 11px);
  width: 8px;
  height: 8px;
  background: #ffc900;
  border-radius: 50%;
}

.cf-chart-text {
  font-size: 14px;
}

div.cf-chart-wrap>div.cf-chart-box span.cf-unit {
  font-size: 14px;
  color: #676767;
  /* text-align: right; */
}

div.cf-chart-wrap>div.cf-chart-box>.cf-chart-con span.cf-unit {
  display: block;
  margin-bottom: 0.5rem;
}

.cf-unit-wrap {
  text-align: left;
}

/* 차트 */
div.cf-chart-wrap>div.cf-chart-box>.cf-chart-con>.cf-chart {
  width: 100%;
  /* height:100%; */ 
  min-height: 400px;
}

/*테이블*/
div.cf-table-box {
  width: 100%;
  max-height: 500px;
  overflow: auto;
}

div.cf-table-box>table.cf-list-table {
  width: 100%;
  min-width: 460px;
  height: 100%;
  vertical-align: middle;
}

div.cf-table-box>table.cf-list-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

div.cf-table-box>table.cf-list-table:nth-child(2) {
  margin-top: 1rem;
}

div.cf-table-box>table.cf-list-table thead th {
  padding: 0.5rem 0.25rem;
  background: #f5f2f2;
  color: #bb021f;
  text-align: center;
}

div.cf-table-box>table.cf-list-table tbody.line {
  border-top: 2px solid #ddd;
}

div.cf-table-box>table.cf-list-table tbody tr th {
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  background: #fffcfc;
  font-weight: normal;
  color: #bb021f;
  text-align: center;
}

div.cf-table-box>table.cf-list-table tbody td:first-of-type {
  padding: 0.5rem 0.25rem;
  border-right: 1px solid #f0f0f0;
  text-align: center;
}

div.cf-table-box>table.cf-list-table tbody td {
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  font-weight: 500;
  color: #464646;
  text-align: center;
}

div.cf-table-box>table.cf-list-table .cf-total-tr th, div.cf-table-box>table.cf-list-table .cf-total-tr td
  {
  border-top: 2px solid #ccc;
  background-color: #f7f7f7 !important;
}

/* select, input */
select.cf-select {
  min-width: 130px;
  height: 35px;
  padding: 0 1rem 0 0.5rem;
  border: 1px solid #c1c1c1;
  background: #fff url(../../images/iconDownArrow.png) no-repeat 95%
    center/6px;
  cursor: pointer;
  appearance: none;
  border-radius: 5px;
}

input[type="text"].cf-input {
  min-width: 90px;
  height: 35px;
  border: 1px solid #c1c1c1;
  border-radius: 5px;
}

/* alert box */
.cf-alert-box {
  padding: 1rem 0;
  font-size: 14px;
  text-align: center;
}

.cf-chart .cf-alert-box {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  height:auto !important;
  }

.cf-alert-box .cf-spinner {
  width: 3rem;
  height: 3rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5rem;
  border: 5px solid;
  border-color: rgba(0, 0, 0, 0.1);
  border-right-color: #dc4040;
  animation: spin 1s infinite linear;
  border-radius: 50%;
}

.cf-alert-box.cf-bg {
  margin: 1rem 0;
  margin-top: -1rem;
  background-color: #f4f4f4;
  border-radius: 0.5rem;
}

.cf-alert-box .cf-dots {
  width: 25px;
  height: 5px;
  display: block;
  margin: 0 auto 0.5rem;
  background: radial-gradient(circle closest-side, #fb8181 90%, rgba(0, 0, 0, 0))
    0% 50%,
    radial-gradient(circle closest-side, #fb8181 90%, rgba(0, 0, 0, 0))
    50% 50%,
    radial-gradient(circle closest-side, #fb8181 90%, rgba(0, 0, 0, 0))
    100% 50%;
  background-repeat: no-repeat;
  background-size: 33.3333333333% 100%;
  animation: dots-loading 1.2s infinite linear;
}



@keyframes dots-loading {
  33% {
    background-size: 33.3333333333% 0%, 33.3333333333% 100%, 33.3333333333% 100%;
  }
  50% {
    background-size: 33.3333333333% 100%, 33.3333333333% 0%, 33.3333333333% 100%;
  }
  66% {
    background-size: 33.3333333333% 100%, 33.3333333333% 100%, 33.3333333333% 0%;
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}


/*======== 반응형 ========*/
@media all and (max-width: 1024px) {
  div.cf-flex {
    flex-direction: column;
    margin: 0;
    /* margin-bottom: ; */
  }
  div.cf-flex>div.cf-chart-box {
    width: 100%;
    margin: 0;
    margin-bottom: 2rem;
  }
  div.cf-chart-wrap>div.cf-chart-box>div.cf-title-box span.cf-unit {
    font-size: 12px;
  }
  div.cf-table-box {
    width: 100%;
    overflow: auto;
  }
}

@media all and (max-width: 768px) {
  .cf-filter-section {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .cf-filter-section form {
    width: 100%;
  }
  .cf-filter-section .cf-download-btn {
    margin-top: 1rem;
    margin-right: inherit;
    margin-left: auto;
  }
  .cf-filter-field {
    flex: 1;
    flex-wrap: wrap;
    margin: 0;
  }
  .cf-filter-field .cf-btn, .cf-filter-field .cf-select {
    flex: 1;
    margin-right: 0.5rem;
    margin-left: 0;
    min-width: 5rem;
  }
  .cf-filter-form {
    flex-wrap: wrap;
  }
  .cf-filter-title {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  /* .cf-filter-form {
    align-items: flex-start;
    flex-direction: column;
  } */
  
  .cf-map-wrap {flex-direction: column; max-height:none;}
  .cf-map-wrap .cf-map { padding:0; margin-bottom:4rem;}
  
  div.cf-chart-wrap>div.cf-chart-box>.cf-chart-con {
  font-size:0.8rem;
}
  
}

@media all and (max-width: 375px) {
  .cf-filter-form {
    align-items: flex-end;
  }
  .cf-filter-field .cf-select {
    min-width: 6rem;
    margin-top: 0.5rem;
  }
}

td *, div *, span *, p * {
  vertical-align: middle;
}

.cf-chart-loc-all {
  display: none;
}

div.cf-chart-con div.cf-chart.cf-chart-loc>div {
  height: 500px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ol-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85); /* 약간 더 불투명하게 */
  color: #fff;
  padding: 10px;
  width: 160px;
  border-radius: 5px;
  font-size: 13px;
  z-index: 9999; /* 최상단 */
  pointer-events: none;
  border: 1px solid #555;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  display: none;
}

.cf-no-data-img {
   display: block;
   max-width: 100%;
   margin: 0 auto;
   padding-top: 120px;
}