/*
* 此样式文件是自定义文件，注意起名字不要跟其他样式文件冲突
* 样式名称全部以westar-开头
*/
html, body {
    height: 100%;
}

body.westar-bg-white {
    background: #fff;
}

body.westar-bg-white {
    background: #fff;
    min-height: 100%;
    height: auto !important;
}

td {
    word-break: break-all
}

.westar-bg-white {
    background: #fff;
    height: auto !important;
}

.westar-margin-bottom0 {
    margin-bottom: 0;
}

.westar-margin-bottom5 {
    margin-bottom: 5px;
}

.westar-margin-bottom10 {
    margin-bottom: 10px;
}

.westar-margin-top1 {
    margin-top: 1px
}

.westar-margin-top5 {
    margin-top: 5px
}

.westar-margin-top10 {
    margin-top: 10px
}

.westar-margin-10 {
    margin: 10px
}

.westar-margin-15 {
    margin: 15px
}

.westar-margin-5 {
    margin: 5px
}

.westar-no-shadow {
    box-shadow: 0 0 0
}

.westar-red {
    color: #e80606;
}

.westar-padding-5 {
    padding: 5px
}

.westar-padding-10 {
    padding: 10px
}

.westar-padding-15 {
    padding: 15px
}

.westar-padding-top-0 {
    padding-top: 0;
}

.westar-padding-top-5 {
    padding-top: 5px;
}

.westar-card-header {
    line-height: 42px;
    padding: 15px;
    border-bottom: 1px solid #f6f6f6;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
    height: auto;
}

.westar-th-center th {
    text-align: center
}

.westar-td-center td {
    text-align: center
}

/*tree页面. 高度定位视口高度的85.5%*/
.westar-b-height {
    overflow: hidden !important;
    min-height: 0% !important;
    height: calc(98.5vh) !important
}

@media (max-height: 768px) {
    .westar-b-height {
        height: calc(98vh) !important;
    }
}

/*这个是长标签的写法
 */
.westar-label-long .layui-input-block {
    margin-left: 200px;
    margin-right: 20px;
}

.westar-label-long .layui-form-label {
    width: 180px !important;
}

/*这个是中长标签的写法
 */
.westar-label-mid {
    margin-top: 0;
    margin-bottom: 0;
}

.westar-label-mid .layui-input-block {
    margin-left: 160px;
    margin-right: 10px;

}

.westar-label-mid .layui-form-label {
    width: 140px !important;
    height: 38px;
}

/*小标签表格居中问题*/
.westar-btn-xs-mid {
    /*margin-top: 3px;*/
}

/*div下标签红名*/
.westar-divlabel-red label {
    color: red
}

/*搜索样式*/
/*.westar-search-input, .westar-search-textarea { width: calc(100% - 130px);}*/
.westar-search-label {
    width: 100px;
}

.westar-btn-bottom-fixed {
    background: #fff;
    width: 100%;
    text-align: center;
    height: 60px;
    line-height: 60px;
    position: fixed;
    bottom: 0px;
    z-index: 999;
}

/*用div模拟的输入框样式*/
.westar-div-input-parent * {

    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif;
    box-sizing: initial;
}

.westar-div-input-parent {
    text-align: left;
}

.westar-div-input-parent .westar-div-input-title {
    position: relative;
    min-height: 38px;
}

.westar-div-input-parent .westar-div-input {
    cursor: pointer;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;
    border-color: #E6E6E6;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #FFF;
    height: 38px;
    line-height: 1.3;
    padding-left: 10px;
    outline: 0
}

.westar-div-input-parent .westar-div-select {
    line-height: normal;
    height: auto;
    padding: 4px 0px 1px 10px;
    overflow: hidden;
    min-height: 38px;
    left: 0;
    z-index: 99;
    /*position: absolute;*/
    background: 0 0;
}

.westar-div-input-parent .westar-div-select:hover {
    border-color: #C0C4CC
}

.westar-div-input-parent .westar-div-select .westar-div-select-label {
    display: inline-block;
    margin: 0;
    vertical-align: middle
}

.westar-div-input-parent .westar-div-input-title div.westar-div-select-label > span {
    border: 1px solid #F0F2F5;
    background-color: #F0F2F5;
    color: #909399;
    position: relative;
    padding: 2px 25px 2px 5px;
    border-radius: 2px;
    display: inline-block;
    line-height: 18px;
    height: 18px;
    margin: 2px 5px 2px 0;
    cursor: initial;
    user-select: none;
    font-size: 14px;
    padding-right: 25px;
    -webkit-user-select: none;
}

.westar-div-input-parent .westar-div-input-title div.westar-div-select-label > span i {
    position: absolute;
    margin-left: 8px;
    font-size: 12px;
    cursor: pointer;
    line-height: 20px;
    color: #C0C4CC
}

.westar-div-input-parent .westar-div-input-title div.westar-div-select-label > span i:before {
    content: '\e60b';
    font-size: 16px;
    margin-left: -3px;
}

.westar-div-input-parent .westar-div-select .westar-div-input {
    border: none;
    height: 28px;
    background-color: transparent;
    padding: 0;
    vertical-align: middle;
    display: inline-block;
    width: 50px
}

.westar-div-input-parent .westar-div-select--suffix input {
    border: none
}

/*全局滚动条样式*/
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:vertical {
    display: none;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-track:vertical {
    background-color: black;
}

::-webkit-scrollbar-track-piece {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:vertical {
    margin-right: 10px;
    background-color: #a6a6a6;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:vertical:hover {
    background-color: #aaa;
}

::-webkit-scrollbar-corner,
::-webkit-scrollbar-corner:vertical {
    background-color: #535353;
}

.westar-stuff span {
    border: 1px dashed #8dc1e8;
    background-color: #f3f9ff;
    color: #267bee;
    position: relative;
    padding: 5px 32px 4px 8px;
    border-radius: 2px;
    display: inline-block;
    /*line-height: 20px;
    height: 18px;*/
    margin: 2px 5px 2px 0;
    cursor: initial;
    user-select: none;
    font-size: 14px;
    -webkit-user-select: none;
}

.westar-stuff > span a {
    color: #267bee;
}

.westar-stuff > span i {
    position: absolute;
    margin-left: 15px;
    font-size: 12px;
    cursor: pointer;
    line-height: 20px;
    color: #267bee
}

.westar-dep-tree {
    margin-left: 10px;
    height: 360px;
    overflow-y: auto;
    margin-bottom: 20px
}

.westar-stuff > span i:before {
    content: '\e60b';
    font-size: 16px;
    margin-left: -3px;
}

.westar-stuff > span d {
    position: absolute;
    margin-left: 15px;
    font-size: 12px;
    cursor: pointer;
    line-height: 20px;
    color: #267bee
}

.westar-stuff > span d:before {
    font-size: 16px;
    margin-left: -3px;
}

/*表格行高自适应,这个不加westar是为了防止以后升级layui被覆盖*/
.layui-table-cell {
    height: auto;
!important;
}

.layui-table-body {
    width: auto; /*去掉横向滚动条*/
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

/*自定义表格里面的小按钮样式*/
.westar-layui-btn-sm {
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    font-size: 12px
}

/* 快捷方式 */
.layadmin-shortcut li .iconfont {
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 2px;
    font-size: 30px;
    background-color: #F8F8F8;
    color: #333;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.layadmin-shortcut li cite {
    position: relative;
    top: 2px;
    display: block;
    color: #666;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

.layadmin-shortcut li:hover .iconfont {
    background-color: #f2f2f2;
}

/* 修改layui禁用的文字颜色*/
/*.layui-disabled{
    color:#aaa !important;
    border-color:#e6e6e6 !important;
    background: #f0f0f0 !important;
}*/


.vue-auto-dl {
    position: absolute;
    top: 40px;
    z-index: 999;
    background: #fff;
    border: 1px solid #d2d2d2;
    color: #009688
}

.vue-auto-dl dd {
    padding: 5px;
    cursor: pointer;
}

.vue-auto-dl dd:hover {
    background: #5fb878;
    color: white;
}

/*
把layui table的筛选功能全部隐藏
*/
div[lay-event=LAYTABLE_COLS] {
    display: none;
}

/**
定义原生的 radio 样式
 */
.westar_radio, .westar_checkbox {
    margin: 0.5rem 1rem 0.5rem 0;
    display: inline-block !important;
}

.westar_radio input[type="radio"] {
    display: inline-block !important;
    position: absolute;
    opacity: 0;
}

.westar_radio input[type="radio"] + .radio-label:before {
    content: '';
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #dedddd;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: -0.2em;
    margin-right: 1em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 100ms ease;
    transition: all 100ms ease;
}

.westar_radio input[type="radio"]:checked + .radio-label:before {
    background-color: #67C23A;
    box-shadow: inset 0 0 0 4px #f4f4f4;
}

.westar_radio input[type="radio"]:focus + .radio-label:before {
    outline: none;
    border-color: #67C23A;
}

.westar_radio.westar_color_red input[type="radio"]:checked + .radio-label:before {
    background-color: #F56C6C;
}

.westar_radio.westar_color_green input[type="radio"]:checked + .radio-label:before {
    background-color: #67C23A;
}

.westar_color_green .radio-label {
    color: #67C23A;
}

.westar_radio.westar_color_red input[type="radio"]:focus + .radio-label:before {
    border-color: #F56C6C;
}

.westar_color_green .radio-label {
    color: #67C23A;
}

.westar_radio.westar_color_grey input[type="radio"]:checked + .radio-label:before {
    background-color: #909399;
}

.westar_radio.westar_color_grey input[type="radio"]:focus + .radio-label:before {
    border-color: #909399;
}

.westar_color_grey .radio-label {
    color: #909399;
}

.westar_radio.westar_color_blue input[type="radio"]:checked + .radio-label:before {
    background-color: #409EFF;
}

.westar_radio.westar_color_blue input[type="radio"]:focus + .radio-label:before {
    border-color: #409EFF;
}

.westar_color_blue .radio-label {
    color: #409EFF;
}

.westar_radio .radio-label:before {
    margin-top: 0.2rem;
}

/*checkbox 美化*/
.westar_checkbox input[type=checkbox] {
    display: inline-block !important;
    /*position: absolute;*/
    /*opacity: 0;*/
}

.westar_checkbox input[type=checkbox] {
    /*去除浏览器默认样式*/
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /*自己样式*/
    width: 1.4em;
    height: 1.4em;
    margin-right: 1em;
    outline: none;
    background: #f4f4f4;
    /*background: transparent;*/
    border: 1px solid #dedddd;
}

.westar_checkbox input[type=checkbox]::after {
    content: '✔';
    display: block;
    width: 100%;
    height: 100%;
    background: #5FB878;
    /*border: 1px solid #5fb878 !important;*/
    color: #fff;
    text-align: center;
    line-height: 20px;
    /*增加动画*/
    transition: all ease-in-out 100ms;
    -webkit-transition: all ease-in-out 100ms;
    -moz-transition: all ease-in-out 100ms;
    opacity: 0;
}

.westar_checkbox.westar_color_green input[type=checkbox] {
    border: 1px solid #5FB878;
}

.westar_color_green .checkbox-label {
    color: #5FB878;
}

.westar_checkbox.westar_color_grey input[type=checkbox]::after {
    background: #909399;
}

.westar_color_grey .checkbox-label {
    color: #909399;
}

.westar_checkbox.westar_color_grey input[type=checkbox] {
    border: 1px solid #909399;
}


.westar_checkbox.westar_color_red input[type=checkbox] {
    border: 1px solid #F56C6C;
}

.westar_checkbox.westar_color_red input[type=checkbox]::after {
    background: #F56C6C;
}

.westar_color_red .checkbox-label {
    color: #F56C6C;
}

.westar_checkbox.westar_color_blue input[type=checkbox] {
    border: 1px solid #409EFF;
}

.westar_checkbox.westar_color_blue input[type=checkbox]::after {
    background: #409EFF;
}

.westar_color_blue .checkbox-label {
    color: #409EFF;
}

.westar_checkbox input[type=checkbox]:checked::after {
    opacity: 1;
}

.westar_checkbox .checkbox-label {
    position: relative;
}

/**
超过宽度自动隐藏
 */
.westar_auto_hide_str {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.westar-empty {
    border: 1px dashed #d0cece;
    text-align: center;
    margin: 10px;
    line-height: 6rem;
    vertical-align: middle
}

.westar-empty i {
    font-size: 5rem;
    color: #e2e2e2
}

.westar-empty p {
    color: #e2e2e2;
    margin-top: -60px
}

.westar-ask-wrap {
    position: relative !important;
    display: inline-block;
    width: 40px;
    height: 15px;
}

.westar-ask {
    padding: 1px;
    position: absolute !important;
    border-radius: 50%;
    background: orange;
    color: white
}

.clearfix:after {
    content: '';
    display: block;
    clear: both;
}

.westar-hide {
    display: none
}

.westar-icon-up{
    width: 46px;margin: 0 auto;height: 20px;
    background: url("/static/skin3/img/div_arrUp.png") no-repeat;
}
.westar-icon-down{
    width: 46px;margin: 0 auto;height: 20px;
    background: url("/static/skin3/img/div_arrDown.png") no-repeat;
}

/*下拉穿梭框样式*/
.westar-transfer xm-select .scroll-body{padding-left: 10px !important;overflow: hidden !important;}
.westar-transfer .layui-transfer-data{overflow-x: hidden;}
.westar-transfer .layui-transfer-search .layui-input{width: calc(100% - 30px);}
/*修改下拉框选中样式*/
xm-select > .xm-label .xm-label-block > span {color: #666 !important;}
xm-select > .xm-label .xm-label-block > i {color: #666}
xm-select .xm-label .xm-label-block {background-color: #E6E6E6 !important;}