/*
* @Author: name
* @Date:   2019-10-06 14:12:03
* @Last Modified by:   name
* @Last Modified time: 2019-10-15 14:03:20
*/

*{
    padding:0;
    text-align: center;
}

body{
    width: 100%;
    height: calc(100vh);
    background:url('../img/rpyt/bg3.png') no-repeat;
    background-size: cover;
    overflow:hidden;
}
.query{
    padding-top:6%;
}

.query_img{
    margin-bottom: 2rem;
}
.query_img img{
    width:25rem;
}
.query_title{
    color:#fff;
    font-size:2rem;
    margin-bottom:2rem;
}
.query_title p:before{
    content:"————";
    color:#fff;
    margin-right: 2%;
}
.query_title p:after{
    content:"————";
    color:#fff;
    margin-left: 2%;
}
.query_input{
    background:url('../img/rpyt/input_bg.png') no-repeat;
    background-size:50%;
    background-position: top;
    padding:10px;
    margin-bottom:2rem;
}
.query_flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 45rem;
    margin: 0 auto;
}
.query_input input{
    height: 30px;
    width: 13rem;
    margin-top: 2.5rem;
}
.query_input .icon{
    position: relative;
    left: 32px;
    top: 5px;
}


// 验证码
.input-val{
    background: #ffffff;
    padding: 0 2%;
    border: none;
    border: 1px solid rgba(0,0,0,.2);
    }
#canvas{
    background: #fcfcfb;
    display: inline-block;
    /* border: 1px solid #ccc; */
    cursor: pointer;
    height: 28px;
    position: relative;
    bottom: -8px;
    left: 73px;
    margin-left: -60px;
    }
.btn{
    width: 100px;
    height: 40px;
    background: rgba(0,0,0,0);
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px auto 0;
    display: block;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    margin-bottom:2rem;
    margin-top:2rem;
}
.query_info{
    color:#fff;
}


// 查询结果样式
.results_content{
    width:20rem;
}
.results_content div{
    background:rgba(255,255,255,0.5);
    width:20rem;
    padding:0 2% 3%;
    border-radius:0.5rem;
    margin: 0 auto;
}
.results_content span:after{
        content: '';
    display: block;
    width: 40%;
    height: 44rem;
    max-height: 50rem;
    background: url(../img/rpyt/bg500_after.png) no-repeat;
    background-size: cover;
    ver: ;
    position: absolute;
    right: 0;
    top: 4rem;
    float: right;
}
.results_content img{
    position:relative;
    top:100px;
}

.results_content div p:nth-child(1):before{
        content: '';
    display: inline-block;
    width: 105px;
    height: 112px;
    background: url(../img/rpyt/before.png);
    background-size: 85%;
    ver: ;
    position: relative;
    left: -49px;
    top: 11px;
    margin-bottom:10px;
}
.results_content div p:nth-child(1):after{
    content: '';
    display: block;
    width: 143px;
    height: 115px;
    background: url(../img/rpyt/after.png);
    background-size: cover;
    position: relative;
    right: -70px;
    top: 17px;
    float: right;
}

.results_content div p:nth-child(2){
    font-size:28px;
    margin-top:10px;
}
.results_content div p:nth-child(3){
    color: #5A4A4F;
    line-height: 1.5rem;
    margin-top: 0.5rem;
}

.results_content div p:nth-child(4){
    background: #EB6C08;
    width: 12rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-top: 0.5rem;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
        margin: 0 auto;
}

@media only screen and (max-width: 1200px){

    .query_input {
    background: url(../img/rpyt/input_bg.png) no-repeat;
    background-size: 74%;
    background-position: top;
    padding: 10px;
    margin-bottom: 2rem;
}
}


@media only screen and (max-width: 768px){
    .query_img img {
    width: 15rem;
}

.query_flex{
    display:block;
    width:20rem;
}
.query_input{
    background:rgba(0,0,0,0);
    background-size:60%;
    background-position: top;
    padding:10px;
    margin-bottom:2rem;
}
.query_title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0;
}
.query_info {
    color: #fff;
    width: 300px;
    margin:0 auto;
}
}