/*! formstone v1.4.16-1 [lightbox.css] 2019-08-06 | GPL-3.0 License | formstone.it */
.fs-lightbox {
  width: 200px;
  height: 200px;
  position: absolute;
  right: 0;
  left: 0;
  z-index: 101;
  background: #fff;
  opacity: 0;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.fs-lightbox,
.fs-lightbox :not(input):not(textarea) {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
.fs-lightbox-fixed {
  position: fixed;
  top: 0;
  bottom: 0;
  margin: auto;
}
.fs-lightbox-animating {
  -webkit-transition: height 0.25s ease, width 0.25s ease, opacity 0.25s linear,
    top 0.25s ease;
  transition: height 0.25s ease, width 0.25s ease, opacity 0.25s linear,
    top 0.25s ease;
}
.fs-lightbox-animating .fs-lightbox-content,
.fs-lightbox-animating .fs-lightbox-control,
.fs-lightbox-animating .fs-lightbox-meta,
.fs-lightbox-animating .fs-lightbox-thumbnails,
.fs-lightbox-animating .fs-lightbox-tools {
  -webkit-transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s;
  transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s;
}
.fs-lightbox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #000;
  opacity: 0;
  -webkit-transition: opacity 0.25s linear;
  transition: opacity 0.25s linear;
}
.fs-lightbox-open {
  opacity: 1;
}
.fs-lightbox-overlay.fs-lightbox-open {
  opacity: 0.75;
}
.fs-lightbox-close {
  border: none;
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 105;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  appearance: none;
  text-indent: -9000px;
  border-radius: 100px;
  width:30px;
  height: 30px;
  outline: 0;
}
.fs-lightbox-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 103;
  background: #000000;
  overflow: hidden;
}
.fs-lightbox-container:after {
  clear: both;
  content: "";
  display: table;
}
.fs-lightbox-content {
  width: 100%;
  background: #fff;
  opacity: 1;
  overflow: hidden;
  padding: 0;
  visibility: visible;
}
.fs-lightbox-content:after {
  clear: both;
  content: "";
  display: table;
}
.fs-lightbox-inline .fs-lightbox-content {
  width: auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.fs-lightbox-iframed .fs-lightbox-content {
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.fs-lightbox-mobile .fs-lightbox-image_container {
  width: 1px;
  height: 1px;
  position: absolute;
  margin: 0;
  -webkit-transform: translate3D(0, 0, 0);
  transform: translate3D(0, 0, 0);
}
.fs-lightbox-image, .lightbox {
  display: block;
}
.fs-lightbox-mobile .fs-lightbox-image {
  position: relative;
}
.fs-lightbox-video {
  width: 100%;
  height: 100%;
}
.fs-lightbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: auto;
}
.fs-lightbox-meta {
  opacity: 1;
  clear: both;
  visibility: visible;
}
.fs-lightbox-control {
  border: none;
  padding: 0;
  position: absolute;
  top: 0;
  z-index: 105;
  cursor: pointer;
  display: block;
  margin-right: auto;
  margin-left: auto;
  opacity: 1;
  visibility: visible;
  white-space: nowrap;
}
.fs-lightbox-control_previous {
  left: 15px;
  padding: 10px;
  background-color: #fff;
  appearance: none;
  text-indent: -9000px;
  border-radius: 100px;
  width:50px;
  height: 50px;
  outline: 0;
  border: none;
}
.fs-lightbox-control_next {
  right: 15px;
  padding: 10px;
  background-color: #fff;
  appearance: none;
  text-indent: -9000px;
  border-radius: 100px;
  width:50px;
  height: 50px;
  outline: 0;
  border: none;
}
.fs-lightbox-control_disabled {
  opacity: 0;
  visibility: hidden;
}
.no-touchevents .fs-lightbox .fs-lightbox-control_disabled,
.no-touchevents .fs-lightbox:hover .fs-lightbox-control_disabled {
  opacity: 0;
  visibility: hidden;
}
.fs-lightbox-caption:after {
  clear: both;
  content: "";
  display: table;
}
.fs-lightbox-toggle {
  border: none;
  padding: 0;
  display: none;
}
.fs-lightbox-thumbnails {
  height: 60px;
  clear: both;
  overflow: hidden;
  padding: 0;
}
.fs-lightbox-thumbnail_container {
  height: 80px;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 30px;
  text-align: center;
  white-space: nowrap;
}
.fs-lightbox-thumbnail_item {
  width: 50px;
  height: 50px;
  position: relative;
  background: 0 0;
  border: none;
  display: inline-block;
  margin: 0 10px 0 0;
  opacity: 0.25;
  overflow: hidden;
  padding: 0;
  -webkit-transition: opacity 0.25s linear;
  transition: opacity 0.25s linear;
}
.fs-lightbox-thumbnail_item:last-child {
  margin: 0;
}
.fs-lightbox-thumbnail_item img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.fs-lightbox-thumbnail_item.fs-lightbox-active,
.no-touchevents .fs-lightbox-thumbnail_item:hover {
  opacity: 1;
}
.fs-lightbox-loading .fs-lightbox-content,
.fs-lightbox-loading .fs-lightbox-control,
.fs-lightbox-loading .fs-lightbox-meta,
.fs-lightbox-loading .fs-lightbox-thumbnails,
.fs-lightbox-loading .fs-lightbox-tools {
  opacity: 0;
  -webkit-transition: opacity 0.25s linear, visibility 0.25s linear;
  transition: opacity 0.25s linear, visibility 0.25s linear;
  visibility: hidden;
}
.fs-lightbox-loading .fs-lightbox-loading_icon,
.fs-lightbox-ready.fs-lightbox-loading .fs-lightbox-thumbnails,
.fs-lightbox-ready.fs-lightbox-loading .fs-lightbox-tools {
  opacity: 1;
  visibility: visible;
}
.fs-lightbox-mobile {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #111;
  border-radius: 0;
}
.fs-lightbox-mobile .fs-lightbox-container {
  position: static;
  background: #111;
}
.fs-lightbox-mobile .fs-lightbox-content {
  height: 100%;
  background-color: #111;
}
.fs-lightbox-mobile .fs-lightbox-tools {
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #111;
}
.fs-lightbox-mobile .fs-lightbox-controls {
  text-align: center;
}
.fs-lightbox-mobile .fs-lightbox-control {
  opacity: 1;
  visibility: visible;
}
.no-touchevents .fs-lightbox-mobile .fs-lightbox-control,
.no-touchevents .fs-lightbox-mobile:hover .fs-lightbox-control {
  visibility: visible;
}
.fs-lightbox-mobile .fs-lightbox-control_disabled,
.no-touchevents .fs-lightbox-mobile .fs-lightbox-control_disabled,
.no-touchevents .fs-lightbox-mobile:hover .fs-lightbox-control_disabled {
  cursor: default !important;
  opacity: 0;
  visibility: hidden;
}
.fs-lightbox-mobile .fs-lightbox-position {
  color: #999;
}
p.fs-lightbox-position  {
  color: #999;
  display: none !important;
}
.fs-lightbox-mobile .fs-lightbox-caption p {
  color: #eee;
}
.fs-lightbox-mobile .fs-lightbox-image {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.fs-lightbox-mobile.fs-lightbox-iframe .fs-lightbox-content,
.fs-lightbox-mobile.fs-lightbox-inline .fs-lightbox-content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-tools {
  width: auto;
  position: static;
  background: 0 0;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-controls {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 105;
  background-color: #111;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-toggle {
  display: inline-block;
  margin: 0 5px;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-meta {
  width: 100%;
  height: 80%;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 104;
  background: #222;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s,
    -webkit-transform 0.25s ease;
  transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s,
    -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s linear 0.25s,
    visibility 0.25s linear 0.25s;
  transition: transform 0.25s ease, opacity 0.25s linear 0.25s,
    visibility 0.25s linear 0.25s, -webkit-transform 0.25s ease;
}
.fs-lightbox-touch.fs-lightbox-caption_open .fs-lightbox-meta {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-thumbnails {
  width: 100%;
  height: 70px;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 104;
  background: #111;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s,
    -webkit-transform 0.25s ease;
  transition: opacity 0.25s linear 0.25s, visibility 0.25s linear 0.25s,
    -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s linear 0.25s,
    visibility 0.25s linear 0.25s;
  transition: transform 0.25s ease, opacity 0.25s linear 0.25s,
    visibility 0.25s linear 0.25s, -webkit-transform 0.25s ease;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-thumbnail_container {
  height: 100px;
}
.fs-lightbox-touch.fs-lightbox-thumbnails_open .fs-lightbox-thumbnails {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.fs-lightbox-lock {
  overflow: hidden !important;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-container,
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-content {
  overflow: visible;
}
.fs-lightbox-mobile.fs-lightbox-touch .fs-lightbox-content {
  position: relative;
}
.fs-lightbox .fs-viewer {
  top: 0;
  bottom: 0;
}
.fs-lightbox .fs-viewer,
.fs-lightbox .fs-viewer .fs-viewer-wrapper {
  height: auto;
  width: auto;
  position: absolute;
  right: 0;
  left: 0;
  background: #111;
}
.fs-lightbox .fs-viewer .fs-viewer-wrapper {
  top: 0;
  bottom: 0;
}
.fs-lightbox .fs-viewer .fs-viewer-loading_icon {
  display: none !important;
}
.fs-lightbox .fs-viewer .fs-viewer-viewport {
  top: 5px;
  right: 15px;
  bottom: 15px;
  left: 15px;
}
.fs-lightbox .fs-viewer .fs-viewer-controls {
  position: absolute;
  bottom: 10px;
}
