﻿.moduleNamePanel {
    background-color: white;
    padding: 10px 10px;
    box-shadow: 0 2px 1px #ddd;
    margin-right: 0;
    margin-bottom: 2px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 16px;
}

/* 阴影 */
.shadow {
  box-shadow: 0px 2px 1px #ddd;
}
/* 灰色横线分隔线 */
.grayRowLine {
  height: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}
/* 灰色横虚线分隔线 */
.grayDottedRowLine {
  height: 10px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #ccc;
}
/* 带文字说明的橙色分隔横线 */
.titleRowLine {
  height: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid orange;
  font-weight: bold;
}
/* 带文字说明的灰色分隔横线 */
.titleRowLine_gray {
  height: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
}
/* 带文字说明的灰色分隔横线 */
.titleRowLine_gray_dotted {
  height: 25px;
  margin-bottom: 10px;
  border-bottom: 1px dotted #ccc;
  font-weight: bold;
}
/* 灰色右边线 */
.grayRightLine {
  width: 5px;
  height: 60%;
  margin-right: 5px;
  border-right: 1px dotted gray;
  vertical-align: middle;
}
/*****************  面板控件开始 **********************/
/* 下方带阴影的面板，用于工作平台等地方 */
.panelBlock {
  box-shadow: 0px 2px 1px #ddd;
  margin-bottom: 10px;
  background-color: white;
  margin-right: 0px;
  border-radius: 3px;
}

/* 用于在 Panel 下面再嵌入 Panel，有明显的线 */
.subPanelBlock {
  border: 1px solid #ccc;
  margin-bottom: 20px;
  background-color: white;
  margin-right: 0px;
  border-radius: 3px;
}

/* 带浮动风格，并且带阴影的面板 */
.flatPanelBlock {
  box-shadow: 0px 2px 1px #ddd;
  margin-bottom: 20px;
  background-color: white;
  margin-right: 0px;
  border-radius: 3px;
  float: left;
}
/* 自动占用全部高度的 Panel */
.fullHeightPanelBlock {
  box-shadow: 0px 2px 1px #ddd;
  margin-bottom: 0px;
  background-color: white;
  margin-right: 0px;
  border-radius: 3px;
  overflow-y: auto;
}
/* 面板的标题基类 */
.panelTitle {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
}
/* 蓝色标题 */
.panelTitle_Blue {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #27a5f9;
  color: white;
}
/* 深蓝色标题 */
.panelTitle_DeepBlue {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #3156a3;
  color: white;
}
/* 红色标题 */
.panelTitle_Red {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #f86868;
  color: white;
}
/* 深红色标题 */
.panelTitle_DeepRed {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #ea4c89;
  color: white;
}
/* 绿色标题 */
.panelTitle_Green {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #149e50;
  color: white;
}
/* 灰色标题 */
.panelTitle_Gray {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #8ca2b7;
  color: white;
}
/* 浅紫色标题 */
.panelTitle_Purple {
  height: 45px;
  line-height: 45px;
  font-weight: bold;
  padding: 0px 10px;
  color: #b7c9cd;
  background-color: #8ca2b7;
  color: white;
}
/* 面板的内容区域 */
.panelContent {
  padding: 20px;
}
/*****************  CheckBox 控件 **********************/
.obCheckBox span {
  display: inline-block;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  border: 1px solid #ccc;
  margin-right: 5px;
  border-radius: 3px 3px;
}
.obCheckBox:checked span {
  display: inline-block;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  border: 1px solid #ccc;
  margin-right: 5px;
  border-radius: 3px 3px;
}
/*****************  按钮 **********************/
.normalButton {
  min-width: 100px;
}
.longButton {
  width: 130px;
}
/* 使用 FONT 实现的按钮 */
.iconButton, .iconButtonWithText {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    text-align: center;
    /*padding-top: 6px;*/
    border-radius: 3px;
}

.iconButton.smallButton {
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.iconButtonWithText {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    height: 40px;
    width: auto;
    line-height: 40px;
    padding: 0px 10px;
}

.iconButtonWithText.smallButton {
    height: 22px;
    line-height: 22px;
    padding: 0px 5px;
}

.iconButton:hover, .iconButtonWithText:hover, .iconButton.active, .iconButtonWithText.active {
    background-color: rgba(50, 50, 50, 0.2);
}

.iconButton.Active, .iconButtonWithText.Active {
    background-color: rgba(50, 50, 50, 0.2);
}

.buttonSpliter {
    width: 5px;
    /*height: 20px; */
    text-align: center;
    padding-top: 2px;
    /*line-height: 14px; */
    border-left: 1px dotted #999;
    background-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    color: rgb(51, 122, 183);
    cursor: auto;
    display: inline;
    text-decoration: none;
    margin-right: 5px;
}


/*****************  高亮显示一个元素 **********************/
/* 灰色，鼠标在上面时高亮 */
.hightLight_gray:hover {
    background-color: rgba(50, 50, 50, 0.4); /*#EEE;*/
}
/*****************  Label 元件 **********************/
.editLabel {
  font-weight: bold;
  color: #555;
}
/* 用于显示错误信息 */
.errorLabel {
  color: #ea4c89;
}
/* 用于指明字段是非空 */
.labelNotNull {
  color: #ea4c89;
}
/* 非空字段后面加 * */
.labelNotNull:after {
  content: " *";
}
/*****************  弹出消息自定义风格(PopupMessage函数) **********************/
.modal-open {
  overflow: auto;
  padding: 0 !important;
}
.modal.msg-popup {
  top: auto;
}
.modal.msg-popup .modal-dialog {
  width: 300px !important;
  margin: 30px auto 60px;
}
.modal.msg-popup .modal-body {
  background-color: #000;
  color: #fff;
}
.modal.msg-popup .modal-content {
  border: none;
}

/*****************  浮动弹出层箭头 **********************/

._popupDiv>.arrow, ._popupDiv>.arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

._popupDiv>.arrow {
  border-width: 11px;
}

._popupDiv.left>.arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0,0,0,.25);
}

._popupDiv.right>.arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0,0,0,.25);
  border-left-width: 0;
}

._popupDiv.bottom>.arrow {
  top: 0;
  left: 20px;
  margin-top: 20px;
  border-right-color: #999;
  border-right-color: rgba(0,0,0,.25);
  border-left-width: 0;
}

._popupDiv.left>.arrow:after {
  right: 1px;
  bottom: -10px;
  content: " ";
  border-right-width: 0;
  border-left-color: #fff;
}
._popupDiv>.arrow:after {
  content: "";
  border-width: 10px;
}

._popupDiv.right>.arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}

._popupDiv.bottom>.arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}

._popupDiv>.arrow:after {
  content: "";
  border-width: 10px;
}

/***************** OA 系统已经确认的页签 **********************/
.TabPage {
    height: 42px;
    line-height: 30px;
    padding-left: 0px;
}

.TabPage .TabItem {
    display: inline-block; 
    margin-right: 20px;
}

.TabPage .TabItemText {
    border-bottom: 3px solid transparent;
    color: gray;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    float: left;
}

.TabPage .TabItemText:hover {
    border-bottom: 3px solid silver;
}

.TabPage .TabItemText.active {
    border-bottom: 3px solid #0384ce;
    color: #0384ce;
    font-weight: bold;
}

.TabPage .TableItemBadgeDiv {
    width: 30px; 
    display: inline-block; 
    position: relative; 
    height: 30px; 
    line-height: 30px; 
    float: left;
}

.Badge {
    font-size: 8px;
    font-family: serif;
    font-weight: normal;
    background-color: gray;
    border-radius: 3px;
    margin-top: -5px;
    padding: 1px 2px;
    width: 25px;
    height: 13px; 
    line-height: 13px; 
    position: absolute; 
    left: 0px; 
    top: 3px;
}

.TabPageBadgeActive {
    background-color: #0384ce;
}


/***************** OA下划线形式的编辑器 **********************/

.LineEdit {
    border: none;
    border-bottom: 1px dotted silver;
    border-radius: 0px;
    box-shadow: none;
    display: inline-block;
    width: calc(100% - 80px);
    margin-left: 5px;
}

.LineEditNoLabel {
    border: none;
    border-bottom: 1px dotted silver;
    border-radius: 0px;
    box-shadow: none;
    display: inline-block;
    width: 100%;
    margin-left: 5px;
}

.LineEditWith100WidthLabel {
    border: none;
    border-bottom: 1px dotted silver;
    border-radius: 0px;
    box-shadow: none;
    display: inline-block;
    width: calc(100% - 110px);
    margin-left: 5px;
}
    
.LineEditLabel {
    display: inline-block;
    width: 70px;
    text-align: right;
}

.LineEditLabel50Width {
    display: inline-block;
    width: 50px;
    text-align: right;
}
.LineEditLabel100Width {
    display: inline-block;
    width: 100px;
    text-align: right;
}


/***************** 无边框的编辑器类，一般用于嵌入到表格进行输入 **********************/


.NoBorderEdit {
    border: none;
    /*display: inline-block;
    width: calc(100% - 80px);
    margin-left: 5px;*/
    outline: none;
    height: 34px;
}

.NoBorderEditButton {
    border: none;
    border-radius: 0px;
}


/***************** 标签宽度固定的标签的编辑器类 **********************/

.NormalEdit {
    display: inline-block;
    width: calc(100% - 90px);
    margin-left: 5px;
    /*line-height: 34px;*/
}
    
.NormalEditLabel {
    display: inline-block;
    width: 75px;
    text-align: right;
    margin-right: 5px;
}

.NormalEditFlatLabel {
    display: inline-block;
    width: 79px;
    text-align: right;
    margin-right: 5px;
    float: left;
    margin-top: 5px;
    padding-right: 3px;
}



.NormalEditLabel_100Width {
    display: inline-block;
    width: 100px;
    text-align: right;
    margin-right: 5px;
}

.NormalEdit_100Width {
    display: inline-block;
    width: calc(100% - 115px);
    margin-left: 5px;
    /*line-height: 34px;*/
}

.NormalEditFlatLabel_100Width {
    display: inline-block;
    width: 104px;
    text-align: right;
    margin-right: 5px;
    float: left;
    margin-top: 5px;
    padding-right: 3px;
}



/*实现从“XX”至"XX"类型的控件*/
.EditFromToContainer {
    /*line-height: 35px;*/
}

/*编辑器*/
.EditFromToContainer .FromEdit, .EditFromToContainer .ToEdit {
    float: left;
    width: calc(50% - 15px);
}

/*到XX标签*/
.EditFromToContainer .ToLabel {
    width: 30px;
    text-align: center;
    float: left;
}


/******** 新消息提示红圆点  *****/

.NotifyRedPoint {
    display: inline-block;
    background-color: #E74C3C;
    width: 7px;
    height: 7px;
    border-radius: 7px;
    position: absolute;
    right: -5px;
    top: 0px;
    /*float: left;*/
}


/******** 其它  *****/

.staticText {
    height: 25px;
    line-height: 25px;
}