@charset "utf-8";

@keyframes lum-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes lum-fadeZoom {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes lum-loader-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes lum-loader-before {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.2) translateX(6px);
  }
  25% {
    transform: scale(1.3) translateX(8px);
  }
  40% {
    transform: scale(1.2) translateX(6px);
  }
  50% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.8) translateX(6px);
  }
  75% {
    transform: scale(0.7) translateX(8px);
  }
  90% {
    transform: scale(0.8) translateX(6px);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lum-loader-after {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.2) translateX(-6px);
  }
  25% {
    transform: scale(1.3) translateX(-8px);
  }
  40% {
    transform: scale(1.2) translateX(-6px);
  }
  50% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.8) translateX(-6px);
  }
  75% {
    transform: scale(0.7) translateX(-8px);
  }
  90% {
    transform: scale(0.8) translateX(-6px);
  }
  100% {
    transform: scale(1);
  }
}

.lum-lightbox {
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.lum-lightbox-inner {
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
}

.lum-lightbox-inner img {
  position: relative;
  width: auto;
  transition-property: transform,opacity;
  transition: .8s ease-in-out;
}
@media all and (-ms-high-contrast: none) {
  .lum-lightbox-inner img {
    position: relative;
    height: 70%;
  }
}
.lum-lightbox-inner .lum-lightbox-caption {
  margin: 0 auto;
  color: #fff;
  max-width: 700px;
  text-align: center;
}

.lum-loading .lum-lightbox-loader {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 20px;
  animation: lum-loader-rotate 1800ms infinite linear;
}

.lum-lightbox-loader:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  margin-top: -10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  aspect-ratio: 1;
  --_g: no-repeat radial-gradient(farthest-side,#fff 94%,#fff0);
  background:
    var(--_g) 0    0,
    var(--_g) 100% 0,
    var(--_g) 100% 100%,
    var(--_g) 0    100%;
  background-size: 40% 40%;
  animation: l38 .5s infinite; 
  left: 0;
    right: 0;
    margin: auto;
}

@keyframes l38 {
  100% {background-position: 100% 0,100% 100%,0 100%,0 0}
}
/* .lum-lightbox-loader:before {
  left: 0;
  animation: lum-loader-before 1800ms infinite linear;
} */

/* .lum-lightbox-loader:after {
  right: 0;
  animation: lum-loader-after 1800ms infinite linear;
  animation-delay: -900ms;
} */

.lum-lightbox.lum-opening {
  animation: lum-fade 180ms ease-out;
}

.lum-lightbox.lum-opening .lum-lightbox-inner {
  animation: lum-fadeZoom 180ms ease-out;
}

.lum-lightbox.lum-closing {
  animation: lum-fade 300ms ease-in;
  animation-direction: reverse;
}

.lum-lightbox.lum-closing .lum-lightbox-inner {
  animation: lum-fadeZoom 300ms ease-in;
  animation-direction: reverse;
}

.lum-img {
  transition: opacity 120ms ease-out;
}

.lum-loading .lum-img {
  opacity: 0;
}

.lum-gallery-button {
  overflow: hidden;
  text-indent: 150%;
  white-space: nowrap;
  background: #c6b295;
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
   height: 30px;
  cursor: pointer;
  border-radius: 50%;
}

.lum-gallery-button::before,
.lum-gallery-button::after{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.lum-gallery-button::before{
  width: 10px;
  height: 1px;
  background: #fff;
  top: 0; 
  bottom: 0;
  margin: auto;
}

.lum-gallery-button::after{
  width: 5px;
  height: 5px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  left: auto;
  right: 10px;
}

.lum-previous-button {
  left: -0.15rem;
}

.lum-previous-button::after{
  transform: rotate(225deg);
  right: auto;
  left: 10px;
}

.lum-next-button {
  right: -0.15rem;
}


.lum-close-button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 32px;
  height: 32px;
  /* opacity: 0.3; */
}
.lum-close-button:hover {
  opacity: 1;
}
.lum-close-button:before,
.lum-close-button:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: #fff;
}
.lum-close-button:before {
  transform: rotate(45deg);
}
.lum-close-button:after {
  transform: rotate(-45deg);
}



/* This media query makes screens less than 460px wide display in a "fullscreen"-esque mode. Users can then scroll around inside the lightbox to see the entire image. */
@media (max-width: 767px) {
  .lum-lightbox-image-wrapper {
    display: flex;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 7.5%;
  }

  .lum-lightbox-caption {
    width: 100%;
    position: absolute;
    bottom: 0;
  }
  .lum-lightbox-inner img{
    width: 100%;
    height: auto;
  }

  /* Used to centre the image in the container, respecting overflow: https://stackoverflow.com/a/33455342/515634 */
  .lum-lightbox-position-helper {
    margin: auto;
  }

}
.lum-lightbox-inner {
  overflow: visible;
}
/* 2020.12.12 add */
@media (max-width: 640px) {
  .lum-lightbox-inner {
    top: 10%;
    right: 0;
    bottom: 10%;
    left: 0;
  }
  .lum-gallery-button {
    /* height: 40px;
    width: 40px; */
    touch-action: manipulation;
  }
  .lum-previous-button {
    left: 2.5%;
  }
  /* .lum-previous-button::after{
    left: 15px;
  } */
  .lum-next-button {
    right: 2.5%;
  }

  /* .lum-next-button::after{
    right: 15px;
  } */
}
