.underlay {
	display: none;
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; 
	width: 100%; height: 100%;
	
	background-color: rgba(242, 243 , 245, 0.75);
	background-color: rgba(32, 32, 32, 0.75);

	overflow: hidden;
	z-index: 101;
}
.underlay.white {
	background-color: #f6f6f6;
}
.underlay.active {
	display: table;
}



/* POPUP */
.popup-outer {
	display: table-cell;
	width: 100%; height: 100%;
	vertical-align: middle;
}
.popup {
	position: relative;
	min-width: 360px; min-height: 120px;
	width: 360px; height: auto;
	margin: 0 auto;
	margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");

	background-color: #FFF;

	z-index: 102;
}
.popup.medium {
	min-width: 600px; min-height: 200px;
	width: 600px;
	
	overflow-y: auto;
}
.popup.large {
	min-width: 840px; min-height: 200px;
	width: 840px;
	
	overflow-y: auto;
}
.popup-header {
	padding: 10px 20px 10px 30px;
	height: 36px;

	color: #FFF;
	font-size: 16px;
	font-family: 'helveticaneuecyrmedium';
	line-height: 36px;
	
	background-color: #5e7597;
}
.popup-header .close {
	font-size: 24px;
	cursor: pointer;
}
.popup-content {
	max-height: 540px;
	padding: 10px 0;
	
	color: #868686;
	
	overflow-y: inherit;
	overflow-x: inherit;
}
.popup-content .form {
	padding: 0;
}
.popup-footer {
	padding: 15px 30px;
	
	background-color: #e7ebf6;
}
/* POPUP */



/* LOGIN */
.popup.login {
	width: 360px;
	padding: 10px 0;
}
.popup.login .logo {
	margin: 10px 30px 30px 30px;
	vertical-align: middle;
	
	font-size: 1.25em;
	font-weight: normal;
	text-align: left;
	vertical-align: middle;
	text-transform: uppercase;
}
.popup.login .logo .img {
	float: left;
	margin-right: 10px;
	max-height: 60px;
	
	vertical-align: middle;
}
.popup.login .input {

}
.popup.login .input input {
	padding: 10px 15px;
	width: 258px;
}
.popup.select-app {
	position: relative;
	min-width: 360px; min-height: 200px;
	width: 600px; height: auto;
	margin: 0 auto;
	margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");

	background-color: transparent;

	z-index: 102;
}
/* LOGIN */


