/**
 * popup.css
 *
 * @author Julian E.Spina (jes@acca3.it) 
 */
 
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 50ms; 
	visibility: hidden;
	opacity: 0;
}

.overlay a { cursor: pointer; }

DIV.overlay.isVisible {
	visibility: visible;
	opacity: 1;
}

.popup {
	margin: 4.375em auto;          
	background: #fff;
	border-radius: 0.375em;
	width: 32em;
	position: relative;
	transition: all 250ms ease-in-out;
	color: var(--fg);
}

.popup H3 { font-size: 0.937em; margin-top: 4px; font-weight: 400; }

.popupTitle {
	padding: 0.75em;
	border-top-left-radius: 0.375em;
	border-top-right-radius: 0.375em;
	background: #999;
	position: relative;
	transition: all 250ms ease-in-out;        
}

.popupBody {
	padding: 1em 1.25em;
}

.popup h2 {          
	font-size: 1.2em;
	font-family: Tahoma, Arial, sans-serif;
}

.popupLine {
	clear: both;
	margin-top: 0.5em;
}

.popup .close {
	position: absolute;
	top: 0.125em;
	right: 0.5em;
	font-size: 1.875em;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}

.popup .close:hover {
	color: var(--bg-col1-menuhover);
}

.popup .buttonLine {
	margin-top: 1em;
	text-align: right;
}

.popup SPAN.mkMessage.mkMessageOk {
	display: none;
	color: green;
}

.popup SPAN.mkMessage.mkMessageKo {
	display: none;
	color: red;
}

.small-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 1em;
	background: red;
}