/*! Lity - v1.1.2 - 2015-04-23
* http://sorgalla.com/lity/
* Copyright (c) 2015 Jan Sorgalla; Licensed MIT */

.lity {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    background: #0b0b0b;
    background: rgba(0, 0, 0, 0.9);
    outline: none !important;
    opacity: 0;
    -webkit-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s 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: #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 .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s 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: 80%;
    max-height: 80%;
    outline: none !important;
    opacity: 1;
    -webkit-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s ease
}
.lity-loading .lity-container {
    opacity: 0
}
.lity-container: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)
}

@media only screen and (max-width: 560px) {

	.lity-container {

		max-width: 100%;
    	max-height: 100%;


	}
}



.lity-content {
    z-index: 9993;
    width: 100%
}


/* Custom lity-closed */

.lity-close {
  	background: url("../images/sprite-icons.png") -220px -2px no-repeat;
  	cursor: pointer;
  	height: 78px;
  	opacity: 0.6;
  	z-index: 9994;
	position: fixed;
    right: 0;
    top: 0;
  	right: 20px;
  	top: 20px;
    -webkit-transition: opacity 0.3s;
  	transition: opacity 0.3s;
  	width: 78px;
  	z-index: 2;
  	color: rgba(0,0,0,0);
  	border: 0;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    text-decoration: none;
}

.lity-close:hover {
  opacity: 1;
}



/* OLD lity-close 

.lity-close {
    z-index: 9994;
    width: 35px;
    height: 35px;
    line-height: 35px;
    position: fixed;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: transparent;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    cursor: pointer
}
.lity-close:active {
    top: 1px
}

*/

.lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0
}
.lity-iframe .lity-container {
    width: 100%;
    max-width: 964px
}
.lity-iframe-container {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%
}
.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
}