/*
通用样式
作者: 东莞有个站信息科技有限公司
网站: https://www.yougezhan.com
版本: 1.0
*/

/* 按钮 */
.btn {
    border-radius: .2rem;
    padding: .3rem .7rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom-width: .15rem;
    box-shadow: inset 0 .05rem 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.btn:hover {
    cursor: pointer;
}

.btn-lg {
    padding: .5rem 1.5rem;
}

.btn-sm {
    padding: .15rem .3rem;
    font-size: .95rem;
}

.btn-site {
    color: #fff;
    background-color: rgb(20, 88, 150);
    border-color: #001e4b;
}

.btn-site:hover {
    color: #fff;
    background-color: rgb(10, 80, 120);
    border-color: rgb(0, 40, 100);
}

.btn-success {
    color: #fff;
    background-color: #1d9d74;
    border-color: #198764;
}

.btn-success:hover {
    color: #fff;
    background-color: #157254;
    border-color: #0f543e;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-orange {
    color: #c9302c;
    background-color: #fff;
    border-color: #ccc;
}

.btn-orange:hover {
    color: #ac2925;
    background-color: #e6e6e6;
    border-color: #adadad;
}


/* 背景色 */
.bg-success {
    background: #1d9d74;
}

.bg-danger {
    background: #d9534f;
}

.bg-primary {
    background: #337ab7;
}

.bg-default {
    background: #333;
}

.bg-lightgray {
    background: rgba(250, 250, 250);
}

.bg-site {
    background: rgba(0, 40, 100, 1);
}

.bg-site {
    background: rgba(255, 255, 255, 1);
}

.bg-red {
    background: #f00;
}

.bg-orange {
    background: #ff4500;
}

.bg-green {
    background: #7c881a;
}

.bg-gold {
    background: #ba7f03;
}

.white {
    color: rgba(255, 255, 255, 1);
}

.black {
    color: rgba(0, 0, 0, 1);
}


.bg-01 {
    background: rgba(249, 128, 109);
}

.bg-02 {
    background: rgba(255, 213, 83);
}

.bg-03 {
    background: rgba(191, 13, 178);
}

.bg-04 {
    background: rgba(167, 207, 232);
}

.bg-05 {
    background: rgba(1, 6, 74);
}

.bg-06 {
    background: rgba(0, 196, 239);
}

.bg-07 {
    background: rgba(137, 34, 34);
}

.bg-08 {
    background: rgba(239, 80, 80);
}

.bgc-00 {
    background: linear-gradient(60deg, #d53369, #155799 50%);
}

.bgc-00- {
    background: linear-gradient(60deg, #155799, #d53369);
}

.bgc-01 {
    background: linear-gradient(60deg, #159957, #155799 50%);
}

.bgc-01- {
    background: linear-gradient(60deg, #155799, #159957);
}

.bgc-02 {
    background: linear-gradient(to right, #ee0979, #ff6a00);
}

.bgc-03 {
    background: linear-gradient(to right, #f1f2b5, #135058);
}

.bgc-04 {
    background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
}

.bgc-05 {
    background: linear-gradient(90deg, #283048, #859398);
}

.bgc-05- {
    background: linear-gradient(45deg, #859398, #283048 50%);
}

.bgc-06 {
    background: linear-gradient(to right, #003973, #e5e5be);
}

.bgc-07 {
    background: linear-gradient(to right, #d53369, #cbad6d);
}

.bgc-08 {
    background: linear-gradient(to right, #c33764, #1d2671);
}

.bgc-09 {
    background: linear-gradient(to right, #3a1c71, #d76d77, #ffaf7b);
}

.bgc-10 {
    background: linear-gradient(to right, #c94b4b, #4b134f);
}

.bgc-11 {
    background: linear-gradient(to right, #da4453, #89216b);
}

/* 
布局 
*/
.flex {
    display: flex;
}

.flex-jc-c {
    justify-content: center;
}

.flex-jc-sb {
    justify-content: space-between;
}

.flex-jc-start {
    justify-content: flex-start;
}

.flex-jc-end {
    justify-content: flex-end;
}

.flex-col {
    flex-direction: column;
}

.flex-ai-c {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-sbc {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-sc {
    display: flex;
    justify-content: start;
    align-items: center;
}

.flex-ec {
    display: flex;
    justify-content: end;
    align-items: center;
}

.flex-cc {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* 杂项 */
.br {
    border-radius: .2rem;
}

.none {
    display: none;
}

.w100 {
    width: 100%;
}

.input-error {
    border-color: rgba(255, 0, 0, .3);
    background: rgba(255, 0, 0, .05);
}

.gray {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.gray:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
    filter: gray;
}

.an {
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.center {
    text-align: center;
}

.fullpage {
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.shadow {
    box-shadow: 0 .1rem 1rem 0 rgba(0, 0, 0, .3);
}


/*
tabs
*/

.tabs {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.tabs>li {
    opacity: .8;
}

.tabs>.current {
    border-bottom: 3px solid rgba(0, 0, 0, 0.3);
    opacity: 1;
}


/* 
Table 
*/

table {
    border: 1px solid rgba(0, 0, 0, 0.5);
}

table thead {
    font-size: .8rem;
}

table thead td {
    padding: .2rem .5rem;
}

table td {
    padding: .5rem;
    border-right: 0 solid rgba(0, 0, 0, .1);
}

table tbody tr td {
    vertical-align: top;
}
table tbody tr td:first-child>.label {
    margin-top: .2rem;
}

table tr td:last-child {
    border-right: 0;
}

table .cols,
table .cols:hover {
    background: rgba(0, 0, 0, .05);
}

/*

*/
.yes {
    color: green;
}

.no {
    color: red;
}


/* 
close 
*/
.close {
    position: absolute;
    right: 5px;
    top: -10px;
    font-size: 11px;
    background: rgba(200, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
    padding: 2px 5px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    cursor: pointer;
    z-index: 100;
}

.close:hover {
    opacity: 1;
}

/* error */
.error-input {
    border: 1px solid rgba(200, 0, 0, .5);
    background: rgba(200, 0, 0, .05);
}

/* error & success */
.ib {
    position: fixed;
    display: block;
    background: white;
    right: 20px;
    bottom: 50%;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.ib ul li {
    clear: both;
    padding: 5px 20px;
}

.ib ul li:last-child {
    border: 0;
}



.error {
    border: 2px solid rgba(200, 0, 0, .5);
}

.error:hover {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .1);
}

.success {
    border: 2px solid rgba(0, 100, 0, .5);
    background: rgba(0, 200, 0, .1);
}

.success:hover {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .1);
}

/* loading */
.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, .15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading>div {
    position: absolute;
    width: 10rem;
    height: 2.5rem;
    left: calc(50% - 5rem);
    top: calc(50% - 1.25rem);
    text-align: center;
    font-size: .9rem;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
}





/* 
pages 
*/
.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
    height: 50px;
}

.pages a {
    padding: 0;
    margin: 0;
}

.pages span.n {
    border: 1px solid rgba(0, 0, 0, .2);
    background: rgba(255, 255, 255, 1);
    padding: 2px 8px;
    min-width: 25px;
    text-align: center;
    margin: 0 1px;
    border-bottom-width: 3px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    font-size: 15px;
}

.pages span.n:hover {
    background: rgba(255, 255, 255, .1);
}

.pages span.current {
    border-color: rgba(0, 40, 100, 1);
    background: rgba(0, 40, 100, .3);
    color: rgba(0, 40, 100, 1);
}

.pages span.n strong {
    font-weight: normal;
}

.pages span.dot {
    margin: 0 5px;
}