.bx-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.bx-wrapper img { max-width: 100%; display: block; }
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-direction a.disabled,
.bx-wrapper img.mobile { display: none; }

.bx-wrapper .bx-controls-auto {
  position: relative;
  height: 0;
  width: 91.6%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .bx-wrapper .bx-controls-auto { width: 1190px; margin: 0 auto; }
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .bx-wrapper .bx-controls-auto { padding-left: 100px; }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .bx-wrapper .bx-controls-auto { padding-left: 80px; }
  .detail-img-list .bx-wrapper { width: 93% !important; }
}

.bx-wrapper .bx-loading {
  min-height: 50px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

.bx-pager.container { position: relative; }
.bx-pager .bx-pager-wrap,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item { position: absolute; bottom: 206px; }
.bx-pager .bx-pager-item { display: inline-block; }

.bx-pager a {
  text-indent: -9999px;
  display: block;
  padding: 2px;
  width: 14px;
  height: 14px;
  margin: 0 8px;
  outline: 0;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.bx-pager .bx-pager-wrap div:first-child a { margin-left: 0; }
.bx-pager a span { width: 8px; height: 8px; display: block; }
.bx-pager a.active span,
.bx-pager a:hover span { background: #fff; }

.bx-wrapper .bx-prev { left: 0; background: url('../img/common/btnLeftA.png') 0 / 100% no-repeat; }
.bx-wrapper .bx-next { right: 0; background: url('../img/common/btnRightA.png') 0 / 100% no-repeat; }
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -15.5px;
  outline: 0;
  width: 17px;
  height: 31px;
  text-indent: -9999px;
  z-index: 99;
}

.btn-detail-prev { left: 0; background: url('../../img/ourwork/btn-prev.jpg') 0 no-repeat; }
.btn-detail-next { right: 0; background: url('../../img/ourwork/btn-next.jpg') 0 no-repeat; }
.btn-detail-next,
.btn-detail-prev { position: absolute; display: block; top: 50%; margin-top: -11.5px; z-index: 99; }
.btn-detail-next a,
.btn-detail-prev a { display: block; width: 13px; height: 23px; outline: 0; text-indent: -9999px; }

.bx-wrapper .bx-controls-auto .bx-start,
.bx-wrapper .bx-controls-auto .bx-stop { display: block; text-indent: -9999px; width: 15px; height: 16px; outline: 0; }
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager { text-align: left; width: 80%; }
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto { right: 0; width: 35px; }
.bx-wrapper .bx-caption { position: absolute; bottom: 0; left: 0; background: rgba(80, 80, 80, .75); width: 100%; }
.bx-wrapper .bx-caption span { color: #fff; font-family: Arial; display: block; font-size: .85em; padding: 10px; }

@media (max-width: 767px) {
  .btn-detail-next,
  .btn-detail-prev,
  .bx-wrapper .bx-controls-auto,
  .bx-wrapper img.pc { display: none; }
  .bx-wrapper img.mobile { display: block; }
  .bx-pager .bx-pager-wrap div:first-child a { margin-left: 8px; }
  .bx-pager.container { position: relative; height: 0; text-align: center; }
  .bx-pager .bx-pager-wrap { position: relative; bottom: 70px; }
}
