/*! Lity - v2.4.1 - 2020-04-26
* http://sorgalla.com/lity/
* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */
.lity {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    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 {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    outline: none !important;
}

.lity-wrap:before {
    display: none !important;
    content: none !important;
}

.lity-loader {
    display: none !important;
}

.lity-loading .lity-loader {
    display: none !important;
}

.lity-container {
    z-index: 9992;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    outline: none !important;
}

.lity-content {
    z-index: 9993;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.lity-loading .lity-content {
    opacity: 0;
}

.lity-closed .lity-content {
    opacity: 0;
}

.lity-close {
    z-index: 9994;
    position: fixed;
    right: 24px;
    top: 24px;
    width: 24px !important;
    height: 24px;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 0;
    background-color: transparent;
    background-repeat: no-repeat !important;
    border: 0 !important;
    background-position: center center !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNzUgNC43NUwxOS4yNSAxOS4yNU0xOS4yNSA0Ljc1TDQuNzUgMTkuMjUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+Cjwvc3ZnPgo=");
    text-indent: -99999999px;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    transition: .3s !important;
    border-radius: 0 !important;
    filter: invert(0.5);
    transform: scale(0.8);
}

.lity-close:hover {
    background-color: transparent !important;
}

.lity-close::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Image — !important overrides Lity JS inline max-height: 100vh */
.lity-image img {
    display: block;
    max-width: 100% !important;
    max-height: calc(100vh - 120px) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
    line-height: 0;
    border: 0;
    object-fit: contain;
}

/* 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 {
    position: relative;
    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;
}