@charset "UTF-8";
/**
 * MAN Framework Styles - Modal Layer
 *
 * @project				MAN Web 2012/2013
 * @package				html-css-js
 * @author				Timo Mayer, VI
 *
 *
 * @note all styles should be concatenated and minified to one file (eg. man.all.min.css) in production use
 */


/* modal Layer */

#vi-modal {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 1000001;
	overflow: hidden;
	background-color: transparent; /* ie <9 fallback */
	background-color: rgba(0, 0, 0, 0.85);
	opacity: 0;
	table-layout: fixed;

	-webkit-transition: opacity 0.15s ease-in-out;
	-moz-transition: opacity 0.15s ease-in-out;
	-o-transition: opacity 0.15s ease-in-out;
	-ms-transition: opacity 0.15s ease-in-out;
	transition: opacity 0.15s ease-in-out;
}

#vi-modal.visible {
	display: table;
}

#vi-modal.transition {
	opacity: 1;
}

.lt-ie8 #vi-modal.visible,
.no-display-table #vi-modal.visible {
	display: block;
}

/* only used for no-rgba browsers */
.no-rgba #vi-modal > .bg {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.85;
	filter: alpha(opacity = 85);
	z-index: 1000001;
}

#vi-modal > div {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 100%;
	height: 100%;
	z-index: 1000002;
	margin: 0;
	min-width: 40px;
	min-height: 40px;
	border: none;
	padding: 20px; /* padding has to be on table cell because of ie8 box-sizing bugs */
}

.lt-ie8 #vi-modal > div,
.no-display-table #vi-modal > div {
	position: absolute;
	display: block;
	left: 50%;
	width: auto;
	height: auto;
}

#vi-modal > div > div {
	position: relative;
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
}

.lt-ie8 #vi-modal > div > div,
.no-display-table #vi-modal > div > div {
	position: relative;
	left: -50%;
	width: 980px !important;
	max-width: none;
	max-height: none;
}

#vi-modal .layer-content {
	position: relative;
	display: block;
	background: #fff;
	overflow: auto;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	padding: 0 20px 4px;
	border-top: 40px solid #fff; /* border-top instead of margin top to prevent overlapping close icon. if you use a close icon positioned outside of the content you can use padding-top */
	border-bottom: 36px solid #fff; /* border-bottom instead of margin top to prevent overlapping close icon. if you use a close icon positioned outside of the content you can use padding-top */
	vertical-align: top;
	text-align: left;
	z-index: 1000002;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	opacity: 0;
}

.lt-ie8 #vi-modal .layer-content {
	width: 940px;
}

#vi-modal .layer-close {
	position: absolute;
	display: none;
	width: 19px;
	height: 19px;
	right: 4px;
	top: 4px;
	cursor: pointer;
	background: url(http://www.man.eu/media/resources/img/sprites/general.png) no-repeat top left;
	background-position: 6px -219px; /* +6px +6px */
	z-index: 1000003;
}

#vi-modal .layer-loading {
	position: absolute;
	width: 27px;
	height: 26px;
	top: 50%;
	left: 50%;
	padding: 2px;
	margin: -14px 0 0 -13px;
	background: #fff url(http://www.man.eu/media/resources/img/loader.gif) no-repeat center center;
	z-index: 1000001;
	border: 1px solid #ccc;
}