/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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,
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,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-family: 'tahoma','Hiragino Sans GB','arial','Heiti SC','Microsoft YaHei','sans-serif';
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.clearfix:after {
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    *zoom: 1;
}

html,
body {
    height: 100%;
    color: #555;
}
input{
  font-family: 'tahoma','Hiragino Sans GB','arial','Heiti SC','Microsoft YaHei','sans-serif';
}
input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #888;
}

input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #888;
}

input:-ms-input-placeholder {
    color: #888
}

input::-webkit-input-placeholder {
    color: #888;
}

  //头部样式
.common-top{
    height:100px;
    .bread{
        position: fixed;
        top: 60px;
        height:40px;
        line-height:40px;
        padding-left:20px;
        width:100%;
        border-bottom: 1px solid #d8dce5;
    }
    .common-header {
        position: fixed;
        top: 0;
        display: flex;
        width: 100%;
        height: 60px;
        background: #fff;
        font-size: 14px;
        color: #101418;
        z-index: 21;
        border-bottom: 1px solid #d8dce5;
        .logo-wrap {
            text-align: center;
            height: 60px; // position: relative;
            float: left;
            margin-left: 20px;
            flex:2;
            .logo {
                display: block;
                float: left; // max-height: 25px;
                width: 127px;
                height: 24px;
                margin-top: 17px;
            }
            span {
                display: block;
                float: left;
                line-height: 60px;
                font-size: 18px;
                color: #0F0F0F;
                margin-left: 20px;
            }
            h3{
                float: right;
                font-weight: normal;
                display: inline-block;
                font-size: 14px;
                margin-right: 20px;
                color:#222;
                padding-right:20px;
                height:20px;
                line-height: 20px;
                border-right:1px solid #ccc;
                margin-top: 20px;
            }
        }
        .user-top-right {
            margin-right: 30px;
            float: right;
            .el-dropdown-link {
                height: 60px;
                line-height: 60px;
                font-size: 14px;
                color: #0F0F0F;
                cursor: pointer;
                .el-icon--right {
                    color: #8CA0B3;
                    margin-left: 10px;
                }
            }
        }
    }
}

.webix_popup.webix_pivot {
    .webix_win_head {
        border-color: #e9e9e9;
        .webix_view.webix_toolbar {
            background-color: #fff;
            div.webix_view.webix_control > div {
                font-size: 14px !important;
                color: #666 !important;
            }
            .webix_scroll_cont {
                position: relative;
            }
            .webix_view.webix_el_button {
                position: absolute;
                right: 90px;
                top: 0;
                &:last-of-type {
                    right: 16px;
                }
                width: 75px !important;
                .webix_el_box {
                    width: 67px !important;
                    button {
                        font-size: 14px;
                        &.webixtype_base {
                            color: #666 !important;
                            width: 65px !important;
                        }
                        &.webixtype_form {
                            background-color: #e14c46 !important;
                            border-color: #e14c46 !important;
                            width: 65px !important;
                        }
                    }
                }
            }
        }
    }
    .webix_win_body {
        .webix_view.webix_layout_wide {
            >.webix_view.webix_layout_line {
                border: none;
                background-color: #fff;
                > .webix_view.webix_layout_line {
                    background-color: #fff;
                    width: 40% !important;
                    > div.webix_view.webix_pivot_header_fields {
                        width: 100% !important;
                        height: 30px !important;
                        border-bottom: none;
                        border: none;
                        .webix_template {
                            font-size: 12px;
                            color: #888;
                            padding-left: 20px;
                            padding: 0 0 0 20px;
                            height: 30px;
                            line-height: 30px;
                        }
                    }
                    > div.webix_view.webix_list {
                        border: none;
                        width: 100% !important;
                        // border-bottom: 1px solid #ededed;
                        padding: 0 20px;
                        box-sizing: border-box;
                        > .webix_scroll_cont {
                            border: 1px solid #ededed;
                            height: 378px;
                            overflow-y: auto;
                            overflow-x: hidden;
                            &::-webkit-scrollbar {
                                /* 1 */
                                width: 5px;
                            }
                            &::-webkit-scrollbar-button {
                                /* 2 */
                                display: none;
                            }
                            &::-webkit-scrollbar-track {
                                /* 3 */
                                background-color: #fff;
                            }
                            &::-webkit-scrollbar-track-piece {
                                /* 4 */
                            }
                            &::-webkit-scrollbar-thumb {
                                /* 5 */
                                background-color: #ddd;
                                border-radius: 2px;
                            }
                            &::-webkit-scrollbar-corner {
                                /* 6 */
                            }
                            &::-webkit-resizer {
                                /* 7 */
                            }
                            // border: none;
                        }
                        .webix_list_item {
                            border-bottom: none;
                            height: 38px;
                            line-height: 38px;
                            font-size: 14px;
                            color: #474d54;
                            span {
                                display: none;
                            }
                        }
                    }
                }
                > .webix_view.webix_layout_space {
                    border: none;
                    background-color: #fff;
                    width: 60% !important;
                    >.webix_view.webix_layout_wide{
                        width :100% !important;
                        margin: 0 !important;
                        background-color: #fff;
                        > div {
                            width :100% !important;
                            &:nth-of-type(2) {
                                margin: 0 !important;
                            }
                            background-color: #fff;
                            &.webix_view.webix_pivot_transparent {
                                height: 30px !important;
                                line-height: 30px !important;
                                font-size: 12px !important;
                                .webix_template {
                                    padding: 0 !important;
                                    .webix_pivot_fields_msg {
                                        font-style: normal !important;
                                        color: #888 !important;
                                        text-indent: 10px !important;
                                        font-size: 12px !important;
                                        height: 30px !important;
                                        line-height: 30px !important;
                                    }
                                }
                            }

                        }
                        >.webix_view.webix_layout_wide{
                            width :100% !important;
                            > div {
                                width :95% !important;
                                &:first-of-type {
                                    display: none !important;
                                }
                                > div {
                                    width :95% !important;
                                    margin-left: 1px;
                                    border-color: #ededed !important;
                                    &:first-of-type {
                                        width :95% !important;
                                        background-color: #f9f9f9;
                                        .webix_template {
                                            font-size: 14px;
                                            color: #474d54;
                                        }
                                        span {
                                            display: none !important;
                                        }
                                    }
                                    &:last-of-type {
                                        width :95% !important;
                                        .webix_list_item {
                                            padding: 0 0 0 5px;
                                            line-height: 35px;
                                            height: 35px;
                                            font-size: 14px;
                                            color: #474d54;
                                            a {
                                                height: 35px !important;
                                                border: none !important;
                                                line-height: 35px !important;
                                                font-size: 14px !important;
                                                margin: 0;
                                                padding: 0;
                                                font-size: 14px;
                                                color: #474d54;
                                            }
                                            .webix_pivot_link {
                                                padding: 0;
                                                margin: 0;
                                                border: none;
                                                line-height: 35px;
                                                font-size: 14px;
                                                color: #474d54;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
.webix_view.webix_pivot.webix_layout_line{
    .webix_view.webix_dtable{
        .webix_ss_header td{
            border-right: 1px solid #ededed;
            border-bottom: 1px solid #ededed;
        }
        .webix_dd_drag_column, .webix_ss_header, .webix_ss_header TD, .webix_ss_vscroll_header{
            background: #F9F9F9;
        }
        .webix_column>div, .webix_table_cell{
            border-right: 1px solid #ededed;
            border-bottom: 1px solid #ededed;
        }
        .webix_ss_body{
            .webix_ss_left {
                .webix_cell{
                    background: #fff;
                    .webix_tree_folder_open{
                        display: none;
                    }
                    .webix_tree_folder{
                        display: none;
                    }
                    .webix_tree_file{
                        display: none;
                    }
                }
            }
            .webix_cell.webix_row_select{
                background: #F9F9F9;
                color: #666;
            }
        }
        .webix_ss_footer TD, .webix_ss_vscroll_footer{
            background: #F9F9F9;
        }

    }
}

//右侧样式
.body-right {
    .content {

    }
}
.lable-content{
    max-height:400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.btn-self{
    box-sizing: border-box;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    border-radius: 2px;
    font-size: 14px;
    border: none;
    cursor: pointer;

    &.btn-confirm{
        background: #E14C46;
        color: #FFFFFF;
    }
    &.btn-cancel{
        background: #e4e4e4;
        color: #555;
        // border: 1px solid #D3D5D9;
    }
    &.small{
        line-height: 28px;
        height: 28px;
        font-size: 12px;
    }

    &:focus{
        outline: none;
    }
}


.app .fs-dialog__wrapper{
    background: transparent;
    z-index: 1000 !important; 
    .fs-dialog{
        position: fixed
    }
}

.app{
    .fs-checkbox__input{
        .fs-checkbox__inner{
            width: 14px;
            height: 14px;
            border-radius: 2px;
            border: 1px solid #E0E0E0;
            &::after{
                left: 3px;
                top: 0px;
                height: 8px;
            }
        }

    }
    .fs-input{
        &.is-disabled{
            .fs-input__inner{
                background: none !important;
                color: #888;
            }
        }

        input::placeholder,.fs-input__inner::placeholder{
            color: #888;
            font-size: 14px;
        }
    }

    .icon-process-select{
        transform: scale(0.8);
    }

    .fs-form-item.is-required .fs-form-item__label:before{
        margin-right: -3px;
    }
    .fs-form-item__label{
      color: #111;
    }
    .fs-textarea__inner::placeholder{
        color: #888;
        font-size: 12px;
    }

}

.fs-message-box__wrapper{
    background: rgba(0,0,0, 0.5);
}
// ui优化
.fs-table th {
    background-color: #f3f3f3;
}
.fs-table__body tr.hover-row>td {
    background-color: #f3f3f3;
}
.fs-table td, .fs-table th.is-leaf {
    border-bottom: 1px solid #ededed;
}
.fs-table .fs-table__fixed-body-wrapper table tr:last-child .fs-table-column--selection {
    border: none;
}
.fs-table {
    color: #555;
}
.fs-table__fixed-header-wrapper thead div, .fs-table__header-wrapper thead div {
    color: #111;
    background-color: #f3f3f3;
}
.fs-table .sort-caret.descending {
    bottom: 11px;
    border-top: 5px solid #888;
    border-bottom: none;
}
.fs-table .sort-caret.ascending {
    top: 11px;
    border-top: none;
    border-bottom: 5px solid #888;
}
.fs-table .descending .sort-caret.descending {
    border-top-color: #555;
}
.fs-form-item {
    margin-bottom: 20px;
}
.fs-button {
    background: #e4e4e4;
    color: #555;
    border: none;
}
.fs-button:hover {
    color: #555;
}
.fs-message-box__close {
    color: #888;
}
.fs-tabs__active-bar {
    height: 4px;
    background-color: #e14c46;
    border-radius: 2px;
}
.fs-table .fs-table__header-wrapper table .cell {
    background: #f3f3f3;
    white-space: nowrap;
}
