﻿/*container*/
#ym-window{
	background:#fff;overflow:hidden;
	font-size:12px;font-family:'宋体';
}

/*header*/
.ym-tl{padding-left:4px;background:#aaa;height:30px;line-height: 30px;}
.ym-tr{padding-right:4px;}
.ym-tc{border-top:4px solid #aaa;background:#4a4f55;overflow:hidden;height:30px;line-height: 30px;}
.ym-ttc{height:0px}
.ym-header-text{color:#fff;font-weight:bold;text-indent:10px;float:left;height:28px;line-height: 28px;}
.ym-header-tools{float:right;margin-top:3px}

/*body*/
.ym-ml{background:#aaa;padding-left:4px;}
.ym-mr{padding-right:4px;}
.ym-mc{background:#fff;padding:0}
.ym-body{overflow:auto;padding:0;font-size:12px;background-color:#f1f1f1;}

/*button*/
.ym-btn{background:#fff;text-align:center}

/*footer*/
.ym-bl{background:#aaa;padding-left:4px}
.ym-br{padding-right:4px}
.ym-bc{height:4px;font-size:4px}

/*icon*/
.ymPrompt_alert{
	padding-left:70px;
	background:url(images/info.png) no-repeat 30px 50%
}
.ymPrompt_succeed{
	padding-left:70px;
	background:url(images/right.png) no-repeat 30px 50%
}
.ymPrompt_error{
	padding-left:70px;
	background:url(images/err.png) no-repeat 30px 50%
}
.ymPrompt_confirm{
	padding-left:70px;
	background:url(images/ask.png) no-repeat 30px 50%
}
.ymPrompt_alert .ym-content,.ymPrompt_succeed .ym-content,.ymPrompt_error .ym-content,.ymPrompt_confirm .ym-content{padding:50px 0 0}
/*图标公共定义*/
.ym-header-tools div{
	cursor:pointer;
	width:16px;
	height:16px;
	float:left;
	margin:2px 6px 0px 0px;
	background:url(images/ico.png) no-repeat 0 0;
}
.ymPrompt_close{
	background-position:-21px 0 !important;
}
.ymPrompt_max{
	background-position:-43px 0 !important;
}
.ymPrompt_min{
	background-position:0 0 !important;
}
.ymPrompt_normal{
	background-position:-64px 0 !important;
}
.ymPrompt_close:hover,
.ymPrompt_max:hover,
.ymPrompt_min:hover,
.ymPrompt_normal:hover{
	background-color：#fff;
}


/*取消确认按钮样式*/
input.btnStyle{
	background:#ccc;
	width:80px;height:24px;line-height:24px;
	font-size:12px;color:#000;
	border:1px solid #ccc;
	border-radius: 6px;
	margin:10px 0;
}