/* 基础内容 */
html, body {
    font-size: 14px;
    height: 100%;
}

/*form*/
.form-check-label {
    cursor: pointer;
}

/* 表格搜索区 */
.search-form {
    display: block;
    margin-bottom: 8px;
    padding: 8px 8px 0 8px;
    user-select: none;
    border: 1px solid #dee2e6;
    border-radius: 3px;
}

.search-form::after {
    display: block;
    clear: both;
    content: "";
}

.search-form .form-item {
    display: table;
    float: left;
    margin-right: 20px;
    margin-bottom: 8px;
}

.search-form .form-item:last-child {
    margin-right: 0;
}

.search-form .form-item .form-label {
    font-weight: bold;
    display: inline-block;
    float: left;
    margin-top: 6px;
    margin-right: 8px;
    margin-bottom: 0;
    padding-bottom: 3px;
    border-bottom: 1px dotted #317eeb;
}

.search-form .form-item .form-control {
    display: inline-block;
    float: left;
    width: auto;
}

.search-form .form-item > .bootstrap-select.form-control:not([class*=col-]) {
    width: auto;
}

.search-form .form-item .bs-searchbox .form-control {
    float: none;
    width: 100%;
    margin-bottom: 0;
}

.search-form .form-item .form-check {
    line-height: 34px;
    display: inline-block;
    height: 34px;
    margin-right: 8px;
    padding-left: 0;
}

.search-form .form-item .form-check:last-child {
    margin-right: 0;
}

.search-form .form-item .form-check input[type="radio"], .search-form .form-item .form-check input[type="checkbox"] {
    display: inline-block;
    margin-bottom: 3px;
    vertical-align: middle;
}

/* 表格工具栏 */
#table-toolbar .btn, .table-toolbar .btn {
    margin-right: 5px;
}

/* 下拉菜单字号 */
.dropdown-menu {
    font-size: 14px;
}

.dropdown-menu input[type="radio"], .dropdown-menu input[type="checkbox"] {
    margin-top: -3px;
    vertical-align: middle;
}

/* 按钮 */
.btn {
    line-height: 1.5;
    border-radius: 3px;
}

.btn .iconfont {
    font-size: 13px;
}

.btn-lg, .btn-group-lg > .btn {
    font-size: 16px;
    line-height: 1.5;
    padding: 6px 14px;
    border-radius: 4px;
}

.btn-lg .iconfont, .btn-group-lg > .btn .iconfont {
    font-size: 16px;
}

.btn-sm, .btn-group-sm > .btn {
    font-size: 12px;
    line-height: 1.5;
    padding: 3px 6px;
    border-radius: 2px;
}

.btn-sm .iconfont, .btn-group-sm > .btn .iconfont {
    font-size: 12px;
}

.btn.disabled, .btn:disabled {
    cursor: not-allowed;
}

.btn.disabled.hide-icon .iconfont:not(.loading) {
    display: none;
}

.iconfont.spin {
    display: inline-block;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/* 旋转动画 */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

/* page页 */
.page {
    box-sizing: border-box;
    height: 100%;
}

/* 内容区 */
.page .page-content {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    padding: 50px 15px 15px 15px;
}

/* 内容标题 */
.page .nav-title {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 15px;
    left: 15px;
    height: 50px;
    padding: 15px 3px 3px 3px;
}

/* 刷新按钮*/
.page .nav-title .reload-page {
    padding: 0 8px;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.page .nav-title .reload-page i {
    display: inline-block;
}

.page .nav-title .reload-page:hover i {
    -moz-animation: spin .8s infinite linear;
    -o-animation: spin .8s infinite linear;
    -webkit-animation: spin .8s infinite linear;
    animation: spin .8s infinite linear;
}

/* 页面标题 */
.page .nav-title .text {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    float: left;
}

/* 页面小导航 */
.page .nav-title .breadcrumb {
    font-size: 14px;
    float: right;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

/* Bootstrap Table 主题 */
.bootstrap-table {
    font-size: 14px;
}

.bootstrap-table .fixed-table-toolbar .bs-bars, .bootstrap-table .fixed-table-toolbar .columns, .bootstrap-table .fixed-table-toolbar .search {
    margin-top: 0;
}

.bootstrap-table .fixed-table-container {
    overflow: hidden;
}

.table th, .table td {
    padding: 8px;
}

.table th .table-img, .table td .table-img {
    max-height: 26px;
}

.table td .btn {
    margin-right: 5px;
}

.table td .btn:last-child {
    margin-right: 0;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: 8px;
}

.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group.dropdown {
    margin-top: -5px;
}

.bootstrap-table .fixed-table-pagination > .pagination, .bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-bottom: 0;
}
