*{
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
p{
    margin-top: 0;
}
body{
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    color: #646464;
    background-color: #f5f5f5;
}
a{
    transition: color 0.12s ease-out;
    text-decoration: none;
    color: #fff;
}

/*---首页开始---*/
.header{  /*头部*/
    background-color: #373B4C;
}
.nav{   /*导航*/
    padding: 25px 40px 15px 40px;
    text-align: right;
}
.nav span{  /*导航*/
    display: block;
    float: left;
}
.nav span a{ /*导航*/
    padding: 15px 15px 0 20px;
    background: url(../img/logo.png) no-repeat 0 0;
    background-size: contain;
}
.header-text{  /*KLapi*/
    padding: 10px;
    text-align: center;
    color: #fff;
}
.header-text h1{  /*KLapi*/
    margin: 0;
    font-size: 66px;
}
.header-text p{  /*KLapi*/
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.6;
}
.header-text span{  /*KLapi*/
    margin: 5px 0 10px 0;
    font-size: 14px;
}

.content{  /*中部*/
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 30px 30px 1px;
    overflow-x: visible;
}
.list{  /*列表*/
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    width: 100%;
    text-align: center;
    padding: 0 15px;
    
}
.lista{  /*列表*/
    border-radius: 200px;
    background-color: #fff;
    display: block;
    min-height: 56px;
    color: #646464;
    padding: 15px 0;
    margin-bottom: 20px;
    font-weight: normal;
    transition: all 0.15s ease-out;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
.lista:hover{  /*列表*/
    transform: translateY(-2px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.name{  /*API名字*/
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: inherit;
}
.title{  /*API介绍*/
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
}
.footer{  /*底部*/
    background-color: #373B4C;
    color: #fff;
    margin-top: 50px;
    padding-top: 40px;
}
.container{  /*底部*/
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.footer-links{  /*底部*/
    flex: 1;
    margin-bottom: 30px;
    text-align: center;
}
.footer-links h4{  /*底部*/
    font-size: 30px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: inherit;
}
.footer-yl{
    padding: 10px 0;
    font-size: 18px;
    color: #dbdbdb;
}
.footer-links a:hover{  /*底部*/
    color: #46c37b;
}
.footer-links img{  /*底部*/
    width: 30%;
}
.bottom{  /*底部*/
    background-color: rgb(0 0 0 / 8%);
    height: 50px;
    line-height: 50px;
    text-align: center;
}
/*---首页结束---*/

/*---通用开始---*/
.copyText{  /* 复制文本提示信息 */
    position: fixed;
    pointer-events: auto;
    padding: 10px 15px;
    margin: 0;
    z-index: 9999;
    min-width: 100px;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    border: 0;
    box-shadow: none;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    border-radius: 10px;
}
.content-api{  /* 中部 */
    width: 1280px;
    margin: 10px auto auto;
    padding: 0 30px;
    position: relative;
    font-size: 16px;
}
.title-api{  /* 标题 */
    padding: 15px;
    margin: 0;
    line-height: 22px;
    border-left: 5px solid #009688;
    border-bottom: 1px solid #e6e6e6;
    background-color: #f2f2f2;
    margin-bottom: 10px;
}
.tab-api{  /*  */
    margin-top: 10px;
    padding: 10px;
    text-align: left;
}
.item-tab-api{
    line-height: 20px;
    padding-bottom: 16px;
}
.tb-tab-api{
    background-color: #393D49;
    height: 22px;
    line-height: 22px;
    position: relative;
    display: inline-block;
    padding: 0 6px;
    text-align: center;
    border-radius: 2px;
    color: #fff;
}
.url{
    word-break: break-all;
    cursor: pointer;
    margin-left: 8px;
    color: #777;
    border-bottom: 2px solid #5FB878;
}
.url a{
    color: #777;
}
.fz{
    cursor: pointer;
    padding: 2px 10px 5px 10px;
    margin-left: 8px;
    background: url('../img/fz.png') no-repeat center center / contain;
}
.linep{
    font-weight: 700;
    color: #555;
    padding-left: 14px;
    height: 22px;
    margin: 15px 0;
    position: relative;
}
.linep::before{
    content: '';
    width: 4px;
    height: 22px;
    background: #00aeff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}
table{
    width: 100%;
    padding: 0;
    margin: 10px 0;
    border-collapse: collapse;
    background-color: #fff;
    color: #666;
    font-size: 16px;
}
tr{
    background-color: #f2f2f2;
    transition: all .3s;
}
th{
    position: relative;
    min-height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    border: 1px solid #e6e6e6;
}
td{
    position: relative;
    min-height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    border: 1px solid #e6e6e6;
    background-color: #fff;
}
.code-api{
    margin: 10px auto;
    border: 1px solid #e2e2e2;
    border-left-width: 30px;
    background-color: #F2F2F2;
    color: #333;
    position: relative;
    font-size: 12px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Courier New;
}
.h3{
    padding: 0 10px;
    margin: 0;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #e2e2e2;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;;
}
.code-api span{
    display: block;
    padding: 10px;
}
/*---通用结束---*/


/*---手机样式开始---*/
@media(max-width: 768px){
    .header-text h1{  /*头部标题*/
        font-size: 46px;
    }
    .content{  /*中部*/
        min-height: 0;
        padding: 10px 0 1px;
    }
    .list{  /*api列表*/
        flex: none;
        max-width: none;
        padding: 0 30px;
    }
    .lista{  /*api列表*/
        padding: 10px 0;
        margin-bottom: 10px;
    }
    .name{
        font-size: 18px;
    }
    .title{
        font-size: 14px;
    }
    .container{  /*底部*/
        padding: 0 25px;
    }
    .footer{
        margin-top: 40px;
    }
    .footer-links{  /*底部*/
        width: 100%;
        flex: none;
    }
    .footer-links img{  /*底部*/
        width: 50%;
    }
    .content-api{
        padding: 0 15px;
        width: 100%;
    }
    .code-api{
        border-left-width: 10px;
    }
}
/*---手机样式结束---*/