/*! Lity - v1.6.0 - 2016-01-11
* http://sorgalla.com/lity/
* Copyright (c) 2016 Jan Sorgalla; Licensed MIT */

.lity {
	z-index: 9990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	white-space: nowrap;
	background: #818181;
	background: rgba(129, 129, 129, 0.76);
	/*background: rgba(129, 129, 129, 0.98);*/
	/*color: #eaeaea;*/
	outline: none !important;
	opacity: 0;
	transition: opacity .3s ease;
}

.lity.lity-opened {
	opacity: 1
}

.lity.lity-closed {
	opacity: 0
}

.lity * {
	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;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lity-wrap::-webkit-scrollbar {
    display: none;
}

.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;
	transition: opacity .3s ease
}

.lity-loading .lity-loader {
	opacity: 1
}

.lity-container {
	z-index: 9992;
	position: relative;
	text-align: left;
	vertical-align: top;
	display: inline-block;
	white-space: normal;
	max-width: 100%;
	max-height: 100%;
    
    /*min-height: 100vh;*/
    
	outline: none !important;
    
    width: 100%;/*171019*/
}

.lity-content {
	z-index: 9993;
	width: 100%;
	-webkit-transform: scale(1);
	transform: scale(1);
	transition: -webkit-transform .3s ease;
	transition: transform .3s ease;
	transition: transform .3s ease, -webkit-transform .3s ease
}


.lity-image .lity-wrap {
    justify-content: center;
}

.lity-image .lity-container,
.lity-image .lity-content {
    width: auto;
}


.lity-loading .lity-content,
.lity-closed .lity-content {
	-webkit-transform: scale(.8);
	transform: scale(.8)
}

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

.lity-close {
	z-index: 9994;
	width: 50px;
	height: 50px;
	position: fixed;
	right: 25px;
	top: 25px;
    line-height: 50px;
	-webkit-appearance: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	padding: 0;
	font-style: normal;
	border: 0;
	background: none;
	outline: none;
	box-shadow: none;
    text-indent: -9999px;
}

.lity-close:after {
	width: inherit;
	height: inherit;
	position: absolute;
	right: 0;
	top: 0;
    font-family: 'Material Icons';
    content: '\e5cd';
    font-size: 50px;
    font-weight: 200;
	line-height: inherit;
    color: #fff;
    text-align: center;
    text-indent: 0;
}

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

.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
	text-decoration: none;
	text-align: center;
	padding: 0;
	font-style: normal;
	border: 0;
	background: none;
	outline: none;
	box-shadow: none
}


@media (max-width: 767px) {
    .lity-close {
        width: 30px;
        height: 30px;
        right: 10px;
        top: 10px;
        line-height: 30px;
    }
    .lity-close:after {
        font-size: 20px;
    }
}


.lity-image img {
	max-width: 100%;
	display: block;
	line-height: 0;
	border: 0;
    margin-left: auto;
    margin-right: auto;
}

.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%;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: #000
}

.lity-hide {
	display: none
}