﻿/*------------------------------------------------------------------------------
此文件定义核心通用样式。
CSS 复位：
    http://www.blueidea.com/tech/web/2008/6165.asp
    http://perishablepress.com/a-killer-collection-of-global-css-reset-styles/
* {   
 vertical-align: baseline;   
 font-weight: inherit;   
 font-family: inherit;   
 font-style: inherit;   
 font-size: 100%;   
 border: 0 none;   
 outline: 0;   
 padding: 0;   
 margin: 0;   
 } 

--------------------------------------------------------------------------------*/

/* ----------------------------------- 表单相关样式 -------------------------------
	普通表单参考工作日历模块
	内部由选项卡构成的表单参考职员模块
	单个选项卡页内部嵌套表单参考部门模块
	树形管理表单部分参考菜单管理和资源管理模块
*/
.form
{
	width:100%;
	height:100%;
}

.form .form-container
{
	width:100%;
	overflow:hidden;
	text-align:center;
}

.form .form-title
{
	font-weight:bold;
}

.form .form-table
{
    border-left: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align:left;
    width:98%;
    display:inline-table;
}

.form .form-table td
{
    border-right:1px solid #dddddd;
    border-top: 1px solid #dddddd;
}

.form .form-table td.form-field
{
	background-color:#F4F4F4;
	white-space:nowrap;
}

.form .datagrid .panel-header, .form .datagrid .panel-body
{
	border-color:#dddddd;
	border-left-width:1px;
	border-top-width:0px;
	border-right-width:0px;
	border-bottom-width:1px;
}

.form .datagrid .panel-body-noborder
{
	border-width:0px;
}

/* ---------------------------------------------------------------------------*/
.datagrid-button
{
    width:20px;
    height:20px;
    text-align:center;
    vertical-align:middle;
    padding:0;
    margin:0;
}

/* -------------------- easyui 样式重写或覆盖 -----------------------------*/
/* easyui-dialog 底部按钮位置默认靠右侧对齐，这里覆盖默认设置为居中对齐 */
.dialog-button {
  text-align: center;
}

.datagrid-toolbar-list
{
	padding:0px;
	border:0px;
}

.datagrid-toolbar-list .datagrid-toolbar-list-query
{
	width:100%;
	padding: 5px;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #dddddd;
	display:block;
}

.datagrid-toolbar-list .datagrid-toolbar-list-buttons
{
	width:100%;
	padding: 5px;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #dddddd;
	display:block;
}

.datagrid-toolbar-list .datagrid-toolbar-list-query form
{
	width:100%;
}
.datagrid-toolbar-list .datagrid-toolbar-list-query form table
{
	width:99%;
}

/*  begin- 工具栏模式布局页                               */
.layout-toolbar-toolbar {
  /*height: 28px;*/
  padding: 1px 2px;
  border-width: 0 0 0 0;
  border-style: solid;
  background: #F4F4F4;
  border-color: #dddddd;
}
/* 分割线颜色，水平分割线用区域的上边线，垂直分割线用区域的左边线 */
.layout-toolbar-split-t
{
    border-top-color:#dddddd;
}
.layout-toolbar-split-b
{
    border-bottom-color:#dddddd;
}
.layout-toolbar-split-r
{
    border-right-color:#dddddd;
}
.layout-toolbar-split-l
{
    border-left-color:#dddddd;
}

/* 各种布局下各区域内容区通用样式 */
.layout-toolbar-container-lr-l div.layout-panel  div.panel-body,
.layout-toolbar-container-lr-r div.layout-panel  div.panel-body,
.layout-toolbar-container-lcr div.layout-panel  div.panel-body,
.layout-toolbar-container-lcrb div.layout-panel  div.panel-body,
.layout-toolbar-container-c div.layout-panel  div.panel-body
{
    padding:2px;
}

/* 各种布局下各区域标题样式 */
.layout-toolbar-container-lr-l,
.layout-toolbar-container-lr-r
{
}
.layout-toolbar-container-lr-l div.layout-panel-west div.panel-header,
.layout-toolbar-container-lr-r div.layout-panel-center div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
    border-right-color:#dddddd;
}
.layout-toolbar-container-lr-l div.layout-panel-center div.panel-header,
.layout-toolbar-container-lr-r div.layout-panel-east div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
    border-left-color:#dddddd;
}

.layout-toolbar-container-lcr,
.layout-toolbar-container-lcrb
{
}
.layout-toolbar-container-lcr div.layout-panel-west div.panel-header,
.layout-toolbar-container-lcrb div.layout-panel-west div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
    border-right-color:#dddddd;
}
.layout-toolbar-container-lcr div.layout-panel-center div.panel-header,
.layout-toolbar-container-lcrb div.layout-panel-center div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
    border-left-color:#dddddd;
    border-right-color:#dddddd;
}
.layout-toolbar-container-lcr div.layout-panel-east div.panel-header,
.layout-toolbar-container-lcrb div.layout-panel-east div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
    border-left-color:#dddddd;
}
.layout-toolbar-container-lcrb div.layout-panel-south div.panel-header
{
    background: #F4F4F4;
    border-top-color:#dddddd;
    border-bottom-color:#dddddd;
}
/*  end- 工具栏模式布局页                               */

/* -------------------- end easyui 样式重写或覆盖 -----------------------------*/
/* combo 清除按钮样式*/
.combo-clear {
  width: 18px;
  height: 20px;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.combo-clear-hover {
  opacity: 1.0;
  filter: alpha(opacity=100);
}
.combo-clear {
  background: url('images/combo-clear.png') no-repeat center center;
}
.combo-clear {
  background-color: #E0ECFF;
}
.combo-clear-hover {
  background-color: #eaf2ff;
}


/*----------------------- table style -----------------------*/
table.wit-table {
    display: inline-table;
    border-collapse: separate;
    border-spacing: 1px;
    border-color: grey;
    text-align: left;
}

    table.wit-table > tbody > tr > td {
        padding: 2px 10px;
        min-height: 30px;
        height: 30px;
    }

    table.wit-table > tbody > tr:nth-child(2n+1) >td {
        background-color: #F5F5F5;
    }

        table.wit-table > tbody > tr:nth-child(2n+1) > td:nth-child(2n+1) {
            background-color: #D9E7F5;
        }

    table.wit-table > tbody > tr:nth-child(2n) > td {
        background-color: #E9E9E9;
    }

        table.wit-table > tbody > tr:nth-child(2n) > td:nth-child(2n+1) {
            background-color: #CEDBE9;
        }

/*--------------------------------------------- easyui extend style -------------------------------------------------*/

/*----------------------- tabs style -----------------------*/
/*
.tabs-header {
    border-color: transparent!important;
}

.tabs-header, .tabs-tool {
    background-color: #272727!important;
}

a.tabs-inner {
    border-color: #7d7d7d!important;
    border-bottom-color: #D3D3D3!important;
}

.tabs li a.tabs-inner {
    color: #000;
    background-color: #7d7d7d!important;
    background: -webkit-linear-gradient(top,#7d7d7d 0,#7d7d7d 100%);
    background: -moz-linear-gradient(top,#7d7d7d 0,#7d7d7d 100%);
    background: -o-linear-gradient(top,#7d7d7d 0,#7d7d7d 100%);
    background: linear-gradient(to bottom,#7d7d7d 0,#7d7d7d 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7d7d7d,endColorstr=#7d7d7d,GradientType=0);
}

.tabs li.tabs-selected a.tabs-inner {
    color: #000;
    border-bottom: 1px solid #ffffff!important;
}

.tabs li.tabs-selected a.tabs-inner {
    background-color: #ffffff;
    background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%);
    background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%);
    background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%);
    background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0);
}

.tabs-scroller-left {
    border-color: #3F3F3F;
    border-left: none;
    border-right: none;
    border-bottom-color: #D3D3D3!important;
    background: #3F3F3F url('images/tabs_icons.png') no-repeat 1px center;
}

.tabs-scroller-right {
    border-color: #3F3F3F;
    border-left: none;
    border-right: none;
    border-bottom-color: #D3D3D3!important;
    background: #3F3F3F url('images/tabs_icons.png') no-repeat -15px center;
}

.tabs-scroller-over {
    background-color: #7d7d7d;
}

.tabs li a:hover.tabs-close {
    background-color: #7d7d7d;
}

.tabs li.tabs-selected a.tabs-inner:hover {
    color: #000;
}

.tabs li a.tabs-inner:hover {
    color: #fff;
}

.tabs-panels {
    border: none;
}
*/

/*----------------------- button style -----------------------*/
/*
.easyui-linkbutton {
    color: #fff;
    background: #56A4F6;
    background-repeat: repeat-x;
    border: 1px solid #56A4F6;
    background: -webkit-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: -moz-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: -o-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: linear-gradient(to bottom,#56A4F6 0,#56A4F6 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#56A4F6,endColorstr=#56A4F6,GradientType=0);
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    padding: 1px 15px;
    margin:0 1px;
}

    .easyui-linkbutton:hover {
        background: #8CBF26;
        color: #fff;
        border: 1px solid #8CBF26;
        filter: none;
        padding: 1px 15px;
        margin:0 1px;
    }
*/
.searchbox-button {
    background: url('images/searchbox_button.png') no-repeat center center;
}
/*----------------------- grid style -----------------------*/
/*
.datagrid-htable {
    color: #fff;
}

.datagrid-header, .datagrid-td-rownumber {
    background-color: #8CBF26;
    background: -webkit-linear-gradient(top,#8CBF26 0,#8CBF26 100%);
    background: -moz-linear-gradient(top,#8CBF26 0,#8CBF26 100%);
    background: -o-linear-gradient(top,#8CBF26 0,#8CBF26 100%);
    background: linear-gradient(to bottom,#8CBF26 0,#8CBF26 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8CBF26,endColorstr=#8CBF26,GradientType=0);
}

.datagrid-view1 .datagrid-header {
    background-color: #4086CD;
    background: -webkit-linear-gradient(top,#4086CD 0,#4086CD 100%);
    background: -moz-linear-gradient(top,#4086CD 0,#4086CD 100%);
    background: -o-linear-gradient(top,#4086CD 0,#4086CD 100%);
    background: linear-gradient(to bottom,#4086CD 0,#4086CD 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4086CD,endColorstr=#4086CD,GradientType=0);
}

    .datagrid-view1 .datagrid-header td.datagrid-header-over {
        background: #669ED7;
    }

.datagrid-view2 .datagrid-header td.datagrid-header-over {
    background: #A4D838;
}

.datagrid-row {
    background: #f5f5f5;
}



.datagrid-view1 .datagrid-row {
    background: #D9E7F5;
}

.datagrid-view1 .datagrid-row-alt {
    background: #CEDBE9;
}

.datagrid-row-selected {
    background-color: #789FCA!important;
}
*/
.datagrid-row-alt {
    background: #EEEEEE;
}
.datagrid-row-selected {
    background: #0092DC
}

/*去掉datagrid中单元格之间的线*/
.datagrid-body td{
    border-bottom:1px dotted transparent;   /*去掉竖线*/        
    /*border-right:1px dotted transparent;*/  /*去掉横线*/        
}

.pagination-page-list, .pagination-num {
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

.pagination-first {
    background: url('images/pagination_icons.png') no-repeat 0 center;
}

.pagination-prev {
    background: url('images/pagination_icons.png') no-repeat -16px center;
}

.pagination-next {
    background: url('images/pagination_icons.png') no-repeat -32px center;
}

.pagination-last {
    background: url('images/pagination_icons.png') no-repeat -48px center;
}

.pagination-load {
    background: url('images/pagination_icons.png') no-repeat -64px center;
}

.pagination a.l-btn {
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
  text-align: center;
  vertical-align: middle;
}
.pagination a.l-btn:hover {
  background: #e2e2e2;
  color: #000000;
  /*border: 1px solid #ccc;*/
  filter: none;
}
.pagination a.l-btn-plain {
  background: transparent;
  border: 0;
  filter: none;
}
.pagination a.l-btn-plain:hover {
  background: #e2e2e2;
  color: #000000;
  /*border: 1px solid #ccc;*/
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}
/*----------------------- components style -----------------------*/
.datebox .combo-arrow {
    background: url('images/datebox_arrow.png') no-repeat center center!important;
}

.combo-arrow {
    background: url('images/combo_arrow.png') no-repeat center center;
}

.progressbar-value .progressbar-text {
    background-color: #56A4F6;
    color: #333;
}

.calendar-selected {
    background-color: #56A4F6;
    color: #fff;
    border: 1px solid #56A4F6;
    padding: 0;
}

/*----------------------- window style -----------------------*/
.window {
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    background-color: #56A4F6;
    background: -webkit-linear-gradient(top,#56A4F6 0,#56A4F6 20%);
    background: -moz-linear-gradient(top,#56A4F6 0,#56A4F6 20%);
    background: -o-linear-gradient(top,#56A4F6 0,#56A4F6 20%);
    background: linear-gradient(to bottom,#56A4F6 0,#56A4F6 20%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#56A4F6,endColorstr=#56A4F6,GradientType=0);
    padding: 0px;
    border: none;
}

.window-shadow {
    background: transparent;
    -moz-box-shadow: 2px 2px 3px transparent;
    -webkit-box-shadow: 2px 2px 3px transparent;
    box-shadow: 2px 2px 3px transparent;
    filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=0,MakeShadow=false,ShadowOpacity=0);
}


.window div.panel-title {
    padding: 5px 10px;
    line-height: 24px;
    color: #fff;
    font-size: 14px;
}


.window div.panel-header-noborder {
    border-width: 0px;
    border-color: #56A4F6;
}


.window .window-header .panel-tool {
    right: 2px;
    top: 0px;
    margin-top: 0px;
    /*width: 30px;*/
    height: 30px;
}

.panel-tool a {
    width: 30px!important;
    height: 30px!important;
    -moz-border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    margin: 2px;
}

    .panel-tool a:hover {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        border-radius: 0px 0px 0px 0px;
        background-color: #8CBF26!important;
    }

.panel-tool-expand {
    background: url('images/panel_tools_expand_b.png') no-repeat 0px 0px!important;
}

    .panel-tool-expand:hover {
        background: url('images/panel_tools_expand.png') no-repeat 0px 0px!important;
    }

.panel-tool-collapse {
    background: url('images/panel_tools_collapse_b.png') no-repeat 0px 0px;
}

    .panel-tool-collapse:hover {
        background: url('images/panel_tools_collapse.png') no-repeat 0px 0px;
    }

.panel-tool-min {
    background: url('images/panel_tools_min_b.png') no-repeat 0px 0px;
}

    .panel-tool-min:hover {
        background: url('images/panel_tools_min.png') no-repeat 0px 0px;
    }

.panel-tool-max {
    background: url('images/panel_tools_max_b.png') no-repeat 0px 0px;
}

    .panel-tool-max:hover {
        background: url('images/panel_tools_max.png') no-repeat 0px 0px;
    }

.panel-tool-restore {
    background: url('images/panel_tools_restore_b.png') no-repeat 0px 0px;
}

    .panel-tool-restore:hover {
        background: url('images/panel_tools_restore.png') no-repeat 0px 0px;
    }

.panel-tool-close {
    background: url('images/panel_tools_close_b.png') no-repeat 0px 0px;
}

    .panel-tool-close:hover {
        background: url('images/panel_tools_close.png') no-repeat 0px 0px;
    }
/*   
.l-btn {
    color: #333;
    background: #56A4F6;
    background-repeat: repeat-x;
    border: 1px solid #56A4F6;
    background: -webkit-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: -moz-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: -o-linear-gradient(top,#56A4F6 0,#56A4F6 100%);
    background: linear-gradient(to bottom,#56A4F6 0,#56A4F6 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#56A4F6,endColorstr=#56A4F6,GradientType=0);
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

    .l-btn:hover {
        background: #8CBF26;
        color: #fff;
        border: 1px solid #8CBF26;
        filter: none;
    }
*/
.dialog-button {
    text-align: center;
}

.dialog-button .l-btn {
    padding: 1px 15px;
}

/*----------------------- tree style -----------------------*/
.tree-node {
    height: 30px;
    background-color: #D9E7F5;
    margin-bottom: 1px;
}

    /*.tree-node:last-child {
        margin-bottom: 0px;
    }*/

.tree-node-hover {
    background-color: #56A4F6;
}

.tree-node-selected {
    background-color: #56A4F6;
}

.tree-title {
    height: 30px;
    line-height: 30px;
}

.tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent {
    margin: 6px 0px;
}

/*-------------------- messager style --------------------*/
.messager-window {
    width: 400px;
}

    .messager-window > .window-header {
        width: 400px;
    }

.messager-body {
    text-align: center;
    width: 378px;
}

    .messager-body > div {
        margin: 10px auto;
    }

.messager-icon {
    float: initial;
    width: 128px;
    height: 128px;
    margin: 0px auto;
}

.messager-body .messager-input {
    padding-top: 8px;
    padding-bottom: 8px;
}

.messager-info {
    background: url('images/message_info.png') no-repeat center center;
}

.messager-error {
    background: url('images/message_error.png') no-repeat center center;
}

.messager-question {
    background: url('images/message_question.png') no-repeat center center;
}

.messager-warning {
    background: url('images/message_alert.png') no-repeat center center;
}

/*----------------------- fullcalendar extend style -----------------------*/

.fc-icon {
    font-family: "Microsoft YaHei", Verdana, Helvetica, Sans-Serif!important;
}

.fc-toolbar {
    background-color: #4086CD!important;
    margin: auto!important;
    padding: 10px!important;
}

    .fc-toolbar .fc-center {
        color: #fff!important;
    }

.fc-icon-left-single-arrow:after {
    color: #fff!important;
}

.fc-icon-right-single-arrow:after {
    color: #fff!important;
}

.fc-button {
    color: #fff!important;
}

.fc-state-disabled {
    color: #333!important;
    background-color: #e5e5e5!important;
}

.fc-state-default {
    background-image: none!important;
    background-color: #56A4F6;
}

.fc-state-active {
    color: #333!important;
    background-color: #e5e5e5!important;
}

.fc-state-down, .fc-state-active {
    box-shadow: none!important;
}
.fc-state-disabled {
    opacity: 1!important;
}

.fc th {
    background-color: #8CBF26;
    padding: 10px 4px;
    border-width: 0px;
    color: #fff;
}

.fc-other-month {
    background-color: #EFEFEF;
}
.fc-state-highlight{
    background-color: #4086CD!important;
    color: #fff;
}
.fc-event {
    background-color: #4086CD!important;
}

.fc-ltr .fc-axis {
    background-color: #e9e9e9;
}