/* ---------------------------通用 start */
.flex,.flex1 {
    display: flex;
    justify-content: space-around;
}

.flex2 {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.boder,.boder1 {
    border: 1px solid #e7e7e2;
    border-radius: 5px;
}
.boder2 {
    border: 1px dashed #e7e7e2;
    border-radius: 5px;
}
.w100{
    width: 100%!important;
}
.h100{
    height: 100%!important;
}
.wauto{
    width: auto!important;
}
.hauto{
    height: auto!important;
}
.block {
    display: block!important;
}
.inline{
    display: inline!important;
}
.inline-block{
    display: inline-block!important;
}

/* ---------------------------通用 end */


/* ---------------------------框架微调 start */
#header .navbar .navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pagination {
    margin: 0
}

#sidebar #sideNav li>ul>li>a {
    padding-left: 30px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 2s linear infinite;
}

#header .navbar .nav li.dropdown .dropdown-menu {
    margin-top: 3px;
    border-radius: 5px;
}

#header .navbar .nav .breadcrumb li a {
    color: #97a8bf;
    text-decoration: none;
}

#header .navbar .nav .breadcrumb li a:hover,
#header .navbar .nav .breadcrumb li a:focus {
    background: none;
}
/* ---------------------------框架微调 end */

/* ---------------------------页面选项卡式 start */
#header {
    height: 81px;
}

#mainFrameTabs {
    height: 31px;
    margin-bottom: 0;
    background: #f3f5f6;
    border-radius: 0;
    border: none;
}

#sidebar,
#right-sidebar {
    top: 82px;
}

#content {
    margin-left: 0;
    padding: 0;
}

#mainFrameTabs .tab-content {
    margin-left: 210px;
    border: 1px solid transparent;
}

#mainFrameTabs .tab-content .tab-pane{
    padding: 5px;
}

#mainFrameTabs .tab-content.sidebar-page {
    margin-left: 210px;
}

#mainFrameTabs .tab-content.full-page {
    margin-left: 0;
}

#mainFrameTabs .tab-content.offCanvas {
    width: 100%;
    margin-left: 210px;
}

#mainFrameTabs .tab-content.overLap {
    margin-left: 0;
}

#mainFrameTabs .nav-tabs{
    width: max-content;
    border-bottom: none;
    margin-bottom: 0;
    padding-left: 0;
}

#mainFrameTabs.bTabs .nav-tabs>li{
    margin-right: 0;
}

#mainFrameTabs .tab-nav{
    border-bottom: 1px solid #e7e7e2;
}

#mainFrameTabs .tab-nav>i{
    display: block;
    width: 30px;
    font-size: 18px;
    padding: 5px;
    border: 1px solid #e7e7e2;
    background-color: #f3f5f6;
    position: absolute;
    bottom: 0;
    cursor: pointer;
    display: none;
    z-index: 999;
}
#mainFrameTabs .tab-nav .tab-arrow-right{
    right: 0;
}
/* ---------------------------页面选项卡式 end */

/* ---------------------------情景 start */
/* 合并行的表头 */
table.table tr.colspan th,table.table tr.colspan td{
    text-align: center;
}
.table-bordered > thead > tr.colspan > th, 
.table-bordered > tbody > tr.colspan > th, 
.table-bordered > tfoot > tr.colspan > th,
.table-bordered > thead > tr.colspan + tr > th  {
    border: 1px solid #e7e7e7;
}
.table-bordered > thead > tr.colspan > th{
    border-top: 1px solid #f3f5f6;
}
.table-bordered > thead > tr.colspan > th:first-child,
.table-bordered > thead > tr.colspan  + tr > th:first-child{
    border-left: 1px solid #f3f5f6;
}
.table-bordered > thead > tr.colspan > th:last-child,
.table-bordered > thead > tr.colspan  + tr > th:last-child{
    border-right: 1px solid #f3f5f6;
}

table.table td>.btn{font-weight: normal;}
th{text-align: center;}
th > .checkbox{text-align: left;}
tr .edit{
    color: #64B5F6;
}
/* tr .edit::before {
    font-family: 'icomoon';
    content: "\e605";
    color: #64B5F6;
    margin-right: 5px;
} */

/* 表标题筛选 */
.panel .panel-heading form{
    padding: 10px 0 5px 0;
}
.panel .panel-heading form .btn-group,.panel .panel-heading form .form-group{
    margin-bottom: 5px;
}

.panel .panel-heading form .panel-title{
    padding: 9px;
    min-height: 0;
}

/* 表格中图片 class加在a标签 */
.table_img_sm img{
    height: 20px;
    width: auto;
    border-radius: 5px;
}
.table_img img{
    height: 45px;
    width: auto;
    border-radius: 5px;
}
.table_img_hover:hover {
    position: fixed;
    left: 10%;
    top: 10%;
    width: 80%;
    height: 80%;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.table_img_hover:hover img {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}
.table_img_circle{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #e7e7e2;
    box-sizing: border-box;
}
.table_img_circle img{
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}
.table_img.table_img_circle {
    height: 45px;
    width: 45px;
}

.table_img_sm.table_img_circle {
    height: 20px;
    width: 20px;
}
    
/* 百分比输入框 */
input.percent {
    padding-right: 30px; /* 给‘%’符号留出空间 */
    text-align: right; /* 确保输入的数字和符号在右侧对齐 */
    background: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctext x=%2210%22 y=%2215%22 font-size=%2215%22 text-anchor=%22middle%22 fill=%22gray%22%3E%25%3C/text%3E%3C/svg%3E') no-repeat right center;
    background-size: 25px; /* 控制‘%’符号大小 */
    color: #75b9e6;
}
/* ---------------------------情景 end */
