.dialog {
	clear:both;
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:780px; /* based on image dimensions - not quite consistent with drip styles yet */
	color:#000;
	z-index:10000;
}

.dialog .wrapper,
.dialog .t,
.dialog .b,
.dialog .close,
.dialog .b div {
	background:transparent url('images/duomaidialog.png') no-repeat top right; _background-image:url('images/duomaidialog.gif');
}

.dialog .title{
	height: 40px;
	padding-left: 10px;
	line-height: 40px;
	text-align: left;
	font-size: 16px;
	background: #EBEEEC;
}
.dialog .alertBody{
	height: auto;
	min-width:350px;
	max-width:500px;
	padding:25px 15px  15px 15px;
	text-align: center;
	margin-bottom: 20px;
}
.dialog .bottom{
	height: auto;
    text-align: right;
    line-height: 35px;
    padding: 5px 20px 0 0;
    border-top: 1px solid #ccc;
}

.dialog .wrapper {
	position:relative;
	zoom:1;
	_overflow-y:hidden;
	padding:0px 18px 0px 0px;
	padding:18px 18px 0px 0px;
}

.dialog .t {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width:18px; /* top slice width */
	margin-left:-18px;
	height:100%;
	_height:1600px; /* arbitrary long height, IE 6 */
	background-position:top left;
}

.dialog .b {
	/* bottom */
	position:relative;
	width:100%;
}

.dialog .b,
.dialog .b div {
	height:18px; /* height of bottom cap/shade */
	font-size:1px;
}

.dialog .b {
	background-position:bottom right;
}

.dialog .b div {
	position:relative;
	width:18px; /* bottom corner width */
	margin-left:-18px;
	background-position:bottom left;
}

.dialog .close {
	background-position:-628px -42px;width:31px;height:31px;position:absolute;top:2px;right:3px;display:block; cursor:pointer;
}

.dialog .closeBtn{
	background: none;
	position: unset;
	right: unset;
	width: unset;
	float: right;
}

.dialog .content {
	padding:5px;
	background:#fff;
	outline:0;
	border:0px;
	/* extra content protector - preventing vertical overflow (past background) */
	position:static;
	max-height:1000px;
	overflow:auto;
}


#duomaidialog {
	position:absolute;width:450px;z-index:9999;background-color:#fff;
	position:absolute; top:0; left:0; z-index:9999; overflow:hidden; display: none;
}

#duomaidialog .tl, #duomaidialog .tr, #duomaidialog .bl, #duomaidialog .br, #duomaidialog .close {
	background:url('images/duomaidialog.png') left top no-repeat transparent;_background-image:url('images/duomaidialog.gif')
}
#duomaidialog .tl, #duomaidialog .tr {padding:30px 0px 18px 18px;}
#duomaidialog .tl {/*padding-left:18px;*/overflow:hidden;}
#duomaidialog .tr {background-position:right top;}
#duomaidialog .bl {background-position:left bottom;}
#duomaidialog .br {background-position:right bottom;}

#duomaidialog .loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -18px;
	margin-left: -18px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#duomaidialog .overlay {

}

#duomaidialog .wrapper {

}

#duomaidialog .content {
	/* overflow:auto; opacity:0
	display:table;*/
	padding: 10px;
	background: #fff;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	clear:both;
	position:relative;
	width:auto;
	height: auto;
	overflow:auto;
}

#duomaidialog .content > p:first-child{
  margin-top:0;
}
#duomaidialog .content > p:last-child{
  margin-bottom:0;
}

#duomaidialog .close {
	background-position:-628px -42px;width:31px;height:31px;position:absolute;top:2px;right:3px;display:block;
}
#duomaidialog .close img{
	opacity:0.3;
}
#duomaidialog .close:hover img{
	opacity:1.0;
}

#duomaidialog-loading {
	position: fixed;
	top: 30%;
	left: 50%;
	width: 80px;
	height: 40px;
	margin-top: -18px;
	margin-left: -18px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	font-size:16px;
	line-height: 40px;
	padding-left:30px;
	color:orange
}
#duomaidialog-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	background-image: url('images/duomaidialog-loading.gif');
	
}

#duomaidialog-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
	z-index: 1100;
	display: none;
	background-color: #000;
}

#duomaidialog-wrapper {

}

#duomaidialog-title {

}

#duomaidialog-close {

}



#duomaidialog-content {

}

.mydialog-loading-overlay{
	filter: alpha(opacity=50);
    opacity: .5;
    background: #ccc;
	z-index: 20001;
    position: fixed;
    width: 100%;
    height: 100%;
    zoom: 1;
	top: 0;
    left: 0;
}

.mydialog-loading{
	right: auto;
    left: 618px;
    top: 146px;
	padding: 2px;
    border-style: solid;
    border-width: 1px;
    border-color: #ffab27;
    background-image: none;
    background-color: #dfe9f6;
	z-index: 20001;
    position: fixed;
}
.mydialog-loading .wrapper{
	padding: 0 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #ffab27;
    background-color: #eee;
    color: #222;
    font: normal 11px tahoma,arial,verdana,sans-serif;
	font-size:12px;
}

.mydialog-loading .wrapper .text{
	padding: 5px 5px 5px 20px;
    background-image: url('images/loading_circle.gif');
    background-repeat: no-repeat;
    background-position: 0 center;
}

