.jsplash-viewport {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.57);
	opacity: 0;
	z-index: 9999;
	transition: opacity 120ms ease-out;
}

.jsplash-viewport.jsplash-visible {
	opacity: 1;
	transition: opacity 240ms ease-out;
}

.jsplash-closebtn {
	position: absolute;
	top: 7px;
	right: 5px;
	cursor: pointer;
	z-index: 100;
	font: normal normal normal 14px/1 FontAwesome;
	border-radius: 100%;
	width: 25px;
	height: 25px;
	color: #838383;
	text-align: center;
	padding: 0;
	font-size: 18px;
	line-height: 25px;
}

.jsplash-closebtn:hover {
	color: #f2b800;
}

.jsplash-closebtn:before {
	content: "\f00d";
}

.jsplash-wrapper {
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 9px 15px rgba(0, 0, 0, 0.15);
	border-radius: 2px;
	position: fixed;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%) scale(0.3);
	-moz-transform: translate(-50%, -50%) scale(0.3);
	-ms-transform: translate(-50%, -50%) scale(0.3);
	-o-transform: translate(-50%, -50%) scale(0.3);
	transform: translate(-50%, -50%) scale(0.3);
	opacity: 0;
	overflow: auto;
	max-height: calc(100vh - 3%);
}

.jsplash-viewport.jsplash-visible .jsplash-wrapper {
	transition: transform 260ms cubic-bezier(0.09, 0.82, 0.15, 1.07), opacity 260ms cubic-bezier(0.09, 0.82, 0.15, 1.07);
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) scale(1);
	-moz-transform: translate(-50%, -50%) scale(1);
	-ms-transform: translate(-50%, -50%) scale(1);
	-o-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
}

.jsplash-inner {
	position: relative;
	max-width: 400px;
	height: 100%;
	overflow: auto;
	text-align: center;
}

.jsplash-wrapper.jsplash-fullscreen {
	width: 100%;
	height: 100%;
	padding: 0;
	overflow-y: auto;
}

.jsplash-fullscreen .jsplash-inner {
	padding: 12px;
	max-width: auto;
	height: auto;
	overflow: auto;
}
