body {
  -ms-overflow-style: none;
}

#main {
  max-width: 100vw;
}

.grid-left {
  position: relative;
  padding-bottom: 10px;
  height: 100%;
}

.radar-5 {
  display: none;
}

#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%);
}

#inlineFrameExample {
  display: block;
  width: 100%;
  /* height: 100%; */
  height: calc(100vh - 330px);
  border-radius: 12px;
}

#inlineFrameExample::-webkit-scrollbar {
  display: none;
}

#rec-map-wrap {
  position: relative;
  max-width: 1162px;
}

#rec-map-wrap h3 {
  font-size: 18px;
  font-weight: var(--weight-bold);
  padding-top: 10px;
}

/* .recom-slide .swiper-slide a {
  display: inline-block;
} */

.recom-slide .swiper-slide img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: var(--color-white);
  padding: 0px 22px;
  border-radius: 50%;
  color: var(--color-black) !important;
}

.swiper-button-next {
  right: -20px !important;
  top: 65% !important;
}

.swiper-button-prev {
  left: -20px !important;
  top: 65% !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}

.radar-gif {
  position: absolute;
}

.radar-gif img {
  position: absolute;
  left: 0;
  top: 0;
}

#rec-map-wrap .radar-link {
  /* position: unset; */
  margin-bottom: 15px;
}

#rec-map-wrap .radar-gif img:nth-child(2) {
  position: relative;
}

section.menu-footer {
  background-color: unset;
  /* 테스트 */
  padding: 30px 24px 140px;
  /* 테스트 */
  /* padding: 30px 24px 80px; */
}

/* 레이더 카드 */
.radar-outer-wrap.card {
  width: 100%;
  /* 테스트 */
  /* height: 100%; */
}

.radar-inner-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 레이더 전체화면/창모드 버튼 */
#inlineFrameExample.full {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  border-radius: unset;
}

.change-screen-btn-wrap {
  background-color: white;
  position: absolute;
  right: 10px;
  /* bottom: 175px; */
  bottom: 155px;
  width: 29px;
  height: 29px;
  box-shadow: 0 0 0 2px #0000001a;
  border-radius: 4px;
}

.change-screen-btn-wrap:hover {
  background-color: #f2f2f2;
}

.change-screen-btn-wrap.full {
  position: fixed;
  z-index: 999;
  right: 10px;
  bottom: 155px;
}

.change-screen-btn {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/example/full-screen2.svg?ver=202310271724');
  background-repeat: no-repeat;
  background-size: 22px 22px;
  background-position: center center;
}

.change-screen-btn-wrap.full .change-screen-btn {
  background-image: url('../images/example/windowed-screen2.svg?ver=202310271724');
}

body.no-scroll {
  overflow: hidden;
}

/* 뉴스 */

#radarNewsList .card {
  padding: 20px 10px;
}

#radarNewsList .card > a:last-child .news-list-wrap {
  margin-bottom: 0;
}

#radarNewsList .news-list-wrap {
  /* display: flex; */
  justify-content: space-between;
  margin-bottom: 30px;
}

#radarNewsList .news-list-link {
  display: none;
}

#radarNewsList .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; */
}

#radarNewsList .news-list-wrap .news-title span {
  color: #7d7d7d;
  font-size: 12px;
  font-weight: var(--weight-regular);
}

#radarNewsList .news-list-wrap .news-img-wrap {
  /* width: 130px; */
  width: 100%;
  object-fit: cover;
}

#radarNewsList .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) {
  body {
    height: 100vh;
  }

  .sub-title {
    padding-top: 5px;
  }

  #main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    /* 테스트 */
    max-width: 1162px;
    padding: 0 12px;
  }

  .grid-wrap {
    /* 테스트 */
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    /* 테스트 */
    /* max-width: 100vw;
    height: 100%; */
    margin: 0 auto;
  }

  .grid-left {
    display: flex;
    flex-direction: column;
    padding: unset;
    /* 테스트 */
    /* margin-left: 12px; */
  }

  .grid-right {
    /* 테스트 */
    /* padding-right: 12px; */
    overflow-y: scroll;
  }

  /* 테스트 */
  /* #inlineFrameExample {
    height: 100%;
  } */

  #radarNewsList .news-list-wrap .news-img-wrap img {
    height: 25vw;
    max-height: 200px;
  }
}

/* 모바일 */
@media all and (max-width: 767px) {
  section.menu-footer.radar {
    display: none;
  }
}

@media (max-width: 400px) {
  .change-screen-btn-wrap {
    width: 25px;
    height: 25px;
    bottom: 125px;
  }

  .change-screen-btn {
    background-size: 19px 19px;
  }

  .change-screen-btn-wrap.full {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 340px) {
  .change-screen-btn-wrap.full {
    width: 25px;
    height: 25px;
    bottom: 125px;
  }
}

/* 다크모드 */
@media (prefers-color-scheme: dark) {
  .change-screen-btn-wrap {
    background-color: #171717;
  }

  .change-screen-btn-wrap:hover {
    background-color: #171717;
  }

  .change-screen-btn {
    filter: grayscale(100%) invert(100%);
  }
  #radarNewsList .news-list-wrap .news-title span {
    color: #8a8a8a;
  }
}

/* @media all and (max-width: 1080px) {
  @media (orientation: landscape) {
    #inlineFrameExample {
      height: 100vh;
    }

    #nav {
      display: none;
    }

    #rec-map-wrap {
      padding-bottom: 20px;
    }
  }
} */
