
#dialog_modal_overlay,
#dialog_dark_overlay {
	width: 100%;
	height: 0;
	position: fixed;
	z-index: 4000;
	background: #000;
	display: inline-block;
}
#dialog_dark_overlay.modal_invisible {
	background-color: transparent;
}

#dialog_content,
.dialog_content {
	position: relative;
	padding: 10px;
}

#dialog_message_bar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	text-align: center;
	font-size: 13px;
	font-family: Arial, sans-serif;
}

.dialog_message_error {
	background: #fcc;
	border-bottom: 1px solid #c66;
	color: #666;
}
.dialog_message_warning {
	background: #ffc;
	border-bottom: 1px solid #dd0;
	color: #666;
}
.dialog_message_help {
	background: #def;
	border-bottom: 1px solid #39c;
	color: #333;
}

#dialog_title_close_button {
	width: 18px;
	height: 18px;
	display: block;
	text-decoration: none;
	outline: none;
	position: absolute;
	right: 10px;
	top: 6px;
	z-index: 5000;
}

.dialog_header_right,
#dialog_header_right { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') no-repeat top right;
	position: relative;
	height: 30px;
}

.dialog_header_left,
#dialog_header_left { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') no-repeat top left;
	height: 30px;
}

.dialog_header_middle,
#dialog_header_middle { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') repeat-x 0 -30px;
	margin: 0px 15px;
	color: #fff;
	font-weight: bold;
	line-height: 30px;
	font-family: Arial, sans-serif;
	font-size: 14px;
	height: 30px;
}

.dialog_footer_left,
#dialog_footer_right { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') no-repeat bottom right;
	height: 60px;
}

.dialog_footer_left,
#dialog_footer_left { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') no-repeat bottom left;
	height: 60px;
}

.dialog_footer_middle,
#dialog_footer_middle { /* Deprecated */
	background: url('/static/scripts/internal/m2dialog/images/dialogboxbars.png') repeat-x 0 -60px;
	margin: 0px 15px;
	height: 60px;
	position: relative;
}

.dialog_footbtn {
	float: right;
	margin-left: 5px;
	cursor: pointer;
}

/* Deprecated */
#dialog_save_button {
	float: right;
	margin-top: 15px;
	margin-right: 5px;
	padding: 5px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	cursor: pointer;
}
/* Deprecated */
#dialog_cancel_button {
	float: right;
	margin-top: 15px;
	margin-right: 0px;
	padding: 5px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	cursor: pointer;
}

.dialog_button {
	float: right;
	margin-top: 16px;
	margin-left: 5px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	cursor: pointer;
}
