/*! Lity - v2.3.1 - 2018-04-20
* http://sorgalla.com/lity/
* Copyright (c) 2015-2018 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #fff;
  background: rgba(0, 0, 0, 0.4);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity.lity-opened {
  opacity: 1;
}
.lity.lity-closed {
  opacity: 0;
}
.lity * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity-wrap {
  z-index: 9990;
  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: 9991;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-family: 'GilamThin', sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
  opacity: 1;
}
.lity-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;
  margin: 0 auto;
}
.lity-content {
/*  position: absolute;*/
/*  z-index: 9993;
  margin:  2% auto; */
position: relative;
  height: 96%;
  max-height: 96% !important;
 	opacity: 1;
  -webkit-transition: opacity .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: opacity .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -o-transition: opacity .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: opacity .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
/*  transition: transform 1s ease-in-out, -webkit-transform 0.6s ease-in-out, -o-transform 0.6s ease-in-out;*/
}
.lity-loading .lity-content,
.lity-closed .lity-content {
 	opacity: 0.1;

}




.lity-loading .lity-close,
.lity-loading .lity-prev,
.lity-loading .lity-next {
 	opacity: 0;

}

/*.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: 2px 2px 1px 0px rgba(0,0,0,0.5);
          box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.5);
}
*/


/*Here we adapt lity-prev and lity-next as the close button*/
.lity-prev, .lity-next { display: none; }

.page-template-tmpl-gallery .lity-prev,
.page-template-tmpl-gallery .lity-next { display: block }

.lity-close, .lity-prev, .lity-next {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: absolute;
  font-size: 0;
  -webkit-appearance: none;
  cursor: pointer;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close{
	right: 0;
	top: 0;
	background-image: url(imgs/close2.png);
	background-repeat: no-repeat;
	width: 27px;
	height: 27px;
}
/*And we place them and adapt the disable state*/
.lity-prev {
	left: 0;
	top: 50%;
	background-image: url(imgs/prev.png);
	background-repeat: no-repeat;
	width: 27px;
	height: 27px;
}
.lity-next{
	right: 0;
	top: 50%;
	background-image: url(imgs/next.png);
	background-repeat: no-repeat;
	width: 27px;
	height: 27px;
}
.lity.disable_prevbtn .lity-prev,.lity.disable_nextbtn .lity-next{
  opacity:.35;
  cursor:Default;
}

.lity-close {
  position: absolute;
  z-index: 9994;
 background-image: url(imgs/close2.png);
 background-repeat: no-repeat;
 width: 27px;
 height: 27px;
  right: 0;
  top: 0;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  border: 0;
  outline: none;
  -webkit-box-shadow: none;
	box-shadow: none;
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  border: 0;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Image */
.lity-image img {
  max-width: 100%;
/*  max-height: 100% !important;*/
  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;
}
