#mb-dlg-overlay {
	/* set it to fill the whole screen */
	width: 100%; 
	height: 100%;
	background: #000;

	/* transparency for different browsers */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5; 
	-khtml-opacity: 0.5; 
	opacity: 0.5; 

	/* make sure it appear behind the dialog box but above everything else */
	position: absolute; 
	top: 0px; 
	left: 0px; 
	z-index: 3000; 
	display: block;
}

#mb-dlg-box {
	/* drop shadow */
	-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);

	/* border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid black;

	background: #fff;
	width: 354px;
	left: 0px;
	top: 0px;

	/* make sure it has the highest z-index */
	position: absolute; 
	z-index: 5000; 
	display: block;
	visibility: hidden;
}

#mb-dlg-header {
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;	
	border-radius: 10px 10px 0px 0px;
	border-bottom: 1px solid;
	font-weight: bold;
	font-size: 1.3em;
	display: block;
	position: relative;
	padding: 3px 7px 3px 7px;
	width: 340px;
	overflow: hidden;
	cursor: move;
}

#mb-dlg-hdrtitle {
	float: left;
	user-select: none;
}

#mb-dlg-hdrclose {
	float: right;
	cursor: pointer;
	height: 16px;
	width: 16px;
	background: url("../images/dialog_close.png") no-repeat scroll 0% 0% transparent;
}

#mb-dlg-message {
	font-size: 1.2em;
	min-height: 100px;
	display: block;
	position: relative;
	padding: 3px 7px 3px 7px;
	width: 340px;
}

#mb-dlg-buttons {
	-moz-border-radius: 0px 0px 10px 10px;
	-webkit-border-radius: 0px 0px 10px 10px;	
	border-radius: 0px 0px 10px 10px;
	border-top: 1px solid;
	font-size: 1.2em;
	min-height: 30px;
	display: block;
	position: relative;
	padding: 3px 7px 3px 7px;
	width: 340px;
	background: #fff;
	text-align: center;
}

div[id^="mb-dlg-suggest-standard"] {
	position: absolute;
	color : #000000; 	
	background-color: #f9f9fb;
	text-align: left;
	border: 2px solid #000000;
	font-size: 1em;
	z-index: 5050;
	visibility: hidden;
	margin-top: 3px;
	overflow-x: hidden;
	overflow-y: hidden;
}

div[id^="mb-dlg-suggest-inline"] {
	position: absolute;
	color : #000000; 	
	background-color: #f9f9fb;
	text-align: left;
	border: 2px solid #000000;
	font-size: 1em;
	z-index: 5050;
	visibility: hidden;
	overflow-x: hidden;
	overflow-y: hidden;
}

span.mb-dlg-button {
	/* styles for button */
	margin: 2px auto 3px auto;
	text-align:center;
	display: block;
	padding: 6px 10px 5px;
	margin-left: 5px;
	margin-right: 5px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	line-height: 1;
	display: inline-block;

	/* button color */
	background-color: #000;

	/* css3 implementation :) */
	/* rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

	/* drop shadow */
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);

	/* text shadow */
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
}

span.mb-dlg-process {
	/* styles for button */
	margin: 2px auto 3px auto;
	text-align:center;
	display: block;
	padding: 6px 10px 5px;
	margin-left: 5px;
	margin-right: 5px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	line-height: 1;
	display: inline-block;

	/* css3 implementation :) */
	/* rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.mb-dlg-meter {
	height: 14px;  
	width: 80%;
	display: inline-block;
	position: relative;
	background: #666;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 2px;
	margin-top: 5px;
	margin-bottom: 5px;
	box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
}

.mb-dlg-meter > span {
	display: block;
	height: 100%;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	background-color: #aedbf0;
	background-image: linear-gradient(to bottom, #aedbf0, #8cc7e2);
	box-shadow: 
		inset 0 2px 9px  rgba(255,255,255,0.3),
		inset 0 -2px 6px rgba(0,0,0,0.4);
	position: relative;
	overflow: hidden;
}

.mb-dlg-meter > span:after {
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	background-image: linear-gradient(
		-45deg, 
		rgba(255, 255, 255, .2) 25%, 
		transparent 25%, 
		transparent 50%, 
		rgba(255, 255, 255, .2) 50%, 
		rgba(255, 255, 255, .2) 75%, 
		transparent 75%, 
		transparent
	);
	z-index: 1;
	background-size: 50px 50px;
	animation: move 2s linear infinite;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	overflow: hidden;
}

#mb-dlg-tabs-wrapper {
	display:flex;
	flex-direction: column;
	align-items: center;
}

.mb-dlg-tab-radio {
	display:none;
}

.mb-dlg-tabs {
	white-space: nowrap;
}

.mb-dlg-tab {
	cursor: pointer;
	padding:7px 14px;
	margin:0px 2px;
	background:#000;
	display:inline-block;
	color:#fff;
	border-radius:3px 3px 0px 0px;
	box-shadow: 0 0.5rem 0.8rem #00000080;
}

.mb-dlg-tab-panels{
	display:grid;
	grid-template-areas:"tab-panels";
	width:100%;
	overflow:hidden;
	margin-top: 3px;
}

.mb-dlg-tab-panel{
	display:block;
	grid-area:tab-panels;
	visibility:hidden;
}
