@media screen and (min-width: 320px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width: 360px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 400px) {
    html {
        font-size: 18px;
    }
}

@media screen and (min-width: 440px) {
    html {
        font-size: 20px;
    }
}

@media screen and (min-width: 480px) {
    html {
        font-size: 22px;
    }
}

@media screen and (min-width: 640px) {
    html {
        font-size: 28px;
    }
}

html {
    max-width: 100%;
    overflow: hidden;
}

form input {
    font-size: 0.9rem;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #EEE;
    font-size: 0.8rem;
    margin: 0;
}

img {
    max-width: 100%;
    max-height: 100%;
}

a {
    color: #FFF;
}

* {
    color: #333;
}

button {
    outline: none;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    *zoom: 1;
}


/*全局弹窗样式 - by milleros - start*/
.g-alert {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    /*display: none;*/
}

.g-alert .g-alert-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(25, 25, 25, .5);
    animation-name: fadeIn;
    animation-duration: .3s;
    animation-direction: forwards;
}

.g-alert .g-alert-body {
    min-width: 446px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #413E49;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 12px;
}

.g-alert .g-alert-body .g-alert-body-title {
    font-size: 28px;
    line-height: 28px;
    width: 100%;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g-alert .g-alert-body .g-alert-body-desp {
    font-size: 22px;
    line-height: 33px;
    margin-bottom: 20px;
    text-align: center;
}


.g-alert .g-alert-body .g-alert-body-options {
    text-align: center;
    height: 48px;
}


.g-alert .g-alert-body .g-alert-body-options .g-alert-body-options-item {
    height: 48px;
    border-radius: 24px;
    font-size: 24px;
    line-height: 24px;
    padding: 12px 35px;
    border: 1px solid #FFFFFF;
    color: #fff;
    background-color: transparent;
    display: inline-block;
    margin-right: 24px;
}

.g-alert .g-alert-body .g-alert-body-options .g-alert-body-options-item:last-child {
    margin-right: 0;
}

.g-alert .g-alert-body .g-alert-body-options .g-alert-body-options-item.on {
    background-color: #F04A49;
    border-color: #F04A49;
}

.g-alert .g-alert-body .g-alert-body-options .g-alert-body-options-item.hide {
    display: none !important;
}

.g-alert .g-alert-body .g-alert-body-options .g-alert-body-options-item:active {
    opacity: .8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*全局弹窗样式 - by milleros - end*/