.lity {
    top:0;
    right:0;
    bottom:0;
    left:0;
    position:fixed;
    white-space:nowrap;
    z-index: 9990;
    background: #0b0b0b;
    background: rgba(0, 0, 0, 0.9);
    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 {
    top:0;
    right:0;
    bottom:0;
    left:0;
    position:fixed;
    text-align:center;
    z-index: 9990;
    outline: none !important;
}
.lity-wrap:before {
    height:100%;
    display:inline-block;
    margin-right:-0.25em;
    vertical-align:middle;
    content: '';
}
.lity-loader {
    width:100%;
    top:50%;
    position:absolute;
    margin-top:-0.8em;
    text-align:center;
    font:14px Arial,Helvetica,sans-serif;
    color:#fff;
    z-index: 9991;
    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 {
    max-width:100%;
    max-height:100%;
    position:relative;
    display:inline-block;
    vertical-align:middle;
    text-align:left;
    white-space:normal;
    z-index: 9992;
    outline: none !important;
}
.lity-content {
    width:100%;
    z-index: 9993;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}
.lity-content::after {
    width:auto;
    height:auto;
    bottom:0;
    left:0;
    right:0;
    top:0;
    position:absolute;
    display:block;
    content: '';
    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 {
    width:35px;
    height:35px;
    right:0;
    top:0;
    position:fixed;
    padding:0;
    text-align:center;
    border:0;
    font:35px/35px Arial,Baskerville,monospace;
    text-decoration:none;
    color:#fff;
    z-index: 9994;
    -webkit-appearance: none;
    cursor: pointer;
    font-style: normal;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lity-close::-moz-focus-inner {
    padding:0;
    border:0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
    padding:0;
    text-align:center;
    border:0;
    font:35px/35px Arial,Baskerville,monospace;
    text-decoration:none;
    color:#fff;
    font-style: normal;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lity-close:active {
    top:1px;
}

/* Image */
.lity-image img {
    max-width:100%;
    display:block;
    border:0;
    line-height: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;
    overflow:auto;
    padding-top:56.25%;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
    width:100%;
    height:100%;
    top:0;
    left:0;
    position:absolute;
    display:block;
    -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;
}
