/* @import url('./reset.css?ver=202307251803');
@import url('./common.css?ver=202307251803'); */
* {
  font-family: var(--font-family);
}

body {
  background-color: var(--background-color) !important;
}

body.no-scroll {
  overflow: hidden;
}

::-webkit-scrollbar {
  display: none;
}

/* header */
#header {
  max-width: 2560px;
  min-width: 280px;
  margin: 0 auto;
  background-color: var(--background-color);
  position: relative;
}

#header .header-container-wrap {
  width: 100%;
  z-index: 99;
  max-width: 2560px;
}

#header .header-container-wrap .header-logo-title {
  display: none;
}

#header .header-container-wrap.open {
  position: fixed;
  top: 0;
  height: 100%;
  background: #fff;
  overflow-y: scroll;
}

#header .header-container-wrap.open .header-container {
  justify-content: space-between;
  background-color: var(--main-color-l1);
}

#header .header-container-wrap.open .header-container .header-logo-wrap {
  display: flex;
  align-items: center;
}

#header .header-container-wrap.open .header-logo-wrap .header-logo-title {
  display: block;
  font-size: 14px;
  color: var(--main-color-d5);
  padding-left: 10px;
}

[dir='rtl'] #header .header-container-wrap.open .header-logo-wrap .header-logo-title {
  padding-left: 0;
  padding-right: 10px;
}

#header .header-container-wrap.open .search-input-wrap {
  display: none;
}

#header .header-container {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background-color);
  padding: 10px;
  z-index: 999;
}

#header .header-container a {
  width: 40px;
  height: 100%;
}

#header .logo-img {
  /* width: 40px; */
  height: 100%;
  /* object-fit: contain; */
}

#header .search-input-wrap {
  width: 100%;
  height: 100%;
  margin: 0 10px;
}

#searchDiv.search-form {
  display: flex;
  align-items: center;
  height: 38px;
  border-radius: 19px;
  background-color: var(--color-white);
  padding: 7px 16px;
}

#search.search-form {
  display: none;
  align-items: center;
  height: 38px;
  border-radius: 19px;
  background-color: var(--color-white);
  padding: 7px 16px;
}

#search-loc-btn {
  width: 24px;
  height: 24px;
  border: 0;
  outline: none;
  background-color: transparent;
}

#search-loc-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-input {
  width: 100%;
  height: 100%;
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: #737373;
  border: 0;
  outline: none;
  background-color: transparent;
  padding-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 24px;
}

#searchDiv:active {
  background-color: #abdff394;
}

[dir='rtl'] .search-input {
  padding-left: 0;
  padding-right: 10px;
}

.search-input::placeholder {
  font-size: 15px;
  color: #737373;
  font-weight: var(--weight-medium);
}

.header-lang-wrap {
  display: none;
  cursor: default;
}

#header-selected-lang {
  cursor: pointer;
  background-color: transparent;
  height: 100%;
  border: none;
  outline: none;
  width: max-content;
}

.menu-img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin-right: 6px;
}

[dir='rtl'] .menu-img {
  margin-right: 0;
  margin-left: 6px;
}

.refresh-img {
  width: 24px;
  height: 24px;
  margin: 0 10px;
}

.banner-container {
  /* height: 180px; */
  height: 140px;
  max-width: 1280px;
  margin: 0 auto;
}

.current-position-btn {
  position: absolute;
  top: 0;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c1c1c1;
  border-radius: 50%;
  padding: 6px;
}

.current-position-btn img {
  transform: translate(-1px, 0);
  width: 24px;
  height: 24px;
}

.top-banner-wrap {
  position: absolute;
  bottom: 30px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  width: calc(100% - 20px);
}

.top-banner-cp-wrap {
  display: flex;
  align-items: center;
}

.top-banner-cp-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 5px;
}

[dir='rtl'] .top-banner-cp-logo {
  margin-right: 0;
  margin-left: 5px;
}

.top-banner-cp-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.top-banner-cp-name {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-white);
  /* text-shadow: 0 -1px 0 rgb(0 0 0 / 70%); */
  line-height: 18px;
}

.top-banner-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--color-white);
  /* text-shadow: 0 -1px 0 rgb(0 0 0 / 70%); */
  margin-top: 5px;
  overflow: hidden;
}

.top-banner-img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}

.top-banner-pagination {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 13px;
  padding: 0 10px;
  z-index: 1;
}

.top-banner-pagination span {
  font-size: 12px;
  font-weight: var(--weight-regular);
  color: var(--color-white);
  letter-spacing: -0.4px;
  text-align: center;
}

#top-content-banner .swiper-slide a::before {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 12%, #000000 120%);
  margin-bottom: -1px;
}

.header-container-wrap.fixed {
  position: fixed;
  top: 0;
  max-width: 767px;
  width: 100%;
}

.tablet-search-wrap {
  display: none;
  position: relative;
  z-index: 99;
}

.tablet-menu-wrap {
  position: relative;
  z-index: 99;
}

/* menu */
#header .header-container-wrap.open .menu-img {
  display: none;
}

#header .header-container-wrap.open .menu-close-img {
  display: block;
}

#header .header-container-wrap.open .menu-wrap {
  display: block;
  overflow: scroll;
  /* width: 100vw; */
  /* height: calc(100vh - 60px); */
}

#header .header-container-wrap.open .menu-wrap > div {
  max-width: 1280px;
  margin: 0 auto;
}

#header .header-container-wrap .lang-menu {
  display: none;
}

.menu {
  position: absolute;
  display: none;
  height: 100%;
  width: 100%;
  color: var(--main-color-d1);
  background-color: var(--main-color-l1);
  z-index: 9999;
  left: 50%;
  transform: translate(-50%, 0);
}

.menu .menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 24px 16px;
}

.menu .menu-top h2 {
  flex: 1;
  font-size: 21px;
  font-weight: var(--weight-medium);
}

.menu .menu-top .lang-btn-wrap {
  flex: 1;
  text-align: end;
}

.menu .menu-top .lang-btn {
  cursor: pointer;
  /* height: 35px; */
  background: var(--button-color);
  border-radius: 19px;
  padding: 0 18px;
  font-size: 15px;
  line-height: 35px;
  color: var(--color-white);
  border: unset;
}

.menu .menu-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

.menu .menu-list .common-menu {
  font-size: 17px;
  padding: 0;
  cursor: pointer;
}

/* .menu .menu-list .common-menu:not(:nth-last-child(-n + 2)) {
  border-color: var(--border-color);
} */

.menu .menu-list .common-menu {
  border-color: var(--border-color);
}

.menu .menu-list .common-menu a {
  width: 100%;
  height: 100%;
  color: var(--main-color-l3);
  padding: 16px 0px;
}

#menu-detail-seasonWeather-container {
  width: 100%;
  height: 100%;
  color: var(--main-color-l3);
  padding: 16px 0px;
}

.menu-list .common-menu img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease-in-out;
  padding: 7px;
}

.menu .menu-list .common-menu .typhoon-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

[dir='rtl'] .menu .menu-list .common-menu .typhoon-icon {
  margin-right: 0;
  margin-left: 6px;
}

.menu .menu-list .common-menu .typhoon-icon img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotateZ(23deg);
  padding: 0;
}

[dir='rtl'] .menu .menu-list .common-menu .typhoon-icon img {
  transform: scaleX(-1) rotateZ(23deg);
}

.menu-list .common-menu .menu-title {
  padding: 16px 0;
}

.menu .menu-list .common-menu .typhoon-menu-title {
  color: #da291c;
}

.menu .menu-list .common-menu-wrap {
  display: none;
  border-bottom: 1px solid var(--border-color);
}

.menu .menu-list .common-menu-wrap div {
  border-bottom: 1px solid var(--border-color);
}

.menu .menu-list .common-menu-wrap div:last-child {
  border-bottom: none;
}

.menu .menu-list .common-menu-wrap a {
  display: block;
  color: var(--main-color-l4);
  padding: 19px 0 19px 18px;
}

[dir='rtl'] .menu .menu-list .common-menu-wrap a {
  padding: 19px 18px 19px 0;
}

/* menu lang */
.menu .menu-lang-top {
  display: block;
  /* padding: 10px 0 25px; */
  padding: 10px 0 0;
}

.menu .menu-top-wrap {
  padding: 0 31px 30px;
}

.menu .menu-lang-top .menu-return-btn {
  display: inline-flex;
  padding-top: 10px;
  cursor: pointer;
}

.menu .menu-lang-wrap .detail-close {
  padding: 0;
}

.menu-lang-wrap h2 {
  font-size: 24px;
  font-weight: var(--weight-bold);
  padding-left: 31px;
  padding-bottom: 15px;
}

[dir='rtl'] .menu-lang-wrap h2 {
  padding-left: 0px;
  padding-right: 31px;
}

.menu-lang-wrap .menu-lang {
  border-top: 1px solid var(--border-color);
}

.menu-lang-wrap .menu-lang label {
  width: 100%;
  padding: 10px 31px;
  cursor: pointer;
}

.menu-lang-wrap .menu-lang input[type='radio'] {
  display: none;
}

.menu-lang-wrap .menu-lang input[type='radio']:checked + label {
  background: #f1f1f1;
}

.menu-lang-wrap .menu-lang a {
  width: 100%;
}

.lang-content {
  display: none;
  border-top: 1px solid #ddd;
  background: #f1f1f1;
  padding: 10px 15px 10px 60px;
}

.menu-footer {
  max-width: 1162px;
  margin: 0 auto;
  color: var(--main-color-l3);
  background: var(--main-color-l1);
  padding: 30px 24px 110px;
  font-size: 14px;
}

footer.menu-footer {
  background: unset;
  padding: 30px 24px 140px;
}

.menu-footer p {
  display: flex;
  /* white-space: nowrap; */
  align-items: center;
  justify-content: center;
}

.copyright {
  display: flex;
  /* white-space: nowrap; */
  justify-content: center;
  text-align: center;
  /* font-size: 20px; */
  margin-top: 10px;
}

.menu-footer .copyright {
  margin: 10px 0 35px;
}

/* menu footer */
.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 30px;
  font-size: 14px;
  /* white-space: nowrap; */
}

.footer-list a {
  font-size: 14px;
  font-weight: var(--weight-bold);
  padding: 0 10px;
  color: var(--main-color-l3);
  -webkit-tap-highlight-color: #abdff394;
  display: inline-block;
  text-align: center;
}

.footer-list span {
  display: inline-block;
}

.footer-list > p {
  padding-top: 60px;
}

.menu-close-img {
  display: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
  cursor: pointer;
  margin-right: 6px;
  /* padding: 3px; */
}

[dir='rtl'] .menu-close-img {
  margin-right: 0;
  margin-left: 6px;
}

.lang-menu {
  display: none;
  overflow: scroll;
}

/* radio button */
.radio-button-wrap {
  padding-top: 30px;
}

.radio-button {
  width: 90%;
  display: flex;
  align-items: center;
  text-align: center;
  /* border: 1px solid #dee0e3; */
  border-radius: 15px;
}

.radio-button input {
  display: none;
}

.radio-button label:hover,
.radio-button input[type='radio']:checked + label {
  /* background-color: #1b4de4; */
  background-color: var(--button-color);
  color: var(--color-white);
}

[data-theme='dark-mode'] .radio-button label:hover {
  /* background-color: #1b4de4; */
  background-color: var(--button-color);
}

.radio-button label {
  flex: 1;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.radio-unit {
  color: var(--main-color-d5);
  font-size: 14px;
}

/* navbar */
#nav {
  max-width: 767px;
  min-width: 280px;
  margin: 0 auto;
}

#nav-wrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 2560px;
  height: 54px;
  max-width: 2560px;
  background-color: var(--color-l2);
  border-top: 1px solid;
  border-color: var(--color-l5);
  z-index: 10;
}

.nav-container {
  position: fixed;
  bottom: 0;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  max-width: 767px;
  width: 100%;
  /* height: 60px; */
  /* padding: 6px 0; */
  transition: border 0.2s ease-in-out;
  left: 50%;
  transform: translate(-50%, 0px);
}

.nav-container.end {
  border-top: 2px solid transparent;
}

.nav-container .nav-item {
  width: 100%;
  height: 100%;
  padding: 5px 0;
  cursor: pointer;
}

.nav-container li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* width: 60px; */
  /* height: 100%; */
}

.nav-container li .nav-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 1.5px 0;
  /* padding: 3px 0; */
}

.nav-container li .nav-icon img {
  /* width: 100%; */
  height: 100%;
  object-fit: contain;
}

.nav-container li .nav-icon .nav-today {
  position: absolute;
  bottom: 5.5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: #858585;
  line-height: 1;
  text-align: center;
}

.nav-container li .nav-icon .nav-today.active {
  color: var(--main-color-l1);
}

.nav-container li .nav-title {
  font-size: 12px;
  font-weight: var(--weight-regular);
  color: #858585;
  text-align: center;
  padding-top: 2px;
}

.nav-container li .nav-title.active {
  color: var(--main-color-d1);
}

.tablet-menu {
  display: none;
}

#main {
  min-width: 280px;
  max-width: 1162px;
  /* background-color: var(--background-color); */
  padding: 0 10px 64px;
  margin: 0 auto;
  visibility: hidden;
  transition: padding 200ms ease-in-out;
}

/* common */
.headline {
  font-size: 21px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  line-height: 28px;
  padding-left: 14px;
  margin-bottom: 4px;
}

[dir='rtl'] .headline {
  padding-left: 0;
  padding-right: 14px;
}

.sub-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d5);
  line-height: 18px;
  padding: 0 14px;
}

.card {
  position: relative;
  background-color: var(--card-color);
  border-radius: var(--border-radius-medium);
  padding: 20px;
  margin-top: 5px;
  margin-bottom: 13px;
}

.card.swiper-card {
  padding: 20px 0;
}

.margin-bottom-16 {
  margin-bottom: 16px;
}

.margin-left-20 {
  margin-left: 20px;
}

.margin-right-20 {
  margin-right: 20px;
}

.padding-0 {
  padding: 0;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.title-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.temp {
  font-size: 67px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  letter-spacing: -2px;
  line-height: 80px;
}

.temp em {
  position: relative;
  top: -2px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: -0.2px;
}

.weather-text {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  line-height: 18px;
}

.weather-text:first-of-type {
  padding-bottom: 2px;
}

.weather-img {
  width: 64px;
  height: 64px;
}

.weather-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.warning {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  padding: 12px 24px;
  height: 48px;
  background-color: var(--main-color-d1);
  border-radius: 24px;
  cursor: pointer;
}

.warning.video {
  background-color: #585858;
}

/* .warning.video .warning-text {
  max-width: unset;
} */

.warning-img {
  width: 24px;
  height: 24px;
  padding: 3px;
  flex-shrink: 0;
}

.warning .warn-on {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
}

.warning-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.warning.video .warning-img img {
  width: unset;
}

.warning-text {
  /* max-width: 200px; */
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-l1);
  line-height: 24px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-left: 6px;
}

[dir='rtl'] .warning-text {
  margin-left: 0;
  margin-right: 6px;
}

.warning-count {
  display: flex;
  justify-content: center;
  height: 18px;
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-functional-orange);
  border-radius: 9px;
  padding: 0 6px;
  margin-left: 6px;
  line-height: 18px;
}

[dir='rtl'] .warning-count {
  margin-left: 0;
  margin-right: 6px;
}

.warning-count.caution {
  background-color: #fc9831;
}

/* 현재 온도 영역 */
#cur-weather .card {
  padding-top: 16px;
  margin-top: 0;
}

#cur-weather .flex-between {
  align-items: center;
}

#curDayText {
  font-size: 14px;
  color: var(--main-color-d5);
  line-height: 30px;
  text-align: center;
}

/* 강수 영역 */
.rain-text {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
}

/* 주간 날씨 영역 */
.weather-detail-wrap .weekly-container {
  background-color: var(--main-color-l2);
  padding: 3px 24px 20px 24px;
}

.weather-detail-wrap span {
  font-size: 17px;
  font-weight: var(--weight-medium);
}

.weather-detail-wrap .txt-width {
  min-width: 40px;
  font-size: 17px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d3);
  line-height: 24px;
  flex: 1;
}

.weather-detail-close {
  height: 56px;
  padding: 0px 20px;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.weather-detail-close.active {
  background-color: var(--main-color-l2);
}

.detail-close,
.common-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  border-bottom: 1px solid;
  border-color: transparent;
  padding: 14px 4px;
  transition: border-color 0.2s ease-in-out;
}

.detail-close.on {
  border-color: var(--border-color);
}

.weather-detail-close .weekly-wx-img {
  width: 32px;
  height: 32px;
  flex: 1;
}

.weather-detail-close .weekly-wx-img img {
  /* width: auto;
  height: 100%; */
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.weather-detail-close .detail-close-temp {
  display: flex;
  align-items: baseline;
  flex: 1;
}

.weather-detail-close .maxt {
  font-size: 18px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  line-height: 1;
}

.weather-detail-close .mint {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: #939393;
  letter-spacing: 0.31px;
  line-height: 1;
  padding-left: 5px;
}

[dir='rtl'] .weather-detail-close .mint {
  padding-left: 0px;
  padding-right: 5px;
}

.arrow-btn {
  width: 32px;
  height: 32px;
  padding: 7px;
}

.arrow-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}

.weather-detail-close.active .arrow-btn img {
  transform: rotate(0deg);
}

.weather-detail-wrap .day-time {
  font-size: 13px;
  font-weight: var(--weight-bold);
  color: var(--color-d5-text);
  line-height: 15px;
  padding-bottom: 6px;
}
.day-time-day-or-night {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: var(--color-d5-text);
  line-height: 15px;
}

.weather-detail-wrap .weather-detail-info-wrap .weather-txt {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d4);
  line-height: 21px;
  padding: 10px 0 20px 0;
}

.weekly-middle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weekly-middle-left {
  position: relative;
  display: flex;
  align-items: baseline;
}

/* .weekly-middle-left .temp {
  font-size: 50px;
  font-weight: var(--weight-bold);
  color: var(--color-cold);
  margin-right: 10px;
} */

.weekly-middle-left span {
  font-size: 50px;
  font-weight: var(--weight-bold);
  line-height: 72px;
  letter-spacing: -2px;
  margin-right: 8px;
}

[dir='rtl'] .weekly-middle-left span {
  margin-right: 0;
  margin-left: 8px;
}

.weekly-middle-left .maxt {
  color: #69a7f4;
}

.weekly-middle-left .mint {
  color: #705d91;
}

.weekly-middle-left span em {
  position: relative;
  top: -2px;
  font-family: 'Roboto', sans-serif;
  font-weight: var(--weight-regular);
  letter-spacing: -0.2px;
}

.weekly-middle-left .night-temp {
  color: var(--color-very-high);
}

.weekly-middle-left img {
  position: absolute;
  right: -54px;
  bottom: 10px;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.weekly-middle-right span {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: #828282;
  letter-spacing: 0.31px;
  line-height: 18px;
}

.weekly-middle-right span:first-of-type {
  padding-bottom: 6px;
}

.weekly-middle-right img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(61%) sepia(98%) saturate(471%) hue-rotate(170deg) brightness(97%) contrast(96%);
  padding: 2px;
  margin-right: 6px;
}

/* .weather-detail-info {
  border-bottom: 1px solid #ddd;
} */

.weather-detail-info .weather-card {
  background-color: var(--color-l2);
  border-radius: var(--border-radius-small);
  padding: 14px 18px;
  cursor: pointer;
}

.weather-detail-info .weather-card.head {
  display: flex;
  align-items: center;
  padding: 12px 12px 12px 16px;
  margin-bottom: 10px;
}

.weather-detail-info .weather-card.head .head-txt {
  flex: 2;
}

.weather-detail-info .weather-card.head h3 {
  font-size: 10px;
  font-weight: var(--weight-black);
  color: var(--main-color-d1);
  letter-spacing: 0.3px;
  padding-bottom: 3px;
}

.weather-detail-info .weather-card.head p {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d4);
  line-height: 18px;
}

.weather-detail-info .weather-card.head .head-video-img {
  flex: 1;
  position: relative;
  top: 2px;
  width: 100%;
  padding-bottom: 20%;
  margin-left: 12px;
}

[dir='rtl'] .weather-detail-info .weather-card.head .head-video-img {
  margin-left: 0;
  margin-right: 12px;
}

.weather-detail-info .weather-card.head .head-video-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-small);
}

.weather-detail-info .weather-card-wrap {
  /* display: grid;
  grid-template-columns: 50% 50%; */
  display: flex;
  flex-wrap: wrap;
}

.weather-detail-info .weather-card-wrap .weather-card {
  background-color: var(--color-l2);
  flex: 1 1 40%;
}

.weather-detail-info .weather-card-wrap .weather-card:nth-child(odd) {
  margin-right: 10px;
}

.weather-detail-info .weather-card-wrap .weather-card:nth-child(-n + 4) {
  margin-bottom: 10px;
}

.weather-detail-info .weather-card-wrap .weather-card .weather-detail-title {
  display: flex;
}

.weather-detail-info .weather-card-wrap .weather-card .weather-detail-title h3 {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: #9d9d9d;
  line-height: 18px;
  word-break: keep-all;
}

.weather-detail-info .weather-card-wrap .weather-card .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-info .weather-card-wrap .weather-card .weather-detail-title .moon-phase-icon {
  /* filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(96%) contrast(87%); */
  filter: none;
}

.weather-detail-info .weather-card-wrap .weather-card.moon-phase {
  margin: 10px 0 0 0;
}

.weather-detail-info .weather-card-wrap .weather-card .weather-detail-title .moon-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  padding-left: 6px;
}

.weather-detail-info .weather-card-wrap .weather-card p {
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  letter-spacing: -0.5px;
  padding-top: 9px;
}

[dir='rtl'] .weekly-middle-left img {
  /* right: 108px; */
  right: unset;
  left: -54px;
}

[dir='rtl'] .weekly-middle-right img {
  margin-right: 0;
  margin-left: 6px;
}

[dir='rtl'] .weather-detail-info .weather-card-wrap .weather-card:nth-child(odd) {
  margin-right: 0;
  margin-left: 10px;
}

[dir='rtl'] .weather-detail-info .weather-card-wrap .weather-card .weather-detail-title img {
  left: unset;
  right: -2px;
  margin-right: 0;
  margin-left: 1px;
}

[dir='rtl'] .weather-detail-info .weather-card-wrap .weather-card .weather-detail-title .moon-title {
  padding-left: 0;
  padding-right: 6px;
}

[dir='rtl'] .weather-detail-info .weather-card-wrap .weather-card.moon-phase {
  margin-left: 0;
}

.weekly-news .more-btn-wrap {
  text-align: right;
}

.weekly-news .more-btn {
  display: inline-block;
  border-radius: 48px;
  background: #2d2d2d;
  cursor: pointer;
}

.weekly-news .more-btn a {
  display: block;
  color: var(--color-white);
  padding: 8px 30px;
}

.weekly-news .margin-left-20 {
  margin-left: 0;
}

/* 레이더 영역 */
.card.radar,
.card.radar-0,
.card.radar-1,
.card.radar-2,
.card.radar-3,
.card.radar-4 {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding-bottom: 80%;
  cursor: pointer;
}

.card.radar-0,
.card.radar-1,
.card.radar-2,
.card.radar-3,
.card.radar-4 {
  margin-top: 0;
}

.card.radar-4 {
  margin-bottom: 0;
}

.radar-time {
  position: absolute;
  top: 16px;
  left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 24px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--color-white);
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius-small);
  padding: 0 18px;
  z-index: 1;
}

.radar-img,
.radar-img-0,
.radar-img-1,
.radar-img-2,
.radar-img-3,
.radar-img-4 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-small);
  object-fit: cover;
}

/* 추천 지도  */
#rec-map-wrap h3 {
  font-size: 18px;
  font-weight: var(--weight-bold);
  padding-top: 10px;
}
#rec-map-wrap .radar-text-box {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
  color: var(--color-white);
}

.now-btn {
  position: absolute;
  left: 10px;
  top: 20px;
  padding: 3px 25px;
  border-radius: 48px;
  color: var(--color-white);
  background: #2d2d2dc9;
}

/* 비디오 영역 */
.swiper.video-swiper {
  padding: 0 20px;
  margin-bottom: 20px;
}

.video-img-wrap {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 10px;
}

.video-img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-small);
  object-fit: cover;
}

.video-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  white-space: normal;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(41, 41, 41, 0.5);
}

.play-img {
  width: 100%;
  height: 100%;
}

.info-more-btn-wrap {
  display: flex;
  justify-content: flex-end;
}

.info-more-btn {
  min-width: 120px;
  height: 36px;
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--color-white);
  text-align: center;
  line-height: 36px;
  border-radius: 18px;
  background-color: var(--button-color);
  padding: 0 18px;
  cursor: pointer;
}

#videoMoreBtn {
  margin-right: 20px;
}

[dir='rtl'] #videoMoreBtn {
  margin-right: 0;
  margin-left: 20px;
}

/* Today, Hourly, Daily 날씨 선택 영역 */
.card.day-select-box-swiper,
.card.month-select-box-swiper {
  min-height: 248px;
}

.day-select-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 4px; */
  /* overflow: auto; */
  /* border: 1px solid var(--border-color); */
  border-radius: 18px;
}

.day-select-text,
.month-select-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: unset;
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--color-d5-text);
  letter-spacing: -0.3px;
  line-height: 36px;
  text-align: center;
  white-space: nowrap;
  border-radius: 18px;
  background-color: var(--main-color-l1);
  cursor: pointer;
  padding: 0 15px;
}

.day-select-text:not(:last-child) {
  margin-right: 8px;
}

.month-select-text:not(:first-child) {
  margin-left: 8px;
}

[dir='rtl'] .day-select-text:not(:last-child),
[dir='rtl'] .month-select-text:not(:first-child) {
  margin-right: 0;
  margin-left: 8px;
}

.day-select-text.active,
.month-select-text.active {
  /* background-color: var(--button-color); */
  background-color: var(--main-color-d1);
  font-weight: var(--weight-medium);
  /* color: var(--main-color-d1); */
  color: var(--main-color-l1);
  letter-spacing: -0.5px;
  transition: all 0.2s ease-in-out;
  /* outline: 5px auto #51bef3; */
}

#day-select-info {
  margin: 30px -20px 0;
}

#day-select-info.hourly {
  margin-top: 0;
}

#day-select-info .today-list {
  display: flex;
  align-items: start;
  padding: 0 20px;
  overflow: auto;
}

[dir='rtl'] #day-select-info .today:not(:last-of-type) {
  margin-right: 0px;
  margin-left: 20px;
}

#day-select-info .today {
  flex: 1;
  align-items: center;
  cursor: pointer;
}

#day-select-info .today:not(:last-of-type) {
  margin-right: 20px;
}

#day-select-info .day-select-info-swiper {
  padding: 0 20px;
}

.weather-temp-text {
  font-size: 20px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  margin-left: 8px;
}

.weather-temp-sub-text {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  margin-left: 5px;
}

.weather-icon {
  width: 38px;
  height: 38px;
  margin: 17px 0 14px 0;
}

.weather-time-text {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  opacity: 0.5;
  text-align: center;
  word-break: keep-all;
  white-space: nowrap;
}

/* 날씨 상세 정보 영역 */
.detail-info-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

a:first-child .detail-info-wrap {
  margin-top: 0;
}

a:last-child .detail-info-wrap {
  border: unset;
}

.detail-info-title-wrap {
  display: flex;
  align-items: center;
  flex: 2;
}

.detail-info-title {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  letter-spacing: -0px;
}

.detail-info-icon {
  width: 24px;
  height: 24px;
  padding: 2px;
  margin-right: 7px;
}

.moon-icon {
  padding: 1px;
}

[dir='rtl'] .detail-info-icon {
  margin-right: 0px;
  margin-left: 7px;
}

.detail-info-value-wrap {
  display: flex;
  align-items: center;
  justify-content: end;
}

.detail-info-value {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  letter-spacing: 0px;
  margin-left: 8px;
  word-break: keep-all;
  text-align: end;
}

[dir='rtl'] .detail-info-value {
  margin-left: 0;
  margin-right: 8px;
}

.detail-info-value.wind {
  margin-left: 0;
  margin-right: 4px;
}

[dir='rtl'] .detail-info-value.wind {
  margin-left: 4px;
  margin-right: 0;
}

.detail-info-value-icon {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.detail-info-wrap.active {
  align-items: unset;
  justify-content: space-between;
  border-bottom: none;
  padding: 0 0 0 0;
}

.detail-info-wrap.active .detail-info-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.detail-info-wrap.active .detail-info-title {
  font-size: 12px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  letter-spacing: -0.07px;
  padding-left: 4px;
}

[dir='rtl'] .detail-info-wrap.active .detail-info-title {
  padding-left: 0;
  padding-right: 4px;
}

.detail-info-wrap.active .detail-info-value-wrap {
  align-items: flex-start;
}

.detail-info-wrap.active .detail-info-icon {
  width: 24px;
  height: 24px;
  padding: 2px;
  margin: 4px 4px 0 0;
}

.detail-info-wrap.active .detail-info-value {
  font-size: 36px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  letter-spacing: -1px;
  line-height: 1;
  margin-left: 0;
}

.detail-info-wrap.active .detail-info-value em {
  position: relative;
  top: -2px;
  font-family: 'Roboto', sans-serif;
  font-weight: var(--weight-medium);
  letter-spacing: -0.2px;
}

/* sponsored content 영역 */
.content-wrap {
  display: flex;
  flex-direction: column;
  margin: 0 -10px 30px -10px;
}

#btm-picks-content a:last-child .content-wrap {
  margin-bottom: 0;
}

.content-img {
  width: 100%;
  height: 50vw;
  max-height: 400px;
  margin-bottom: 10px;
  border-radius: var(--border-radius-small);
  object-fit: cover;
}

.content-title {
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  margin-bottom: 6px;
}

.content-sub-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-name {
  font-size: 12px;
  font-weight: var(--weight-regular);
  color: #7d7d7d;
}

.content-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  border: 1px solid var(--main-color-d2);
  border-radius: 4px;
  padding: 4px 8px;
}

.content-more-btn p {
  font-size: 12px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d2);
}

.sun-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0);
  padding: 2px;
}

.sun-time {
  font-size: 13px;
  color: var(--main-color-d1);
  letter-spacing: 0;
  font-weight: var(--weight-medium);
  opacity: 0.95;
  margin-left: 2px;
}

/* [dir='rtl'] .sun-time {
  margin-left: 0px;
  margin-right: 2px;
} */

.time-sub-text {
  /* font-size: 9px; */
  font-weight: var(--weight-medium);
  color: #808080;
  letter-spacing: 0;
  padding-left: 1px;
}

[dir='rtl'] .time-sub-text {
  padding-left: 0;
}

/* your privacy */
.privacy-common-wrap .privacy-common .privacy-common-btm {
  display: flex;
  align-items: center;
  padding-top: 20px;
}

.privacy-common-wrap .privacy-common .privacy-common-btm .privacy-common-account {
  width: 120px;
}

.privacy-common-wrap .privacy-common .privacy-common-btm p {
  padding-left: 10px;
}

.common-line {
  border: 1px solid #d5d5d5;
}

/* 강수 정보 그래프 */
.rain-info-wrap {
  cursor: pointer;
  min-height: 120px;
  padding-bottom: 0;
}

.graph-x-label {
  font-weight: var(--weight-regular);
  font-size: 12px;
  color: var(--color-black);
  opacity: 0.5;
}

.graph-y-label {
  font-weight: var(--weight-regular);
  font-size: 12px;
  color: var(--color-black);
  opacity: 0.35;
  letter-spacing: 0;
  padding: 10px 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  height: 38px;
}

.graph-y-label:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.rain-item {
  display: inline-block;
  position: relative;
  min-width: 60px;
  height: 100%;
  font-weight: var(--weight-regular);
  font-size: 12px;
  color: #999999;
  text-align: center;
}

.rain-time {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 60px;
}

.bar-rain,
.bar-hourly-rain,
.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;
}

#rain-graph,
#rain-weekly-graph {
  height: 220px;
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

#rain-weekly-graph {
  margin-top: 16px;
}

#rain-graph,
#rain-weekly-graph {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#rain-graph::-webkit-scrollbar,
#rain-weekly-graph::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.bar-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-value {
  visibility: visible;
  opacity: 0.8;
  transform: translateX(-50%) translateY(-5px);
}

/* 기상특보 */
.weather-warning-wrap .card-title {
  font-size: 15px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  margin-bottom: 10px;
}

#weatherWarning {
  display: flex;
  flex-direction: column;
}

.accordion {
  width: 100%;
  /* display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
  padding: 20px 0;
  border-bottom: 1px dashed #c1c1c1;
  cursor: pointer; */
  /* padding: 15px 0; */
}

.weather-warning-title {
  /* font-size: 14px; */
  font-weight: var(--weight-medium);
  /* color: #858585; */
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
  margin-bottom: 3px;
}

.weather-warning-content {
  padding: 0 20px;
  font-size: 15px;
  font-weight: var(--weight-regular);
  /* color: #797889; */
  color: var(--main-color-d1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

.weather-warning-content h4 {
  font-weight: var(--weight-bold);
  margin: 25px 0 3px 0;
}

.weather-warning-content p {
  margin-bottom: 10px;
}

.weather-warning-menu .accordion.active + .weather-warning-content {
  padding: 0 20px 20px;
}

.weather-warning-menu .accordion .right-arrow-icon {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
  transition: transform 0.2s ease-out;
}

.weather-warning-menu .accordion.active .right-arrow-icon {
  transform: rotate(0deg);
}

.weather-warning-wrap .card-info-wrap {
  display: flex;
  align-items: center;
  /* width: max-content; */
  width: 100%;
  padding-left: 20px;
  margin-bottom: 20px;
  /* padding: 20px 0;
  margin: 20px 0; */
  cursor: pointer;
}

.weather-warning-wrap .card-info-wrap img {
  width: 24px;
  height: 24px;
  padding: 3px;
  margin-right: 6px;
}

.weather-warning-wrap .card-info-wrap span {
  font-size: 10px;
  font-weight: var(--weight-regular);
  color: #666666;
}

.warning-kind-wrap .warning-kind {
  display: flex;
  justify-content: center;
  padding: 0 5px 5px 0px;
}

.warning-kind span.active {
  /* color: #345b9e; */
  font-weight: bold;
  border-bottom: 3px solid #345b9e;
}

.warn-contents {
  flex: 3;
  text-align: left;
}

.eq-info-list {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  border-bottom: 1px solid var(--border-color);
  padding: 13px 0;
}

.eq-info-list:last-of-type {
  border: none;
}

.eq-title {
  width: 70px;
  margin-right: 10px;
}

.eq-contents {
  flex: 1;
}

.warn-info-list {
  /* display: flex; */
  align-items: center;
  font-size: 14px;
  /* font-weight: var(--weight-medium); */
  /* color: var(--main-color-d1); */
  /* border-bottom: 1px solid var(--border-color); */
  /* padding: 13px 0; */
}

/* .warn-info-list:nth-child(even) {
  background-color: var(--background-color);
} */

.warn-list {
  flex: 1;
  font-weight: var(--weight-bold);
  /* color: var(--main-color-l4); */
  text-align: center;
  word-break: break-word;
  /* margin-right: 20px; */
}

.eq-info-wrap img {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.warning-kind .warn-menu {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  cursor: pointer;
  padding-bottom: 5px;
}

/* 개인정보 처리방침, 사용약관 */
.etc-wrap {
  color: var(--main-color-d1);
  background: var(--card-color);
  border-radius: var(--border-radius-medium);
  padding: 10px;
}

.etc-wrap .etc-top-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  padding: 25px;
}

.etc-wrap .etc-top-title h1 {
  font-weight: var(--weight-bold);
}

.etc-content {
  padding: 0 23px 23px;
  word-break: break-all;
}

.etc-content p {
  font-size: 24px;
  text-align: center;
  text-decoration: underline;
  margin: 0;
}

.popup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.popup-title .popup-title-top {
  display: flex;
  align-items: center;
}
/* 확인 */
/* favorite area */
.popup-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 767px;
  height: 100%;
  background-color: var(--background-color);
  padding: 10px 20px 20px 20px;
  margin: 0 calc((100vw - 767px) / 2);
  opacity: 0;
  z-index: -1;
  overflow: auto;
  flex-flow: column nowrap;
  /* overflow: auto; */
}

.popup-background.on {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#top-container-search-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 20px auto;
}

#top-container-search-container > form {
  width: 100%;
  margin: 0 16px 0 0;
  padding: 0 16px;
}

#top-container-search-close-btn {
  width: 24px;
  height: 24px;
}

#top-container-search-close-btn > img {
  object-fit: contain;
  cursor: pointer;
  margin-right: 6px;
  /* filter: brightness(0); */
  width: 30px;
  height: 30px;
}

#search-bottom-logo {
  display: flex;
  justify-content: center;
}

.popup-background .popup-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* height: 100%; */
  overflow: hidden;
  transition: 0.4s;
  padding: 0;
  margin: 0 auto;
}

#searchLoadingContainer {
  background-color: var(--background-color);
  position: absolute;
  width: 101%;
  height: 101%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

#searchLoadingSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* card top */
.popup-background .popup-card .card-top {
  display: flex;
  padding-bottom: 10px;
  justify-content: space-between;
  flex-direction: row;
  padding: 20px;
  align-items: center;
}

.popup-background .popup-card .card-top h1 {
  font-size: 15px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
}

.popup-background .popup-card .card-top > div {
  display: none;
}

.header-container .close-btn img {
  object-fit: contain;
  cursor: pointer;
  margin-right: 6px;
  filter: brightness(0);
}

[dir='rtl'] .header-container .close-btn img {
  margin-left: 6px;
  margin-right: 0;
}

.header-container .close-btn {
  display: none;
  width: 24px;
  height: 24px;
}

.header-container .close-btn.show {
  display: block;
}

/* .popup-background .popup-card.register-favorite-region .card-top .close-btn {
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
} */

.popup-background .popup-card .card-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* card body */
.popup-background .popup-card .card-body {
  /* height: calc(100% - 61px); */
  /* border-top: 1px solid var(--border-color); */
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.popup-background .popup-card .card-body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.popup-background .popup-card .card-body ul {
  width: 100%;
  margin: 0;
  /* padding-bottom: 20px; */
}

.popup-background .popup-card.register-favorite-region .card-body ul li {
  border-bottom: 1px solid var(--border-color);
}

.popup-background .popup-card.register-favorite-region .card-body ul li:last-child {
  border-bottom: none;
}

.popup-background .popup-card .card-body > div > strong {
  font-weight: var(--weight-bold);
  word-break: break-all;
}
.searchCategory {
  display: flex;
  padding: 14px 20px 13px 20px;
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  border-bottom: 1px solid var(--border-color);
}
.searchedPlaceData {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* height: 100%; */
  padding: 14px 20px;
  cursor: pointer;
}

.popup-background .popup-card .card-body ul li a > div {
  display: flex;
}

.popup-background .popup-card .card-body ul li a > div:first-child {
  flex-direction: column;
  justify-content: flex-start;
  margin-right: 20px;
}

[dir='rtl'] .popup-background .popup-card .card-body ul li a > div:first-child {
  margin-right: 0;
  margin-left: 20px;
}

.popup-background .popup-card .card-body ul li div p {
  font-size: 14px;
  font-weight: var(--weight-regular);
  /* color: #337ab7; */
  color: var(--main-color-d1);
}

.popup-background .popup-card .card-body ul li div p:first-child.active {
  color: #e54f96;
}

/* .popup-background .popup-card .card-body ul li div p:last-child {
  font-size: 12px;
  color: #858585;
  padding-top: 3px;
} */

.popup-background .popup-card .card-body ul li div input[type='radio'] {
  display: none;
}

.popup-background .popup-card .card-body ul li div img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.popup-background .popup-card .card-body .delete-button {
  display: none;
}

/*view-favorite-region*/
.popup-background .popup-card.view-favorite-region .card-top .view-favorite-region {
  display: block;
}

.popup-background .popup-card.view-favorite-region .card-body {
  height: calc(100% - 90px);
  flex-flow: column;
  justify-content: space-between;
}

.popup-background .popup-card.view-favorite-region .card-body ul li {
  padding: 0 20px;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div {
  justify-content: space-between;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div label {
  display: flex;
  align-items: center;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div p {
  font-size: 15px;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div input[type='checkbox'] {
  position: relative;
  width: 40px;
  height: 20px;
  -webkit-appearance: none;
  background-color: #e2e2e2;
  outline: none;
  border-radius: 10px;
  /* box-shadow: inset 0 0 5px rgb(0 0 0 / 20%); */
  transition: 0.2s;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div input[type='checkbox']:checked {
  background: #f9dc9b;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div input[type='checkbox']::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  top: 0;
  left: 0;
  background-color: #fcc47a;
  /* box-shadow: 0 2px 5px rgba(0,0,0,.2); */
  transition: 0.2s;
}

.popup-background .popup-card.view-favorite-region .card-body ul li div input[type='checkbox']:checked:before {
  left: 20px;
}

.popup-background .popup-card.delete-region .card-body ul li div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-background .popup-card.delete-region .card-body ul li div input[type='radio'] {
  width: 15px;
  height: 15px;
  appearance: none;
  background-color: #bfbfbf;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0px 0px 0 2px #bfbfbf;
  display: block;
}

.popup-background .popup-card.delete-region .card-body ul li div input[type='radio']:focus {
  outline: none;
}

.popup-background .popup-card.delete-region .card-body ul li div input[type='radio']:checked {
  appearance: none;
  background-color: #ed7d31;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0px 0px 0 2px #ed7d31;
}

.popup-background .popup-card.delete-region .card-body .delete-button {
  display: flex;
  justify-content: center;
}

.popup-background .popup-card.delete-region .card-body .delete-button button {
  border: none;
  outline: none;
  padding: 10px 30px;
  border-radius: 20px;
  background-color: #dd64c6;
  color: var(--color-white);
}

[data-theme='dark-mode'] .popup-background {
  background-color: var(--color-black);
}

[data-theme='dark-mode'] .popup-background .popup-card.delete-region .card-body ul li div input[type='radio'] {
  border: 3px solid #323232;
}

.weather-right-ad .card img {
  width: 100%;
}

/* 미세먼지 영역 */
/* #pm10-info {
  cursor: pointer;
} */
#airqMoreBtn {
  cursor: pointer;
}
.air-quality-bottom {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.air-quality-bottom img {
  width: 24px;
  height: 24px;
  padding: 3px;
  object-fit: contain;
  margin-right: 6px;
}

[dir='rtl'] .air-quality-bottom img {
  margin-right: 0;
  margin-left: 6px;
}

.air-quality-bottom span {
  font-size: 10px;
  font-weight: var(--weight-regular);
  color: #666666;
  line-height: 16px;
}

/* 생활지수 영역 */
.life-detail-wrap .life-detail-title {
  background: #5986ae;
  padding: 10px 10px;
  color: #fff;
}

.life-detail-wrap .life-detail-menu {
  display: flex;
  text-align: center;
  align-items: center;
}

.life-detail-wrap .detail-close > span {
  font-size: 17px;
  font-weight: var(--weight-regular);
  color: var(--color-d1);
  line-height: 24px;
  width: 76px;
}

.life-detail-wrap .life-detail-menu span {
  padding: 10px 0;
  width: 100%;
  position: relative;
}

.life-detail-wrap span.on .tab-line,
.life-btm-graph span.on .tab-line {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 100%;
  background: #345b9e;
}

#life-detail-graph {
  padding-top: 20px;
}

#life-detail-graph .life-graph-wrap {
  text-align: center;
}

#life-detail-graph .life-text {
  text-align: center;
  padding: 20px 15px;
}

.life-detail-hourly {
  background: #ebeff4;
  padding: 10px 0;
}

.life-detail-hourly .detail-hourly-menu {
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* padding: 10px 10px 10px 5px; */
}

.life-detail-hourly .detail-hourly-menu span {
  width: 20%;
  color: #93969d;
  text-align: center;
  overflow: auto;
  white-space: nowrap;
}

.life-graph {
  display: flex;
  text-align: center;
  justify-content: center;
}

.life-index-wrap-4 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-bottom: 2px solid #ddd;
  padding-bottom: 20px;
}

#life-detail-graph .life-index-wrap-4 .life-text {
  text-align: left;
}

#life-detail-graph .life-index-wrap-4 .life-text h3 {
  font-weight: var(--weight-bold);
}

#life-detail-graph .life-index-wrap .life-text h3 {
  font-weight: var(--weight-bold);
}

#life-detail-graph .life-index-wrap-4 .life-text p {
  word-break: keep-all;
}

#life-detail-graph .life-index-wrap .life-text p {
  word-break: keep-all;
}

#life-detail-graph .life-index-wrap-4 .life-wrap {
  padding: 0 15px;
}

.life-idx {
  color: var(--color-white);
  background: #465af1;
  border-radius: 50%;
  padding: 4px 10px;
}

.life-detail-wrap {
  background-color: var(--card-color);
  padding-bottom: 80px;
}

.life-detail-wrap .life-all-wrap {
  max-width: 1162px;
  margin: 0 auto;
}

.detail-close-item-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex: 1;
  white-space: nowrap;
}

/* 예상날씨 */
.life-index-btm {
  padding: 20px 15px 0px;
}

.life-index-btm h3 {
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.life-btm-graph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.life-btm-graph span {
  margin-right: 5px;
  cursor: pointer;
}

.life-btm-graph span.on {
  position: relative;
}

.life-index-text {
  border-top: 2px solid var(--border-color);
  padding: 20px 15px;
  border-bottom: 2px solid var(--border-color);
}

.life-index-text h3 {
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.life-index-text p {
  color: #a2a2a2;
  padding-top: 10px;
}

.life-radar-wrap {
  padding-top: 20px;
  padding-left: 15px;
}

.life-radar-wrap h3 {
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.life-detail-wrap .weather-detail-close {
  padding: 0;
}

/* 최근 검색어 */
.recent-search-swiper {
  /* margin-left: unset !important; */
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.recent-search-swiper .swiper-slide {
  width: unset !important;
}

.recent-search-delete {
  position: absolute;
  right: 0;
  font-size: 12px;
  background-color: var(--color-white);
  border-radius: 16px;
  border: none;
  padding: 5px 10px;
  transition: 0.3s;
  opacity: 0;
  z-index: -1;
}

.recent-search-delete.active {
  right: 5px;
  opacity: 1;
  z-index: 1;
}

.recent-sub-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d5);
  line-height: 18px;
  padding-left: 14px;
}
.favoriteLocation-sub-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--main-color-d5);
  line-height: 18px;
  padding-left: 14px;
}
.recent-search {
  max-width: 1240px;
  margin: 0 auto;
  overflow: auto;
}
.favoriteLocation {
  max-width: 1240px;
  margin: 0 auto;
  overflow: auto;
}

.recent-search-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* height: 100%; */
  overflow-x: hidden;
  overflow-y: scroll;
  transition: 0.4s;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}
.favoriteLocation-search-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* height: 100%; */
  overflow-x: hidden;
  overflow-y: scroll;
  transition: 0.4s;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.recent-search-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}
.favoriteLocation-search-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}
/* #favoriteAreaContainer > span{
  width: 25px;
} */
#clearAll {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  cursor: pointer;
  justify-content: center;
}

#clearAllBtn {
  width: 100%;
  color: var(--main-color-d1);
  background-color: transparent;
  border: none;
  font-size: 16px;
  font-weight: var(--weight-regular);
  outline: none;
}

.recent-search-card ul li:last-child {
  border-bottom: none;
}

#favoriteAreaContainer {
  width: 100%;
  overflow: hidden;
}

.recent-search-card ul li div > div:first-child {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 20px;
}

.recent-search-card ul li div > div:first-child > div:first-child {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

[dir='rtl'] .recent-search-card ul li div > div:first-child > div:first-child {
  margin-right: -20px;
}

.recent-search-card ul li div > div:first-child > div:last-child {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  overflow: hidden;
}

[dir='rtl'] .recent-search-card ul li div > div:first-child > div:last-child {
  margin-right: 20px;
}

.recent-search-card ul li div > div:first-child > div:first-child img {
  width: 30px;
  height: 30px;
  margin-right: 20px;
}

[dir='rtl'] .recent-search-card ul li div > div:first-child > div:first-child img {
  margin-left: 20px;
  margin-right: 0;
}

.recent-search-card ul li div > div:first-child > div:first-child span {
  color: var(--main-color-d1);
  width: 25px;
}

#favoriteLocationName {
  color: var(--main-color-d1);
}

.recent-search-card ul li div p {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d5);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* .recent-search-card ul li div p:last-child {
  font-size: 12px;
  color: #858585;
  padding-top: 3px;
} */

.recent-search-delete-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  cursor: pointer;
  filter: brightness(0);
}

::-webkit-input-placeholder {
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
} /* Chrome <=56, Safari < 10 */
:-moz-placeholder {
  opacity: 1;
  -moz-transition: opacity 0.5s;
  transition: opacity 0.5s;
} /* FF 4-18 */
::-moz-placeholder {
  opacity: 1;
  -moz-transition: opacity 0.5s;
  transition: opacity 0.5s;
} /* FF 19-51 */
:-ms-input-placeholder {
  opacity: 1;
  -ms-transition: opacity 0.5s;
  transition: opacity 0.5s;
} /* IE 10+ */
::placeholder {
  opacity: 1;
  transition: opacity 0.5s;
} /* Modern Browsers */

#search .search-input:focus::-webkit-input-placeholder {
  opacity: 0;
} /* Chrome <=56, Safari < 10 */
#search .search-input:focus:-moz-placeholder {
  opacity: 0;
} /* FF 4-18 */
#search .search-input:focus::-moz-placeholder {
  opacity: 0;
} /* FF 19-50 */
#search .search-input:focus:-ms-input-placeholder {
  opacity: 0;
} /* IE 10+ */
#search .search-input:focus::placeholder {
  opacity: 0;
} /* Modern Browsers */

/* 팝업창  */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.bottom-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  display: none;
  width: 90%;
  max-width: 720px;
  max-height: 80%;
  color: var(--main-color-d1);
  background-color: var(--card-color);
  transform: translate(-50%, -50%);
  box-shadow: rgb(149 157 165 / 10%) 0px 4px 4px;
  border-radius: var(--border-radius-medium);
  padding: 20px;
  z-index: 9999;
}

.bottom-popup img {
  width: 30px;
  object-fit: contain;
  padding: 3px;
  margin-right: 5px;
}

#inquiry {
  padding: 0 15px;
}

/* 메인 페이지 대기질 클릭 효과 */
#air-info:active {
  background-color: #abdff394;
}

/* 임시 광고 */
.ad-wrap .card img {
  display: flex;
  width: 100%;
  object-fit: cover;
}

/* 앵커 광고 */
.google-ad-anchor {
  transition: all 200ms ease-in-out;
  width: 100%;
  z-index: 1;
  background-color: var(--color-white);
  text-align: center;
  padding: 0;
  visibility: hidden;
  position: fixed;
  filter: drop-shadow(-1px -1px 2px #ccc);
  /* overflow: hidden; */
}

.google-ad-anchor.animate {
  visibility: visible;
  padding: 7px 0;
}

#ad_anchor {
  overflow: hidden;
}

#header .header-container-wrap.open .google-ad-anchor.animate {
  display: none;
}

/* 태블릿/pc 우측 메뉴 */
.common-menu.tablet-option span {
  display: none !important;
}

.common-menu.tablet-option a {
  display: block !important;
}

.common-menu-wrap.tablet-option {
  display: none !important;
}

.menu .menu-list .common-menu.tablet-option {
  position: relative;
}

.menu .menu-list .common-menu .menu-title {
  display: block;
  flex: 1;
  word-break: keep-all;
}

.menu .menu-list .common-menu .menu-title.weather-warning {
  display: flex !important;
  align-items: center;
  padding-left: 32px;
  /* max-height: 56.53px; */
}

.menu .menu-list .common-menu .menu-title.weather-warning img {
  position: absolute;
  left: 0;
}

.more-forecast-img {
  display: none;
}

/* 퀵메뉴 */
.quick-menu-slide {
  display: flex;
  align-items: center;
  width: auto;
  padding: 3px 11px;
  background: #000; 
  border-radius: 24px; 
  cursor: pointer; 
  justify-content: center; 
  min-width: unset; 
  white-space: nowrap;
  height: auto;
  line-height: unset;
}

.quick-menu-slide img {
  width: 20px;
}

.quick-menu-slide span {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--color-white);
  /* margin-left: 4px; */
}

.quick-menu-slide.active {
  border-radius: 24px;
  background-color: #000;
}

.quick-menu-slide.active span {
  color: #fff;
}

.quick-menu-slide img {
  filter: grayscale(100%) brightness(0);
}

.quick-menu-slide.active img {
  filter: brightness(0) invert(1);
}

.quick-menu-container {
  gap: 10px;
}

/* 뉴스레터 marquee 효과 */
.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
}

.marquee_box {
  padding-right: 16px;
  white-space: nowrap;
}

.marquee.active .marquee_box {
  will-change: transform; 
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateZ(0);
  }
  to {
    transform: translate3d(-100%,0,0);
  }
}
/* 반응형 */

/* 태블릿 */

@media screen and (min-width: 950px) {
  .weather-detail-wrap .weekly-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    align-items: baseline;
  }
  .weather-detail-wrap .weather-detail-info-wrap .weather-txt {
    height: 60px;
  }
  .weather-detail-wrap .weekly-container.first-weather-detail.grid-columns-unset {
    grid-template-columns: unset;
  }
}

@media all and (min-width: 768px) {
  #header .header-container-wrap .tablet-search-wrap {
    display: flex;
    background: #ececec;
  }

  .header-container-wrap.fixed {
    position: fixed;
    top: 0;
    max-width: 767px;
    width: 100%;
  }

  #header .header-container-wrap.open .tablet-search-wrap {
    display: none;
  }

  #header .header-container-wrap.open .tablet-menu {
    display: none;
  }

  /* #header .header-container-wrap.open .header-lang-wrap {
    display: none;
  } */

  #header .header-container-wrap .header-lang-wrap {
    display: block;
    height: 38px;
    background: var(--button-color);
    border-radius: 19px;
    padding: 0 18px;
    margin-right: 11px;
  }

  [dir='rtl'] #header .header-lang-wrap {
    margin-right: 0;
    margin-left: 11px;
  }

  .header-lang {
    font-size: 15px;
    color: var(--color-white);
    line-height: 38px;
  }

  #header .header-container {
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
  }

  #header .header-container a {
    margin-left: 6px;
  }

  [dir='rtl'] #header .header-container a {
    margin-left: 0;
    margin-right: 6px;
  }

  #header .search-input-wrap {
    /* width: 70%; */
    height: 100%;
    flex: 1;
    margin: 0 16px;
  }

  #main {
    /* padding: 0 12px 60px; */
    padding: 0 12px;
  }

  .grid-wrap {
    display: grid;
    max-width: 1162px;
    grid-template-columns: minmax(0, 1fr) 350px;
    grid-template-rows: auto;
    grid-column-gap: 12px;
    margin: 12px auto;
  }

  .grid-right {
    padding-top: 5px;
  }

  /* 메뉴 - tablet/pc */
  #header .header-container-wrap.open {
    background-color: var(--background-color);
  }
  #header .header-container-wrap.open .header-container .header-logo-wrap {
    margin-right: 27px;
  }

  [dir='rtl'] #header .header-container-wrap.open .header-container .header-logo-wrap {
    margin-right: unset;
    margin-left: 27px;
  }

  #header .header-container-wrap.open .header-container > a {
    width: max-content;
  }

  #header .header-container-wrap.open .search-input-wrap {
    display: block;
    margin-left: unset;
    margin-right: 23px;
    flex: unset;
  }

  [dir='rtl'] #header .header-container-wrap.open .search-input-wrap {
    margin-right: unset;
    margin-left: 23px;
  }

  .menu-img,
  .menu-close-img {
    margin-left: 18px;
  }

  [dir='rtl'] .menu-img,
  [dir='rtl'] .menu-close-img {
    margin-left: unset;
    margin-right: 18px;
  }

  .header-container .more-forecast-img {
    transform: rotateZ(0deg);
  }

  .header-container .more-forecast-img.open {
    transform: rotateZ(180deg);
  }

  .header-container .more-forecast-img.hide {
    display: none;
  }

  .menu,
  section.menu-footer,
  #header .header-container-wrap.open .header-container {
    background-color: var(--background-color);
  }

  .menu .menu-top:not(.menu-lang-top.menu-top) {
    display: none;
  }

  .menu .menu-list {
    flex-direction: row;
    justify-content: space-around;
    padding: 30px 50px 10px;
  }

  .menu .menu-list .common-menu-sort {
    flex: 1;
  }

  .menu .menu-list .common-menu-sort:not(:last-child) {
    margin-right: 10px;
  }

  .menu .menu-list .common-menu {
    font-weight: var(--weight-bold);
    border-bottom: none;
    height: unset;
  }

  .menu-list .common-menu img {
    display: none;
  }

  .menu .menu-list .common-menu {
    cursor: unset;
  }

  .menu .menu-list .common-menu .menu-title,
  .menu .menu-list .common-menu a {
    height: unset;
    padding: unset;
  }

  .menu .menu-list .common-menu .menu-title.weather-warning {
    display: none !important;
  }

  .common-menu.tablet-option span {
    display: block !important;
  }

  .common-menu.tablet-option a {
    display: none !important;
  }

  .menu .menu-list .common-menu-wrap {
    display: block !important;
    border-bottom: unset;
  }

  .common-menu-wrap.tablet-option {
    display: block;
  }

  .menu .menu-list .common-menu-wrap div {
    border-bottom: unset;
  }

  .menu .menu-list .common-menu-wrap a {
    padding: 5px 0;
    word-break: keep-all;
  }

  .menu .menu-list .common-menu .menu-title.weather-warning {
    display: none !important;
  }

  /* 네비 - 태블릿 */
  .tablet-menu-wrap {
    background-color: var(--card-color);
  }

  .tablet-menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .tablet-menu a {
    width: 100%;
    height: 100%;
    color: var(--main-color-d1);
    padding: 0 15px;
  }

  .tablet-nav-item {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 5px;
  }

  .tablet-menu .tablet-nav-item.active {
    border-bottom: 2px solid var(--main-color-d1);
  }

  .tablet-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .tablet-nav-item span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-all;
    text-overflow: ellipsis;
    color: var(--main-color-d1);
    overflow: hidden;
  }

  .tablet-non-active {
    position: relative;
    flex: 0.5 1 auto;
  }

  #more-weather-btn {
    width: 100%;
    height: 100%;
    padding: 0 15px;
  }

  #more-weather-btn > span {
    margin-right: 15px;
  }

  [dir='rtl'] #more-weather-btn > span {
    margin-right: 0;
    margin-left: 15px;
  }

  .tablet-non-active.on .more-forecast-img {
    transform: rotateZ(360deg);
  }

  .more-forecast-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    object-fit: contain;
    transform: rotateZ(180deg);
    transition: transform 0.3s ease-in-out;
    padding: 2px;
  }

  .tablet-more-btn-wrap {
    position: absolute;
    top: 43px;
    left: 15px;
    display: none;
    width: calc(100% - 30px);
    background-color: var(--color-white);
    border-radius: var(--border-radius-small);
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 99;
  }

  .tablet-more-btn-wrap.active {
    opacity: 1;
  }

  /* .tablet-more-btn-wrap h3 {
    font-size: 17px;
    font-weight: var(--weight-bold);
    color: var(--main-color-d1);
    padding-bottom: 3px;
  } */

  .tablet-more-btn-wrap ul {
    display: flex;
    flex-direction: column;
  }

  .tablet-more-btn-wrap ul li a {
    display: block;
    padding: 3px 15px;
  }

  .tablet-more-btn-wrap ul li span {
    display: inline-block;
    width: 100%;
    height: 100%;
  }

  #nav {
    display: none;
  }

  .tablet-search-wrap .tablet-search-result {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 265px;
    border-right: 1px solid;
    border-color: var(--main-color-l1);
    padding: 5px 0;
  }

  .tablet-search-wrap .tablet-search-result .search-weather-img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  [dir='rtl'] .tablet-search-wrap .tablet-search-result .search-weather-img {
    margin-right: 0;
    margin-left: 8px;
  }

  .tablet-search-wrap .tablet-search-result .search-weather-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .tablet-search-wrap .tablet-search-result .search-menu-loc {
    display: block;
    color: var(--main-color-d1);
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 160px;
  }

  .tablet-search-wrap .tablet-search-result .recent-search-menu {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    padding: 4px;
  }

  [dir='rtl'] .tablet-search-wrap .tablet-search-result .recent-search-menu {
    right: unset;
    left: 10px;
  }

  [dir='rtl'] .recent-search-delete.active {
    right: unset;
    left: 5px;
  }

  [dir='rtl'] .recent-search-delete {
    right: unset;
    left: 0;
  }

  .tablet-search-wrap .tablet-search-result .recent-search-menu img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .weather-right-ad {
    padding-top: 7px;
  }

  .register-favorite-region {
    max-width: 1280px;
    margin: auto;
  }

  .popup-background {
    /* top: 100px; */
    width: 100%;
    /* height: calc(100% - 100px); */
    margin: 0;
  }

  .lang-menu {
    max-width: 1280px;
  }

  .content-img {
    height: 25vw;
    max-height: 200px;
  }

  .etc-wrap {
    padding: 12px;
  }

  /* 주간날씨 태블릿 / pc 비디오 안보이게 */
  .weather-detail-info-wrap .weather-detail-info .video-url-0 {
    display: none;
  }

  #quickMenu {
    display: none !important;
  }

  #top-quick-menu {
    display: none !important;
  }
}

@media (min-width: 410px) {
  .quick-menu-container:nth-of-type(1) {
    justify-content: center;
  }
}

@media (min-width: 315px) {
  .quick-menu-container:nth-of-type(2) {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #header .header-container-wrap.open:focus {
    outline: 5px auto #4e7aff;
    border: 2px solid #fff;
  }
  .header-lang-wrap {
    display: none !important;
  }
  .menu .menu-list .common-menu:focus {
    outline: 5px auto #51bef3;
  }
  .menu .menu-list .common-menu-wrap > div:focus {
    outline: 5px auto #51bef3;
  }

  .popup-background {
    width: 100%;
    margin: 0;
  }

  .tablet-search-wrap {
    display: none !important;
  }

  footer.menu-footer {
    display: none;
  }
}

@media (max-width: 450px) {
  /* .warning-text {
    max-width: 150px;
  } */
}

@media (max-width: 360px) {
  /* .warning-text {
    max-width: 150px;
  } */

  .eq-info-list {
    font-size: 12px;
  }

  .eq-title {
    /* margin-right: 28px; */
    white-space: nowrap;
  }

  .eq-contents {
    /* max-width: 200px; */
    width: 100%;
  }
}

@media (max-width: 320px) {
  /* .warning-text {
    max-width: 120px;
  } */

  .sun-time {
    font-size: 10px;
    margin-left: 0;
  }

  .weather-time-text {
    white-space: unset;
  }
}

@media (max-width: 285px) {
  /* .warning-text {
    max-width: 100px;
  } */

  .nav-container {
    justify-content: space-around;
  }
}

@media (max-width: 280px) {
  .weekly-middle-left img {
    position: absolute;
    right: -53px;
    bottom: 10px;
  }

  [dir='rtl'] .weekly-middle-left img {
    right: unset;
    left: -53px;
  }

  .life-detail-hourly .detail-hourly-menu span {
    width: 20%;
    color: #93969d;
    font-size: 15px;
    text-align: center;
  }

  .eq-title {
    margin-right: 10px;
  }

  /* .eq-contents {
    max-width: 166px;
  } */
}

/* pc  */
@media all and (min-width: 1280px) {
  #header {
    padding-bottom: 0 !important;
  }

  .header-container-wrap.fixed {
    position: unset;
  }

  #visible-video {
    display: none;
  }

  #nav {
    display: none;
    max-width: 2560px;
  }

  .nav-container {
    max-width: 1280px;
  }
}
/* 다크모드 */
@media (prefers-color-scheme: dark) {
  .menu-img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(105%);
  }

  .search-icon {
    filter: brightness(2);
  }
  .menu-close-img {
    filter: brightness(2);
  }

  .search-form {
    background-color: var(--color-d3);
  }

  .recent-search-delete-img {
    filter: brightness(2);
  }

  /* navbar */
  #nav-wrap {
    background-color: var(--color-d3);
    border-color: #2e2e2e;
  }

  .tablet-more-btn-wrap.active {
    background-color: var(--color-d3);
  }

  .more-forecast-img {
    content: url('../images/example/open-btn_dark.png');
  }

  .life-detail-wrap {
    background-color: var(--color-d3);
    color: var(--color-white);
  }

  .life-detail-wrap .detail-close > span {
    color: var(--color-white);
  }

  .life-detail-hourly {
    background: #3a3a3a;
  }

  .life-detail-hourly .detail-hourly-menu span {
    color: var(--color-white);
  }

  /* menu */
  .menu .menu-list .season-menu img {
    filter: brightness(2);
  }

  .menu .menu-list .season-menu-wrap {
    background-color: #333;
  }

  /* menu lang */
  .radio-button {
    border: 1px solid #2c2c2c;
  }
  .radio-unit {
    color: var(--main-color-d5);
  }
  .menu-lang-wrap .menu-lang input[type='radio']:checked + label {
    background-color: #2c2c2c;
    color: var(--color-white);
  }

  .menu .menu-lang-top .menu-return-btn img {
    content: url('../images/icons/before_previous_dark.png');
  }

  #header .header-container-wrap .tablet-search-wrap {
    background-color: #333;
  }

  .tablet-search-wrap .tablet-search-result .recent-search-menu img {
    /* content: url("../images/icons/recent-search-menu-white.png?ver=202307132319"); */
    filter: invert(100%);
  }

  /* common */
  .detail-info-icon.mode {
    filter: invert(98%) sepia(0%) saturate(102%) hue-rotate(147deg) brightness(92%) contrast(79%);
  }

  .detail-info-value-icon {
    filter: invert(100%) sepia(0%) saturate(7472%) hue-rotate(114deg) brightness(109%) contrast(97%);
  }

  .arrow-btn {
    filter: brightness(2);
  }

  .sun-img {
    filter: brightness(2);
  }

  /* 강수 정보 그래프 */
  .graph-x-label,
  .graph-y-label {
    opacity: 1;
  }

  .graph-x-label {
    color: #8a8a8a;
  }

  .graph-y-label {
    color: #686868;
    border-color: var(--color-d4);
  }

  .graph-y-label:first-child,
  .graph-y-label:last-child {
    border-color: var(--color-d4);
  }

  .cp-name {
    color: #8a8a8a;
  }

  /* search popup */
  .header-container .close-btn img {
    filter: brightness(2);
  }

  /* airQuality */
  .air-quality-bottom img {
    filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(61%) hue-rotate(191deg) brightness(95%) contrast(86%);
  }

  /* weatherWarning btn */
  #warningBtn .warning-text {
    color: var(--color-black);
  }

  #videoBtn .warning-text {
    color: var(--color-white);
  }

  .weather-detail-info .weather-card-wrap .weather-card .weather-detail-title .moon-phase-icon {
    filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(96%) contrast(87%);
  }

  /* 퀵메뉴 */
  .quick-menu-slide {
    background: #fff;
    color: var(--color-black);
  }

  .quick-menu-slide span {
    color: var(--color-black);
  }

  #top-quick-menu img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(29deg) brightness(102%) contrast(105%);
  }
  /* pwa */
  #pwa_install_info_icon{
    filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(61%) hue-rotate(191deg) brightness(95%) contrast(86%);

  }
}

.skipnavi {
  position: absolute;
  left: 0;
  top: -50px;

  text-indent: -9999px;
  font-size: 0;

  width: 100%;
  z-index: 9999;
}

.skipnavi li a:focus,
.skipnavi li a:active {
  position: absolute;
  left: 0;
  top: 50px;

  display: block;
  width: 100%;
  padding: 5px 0;

  text-align: center;
  text-indent: 0;

  font-size: 13px;
  font-weight: bold;

  background: #f2f2f2;
}

.bottom-popup .xbtn {
  position: absolute;
  right: 10px;
}


#pwa_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pwa_modal_Wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 290px;
}
#pwa_top_close_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 8px;
}

#pwa_top_close_today_not_showing{
  background: inherit;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:0;
  overflow:visible;
  cursor:pointer;
  outline: none;
  font-size: 12px;
  color: #cccccc;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#pwa_top_close_check_icon{
  height: 20px;
  width: 20px;
  object-fit: contain;
  cursor: pointer;
  transform: translate(0px, 1px);
  margin-right: 6px;
}

#pwa_top_close_pwa_modal_icon{
  font-size: 12px;
  color: #cccccc;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#pwa_modal_container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--card-color);
  color: var(--main-color-d1);
  width: 100%;
  padding: 30px 20px;
  box-shadow: rgb(149 157 165 / 10%) 0px 4px 4px;
  border-radius: var(--border-radius-small);
  cursor: pointer;
}

#pwa_install_title_container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

#pwa_cmt_container{
  display: flex;
  flex-direction: column;
}

#pwa_install_title_first{
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: var(--weight-bold);
}
#pwa_install_title_second{
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: var(--weight-bold);
}

#pwa_install_title_third{
  font-size: 10px;
  color: var(--color-l5-text);
  font-size: 14px;
}

#highlight_cmt {
  display: inline;
  color: var(--color-black);
  font-weight: 700;
}

#pwa_modal_container_img{
  width: 60px;
  margin-top: -7px;
}

#pwa_install_img_container{
  display: flex;
  width: 100%;
  max-height: 200px;
  padding-bottom: 20px;
}

#pwa_install_img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#pwa_install_button_container{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

#pwa_install_button{
  background: inherit;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:0;
  overflow:visible;
  cursor:pointer;
  outline: none;
  color: var(--main-color-d1);
  font-size: 14px;
  font-weight: var(--weight-bold);
}

#webPush_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

#webPushContainer{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: var(--card-color);
  width: 100%;
  max-width: 480px;
  max-height: 250px;
  padding: 40px 20px;
  gap: 24px;
  border-radius: 12px 12px 0 0;
}

#webPushTitleContainer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

#webPushTitle{
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
}

#webPushSubTitle{
  font-size: 16px;
  color: var(--color-l5-text);
}

#webPushButtonContainer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 8px;
}

#webPushAgreeButton{
  width: 100%;
  padding: 8px;
  background-color: var(--main-color-d3);
  font-weight: var(--weight-bold);
  color: var(--card-color);
  font-size: 16px;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: var(--border-radius-small);
  box-shadow:none;
}
#webPushNotShowingToday{
  border: none;
  background: none;
  box-shadow:none;
  text-decoration: underline;
  color: var(--color-l5-text);

}