@charset "utf-8";

body{height:100%;width:100%;}

#page-wrapper{width:99%;height:100%;overflow:hidden;padding:0px 5px;}

/* 
	@名称: site
	@功能: 本站点通用设置
*/

/* 页面顶层导航栏*/
.header-link{padding:0px 10px;width:98%;}
.header-link dt{float:left;}
.header-link dd{float:right;}

/* 列表页面搜索栏*/
.search-bar {height:26px;width:100%;margin-top:10px;border:1px solid  #898989;background:#F0D4A8;overflow:hidden;vertical-align:middle;}
.search-bar button.search-btn{vertical-align:middle;padding:0px 5px;margin-left:10px;}

.search-bar a{vertical-align:middle;line-height:18px;margin-left:20px;color:#333333;font-size:11px;}
.search-row {height:22px;margin-bottom:4px;}


/* 列表表格样式*/

.table-list{
	margin-top:10px;
	width:100%;
	height:400px;		
	overflow:hidden;	
}

.table-list div.table-wrapper{	
	height:100%;
	border:1px solid #898989;	
}

.table-list table{	
	table-layout:fixed;
	border-spacing:0px;
	border-collapse:collapse;
	border-top:1px solid  #FBCA7D;
	border-left:1px solid  #FBCA7D;
	text-align: left;
	font-size:13px;
	
}
.table-list tr{
	height:16px;
}
.table-list th{
	background-color:#CFA96E;
	border-right:1px solid  #FBCA7D;
	border-bottom:1px solid  #ABABAB;	
	vertical-align: middle;		
	overflow:hidden;
}
.table-list td {
	border-right:1px solid  #FBCA7D;
	border-bottom:1px solid  #ABABAB;	
	background-color:#fff;
	vertical-align: middle;	
	overflow:hidden;	
}
.table-list th p{		
	width:100%; 
	display:block;
	padding:3px 5px; 
    white-space: nowrap;
    word-wrap: normal;    
    overflow: hidden;        
}

.table-list td p{
	width:100%; 
	display:block;
	padding:2px 5px;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;   
}

.table-list tr.selected td{
	background-color:#CCFFCC;	
}

.list-tooltip{
	display:none;   
    height:120px;
    padding:10px;
    width:200px;
    background-color:#ffa;
    border:1px solid #cc9;
    font-size:12px;  
    z-index:999999; 
    overflow: hidden;   
}
.list-tooltip table{
	width:100%;
	border-spacing:0px;
	border-collapse:collapse;
}

.list-tooltip th,.list-tooltip td{
	padding:2px 5px;	
}

/******************************************************************
* 标签样式定义
*******************************************************************/
.field{display:inline-block;line-height:20px;margin-right:10px;}
.field-disabled{}

.field dt{display:inline-block;line-height:20px;margin:0px;padding:0px 5px;text-align:right;vertical-align:middle;}
.field dd{display:inline-block;line-height:20px;margin:0px;padding:0px;border:1px solid #ccc;vertical-align:middle;}

dl.field,.field dt,.field dd{*display:inline;}

.field dt select{line-height:20px;border-width:0px;}

.field dd input.text{display:inline-block;height:18px;line-height:18px;width:80px;padding:0px 5px;border-width:0px;}
.field dd select{line-height:20px;border-width:0px;width:110px;}
.field dd button{display:inline-block;height:20px;border-width:0px;width:20px;cursor:pointer;}
.field .combo-dropdown{width:200px;height:300px;border:1px solid #CFA96E;background-color:#fff;display:none;overflow:hidden;}
.field .tree-dropdown{width:300px;height:400px;border:1px solid #CFA96E;background-color:#fff;display:none;overflow:hidden;}
.field .toolbar{height:24px;border-bottom:1px solid #ccc;padding:2px 5px;}
.field .wrapper{height:80%;overflow:auto;} 
.field .toolbar .loading{	
	height:16px;		
	background:url('images/panel_loading.gif') no-repeat 0px 0px;
	padding-left:20px;
}

.field-span dd{border-width:0px;}

.field-text dd input.text{width:100px;}

.field-label dd {width:60px;height:20px;}


/* 字段设置弹出框*/
.field-setting{width:500px;height:400px;border:3px solid #CFA96E;background-color:#fff;display:none;overflow:hidden;}
.field-setting table{width:90%;}
.field-setting td,.field-setting th{padding:2px 5px;border-bottom:1px dotted #ccc;}
.field-setting .wrapper{height:360px;overflow:auto;}
.field-setting .toolbar{height:30px;padding-top:5px;text-align:right;border-top:1px solid #ccc;}
.field-setting .toolbar button{padding:3px 5px;margin:0px 10px;}

.field .r-btn{float:right;margin-right:10px;cursor:pointer;color:blue;}

/* 分页样式*/
.page-bar{padding:5px 10px;font-size:12px;float:left;}

.page-bar dt{display:inline-block;height:20px;line-height:20px;padding:0px;}

.page-bar dd{display:inline-block;height:20px;line-height:20px;padding:0px 10px;}

.page-bar dd a{display:inline-block;margin:0px 2px;padding:0px 3px;color:#333333;}

.page-bar dt,.page-bar dd,.page-bar a{*display:inline;}

.page-bar dd a.current{background-color:#ccc;font-weight:bold;}

.page-bar select{vertical-align:middle;}

.page-bar + div{padding:5px 10px;font-size:12px;float:right;} 

/* 单据样式  *******************************************************/
.order-header{}
.order-header-title{height:26px;background-color:wheat;margin:5px 0px;}
.order-header-body{}
.order-header div.left{width:200px;padding-left:5px;font-weight:bold;font-size:16px;}
.order-header div.left i{color:red;font-style:normal;}
.order-header div.right{}

.order-header .field{margin-right:20px;margin-bottom:10px;}
.order-header .field-text dd, 
.order-header .field-label dd,
.order-bottom .field-text dd, 
.order-bottom .field-label dd{
	border-width:0px;
	border-bottom:1px solid #ccc;
}
.order-header .field dd input.text{display:inline-block;height:18px;line-height:18px;width:120px;}
.order-header .field-text dd input.text{display:inline-block;height:18px;line-height:18px;width:140px;}
.order-header .field-select dd select{width:140px;} 

/* 单据体*********************************/
.order-body{margin-top:5px;height:260px;overflow:hidden;}
.order-body-content{height:200px;overflow-y:scroll;overflow-x:hidden;}
.order-body-footer{border:1px solid #FBCA7D;text-align:right;padding:2px 0px;}
.order-body-footer span{margin-right:20px;}


.order-body table{	
	width:100%;
	border-spacing:0 !important;
	border-spacing:0;
	border-collapse:collapse !important;
	border-collapse:collapse;		
    table-layout: fixed !important;
    table-layout: fixed;
    border-top:1px solid  #FBCA7D;
	border-left:1px solid  #FBCA7D;	
	text-align: left;
}

.order-body tr.hover td{
	background-color:#ccc;	
}

.order-body th{
	background-color:#CFA96E;
	border-right:1px solid  #FBCA7D;
	border-bottom:1px solid  #FBCA7D;
	padding:2px 4px;	
	vertical-align: middle;		
}
.order-body td{
	height:20px;
	border-right:1px solid  #ABABAB;
	border-bottom:1px solid  #ABABAB;	
	background-color:#fff;
	padding:0px 4px;
	vertical-align: middle;	
}

.order-body th p,
.order-body td p{
	width:100%; 
	display:block;
	margin:0px;
	padding:0px;		
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;   
}
.order-body td select,
.order-body td input[type=text]{
	width:100%;
	border-width:0px;
	margin:0px;
	padding:0px;
	background-color:#eee;
}


/* 单据尾********************************/

.dropmenudiv{
	position:inherit;
	top: 0px;
	border: 1px solid #BBB;
	border-bottom-width: 0;
	line-height:18px;
	z-index:100;
	background-color: white;
	width:96%;
	visibility: hidden;
	left: 147px;
}
.dropmenudiv a{
	width:96%;
	display:block;
	border-bottom:1px solid #999; 
	text-decoration:none;
	color:black;
}
.dropmenudiv a:hover{ 
	background-color:#ccc;
}