.detail-close p,
.detail-close span {
  line-height: 1;
  line-height: 1.2;
}

.detail-close-icon {
  width: 30px;
  height: 30px;
}

.weather-detail-close {
  cursor: default;
}

.detail-close-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hourly-rainfall {
  display: flex;
  align-items: center;
}

.hourly-rainfall img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: invert(61%) sepia(98%) saturate(471%) hue-rotate(170deg) brightness(97%) contrast(96%);
  padding: 1px;
}

.hourly-rainfall p {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: #939393;
  letter-spacing: 0.31px;
  line-height: 24px;
  padding-left: 3px;
}

[dir='rtl'] .hourly-rainfall p {
  padding-left: 0px;
  padding-right: 3px;
}

.weather-detail-info .weather-card-wrap {
  padding: 0;
}

.weather-detail-title {
  display: flex;
  align-items: center;
}
#life-detail-graph .life-index-wrap .life-text h3{
  font-size: 21px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d3);
}
#life-detail-graph .life-index-wrap .life-text p{
  color: #868686;
  font-size: 14px;
  font-weight: var(--weight-regular);
}
.weather-detail-title img {
  position: relative;
  left: -2px;
  width: 18px;
  height: 18px;
  filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(96%) contrast(87%);
  padding: 2px;
  margin-right: 1px;
}

.weather-detail-title p {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: #9d9d9d;
  line-height: 18px;
}

[dir='rtl'] .life-index-wrap-4 {
  padding-left: 0px;
  padding-right: 15px;
}

.life-index-btm {
  display: flex;
  flex-direction: column;
}

[dir='rtl'] .life-index-btm {
  direction: ltr;
}

[dir='rtl'] .life-index-btm > h3 {
  direction: rtl;
}

.life-btm-graph {
  width: 100%;
  align-self: center;
}

[dir='rtl'] .life-btm-graph {
  direction: rtl;
}

.life-btm-graph span {
  margin-right: 0px;
  text-align: center;
  flex: 1;
  padding: 10px 0 5px 0;
}

#life-hourly-btn {
  border-bottom: 3px solid;
  border-color: #345b9e;
}

#life-weekly-btn {
  border-bottom: 3px solid;
  border-color: transparent;
}

[dir='rtl'] .radar-life-index {
  padding-left: 0px;
  padding-right: 15px;
}

.life-index-wrap {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 20px;
}
.CircleGraphWrap {
  position: relative;
}

.life-value-data {
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
  line-height: 50px;
  position: absolute;
  font-weight: var(--weight-bold);
  top: 50%;
  left: calc(50% + 7px);
  color: var(--main-color-d3);
  font-size: 18px;
}
.life-graph {
  padding-left: 15px;
}

#loadingContainer {
  background-color: var(--background-color);
  position: absolute;
  width: 101%;
  height: 101%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

#loadingSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#radar-img-life-container {
  /* box-shadow: 5px 5px 5px gray; */
  margin: unset;
  border-radius: var(--border-radius-small);
}
#radar-img-life{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: calc(var(--border-radius-small) + 20px); */
  /* padding: 20px; */
}

footer.menu-footer {
  padding: 0 24px 140px;
}

footer.menu-footer .copyright {
  margin: 0 0 35px;
}

.life-index-info {
  display: flex;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

[dir='rtl'] .life-index-info {
  right: unset;
  left: 20px;
}

.life-index-info img {
  width: 24px;
  height: 24px;
  padding: 3px;
  margin-right: 6px;
}

.life-index-info:active {
  background-color: #abdff394;
}

.life-index-info span {
  font-size: 10px;
  font-weight: var(--weight-regular);
  color: #666666;
  line-height: 16px;
}

.table4-wrapper {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
}

.table4-wrapper > span {
  font-size: 12px;
  color: #868686;
  text-align: left;
  margin-left: 10px;
}

[dir='rtl'] .table4-wrapper > span {
  text-align: right;
  margin-left: 0;
  margin-right: 10px;
}

.table4-wrapper > span a {
  color: #868686;
}

.life-table-wrap thead tr th {
  font-weight: 700;
  padding-bottom: 10px;
  border-left: none;
  border-right: none;
}
.table4-wrapper .life-table-wrap th,
.table4-wrapper .life-table-wrap td {
  text-align: left;
  padding: 5px;
  color: var(--main-color-l3);
  border-top: 0;
  background-color: var(--card-color);
}

[dir='rtl'] .table4-wrapper .life-table-wrap th,
[dir='rtl'] .table4-wrapper .life-table-wrap td {
  text-align: right;
}

.life-table-wrap .air-quality-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

[dir='rtl'] .life-table-wrap .air-quality-circle {
  margin-left: 5px;
}

.life-table-wrap:first-child tr:nth-child(2n - 1) > td:nth-child(n + 2) {
  background-color: var(--card-color);
}
.life-table-wrap:last-child tr:nth-child(2n - 1) > td {
  background-color: var(--color-color);
}

.table4 {
  border-collapse: collapse;
  width: 100%;
  /* max-width: 600px; */
  margin-left: auto;
  margin-right: auto;
}

/* .table4 th,
.table4 td {
  font-size: 12px;
  color: #666666;
  text-align: left;
  word-break: break-word;
  background-color: var(--card-color);
  /* border: 1px solid var(--border-color); */
/* padding: 8px; */
/* } */

/* .table4 th {
  font-weight: var(--weight-bold);
} */
*/

/* .table4 tbody tr:nth-child(even) {
  background-color: var(--background-color);
}

.table4:first-child tr:nth-child(2n - 1) > td:nth-child(n + 2) {
  background-color: var(--background-color);
}

.table4:last-child tr:nth-child(2n - 1) > td {
  background-color: var(--background-color);
} */

.bar-hourly-rain {
  position: absolute;
  bottom: 1px;
  left: 25px;
  width: 10px;
  /* height: 0; */
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: height 2s ease;
}
.bar-weekly-rain {
  position: absolute;
  bottom: 1px;
  left: 25px;
  width: 10px;
  /* height: 0; */
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: height 2s ease;
}

.bar-hourly-value {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  font-size: 12px;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  max-width: 70px;
}

.bar-weekly-value {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  font-size: 12px;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  max-width: 70px;
}

.bar:hover .bar-hourly-value {
  visibility: visible;
  opacity: 0.8;
  transform: translateX(-50%) translateY(-5px);
}

.bar:hover .bar-weekly-value {
  visibility: visible;
  opacity: 0.8;
  transform: translateX(-50%) translateY(-5px);
}
.bottom-popup {
  width: 40%;
  max-width: 330px;
}
.bottom-popup .xbtn {
  position: unset;
  cursor: pointer;
  padding: 0;
  height: 30px;
}
.popupContentsContainer {
  display: flex;
  flex-direction: column;
  padding: 5px 0 0 5px;
}

.popupContentsTitle {
  color: var(--main-color-l3);
  font-weight: 700;
  font-size: 12px;
}

.popupContentsDescription {
  padding-top: 5px;
  color: var(--main-color-d1);
  font-size: 12px;

}

.life-detail-wrap {
  background-color: var(--background-color) !important;
  padding-bottom: 20px !important;
}

.life-radar-wrap {
  border-top: 2px solid #ddd;
}

.description-title {
  font-weight: var(--weight-medium);
}

/* 뉴스 */

#todayStoryWrap {
  padding: 0 12px 0 0;
}

#lifeIndexNewsList .card {
  padding: 20px 10px;
}

#lifeIndexNewsList .card>a:last-child .news-list-wrap {
  margin-bottom: 0;
}

#lifeIndexNewsList .news-list-wrap {
  /* display: flex; */
  justify-content: space-between;
  margin-bottom: 30px;
}

#lifeIndexNewsList .news-list-link {
  display: none;
}

#lifeIndexNewsList .news-list-wrap .news-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--main-color-d4);
  font-size: 14px;
  width: calc(100% - 0px);
  /* padding-left: 8px; */
}

#lifeIndexNewsList .news-list-wrap .news-title span {
  color: #7d7d7d;
  font-size: 12px;
  font-weight: var(--weight-regular);
}

#lifeIndexNewsList .news-list-wrap .news-img-wrap {
  /* width: 130px; */
  width: 100%;
  object-fit: cover;
}

#lifeIndexNewsList .news-list-wrap .news-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-small);
  object-fit: cover;
  height: 50vw;
  max-height: 400px;
}

.list-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.news-title .content-title {
  line-height: 1.4;
  margin-top: 10px;
}



@media all and (min-width: 768px) {


  #lifeIndexNewsList .news-list-wrap .news-img-wrap img {
    height: 25vw;
    max-height: 200px;
  }
}


@media screen and (max-width: 767px) {
  .bottom-popup {
    width: 80%;
  }
  #todayStoryWrap{
    padding: 0 12px;
  }
}
@media screen and (max-width: 360px) {
  .life-index-wrap-4 {
    flex-direction: column;
    padding-bottom: 0;
  }

  .life-index-wrap {
    flex-direction: column;
    padding-bottom: 0;
  }

  .life-graph {
    padding-left: 0;
  }

  #life-detail-graph .life-wrap {
    width: 100%;
  }

  #life-detail-graph .life-index-wrap-4 .life-text {
    text-align: center;
  }
  .life-value-data {
    left: 50%;
  }
  .bottom-popup {
    width: 80%;
  }
}


@media (prefers-color-scheme: dark) {
  .life-index-info img {
    filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(61%) hue-rotate(191deg) brightness(95%) contrast(86%);
  }
}

