/* common */
.none {
  display: none !important;
}

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

path.selected {
  fill: #2fa4e7;
}

/* opentip custom */
.opentip-container.style-glass .opentip {
  padding: 10px 15px !important;
}

/* Chart 부분 수정 */
.city-sel__name {
  position: absolute;
  top: 20px;
  left: 40px;
}

.color-sel {
  padding: 0 10px !important;
}

.color-sel select {
  width: 150px;
}

.chart-list-span-name {
  width: 198px;
  margin-right: 33px;
}

/* DataTables 수정 */
div.dt-container select.dt-input {
  padding: 4px 25px 4px 5px !important;
}

div.dt-container {
  margin: 0 auto;
}

.btn-tables {
  display: inline-block !important;
  height: 3.2rem !important;
  line-height: 3.2rem !important;
  padding: 0 1.6rem !important;
  border-radius: 0.6rem !important;
  font-size: 1.5rem !important;
  border: 1px solid #dbdbdb !important;
  background: unset !important;
}

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

.engy-val-li {
  width: 210px;
}

@media (max-width: 768px) {
  .map-chart-box {
    flex: auto !important;
    height: 550px !important;
  }

  .mobile-chart-box {
    height: 550px !important;
  }

  .custom-chart-box {
    height: 450px !important;
  }

  .dl-ssp-scenario dt, .dl-ssp-scenario dd {
    width: 100%;
    display: block;
  }

  .dl-ssp-scenario dd {
    text-align: right;
  }

  .engy-val-li {
    width: auto;
  }
}

.custom-chart-box {
  height: calc(100% - 126px);
}

.mt20 {
  margin-top: 2rem;
}

.mb20 {
  margin-bottom: 2rem;
}

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

/* 이전 화면 버전 */
.data--box--flex--full {
  width: 100%;
}

.mb10 {
  margin-bottom: 1.0rem !important;
}

.mt20 {
  margin-top: 2rem !important;
}

.mt30 {
  margin-top: 3rem !important;
}

.grid-box {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, 1fr); /* 2열 배치 */

}

.right-content {
  position: relative; /* after보다 위로 올라옴 */
  z-index: 1; /* 가상 요소보다 위 */
}

.flex-chart-custom-h29 {
  height: 29rem;
}

.left-custom {
  width: 25rem !important;
  height: unset !important;
}

.flex-custom-chart-box {
  display: flex;
  gap: 1.2rem;
}

.flex-chart-custom-w50 {
  width: 50%;
}

.grgs--ehqty--span252 {
  margin-left: 25.2rem;

  span {
    &.active {
      color: #164194 !important;
    }
  }
}

.grgs--ehqty--span142 {
  margin-left: 14.2rem;

  span {
    &.active {
      color: #164194 !important;
    }
  }
}

.grgs--ehqty--span--blue {

  span {
    &.active {
      color: #164194 !important;
    }
  }
}

.ghg-emission {
  color: #222;
  max-width: 400px;
}

.ghg-emission .title {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.ghg-emission .amount {
  font-size: 28px;
  font-weight: bold;
  margin: 5px 0 20px;
}

.ghg-emission .amount span {
  font-weight: normal;
  font-size: 16px;
  margin-left: 4px;
}

.breakdown .item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.breakdown .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.breakdown .yellow {
  background-color: #FFD700;
}

.breakdown .purple {
  background-color: #9268F1;
}

.breakdown .red {
  background-color: #E97168;
}

.breakdown .blue {
  background-color: #5AC8FA;
}

.breakdown .orange {
  background-color: #FFB27F;
}

.breakdown .name {
  flex: 1;
  min-width: 70px;
}

.breakdown .value {
  flex: 2;
  text-align: right;
  margin-right: 10px;
}

.elpwr-genqy-breakdown {
  display: flex;
  gap: 20px;
}

.elpwr-main-category-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.elpwr-sub-category-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid #ddd;
  padding-left: 16px;
}

.elpwr-item, .elpwr-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.elpwr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.elpwr-name {
  flex: 1;
}

.elpwr-value {
  min-width: 60px;
  text-align: right;
}

.elpwr-percent {
  min-width: 50px;
  text-align: right;
  color: #666;
}

.elpwr-sub-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
}

.elpwr-title {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.elpwr-amount {
  font-size: 28px;
  font-weight: bold;
  margin: 5px 0 20px;
}

.elpwr-amount span {
  font-weight: normal;
  font-size: 16px;
  margin-left: 4px;
}

.elpwr-year-tag {
  font-size: 13px;
  color: #0086d9;
  margin-left: 6px;
}

.carbon-sink-h659 {
  height: 65.9rem !important;
}


.plural_on_part {
  color: #666 !important;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3); /* 얇은 테두리 효과 */
  border: 3px solid transparent;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.plural_on_part.active {
  opacity: 1;
  border-color: #333; /* 활성 상태일 때 진한 테두리 */

}

.plural_on_part:not(.active) {
  opacity: 0.5;
  border-color: #ccc; /* 비활성 상태일 때 연한 테두리 */
  color: #666;
}

.plural_on_rsrc {
  color: #666 !important;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3); /* 얇은 테두리 효과 */
  border: 3px solid transparent;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.plural_on_rsrc.active {
  opacity: 1;
  border-color: #333; /* 활성 상태일 때 진한 테두리 */
}

.plural_on_rsrc:not(.active) {
  opacity: 0.5;
  border-color: #ccc; /* 비활성 상태일 때 연한 테두리 */
  color: #000;
}

.div-link-simulation {
  margin-top: 100px;
}

.div-link-simulation a {
  padding: 10px 80px;
  background-color: #5e846b;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* 기후정책 이미지 너비 지정  */
.chatr-block img {
  width: 100%;
  height: auto;
}

/* 에너지 현황 차트 */
.engy-main .chart-flex {
  flex-direction: row !important;
}

/* 기후위기 적응 */
.climate-crisis-adaptation .filter-panel__head label {
  height: 30px;
}

table.table-grid th {
  white-space: nowrap;
}

.dataSwiper .swiper-slide-active .swiper-data {
  background: #ffffff !important;
}

.dataSwiper .swiper-slide-active .swiper-data .data-heading a, .dataSwiper .swiper-slide-active .swiper-data .data-heading button {
  background: #f8f8f8 !important;
}


.swiper-data .a-ico-link, .data-chart .a-ico-link {
  padding: 15px 20px;
  display: inline-block;
  font-size: 15px;
  color: #ffffff;
  background: #c8553e;
  border-radius: 28px;
}

@media (max-width: 768px) {
  .swiper-data .a-ico-link, .data-chart .a-ico-link {
    font-size: 12px;
    padding: 7px 10px;
  }
}

.div-ico-link {
  margin-bottom: 10px;
  text-align: right;
}

#modal-csmp-toe .modal--inner {
  width: 100%;
  max-width: 680px;
}

#modal-csmp-toe .modal--content {
  position: relative;
  max-height: 60rem;
  overflow-y: auto;
}


.search--wrap {
  width: 28rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

@media (max-width: 768px) {
  .search--wrap {
    z-index: 110;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
  }
}

.search--wrap .search--head {
  width: 100%;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .search--wrap .search--head {
    margin-bottom: 0.6rem;
  }
}

.search--wrap .search--cont {
  width: 100%;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.search--wrap .search--cont--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #d8d8d8;
}

.search--wrap .search--cont--head .count {
  position: relative;
  font-size: 1.3rem;
}

.search--wrap .search--cont--head .count span {
  font-weight: bold;
}

.search--wrap .search--cont--head .close-btn {
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("../images/common/search_close.png");
}

.search--wrap .search--cont--body .search--li--inner {
  max-height: 49rem;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--inner {
    height: calc(100vh - 25rem);
  }
}

.search--wrap .search--cont--body .search--li li:nth-child(odd) {
  background: #f8f8f8;
}

.search--wrap .search--cont--body .search--li li:last-child {
  border-bottom: none;
}

.search--wrap .search--cont--body .search--li--item {
  padding: 2rem;
  border-bottom: 1px solid #d8d8d8;
  cursor: pointer;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--item {
    padding: 1rem 1.5rem;
  }
}

.search--wrap .search--cont--body .search--li--item--name {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--item--name {
    font-size: 1.3rem;
  }
}

.search--wrap .search--cont--body .search--li--item--name span {
  color: #000;
  font-weight: bold;
}

.search--wrap .search--cont--body .search--li--item--name p {
  color: #000000;
  font-size: 1.7rem;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--item--name p {
    font-size: 1.3rem;
  }
}

.search--wrap .search--cont--body .search--li--item--juso01 {
  font-size: 1.4rem;
  color: #717171;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--item--juso01 {
    font-size: 1.2rem;
  }
}

.search--wrap .search--cont--body .search--li--item--juso02 {
  font-size: 1.3rem;
  color: #717171;
}

@media (max-width: 768px) {
  .search--wrap .search--cont--body .search--li--item--juso02 {
    font-size: 1.1rem;
  }
}

.search--wrap .search--cont--foot {
  border-top: 1px solid #d8d8d8;
  padding: 1.2rem;
}

.search--wrap .search--cont--foot .pagination .paging a {
  font-size: 1.3rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
}

.search--wrap .search--cont--foot .pagination .paging strong {
  font-size: 1.3rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
}


.search--wrap .form-control {
  position: relative;
  border-radius: 0.6rem;
  border: 1px solid #c6c6c6;
  height: 3.2rem;
  padding: 0 1rem;
  background: #fff;
  color: #555555;
}

.search--wrap .form-control.lg {
  height: 4.8rem;
}

.search--wrap .form-control.md {
  height: 4rem;
}

@media (max-width: 768px) {
  .search--wrap .form-control.md {
    height: 3.2rem;
    font-size: 1.1rem;
  }
}

.search--wrap .form-control.block {
  display: block;
  width: 100%;
}

.search--wrap .form-control.search {
  border-radius: 0.4rem;
  height: 4.8rem;
  border: transparent;
}

@media (max-width: 768px) {
  .search--wrap .form-control.search {
    height: 3.8rem;
  }

  .search--wrap .form-control.search input::placeholder {
    font-size: 1.3rem;
  }
}

.search--wrap .form-control.search input {
  border: none;
  flex: 1;
  height: 100%;
  width: calc(100% - 40px);
  font-size: 1.7rem;
}

@media (max-width: 768px) {
  .search--wrap .form-control.search input {
    font-size: 1.3rem;
  }
}

.search--wrap .form-control.search .serch-btn {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: url('../images/common/search-btn.png') no-repeat;
  border: none;
}

@media (max-width: 768px) {
  .search--wrap .form-control.search .serch-btn {
    right: 1rem;
  }
}

.search--wrap .form-control.disable {
  background: #d8d8d8;
  color: #9e9e9e;
}

.search--wrap .form-control .eye-btn {
  position: absolute;
  right: 1.2rem;
  width: 2.5rem;
  height: 2.1rem;
  background: url('../images/login/eye_on.png') no-repeat;
  background-position: 0 2px;
}

.search--wrap .form-control .eye-btn.active {
  background: url('../images/login/eye_close.png') no-repeat;
}

.search--wrap .form-control.flex-control {
  display: flex;
  align-items: center;
  padding: 0 6rem 0 1rem;
}

.search--wrap .form-control.flex-control input {
  border: none;
  height: calc(100% - 0.2rem);
  flex: 1;
}

.search--wrap .hide {
  display: none;
}

#statusForMonth .table-wrapper {
  max-height: 460px;
  overflow-y: auto;
  border: 1px solid #ccc;
}

#statusForMonth .table-wrapper table {
  border-collapse: collapse;
  width: 100%;
}

#statusForMonth .table-wrapper thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid #ccc;
  padding: 8px;
}

.chart-cartogram {
  flex: auto !important;
  height: 580px !important;
}

#neutralMasterPlanSigun-map-sigun {
  width: 400px;
}

@media (max-width: 768px) {
  .chart-cartogram {
    height: 450px !important;
  }

  .city-sel__item {
    height: 450px !important;
  }
}

@media (max-width: 1024px) {
  .city-sel__item {
    height: 450px !important;
  }

  .city-sel {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .neutralMasterPlan .chart-map {
    width: 100%;
  }

  #neutralMasterPlanSigun-map-sigun {
    width: 100%;
  }
}

/* 온실가스 인벤토리 모바일 */
@media (max-width: 1024px) {
  .emissions .chart-type, .grgs-ehqty .chart-type, .vuch .chart-type {
    flex-wrap: wrap !important;
  }
}

/* 시뮬레이션 모바일 버튼 */
.simultion-btn {
  display: inline-flex !important;
}

.simultion-mobile-btn {
  display: none !important;
}

@media (max-width: 1024px) {
  .simultion-btn {
    display: none !important;
  }

  .simultion-mobile-btn {
    display: inline-block !important;
  }
}

table.display {
  border-collapse: collapse;
  width: max-content;
}

table.display thead th {
  position: sticky;
  top: 0;
  background-color: white; /* 헤더 배경색 지정 */
  z-index: 1;
}

.swiper-data .data-con .data-con-img img {
  max-width: 300px;
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell.dt-layout-start {
    text-align: right;
  }

  div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell .dt-buttons {
    text-align: right;
  }

  .swiper-data .data-con .data-con-img img {
    max-width: 100% !important;
  }
}

/* 에너지 현황 모바일 */
.engy-main .engy-chart {
  width: 100%;
  height: 95%;
}

.engy-main .engy-2-1-container {
  display: grid;
  gap: 30px;
  grid-template-columns:1fr 2fr;
}

@media (max-width: 768px) {
  .engy-main .engy-chart {
    height: 95%;
  }

  .engy-main .chart-map-area {
    width: 100%;
  }

  .engy-main .engy-chart.engy-chart-85 {
    height: 85%;
  }

  .engy-main .engy-chart.engy-chart-75 {
    height: 75%;
  }

  .engy-main .engy-2-1-container {
    grid-template-columns: 1fr;
  }

  .engy-main .m-h700 {
    height: 700px !important;
  }

  .engy-main .m-h640 {
    height: 640px !important;
  }

  .gengy-sgg-container .chart-map, .gengy-sgg-container .chart-area {
    width: 95%;
  }

}

/* 우리동네 기상정보 */
.weather {
  .map {
    width: 100%;
    height: 100%;
    position: relative
  }

  .icon-sky-status {
    font-size: 35px;
    font-style: normal;
  }

  .icon-sky-status-small {
    font-size: 25px;
    font-style: normal;
  }

  /* 중앙 마커 스타일 */

  .center-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 52px;
    height: 72px;
    background-image: url('/ips/images/common/my position.png'); /* 이미지 URL */
    top: calc(50% - 36px);
    left: calc(50%);
  }

  .resultItem {
    cursor: pointer;
  }

  .popupMap {
    width: 995px;
    height: 600px;
  }

  .popupMapBtns {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 1;
  }

  #spnws {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 374px;
    height: 100px;
    overflow-y: auto;
    z-index: 1;
    border: 5px solid beige;
    border-radius: 10px;
    background-color: white;
  }

  .environmental-index dl {
    padding: 1rem 5px;
  }

  .environmental-index dd.legendParent {
    margin-top: 20px;
    background-color: #819fff;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
  }

  .environmental-index dl div.legendDiv {
    font-size: 9px;
    width: 35px;
  }

  .environmental-index dl div.legendDiv div.legendInnerDiv {
    font-size: 6.5px;
  }

  .airTypeBtns button {
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 10px;
    width: 140px;
  }

  #modal-Announce-Info .modal--content .criteria-box.active {
    z-index: 999;
  }

  #modal-Announce-Info .modal--content #statusForMonth {
    left: 3.5rem;
  }

}

@media (max-width: 768px) {
  .weather .weather-box .weather-cast-wrap .weather-cast-row01 {
    display: unset;
    margin-bottom: 10px;
  }

  .weather .weather-cast-week {
    margin-top: 10px;
  }

  .weather .airTypeBtns button {
    padding: 5px;
    font-size: 1.1rem;
    border-radius: 5px;
  }

  .weather .environmental-index {
    grid-template-columns: 1fr;
  }

  .weather .popupMap {
    width: 100%;
    height: 100%;
  }

  .weather #modal-Announce-Info .modal--content #statusForMonth.active {
    left: 0;
  }
}

@media (max-width: 1170px) {
  .weather .data--box--flex.half .data--box--flex--left {
    height: 500px;
  }

}


/* 공통 */

/* 서브 메뉴 높이 수정*/
@media (max-width: 1024px) {
  .tab--stiky ul li button, .tab--stiky ul li a {
    padding: 20px 10px !important;
  }
}

/* 카토그램 범례 너비 */
.chart-legend__data {
  position: relative;
  width: 250px;
}

.chart-legend__data > div {
  width: 92px;
  text-align: right;
}

.chart-legend__data > span {
  width: 28px;
  text-align: center;
}

/* 카토그램 숫자 자간 맞춤 */
.chart-legend__data > div {
  white-space: nowrap;
}

.chart-legend__data > span.chart-legend__split {
  position: absolute;
  width: unset;
}

.gg-carbon .div-ico-link .a-ico-link {
  padding: 15px 20px;
  display: inline-block;
  font-size: 15px;
  color: #ffffff;
  background: #238443;
  border-radius: 28px;
}