/* reset */

body {
    margin: 0;
    padding: 0;
}

* {
    -webkit-touch-callout: none;
    /*系统默认菜单被禁用*/
    -webkit-user-select: none;
    /*webkit浏览器*/
    -khtml-user-select: none;
    /*早期浏览器*/
    -moz-user-select: none;
    /*火狐*/
    -ms-user-select: none;
    /*IE10*/
    user-select: none;
}

input,
textarea {
    -webkit-user-select: auto;
    /*webkit浏览器*/
    margin: 0px;
    padding: 0px;
    outline: none;
}

.full-bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    opacity: .7;
    padding-bottom: 0;
}

.full-container {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-bottom: 0;
    overflow-y: scroll;
    display: none;
}

.page {
    width: 32rem;
    min-height: 62.05rem;
    position: relative;
    display: none;
    overflow: hidden;
    margin: 0 auto;
    
}

.overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
}

.logo {
    position: absolute;
    opacity: 1;
    left: 1rem;
    top: 1rem;
    width: 11.15rem;
    height: 2.25rem;
    /* background: url(../img/logo.png)left top no-repeat; */
    background-size: 100% 100%;
}


/* first page */


.page-first {
    background: url(../img/page-first-bg-new.png)left top no-repeat;
    background-size: 100% auto;
}


.page1-learnButton {
    position: absolute;
    left: 0rem;
    top: 11em;
    width: 32rem;
    height: 30rem;
}

.page1-startButton {
    position: absolute;
    left: 5.4rem;
    top: 41.55rem;
    width: 21.2rem;
    height: 5.7rem;
    background: url(../img/start.png)left center no-repeat;
    background-size: 100%;
    /* animation:heartBeat linear 1s infinite */
}

@keyframes heartBeat {
    from{transform: scale(1.3);}
    to{transform: scale(1);}
 }

.page1-shareButton {
    display: block;
    position: absolute;
    left: 10.2rem;
    top: 40rem;
    width: 12rem;
    height: 1.5rem;
    background: url(../img/shareBtn.png)left center no-repeat;
    background-size: 100% 100%;
}

.page1-rule {
    position: absolute;
    right: 0;
    top: 2.3rem;
    width: 7.65rem;
    height: 2.85rem;
    background: url(../img/rules.png)right center no-repeat;
    background-size: 100%;
}

.page1-protocal-yes {
    position: absolute;
    left:8.55rem;
    top: 48rem;
    width: 13.55rem;
    height: 1.1rem;
    background: url(../img/read-protocal-yes.png)left center no-repeat;
    background-size: 100%;
}

.page1-protocal-no {
    position: absolute;
    left: 8.55rem;
    top: 48rem;
    width: 13.55rem;
    height: 1.1rem;
    background: url(../img/read-protocal-no.png)left center no-repeat;
    background-size: 100%;
}


/* question */

.question {
    overflow-x: hidden;
    overflow-y: auto;
}

.question .container {
    position: relative;
    border-width: 0.15rem;
    border-style: solid;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    margin-top: 4.5rem;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    min-height: 30rem;
    padding-bottom: 1rem;
}

.question .container .number {
    position: absolute;
    width: 3.6rem;
    height: 3.6rem;
    left: -1.3rem;
    top: -1.3rem;
    background: url(../img/number1.png) left center no-repeat;
    background-size: 100% 100%;
}

.question .container .gray {
    font-size: 0.8rem;
    color: #808080;
    line-height: 1.2rem;
    word-break: break-all;
    margin: 2rem 3rem;
}

.question .container .eraser {
    position: absolute;
    width: 6.1rem;
    height: 3.7rem;
    left: -2.2rem;
    bottom: -1.3rem;
    background: url(../img/eraser.png) left center no-repeat;
    background-size: 100% 100%;
}

.question .container p {
    text-align: left;
}

.question .container .pen {
    position: absolute;
    width: 3.5rem;
    height: 7.2rem;
    right: -2.7rem;
    bottom: -2.3rem;
    background: url(../img/pen.png) left center no-repeat;
    background-size: 100% 100%;
}

.question .container .problem {
    margin: 2.5rem;
    font-size: 1.5rem;
    color: #2b170a;
    line-height: 2.25rem;
    word-break: break-all;
}

.question .container .answer {
    margin-left: 2.1rem;
    margin-right: 2.1rem;
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
    border-width: 0.1rem;
    border-style: solid;
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    font-size: 1.5rem;
    padding: 0.7rem;
    word-break: break-all;
}

.roundButton {
    display: inline-block;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    min-height: 4.6rem;
    border-radius: 2.3rem;
    box-shadow: 0rem 0.2rem 0.9rem 0.2rem rgba(227, 35, 0, 0.2);
}

.roundButton .text {
    line-height: 4.6rem;
    font-size: 2.1rem;
    text-align: center;
    border-radius: 2.3rem;
    box-shadow: 0.1rem 0.35rem 0rem 0rem #eb4127;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* review question */

.overlay {
    overflow: auto;
}

.overlay .container {
    position: relative;
    margin: 3.0rem 2.5rem;
    padding: 2.2rem 1.3rem;
    border-style: solid;
    border-width: 0.15rem;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    min-height: 30rem;
}

.overlay .container .close {
    position: absolute;
    right: -0.7rem;
    top: -0.7rem;
    width: 3.25rem;
    height: 3.25rem;
    background: url(../img/close.png) left center no-repeat;
    background-size: 100% 100%;
}

.overlay .container .title {
    font-size: 2.3rem;
    text-align: center;
    margin: 0 1rem;
    line-height: 1em;
    padding-bottom: 1.5rem;
    margin-bottom: 0.6rem;
}

.overlay .container .line {
    border-bottom-width: 0.15rem;
    border-bottom-style: solid;
}

.overlay .container .item {
    font-size: 1.3rem;
}

.overlay .container .underline {
    font-size: 1.3rem;
    border-bottom-width: 0.05rem;
    border-bottom-style: solid;
    border-color: #f1dbd1;
}

.overlay .container .item .q {
    text-indent: -1em;
    padding-left: 1em;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0;
    word-break: break-all;
}

.overlay .container .item .answer {
    padding-left: 1em;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0;
    word-break: break-all;
}

.overlay .container .item .right {
    color: #ff4013;
    font-weight: bold;
}

.overlay .container .centerText {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.prizeBox {
    display: inline-block;
    width: 7.9rem;
    height: 5.4rem;
    background: url(../img/prizeEnd.png) left center no-repeat;
    background-size: 100% 100%;
}

.alignCenter {
    text-align: center;
}

table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

th,
td {
    border: 1px solid #713610;
    text-align: center;
    position: relative;
    font-size: 1.5rem;
    padding: 0.5rem 0.8rem;
}

td img {
    position: absolute;
    right: -0.5rem;
    bottom: 1rem;
    height: 1.3rem;
}

.redEnvo {
    display: inline-block;
    width: 20.7rem;
    height: 25.95rem;
    margin-top: 4.5rem;
    background: url(../img/redenvo.png) left center no-repeat;
    background-size: 100% 100%;
}

.redEnvo span {
    color: rgb(245, 195, 53);
    font-size: 2.5rem;
    vertical-align: -0.15rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.redEnvo p {
    color: white;
    font-size: 1.6rem;
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 0rem;
    line-height: 2.7rem;
}

.redEnvo .hint {
    margin-top: 11.5rem;
}

.roundButton2 {
    display: inline-block;
    margin-top: 1.2rem;
    min-height: 2.5rem;
    border-radius: 1.5rem;
    border-width: 0.15rem;
    border-style: solid;
    background-color: #ffcb4a;
    color: #ff4f38;
}

.roundButton2 .text {
    line-height: 2.5rem;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}


.underlineButton {
    font-size: 2rem;
    display: inline-block;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    /* padding-bottom: 0.15rem; */
    border-bottom: 0.15rem solid;
}

.overlay .box {
    position: absolute;
    left: 5%;
    top: 30%;
    width: 90%;
    background: #fff;
    font-size: 1.7rem;
    border-radius: 30px 30px 30px 30px;
}

.overlay .box .content {
    color: #666;
    padding: 2rem 2rem 0;
}

.overlay .box .content .hintText {
    display: inline-block;
    text-align: left;
    padding: 0;
    margin: 0;
}

.box .buttonArea {
    height: 5.4rem;
    line-height: 5.4rem;
    margin: 0;
    margin-top: 2.2rem;
    border-top: 1px solid #ccc;
    border-radius: 0 0 30px 30px;
    background: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box .buttonArea span {
    color: #333;
    flex-grow: 1;
    width: 49%;
}

.box .buttonArea span:nth-of-type(2) {
    border-left: 1px solid #ccc;
}


/* realTimeResult page */

.realTimeResult {
    background: url(../img/realtimeBg.png)left top no-repeat;
    background-size: 100% auto;
    min-height: 63rem;
}

.realTimeNumber {
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 9.5rem;
    top: 14.2rem;
}

.realTimeNumber span {
    color: rgb(245, 195, 53);
    font-size: 2.5rem;
}

.realTimeMoney {
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 10.2rem;
    top: 19.1rem;
    width: 11rem;
}

.realTimeMoney span {
    color: rgb(245, 195, 53);
    font-size: 2.5rem;
}

.realTimeResult .viewHint {
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% auto;
    position: absolute;
    left: 2rem;
    top: 34rem;
    width: 28rem;
    height: 6rem;
}

.realTimeResult .realTimeLearn {
    position: absolute;
    left: 3.3rem;
    top: 41rem;
    width: 25.5rem;
    height: 3.3rem;
}

.realTimeResult .realTimeRecord {
    position: absolute;
    left: 4rem;
    top: 46rem;
    width: 9rem;
    height: 3rem;
}

.realTimeResult .realTimeReview {
    position: absolute;
    left: 19rem;
    top: 46rem;
    width: 9rem;
    height: 3rem;
}

.realTimeResult .barcode {
    position: absolute;
    left: 1rem;
    top: 50rem;
    width: 29rem;
    height: 10.25rem;
}

.realTimeResult .barcode img {
    width: 100%;
}

.realTimeResult .bar1 {
    position: absolute;
    left: 3rem;
    top: 50rem;
    width: 12rem;
    height: 13rem;
}

.realTimeResult .bar1 img {
    width: 100%;
}

.realTimeResult .bar2 {
    position: absolute;
    left: 16.5rem;
    top: 50rem;
    width: 12rem;
    height: 13rem;
}

.realTimeResult .bar2 img {
    width: 100%;
}

/* result page old */


/*result page new*/


.result {
    background: url(../img/result.png)left top no-repeat;
    background-size: 100% auto;
    background-color: #092068;
}

#failResult {
    background-image: url(../img/failResult.png);
}

.result .getPoint {
    position: absolute;
    left: 2.55rem;
    top: 27.75rem;
    width: 26.9rem;
    height: 5.7rem;
}
.result .score {
    position: absolute;
    left: 6.1rem;
    top: 48.55rem;
    width: 5.85rem;
    height: 1.75rem;
}

#failResult .score {
    top: 46.55rem;
}

.result .review {
    position: absolute;
    left: 20rem;
    top: 48.55rem;
    width: 5.85rem;
    height: 1.75rem;
}


#failResult .review {
    top: 46.55rem;
}

.result .banner {
    position: absolute;
    left: 1.9rem;
    bottom: 15.5rem;
    width: 28.2rem;
    height: 9.5rem;
}

#failResult .banner {
    position: absolute;
    left: 1.9rem;
    bottom: 18rem;
    width: 28.2rem;
    height: 9.5rem;
}

.result .banner img {
    border-radius: .5rem;
    width: 100%;
}

.result .problemNumber {
    position: absolute;
    left: 16.2rem;
    top: 8.3rem;
    width: 3.2rem;
    height: 3rem;
    background: center no-repeat;
    background-size: 100%;
}
 
.pointTip.pointTip {
    padding: 0 4.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: left;
    padding-top: .5rem;
}

.resultRisk {
    padding: 0 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: left;
    padding-top: .5rem;
    color: rgba(255, 255, 255, 0.6);
}