﻿/*#region 公共的全局初始样式*/

/***** CSS Reset *****/
/**解决所有浏览器兼容性的重置样式代码**/
/*html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}*/

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*#endregion*/

/*#region Default.aspx 首页样式 */

.topdiv {
    position: absolute;
    z-index: 1;
    background-image: url(images/bdp/emp-top-bj.gif);
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 66px;
}

.headTitle {
    height: 66px;
    min-width: 420px;
    width: e­xpression(document.body.clientWidth < 700? "800px": "auto");
    position: absolute;
    z-index: 3;
}

.headText {
    float: left;
    bottom: 0px;
    height: 66px;
    left: 0px;
    padding-top: 0px;
    padding-left: 0px;
}

.rightTitle {
    width: 242px;
    float: right;
    height: 66px;
    top: 0;
    margin: 0;
    background-image: url(images/bdp/emp-top-Convenient.gif);
    background-repeat: no-repeat;
    background-position: right;
    z-index: 2;
    position: absolute;
    right: 0px;
    padding-top: 0px;
}

#nav_left {
    padding-top: 6px;
    padding-left: 12px;
    float: left;
}

#nav_right {
    text-align: right;
    right: 0px;
    padding-top: 1px;
    padding-right: 10px;
    position: absolute;
}

.img_user {
    background: url(images/bdp/user.gif) no-repeat;
    height: 17px;
    width: 17px;
}

.img_sousuo {
    background: url('images/bdp/sousuo.gif') no-repeat;
}

/*#endregion*/

/*#region 模板页中特定元素的样式*/
/*#master_toolbar {
    position: relative;
    height: 30px;*/
/*26px;*/
/*background: url("images/grid/pager-bg.png");
    border: 0;
}*/
#master_toolbar {
    position: relative;
    height: 38px;
    /*26px;*/
    /* background: rgb(243, 255, 250) !important; */
    border: 0;
}

#master_tools {
    position: relative;
    float: left;
}

#master_search {
    position: relative;
    float: right;
    width: auto;
    padding-right: 12px;
    vertical-align: baseline;
}

/*#endregion 模板页中特定元素的样式*/

/*#region 重载om-default.css*/
.om-resizable-handle {
    z-index: 999;
}

.om-combo-clear {
    background: url("images/combo/combo-trigger.png") no-repeat scroll -114px 50% transparent;
}

.om-combo .om-combo-clear {
    cursor: pointer;
    width: 19px;
    height: 24px;
    vertical-align: top;
    /*background-color: #e6e6e6;*/
    display: inline-block;
    margin-right: 1px;
}

/*.om-buttonbar {
    height: 30px;
    background: url("images/grid/pager-bg.png");
    border: 0;
}*/
.om-buttonbar {
    height: 38px;
    background: #FFFFFF !important;
    border: 0;
    padding-top: 5px
}

.om-calendar {
    height: 24px;
}


.om-grid-summary-row {
    background-color: #daf7ce;
}

/*omButton扩展*/
.om-btn {
    height: 32px !important;
    padding: 6px 20px;
    /* margin: 0 5px; */
    margin: 0 5px;
    border-radius: 4px;
    background: #FFFFFF !important;
    border: 1px solid #FFFFFF !important;
    background-position: left 60%;
    box-sizing: border-box;
}

.om-state-disabled {
    background: #eee !important;
}

.om-state-disabled:hover {
    background: #eee !important;
    border: 1px solid #FFFFFF !important;
}

.om-state-disabled:hover:hover .om-btn-txt {
    color: #333 !important
}

.om-btn:hover {
    border-color: #c7e9c8 !important;
    background: #ecf8ed !important;
}

.om-btn:hover .om-btn-txt {
    color: #44B549 !important;
}

.om-btn .om-btn-left {
    display: none
}

.om-btn .om-btn-center {
    vertical-align: initial !important;
    text-align: center !important;
    line-height: 1 !important;
}

.om-buttonbar .om-state-default .om-btn-bg {
    height: auto !important;
}

.om-btn-txt {
    height: auto !important;
    line-height: 1 !important;
    /* color: #fff !important; */
}

.om-state-disabled {
    position: relative;
    z-index: 999;
    cursor: no-drop !important;
}

.om-btn .om-btn-right {
    display: none
}

.om-buttonbar-sep {
    display: none
}

.om-btn-span {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
    display: none;
}

/*页面资源图标*/
.om-tree ul li span.res {
    background: url("images/bdp/resource.png") no-repeat;
}

/*系统模块图标*/
.om-tree ul li span.mod {
    background: url("images/bdp/module.png") no-repeat;
}

/*单位*/
.om-tree li.om-tree-node span.common-users,
.om-tree li.om-tree-node span.company {
    background: url("/images/Academy.png") no-repeat;
}

/*部门*/
.om-tree li.om-tree-node span.dept {
    background: url("images/bdp/treedept.gif") no-repeat;
}

/*角色*/
.om-tree ul li span.role {
    background: url("images/bdp/role.png") no-repeat;
}

/*用户*/
.om-tree ul li span.user {
    background: url("images/bdp/user.gif") no-repeat;
}

.om-state-hover .bdp-refer-trigger {
    background-color: #dddddd;
}

.om-messageBox-buttonset .om-btn-center {
    width: 65px;
}

/*避免与bootstrap中div的box-sizing冲突*/
.om-grid div {
    box-sizing: content-box;
}



/*#endregion*/

/*#region 其它公共样式*/

/*#region 鼠标悬停提示信息框样式*/
.bdpTip {
    background: url(images/bdp-icons/hand.png) 5px no-repeat #14b4ab;
    /* background: #14b4ab; */
    color: #fff;
    text-align: left;
    padding: 0px 0;
    position: absolute;
    z-index: 9999;
    display: none;
    border-radius: 3px;
    box-shadow: 0 0 3px #cdcdcd;
    padding: 10px 8px 10px 30px;
}

.bdpTip-content {
    font-size: 12px;
    text-shadow: none;
}

.bdpTip-arrow {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border-style: solid;
    border-color: #14b4ab;
    border-left-color: transparent;
    border-right-color: transparent;
    content: '';
    opacity: 0.8;
}

.bdpTip-arrow-top {
    border-width: 6px 6px 0 6px;
    border-bottom-style: none;
    border-top-style: solid;
    top: 99%;
}

.bdpTip-arrow-down {
    border-width: 0 6px 6px 6px;
    border-top-style: none;
    border-bottom-style: solid;
    top: -6px;
}


/*#endregion*/

/*数据统计表格中的图形分析按钮*/
.bdp-diagram-trigger {
    width: 16px;
    height: 16px;
    border-style: none;
    border-width: 0;
    margin-left: 2px;
    cursor: pointer;
}

/*#endregion*/

/*#region 打印样式*/

.bdp-print {}

.bdp-print .bdp-dsgrid,
.bdp-print .bdp-dsgrid .om-grid,
.bdp-print .bdp-dsgrid .om-grid .bDiv {
    height: auto !important;
}




/*#endregion*/

/*#region 错误页面*/
.error_bg {
    background: url(images/bdp/error_bj.jpg) no-repeat;
    width: 550px;
    height: 450px;
    position: absolute;
    top: 50%;
    margin-top: -225px;
    left: 50%;
    margin-left: -275px;
}

.error_bg ul {
    float: left;
    list-style: none;
    margin-top: 360px;
    left: 120px;
    position: absolute;
}

.error_bg ul li {
    float: left;
    margin: 5px;
}

.error_bg ul li button {
    padding: 8px 20px;
    border-radius: 3px;
    border: none;
    color: #fff;
}

.error_bg ul li button.green {
    background: #8fc320;
}

.error_bg ul li button.blue {
    background: #3f84c7;
}

.error_bg ul li button.green:hover {
    background: #9fd824;
}

.error_bg ul li button.blue:hover {
    background: #4da0f0;
}

/*#endregion*/

/*表格样式*/
.om-borderlayout {
    /* background-color: rgb(243, 255, 250) !important; */
    background: #f9f9fb !important;
}

/*.om-widget-content {
    border: 1px solid #e7e6eb !important;
}*/
.om-widget-content {
    border-color: #e7e6eb !important;
}

.om-panel-header {
    background: #e7e8eb !important;
    border: none !important
}

.om-widget .om-widget-header {
    /* background: rgb(243, 255, 250) !important; */
    border: none !important
}


.om-widget .om-widget-header-new {
    /* background: url("images/header_bg.png") repeat-x scroll 0 0 #FFFFFF; */
    /* color: #23466D; */
    background: #fbfbfb !important;
    font-weight: bold;
}

.om-tabs .om-tabs-headers ul li.om-tabs-activated {
    /* background: rgb(60, 191, 121) !important; */
    background: #e7e8eb !important;
    border: none !important
}

.om-tabs .om-tabs-headers ul li {
    background: #FFFFFF !important;
}

.om-tabs .om-tabs-headers ul {
    border-bottom: 1px solid #e7e6eb !important;
}

.om-state-default, .om-widget-content .om-state-default, .om-widget-header .om-state-default {
    border: 1px solid #e7e6eb !important;
}

/* .om-state-default, .om-widget-content .om-state-default, .om-widget-header .default-table-cls {
    border: none !important;
} */

.om-state-default .om-btn-bg {
    background: none !important;
}

.om-grid div.bDiv td.bdpEditFormCaption, .bdpEditFormCaption {
    border-color: #e7e6eb !important;
}

.om-grid div.bDiv td.bdpEditFormCell, .bdpEditFormCell {
    border-color: #e7e6eb !important;
}

.om-dialog{
    background: #FFFFFF !important;
}