﻿/* display */
.dis-none {
    display: none;
}

.dis-inline {
    display: inline;
}

.dis-block {
    display: block;
}

.dis-inline-blo {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.dis-cell {
    display: table-cell;
    vertical-align: top;
}

.dis-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

.dis-box {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: box;
}
/*css3 box-orient*/
.bor-v {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -o-box-orient: vertical;
    box-orient: vertical;
}

.bor-h {
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -o-box-orient: horizontal;
    box-orient: horizontal;
}

.vbox-flex {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -o-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
}

.hbox-flex {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -o-box-orient: horizontal;
    box-orient: horizontal;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
}
/* margin */
.m0 {
    margin: 0;
}

.ml1 {
    margin-left: 1px;
}

.ml2 {
    margin-left: 2px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}

.ml30 {
    margin-left: 30px;
}

.mr1 {
    margin-right: 1px;
}

.mr2 {
    margin-right: 2px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr25 {
    margin-right: 25px;
}

.mr30 {
    margin-right: 30px;
}

.mt1 {
    margin-top: 1px;
}

.mt2 {
    margin-top: 2px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mb1 {
    margin-bottom: 1px;
}

.mb2 {
    margin-bottom: 2px;
}

.mb5 {
    margin-bottom: 5px;
}

.m10 {
    margin: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb25 {
    margin-bottom: 25px;
}

.mb30 {
    margin-bottom: 30px;
}
/* padding */
.p0 {
    padding: 0;
}

.p1 {
    padding: 1px;
}

.pl1 {
    padding-left: 1px;
}

.pt1 {
    padding-top: 1px;
}

.pr1 {
    padding-right: 1px;
}

.pb1 {
    padding-bottom: 1px;
}

.p2 {
    padding: 2px;
}

.pl2 {
    padding-left: 2px;
}

.pt2 {
    padding-top: 2px;
}

.pr2 {
    padding-right: 2px;
}

.pb2 {
    padding-bottom: 2px;
}

.pl5 {
    padding-left: 5px;
}

.p5 {
    padding: 5px;
}

.pt5 {
    padding-top: 5px;
}

.pr5 {
    padding-right: 5px;
}

.pb5 {
    padding-bottom: 5px;
}

.p10 {
    padding: 10px;
}

.pl10 {
    padding-left: 10px;
}

.pt10 {
    padding-top: 10px;
}

.pr10 {
    padding-right: 10px;
}

.pb10 {
    padding-bottom: 10px;
}

.p15 {
    padding: 15px;
}

.pl15 {
    padding-left: 15px;
}

.pt15 {
    padding-top: 15px;
}

.pr15 {
    padding-right: 15px;
}

.pb15 {
    padding-bottom: 15px;
}

.p20 {
    padding: 20px;
}

.pl20 {
    padding-left: 20px;
}

.pt20 {
    padding-top: 20px;
}

.pr20 {
    padding-right: 20px;
}

.pb20 {
    padding-bottom: 20px;
}

.p30 {
    padding: 30px;
}

.pl30 {
    padding-left: 30px;
}

.pt30 {
    padding-top: 30px;
}

.pr30 {
    padding-right: 30px;
}

.pb30 {
    padding-bottom: 30px;
}
/* font-style */
.n {
    font-weight: normal;
    font-style: normal;
}

.b {
    font-weight: bold;
}

.i {
    font-style: italic;
}
/* text-align */
.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

.tl {
    text-align: left;
}

.tj {
    text-align: justify;
}
/* float */
.fl {
    float: left;
}

.fr {
    float: right;
}
/* position */
.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}
/* overflow */
.ovh {
    overflow: hidden;
}

.ova {
    overflow: auto;
}
/* visibility */
.vh {
    visibility: hidden;
}

.vv {
    visibility: visible;
}
/* zoom */
.zoom1 {
    *zoom: 1;
}
/* block ele auto */
.auto {
    margin-left: auto;
    margin-right: auto;
}
/* clear float*/
.fix {
    *zoom: 1;
}

    .fix:before, .fix:after {
        display: table;
        content: '';
        clear: both;
        font-size: 0;
        line-height: 0;
    }

.clearfix {
    zoom: 1;
}

    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        font-size: 0;
        clear: both;
        visibility: hidden;
    }
/* text-overflow*/
.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/* no border no outline*/
.bd-none {
    border: none !important;
    outline: none !important;
}
/* list-none*/
.list-none, .list-none > * {
    list-style: none;
    padding: 0;
}
/* visi*/
.visi-v {
    visibility: visible;
}

.visi-h {
    visibility: hidden;
}
/*bg-color*/
.bf {
    background-color: #fff;
}

.cf {
    color: #fff;
}

/*单选和多选*/
input[type=radio] {
}

    input[type=radio]:checked {
    }

.u-checkbox input[type=checkbox] {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
    margin-right: 5px;
    border: #ddd 1px solid;
    cursor: pointer;
}

    .u-checkbox input[type=checkbox]:checked {
        background: url(../images/input1.png) no-repeat center;
        border: #ddd 1px solid;
    }

/*去掉type=number的右侧小三角*/
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

/*提示*/
#tips-pop {
    position: fixed;
    left: 50%;
    top: 40%;
    white-space: nowrap;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
    padding: 10px 30px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    background: rgba(0,0,0,.6);
}

/* dropload */
.dropload-up, .dropload-down {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.dropload-refresh, .dropload-update, .dropload-load {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

    .dropload-load .loading {
        display: inline-block;
        height: 15px;
        width: 15px;
        border-radius: 100%;
        margin: 6px;
        border: 2px solid #666;
        border-bottom-color: transparent;
        vertical-align: middle;
        -webkit-animation: rotate 0.75s 0 linear infinite;
        animation: rotate 0.75s 0 linear infinite;
    }

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*弹层显示大段文字*/
#txtpop-mask {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 650px;
    height: 100%;
    background-color: rgba(0,0,0,.1);
}

    #txtpop-mask .txt-pop {
        position: absolute;
        width: 40%;
        padding: 30px;
        background-color: #fff;
        left: 50%;
        top: 50%;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0,0,0,.5);
        -webkit-transform: translate3d(-50%,-50%,0) scale(0.01);
        transform: translate3d(-50%,-50%,0) scale(0.01);
    }

    #txtpop-mask .close {
        position: absolute;
        right: 0;
        top: 0;
        padding: 5px 8px;
        color: #ccc;
        border-bottom-left-radius: 5px;
    }
