/*base.css*/
.txc {
    text-align: center;
}

.mt10 {
    margin-top: 10px;
}

.p2 {
    padding: 2px !important;
}

.pt10 {
    padding-top: 10px;
}

.pdt18 {
    padding-top: 18px;
}

.t07rem {
    top: 0.7rem;
}

/*font-size*/
.fs0d6 {
    font-size: 0.6rem;
}

/*clearfloat*/
.clearfloat:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    width: 0;
    visibility: hidden;
}

/*color*/
.orange {
    color: #FFA500;
}

.red {
    color: #FF0000;
}

.blue {
    color: #1E90FF;
}

.green {
    color: #20B2AA;
}

.white {
    color: #fff !important;
}

.grey {
    color: #808080;
}

.black {
    color: #000;
}

.lightblue {
    color: #007bff;
}
.bg-normal{
    background-color:#10f5ab
}
.bg-abnormal{
    background-color:#f5a628
}


/*display*/
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.none {
    display: none;
}

/*cursor:pointer;*/
.cp {
    cursor: pointer;
}

/*border*/
.bw1 {
    border-width: 1px !important;
}

/*radio美化*/
.radio-span {
    display: inline-block;
    height: 2rem;
    line-height: 2rem;
    padding: 0 1rem;
}

.radio-span > label {
    color: #6c757d;
    margin-bottom: 0;
}

input[type="radio"] {
    display: none;
}

input[type="radio"] + label::before {
    content: "\a0"; /*不换行空格*/
    display: inline-block;
    font-size: 1rem;
    width: 1em;
    height: 1em;
    margin-right: .4em;
    border-radius: 50%;
    border: 1px solid #d9edf7;
    box-shadow: 0px 0px 8px #007bff;
    text-indent: .15em;
    line-height: 1;
}

input[type="radio"]:checked + label::before {
    background-color: #007bff;
    box-shadow: 0px 0px 8px #007bff;
    background-clip: content-box;
    padding: .01em;
}

/*checkbox美化*/
.chk {
    display: none;
}

.chk + label {
    margin-bottom: 0;
    font-weight: 300 !important;
    cursor: pointer;
}

.chk + label::before {
    content: "\a0";
    display: inline-block;
    vertical-align: .1em;
    width: .8em;
    height: .8em;
    margin-right: .2em;
    border-radius: .2em;
    color: #007bff;
    background-color: #ddd;
    text-indent: .15em;
    line-height: .65;
}

.chk:checked + label::before {
    content: "\2713";
}

.chk:focus + label::before {
    box-shadow: 0 0 .1em .1em #58a;
}

.chk:disabled + label::before {
    background-color: gray;
    box-shadow: none;
    color: #555;
}

/*遮罩层*/
.w-cover {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 1101;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/*.w-cover > input {*/
/*border-radius: 0.25rem;*/
/*position: absolute;*/
/*padding-left: 1rem;*/
/*}*/

/*对话框*/
.w-cover > .w-dialog {
    position: absolute;
    z-index: 1102;
    background-color: #fff;
}

.w-cover > .w-dialog > p {
    margin-top: 2rem;
    text-align: center;
}

.w-cover > .w-dialog > div {
    position: absolute;
    bottom: 2rem;
    width: 80%;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
}

.w-dialog .confirm_btn > span {
    display: inline-block;
    width: 4rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.2rem;
}

.w-dialog .confirm_btn > span:hover {
    color: gold;
}

/*遮罩层滚动穿刺*/
.modal-open {
    position: fixed;
    width: 100%;
}

/*分页*/
.table_pagination li {
    color: #343a40;
}

.table_pagination .page-actived {
    background-color: #70c0b1;
}

/*上传窗口*/
.upload_tip_box {
    position: fixed;
}

/*分类组件*/
.component-sort-wrap {
    overflow-x: scroll;
}

.component-sort-wrap > div {
    width: 2000px;
}

/*.component-sort-wrap > div > p{*/
/*width:10rem;*/
/*padding-left:1rem;*/
/*height:2rem;*/
/*line-height:2rem;*/
/*color:#00c0ef;*/
/*border:0.0625rem dashed #dee2e6;*/
/*}*/

.component-sort-group {
    float: left;
    border: 0.0625rem solid #dee2e6;
    border-bottom: 0;
    width: 10.125rem;
}

.component-sort-group > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.component-sort-group > ul > li:first-child {
    background-color: #343A40;
    color: #C2C7D0;
}

.component-sort-group > ul > li:first-child:hover {
    color: #ff7700;
}

.component-sort-group > ul > li {
    position: relative;
    display: block;
    border-bottom: 0.0625rem solid #dee2e6;
    width: 10rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0 1rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.component-sort-group > ul > li:not(:first-child) {
    padding: 0 3rem 0 1rem;
}

.component-sort-group > ul > li:not(:first-child):hover {
    background-color: #343A40;
    color: #C2C7D0;
}

.component-sort-group > ul > li:not(:first-child):hover > i {
    display: block;
}

.component-sort-group > ul > li:not(:first-child) > i {
    position: absolute;
    top: 0.45rem;
    display: none;
}

.component-sort-group > ul > li:not(:first-child) > i:first-child {
    right: 0.5rem;
    color: #ff7700;
}

.component-sort-group > ul > li:not(:first-child) > i:last-child {
    right: 1.5rem;
    color: #00c0ef;
}

.component-sort-group > ul > li:not(:first-child) > i:last-child:hover {
    color: #ff7700;
}

.component-sort-group > ul > .sort_add_li {
    color: #C2C7D0;
}

.component-sort-group > ul > .sort_add_li:hover {
    background-color: #fff !important;

}

/*表格*/
.admin-table {
    margin-bottom: 0;
}

.admin-table > thead > tr {
    color: #fff;
    background-color: #343a40;
}

.admin-table th {
    text-align: center;
}

.admin-table tr > td:not(:nth-child(2)) {
    text-align: center;
}

.admin-table tr > td:last-child {
    padding: 0;
    font-size: 1.1rem;
    vertical-align: middle;
}

.admin-table tr > td:last-child > a {
    color: #000;
}

.admin-table tr > td:last-child i {
    cursor: pointer;
}

.admin-table tr > td:last-child i:hover {
    color: coral;
}

.admin-table .news_pagination a {
    color: #000;
}

.admin-table tr > td {
    padding: 0;
    vertical-align: middle;
}

.admin-table tr > td:nth-child(5) > span {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #ccc;
}

.admin-table .index_image {
    width: 2rem;
    height: 1.5rem;
    margin-right: 1rem;
}

.admin-table .title_span {
    max-width: 14rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
    display: inline-block;
}

.admin-table > tbody > tr > td:nth-child(2):hover span {
    padding-left: 1rem;
}

.admin-table .title_span {
    -webkit-transition: padding-left 1s;
    -moz-transition: padding-left 1s;
    transition: padding-left 1s;
}

.admin-table .role_span {
    max-width: 14rem;
    overflow: hidden;
    vertical-align: bottom;
    display: inline-block;
}

.admin-table .role_span > span {
    display: inline-block;
    margin: .25rem .25rem;
    padding: 0 .6rem 0 .6rem;
    background-color: #F5F5DC;
    color: #000;
    box-shadow: 0px 0px 8px #1F2D3D;
    font-size: .5rem;
    text-align: center;
}

.admin-table .shadow_span{
    display: inline-block;
    margin: .25rem .25rem;
    padding: 0 .6rem 0 .6rem;
    color: #000;
    box-shadow: 0px 0px 8px #1F2D3D;
    font-size: .5rem;
    text-align: center;
}

