@charset "utf-8";

/**  css reset **/

html {
	height: 100%;
	*overflow: auto;
	_overflow: auto;
}

body {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
	font: 12px/20px "Microsoft YaHei", Arial, Helvetica, sans-serif;
	color: #333333;
	background: #FFFFFF;
}

.container {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	min-width: 1200px;
	overflow: auto;
}


/** 公共样式 **/

#g-redraw {
	height: 100%;
	width: 100%;
	background-color: #333333;
	opacity: 0.5;
	filter: alpha(opacity=50);
	z-index: 99999;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
}

#g-redraw span {
	color: #FFFFFF;
}


/** 全局按钮样式  **/

.u-btn {
	padding: 5px 20px;
	color: #FFFFFF;
	font-size: 16px;
	background-color: #3498db;
	text-align: center;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.u-btn:hover,
.u-btn.z-hover {
	background-color: #5dade2;
}

.u-btn.z-dis {
	cursor: default;
	background-color: #95a5a6!important;
}


/** 文本输入框样式 **/

.m-ipt-text {
	display: inline-block;
	position: relative;
	height: 24px;
	width: 200px;
	padding: 4px 0;
	border: 1px solid #d4d4d5;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

.u-ipt-text {
	border: 0 none;
	height: 20px;
	width: 190px;
	padding: 2px 5px;
	font: 16px/20px "microsoft yahei";
	background-color: #FFFFFF;
	color: #333;
}

.u-ipt-tips {
	position: absolute;
	top: 2px;
	left: 5px;
	color: #c1c1c1;
	cursor: text;
	font: 14px/24px "microsoft yahei";
}


/** checkbox样式 **/

.m-ipt-checkbox,
.m-ipt-radio {
	display: inline-block;
}

.u-ipt-checkbox,
.u-ipt-radio,
.u-ipt-label {
	float: left;
	display: inline-block;
	height: 20px;
	vertical-align: text-top;
}

.u-ipt-checkbox,
.u-ipt-radio {
	margin: 0 5px 0 0;
	padding: 0;
	line-height: 20px;
}

.u-ipt-label {
	font: 14px/16px "microsoft yahei";
}


/** 自定义table表格 **/

.m-table {
	margin: 0 auto;
	height: 100%;
	width: 100%;
}

.m-table-tr {
	clear: both;
}

.m-table-tr-td {
	display: inline-block;
	float: left;
}


/** 最小宽度 **/

.g-min-w {}


/** 头部样式 **/

.g-hd {
	height: 96px;
	width: 100%;
	position: relative;
}

.g-hd-inner {
	padding: 17px 10px 22px 10px;
	height: 51px;
}

.g-hd-logo,
.g-hd-tools {
	height: 100%;
}

.g-hd-logo a,
.g-hd-logo span {
	display: inline-block;
	float: left;
}

.g-hd-logo a {
	height: 51px;
	width: 190px;
	background: transparent url(../img/zywAdmin-icons.png) 0 0 no-repeat scroll;
}

.g-hd-logo span {
	line-height: 51px;
	font-size: 30px;
	padding: 0 5px;
}

.g-hd-tools a {
	text-align: center;
	display: inline-block;
	width: 50px;
	margin-left: 10px;
}

.g-hd-tools a em {
	display: block;
	height: 29px;
	width: 32px;
	background: transparent url(../img/zywAdmin-icons.png) 100px 100px no-repeat scroll;
	margin: 0 auto;
}

.g-hd-tools a.g-hd-icon-home em {
	background-position: -190px -11px;
}

.g-hd-tools a.g-hd-icon-exit em {
	background-position: -222px -11px;
}

.g-hd-tools a.g-hd-icon-edit em {
	background-position: -252px -11px;
}


/** 菜单导航样式 **/


.g-hd-nav {
	height: 36px;
	width: 100%;
	background-color: #438eb8;
	text-align: center;
}

.g-hd-nav-inner {
	margin: 0 auto;
	height: 100%;
	width: 70%;
}

.g-hd-nav .nav-hd>li {
	float: left;
	position: relative;
	height: 100%;
	font: bold 14px/36px "microsoft yahei";
}

.g-hd-nav .nav-hd a {
	padding: 0 50px;
	height: 100%;
	display: block;
	color: #FFFFFF;
}

.g-hd-nav .nav-bd {
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	position: absolute;
	top: 34px;
	left: -1px;
	background: #FFFFFF;
	border: 1px solid #DDDDDD;
	z-index: 99999;
	border-top: none;
	opacity: 0;
	display: none;
}

.g-hd-nav .nav-bd li {
	font: normal 14px/36px "microsoft yahei";
	width: 100%;
}

.g-hd-nav .nav-bd li>a {
	padding: 0;
	color: #000000;
}

.g-hd-nav li:hover,
.g-hd-nav li.z-sel {
	font: bold 14px/36px "microsoft yahei";
	background-color: #f2f6f7;
	display: inline-block;
}

.g-hd-nav li:hover>a,
.g-hd-nav li.z-sel>a {
	color: #438eb8;
}


/** 中间主体内容 **/

.g-bd {
	position: absolute;
	top: 132px;
	bottom: 0;
	left: 0;
	width: 100%;
//	right: 0;
	overflow-y: auto;
}

.g-bd-l,
.g-bd-r {
	height: 100%;
}

.g-bd-l {
	width: 180px;
	float: left;
}

.g-bd-r {
	margin: 0px auto;
	width: 70%;
	padding: 20px 0;
	box-sizing: border-box;
}


/** 侧边栏菜单样式 **/

.g-side-menu {
	background-color: #f2f6f7;
	position: fixed;
}

.g-side-menu ul,
.g-side-menu ul li {
	list-style: none;
	padding: 0;
	margin: 0;
}

.g-side-menu ul li {
	height: 47px;
	border-bottom: 1px solid #dfdfdf;
}

.g-side-menu ul li a {
	display: block;
	float: left;
	height: 100%;
	width: 160px;
	font: 500 14px/48px "microsoft yahei";
	padding-left: 20px;
	color: #000000;
	background: transparent url(../img/zywAdmin-icons.png) 0 200px no-repeat scroll;
}

.g-side-menu ul li a:hover {
	color: #438eb8;
	font-weight: 600;
}

.g-side-menu ul li.active a {
	background-position: -40px -60px;
	color: #438eb8;
	font-weight: 600;
}

#g-side-menu ul li>span {
	border-left: 5px solid #438eb8;
	display: inline-block;
	font: bold 14px/16px "microsoft yahei";
	margin-top: 15px;
	text-indent: 15px;
	width: 100%;
	color: #323232;
}


/** 面包屑导航 **/

.g-crm {
	height: 27px;
	background: #fcfcfc;
	cursor: default;
	border: 1px solid #ddd;
}

.g-crm h2 {
	border-left: 9px solid #438eb8;
	height: 18px;
	font: bold 14px/14px "microsoft yahei";
	margin-top: 5px;
}

.g-crm h2 a {
	margin-left: 15px;
}


/** HTML页面内容样式 **/

#html_content {
	height: 100%;
	width: 100%;
}


/** 底部页脚样式 **/

.g-ft {
	width: 100%;
	height: 30px;
}

.g-ft-inner {
	width: 100%;
	height: 100%;
	background-color: #a5c9dd;
}

.aui-grid-td .table-edit {
	color: #2e99d4;
}

.aui-grid-td .table-delete {
	color: #ff9f2c;
}

.aui-grid-td .table-grey {
	color: #aaaaaa;
}

.datagrid-row {
	height: 32px!important;
}

.datagrid-toolbar,
.datagrid-pager {
	background-color: #fff!important;
}

.content {
	padding: 20px 0;
}