/* Global
@font-face {
    font-family: nexalight;
    src: url('fonts/nexalight.ttf') format("truetype"),
    url('fonts/nexalight.otf') format("opentype"),
    url('fonts/nexalight.woff') format("woff"),
    url("fonts/nexalight.svg") format("svg");
}
 */
html,body{
    color: #333;
    font-family: nexalight,'微软雅黑';
    margin: 0;
    padding: 0;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
}

input{
    -webkit-appearance: none;
    outline: 0;
}

div,span,p,input{
    box-sizing: border-box;
}

a{
    color: #3498db;
    text-decoration: none;
}

a:active{
    color: #2b7eb5;
}

.cf:before, .cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}

.dn{
    display: none !important;
}

.tc { text-align: center;}


/*语音按钮部分*/
.input-wrap{
    position: fixed;
    bottom:0;
    width: 100%;
    padding: 5px  10px  10px  10px;
    z-index: 3;
    background: #fff;
}

.input-wrap .input-container{
    margin-right: 40px;
    /* margin-left: 115px; */
    margin-left: 45px;
    position: relative;
    /* border: 1px solid #d9d9d9; */
    border-radius: 20px;
    background: #fff;
}

.input-wrap .input-container .voice-input-wrap{
    width: 100%;
    /* padding-right: 40px; */
    overflow: auto;
}
.input-wrap .input-container .heightauto {
    height: auto;
}

.input-wrap .input-container .height80 {
    height: 80px;
}

.input-wrap .input-container .voicegray {
    color: #ccc
}

.input-wrap .input-container .voice-input{
    border: 1px solid #d9d9d9;
    padding: 10px 0px 8px 15px;
    border-radius: 20px;
    line-height: 1.2em;
    font-size: 15px;
    width: 100%;
    overflow-x:hidden; 
    overflow-y:scroll;
    -webkit-user-select: auto;
}

.height100 { height: 100px !important;}

.input-wrap .input-container .camera{
    position: absolute;
    left: -115px;
    bottom: 6px;
    width: 26px;
    height: 24px;
    background: url("../imgs/camera@2x.png") 0 0/26px 24px no-repeat transparent;
}

.input-wrap .input-container .photo{
    position: absolute;
    /* left: -75px; */
    left: -45px;
    bottom: 6px;
    width: 30px;
    height: 24px;
    background: url("../imgs/photo@2x.png") 0 0/30px 24px no-repeat transparent;
}

.input-wrap .input-container .voice{
    position: absolute;
    left: -31px;
    bottom: 4px;
    width: 17px;
    height: 28px;
    background: url("../imgs/voice@2x.png") 0 0/17px 28px no-repeat transparent;
}

.input-wrap .input-container .push-voice{
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 24px;
    height: 24px;
    background: url("../imgs/expression@2x.png") 0 0/24px 24px no-repeat transparent;
}

.input-wrap .change-input{
    position: absolute;
    right: -42px;
    bottom: 8px;
    width: 28px;
    height: 18px;
    background: url("../imgs/sendout@2x.png") 0 0/28px 18px no-repeat transparent;
}

.input-wrap .change-input.voice{
    background: url("../imgs/voice@2x.png") 0 0/26px 26px no-repeat transparent;
}

.input-wrap .get-voice{
    height: 160px;
}

.input-wrap .get-voice>label{
    color: #666;
    height: 30px;
    overflow: hidden;
    font-size: 14px;
    display: block;
    padding-top: 5px;
}

.input-wrap .get-voice>.voice-button{
    width: 110px;
    margin: 0 auto;
    position: relative;
    height: 110px;
}

.input-wrap .get-voice>.voice-button>label{
    font-size: 14px;
    text-align: center;
    width: 100%;
    display: inline-block;
    color: #666;
}

.input-wrap .get-voice>.voice-button>.voice{
    width: 80px;
    height: 80px;
    display: inline-block;
    position: absolute;
    left: 15px;
    bottom: 0;
    background: url("../imgs/voice-button@2x.png") 0 0/80px 80px no-repeat transparent;
    z-index: 2;
}

.input-wrap .get-voice>.voice-button.on:before{
    content: '';
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 0px;
    border-radius: 45px;
    left: 15px;
    background: #697df6;
    -webkit-animation: scaleout 1.3s infinite ease-in-out;
    animation: scaleout 1.3s infinite ease-in-out;
    z-index: 1;
}

.input-wrap .get-voice>.voice-button.on:after{
    content: '';
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 0px;
    border-radius: 45px;
    left: 15px;
    background: #697df6;
    -webkit-animation: scaleout2 1.3s infinite ease-in-out;
    animation: scaleout2 1.3s infinite ease-in-out;
    z-index: 0;
}

@-webkit-keyframes scaleout {
    0% {
        -webkit-transform: scale(0.9)
    }
    30% {
        -webkit-transform: scale(0.9)
    }
    100% {
        -webkit-transform: scale(1.2);
        opacity: 0;
    }
}
@keyframes scaleout {
    0% {
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
    }
    30% {
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
    }
    100% {
          transform: scale(1.2);
          -webkit-transform: scale(1.2);
          opacity: 0;
      }
}

@-webkit-keyframes scaleout2 {
    0% {
        -webkit-transform: scale(0.9)
    }
    100% {
        -webkit-transform: scale(1.5);
        opacity: 0;
    }
}
@keyframes scaleout2 {
    0% {
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
    } 100% {
          transform: scale(1.5);
          -webkit-transform: scale(1.5);
          opacity: 0;
      }
}

.search-voice-page2{
    /* display: none; */
    height: 100%;
    overflow: scroll;
}

.search-voice-page2>ul{
    margin: 0;
    padding: 0;
}

.search-voice-page2>ul>li{
    list-style: none;
    display: block;
    margin-top: 15px;
}

.search-voice-page2>ul>li>p{
    margin: 20px 0;
    max-width: 80%;
    line-height: 1.6em;
    background: #CCC;
    font-size: 14px;
    padding: 8px 10px 4px 10px;
    word-break:break-all;
}

.messagesImg{
    max-width: 80% !important;
    background: none !important;
    padding: 0 !important;
    border-radius:0 !important;
    background-image:none !important;
}

.messagesImg img{
    max-width: 100% !important;
    height: auto !important;
}


.search-voice-page2>ul>li.word-right{
    position: relative;
    padding-right: 60px;
    margin-right: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.search-voice-page2>ul>li.word-right>u{
    width: 40px;
    height: 40px;
    /*background: #ccc;*/
    border-radius: 22px;
    position: absolute;
    right: 0;
    top: 0;
}

.search-voice-page2>ul>li.word-right>p{
    float: right;
    border-radius: 20px 0 20px 20px;
    position: relative;
    color: #FFF;
    background-image:-webkit-linear-gradient(110deg, #7ab9fa, #5998f0);
    background-image:linear-gradient(110deg,#7ab9fa,#5998f0);
    -moz-box-shadow:1px 3px 8px #cdddfb; 
    -webkit-box-shadow:1px 3px 8px #cdddfb; 
    box-shadow:1px 3px 8px #cdddfb;
}



.search-voice-page2>ul>li.word-left{
    position: relative;
    padding-left: 60px;
    margin-left: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.search-voice-page2>ul>li.word-left>u{
    width: 40px;
    height: 40px;
    background: url("../imgs/chinapnr_icon.png") 0 0/ 40px 40px no-repeat transparent;
    border-radius: 22px;
    position: absolute;
    left: 0;
    top: 0;
}

.search-voice-page2>ul>li.word-left>p{
    float: left;
    border-radius: 0 20px 20px 20px;
    position: relative;
    color: #666;
    background: #fff;
    -moz-box-shadow:1px 3px 8px #e1e2e4; 
    -webkit-box-shadow:1px 3px 8px #e1e2e4; 
    box-shadow:1px 3px 8px #e1e2e4;
}



.search-voice-page2>ul .load{
    display: block;
    text-align: center;
}


.search-voice-page2 .error {
    background: #f1f1f1;
    width: 70%;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-voice-page2 .error span{
    color: #5998f0;
}


/*加载动画*/
.load2{
    width: 80px;
    height: 80px;
    position: absolute;
    left: 15px;
    bottom:0;
    display: none;
}
.load2 .loader,
.load2 .loader:before,
.load2 .loader:after {
    border-radius: 50%;
}
.load2 .loader:before,
.load2 .loader:after {
    position: absolute;
    content: '';
}
.load2 .loader:before {
    width: 42px;
    height: 82px;
    background: #FAFAFA;
    border-radius: 82px 0 0 82px;
    top: -1px;
    left: -1px;
    -webkit-transform-origin: 41px 41px;
    transform-origin: 41px 41px;
    -webkit-animation: load2 2s infinite ease 1.5s;
    animation: load2 2s infinite ease 1.5s;
}
.load2 .loader {
    font-size: 11px;
    text-indent: -99999em;
    position: relative;
    width: 80px;
    height: 80px;
    box-shadow: inset 0 0 0 4PX #55b2ff;
}
.load2 .loader:after {
    width: 42px;
    height: 82px;
    background: #FAFAFA;
    border-radius: 0 82px 82px 0;
    top: -1px;
    left: 40px;
    -webkit-transform-origin: 0px 40px;
    transform-origin: 0px 40px;
    -webkit-animation: load2 2s infinite ease;
    animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* loading */
.loading {
    text-align: center;
}

.loading p{
    padding-top: 4px !important;
}

.loading p> span {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 100%;
    display: inline-block;
    margin-right: 3px;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.loading .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loading .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.0) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 40% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
}
.robotbg { position: relative;}
.robotbg img { width: 100%; height: auto;}
.robottxt { position: absolute; top: 15px; width: 100%; color: #fff; font-size: 16px;}
.robotinfo { position: absolute; top: 45px; width: 100%; color: red; font-size: 18px;}

.word {
    background: #fff;
    -moz-box-shadow:1px 3px 8px #e1e2e4; 
    -webkit-box-shadow:1px 3px 8px #e1e2e4; 
    box-shadow:1px 3px 8px #e1e2e4;
    width: 90%;
    height: auto;
    overflow: auto;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    display: block;
    color: #333;
}

.word:active { color: #333;}
.word img { width: 100%; height: auto; display: block;}
.word span.text { font-size: 14px; padding: 5px 10px; display: block; overflow: auto;}
.word .textfl { float: left; width: 50%;}
.word .textfr { float: right; width: 50%; text-align: right;}

.solve { width: 230px; height: 36px; border: 1px solid #e0e0e0; margin: 10px auto 30px auto; clear: both; border-radius: 20px; line-height: 36px; font-size: 14px;}
.solve .solvefl { float: left; padding-left: 10px; width: 50%; }
.solve .solvefr { float: left; padding-left: 5px; width: 50%; }
.solve .solvefl .solvetop { background: url("../imgs/solvetop.png") no-repeat transparent; width: 20px; height: 17px; display: block; float: left; margin-right: 5px; margin-top: 8px;}
.solve .solvefr .solvebottom { background: url("../imgs/solvebottom.png") no-repeat transparent; width: 20px; height: 17px; display: block; float: left; margin-right: 5px;margin-top: 8px;}

.nosolve { width: 90%; height: auto; margin: 0 auto; font-size: 14px; overflow: auto;}
.nosolve p { border-bottom: 1px solid #f9f9f9; padding-bottom: 5px;}
.nosolve p a { display: inline;}
.nosolve p.artificial { position: relative;}
.nosolve p span.artService { background: #424345; color: #fff; position: absolute; border-radius: 10px; font-size: 12px; padding: 2px 10px; right: 0;}

.timeAxis { color: #9e9e9e; text-align: center; font-size: 12px;background: url("../imgs/line.png") repeat-x center; width: 94%; margin:0 auto; clear: both;}
.timeAxis span { background: #fff; padding: 0 15px;}

.score { 
    background: #fff;
    -moz-box-shadow:1px 3px 8px #e1e2e4; 
    -webkit-box-shadow:1px 3px 8px #e1e2e4; 
    box-shadow:1px 3px 8px #e1e2e4;
    width: 86%;
    height: 250px;
    margin: 50px auto 30px auto;
    position: relative;
}

.score i.portrait { position: absolute; top: -20px; left: 0; width: 100%; height: auto; overflow: auto; font-size: 14px; color: #666; font-style: normal; text-align: center; z-index: 999; display: block;}
.scoreinput { width: 90%; margin: 0 auto;}
.scoreinput input { border: 1px solid #d3d3d3; border-radius: 5px;  width: 100%;box-sizing: border-box; padding:10px; margin-top: 60px;}
.btn {
    background-image:-webkit-linear-gradient(90deg, #95c7fb, #7aadf3);
    background-image:linear-gradient(90deg,#95c7fb,#7aadf3);
    width: 90%; 
    margin:10px auto 0 auto;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 40px;
}

.scoreError { color: #ff0000; text-align: center; font-size: 14px; display: none}

/*星星评分*/
.starbox{width:250px; margin: 0 auto; padding-top: 40px; clear: both; height:30px;}
.star_ul{background:url(../imgs/stargray.png) no-repeat ;width:100%; background-size:250px 30px;position:relative;height:30px;}
.star_ul dt{float:left;width:20%;height:30px;}
.star_ul dt i{display:block;height:30px;position:absolute;left:0;top:0;text-indent:-999em;}
.star_ul dt .active-star{background:url(../imgs/star.png) no-repeat; }
.star_ul dt .one-star{width:20%;background-position:0 0;z-index:50;background-size:250px 30px;}
.star_ul dt .two-star{width:40%;background-position:0 0;z-index:40;background-size:250px 30px;}
.star_ul dt .three-star{width:60%;background-position:0 0;z-index:30;background-size:250px 30px;}
.star_ul dt .four-star{width:80%;background-position:0 0;z-index:20;background-size:250px 30px;}
.star_ul dt .five-star{width:100%;margin-right:0;background-position:0 0;z-index:10;background-size:250px 30px;}
.s_result{ text-align: center; width: 100%; color: #5998f0; font-size: 14px;}

/*end*/

.swiper-container {
  width: 94%;
  height: 300px;
  color: #fff;
  text-align: center;
  padding-bottom: 10px;
}
.swiper-slide {
  width: 200px;
  height: auto;
  text-align: left;
}

.swiper-slide img {
    width: auto; 
    height: 300px;
}
.pagination {
  position: absolute;
  z-index: 20;
  left: 45%;
  bottom: 10px;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #efeff9;
  margin-right: 5px;
  opacity: 0.8;
  border: 1px solid #fff;
  cursor: pointer;
}
.swiper-visible-switch {
  background: #efeff9;
}
.swiper-active-switch {
  background: #528bf2;
}