* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 auto;
}

@media screen and (min-width: 541px) {
    html {
        width: 415px;
    }
}

img {
    width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* 售后服务 */
.cornerMark {
    background-color: #c1e0e9;
    color: #596f8d;
    font-size: 0.35rem;
    position: absolute;
    top: 0.6rem;
    right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.18rem 0.3rem 0.18rem 0.4rem;
    line-height: 1;
}

/*弹框蒙层*/
.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    z-index: 999;
}

/*透明弹框蒙层*/
.noMask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: none;
    z-index: 999;
}

/*文字提示*/
.message {
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 9999;
}

/*加载中*/
.loading-img {
    width: 8vw;
    height: 8vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('https://mmif.relax-time.cn/common/img/loading.gif');
    margin: 12px auto auto;
}

.loading-main {
    width: 20vw;
    height: 20vw;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 1);
    opacity: 0.85;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loading-text {
    color: #fff;
    text-align: center;
    font-size: 12px;
    margin-top: 7px;
}

/*温馨提示*/
.popup {
    width: 8.5rem;
    background: #ffffff;
    border-radius: .3rem;
    padding: 0.5rem 0 0.5rem 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-title {
    text-align: center;
    color: #ff7900;
    font-size: .53rem;
    font-weight: bold;
}

.popup-text {
    max-height: 10rem;
    overflow: scroll;
    text-align: center;
    margin-top: .5rem;
    margin-bottom: .5rem;
    line-height: 1.7;
    font-size: .4rem;
    color: #444;
    font-weight: 500;
    padding: 0 .6rem;
    box-sizing: border-box;
}

.popup-text span {
    color: #ff7900
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-btn button {
    border: 0;
    width: 3.1rem;
    height: 1rem;
    line-height: 1rem;
    border-radius: .65rem;
    font-size: .43rem;
    margin: auto;
    text-align: center;
}

.popup-cancel {
    background: #ddd;
    color: #fff;
    display: none;
}

.popup-confirm {
    background: #ff7900;
    color: #fff;
}

/* 横向轮播 */
.x-scroll {
    width: 100%;
    margin: 0 auto;
    height: .7rem;
    line-height: .7rem;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5rem;
    font-size: 0.36rem;
}

.x-scroll-inner {
    animation: scroll 10s infinite linear;
    position: absolute;
    left: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.x-scroll-inner div {
    text-align: center;
    padding: 0 .3rem;
    margin: 0 .1rem;
    border-radius: .5rem;
    display: inline-block;
    color: #fff;
    background: rgba(0, 0, 0, .44);
}

/*协议弹框*/
.protocol {
    width: 84%;
    height: 70%;
    background: #fff;
    color: #333;
    /*color: #646566;*/
    border-radius: 10px;
    position: fixed;
    top: 15%;
    left: 8%;
	font: 400 0.24rem/0.4rem 'helvetica,Microsoft YaHei,arial';
    letter-spacing: .03rem;
    font-size: 0.3rem;
}

.protocol .protocol-title {
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 0.45rem;
    text-align: center;
    font-weight: bold;
}

.protocol .protocol-close {
    color: #ee0a24;
    font-size: 0.45rem;
    text-align: center;
    height: 1.5rem;
    line-height: 1.5rem;
}

.protocol .protocol-main {
    width: 98%;
    height: calc(100% - 3rem);
    margin: auto;
    overflow-y: scroll;
    padding: 0 3%;
    line-height: 0.5rem;
    white-space: pre-line;
}

/*二次确认弹框*/
.isOk-main-red {
    width: 9.8rem;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.5rem;
}

.isOk-main-red .isOk-hand {
    width: 1.4rem;
    position: absolute;
    bottom: -1.4rem;
    right: 2rem;
}

.isOk-main-red .isOk-btn {
    width: 100%;
    position: absolute;
    bottom: 0.4rem;
    text-align: center;
}

.isOk-main-red .isOk-btn > div {
    display: inline-block;
    background-image: linear-gradient(#fffad6, #ffc645);
    color: #b8092e;
    padding: 0.3rem 0.7rem;
    border-radius: 0.6rem;
}

.isOk-main-red .isOk-btn .isOk-cancel {
    background: #red;
}

.isOk-main-red .isOk-btn .isOk-confirm {
    animation: move 1s infinite;
    font-weight: bold;
}

/*退出弹框*/
.back-main {
    width: 9.5rem;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.45rem;
}

.back-main .back-close {
    width: 0.6rem;
    position: absolute;
    top: -1rem;
    right: 0.25rem;
}

.back-main .main-center {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.back-main .main-center .back_bg {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.back-main .main-center .back_btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back-main .main-center .back_btn img {
    width: 1.3rem;
    height: 1.3rem;
}

.go_link1, .go_link2 {
    width: 44%;
    margin: 0 auto;
    position: relative;
    animation: backMove 1s infinite;
}

@keyframes backMove {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

.go_link1 div, .go_link2 div {
    position: absolute;
    left: 18%;
    top: 28%;
    color: #f7ff03;
    text-shadow: 3px 3px 3px #922729;
    font-size: 0.4rem;
}

.go_link1 .hand, .go_link2 .hand {
    width: 1.2rem;
    position: absolute;
    left: 64%;
    top: 64%;
}

/*手势指引*/
.form .hand1 {
    width: 5rem;
    position: absolute;
    left: 0.5rem;
    top: -0.8rem;
}

.form .hand2 {
    width: 1.72rem;
    position: absolute;
    display: none;
    z-index: 999;
    right: 0.3rem;
    top: -0.8rem;
}

.form .hand3 {
    width: 5rem;
    position: absolute;
    top: -0.8rem;
    left: 0.5rem;
    display: none;
}

.form .hand4 {
    position: absolute;
    display: none;
    width: 2.2rem;
    right: 0;
    top: 1rem;
}


