/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch,
html.swipebox-html.swipebox-no-touch {
  overflow: hidden!important;
}

#swipebox-overlay img {
  border: none !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;

  opacity: 0;

  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

html.swipebox-html.view #swipebox-overlay{
    opacity: 1;
}

#swipebox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
          transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide .swipebox-inline-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-slider .slide-loading {
  /*background: url(../img/loader.gif) no-repeat center center;*/
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
          transition: 0.5s;
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-bottom-bar {
  bottom: 0;
}
/*#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}*/

#swipebox-top-bar {
  top: 0;
}
/*#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}*/

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Nanum Myeongjo', serif;
}

#swipebox-prev,
#swipebox-next {
  /*background-image: url(../img/icons.png);*/
  background-repeat: no-repeat;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  width: 50px;
  height: 50px;
  top: 0;
}


#swipebox-arrows {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 50px;
    background-color: #fff;
}

#swipebox-prev {
  background-position: -32px 13px;
  float: left;
  background-color: white;
}

#swipebox-next {
  background-position: -78px 13px;
  float: right;
  background-color: white;
}

#swipebox-close {
  top: 0;
  right: 0;
  width: 100px; height: 30px;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
  background-color: #fff;

  cursor: pointer;
}


.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
  opacity: 0.3;
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
          animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
          animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  content: ' ';
  position: absolute;
  z-index: 998;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
          box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
          box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@media screen and (min-width: 800px) {
  /*#swipebox-close {
    right: 8px;
  }

  #swipebox-arrows {
    width: 92%;
    max-width: 800px;
  }*/
}
/* Skin
--------------------------*/
#swipebox-overlay {
  background: #0d0d0d;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  /*text-shadow: 1px 1px 1px black;
  background: #000;
  opacity: 0.95;*/
}

#swipebox-top-bar {
  /*color: white !important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;*/
}

/* Fade effect
--------------------------*/
#swipebox-slider {
    /*-webkit-transition: none;
    transition: none;*/
}

#swipebox-slider .slide {
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

#swipebox-slider .slide:not(.current) {
    opacity: 0;
}







/* ////////////////////////////////////////////////////////////////////////////////////////////// */

#swipebox-overlay {
    background-color: rgba(0, 0, 0, 0.95);
    background-image: url(../images/diagStripe_30.svg);
}

#swipebox-header {
    height: 30px;
    width: 100%;
    background-color: #fff;
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
}
#swipebox-close {
    background-color: transparent;
    width: 100%; height: 100%;
    color: #fff;
    z-index: 998;
}
.menu_btn_wrap {
    position: absolute;
    width: 100px; height: 30px;
    top:0; right: 8px;
}
.menu_btn_wrap .menu_txt {
    float: right;
    margin-right: 8px;
    font-size: 12px;
    line-height: 30px;
}
.menu_btn_wrap .menu_icn {
    float: right;
    width: 30px; height: 100%;
    background-color: transparent;

    background: url('../images/menuCloseWhite.svg') no-repeat center center;
    background-size: cover;
}
.menu_btn_wrap .menu_icn.std {
    background-image: url('../images/menuClose.svg');
}

/*#blank_space {
    content: "";
    display: block;
    height: 80%;
    width: 30%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    right: 0;
    background-color: red;
}
.menupage #swipebox-top-bar {
    height: 80%;
    width: 30%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 999;
    left: inherit;
    right: 0;
    background-color: #fff;
    color: #1E1009;

    -webkit-transition: none;
    transition: none;
}*/

#swipebox-top-bar {
    height: 100%;
    width: 30%;

    z-index: 999;
    left: 70%;
    background-color: #fff;
    color: #333;

    -webkit-transition: none;
    transition: none;
}

#swipe_background {

    height: 80%;
    width: 100%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 999;
    left: 0;
    background: -webkit-linear-gradient(left, transparent, transparent 70.5%, white 70.5%, white);
    background: linear-gradient(left, transparent, transparent 70.5%, white 70.5%, white);
}
#slide_background {
    height: 80%;
    width: 70%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 0;
    left: 0;
    background: #000;
}

#swipebox-container {
    width: 90%;
    margin: 0 5%;
    overflow: hidden;
}
#swipebox-slider {
    top: 50%;
    width: 70%;
    height: 80%;
    z-index: 9;
}
#swipebox-slider .slide {
    /*text-align: left;
    background-color: #000;*/
}

#swipebox-title {
    /*overflow: scroll;*/
  width: 100%; height: 92%;
}

#swipebox-slider .slide img { vertical-align: -webkit-baseline-middle; }

#swipebox-bottom-bar {
    height: 30px;
    bottom: 5%;
}

#swipebox-arrows {
    height: 100%;
}

#swipebox-prev,
#swipebox-next {
    background: #fff no-repeat;
    background-size: cover;
    width: 15px;
    height: 30px;
    bottom: 10%;
}
#swipebox-prev {
    background-image: url('../images/arrowLightBrown.svg');
    margin-left: 10%;
}
#swipebox-next {
    background-image: url('../images/arrowLightBrownR.svg');
    margin-right: 10%;
}

.mTitle {
    color: #544840;
    text-align: left;
    padding: 10%;
    padding-bottom: 0;
}
.mTitle::after {
    content: "";
    display: block;
    width: 42px; height: 14px;
    margin: 10% 0 8%;
    background: url('../images/secDivider.svg') no-repeat center center;
    background-size: cover;
}
.mTitle p {
    margin-top: 5%;
}
.mDescription {
    padding: 10%;
    padding-top: 0;
    line-height: 2.5;
    font-size: 0.875em;

    text-align: left;
}

html.gallery_slide #swipebox-top-bar,
html.gallery_slide #swipebox-arrows,
html.gallery_slide #swipe_background { background: transparent; }
html.gallery_slide #swipebox-title { display: none; }
html.gallery_slide #swipebox-top-bar,
html.gallery_slide #slide_background,
html.gallery_slide #swipebox-slider { width: 100%; }
html.gallery_slide #swipebox-top-bar { left: 0; }

html.gallery_slide #swipebox-bottom-bar {
    bottom: inherit;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
html.gallery_slide #swipebox-prev,
html.gallery_slide #swipebox-next {
    background-image: url('../images/arrowWhite.svg');
    margin-left: 2%;
    background-color: transparent;
}
html.gallery_slide #swipebox-next {
    background-image: url('../images/arrowWhiteR.svg');
    margin-right: 2%;
}
/* //////////////////////////////////////////////////////////////////////////////////////////////*/

@media only screen and (max-width: 1366px) {

    #swipe_background,
    #slide_background,
    #swipebox-slider { height: 90%; }

    #swipebox-top-bar { width: 35%; left: 65%; }
    #slide_background,
    #swipebox-slider { width: 65%; }

}

@media only screen
and (max-width: 768px)
and (orientation: portrait) {

    #swipebox-container {
        width: 100%;
        margin: 0;
        overflow: scroll;
    }

    #swipebox-slider {
        -webkit-transform: none;
        transform: none;
        float: left;
        top: 20%;
        width: 100%;
        height: 40%;
        z-index: 9;
    }

    #swipebox-title {
        overflow: scroll;
    }

    #slide_background {
        height: 50%;
        width: 100%;
        top: 0;
        -webkit-transform: none;
        transform: none;
    }

    #swipe_background {
        min-height: 60%;
        height: 60%;
        width: 100%;
        top: 40%;
        -webkit-transform: none;
        transform: none;
    }

    #swipebox-top-bar {
        height: 100%;
        width: 100%;
        left: 0;
    }

    #swipebox-close {
        width: 100px; height: 30px;
        z-index: 999;
    }

    .mTitle::after { margin: 5% 0 4%; }
    .mTitle p { margin-top: 3%; }

    html.gallery_slide #swipebox-slider .slide { height: 100vh; }
    html.gallery_slide #swipe_background { height: 100%; top: 0; }
    html.gallery_slide #slide_background { height: 100%; }
    html.gallery_slide #swipebox-slider {
        top: 50%;
        width: 100%;
        height: 100%;
    }
}

@media only screen
and (max-width: 414px)
and (orientation: portrait) {

    #swipebox-slider {
        top: 15%;
        height: 30%;
    }

    #swipe_background {
        height: 70%;
        top: 30%;
    }


    #swipebox-prev,
    #swipebox-next { width: 10px; height: 20px; }

    .menu_btn_wrap .menu_txt { font-size: 11px; }

    .mTitle::after { width: 36px; height: 12px; }

    .mDescription { padding-bottom: 0; }

}

@media only screen
and (max-width: 375px)
and (orientation: portrait) {

    .mTitle {
        padding: 5%;
        padding-bottom: 0;
    }

    .mDescription {
        padding: 0 5%;
    }
    #swipebox-bottom-bar { bottom: 2%; }

    #swipebox-prev {
        margin-left: 5%;
    }
    #swipebox-next {
        margin-right: 5%;
    }

}

@media only screen
and (max-width: 320px)
and (orientation: portrait) {

    #swipe_background {
        height: 100%;
        top: 0;
    }
    #swipebox-bottom-bar { display: none; }

    .mDescription::after {
        display: block;
        content:"화면을 세로모드로 전환하여 제품 사진을 볼 수 있습니다.";
        font-style: italic;
        font-weight: bold;

        position: absolute;
        bottom: 5%;
    }
}

/* Landscape */
@media only screen
and (max-device-width: 736px)
and (orientation: landscape) {
    #swipebox-container {
        margin: 0;
        width: 100%;
    }

    #swipebox-title { display:none; }

    #swipe_background { height: 100%; }

    #swipebox-top-bar {
        width: 100%;
        left: 0;
    }

    #swipebox-slider,
    #slide_background {
        width: 100%;
        height: 100%;
    }

    #swipebox-top-bar,
    #swipebox-arrows,
    #swipe_background { background: transparent; }

    #swipebox-bottom-bar {
        bottom: inherit;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    #swipebox-prev,
    #swipebox-next {
        background-image: url('../images/arrowWhite.svg');
        margin-left: 2%;
        background-color: transparent;
    }
    #swipebox-next {
        background-image: url('../images/arrowWhiteR.svg');
        margin-right: 2%;
    }

    #swipebox-prev,
    #swipebox-next { width: 10px; height: 20px; }

    #swipebox-close {
        width: 100px;
        height: 30px;
        z-index: 999;
    }

    .menu_btn_wrap { right: 0; }
    .menu_txt { display: none; }
}
