/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#E4E4E4;
    background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-size:.5rem;
    /*height:100vh;*/
    margin:0px;
    padding:0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-right, 0px);
    text-transform:uppercase;
    width:100%;
}

/* Portrait layout (default) */
.app {
    background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
    position:absolute;             /* position in the center of the screen */
    left:50%;
    top:50%;
    height:50px;                   /* text area height */
    width:225px;                   /* text area width */
    text-align:center;
    padding:180px 0px 0px 0px;     /* image height is 200px (bottom 20px are overlapped with text) */
    margin:-115px 0px 0px -112px;  /* offset vertical: half of image height and text area height */
                                   /* offset horizontal: half of text area width */
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
        background-position:left center;
        padding:75px 0px 75px 170px;  /* padding-top + padding-bottom + text area = image height */
        margin:-90px 0px 0px -198px;  /* offset vertical: half of image height */
                                      /* offset horizontal: half of image width and text area width */
    }
}

h1 {
    font-size:24px;
    font-weight:normal;
    margin:0px;
    overflow:visible;
    padding:0px;
    text-align:center;
}

.event {
    border-radius:4px;
    -webkit-border-radius:4px;
    color:#FFFFFF;
    font-size:12px;
    margin:0px 30px;
    padding:2px 0px;
}

.event.listening {
    background-color:#333333;
    display:block;
}

.event.received {
    background-color:#4B946A;
    display:none;
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}

.flow_div{
    position: fixed;
    top: 0;
    right: 0;
    bottom:0;
    left: 0;
    background: rgba(0,0,0,.3);
    z-index: 1001;
    display: none;
}

.flow_bg{
    background: #fff;
    border-radius: .3rem;
    width: 70%;
    min-height: 5.2rem;
    margin:10rem auto;
    padding: .5rem;
    text-align: center;
    font-size: .7rem;
}

.warn_icon{
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto .5rem;
}

select{
    outline: none;
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 100%;
    color:#B9B9B9;
}

table{
    font-size: .5rem;
}

/*很做作的做了一个上下移动的横线，也不知道是受了谁家二维码扫描的影响*/
.qrscanner {
    width: 100%;
    height: 100%;
}
html{
    width:100%;
    height:100%;
}

.qrscanner-area {
    width: 100%;
    height: 85%;
    background: url(../img/scanner.svg) no-repeat center center;
    background-size: contain;
}

/*.through-line {*/
/*    left: 20%;*/
/*    width: 60%;*/
/*    height: 2px;*/
/*    background: #3B6EA5;*/
/*    position: absolute;*/
/*    animation: myfirst 5s linear infinite alternate;*/
/*}*/

/*@keyframes myfirst {*/
/*    0% {*/
/*        background: #3B6EA5;*/
/*        top: 180px;*/
/*    }*/

/*    25% {*/
/*        background: #3B6EA5;*/
/*        top: 220px;*/
/*    }*/

/*    50% {*/
/*        background: #3B6EA5;*/
/*        top: 240px;*/
/*    }*/

/*    75% {*/
/*        background: #3B6EA5;*/
/*        top: 260px;*/
/*    }*/

/*    100% {*/
/*        background: #3B6EA5;*/
/*        top: 280px;*/
/*    }*/
/*}*/

.button-bottom {
    width: 11rem;
    /*position: absolute;*/
    /*left: 20%;*/
    /*bottom: 6rem;*/
    overflow: hidden;
    margin: 0 auto ;
}

.icon-camera {
    float: left;
}

.scan-icon{
    display:inline-block;
    width: 3rem;
    height: 3rem;
    text-align: center;
    line-height: 3rem;
    border-radius: 50%;
    background: #3B6EA5;
    color:#fff;
    font-size: 1.2rem;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15), -1px 0 2px rgba(0, 0, 0, 0.1);
}
.foot_bar{
    position: fixed;
    bottom:0;
    left: 0;
    right: 0;
    color:#473626;
    background:#fff;
    height: 2.2rem;
    padding: .12rem 0;
    text-align: center;
    line-height: .8rem;
    font-size: .7rem;
    z-index: 1000;
}

.foot_obj{
    text-align: center;
    position: relative;
    width: 33.3%;
    font-size: .7rem;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    float: left;
    margin-top: .2rem;
}
.foot_active{
    color:#0095f2;
}

.foot-scan{
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    position: absolute;
    bottom:-0.2rem;
    border-radius: 50%;
    text-align: center;
    background: #fff;
}

.foot_xiaoxi{
    background: #FF4A53;
    width: .75rem;
    height: .75rem;
    text-align: center;
    line-height: .75rem;
    border-radius: 50%;
    color:#fff;
    font-size: 12px;
    position: absolute;
    top: -.3rem;
    right: 30%;
}
.mission_xiaoxi{
    display: inline-block;
    background: #FF4A53;
    width: .75rem;
    height: .75rem;
    text-align: center;
    line-height: .75rem;
    border-radius: 50%;
    color:#fff;
    font-size: 12px;
}
.page_title{
    background:url("../img/index_top_bg.png");
    overflow:hidden;
    color:#fff;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height: 1.8rem;
    text-align: center;
    line-height: 1.8rem;
    font-size: .7rem;
    z-index: 1000;
    border-bottom: 1px solid #F5F5F5;
}
.back_icon{
    width: 1rem;
    position: absolute;
    left: .5rem;
    top:.4rem
}
input{
    border: none;
    outline: none;
}
.tableBack{
    background-color:#d9edf7 !important;
}