
@media (max-width: 768px) {
  .data-chart {
    padding: 40px 0;
  }
}
.data-chart.carbon-green {
  background: #e9eeeb;
}
.data-chart.risk-red {
  background: #f6e4e0;
}
.data-chart.energy-blue {
  background: #d7e7f1;
}
.data-chart__txt h3 {
  font-size: 32px;
  color: #1d1d1d;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .data-chart__txt h3 {
    font-size: 21px;
    margin-bottom: 5px;
  }
  .data-chart__txt h3 br {
    display: none;
  }
}
.data-chart__txt h4 {
  font-size: 24px;
  color: #1d1d1d;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .data-chart__txt h4 {
    font-size: 15px;
    margin-bottom: 7.5px;
  }
  .data-chart__txt h4 br {
    display: none;
  }
}
.data-chart__txt .chart-txt01 {
  font-size: 21px;
  color: #1d1d1d;
  margin-bottom: 40px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .data-chart__txt .chart-txt01 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .data-chart__txt .chart-txt01 br {
    display: none;
  }
}
.data-chart__txt .chart-txt02 {
  font-size: 17px;
  color: #717171;
  margin-bottom: 20px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .data-chart__txt .chart-txt02 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .data-chart__txt .chart-txt02 br {
    display: none;
  }
}
.data-chart .dl-felx {
  display: flex;
  align-items: center;
  gap: 15px;
}
@media (max-width: 768px) {
  .data-chart .dl-felx {
    gap: 7.5px;
    flex-wrap: wrap;
  }
}
.data-chart .dl-felx dt {
  font-size: 19px;
  color: #1d1d1d;
  font-weight: bold;
}
@media (max-width: 768px) {
  .data-chart .dl-felx dt {
    font-size: 12px;
  }
}
.data-chart .dl-felx dd {
  flex: 1;
}
.data-chart .dl-felx dd select {
  width: 10rem;
}
@media (max-width: 768px) {
  .data-chart .dl-felx dd select {
    min-width: 8rem;
    width: 8rem;
    height: 3rem;
  }
}
.data-chart-cicle {
  background-color: #fff;
  background-position: -50px top;
  background-size: contain;
  background-repeat: no-repeat;
}
.sub--wrap--inner {
  position: relative;
  max-width: 1440px;
  margin: auto;
  padding: 0 1.5rem;
}
.sub--wrap .sub--ti {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8.5rem;
  border-bottom: 1px solid #c6c6c6;
  padding-bottom: 2rem;
  margin-bottom: 6rem;
}
@media (max-width: 768px) {
  .sub--wrap .sub--ti {
    padding-top: 4.25em;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
  }
}
.sub--wrap .sub--ti h3 {
  font-size: 3.2rem;
}
@media (max-width: 768px) {
  .sub--wrap .sub--ti h3 {
    font-size: 2.8rem;
  }
}
.sub--wrap .sub--ti--util {
  display: flex;
  gap: 1rem;
}
.sub--wrap .sub--ti--util button {
  width: 4rem;
  height: 4rem;
  background-size: contain;
}
@media (max-width: 768px) {
  .sub--wrap .sub--ti--util button {
    width: 3rem;
    height: 3rem;
  }
}
.chart__title span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 21px;
}
@media (max-width: 768px) {
  .chart__title span {
    font-size: 14px;
    margin-bottom: 5px;
  }
}
.chart__title h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .chart__title h2 {
    font-size: 21px;
    margin-bottom: 10px;
  }
}
.chart__title.tac {
  margin-bottom: 40px;
}
@media (max-width: 1170px) {
  .chart__title {
    text-align: center;
  }
}

.tac{
  text-align: center;
}

.chart-flex {
  display: flex;
  gap: 25px;
  flex-direction: column;
}
.chart-flex.row {
  flex-direction: row;
}
@media (max-width: 1170px) {
  .chart-flex.row {
    flex-direction: column;
  }
}
@media (max-width: 1170px) {
  .chart-flex {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .chart-flex {
    gap: 25px;
  }
}


.city-sel {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .city-sel {
    grid-template-columns: repeat(1, 1fr);
  }
}
.city-sel__item {
  position: relative;
  padding: 30px;
  border: 1px solid #c6c6c6;
  border-radius: 12px;
  height: 480px;
  cursor: pointer;
  background: #f8f8f8;
}
@media (max-width: 1024px) {
  .city-sel__item {
    height: auto;
    padding: 15px;
  }
}
.city-sel__item.active {
  border: 1px solid #000;
}
.city-sel__item.active:after {
  position: absolute;
  right: 30px;
  top: 30px;
  content: "";
  width: 28px;
  height: 21px;
  background-image: url("../../ips/images/new_sub/active_check.png");
}
@media (max-width: 1024px) {
  .city-sel__item.active:after {
    right: 15px;
    top: 15px;
  }
}
.city-sel__name {
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  left: 40px;
}
@media (max-width: 1024px) {
  .city-sel__name {
    font-size: 16px;
  }
}

.color-sel {
  border: 1px solid #c6c6c6;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
}

.color-sel {
  padding: 0 10px !important;
  height: 40px;
}
@media (max-width: 768px) {
  .color-sel {
    padding: 5px;
  }
}
.color-sel i {
  display: block;
  width: 29px;
  height: 17px;
  background-image: url("../../ips/images/new_sub/ico-color.png");
  padding-right: 12px;
  margin-right: 15px;
  border-right: 1px solid #c6c6c6;
}
.color-sel .color-value {
  display: flex;
  gap: 4px;
  margin-right: 5px;
}
.color-sel .color-value span {
  width: 16px;
  height: 16px;
}
.color-sel select {
  width: 98px;
  border: none;
}
@media (max-width: 768px) {
  .color-sel select {
    font-size: 11px;
  }
}

.square-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #c6c6c6;
  border-radius: 4px;
  background: #d8d8d8;
}


.chart-util__title h3 {
  font-size: 19px;
}
@media (max-width: 768px) {
  .chart-util__title h3 {
    font-size: 13px;
  }
}
.chart-util__btn {
  display: flex;
  gap: 10px;
}
.chart-util.flex-util {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .chart-util.flex-util {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/**
작업전
*/


.chart-area{
  display: flex;
  flex:1;
  border: 1px solid #c6c6c6;
  border-radius: 12px;
  &.dark-border{
    border: 2 px solid #000;
  }
  @include fn.responsive(md){
    border: none;
    flex-direction: column;
    gap:25px;
  }
  .chart-box{
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    @include fn.responsive(md){
      border-radius: 12px;
      padding: 20px;
      min-height: 300px;
      border: 1px solid #c6c6c6;
    }
  }
}

.chart-panel{
  width: 330px;
  background: #f0f0f0;
  border-radius:0 12px 12px 0;
  @include fn.responsive(md){
    border: 1px solid #c6c6c6;
    width: 100%;
    border-radius:12px;
  }
  .chart-stat-inner{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }
  .chart-checking-inner{
    padding: 30px 20px;
    @include fn.responsive(md){
      padding: 20px;
    }
  }
}
.biotop-stats .data--box--flex {
  min-height: 40rem;
}

.biotop-stats .data--box {
  max-width:1440px;
  flex:1;
  border-radius: 12px;
  padding: 20px;
  min-height: 300px;
  border: 1px solid #c6c6c6;
}

/* d3 map chart */
path:hover {
  fill: #85bedc;
}

path.selected {
  fill: #2fa4e7;
}

.color-box {
  width: 16px;
  height: 16px;
  display: inline-block;
}
.color-sel select {
  width: 150px;
}

.chart-select {
  width: 200px;
  height: 30px;
}


