* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑";
}

header,
section,
footer,
aside,
nav,
article,
figure {
    display: block;
}

a,
img,
button,
input,
textarea,
div {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

input,
select {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    -webkit-outline: none;
    outline: none;
    border-radius: 0;
}

input:focus,
select:focus {
    -webkit-outline: none;
    outline: none;
}

button {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    -webkit-outline: none;
    outline: none;
}

textarea {
    resize: none;
}

a {
    text-decoration: none;
    color: #000;
}

a:after {
    color: #000;
}

a:hover {
    color: #000;
}

li {
    list-style: none;
}

.wrap {
    width: 100%;
}

.width100 {
    width: 100%;
}

.height100 {
    height: 100%;
}

.overflowh {
    overflow: hidden;
}

.overflows {
    overflow: scroll;
}

.flex {
    display: -webkit-flex;
    /* 新版本语法: Chrome 21+ */
    display: flex;
    /* 新版本语法: Opera 12.1, Firefox 22+ */
}

.flex-wrap-nowrap {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.flex-wrap-wrap {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.justify-content-fs {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.justify-content-fe {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.justify-content-c {
    -webkit-justify-content: center;
    justify-content: center;
}

.justify-content-sb {
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.justify-content-sa {
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.align-content-fs {
    -webkit-align-content: flex-start;
    align-content: flex-start;
}

.align-content-fe {
    -webkit-align-content: flex-end;
    align-content: flex-end;
}

.align-content-c {
    -webkit-align-content: center;
    align-content: center;
}

.align-content-sb {
    -webkit-align-content: space-between;
    align-content: space-between;
}

.align-content-sa {
    -webkit-align-content: space-around;
    align-content: space-around;
}

.align-content-s {
    -webkit-align-content: stretch;
    align-content: stretch;
}

.align-items-fs {
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.align-items-fe {
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.align-items-c {
    -webkit-align-items: center;
    align-items: center;
}

.align-items-b {
    -webkit-align-items: baseline;
    align-items: baseline;
}

.align-items-s {
    -webkit-align-items: stretch;
    align-items: stretch;
}

/*滚动条缺省样式*/

.overflows::-webkit-scrollbar {
    width: .05rem;
}

/*滚动条滑轨背景色*/

.overflows::-webkit-scrollbar-track {}

/*滑块颜色*/

.overflows::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: .1rem;
}

/*滑轨两头监听按钮颜色*/

.overflows::-webkit-scrollbar-button {}

/*X轴与Y轴相交处尖角的颜色*/

.overflows::-webkit-scrollbar-corner {
    background-color: rgba(0, 0, 0, 0);
}

@-webkit-keyframes toLeft {
    0% {
        opacity: 0;
        left: 1rem;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

@-webkit-keyframes toRight {
    0% {
        opacity: 0;
        right: 1rem;
    }

    100% {
        opacity: 1;
        right: 0;
    }
}

@-webkit-keyframes toTop {
    0% {
        opacity: 0;
        top: 1rem;
    }

    100% {
        opacity: 1;
        top: 0;
    }
}

@-webkit-keyframes toBottom {
    0% {
        opacity: 0;
        bottom: 1rem;
    }

    100% {
        opacity: 1;
        bottom: 0;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes toLeft {
    0% {
        opacity: 0;
        left: 1rem;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes toRight {
    0% {
        opacity: 0;
        right: 1rem;
    }

    100% {
        opacity: 1;
        right: 0;
    }
}

@keyframes toTop {
    0% {
        opacity: 0;
        top: 1rem;
    }

    100% {
        opacity: 1;
        top: 0;
    }
}

@keyframes toBottom {
    0% {
        opacity: 0;
        bottom: 1rem;
    }

    100% {
        opacity: 1;
        bottom: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes modal-show {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyfreames modal-show {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
    }

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

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

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

/* msg样式 */

.msg-modal {
    text-align: center;
    width: 50%;
    height: auto;
    border-radius: 10px;
    font-size: 12px;
    padding: 3px 12px;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: fixed;
    -webkig-animation: modal-show .2s ease-out;
    animation: modal-show .2s ease-out;
}

/* alert 样式 */

.alert-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999999999;
    color: #333;
    letter-spacing: 0;
}

.alert-modal-shade {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
}

.alert-modal-box {
    width: 200px;
    max-width: 80%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    position: absolute;
    z-index: 999;
    -webkig-animation: modal-show .2s ease-out;
    animation: modal-show .2s ease-out;
}

.alert-modal-title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
}

.alert-modal-content {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    box-sizing: border-box;
}

.alert-modal-buttons {
    width: 100%;
    height: 40px;
    display: flex;
    display: -webkit-flex;
    border-top: 1px solid #ddd;
    font-size: 15px;
}

.alert-modal-buttons>button {
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #0092c1;
}

/* confirm样式 */

.confirm-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999999999;
}

.confirm-modal-shade {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
}

.confirm-modal-box {
    width: 80%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    position: absolute;
    z-index: 999;
    -webkit-animation: modal-show .2s ease-out;
    animation: modal-show .2s ease-out;
}

.confirm-modal-title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
}

.confirm-modal-content {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 12px;
}

.confirm-modal-buttons {
    width: 100%;
    height: 40px;
    display: flex;
    display: -webkit-flex;
    border-top: 1px solid #ddd;
    font-size: 15px;
}

.confirm-modal-buttons button {
    width: 50%;
    height: 100%;
    background-color: #fff;
    color: #2c61f8;
}

.confirm-modal-buttons button[name='cancel'] {
    border-right: 1px solid #ddd;
}

/*loading样式*/

.loading-box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

.loading-shade {
    padding: 10px;
    text-align: center;
    position: absolute;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    font-size: 14px;
    border-radius: 5px;
}

.loading {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 30px;
    border-top: 1px solid #fff;
    -webkit-animation: loading linear 1s infinite;
    animation: loading linear 1s infinite;
}

.triangel {
    width: 0;
    height: 0;
    border-width: .1rem;
    border-style: solid;
    font-size: 0;
    line-height: 0;
    border-color: transparent transparent transparent transparent;
}

.top-triangle {
    border-bottom-color: #000;
}

.bottom-triangle {
    border-top-color: #000;
}

.left-triangle {
    border-right-color: #000;
}

.right-triangle {
    border-right-color: #000;
}