/* the overlayed element */
#_ovl {
	top: 0; left: 0;
	position: fixed; z-index: 9998;
	/* initially overlay is hidden */
	display:none;
	width:100vw;
	height:100vh;
	/*padding:10px 20px 20px 10px;*/
	align-items: center;
	flex-direction: column;
	justify-content: center;
}
._overlay {
	top: 0;	left: 0;
	position: absolute;
	width:100%;
	height:100%;
	background: #444;
	opacity: 0.5;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    z-index: 90;
	outline: 7px solid #444;
	-moz-outline-radius: 5px;
}
#_ovl .data {
	position: relative;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	z-index: 91;
	padding:5px;
	background: #FFF;
	/*width: 97%;*/
	/*height: 93%;*/
}
#_ovl ._ovl-bg {
	top: 0px; left: 0px;
	position: fixed; z-index: 9991;
	width:100%;
	height:100%;
	background: #444;
	opacity: 0.3;
}
#_ovl .centerOvl {
	width:auto;
	height:auto;
	/*overflow: scroll;*/
	/*padding:5px;*/
	/*font-size:11px;*/
	background: #FFF;
	position:relative;
	z-index: 9999;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	/*max-height:99vh;*/
}
._ovl_overload {
	display:block !important;
}
._ovl_overload .centerOvl{
	height: 97vh !important;
	overflow: scroll;
	margin: auto;
	left: auto;
	right: auto;
	top: 2vh;
}
._ovl_overload .close{right: 0; top: 0;}

/* default close button positioned on upper right corner */
.centerOvl .close {
	background-image:url(../images/close.png);
	background-repeat: no-repeat;
	/*position:fixed;*/
	position:absolute;
	right:-17px; top:-17px;
	z-index: 10000;
	cursor:pointer;
	height:35px;
	width:35px;
	opacity: 1;
}
/* black version of the overlay. simply uses a different background image */
div._overlay.black {
	/*background-image:url(../images/transparent.png);		*/
	color:#fff;
}
	
div._overlay h2 {
	margin:10px 0 -9px 0;
	font-weight:bold;
	font-size:14px;
}
	
div.black h2 {
	color:#fff;
}
	
#triggers {
	margin-top:10px;
	text-align:center;
}
	
#triggers img {
	background-color:#fff;
	padding:2px;
	border:1px solid #ccc;
	margin:2px 5px;
	cursor:pointer;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
