body{
    color:#000000
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
    border-radius: 0px !important;
    color: #000000;
    background-color: #FFF;
    border: 1px solid #D5D5D5;
    font-size: 13px;
    font-family: inherit;
    box-shadow: none !important;
    transition-duration: 0.1s;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus{
    color: #000000;
}

.theme-basic {
    --form-padding:3px 8px 0px 8px !important;  /* form表单     padding   默认6px 8px 6px 8px */
    --label-size: 13px;                 /* form表单     字体大小 */
    --span-size: 13px;                  /* form表单     字体大小 */
    --label-minWidth: 65px;             /* form表单     字体最小宽度 */
    --minLabel-minWidth:40px;           /* form表单  miniLabel    字体最小宽度 */
    --line-height:30px;                 /* form表单     行高 */
    --input-fontSize:13px;              /* form表单     input内部字体大小 */
    --input-padding:2px 0px !important;
    --input-height:25px;                /* form表单     input高度 */
    --input-width:100%;                /* form表单     input宽度 */
    --select-padding:3px 4px;           /* form表单     select内边距 */
    --select-height:25px;               /* form表单     select高度 */
    --select-fontSize:13px;             /* form表单     select字体大小 */
    --select-width:90%;                /* form表单     select宽度 */
    --form-bgcolor:#f5f5f5;         /* form表单     背景颜色 */
    --form-tcolor:#393939;         /* form表单     字体颜色 */
    --formLine-height:1px;
    --formLine-background-color:#CCC;
    --formLine-margin:5px -8px;
    --jqgrid-header-height:32px !important;                 /* jqgrid     header高度 */
    --jqgrid-header-line-height:9px !important;             /* jqgrid     header行高 */
    --jqgrid-body-padding : 4px 4px;               /* jqgrid     行padding */
    --jqgrid-body-fontSize : 13px;               /* jqgrid    字体大小 */
    --editForm-bgcolor:#FFFFFF;         /* editForm表单     背景颜色 */
    --editForm-row-border-bottom:1px dotted #DCEBF7;    /* editForm表单     行底部边框 */
    --editForm-line-height: 30px;             /* editForm表单     行高 */
    --editForm-fontSize: 13px;             /* editForm表单     字体大小 */
    --editForm-fontColor: cornflowerblue;             /* editForm表单     字体大小 */
    --editForm-labelColor: #393939;             /* editForm表单     字体大小 */
    --editForm-annotation-fontSize :13px;               /* editForm表单     注释字体大小 */
    --editForm-annotation-fontColor :cornflowerblue;               /* editForm表单     注释字体颜色 */


    /* 自定义CLASS */
    --searchForm-height : calc(100% - 6px);                 /* searchForm    高度 */
    --searchForm-margin : 3px 0px;                              /* searchForm    外边距margin */
    --searchForm-border : 2px solid #ffc500fa;              /* searchForm    边框border */
    --searchForm-bgColor : #f5f5f5;              /* searchForm    背景颜色 */
    --searchForm-color : #7a7a7a;              /* searchForm    字体颜色 */

    --annotation-vertical-align:middle;          /* annotation    行高居中 */
    --annotation-color:#790909 !important;          /* annotation    字体颜色 */
    --annotation-fontSize:13px;          /* annotation    字体大小 */
    --annotation-fontWeight:normal !important;          /* annotation    字体粗细 */

    --gridMenu-width:calc(33.33% - 4px);               /* gridMenu    默认宽度 */
    --gridMenu-height:60px;               /* gridMenu    默认高度 */
    --gridMenu-overflow:hidden;               /* gridMenu    超出隐藏 */



}

.theme-second {
    --form-padding:6px 8px 6px 8px !important;  /* form表单     padding   默认6px 8px 6px 8px */
    --label-size: 12px;                 /* form表单     字体大小 */
    --span-size: 12px;                  /* form表单     字体大小 */
    --label-minWidth: 65px;             /* form表单     字体最小宽度 */
    --minLabel-minWidth:40px;           /* form表单  miniLabel    字体最小宽度 */
    --line-height:28px;                 /* form表单     行高 */
    --input-fontSize:11px;              /* form表单     input内部字体大小 */
    --input-height:22px;                /* form表单     input高度 */
    --input-width:90%;                /* form表单     input宽度 */
    --select-padding:0px;           /* form表单     select内边距 */
    --select-height:22px;               /* form表单     select高度 */
    --select-fontSize:12px;             /* form表单     select字体大小 */
    --select-width:90%;                /* form表单     select宽度 */
    --jqgrid-header-height:34px !important;                 /* jqgrid     header高度 */
    --jqgrid-header-line-height:9px !important;             /* jqgrid     header行高 */
    --jqgrid-body-padding : 6px 4px;               /* jqgrid     行padding */
    --jqgrid-body-fontSize : 13px;               /* jqgrid    字体大小 */
    --editForm-row-border-bottom:1px dotted #DCEBF7;    /* editForm表单     行底部边框 */
    --editForm-line-height: 30px;             /* editForm表单     行高 */
    --editForm-fontSize: 15px;             /* editForm表单     字体大小 */
    --editForm-fontColor: cornflowerblue;             /* editForm表单     字体大小 */
    --editForm-annotation-fontSize :12px;               /* editForm表单     注释字体大小 */
    --editForm-annotation-fontColor :cornflowerblue;               /* editForm表单     注释字体颜色 */


    /* 自定义CLASS */
    --searchForm-height : calc(100% - 6px);                 /* searchForm    高度 */
    --searchForm-margin : 3px;                              /* searchForm    外边距margin */
    --searchForm-border : 2px solid #ffc500fa;              /* searchForm    边框border */
    --searchForm-bgColor : #f5f5f5;              /* searchForm    背景颜色 */
    --searchForm-color : #7a7a7a;              /* searchForm    字体颜色 */

    --annotation-vertical-align:middle;          /* annotation    行高居中 */
    --annotation-color:#790909;          /* annotation    字体颜色 */
    --annotation-fontSize:13px;          /* annotation    字体大小 */
    --annotation-fontWeight:normal;          /* annotation    字体粗细 */

    --gridMenu-width:calc(33.33% - 4px);               /* gridMenu    默认宽度 */
    --gridMenu-height:60px;               /* gridMenu    默认高度 */
    --gridMenu-overflow:hidden;               /* gridMenu    超出隐藏 */
}

.qckModal{
    --qckModal-jqgrid-header-height:32px !important;                 /* jqgrid     header高度 */
    --qckModal-jqgrid-header-line-height:9px !important;             /* jqgrid     header行高 */
}


.custom_form{
    margin: 0px;
    background-color: var(--form-bgcolor) !important;
    color: var(--form-tcolor);
}

.custom_form form div{
    line-height: var(--line-height) ;
}
.custom_form form label{
    font-size: var(--label-size) ;
    line-height: var(--line-height) ;
    min-width: var(--label-minWidth) !important;
}
.custom_form form label.btn-xs{
    font-size: var(--label-size) ;
    line-height: 26px;
    min-width: var(--label-minWidth) !important;
}
.custom_form form label.btn-xs.active{
    font-size: var(--label-size) ;
    line-height: 26px;
    min-width: var(--label-minWidth) !important;
    background-color: #5fa6d3 !important;
    border-color: #4396cb;
    color:#FFFFFF !important;
}
.custom_form form label.btn-xs.active::after{
    border-color: #FFFFFF;
}
.custom_form.miniLabel form label{
    font-size: var(--label-size) ;
    line-height: var(--line-height) ;
    min-width: var(--minLabel-minWidth) !important;
}
/* .custom_form span{
    font-size: var(--span-size) ;
    line-height: var(--line-height) ;
} */
.custom_form form input{
    font-size: var(--input-fontSize) ;
    height: var(--input-height) ;
    width: var(--input-width);
    line-height: var(--line-height) ;
    padding: var(--input-padding) !important ;
}
.custom_form form select{
    padding: var(--select-padding) ;
    height: var(--select-height) ;
    font-size: var(--select-fontSize) ;
}
.custom_form form .formLine{
    height:var(--formLine-height);
    background-color:var(--formLine-background-color);
    margin:var(--formLine-margin);
}

/* 编辑表单 */
.custom_edit_form{
    margin: 0px;
    background-color: var(--editForm-bgcolor);
    /* color: var(--editForm-labelColor); */
}
.custom_edit_form form .editFormRow{
    border-bottom: var(--editForm-row-border-bottom);
}
.custom_edit_form form div{
    line-height: var(--editForm-line-height) ;
}
.custom_edit_form form label{
    font-size: var(--label-size) ;
    line-height: var(--line-height) ;
    min-width: var(--label-minWidth) !important;
}

.custom_edit_form.miniLabel form label{
    font-size: var(--label-size) ;
    line-height: var(--line-height) ;
    min-width: var(--minLabel-minWidth) !important;
}

.custom_edit_form .editable{
    color: var(--editForm-fontColor) !important;
    font-size: var(--editForm-fontSize) !important;
    
}

.custom_edit_form .annotation{
    vertical-align: var(--annotation-vertical-align);
    color: var(--editForm-annotation-fontColor) !important;
    font-size: var(--editForm-annotation-fontSize) !important;
    font-weight: var(--annotation-fontWeight) !important;
    white-space: nowrap;  /*强制span不换行*/
    width: 100%;  /*限制宽度 可设px*/
    overflow: hidden;  /*超出宽度部分隐藏*/
    text-overflow: ellipsis;  /*超出部分以点号代替*/
}

.custom_edit_form .formLine{
    height:var(--formLine-height);
    background-color:var(--formLine-background-color);
    margin:var(--formLine-margin);
}

/* form表单padding */
#customRedirectBox .widget-main,#screenPart .widget-main {
    padding: var(--form-padding) !important;
}


.custom-template .ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize,.qckModal .ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize{
    height: var(--jqgrid-header-height) !important;
}
.custom-template .ui-jqgrid .ui-jqgrid-hdiv,.qckModal .ui-jqgrid .ui-jqgrid-hdiv{
    line-height: var(--jqgrid-header-line-height) !important;
}
.custom-template .ui-jqgrid tr.ui-row-ltr td,.custom-template .ui-jqgrid tr.ui-row-rtl td,.qckModal .ui-jqgrid tr.ui-row-ltr td,.qckModal .ui-jqgrid tr.ui-row-rtl td{
    padding: var(--jqgrid-body-padding) ;
    font-size: var(--jqgrid-body-fontSize) ;
}

.custom-template .ui-jqgrid tr.jqgrow td[aria-describedby$='_table_cb']{
    padding: 0px ;
}

.custom-template .ui-jqgrid tr.jqgrow td[aria-describedby$='_table_cb'] span.lbl{
    line-height: 27px;
    min-height: 18px;
    min-width: 25px;
}

.custom-template .ui-jqgrid tr.jqgrow td[aria-describedby$='_table_cb'] input[type=checkbox].ace{
    width: 25px;
    height: 27px;
    margin: -1px;
}

.qckModal .ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize{
    height: var(--qckModal-jqgrid-header-height) !important;
}
.qckModal .ui-jqgrid .ui-jqgrid-hdiv{
    line-height: var(--qckModal-jqgrid-header-line-height) !important;
}
.qckModal .ui-jqgrid tr.ui-row-ltr td,.qckModal .ui-jqgrid tr.ui-row-rtl td{
    padding: var(--jqgrid-body-padding) ;
    font-size: var(--jqgrid-body-fontSize) ;
}

/* 查询组件 */
.searchForm{
    height: var(--searchForm-height);
    margin: var(--searchForm-margin);
    border: var(--searchForm-border);
    background-color: var(--searchForm-bgColor);
    color: var(--searchForm-color);
}

/* 注释 */
.annotation{
    vertical-align: var(--annotation-vertical-align);
    color:var(--annotation-color) !important;
    font-size: var(--annotation-fontSize);
    font-weight: var(--annotation-fontWeight) !important;
}

div[data-cptype="gridMenu"] .gridMenu{
    overflow:  var(--gridMenu-overflow) !important;
    width: var(--gridMenu-width) !important;
    height: var(--gridMenu-height) !important;
}

div[data-type="quickModal"] .editable-container.editable-inline,div[data-type="quickModalEdit"] .editable-container.editable-inline{
    width: calc(100% - 20px) !important;
}

.toolbar_btn_left .toolbar_btn{
    float: left !important;
    padding:0px !important;
}
.toolbar_btn_left .toolbar_btn:before{
    border:0px !important;
}



















/* 重写CSS样式 */
.custom_form form input.input-mini {
    width: 60px;
    max-width: 100%;
}
.custom_form form input.input-small {
    width: 90px;
    max-width: 100%;
}
.custom_form form input.input-medium,
.custom_form form input.input-md {
    width: 150px;
    max-width: 100%;
}
.custom_form form input.input-large {
    width: 210px;
    max-width: 100%;
}
.custom_form form input.input-xlarge {
    width: 270px;
    max-width: 100%;
}
.custom_form form input.input-xxlarge {
    width: 530px;
    max-width: 100%;
}

.editable-empty{
    display: inline;
}



textarea[readonly]{
    color: #939192;
    background: #f5f5f5 !important;
    cursor: default;
}

input[type=checkbox].gridMultiBtn.ace.ace-switch.ace-switch-6 + .lbl::before{
    content:"单" !important;
    font-size:13px !important;
}

input[type=checkbox].gridMultiBtn.ace.ace-switch.ace-switch-6:checked + .lbl::before{
    content:"多" !important;
    font-size:13px !important;
}

.pointer-none{
    pointer-events:none;
}
.pointer-none a,.pointer-none a i{
    background-color: #eee !important;
    color: #9a9a9a !important;
}

a[disabled=disabled]{
    pointer-events:none;
    background-color: #eee !important;
    color: #9a9a9a !important;
}

#header_text{
    font-size: 15px;
}

#titleBtn .btn-group button.btn:not(.dropdown-toggle){
    min-width: 80px;
    margin-left: 2px;
}

#titleBtn .btn-white .caret{
    border-top-color: #6fb3e0;
}

#titleBtn .btn-info .caret{
    border-top-color: #5A5A5A !important;
}

/* editable 模态 里input框最小宽度 */
.popover.editable-container.editable-popup input{
    min-width: 80px;
}

.bg-white{
    background-color: #FFFFFF;
}

li.focusDefault{
    border-right-color: #2b7dbc !important;
}
li.focusDefault:after{
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    border: 8px solid transparent;
    border-width: 14px 10px;
    border-right-color: #2b7dbc;
}

.gritter-center-20{
    width: 20%;
    position: fixed;  
    margin: 0 auto; /*水平居中*/
    top: 50%; /*偏移*/
    transform: translateY(-50%);
}
.gritter-center-20 .gritter-close{
    display: block !important;
}

/* 20211221 by:swx */
input[type=checkbox].ace.cbox:checked + .lbl::before,
input[type=radio].ace.cbox:checked + .lbl::before {
  display: inline-block;
  content: '\f00c';
  background-color: #f3f3f3 !important;
  border-color: #f3f3f3 !important;
  color: #2f585d !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
}
input[type=checkbox].ace.cbox + .lbl::before,
input[type=radio].ace.cbox + .lbl::before{
    border:0px;
    background-color: #f3f3f3 !important;
}
td[aria-describedby$="_cb"]{
    background-color: #f3f3f3;
}
td[aria-describedby$="ct_brxsxm_cb"]{
    background: none;
}


/* jqgrid底部合计栏边框颜色 */
/* .ui-jqgrid tr.footrow-ltr td{
    border-color: #FFFFFF;
} */



.btn.btn-light.btn-xs{
    text-shadow: 0 1px 1px #eee !important;
    border-radius:3px;
    background: #ededed ;
    background-image: linear-gradient(to bottom, #f4f4f4 0%, #e6e6e6 100%) !important;
    background-repeat: repeat-x !important;
    color:#5a5a5a !important
}


.btn.btn-light:hover {
    background: #e0e0e0 !important;
    background-image: -webkit-linear-gradient(top, #e7e7e7 0%, #d9d9d9 100%) !important;
    background-image: -o-linear-gradient(top, #e7e7e7 0%, #d9d9d9 100%) !important;
    background-image: linear-gradient(to bottom, #e7e7e7 0%, #d9d9d9 100%) !important;
    background-repeat: repeat-x !important;
    color: #333333 !important;
}

.btn-80{
    min-width: 80px;
}

.formHeaderBtn{
    border-width: 1px !important;
    border-color: #d4dfe3;
    border-radius: 0 !important;
    color: #2283c5 !important;
    background-color: #fafafa !important;
    text-shadow:none !important;
    margin:0 2px;
    min-width: 80px;
}

.formHeaderBtn:hover{
    border-width: 1px !important;
    border-color: #d4dfe3;
    border-radius: 0 !important;
    color: #1d71a8 !important;
    background-color: #ececec !important;
}


textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"]{
    color: #000000;
}

/* 编辑过得字段 改变样式 ----------开始 */
input.editedFields,textarea.editedFields{
    background-color:#A4D3EE;
    color: #000000;
}

input.editedFields[readonly],textarea.editedFields[readonly]{
    background-color: #A4D3EE !important;
    color: #000000;
}
select.editedFields{
    background-color: #A4D3EE;
    color: #000000; 
}
select.editedFields option{
    background-color: #FFFFFF;
    color: #858585;
}
/* 编辑过得字段 改变样式 ----------结束*/



.ui-jqgrid .ui-pager-control{
    height: 100%;
}

textarea{
    line-height: 1.5;
}

.trSelected {
    background-color: #C7D3A9;
}

th[id$='_table_subgrid']{
    display: none;
}

td[aria-describedby$='_table_subgrid']{
    display: none;
}

.beforeSelectdBorder {
    border: solid 2px red !important;
}


.multiselect-container>li>a>label{
    height: 100%;
    cursor: pointer;
    font-weight: 400;
    padding: 3px 10px 3px 0px;
}

.custom_menuList li.disabled{
    pointer-events: none;
}

input[type=checkbox].ace:disabled + .lbl::before,
input[type=radio].ace:disabled + .lbl::before,
input[type=checkbox].ace[disabled] + .lbl::before,
input[type=radio].ace[disabled] + .lbl::before,
input[type=checkbox].ace.disabled + .lbl::before,
input[type=radio].ace.disabled + .lbl::before {
  background-color: #f0f0f0  !important;
  border-color: #CCC !important;
  box-shadow: none !important;
  color: #7d7d7d;
}