/*! Lity - v2.4.1 - 2020-04-26
* http://sorgalla.com/lity/
* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 10000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  outline: none !important;
  opacity: 0;
  transition: all 0.5s ease;
  background-color: transparent;
}

.lity.lity-opened {
  opacity: 1;
  animation: anim-lityBg1 1s ease 1 forwards;
}


.lity.lity-closed {
  opacity: 0;
  animation: anim-lityBg2 1s ease 1 forwards;
}

@keyframes anim-lityBg1 {
  0% {  background-color: transparent;}
  100% {  background-color: rgba(255, 255, 255, 0.9);}
}

@keyframes anim-lityBg2 {
  0% {  background-color: rgba(255, 255, 255, 0.9);}
  100% {  background-color: transparent;}
}
.lity * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.lity-wrap {
  z-index: 10000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}

.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}

.lity-loader {
  z-index: 10001;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.lity-loading .lity-loader {
  opacity: 1;
}

.lity-container {
  z-index: 10002;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}

.lity-content {
  z-index: 10003;
  width: 100%;
  transform: scale(1);
  transition: all 1s ease;
  transition-delay: 0.5s;
}

.lity-loading .lity-content,
.lity-closed .lity-content {
  transform: scale(0.9);
  opacity: 0;
  transition-delay: 0s;
}

.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.lity-close {
  z-index: 10004;
  width: 40px;
  height: 40px;
  overflow: hidden;
  text-indent: -999999em;
  position: absolute;
  right: 10px;
  top: 10px;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: #fff;;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0;
}

.lity.lity-opened .lity-close{
  animation: anim-lityClose 0.5s ease 1 forwards 1.2s;
}
@keyframes anim-lityClose {
  0% {    opacity: 0; }
  100% {  opacity: 1; }
}



.lity-close::before,
.lity-close::after{
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-top: -1px;
  background-color: #333;
  position: absolute;
  left: 10px;
  top: 50%;
}
.lity-close::before{
  transform: rotate(-45deg);
}
.lity-close::after{
  transform: rotate(45deg);
}

/* Image */
.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}

/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
  width: 100%;
  max-width: 964px;
}

.lity-iframe-container {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}

.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

.lity-hide {
  display: none;
}
