html,body,ul,li,p,img,h3,h5,div{
    margin: 0;
    padding: 0;
}

html{
    background: #fff;
}
body{
    font-size: 14px;
    background: #f5f5f5;
    overflow-x: hidden;
}
body{
    padding-bottom: 30px;
    margin: auto;
}
button{
    cursor: pointer;
}
#top{
    position: relative;
}
#top img,#main img, #main_name img{
    width:100%;
}
#search{
    /* position:absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -16px; */
    margin: 15px auto;
    width:100%;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}
#search input{
    width:74%;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    border:0;
    outline: 0;
    padding: 12px 0  12px 50px;
    background: url(img/search.svg) 18px center no-repeat;
    background-size: 26px;
    box-sizing: border-box;
    background-color: #fff;
}
#search button{
    outline: none;
    width:26%;
    border:0;
    border-radius: 0;;
    font-size: 16px;
    background: #0C96FF;
    color: #fff;

}
#case{
    display: none;
    width:90%;
    margin:30px auto 0;
    color: #999;
}
#case div{
    display: flex;
}
#case p{
    cursor: pointer;
    text-decoration: underline;
}
#main {
    display: none;
}
#main, #main_name{
    width:90%;
    margin:30px auto 0;
}
#main .content,#main_name .content{
    margin-top: -5px;
    padding: 10px;
    padding-top: 0;
    box-sizing: border-box;
    background: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    min-height: 120px;
}
#main .content h3,#main_name .content h3{
    font-weight: normal;
    text-align: center;
    line-height: 120px;
    color: #999;
}
#main .content ul,#main_name .content ul{
    color: #666;
    line-height: 26px;
    list-style: none;
}
#main .content ul li,#main_name .content ul li{
    clear: both;
    line-height: 30px;
}
#main .content ul li:first-child h5,#main_name .content ul li:first-child h5{
    background: #D8EFFD;
    color:#0C96FF;
    text-align: center;
}
#main .content ul h5,#main_name .content ul h5{
    float: left;
    width:110px;
    margin-right: 10px;
    text-align: right;
    color: #666;
}
#main .content ul p,#main_name .content ul p{
    display: table;
}
footer{
    padding:0 20px;
    color: #999;
    margin-top: 20px;
}
footer ul{
    list-style: none;
    font-size: 12px;
    line-height: 22px;
}

#ewm{
    margin:20px auto;
    display: block;
    color: #666;
    text-align: center;
    line-height: 30px;
}
#ewm img{
    display: block;
    width:120px;
    margin:auto;
}

#main button, #main_name button{
    display: none;
    margin: 10px auto;
    padding:10px 20px;
    background: #029AFF;
    color: #fff;
    border-radius: 6px;
    border:0;
    cursor: pointer;
    outline: none;
    font-size: 16px; 
}
#mask{
    position:fixed;
    width:100%;
    height: 100vh;
    background: rgba(0,0,0,.6);
    z-index: 1;
    top: 0;
    left: 0;
    display: none;
}

input:focus,textarea:focus{
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(102,175,233,.6)
}


#loading {
    position:fixed;
    left: 0;right: 0;
    top: 0;bottom: 0;
    margin: auto;
    z-index: 6;
    width: 3em;
    height: 3em;
    /* display: grid; */
    display: none;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
}
#loading::after{
    content: '正在查询中...';
    text-align: center;
    position: absolute;
    bottom: -30px;
    width:300px;
    font-size: 16px;
    color: #fff;
}
#loading > div {
    width: 0.5em;
    height: 0.5em;
    background-color: #3cefff;
    border-radius: 50%;
    animation: fade 1.5s alternate ease-in-out infinite;
  }
  
  #loading > div:nth-of-type(2),
  #loading > div:nth-of-type(4) {
    animation-delay: 0.25s;
  }
  
  #loading > div:nth-of-type(3),
  #loading > div:nth-of-type(5),
  #loading > div:nth-of-type(7) {
    animation-delay: 0.5s;
  }
  
  #loading > div:nth-of-type(6),
  #loading > div:nth-of-type(8) {
    animation-delay: 0.75s;
  }
  
  #loading > div:nth-of-type(9) {
    animation-delay: 1s;
  }
  #register{
      display: none;
      width:450px;
      height: 400px;
      position:fixed;
      left: 0;right: 0;
      top: 0;bottom: 0;
      margin: auto;
      background: #fff;
      border-radius: 6px;
      z-index: 1;
}
#register .close{
    width:20px;
    position:absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    color: #363636;
}
#register h2{
    margin: 0;
    line-height: 50px;
    text-align: center;
}
#register .box{
    line-height: 30px;
    padding: 12px;
}
#register input{
    width:80%;
    margin:auto;
    display: block;
    border-radius: 4px;
    margin-top: 12px;
    border:1px solid #eee;
    padding: 8px 12px;
}
#register label{
    width:100%;
    display: block;
}
#register label input{
    width:40%;
    margin-left: 7%;
    margin-right: 9%;
    display: inline-block;
}
#register button{
    outline: none;
    border:0;
    padding:6px 0;
    border-radius: 0;;
    font-size: 14px;
    background: #0C96FF;
    color: #fff;
    width:30%;
    border-radius: 4px;
}
#register button.sub{
    margin:20px auto;
    display: block;
    padding:8px;
    width: 70%;
}


  @keyframes fade {
    to {
      opacity: 0.2;
    }
  }
@media screen and (max-width: 760px) {
    #register{
        width:80%;
    }
    #register label input{
        margin-left: 6%;
        margin-right: 8%;
    }
  
}

.toHome {
    cursor: pointer;
    position: absolute;
    width: 20%;
    height: 20%;
}

.tab {
    background-color: #fff;
    padding: 10px 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}
.tabList {
    width: 240px;
    border: 1px solid #DCDFE6;
    overflow: hidden;
    color: #909399;
    margin: 0 auto;
    border-radius: 5px;
}

.tabItem {
    float: left;
    width: 50%;
    height: 32px;
    line-height:32px;
    text-align: center;
    cursor: pointer;
}

.tabItem.active {
   background-color: #0C96FF;
   color: #fff;
}

#case_name{
    width:90%;
    margin:30px auto 0;
    color: #999;
}
#case_name .text{
    cursor: pointer;
    text-decoration: underline;
}

#case_name .tip {
    text-align: center;
    margin-top: 30px;
}

.content_name {
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.content_name:last-child {
    border-bottom-color: #fff;
}