@charset "UTF-8";
/**
 *弹出框 
 */
.ag_div,.ag_div *,.ag_overlay{
	padding: 0;
	margin: 0;
}
/*overlay*/
.ag_overlay{
	position:fixed; /*支持实现w3c标准的浏览器*/ 
	_position:absolute; /*单独针对IE6*/ 	
	top: 0;
	left: 0;
	background-color: #000;
	opacity: 0.3;
	filter:alpha(opacity=30);
}

/*div - title -close*/ 
.ag_div{
	clear:both;
	background-color: #fff;
	border-radius:4px;
	box-shadow:1px 1px 20px #5fb878;
}
.ag_div .ag_title{
	height: 32px;
	background-color: #5FB878;
	border-radius:4px 4px 0 0;
	line-height: 32px;
	padding-left:8px;
	color:#fff;	
	font-size: 14px;
}
.ag_close{
	width:14px;
	height: 14px;
	cursor: pointer;
	background: url(icon.png) no-repeat scroll 0 -40px;
	position: absolute;
	top: 9px;
	right: 9px;
}
.ag_close2{
	background: url(icon.png) no-repeat scroll -80px -40px;; 
}
.ag_close:hover{
	opacity: .50;
}

.ag_loading{
	position: absolute;
	background-image: url(loading.gif);
	background-repeat: no-repeat;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
}

/*表单验证错误*/
/* 标准写法 */
@keyframes flicker-bg {
	0%   { background-color: transparent; }
	100% { background-color: #f2dede; }
}

.ag_valid_no {
	color: #a94442 !important;
	border: 1px solid #e0b5b5 !important;
	/* animation: 名称 时长 缓动 延迟 次数 填充模式 */
	animation: flicker-bg .1s ease-in-out 0s 2 forwards;
}


/*alert*/ 
.ag_div .ag_alert{
	background-color: white;
	padding:30px 16px 16px 16px;
	text-align:center;
	font-size: 16px;
	word-break:break-all;
	border-radius:0 0 4px 4px;
}
.ag_alert_info b{color: red;}
.ag_div .ag_alert_oper{
	padding-top:20px;
}
.ag_div .ag_alert_oper button{
    color: #fff;
    height: 28px;
    line-height: 28px;
    margin: 0 6px;
    padding: 0 15px;
    border: 0;
    cursor: pointer;
    border-radius:2px;
}
.ag_alert_info_btn{
	background-color: #2e8ded;
}
.ag_alert_close_btn{
	background-color: #CC9933;
}
.ag_div .ag_alert_oper button:hover{
   opacity: .90;
}
/**
 *只是为了IDE提示
 	一、agform表单提交后
 		 -- 刷新
         ag_reload           刷新父页面
         ag_reload_self      刷新本页面
         -- 弹出：
         agalert                alert
         agalert_close          alert - 关闭iframe
         b.弹出提示,再跳转：
         agalert_jump           alert - 父页面：跳转到来源
         agalert_jump_self      alert - 本页面: 跳转到来源
         agalert_reload         alert - 父页面:刷新
         agalert_reload_self    alert - 本页面:刷新
    二、a标签调用openIframe
    	弹出：href
    	宽：data-w
    	高：data-h
    	标题：data-title
 */
.agalert,.agalert_close,.agalert_jump,.agalert_jump_self,.agalert_reload,.agalert_reload_self,.ag_opener{}

/*----------------------------------------------------------*/

/**
 *下拉选择框  - 单选
 */
.ag_seldiv{
	position: absolute;
	display: block;
	border: 1px solid #999;
	background-color: white;
	overflow: hidden;
	margin:0;
}
.ag_seldiv ul{
	padding: 0;
	margin: 0;
	overflow: auto;
}
.ag_seldiv ul li{
	display: block;
	word-spacing: normal;
	font-size: 12px;
	list-style: none;
	padding: 2px;
	margin: 0;
	line-height: 25px;
	height: 25px;
	overflow: hidden;
	float: none;
}
.ag_odd{
	background-color: #eee;
}
.ag_seled{
	background-color: #b98559;
	color: white;
	cursor: default;
}

/*----------------------------------------------------------*/
/*多选框*/
.ag_seldivs{
	position: relative;
	display: block;
	width: 670px;
	background-color: white;
	font-family: Arial, 'Microsoft YaHei', sans-serif;
	padding: 0;
	margin: 0;
}
.ag_seldivs ul li{
	display: inline-block;
	word-spacing: normal;
	font-size: 12px;
	margin: 2px;
	padding: 0 4px;
	line-height: 25px;
	height: 25px;
	min-width: 60px;
	max-width: 200px;
	overflow: hidden;
	background-color: #eee;
	text-align: center;
	border-radius: 4px;
	cursor: pointer;
	user-select: none; /* 禁止文本选中 */
	-webkit-user-select: none; /* 针对 Webkit 内核浏览器（如 Chrome、Safari） */
	list-style: none;
}
.ag_seldivs ul li:hover{
	color: red;
}
/* 多选框 - 数据区 */
.ag_seldivs ul.seldivs_data{
	position: absolute;
	max-height: 220px;
	overflow: auto;
	background-color: white;
	z-index: 2000;
	border: 1px solid #eee;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, .15);
}
/* 多选框 - 已选区 */
.ag_seldivs ul.seldivs_sel{
	max-height: 130px;
	overflow: auto;
}
.ag_seldivs ul.seldivs_sel li{
	padding-right: 20px;
	position: relative;
	background-color: #f0ad4e;
}
.ag_seldivs ul li.seldivs_clean{
	padding-right: 4px;
	background-color: red;
	color: white;
}
.ag_seldivs ul li .seldivs_del{
	position: absolute;
	right: 2px;
	top: 6px;
	height: 14px;
	line-height: 14px;
	font-size: 10px;
	width: 14px;
	display: inline-block;
	text-decoration: none;
	background-color: white;
	color: red;
	margin-left: 4px;
	border-radius: 7px;
	font-weight: bold;
}
/*----------------------------------------------------------*/

/*dojson*/
.ag_loading_b{
	background-image: url(loading_b.gif);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	height: 20px;
	line-height:10px;
	font-size:14px;
	margin: 0;
	padding: 0;
	text-align: center;
}

/*合计*/
.agxy_data_total,.sum_total,.totalY,.totalX{background-color: #f0ddca;color: #333}

/*----- 分页 -----*/
/**
#pager, .pager {
	display: block;
	color: #666;
	text-align: center;
	margin-top: 10px;
}
#pager a, .pager a {
	display: inline-block;
	height: 28px;
	line-height: 28px;
	color: #555;
	background-color: #fff;
	border: 1px solid #e2e2e2;
	vertical-align: middle;
	margin: 0 -1px 5px 0;
	padding: 0 12px;
	transition: all .3s;
	-webkit-transition: all .3s;
}
#pager span, .pager span {
	display: inline-block;
	height: 28px;
	line-height: 28px;
	color: #444;
	vertical-align: middle;
	margin: 0 -1px 5px 0;
}
#pager a.disabled, #pager a.disabled:hover, .pager a.disabled, .pager a.disabled:hover
	{
	color: #ccc;
	background-color: #f2f2f2;
	border: 1px solid #e2e2e2;
	cursor: not-allowed;
}
#pager a:hover, .pager a:hover {
	color: #fff;
	border: 1px solid #e9552d;
	background-color: #e9552d;
}
#pager a.cursor, .pager a.cursor {
	color: #fff;
	border: 1px solid #e14a21;
	background-color: #e14a21;
	cursor: default;
}
**/
