#popups {
	position: absolute;
	top: 10%;
	width: 100%;
	height: 0;
	overflow: visible;
	z-index: 1001;
}
.popup_layer {
	margin: auto;
	position: relative;
	width: 800px;
}

/* OVERLAY: area behind popups */
#overlay_background {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: transparent;
	opacity: 0.4;
	z-index: 100;
}

/* Info Overlay */
#info_popup {
	border: 4px solid black;
	padding: 12px;
	width: 640px;
	padding: 15px;
	background-color: white;
	text-align: left;
	color: black;
	margin: auto;
}
#info_popup_title {
	height: 36px;
	padding-left: 50px;
	position: relative;
	top: -10px;
	width: 55%;
	float: left;
	font-size: 34px;
	font-weight: bold;
	background: transparent none scroll no-repeat center left;
}
#info_popup_nav {
	float: right;
	width: 35%;
	text-align: right;
}
#info_popup_nav a {
	float: right;
	text-align: right;
	display: block;
	margin-bottom: 5px;
}
a#info_popup_download {
	text-decoration: underline !important;
}
a#info_popup_close {
	padding-right: 20px;
	background: transparent none scroll no-repeat center right;
}
#info_popup_text {
	clear: both;
	margin-top: 24px;
}
#info_popup_text em {
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
}

/* MESSAGE and ERRORS */ 

#messages_popup, #error_popup {
	background: #8494ac none scroll repeat-y;
	color: #808080;
	padding: 15px;
	width: 700px;
}
#messages_popup_content, #error_popup_content {
	background-color: #f3f4f6;
	border: 5px solid white;
	min-height: 150px;
	padding: 15px 15px 80px 15px;
	color: #808080;
	position: relative;
}
#messages_popup_nav, #error_popup_nav {
	position: absolute;
	bottom: 10px;
	left: 15px;
}
#messages_popup_right, #error_popup_right {
	background: #8494ac none scroll repeat-y;
	position: absolute;
	right: 0;
	top: 0;
	width: 42px;
	height: 100%;
}
#error_popup {
	background: #faaf40 none scroll repeat-y;
}
#error_popup_title {
	font: normal 24pt Arial;
	color: #808080;
}
#error_popup_message {
	font: bold 16pt Arial;
	color: #faaf40;
}
#error_popup_tips {
	color: black;
	margin-top: 25px;
}
#error_popup_tips p {
	font: bold 12pt Arial;
	color: #faaf40;
	margin: 0;
}
#error_popup_tips ul {
	font-size: 10pt;
	margin-top: 5px;
}
#error_popup_tips li {
	margin-bottom: 10px;
}
#error_popup_right {
	background: #faaf40 none scroll repeat-y;
}
/* GALLERY and EDITOR */ 
#block_editor_popup {
	position: relative;
	width: 700px;
}
#gallery_popup .popup_content {
	display: table;
}
#gallery_popup #popup_gallery_images {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	height: 500px;
}
.popup_content {
	text-align: center;
	vertical-align: middle;
	margin-top: 10px;
	width: 100%;
	border: 8px solid #444;
	background: #FFF;
	padding: 10px;
	box-sizing: border-box;
}
.popup_nav {
	position: absolute;
	right: 0;
	bottom: -14px;
	text-align: right;
	font-size: 12px;
	font-weight: bolder;
	border: 8px solid #444;
	-moz-border-radius: 6px; 
	border-radius:6px;
	-webkit-border-radius: 6px;
	background-color: #444;
	color: #FFF;
}
.popup_nav a, #popup_nav input, #popup_nav button {
	margin: 0 8px 0 0;
}
.popup_nav *:last-child {
	margin: 0;
}
.popup_nav a, #popup_nav a:link {
	color: white;
}
.popup_nav a:hover {
	color: red;
}

/* POPUP CONTROLS */
a.popup_button, a.popup_button:visited {
	display: block;
	float: left;
	text-decoration: none;
	padding: 2px 20px 2px 0;
	font: bold 18px Arial;
	color: black;
	margin-right: 20px; 
	background: transparent url(/images/bullets/grey_arrow_large_dark-trans.png) scroll no-repeat center right;
}
a.popup_close_button {
	position: absolute;
	background: transparent url(/images/buttons/close_popup.gif) no-repeat;
	height: 19px;
	width: 27px;
	display: block;
	right: 7px;
	bottom: 6px;
	opacity: 0.5;
}