@charset 'utf-8';

.modal-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1110;
  width: 100%;
  height: 100%;
  background: url(/content/000076756.png) repeat left top;
}

.modal-overlay.is-activated {
  display: block;
}

.modal-wrapper {
  display: none;
  position: fixed;
  top: 0;
  z-index: 1120;
  width: 100%;
}

.modal-inner {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  background: #fff;
}

.modal-visual {
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  text-align: center;
}

.modal-poster {
  max-width: 100%;
  cursor: default\9 !important;
}

.modal-poster-zoom {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
}

.modal-poster-zoom.is-activated {
  display: block;
}

.modal-controller {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: #fff;
}

.modal-scrollbar {
  overflow: scroll;
  white-space: nowrap;
  padding: 0 20px 7px;
  border-top: 1px solid #ccc;
  border: none;
}

.modal-wrapper .modal-thumb {
  overflow: hidden;
  display: block;
  position: relative;
  list-style: none;
}

.modal-thumb {
  margin-left: -10px;
}

.modal-thumb li {
  position: relative;
  float: left;
  margin-left: 10px;
}

.modal-thumb a {
  position: relative;
  display: block;
  width: 120px;
  height: 70px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.modal-thumb a.is-current {
  border-color: #333;
}

.modal-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 118px;
  height: 68px;
}

.modal-zoom {
  overflow: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 20px;
}

.modal-zoom button {
  display: block;
  position: relative;
  float: left;
  margin-left: 10px;
  padding: 0;
  width: 80px;
  height: 40px;
  border: 1px solid #999;
  border-radius: 4px;
  background: #ccc;
  text-indent: -9999px;
  line-height: 40px;
  cursor: pointer;
  outline: none;
  background: #ccc no-repeat center center\9;
}

.modal-zoom button::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  margin-left: -11px;
  width: 22px;
  height: 23px;
  background: no-repeat left top;
}

.modal-zoom .modal-zoom-up {
  background-image: url(/content/000076770.png)\9;
}

.modal-zoom .modal-zoom-up.is-disabled {
  background-image: url(/content/000076768.png)\9;
}

.modal-zoom .modal-zoom-out {
  background-image: url(/content/000076765.png)\9;
}

.modal-zoom .modal-zoom-out.is-disabled {
  background-image: url(/content/000076760.png)\9;
}

.modal-zoom .modal-zoom-up::before {
  background-image: url(/content/000076770.png);
}

.modal-zoom .modal-zoom-up.is-disabled::before {
  background-image: url(/content/000076768.png);
}

.modal-zoom .modal-zoom-out::before {
  background-image: url(/content/000076765.png);
}

.modal-zoom .modal-zoom-out.is-disabled::before {
  background-image: url(/content/000076760.png);
}

.modal-zoom button.is-disabled {
  border: 1px solid #ccc;
  background: #e5e5e5;
  cursor: default;
  background: #e5e5e5 no-repeat center center\9;
}

.modal-dots {
  padding: 13px 20px 20px;
}

.modal-dots-block {
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

.modal-dots-block.is-current {
  border: 2px solid #ffde00;
}

.modal-close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  border: none;
  background: #000;
  text-indent: -9999px;
  line-height: 50px;
  cursor: pointer;
}

.modal-close:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -8.5px;
  margin-left: -8.5px;
  width: 17px;
  height: 17px;
  background: url(/content/000076758.png) no-repeat left top;
}

.modal-arrow {
  display: none;
  position: absolute;
  top: 50%;
  margin-top: -35px;
  padding: 0;
  width: 37px;
  height: 70px;
  border: none;
  background: no-repeat center center;
  text-indent: -9999px;
  outline: none;
}

.modal-arrow.modal-arrow-prev {
  left: 0px;
  background-image: url(/content/000076755.png);
}

.modal-arrow.modal-arrow-next {
  right: 0px;
  background-image: url(/content/000076753.png);
}

@media screen and (max-width: 640px) {

  .modal-wrapper {
    top: 0;
    left: 0 !important;
    margin: 0;
    width: 100% !important;
  }

  .modal-inner {
    top: 0 !important;
    box-sizing: border-box;
    /*padding-top: 150px;*/
  }

  .modal-visual {
    overflow: visible;
  }

  .modal-poster {

  }

  .modal-scrollbar {
    border: none;
  }

  .modal-zoom {
    position: relative;
    padding: 0 0 10px;
  }

  .modal-zoom button {
    margin: 0;
    width: 50%;
    border-radius: inherit;
    box-sizing: border-box;
  }

  .modal-zoom button:before {
    background-size: 22px;
  }

  .modal-zoom .modal-zoom-up:before {
    background-image: url(/content/000076771.png);
  }

  .modal-zoom .modal-zoom-up.is-disabled:before {
    background-image: url(/content/000076769.png);
  }

  .modal-zoom .modal-zoom-out:before {
    background-image: url(/content/000076766.png);
  }

  .modal-zoom .modal-zoom-out.is-disabled:before {
    background-image: url(/content/000076763.png);
  }

  .modal-dots-block {
    margin-right: 15px;
    width: 30px;
    height: 30px;
  }

  .modal-visual {
    margin: 0 !important;
    width: 100% !important;
    padding-top: 90px !important;
    box-sizing: border-box;
  }

  .modal-poster.ui-draggable-disabled {
    left: 0 !important;
  }

  .modal-close {
    top: 0;
  }

  .navFixed.is-active {
    box-shadow: none;
  }

  .cropFrame {
    height: 100% !important;
  }

}