@charset 'utf-8';

.pop_flex {display: flex;}
/* 동영상 팝업 설정시 아래 다시 주석들 해제 */

#brandPopup1 .swiper-slide {
  width: 100% !important;
}
#brandPopup2 .swiper-slide {
  width: 100% !important;
}

.popup_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.5);
}

.brand-popup {
  position: absolute;
  top: 0;
  visibility: hidden;
  opacity: 0;
}
#brandPopup1 {
  top: 50%;
  width: 26%;
  left: 50%;
  max-width: 600px;
  min-width: 350px;
  transform: translate(-65%,-50%);
}
/* #brandPopup2 {
  top: 50%;
  width: 35%;
  right: 10%;
  left: auto;
  min-width: 600px;
  transform: translate(0%,-50%);

} */

#brandPopup2 {
  top: 50%;
  width: 27%;
  right: 14%;
  left: auto;
  max-width: 495px;
  min-width: 350px;
  transform: translate(0%,-50%);
}
.brand-popup.on {
  visibility: visible;
  opacity: 1;
  z-index: 99999;
}

#brandPopup1 .brandP-wrap {
  position: relative;
  width: 100%;
  background: #ededed;
  margin: 0 auto;
}
#brandPopup2 .brandP-wrap {
  position: relative;
  margin: 0 auto;
  background: #ededed;
}
.pop_video {
  height: 100%;
  width: 100%;
  margin-bottom: -10px;
}
.pop_video iframe{
  height: 39vh;
  width: 100%;
}
.brandP-swiper {
  position: relative;
  width: 100%;
}

.brand-popup .swiper-container,
.brand-popup .swiper-wrapper,
.brand-popup .swiper-slide,
.brand-popup .brandP-img
{
  width: 100% !important;
  height: auto;
}
.brand-popup .swiper-container {
  margin-top: 0;
}


.brand-popup .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.brand-popup .brandP-img img
{
  height: auto;
  width: 100%;
}

.brand-popup .swiper-pagination {
  top: 0;
  right: -29%;
  width: 30%;
  background: #dfdcdc;
  height: 100%;
}
.brand-popup button {
 outline: none;
 border: 0;
 background-color: transparent;
}
.brand-popup .swiper-pagination-bullet {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  border-radius: 0;
  opacity: 1;
  background: transparent;
}

.brand-popup .swiper-pagination-bullet p {
  background-color: #efefef;
}
.brand-popup .swiper-pagination-bullet span {
  line-height: 3.5em;
  font-size: 0.9vw;
  font-weight: 600;
}

/* wide 모니터 font */
@media all and (min-width:2000px) {
  .brand-popup .swiper-pagination-bullet span {
    font-size: 1.2rem;
  }
}

.swiper-pagination-bullet.swiper-pagination-bullet-active p{
  background-color: #83634d;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active span{
  color: #ffe9c7;
}
.brandP-btn {
  position: relative;
  width: 129%;
  display: flex;
  justify-content: space-between;
  z-index: 12;
  background: #3c3c3c;
}
.brandP-btn button {
  padding: 1em;
  color:#efefef;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s;
  display: inline-block;
}
.brandP-btn button:hover {
  color:#ecd3ac;
}

#brandPopup2 .brandP-btn {
  width:100% !important;
}

@media (max-width: 768px) {

  .brand-popup .swiper-pagination-bullet span {
    font-size: 1.8vw;
  }
  .brandP-btn button {
    font-size: 2vw;
  }
  
}
@media (max-width: 620px) {

  #brandPopup1{
    width: 78%;
    min-width: auto;
    margin: 0 auto;
    left: 12%;
    transform: translate(0,-50%);
  }
  #brandPopup2 {
    width: 85%;
    min-width: auto;
    right: auto;
    left: 8%;
    transform: translate(0%,-50%);
  }
 
  .brand-popup .swiper-pagination {
    position: relative;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background: #dfdcdc;
    display: flex;
  }
  .brandP-btn {
    width: 100%;
  }
  .pop_video iframe{
    height: 40vw;
    width: 100%;
  }
  
}