/**
 * SqueezeBox - Expandable Lightbox
 *
 * Allows to open various content as modal,
 * centered and animated box.
 *
 * @version		1.3
 *
 * @license		MIT-style license
 * @author		Harald Kirschner <mail [at] digitarald.de>
 * @author		Rouven Weßling <me [at] rouvenwessling.de>
 * @copyright	Author
 */

#sbox-overlay {
	position: absolute;
	background-color: #000;
	left: 0px;
	top: 0px;
}

#sbox-window {
	position: absolute;
	background-color: #fff;
	text-align: left;
	overflow: visible;
	padding: 10px;
	/* invalid values, but looks smoother! */
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#sbox-window[aria-hidden=true],
#sbox-overlay[aria-hidden=true] {
	display: none;
}

#sbox-btn-close {
	position: absolute;
	width: 30px;
	height: 30px;
	right: -15px;
	top: -15px;
	background: url("/assets/73597625d7c7f6170977305f871ecfb12a68fa83161920f0a7886bc9f99387d9.png") no-repeat center;
	border: none;
}

.sbox-loading #sbox-content {
	background-image: url("/assets/cff30bd0794219eae8cdb144458518415bd79a6e08603d8e727665b232d58111.gif");
	background-repeat: no-repeat;
	background-position: center;
}

#sbox-content {
	clear: both;
	overflow: auto;
	background-color: #fff;
	height: 100%;
	width: 100%;
}

.sbox-content-image#sbox-content {
	overflow: visible;
}

#sbox-image {
	display: block;
}

.sbox-content-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.sbox-content-iframe#sbox-content {
	overflow: visible;
}

/* Hides scrollbars */
.body-overlayed {
	overflow: hidden;
}

/* Hides flash (Firefox problem) and selects (IE) */
.body-overlayed embed, .body-overlayed object, .body-overlayed select {
	visibility: hidden;
}

#sbox-window embed, #sbox-window object, #sbox-window select {
	visibility: visible;
}

/* Shadows */
#sbox-window.shadow {
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.sbox-bg {
	position: absolute;
	width: 33px;
	height: 40px;
}

.sbox-bg-n {
	left: 0;
	top: -40px;
	width: 100%;
	background: url("/assets/1e736184a3109e744a49e889981318976d9d32f4c81896f85de446847a535781.png") repeat-x;
}
.sbox-bg-ne {
	right: -33px;
	top: -40px;
	background: url("/assets/20e027384e4891caf8b4da5b48a3b9d17815e542e89a88ba296343b2c1207c3c.png") no-repeat;
}
.sbox-bg-e {
	right: -33px;
	top: 0;
	height: 100%;
	background: url("/assets/755b1458174fbdb41ced0df555a2e1ab96f1ce929d76c9d79aea596b7d459772.png") repeat-y;
}
.sbox-bg-se {
	right: -33px;
	bottom: -40px;
	background: url("/assets/b263cb84de2629b0e5c3c2384e095d00cf7475a9d3a312138308f3dd45448ee1.png") no-repeat;
}
.sbox-bg-s {
	left: 0;
	bottom: -40px;
	width: 100%;
	background: url("/assets/df7d57b0d7e47924de6d6dfc72c10167867c2a840416d693346759e5188f0f68.png") repeat-x;
}
.sbox-bg-sw {
	left: -33px;
	bottom: -40px;
	background: url("/assets/992c3fa0e893d2f8f8dbf94991f4ef859b84ec34fe1ebf08bb15e05b56c6f49b.png") no-repeat;
}
.sbox-bg-w {
	left: -33px;
	top: 0;
	height: 100%;
	background: url("/assets/10a3733c6727c9fc298888ab4cd77b222f3bad777ee643bec6200ea7051049b6.png") repeat-y;
}
.sbox-bg-nw {
	left: -33px;
	top: -40px;
	background: url("/assets/09f38aa700a1b0b22ff24113ce0f0493331e27ff8dbffb636bd36ca71a3dbf73.png") no-repeat;
}
@-moz-document url-prefix() {
    .body-overlayed {
	overflow: visible;
    }
}
@media (max-width: 979px) {
	#sbox-window {
		overflow: none;
	}
	#sbox-btn-close {
		right: -10px;
		top: -10px;
	}
}
@media (max-device-width: 979px) {
	#sbox-content {
		-webkit-overflow-scrolling: touch;
	}
	#sbox-content.sbox-content-iframe {
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
	}
}
