﻿@font-face {
    font-family: glyphicons;
    font-size: small;
    src: url('../../fonts/fontawesome-webfont.woff') format('woff');
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif,glyphicons;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: white;
    height: initial;
}

html, body {
    height: 100%; /*这个地方影响layer弹出层 不要动 不要动 不要动*/
}

/*这个center能保持垂直和水平居中 很好用*/
.center {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: -moz-box;
    -moz-box-orient: horizontal;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: -o-box;
    -o-box-orient: horizontal;
    -o-box-pack: center;
    -o-box-align: center;
    display: -ms-box;
    -ms-box-orient: horizontal;
    -ms-box-pack: center;
    -ms-box-align: center;
    display: box;
    box-orient: horizontal;
    box-pack: center;
    box-align: center;
}


.display-none {
    display: none;
}

.main-container {
    padding: 5px;
    height: calc(100% - 10px);
}

.page-content {
    height: 100%;
}

.form-content {
    height: 100%;
}

    .form-content .content {
        height: calc(100% - 50px);
        overflow-y: auto;
        padding: 10px;
        min-height: initial;
        margin-bottom: 50px;
    }

.domab {
}

.filter {
    float: left;
}

    .filter > .title {
        float: left;
        line-height: 32px;
    }

    .filter > .input {
        width: 100px;
        line-height: 30px;
        height: 30px;
        padding-left: 10px;
        margin: 0 5px;
        border: 1px solid #ccc;
    }

.table {
    margin-top: 5px;
    margin-bottom: 0px;
}

.form-group {
    display: flex;
    margin-bottom: 8px;
    max-height: 80px;
}

.input-group {
    flex: 1;
    float: left;
    padding-left: 2px;
    padding-right: 2px;
    display: table;
}

    .input-group .input-group-addon {
        border-radius: 0;
        border-color: #d2d6de;
        background-color: #fff;
    }

    .input-group.date,
    .input-group.datetime {
        display: table;
    }

.form-control {
    border-radius: 0;
    height: 30px;
}

    .form-control[readonly] {
        background-color: unset;
    }

        .form-control[readonly]:disabled {
            background-color: #eee;
        }

.form-line {
    width: 100%;
    padding: 5px;
    min-height: 40px;
}

    .form-line .left {
        width: 50%;
        float: left;
    }

    .form-line .right {
        width: 50%;
        float: left;
    }

    .form-line .label {
        float: left;
        width: 100px;
        text-align: right;
        font-weight: normal;
        font-size: 14px;
        color: #333;
        margin: 0;
        line-height: 30px;
        padding: 0 10px 0 0;
    }

        .form-line .label .title {
            line-height: 15px;
            font-size: 10px;
            font-size: 10px;
            zoom: 0.8;
        }

        .form-line .label .subtitle {
            line-height: 15px;
            font-size: 10px;
        }

    .form-line .select {
        width: 100%;
        height: 30px;
        border-color: #aaa;
        padding: 4px 15px 4px 5px;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        background: url('../../images/arrow.png') no-repeat scroll right center transparent;
    }

.editselect-container {
    height: 30px;
    position: relative;
}

    .editselect-container .editselect {
    }

    .editselect-container .editselect-input {
        width: calc(100% - 15px);
        height: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        border: 1px solid #aaa;
        border-right: none;
    }


.btn {
    background-image: none !important;
    border-width: 5px;
    border-style: solid;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-transition: background-color .15s,border-color .15s,opacity .15s;
    -o-transition: background-color .15s,border-color .15s,opacity .15s;
    transition: background-color .15s,border-color .15s,opacity .15s;
    vertical-align: middle;
    margin: 0;
    position: relative;
}

.btn-default {
    background-color: #ccc;
}

.btn-info {
    background-color: #6FB3E0 !important;
    border-color: #6FB3E0;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 16px;
}

.btn-danger {
    background-color: red !important;
    border-color: red;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 16px;
}

.btn-primary {
    padding-top: 1px;
    padding-bottom: 1px;
}

.btn-success {
    border-color: #5cb85c;
    padding-top: 1px;
    padding-bottom: 1px;
}

.btn-warning {
    border-color: #f0ad4e;
    padding-top: 1px;
    padding-bottom: 1px;
}

.btn-group {
    width: 100%;
}

    .btn-group .btn .caret {
        float: right;
        margin-top: 10px;
    }

.pagination {
    margin: 0;
    border-radius: 0px;
}

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .pagination > li:last-child > a, .pagination > li:last-child > span {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

.label-search {
    margin-top: 3px;
    margin-bottom: 3px;
    font-weight: normal;
}

    .label-search .dsearch {
        border: 1px solid #aaa;
    }

table {
    text-align: center;
}

    table tbody tr td {
        border: 1px solid #ddd;
    }

    table.dataTable {
        border-collapse: collapse;
    }

    table.table.dataTable.no-footer {
        border-bottom: 1px solid #f4f4f4;
    }

.table {
}

    .table .edit,
    .table .view {
        color: #fff;
        background-color: #6FB3E0;
        padding: 2px 5px;
        display: inline-block;
    }

    .table .delete {
        color: #fff;
        background-color: red;
        padding: 2px 5px;
        display: inline-block;
    }

    .table thead tr {
        background-image: none;
    }

    .table > thead > tr > th,
    .table > tbody > tr > td {
        text-align: center;
        vertical-align: middle;
    }

a {
    color: #337ab7;
    text-decoration: none;
}

    a:link, a:visited, a:active, a:hover {
        text-decoration: none;
    }

.dataTables_wrapper .dataTables_length {
    float: left;
    padding-top: 10px;
    padding-left: 4px;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 14px;
}

.dataTables_wrapper .dataTables_length .form-control {
    margin-top: -5px;
    border-radius: 0px;
}

.dataTables_wrapper label {
    font-size: 14px;
    font-weight: unset;
}

.dataTable th.select-checkbox.sorting_asc::after {
    content: none;
    top: auto;
    color: none;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #ddd;
}

.dataTables_wrapper .select2-container {
    margin: 0 3px;
}

.box {
    margin-bottom: 2px;
    border-radius: 0px;
    box-shadow: unset;
}

    .box.box-info {
        margin-top: 10px;
        border-top-color: #d2d6de;
    }

.box-header {
    background-color: #f4f4f4;
    padding: 5px 0px 2px 10px;
    border-bottom: 1px solid #f4f4f4;
}

    .box-header > .fa,
    .box-header > .glyphicon,
    .box-header > .ion,
    .box-header .box-title {
        display: inline-block;
        font-size: 18px;
        margin: 0;
        line-height: 1;
    }

.box-body {
    padding: 2px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

    .box-body.scroll {
        overflow-y: auto;
    }

.lb {
    width: 80px;
    padding-left: 10px;
    padding-top: 4.5px;
    margin-bottom: 4px;
    font-weight: normal;
    font-size: 14px;
    text-align: right;
}


.input {
    width: 100%;
    padding-left: 100px;
    position: relative;
    text-align: left;
}


    .input input.form-control {
        width: 100%;
        height: 30px;
        border: 1px solid;
        border-color: #aaa;
        padding: 8px 10px;
        border: 1px solid #ccc;
    }

    .input input[type="checkbox"] {
        margin-top: 10px;
    }

    .input .left {
        height: 30px;
        margin-right: 80px;
        float: none;
        width: auto;
    }

    .input .right {
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 30px;
    }

.checkbox input[type="checkbox"] {
    margin-top: 5px;
}

.height-30 {
    height: 30px;
}

.multiselect {
    padding-top: 2px;
    padding-bottom: 2px;
    width: 100%;
    color: #333 !important;
    text-shadow: none;
    border: 1px solid rgba(0,0,0,.25);
    background-color: white;
    height: 30px;
    text-align: left;
}


.multiselect-container {
    width: 100%;
    max-height: 256px;
    overflow-y: auto;
}

.dropdown-menu {
    border-radius: 0px;
}

.border {
    border: 1px solid #d2d6de;
}

.footer {
    text-align: right;
    padding-right: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0px;
    height: auto;
    width: 100%;
    background-color: #E4E6E9;
    position: fixed;
    bottom: 0px;
    left: 0px;
}

    .footer .nav-tabs {
        float: left;
        height: 50px;
        margin-top: -8px;
        margin-bottom: -8px;
        border-bottom: 0px;
    }

        .footer .nav-tabs li a {
            height: 50px;
            color: #555;
            line-height: 47px;
            border: 0px;
            min-width: 100px;
            text-align: center;
            border-radius: 0px;
        }

        .footer .nav-tabs > li.active > a,
        .footer .nav-tabs > li.active > a:hover,
        .footer .nav-tabs > li.active > a:focus {
            border: 0px;
        }

.tab-content {
    background: #fff;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 100%;
    height: 100%;
}

    .tab-content .tab-pane {
        width: 100%;
        height: 100%;
    }

.layui-layer {
    border-radius: 0px;
}

.layui-layer-title {
    border-radius: 0px;
}

.flex {
    display: flex;
}

.datetimepicker {
    border-radius: 0px !important;
}

    .datetimepicker td, .datetimepicker th {
        border-radius: 0px !important;
    }

.nav > li > a {
    padding: 4px 8px;
}

.modal-dialog {
    margin: 0px;
}

body .layui-layer-dir {
    box-shadow: none;
    border: 1px solid #d2d2d2;
}

.bootstrap-table .fixed-table-pagination .page-list .btn-group {
    width: auto;
}

    .bootstrap-table .fixed-table-pagination .page-list .btn-group .btn-default {
        color: #555 !important;
        border: 1px solid #ccc;
        text-shadow: none;
    }

        .bootstrap-table .fixed-table-pagination .page-list .btn-group .btn-default:hover {
        }


        .bootstrap-table .fixed-table-pagination .page-list .btn-group .btn-default:active {
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        }

.btn:focus,
.input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb {
    background-color: #a0a0a0;
    height: 50px;
    outline-offset: -2px;
    outline: 2px solid #fff;
    -webkit-border-radius: 4px;
    border: 2px solid #fff;
}

    /*---鼠标点击滚动条显示样式--*/
    ::-webkit-scrollbar-thumb:hover {
        background-color: #505050;
        height: 50px;
        -webkit-border-radius: 4px;
    }

/*---滚动条大小--*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece {
    background-color: #fff;
    -webkit-border-radius: 0;
}



/*---设置placeholder--*/
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #666;
    font-size: 12px;
    zoom: 0.8;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #666;
    font-size: 12px;
    zoom: 0.8;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: #666;
    font-size: 12px;
    zoom: 0.8;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #666;
    font-size: 12px;
    zoom: 0.8;
}



.bootstrap-timepicker-widget table td input {
    border: none;
}

.layui-layer-btn .layui-layer-btn0 {
    color: #fff !important;
}
