/*所有*/
.jw-hide {
    display: none !important;
}

.h-center {
    text-align: center!important;
}

/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 13px;
    height: 10px;
    background-color: #f5f5f5;
}

/*定义滚动条的轨道，内阴影及圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

/*定义滑块，内阴影及圆角*/
::-webkit-scrollbar-thumb {
    /*width: 10px;*/
    height: 20px;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #74b0f4;
}

#jbox-iframe {
    height: 98%;
}

/* ------------------头像------------------ */

#nameImagePreview li {
    padding-top: 0 !important;
    margin-bottom: 5px;
}

#nameImagePreview img {
    border-radius: 100%;
    box-shadow: 0 2px 2px grey;
}

#nameImagePreview img + a {
    display: none;
}

/* ------------------数据编辑/保存表单调整------------------ */
.form-horizontal .control-group {
    border-bottom: none;
}

.form-horizontal .control-label {
    width: 100px;
}

.form-horizontal .control-label + .controls {
    margin-left: 120px;
    overflow: inherit;
}

.form-horizontal .form-actions {
    padding-left: 120px;
    background-color: transparent;
}

.widthauto {
    width: auto !important;
}

.layui-tab-title {
    margin-bottom: 8px !important;
}

.form-horizontal textarea.layui-textarea {
    width: 66%;
}

.input-append {
    /*float: left;*/
}

.treeinput {
    margin-right: 0 !important;
}

.treeinput + .layui-btn {
    margin-left: -51px;
}

.layui-input[type="file"] {
    float: left;
    width: 190px;
    margin-right: 10px;
    border: none;
    padding: 5px 0 0;
}

.layui-input-inline:not(.original-layui) textarea, .layui-input-block:not(.original-layui) textarea {
    width: 380px !important;
}

.layui-form-label + .layui-input-block:not(.original-layui) {
    float: left;
    margin-left: 0 !important;
}

.layui-input-block + .layui-word-aux {
    margin-left: 10px;
}

/* ------------------数据列表查询表单调整------------------ */
.breadcrumb {
    padding: 20px 10px;
}

.breadcrumb .layui-input-inline, .breadcrumb .layui-inline {
    margin-right: 0 !important;
}

.breadcrumb .layui-form-item, .breadcrumb .layui-inline {
    margin-bottom: 0;
}

.breadcrumb [type='submit'] {
    margin-left: 28px;
}

/* 应对无法使用radiobuttions的title无法生成 */
.nextClosely + div.layui-form-radio,
.jw-layui-radio + div.layui-form-radio{
    padding-right: 0;
    margin-right: 0;
}
.nextClosely + div.layui-form-radio + label,
.jw-layui-radio + div.layui-form-radio + label {
    margin-right: 20px;
}
.jw-layui-checkbox + div.layui-form-checkbox{
    margin-right: 12px;
}
.jw-layui-checkbox + div.layui-form-checkbox + label{
    margin-right: 20px!important;
}

div.layui-form-radio + label {
    position: relative;
    top: 2px;
    margin-right: 10px;
}

input[type="checkbox"] + [lay-skin="primary"] + label {
    position: relative;
    top: 6px;
    margin-right: 10px;
}

.layui-input-block #filesPreview li {
    padding-top: 8px !important;
    padding-bottom: 8px;
}

.layui-input-block #filesPreview li a:last-child {
    color: red;
}

.formradio + .layui-word-aux {
    float: none;
}

.datebetween {
    width: 163px !important;
    display: inline-block !important;
}

.layui-input-inline label.error {
    background-position-y: 3px !important;
}

.layui-input-block label.error {
    height: 23px;
    background-position-y: 10px !important;
}

.btn-list .layui-btn {
    margin: 0 10px 10px 0 !important;
}

.jw-message-close {
    border-radius: 999px;
    border-color: transparent;
    background-color: red;
    color: white;
}

/* ------------------表格固定 A------------------ */
/* https://www.jianshu.com/p/8e6751b6c10f */
/* https://www.jianshu.com/p/e217905e8b87 */
.jw-table-striped-wrapper {overflow:auto;width:100%;height:495px; /* 固定高度 *//*border:1px solid gray;*/border-bottom: 0;border-right: 0;}

/* 优先级 中 */
.jw-table-striped-wrapper.jtsw150 th,
    .jw-table-striped-wrapper.jtsw150 td {width: 150px;}
.jw-table-striped-wrapper.jtsw130 th,
    .jw-table-striped-wrapper.jtsw130 td {width: 130px;}
/* 实现换行 */
.jw-table-striped-wrapper.jtsw-cell-break-word th,
    .jw-table-striped-wrapper.jtsw-cell-break-word td {word-break: break-word;white-space: normal;-ms-word-wrap: break-word;word-wrap: break-word;}
/* 单词保持不被截断 */
.jw-table-striped-wrapper .jtsw-keep-word {word-break: keep-all;white-space: normal;-ms-word-wrap: normal;word-wrap: normal;}

.jw-table-striped-wrapper .table-striped {margin: 0;}
.jw-table-striped-wrapper .table-striped {table-layout: fixed;width: 100%;}
.jw-table-striped-wrapper .table-striped thead tr th {position: sticky;top: -1px;	/* 第一列最上可设置为0，但是固定情况下行上方会看到底部行的文字等信息 */z-index: 100;}
/* 优先级 低 */
.jw-table-striped-wrapper .table-striped td,
    .jw-table-striped-wrapper .table-striped th {min-width:100px;height:30px;box-sizing: border-box;/*border-right :1px solid gray;*//*border-bottom :1px solid gray;*/}
/*首列固定*/
.jw-table-striped-wrapper .table-striped td:first-child,
    .jw-table-striped-wrapper .table-striped th:first-child {position:sticky;left:-1px; /* 首行在左 */z-index:101;background-color: #F5F5F5;}
.jw-table-striped-wrapper .table-striped th:first-child {z-index:102;background-color:lightblue;}
/*尾列固定*/
.jw-table-striped-wrapper .table-striped td:last-child.op-col,
    .jw-table-striped-wrapper .table-striped th:last-child.op-col {position:sticky;right:-1px; /* 首行在左 */z-index:101;background-color: #F5F5F5;}
.jw-table-striped-wrapper .table-striped th:last-child.op-col {z-index:102;background-color:lightblue;text-align:center;}
/*其它*/
/* 优先级 高 */
.jw-table-striped-wrapper .table-striped .jtsw50 {width: 50px;}
.jw-table-striped-wrapper .table-striped .jtsw100 {width: 100px;}
.jw-table-striped-wrapper .table-striped .jtsw130 {width: 130px;}
.jw-table-striped-wrapper .table-striped .jtsw150 {width: 150px;}
.jw-table-striped-wrapper .table-striped .jtsw200 {width: 200px;}
.jw-table-striped-wrapper .table-striped .jtsw250 {width: 250px;}
.jw-table-striped-wrapper .table-striped .jtsw300 {width: 300px;}
.jw-table-striped-wrapper .table-striped .jtsw-center {text-align: center;}
/* ------------------表格固定 B------------------ */
