/*for ie6 position fixed */
html{
	_background:url(../spacer.gif) repeat-y fixed;
}
/*container*/
#ym-window{
	overflow:hidden;
	font:12px/1.5 "DejaVu Sans","Lucida Grande",Tahoma,"Hiragino Sans GB",STHeiti,SimSun,sans-serif;
	background:#fff;
    -moz-border-radius:8px;
    -khtml-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 15px 15px 15px rgba(0,0,0,0.4);
    -webkit-box-shadow: 15px 15px 15px rgba(0,0,0,0.4);
    box-shadow: 15px 15px 15px rgba(0,0,0,0.4);
}
#ym-shadow
{
	display:none;
	margin:5px 0 0 5px;
	background:#000;
	filter: Alpha(opacity=30);
}

/*header*/
.ym-tl{padding:8px 8px 0 8px;}
.ym-tr{
	background:#e5e5e5 url(images/titlebg.gif) repeat-x;
	border-bottom: none;
    -moz-border-radius:4px 4px 0 0;
    -khtml-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}
.ym-tc{
	clear:both;
	zoom:1;
}
.ym-tc:after{content:'\20';display:block;clear:both;}
.ym-ttc{}
.ym-header-text{color:#000;font-size:14px;padding:4px 0;font-weight:bold;margin-left:5px;float:left;}
.ym-header-tools{float:right;margin:4px}
.ym-header-tools strong{display:none}

/*body*/
.ym-ml{padding:0 8px;}
.ym-mr{background:#fff;}
.ym-mc{padding:0;}
.ym-body{padding:0;font-size:12px;overflow:auto;*overflow:hidden;}
#ym-btnl .ym-mr{padding:0;}

/*button*/
.ym-btn{background:#f5f5f5;border-top:1px solid #ccc;text-align:left;padding:0 20px;}

/*footer*/
.ym-bl{padding:0 8px;height:8px;overflow:hidden;}
.ym-br{padding-right:0;_margin:0 2px;}
.ym-bc{height:0;}

/*icon*/
.ymPrompt_alert{
	padding-left:90px;
	background:url(images/info.gif) no-repeat 20px 50%
}
.ymPrompt_succeed{
	padding-left:90px;
	background:url(images/right.gif) no-repeat 20px 50%
}
.ymPrompt_error{
	padding-left:90px;
	background:url(images/err.gif) no-repeat 20px 50%
}
.ymPrompt_confirm{
	padding-left:90px;
	background:url(images/ask.gif) no-repeat 20px 50%
}
.ymPrompt_close{
	cursor:pointer;
	background:url(images/ico.gif) no-repeat;
	width:22px;height:22px;
}
.ymPrompt_alert .ym-content,.ymPrompt_succeed .ym-content,.ymPrompt_error .ym-content,.ymPrompt_confirm .ym-content{
	padding:0 8px 8px 8px;
}
/*图标公共定义*/
.ym-header-tools div{
	cursor:pointer;
	width:22px;height:22px;float:left;margin:0 0;
	background-image:url(images/ico.gif);
	background-repeat:no-repeat;
}
.ymPrompt_close{
	background-position:-66px 0;
}
.ymPrompt_close_hover{
	background-position:-66px -22px;
}
.ymPrompt_max{
	background-position:0 0;
}
.ymPrompt_max_hover{
	background-position:0 -22px;
}
.ymPrompt_min{
	background-position:-44px 0;
}
.ymPrompt_min_hover{
	background-position:-44px -22px;
}
.ymPrompt_normal{
	background-position:-22px 0;
}
.ymPrompt_normal_hover{
	background-position:-22px -22px;
}

#ym-window td:hover{
	background:#fff;
}

/*取消确认按钮样式*/
#ym-window .btnStyle{
	margin:6px 8px 6px 0;
	font-size:13px;
    letter-spacing:2px;
    padding:0 5px;
}
