/*! Lity - v1.5.0 - 2015-09-22
* http://sorgalla.com/lity3/
* Copyright (c) 2015 Jan Sorgalla; Licensed MIT */
.lity3 {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
 background:#141616;
  //background: rgba(0, 0, 0, 0.9);
  outline: none !important;
  cursor: pointer;
}

.lity3.lity3-opened {
  opacity: 1;
}
.lity3.lity3-closed {
  opacity: 0;
}
//.lity3 * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity3-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}
.lity3-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.lity3-loader {
  z-index: 9991;
  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.3s ease;
       -o-transition: opacity 0.3s ease;
          transition: opacity 0.3s ease;
}
.lity3-loading .lity3-loader {
  opacity: 1;
}
.lity3-container {
  z-index: 9992;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}
.lity3-content {
  z-index: 9993;
  width: 100%;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
 -webkit-transition: -webkit-transform 0.3s ease;
       -o-transition: -o-transform 0.3s ease;
          transition: transform 0.3s ease;
}
.lity3-loading .lity3-content,
.lity3-closed .lity3-content {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}
.lity3-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);
}
/* Image ***************************************************************************************************/
.lity3-close {
  z-index: 9994;
  width: 40px;
  height:40px;
  position:absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin:30px 100px 0px 0px;
  background-image:url(../images/bk-close.png);
  background-size:auto;
  background-repeat:no-repeat;
  border: 0;
  font-size:0px;
}
.lity3-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity3-close:hover,
.lity3-close:focus,
.lity3-close:active,
//.lity3-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  //-webkit-box-shadow: none;
          box-shadow: none;
}
.lity3-close:active {
  top: 1px;
}
/* Image */
.lity3-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}
/* iFrame */
.lity3-iframe .lity3-container {
  width: 100%;
  //height:100%;
  max-width: 100%;

}
.lity3-iframe-container {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.lity3-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;
}
.lity3-hide {
  display: none;
}
