/* 
 * Boxer v3.2.0 - 2014-09-20 
 * A jQuery plugin for displaying images, videos or content in a modal overlay. Part of the Formstone Library. 
 * http://formstone.it/boxer/ 
 * 
 * Copyright 2014 Ben Plum; MIT Licensed 
 */

.boxer-lock {
  overflow: hidden !important;
}
#boxer-overlay {
  background: #000;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
  width: 100%;
  z-index: 105;
}
.boxer-open #boxer-overlay {
  opacity: 0.75;
}
#boxer {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 25px #000;
  opacity: 0;
  padding: 10px;
  position: absolute;
  z-index: 105;
}
#boxer.inline {
  padding: 30px;
}
#boxer.animating {
  -webkit-transition: left 0.25s ease, opacity 0.25s linear, top 0.25s ease;
          transition: left 0.25s ease, opacity 0.25s linear, top 0.25s ease;
}
#boxer.animating .boxer-container {
  -webkit-transition: height 0.25s ease, width 0.25s ease;
          transition: height 0.25s ease, width 0.25s ease;
}
#boxer.animating .boxer-content {
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
}
.boxer-open #boxer,
.boxer-open #boxer .boxer-content {
  opacity: 1;
}
.boxer-open #boxer.loading .boxer-content {
  opacity: 0;
}
#boxer * {
  -webkit-transition: none;
          transition: none;
}
#boxer .boxer-close {
  background: #ffffff url(jquery.fs.boxer-icons.png) no-repeat -70px 10px;
  border-radius: 100%;
  cursor: pointer;
  display: block;
  height: 30px;
  position: absolute;
  padding: 0;
  right: -8px;
  top: -8px;
  width: 30px;
  text-indent: -99999px;
  z-index: 106;
}
.no-touch #boxer .boxer-close:hover {
  background-position: -70px -20px;
}
#boxer .boxer-container {
  background: #fff;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 105;
}
#boxer.loading .boxer-container {
  background: #ffffff url(jquery.fs.boxer-loading.gif) no-repeat center;
}
#boxer .boxer-content {
  background: #fff;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  width: 10000px;
}
.no-touch #boxer .boxer-content .boxer-control,
.no-touch #boxer .boxer-content .boxer-control.disabled {
  opacity: 0;
}
.no-touch #boxer .boxer-content:hover .boxer-control {
  opacity: 0.75;
}
.no-touch #boxer .boxer-content:hover .boxer-control:hover {
  opacity: 1;
}
.no-touch #boxer .boxer-content:hover .boxer-control.disabled {
  opacity: 0.3;
  cursor: default !important;
}
#boxer .boxer-image {
  float: left;
}
#boxer .boxer-video {
  height: 100%;
  width: 100%;
}
#boxer .boxer-iframe {
  border: none;
  float: left;
  height: 100%;
  overflow: auto;
  width: 100%;
}
#boxer .boxer-meta {
  clear: both;
}
#boxer .boxer-control {
  background: #ffffff url(jquery.fs.boxer-icons.png) no-repeat 0 0;
  border-radius: 100%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: block;
  height: 40px;
  margin-right: auto;
  margin-left: auto;
  position: absolute;
  text-indent: -99999px;
  top: 0;
  width: 40px;
  -webkit-transition: opacity 0.25s linear;
          transition: opacity 0.25s linear;
}
#boxer .boxer-control.previous {
  left: 20px;
}
#boxer .boxer-control.next {
  background-position: -40px 0;
  right: 20px;
}
#boxer .boxer-control.disabled {
  opacity: 0.3;
}
#boxer .boxer-position {
  color: #999;
  font-size: 11px;
  margin: 0;
  padding: 15px 10px 5px;
}
#boxer .boxer-caption p {
  margin: 0;
  padding: 15px 10px 10px 10px;
}
#boxer .boxer-caption.gallery p {
  padding-top: 0;
}
#boxer.mobile {
  background: #000;
  border-radius: 0;
  height: 100%;
  left: 0;
  padding: 30px 0 0;
  position: fixed;
  top: 0;
  width: 100%;
}
#boxer.mobile .boxer-close {
  background-color: #000;
  background-position: -70px -60px;
  border-radius: 0;
  right: 0;
  top: 0;
}
#boxer.mobile .boxer-container {
  background: #000;
  position: relative;
}
#boxer.mobile .boxer-content {
  background-color: #000;
}
#boxer.mobile .boxer-control {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: -20px 0 0;
  top: 50%;
}
#boxer.mobile .boxer-control.previous {
  background-position: 0 -40px;
  float: left;
  left: 0;
}
#boxer.mobile .boxer-control.next {
  background-position: -40px -40px;
  float: right;
  right: 0;
}
#boxer.mobile .boxer-control.disabled {
  opacity: 0.3;
}
@media screen and (min-width: 980px) {
  #boxer.mobile .boxer-control {
    opacity: 1 !important;
  }
  #boxer.mobile .boxer-control.disabled {
    opacity: 0.3 !important;
  }
}
#boxer.mobile .boxer-meta {
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  left: 0;
  padding: 15px 50px 10px;
  position: absolute;
  width: 100%;
}
#boxer.mobile .boxer-position {
  padding: 0;
}
#boxer.mobile .boxer-caption p {
  color: #eee;
  padding: 10px 0 0;
}
#boxer.mobile .boxer-image {
  -webkit-transition: none !important;
          transition: none !important;
  -webkit-transform: translate(0px, 0px);
      -ms-transform: translate(0px, 0px);
          transform: translate(0px, 0px);
}
#boxer.mobile.animated .boxer-image {
  -webkit-transition: -webkit-transform 0.25s ease-out !important;
          transition: transform 0.25s ease-out !important;
}
#boxer.mobile.loading .boxer-container {
  background: #000000 url(jquery.fs.boxer-loading-dark.gif) no-repeat center;
}
#boxer.mobile.inline .boxer-content,
#boxer.mobile.iframe .boxer-content {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}



/* =======================================
custom style
=========================================*/
#boxer-overlay{background-color:#000;}
#boxer{
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  /* padding:10px;
  box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px;
  -webkit-box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px;
  -moz-box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px; */
}
#boxer.inline{padding:10px;}
#boxer .boxer-container{overflow:visible; background:transparent;}
#boxer.loading .boxer-container{background:transparent;}
#boxer .boxer-content{background:transparent;}
#boxer .boxer-image{margin-top:-1px!important;}
/* #boxer .boxer-container .boxer-loading{
  display:none;
  position: fixed;
  top:0; bottom:0; right:0; left:0;
}
#boxer.loading .boxer-container .boxer-loading{display: block;}
#boxer .boxer-container .boxer-loading .cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .8;
}
#boxer .boxer-container .boxer-loading .spinner {
  width: 60px;
  height: 60px;
  border: 4px #ddd solid;
  border-top: 4px #000 solid;
  border-radius: 50%;
  animation: spinnerAnime 0.8s infinite linear;
} */

/* boxer-control
---------------------------------------*/
#boxer .boxer-position{
  text-align:center;
  padding-top:10px;
  color:#fff;
  font-size: 1.4rem;
}
/* #boxer .boxer-meta{position:relative;} */
#boxer .boxer-control {
  background:none;
  border-radius: 0;
  box-shadow: none;
  height: 70px;
  width: 70px;
  text-indent: 0;
  transition: transform .3s cubic-bezier(0.170, 0.935, 0.305, 1.000);
}
#boxer .boxer-control.previous{left: -50px;}
#boxer .boxer-control.next {right: -50px;}
#boxer .boxer-control.previous::before,
#boxer .boxer-control.next::before{
  content:'';
  display:inline-block;
  width: 70px;
  height: 14px;
  margin-top: -7px;
  border-bottom: 2px solid #fff;
  transform-origin: 100% 100%;
  transition: all 0.3s;
}
#boxer .boxer-control.previous::before{
  transform: skewX(-35deg);
  border-left: 2px solid #fff;
  transform-origin:0 0;
}
#boxer .boxer-control.next::before{
  transform: skewX(35deg);
  border-right: 2px solid #fff;
}

/*
#boxer .boxer-control {
  background:none;
  border-radius: 0;
  box-shadow: none;
  height: 53px;
  width: 33px;
  text-indent: 0;
  transition: transform .3s cubic-bezier(0.170, 0.935, 0.305, 1.000);
}
 #boxer .boxer-control.previous{left:auto; right: 50px; margin-top:0!important;}
#boxer .boxer-control.next {right: 0; margin-top:0!important;}
#boxer .boxer-control.previous::before,
#boxer .boxer-control.next::before{
  content:'';
  display:inline-block;
  width:30px;
  height:30px;
  border-top:#fff 2px solid;
  border-right: #fff 2px solid;
}
#boxer .boxer-control.previous::before{
  -ms-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  margin: 10px 0 0 10px;
}
#boxer .boxer-control.next::before{
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin: 10px 0 0 -7px;
} */
#boxer .boxer-control.previous:not(.disabled):hover{transform:translateX(-5px);}
#boxer .boxer-control.next:not(.disabled):hover{transform:translateX(5px);}

/* boxer-caption
---------------------------------------*/
#boxer .boxer-caption.gallery .caption{
  color:#fff;
  font-size:1.8rem;
}
#boxer .boxer-caption.gallery .caption.-withDot{
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 600;
  padding:20px 0 0;
}

#boxer .boxer-caption.gallery .galleryDot{padding:0;}
#boxer .boxer-caption.gallery .galleryDot li{
  display:inline-block;
  width:70px;
  height:5px;
  background:#9f9f9f;
}
#boxer .boxer-caption.gallery .galleryDot li + li{margin-left:10px;}
#boxer .boxer-caption.gallery .galleryDot li.is_current{
  background:#fff;
}

/* boxer-close
---------------------------------------*/
#boxer .boxer-close{
  position: absolute;
  /* display: none; */
  /* top: -40px; */
  display:flex;
  top: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  background:#000;
  border-radius: 0;
  text-indent: 0;
  transition:opacity .3s;
  text-align: center;
}
#boxer .boxer-close.is_loaded{display: flex;}
#boxer .boxer-close:before,
#boxer .boxer-close:after {
  content: '';
  position: absolute;
  /* top: 13px; */
  width: 42px;
  height: 1px;
  background-color: #fff;
  left:0; right:0;
  margin:auto;
}
#boxer .boxer-close:before{
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#boxer .boxer-close:after{
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#boxer .boxer-close:hover{opacity:0.7;}

/* mobile
---------------------------------------*/
#boxer.mobile .boxer-control{background-image:url(jquery.fs.boxer-icons.png);}
#boxer.mobile .boxer-meta{padding:15px 0 10px; position: fixed; min-height: 70px;}
#boxer.mobile .boxer-control.next{background-position:-55px -40px;}
#boxer.mobile .boxer-caption p{padding:5px 30px 0; text-align:center; font-size: 1.4rem;}
#boxer.mobile .boxer-control{background:none; margin:0;}
#boxer.mobile .boxer-control::before{border-color: #fff!important;}
#boxer.mobile .boxer-control.previous::before{width:18px; height: 18px; margin:5px 0 0 10px;}
#boxer.mobile .boxer-control.next::before{width:18px; height: 18px; margin:5px 0 0 5px;}
#boxer.mobile .boxer-close {
  background-color: #000;
  background-position: 100% 100%;
  border-radius:0;
  right: 0;
  top: auto;
  bottom: 60px;
  left: 0;
  margin: 0 auto;
  width: 35px;
  height: 35px;
}
#boxer.mobile .boxer-close:before,
#boxer.mobile .boxer-close:after{
  background-color:#fff!important;
  top:45%;
  left:5px;
  width:24px;
}

@media screen and (max-width:767px){
  #boxer .boxer-close:before,
  #boxer .boxer-close:after{
    top: 14px;
    left: -3px;
    width:28px;
    background-color:#fff;
  }
}

/* boxerInlineModal
---------------------------------------*/
.boxerWin > div{
  background-color:#fff;
  display:none;
  box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px;
  -webkit-box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px;
  -moz-box-shadow:rgba(207, 207, 207, 0.65) 0px 0px 16px -2px;
}
.modalInner{width:640px; padding:10px;}

@media screen and (max-width:767px){
  .boxerInlineModal{display:none;}
  .boxerWin{margin:10px 0; border-top:#eaeaea 1px solid;}
  .boxerWin > div{
    display:block!important;
    width:auto!important;
    height:auto;
    left:inherit!important;
    top:inherit!important;
    overflow:hidden;
    position:relative!important;
    margin:0!important;
    padding:10px 0;
    border-bottom:#eaeaea 1px solid;
    box-shadow:none;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  }
  .boxerWin .modalInner{width:auto!important;}
}