@charset "UTF-8";
/* CMS popup/banner-only CSS - initial testing build.
   Extracted from legacy main.css lines 2-817.
   Original legacy rem units assumed html font-size: 10px;
   converted into px to preserve measured sizes while the new site uses 20px root.
   Old files left untouched. Test visually before deployment. */
/*-------------------------------------------------
title       : 상단띠배너
Author      : PLAN I
Create date : 2024-10-25
-------------------------------------------------*/
.topbanner {
  --tbH: 150px;
  --tbB: 120px;
  position: relative;
  z-index: 80;
}
.topbanner .open {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 999;
  height: 40px;
  margin-top: -1px;
  padding: 0 10px 0 15px;
  outline: 0 none;
  border-radius: 0 0 0 5px;
  border-left: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  background-color: #eef2f7;
  font-size: 15px;
  text-align: center;
  line-height: var(--hnb);
}
.topbanner .open::after {
  font-family: remixicon;
  content: "\ea4e";
  display: inline-block;
  position: relative;
  top: -1px;
  vertical-align: middle;
  transition: all 0.2s;
}
.topbanner .open b {
  color: #000;
}
.topbanner .open strong {
  font-weight: inherit;
}
.topbanner.active #topbanner {
  visibility: visible;
  overflow: hidden;
  width: 100%;
  height: var(--tbH);
  opacity: 1;
  transition: all 0.2s;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}
.topbanner.active .open::after {
  transform: rotate(180deg) translateY(1px);
}

#topbanner {
  visibility: hidden;
  overflow: hidden;
  width: 0;
  height: 0;
  opacity: 0;
  min-width: 100%;
  background-color: #eef2f7;
  transition: all 0.2s;
}
#topbanner .group {
  overflow: hidden;
  height: 100%;
  position: relative;
}
#topbanner .swiper {
  position: relative;
  z-index: 0;
  height: 100%;
  overflow: hidden;
}
#topbanner .swiper.swiper-vertical > .list {
  flex-direction: column;
}
#topbanner .list {
  display: flex;
  position: relative;
  width: 100%;
  z-index: 1;
  transition-property: transform;
  box-sizing: content-box;
}
#topbanner .arrs button {
  overflow: hidden;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 20px;
  z-index: 2;
}
#topbanner .arrs button[class*=prev]::before {
  font-family: remixicon;
  content: "\ea64";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#topbanner .arrs button[class*=next]::before {
  font-family: remixicon;
  content: "\ea6e";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#topbanner .btns button {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  overflow: hidden;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  vertical-align: middle;
  display: none;
  font-size: 20px;
  right: 35px;
  z-index: 2;
}
#topbanner .btns button.active {
  display: inline;
}
#topbanner .btns button.play::before {
  font-family: remixicon;
  content: "\f00a";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#topbanner .btns button.stop::before {
  font-family: remixicon;
  content: "\f1a0";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#topbanner .control {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 10;
  height: 40px;
  padding: 0 60px 0 45px;
  border-radius: 40px;
  border: 1px solid #d8d8d8;
  background-color: #fff;
  line-height: 40px;
  pointer-events: auto;
}
#topbanner .control p {
  display: inline;
  position: relative;
}
#topbanner .pager {
  position: relative;
  top: -2px;
}
#topbanner .pager span {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  cursor: pointer;
  background: none;
}
#topbanner .pager span::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 100%;
  border: 1px solid #fff;
  content: "";
  transition: all 0.2s;
  background-color: #666;
}
#topbanner .pager span[class*=active]::before {
  background-color: #000;
}
#topbanner .close1 {
  display: inline-block;
  overflow: hidden;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  vertical-align: middle;
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 1;
  font-size: 25px;
}
#topbanner .close1::before {
  font-family: remixicon;
  content: "\f4c8";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
  transform: rotate(0);
  transition: all 0.2s;
}
#topbanner .close1:hover::before, #topbanner .close1:focus::before {
  transform: rotate(180deg);
}
#topbanner .close2 {
  padding-left: 30px;
  text-align: left;
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}
#topbanner .close2::before {
  font-family: remixicon;
  content: "\eb7b";
  display: inline-block;
  overflow: hidden;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 2px;
  border-radius: 4px;
  border: 1px solid #d8d8d8;
  color: transparent;
  transition: all 0.2s;
}
#topbanner .close2:hover::before, #topbanner .close2:focus::before {
  color: inherit;
}
#topbanner .item {
  display: flex;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: var(--tbH);
  justify-content: center;
  flex-direction: column;
}
#topbanner .item img {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: 0;
  max-width: inherit;
  height: 100%;
  transition: all 0.2s;
}
#topbanner .item strong, #topbanner .item span {
  width: 100%;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
  padding-left: 60px;
  text-align: left;
}
#topbanner .item span {
  overflow: hidden;
  line-height: 20px;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 40px;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  margin-bottom: 30px;
}
#topbanner .item:hover img, #topbanner .item:focus img {
  transform: translateX(-50%) scale(1.2);
  opacity: 0.75;
}
#topbanner .item:hover strong, #topbanner .item:focus strong {
  text-decoration: underline;
}
#topbanner .item strong {
  position: relative;
  margin-bottom: 5px;
  font-size: 20px;
}
#topbanner .item strong::before {
  font-family: remixicon;
  content: "\f2a1";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 40px;
}

@media (max-width: 1450px) {
  .topbanner .open {
    display: none;
  }
}
@media (max-width: 768px) {
  .topbanner {
    --tbB: 90px;
  }
  .topbanner .open span {
    display: none;
  }
}
/*-------------------------------------------------
title       : 하단배너
Author      : PLAN I
Create date : 2024-10-25
-------------------------------------------------*/
.footbanner {
  position: relative;
  padding: 20px 60px;
  border-top: 1px solid #d8d8d8;
}
.footbanner .item {
  flex-shrink: 0;
  width: auto;
}
.footbanner .pager, .footbanner .count {
  display: none;
}
.footbanner .btns button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  vertical-align: middle;
  display: none;
  font-size: 0;
  right: 70px;
  z-index: 9;
}
.footbanner .btns button.active {
  display: inline-block;
}
.footbanner .btns button.play::before {
  font-family: remixicon;
  content: "\f00a";
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: inherit;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
.footbanner .btns button.stop::before {
  font-family: remixicon;
  content: "\f1a0";
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: inherit;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
.footbanner .list {
  display: flex;
  align-items: center;
  transition-property: transform;
  box-sizing: content-box;
}
.footbanner .list img {
  max-height: 55px;
  margin: 0 auto;
}
.footbanner .arrs button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  overflow: hidden;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  vertical-align: middle;
  font-size: 0;
  border-radius: 100%;
  border: 1px solid #d8d8d8;
  background-color: #fff;
  transition: all 0.2s;
  z-index: 9;
}
.footbanner .arrs button[class*=prev] {
  left: 20px;
}
.footbanner .arrs button[class*=prev]::before {
  font-family: remixicon;
  content: "\ea64";
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: inherit;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
.footbanner .arrs button[class*=next] {
  right: 20px;
}
.footbanner .arrs button[class*=next]::before {
  font-family: remixicon;
  content: "\ea6e";
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: inherit;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
.footbanner .arrs button:hover, .footbanner .arrs button:focus {
  border-color: #000;
  background-color: #000;
  color: #fff;
}
.footbanner .arrs button.swiper-button-lock, .footbanner .arrs button.swiper-button-disabled {
  visibility: visible;
  pointer-events: auto;
}
.footbanner .arrs button.swiper-button-lock:hover, .footbanner .arrs button.swiper-button-lock:focus, .footbanner .arrs button.swiper-button-disabled:hover, .footbanner .arrs button.swiper-button-disabled:focus {
  border-color: #d8d8d8;
  background-color: #fff;
  color: inherit;
}

/*-------------------------------------------------
title       : 모달팝업
Author      : PLAN I
Create date : 2024-10-25
-------------------------------------------------*/
.modalpopup {
  --width2: calc(100% - 60px);
  --mpArr: -80px;
}
.modalpopup .open {
  display: inline-block;
  width: 100px;
  height: 100px;
  text-align: center;
  vertical-align: middle;
  top: 50%;
  transform: translateY(-50%);
  overflow: visible;
  position: fixed;
  left: 50px;
  z-index: 777;
  border-radius: 100%;
  background-color: #000;
  color: #fff;
  line-height: 1.2;
}
.modalpopup .open span {
  display: block;
}
.modalpopup .open b {
  color: red;
}
.modalpopup .open::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: #000;
  content: "";
  opacity: 0;
}
.modalpopup .open:hover::before {
  animation: modalpopup 1s infinite;
}
.modalpopup.active .open {
  visibility: hidden;
}
.modalpopup.active #modalpopup {
  visibility: visible;
  overflow: visible;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all 0.2s;
  left: 0;
  top: 0;
}

@keyframes modalpopup {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}
#modalpopup {
  visibility: hidden;
  overflow: hidden;
  width: 0;
  height: 0;
  opacity: 0;
  display: flex;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 888;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  align-items: center;
}
#modalpopup h2 {
  margin-bottom: 20px;
  font-size: 50px;
}
#modalpopup .group {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  max-width: var(--width2);
  margin-left: auto !important;
  margin-right: auto !important;
}
#modalpopup .list {
  display: flex;
  width: auto;
}
#modalpopup .count {
  position: absolute;
  right: 46px;
  top: 20px;
  left: auto;
  width: auto;
  height: 45px;
  padding: 0 20px;
  border-radius: 45px;
  background-color: #000;
  line-height: 45px;
}
#modalpopup .arrs button {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  display: inline-block;
  overflow: hidden;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  vertical-align: middle;
  font-size: 50px;
  z-index: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#modalpopup .arrs button[class*=prev] {
  position: absolute;
  left: var(--mpArr);
}
#modalpopup .arrs button[class*=prev]::before {
  font-family: remixicon;
  content: "\ea64";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#modalpopup .arrs button[class*=next] {
  position: absolute;
  right: var(--mpArr);
}
#modalpopup .arrs button[class*=next]::before {
  font-family: remixicon;
  content: "\ea6e";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#modalpopup .btns button {
  overflow: hidden;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  vertical-align: middle;
  display: none;
  font-size: 20px;
  position: absolute;
  right: 0;
  top: 20px;
  border-radius: 100%;
  background-color: #000;
}
#modalpopup .btns button.active {
  display: inline;
}
#modalpopup .btns button.play::before {
  font-family: remixicon;
  content: "\f00a";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#modalpopup .btns button.stop::before {
  font-family: remixicon;
  content: "\f1a0";
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: inherit;
}
#modalpopup .swiper:not(.swiper-initialized) .list {
  display: flex;
  justify-content: center;
}
#modalpopup .swiper:not(.swiper-initialized) + .control .count, #modalpopup .swiper:not(.swiper-initialized) + .control .arrs, #modalpopup .swiper:not(.swiper-initialized) + .control .btns {
  display: none;
}
#modalpopup .pager {
  margin: 20px 0;
  text-align: center;
}
#modalpopup .pager span {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  cursor: pointer;
  background: none;
}
#modalpopup .pager span::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 100%;
  border: 1px solid #fff;
  content: "";
  transition: all 0.2s;
}
#modalpopup .pager span[class*=active]::before {
  background-color: #fff;
}
#modalpopup .item {
  display: flex;
  overflow: hidden;
  align-items: center;
}
#modalpopup .item img {
  transition: all 0.2s;
}
#modalpopup .item:last-child {
  margin-right: 0;
}
#modalpopup .item:hover img, #modalpopup .item:focus img {
  transform: scale(1.2);
  opacity: 0.75;
}
#modalpopup .close {
  margin-top: 20px;
  text-align: center;
}
#modalpopup .close button {
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: calc(45px - 2px);
  padding: 0 20px;
  border-radius: 45px;
}
#modalpopup .close button::after {
  font-family: remixicon;
  content: "\eb99";
  display: inline-block;
  position: relative;
  top: -1px;
  vertical-align: middle;
  margin-left: 5px;
  transform: rotate(0);
  transition: all 0.2s;
}
#modalpopup .close button:hover::after, #modalpopup .close button:focus::after {
  transform: rotate(180deg);
}

@media (max-width: 1600px) {
  .modalpopup {
    --mpArr: -30px;
  }
  .modalpopup .open {
    left: 10px;
  }
}
@media (max-width: 500px) {
  #modalpopup .item {
    width: 340px;
    margin-right: 10px;
  }
}
#layerpopup .group {
  position: fixed;
  z-index: 999;
  min-width: 250px;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}
#layerpopup .group a {
  display: block;
  overflow: hidden;
}
#layerpopup .group a, #layerpopup .group a img {
  transition: all 0.2s;
}
#layerpopup .group a img {
  min-width: 100%;
  height: auto !important;
}
#layerpopup .group a:hover, #layerpopup .group a:focus {
  background-color: #000;
}
#layerpopup .group a:hover img, #layerpopup .group a:focus img {
  transform: scale(1.2);
  opacity: 0.7;
}
#layerpopup .control {
  display: flex;
  padding: 15px;
}
#layerpopup .close {
  margin-left: auto;
}
#layerpopup .close::after {
  font-family: remixicon;
  content: "\eb99";
  display: inline-block;
  position: relative;
  top: -2px;
  margin-left: 2.5px;
  vertical-align: middle;
  transform: rotate(0);
  transition: all 0.2s;
}
#layerpopup .close:hover::after, #layerpopup .close:focus::after {
  transform: rotate(180deg);
}


/* Scoped Swiper foundations previously supplied by main.css.
   Scoped to legacy widgets to avoid changing the new site's sliders. */
:is(.topbanner, .footbanner, .modalpopup) .swiper {
  display: block; position: relative; z-index: 1; width: 100%;
  overflow: hidden; padding: 0; margin-left: auto; margin-right: auto; list-style: none;
}
:is(.topbanner, .footbanner, .modalpopup) .swiper-wrapper {
  display: flex; transform: translate3d(0, 0, 0); z-index: 1;
  width: 100%; transition-property: transform; box-sizing: content-box;
}
:is(.topbanner, .footbanner, .modalpopup) .swiper-slide {
  display: block; flex-shrink: 0; position: relative;
  width: 100%; height: 100%; transition-property: transform;
}
:is(.topbanner, .footbanner, .modalpopup) .swiper-button-disabled {
  opacity: 0.7; cursor: auto; pointer-events: none;
}

/* 상단 배너가 있을 때 로그인 영역 공간 확보 */
#wrap.has-topbanner .gba-header-top {
    padding-right: 150px;
}
/* 1450px 이하에서는 상단 배너 버튼이 숨겨지므로
   헤더 오른쪽 여백을 기본값으로 복원 */
@media (max-width: 1450px) {

    #wrap.has-topbanner .gba-header-top {
        padding-right: 0.75rem;
    }

}
