/** -------------------- */
/** jquery ui */
.ui-widget-content{
	border: 1px solid #DDDDDD;
	/** 下面2行样式解决弹出框AppUtils.AlertBox英文过长不换行问题 */
	word-wrap: break-word;
	word-break: break-all;
}

/** 不使用jquery ui的a样式 */
.ui-widget-content a.link{
	color: #4A86AB;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
	background: #F8F8F8;
	border: 1px solid #DDDDDD;
}

.tabs .btn, 
.tabs .btn-danger,
.tabs .btn-primary,
.tabs .btn-info,
.tabs .btn-success{
	font-size: 13px;
}
.ui-state-error{
	padding: 2px;
}
.ui-icon{
	display: inline-block;
	*display: inline;
	*zoom: 1;
	/** 由于ui-icon设置了text-indent，在IE6/7下，会导致inline-block元素向左或向右偏移 */
	*text-indent: 0;
	*font-size: 0;
	*line-height: 0; 
}
.ui-widget-overlay{
	opacity: 0.6;
	filter:Alpha(Opacity=60);
	position: fixed;
	*position: absolute;
	/* IE7, IE8兼容文本模式IE7下影响ui-widget-overflow高度暂时隐藏 */
	/* +width: 100% !important;  *//** for ie7 */
	/* +height: 100% !important; *//** for ie7 */
}
/** IE6下计算按钮区域过大 */
.ui-dialog .ui-dialog-buttonpane{
	_margin: 6px 0 0;
    _padding: 0 1em 0 0.4em;
}

/* jquery datepicker */
/** 日期控件要位于列表所有元素之上 */
.ui-datepicker { 
	z-index: 20000;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
.ui-datepicker .ui-datepicker-calendar td a{
	border-radius: 4px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	width: 20px;
	background: none;
	border: none;
	padding: 4px 5px;
}
.ui-datepicker .ui-datepicker-calendar td a.ui-state-hover,
.ui-datepicker .ui-datepicker-calendar td a.ui-state-active{
	background-image: -moz-linear-gradient(center top, #0088CC, #0044CC);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
}
.ui-datepicker .ui-datepicker-calendar td a.ui-state-hover{
	background: #eee;
}
.ui-datepicker .ui-datepicker-calendar td a.ui-state-active{
	background: #006DCC;
	color: #ffffff;
}

.ui-datepicker-close{
	font-weight:normal;
}
.ui-datepicker .ui-datepicker-buttonpane button{
	font-weight:normal;
}
.icon-left span.ui-icon {
	right:0.2em;
	margin:-20px 5px 0 0;
	position:absolute;
}
.icon-left span.ui-icon {
	right:0.2em;
	margin:-20px 5px 0 0;
	position:absolute;
}
.ui-jqgrid .ui-pg-table td {
  padding-left: 0;
  padding-right: 0;
}

/* jquery jqgrid */
.ui-jqgrid {
	margin:0 auto;
}
.ui-jqgrid-wrap{
	margin:0 auto;
}
.ui-jqgrid-btable{
	border-collapse: collapse;
}
.ui-jqgrid tr.jqgrow td {
	background-color:#FFFFFF;
	font-weight: normal;
	overflow: hidden;
	white-space: pre;
	height: 30px;
	padding: 0 2px 0 2px;
	border-bottom-width: 1px;
	border-bottom-color: inherit;
	border-bottom-style: solid;
	empty-cells: show;
}
.ui-jqgrid-break tr.jqgrow td{ white-space: nowrap;}
.ui-jqgrid tr.ui-state-highlight td {
	background: #FBEC88;
}
.ui-tabs .ui-tabs-nav li a {
    float: left;
    padding: 0.3em 0.8em;
    text-decoration: none;
}
.ui-jqgrid .ui-pg-input { 
	height: 16px;
    width: 30px;
    text-align: center;
}
/* 不需要换行的添加ui-jqgrid-nowrap 2014/02/18 yangd*/
.ui-jqgrid-nowrap tr.jqgrow td{
	word-wrap: normal!important;
	word-break: keep-all!important;
	white-space: nowrap!important;
}
/** 隐藏jqgrid的展开/收起按钮 */
.ui-jqgrid .ui-jqgrid-titlebar-close{
	display: none;
}

.ui-jqgrid{
	border: 1px solid #99BCE8;
}
.ui-jqgrid .ui-jqgrid-titlebar{
	background: #EEEEEE;
	color: #666666;
	border-color: #C5C5C5;
	padding-top: 2px;
	padding-bottom: 2px;
}
.ui-jqgrid .ui-jqgrid-hdiv{
	background: url("/template/pc/skin/images/grid/column-header-bg.png") repeat;
	border-color: #C5C5C5;
}
.ui-jqgrid tr.jqgrow{
	border: none;
}
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column{
	background: url("/template/pc/skin/images/grid/column-header-bg.png") repeat;
	border-color: #CCCCCC;
	border-right: 1px solid #CCCCCC;
	color: #000;
	height: auto;
	padding-top: 5px;
	padding-bottom: 5px;
}
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-state-hover{
	background: url("/template/pc/skin/images/grid/column-header-over-bg.gif") repeat;
}
.ui-jqgrid tr.jqgrow td{
	border-color: #D0D0D0;
	border-bottom-color: #EDEDED;
}
.ui-jqgrid tr.jqgrow td.jqgrid-rownum{
	background:#E4ECF7;
	border-color: #9EB6CE; 
}
.ui-jqgrid .ui-jqgrid-pager{
	border-color: #C5C5C5;
	background: #EEEEEE;
}
/** 分页 */
.ui-jqgrid .ui-pg-table *{
	font-size: 12px;
	color: #666;
}

/** 选择每页显示数量*/
.ui-jqgrid .ui-pg-table .ui-pg-selbox{
	height: 20px;
}

/** -------------------- */
/** ColTable */
.ColTable tr{
	height: 25px;
}
.ColTable tr td{
	padding-left: 5px;
}

/** -------------------- */
/** JTree */
/** 树的context menu应该在分栏的元素之上*/
.tree-default-context {
	z-index:4;
}
/** 数的context menu在不可用的时候隐掉，而不是灰掉*/
.tree-default-context a.disabled{display:none;}

.tree-classic li a:hover{
	background-color:#F39001 !important; 
	border-color:#F39001 !important; 
	color:white;
}

.tree li{
	white-space: nowrap;
}

.tree .no-checkbox{
	background: none !important;
	padding-left: 10px !important;
}

.ui-icon{
	display: inline-block;
	*display: inline;
	*zoom: 1;
	/** 由于ui-icon设置了text-indent，在IE6/7下，会导致inline-block元素向左或向右偏移 */
	*text-indent: 0;
	*font-size: 0;
	*line-height: 0; 
}
.ui-icon-white,
.ui-widget-content .ui-icon-white{
	background-image: url("/template/pc/skin/images/ui-icons_ffffff_256x240.png");
}

/** -------------------- */
/** noty */
.noty_layout_top table.popup-dialog,
.noty_layout_bottom table.popup-dialog{
	width: 100%;
}
.noty_bar .popup-dialog .popup-inner{
	border: 0 none;
	background: none;
}
.noty_bar.noty_theme_twitter .noty_close{
	_font-size: 12px;
}

.noty_bar.noty_theme_twitter.noty_information,
.noty_bar.noty_theme_twitter.noty_notification,
.noty_bar.noty_theme_twitter.noty_warning,
.noty_bar.noty_theme_twitter.noty_alert,
.noty_bar.noty_theme_twitter.noty_error,
.noty_bar.noty_theme_twitter.noty_success{
	background: transparent;
	border: 0 none;
}

.noty_theme_twitter.noty_warning .noty_message,
.noty_theme_twitter.noty_information .noty_message,
.noty_theme_twitter.noty_notification .noty_message,
.noty_theme_twitter.noty_alert .noty_message,
.noty_theme_twitter.noty_error .noty_message,
.noty_theme_twitter.noty_success .noty_message{
	background-repeat: no-repeat;
    background-position: 2px 4px;
    padding-left: 30px !important;
}

.noty_bar.noty_theme_twitter.noty_information .noty_message{
	background-color: #D9EDF7;
    border: 2px solid #BCE8F1;
    background-image: url('/template/pc/skin/images/icon_info.gif');
}
.noty_bar.noty_theme_twitter.noty_notification .noty_message{
	background-color: #fcfcfc;
	border: 2px solid #e5e5e5;
	background-image: url('/template/pc/skin/images/icon_info.gif');
}
.noty_bar.noty_theme_twitter.noty_warning .noty_message {
	background-color: #FCF8E3;
	border: 2px solid #FBEED5;
	background-image: url('/template/pc/skin/images/icon_warning.gif');
}
.noty_bar.noty_theme_twitter.noty_alert .noty_message {
	background-color: #FCF8E3;
	border: 2px solid #FBEED5;
	background-image: url('/template/pc/skin/images/icon_warning.gif');
}
.noty_bar.noty_theme_twitter.noty_error .noty_message {
	background-color: #F2DEDE;
	border: 2px solid #EED3D7;
	background-image: url('/template/pc/skin/images/icon_error.gif');
}
.noty_bar.noty_theme_twitter.noty_success .noty_message {
	background-color: #DFF0D8;
	border: 2px solid #D6E9C6;
	background-image: url('/template/pc/skin/images/icon_success.gif');
}

/** -------------------- */
/** smartWizard */
.swMain{
	width: 100%;
}

.swMain .stepContainer{
	height: auto;
}
.swMain .stepContainer div.content{
	height: auto;
	width: 100%;
	padding: 5px 0;
	border: 0 none;
	/** 要小于swiff-uploader-box的z-index，避免遮挡上传flash插件 */
	z-index: 4;
}
.swMain div.actionBar{
	border: 0 none;
	background: transparent;
}

.swMain div.actionBar .btn,
.swMain div.actionBar .btn-primary{
	float: left;
	margin-right: 5px;
}
.swMain .msgBox{
	margin-top: 0;
}

/** -------------------- */
/** jquery timepicker */
.ui_tpicker_time{ text-align: center; }
.ui_tpicker_time table{
	width: auto;
	margin: 0 auto;
}
.ui_tpicker_time table td{
	margin: 0;
	padding: 0;
	vertical-align: top;
}
.ui_tpicker_time input{
	width: 18px;
	text-align: center;
	height: 20px;
	line-height: 20px;
	border: 1px solid #ccc;
}
.ui_tpicker_time input.focus{
	background: #ccc;
}
.ui_tpicker_time .tHour{
	border-right: 0 none;
}
.ui_tpicker_time .tm{
	border-left: 0 none;
	border-right: 0 none;
	width: 7px;
	background: none;
}
.ui_tpicker_time .tMinute,.ui_tpicker_time .tSecond{
	border-left: 0 none;
	border-right: 0 none;
}
.ui_tpicker_time .timeUp,.ui_tpicker_time .timeDown{
	height: 11px;
	width: 13px;
	border: 1px solid #ccc;
	float: left;
}
.ui_tpicker_time .timeDown{
	background: url("/template/pc/skin/images/arrow.png") no-repeat 1px center;
	*background: url("/template/pc/skin/images/arrow.png") no-repeat -1px center;
}
.ui_tpicker_time .timeUp{
	background: url("/template/pc/skin/images/arrow_up.png") no-repeat 2px center;
	*background: url("/template/pc/skin/images/arrow_up.png") no-repeat left center;
	border-bottom: 0 none;
}
.ui_tpicker_time_label{
	display: none;
}

.x-form-field-wrap input,.x-form-field-wrap button{
	vertical-align: middle;
}
.ui-jqgrid-autowrap .ui-jqgrid tr.jqgrow td{
	white-space:pre-wrap;
	word-break:break-all;
}
.ui-widget-content a:hover,.ui-widget-content a:active{
    outline:none
}

.table-bordered caption.ui-widget-header{
	position: relative;
	padding: 0 0 0 20px;
	border: 1px solid #DDDDDD;
	border-bottom: none;
    background: none repeat scroll 0 0 #F8F8F8;
    height: 34px;
    line-height: 34px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
}