/* CSS resets/init */
a,
blockquote,
body,
button,
code,
dd,
div,
dl,
dt,
em,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
iframe,
img,
input,
label,
li,
object,
ol,
p,
q,
small,
span,
strong,
table,
tbody,
td,
th,
tr,
ul {
    margin: 0;
    padding: 0;
    border: 0;
}
li,
ol,
ul {
    list-style: none;
}
input,
textarea {
    outline: 0;
    background: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    resize: none;
    -webkit-appearance: none;
}
a,
a:active,
a:focus,
a:hover,
a:visited {
    text-decoration: none;
}
a,
button,
input,
textarea,
label,
i,
em {
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
    border: 0;
    -webkit-appearance: none;
}
a,
img {
    -webkit-touch-callout: none;
}

.clearfix::after {
    clear: both;
    display: table;
    content: '';
    zoom: 1;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.hide {
    display: none;
}

/* header */
.header {
    position: relative;
    width: 7.5rem;
    display: flex;
    justify-content: space-between;
    height: 0.88rem;
    overflow: hidden;
    background-color: #fff;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}
.header .logo {
    display: flex;
    padding-left: 0.2rem;
    overflow: hidden;
    height: 100%;
}
.header .logo .logo-icon {
    overflow: hidden;
    align-self: center;
    width: 1.85rem;
    height: 0.88rem;
    background: url('../img/logo.svg') no-repeat left center;
    background-size: 1.85rem auto;
}
.header .goback {
    align-self: center;
    width: 0.64rem;
    height: 0.64rem;
    cursor: pointer;
    margin-left: 0.2rem;
}
.header .goback .goback-icon {
    display: block;
    margin: 0.12rem auto;
    width: 0.4rem;
    height: 0.4rem;
    background: url('../img/icon_menu.png') no-repeat left top;
    background-size: 0.8rem;
}
.header .goback .goback-icon:hover,
.header .goback .goback-icon:active {
    background-position: left -0.4rem;
}
.header .menu {
    align-self: center;
    width: 0.64rem;
    height: 0.64rem;
    cursor: pointer;
    margin-right: 0.18rem;
}
.header .menu .menu-icon {
    display: block;
    margin: 0.14rem auto;
    width: 0.36rem;
    height: 0.36rem;
    background: url('../img/icon_menu.png') no-repeat right top;
    background-size: 0.8rem;
}
.header .menu:hover .menu-icon,
.header .menu:active .menu-icon,
.header .menu.on .menu-icon {
    background-position: right -0.4rem;
}
.header.zt .logo-icon {
    width: 0.56rem;
}
.header.zt .menu {
    margin-left: 0.06rem;
}
/* menu-box */
.menu-box {
    display: none;
    background-color: #fff;
    position: fixed;
    left: 50%;
    top: 0;
    margin-left: -3.75rem;
    z-index: 998;
    width: 7.5rem;
    height: 100vh;
    box-sizing: border-box;
}
.menu-box .swich {
    width: 7.5rem;
    display: flex;
    justify-content: flex-end;
    height: 0.88rem;
    overflow: hidden;
    background-color: #fff;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}
.menu-box .swich .menu-btn {
    align-self: center;
    width: 0.64rem;
    height: 0.64rem;
    cursor: pointer;
    margin-right: 0.18rem;
}
.menu-box .swich .menu-btn .menu-icon {
    display: block;
    margin: 0.14rem auto;
    width: 0.36rem;
    height: 0.36rem;
    background: url('../img/icon_menu.png') no-repeat right -0.4rem;
    background-size: 0.8rem;
}
.menu-box .menu-title {
    text-indent: 0.32rem;
    font-size: 0.24rem;
    font-weight: bold;
    line-height: 2.5;
    margin-top: 0.3rem;
    color: #999999;
}
.menu-box .menu-enter {
    overflow: hidden;
    margin-left: -0.2rem;
    padding: 0 0.3rem;
    width: 7.1rem;
}
.menu-box .menu-enter li {
    float: left;
    margin: 0 0 0.2rem 0.2rem;
    width: 2.16rem;
}
.menu-box .menu-enter li a {
    display: block;
    overflow: hidden;
    padding: 0 0.1rem;
    height: 0.74rem;
    border: 0.04rem solid #eeeeee;
    color: #333333;
    text-align: center;
    line-height: 0.74rem;
    border-radius: 0.1rem;
    font-size: 0.28rem;
}
.menu-box .menu-enter li a:hover,
.menu-box .menu-enter li a:active {
    background-color: #39e393;
    background-color: #d5f9e8;
    border-color: #008fff;
    color: #008fff;
    font-weight: bold;
}

/* footer */
.footer {
    background-color: #333;
    padding: 0.32rem 0.32rem 0.64rem 0.32rem;
    color: #999999;
    text-align: center;
    font-weight: 400;
    font-size: 0.24rem;
    line-height: 1.2;
}
.footer p {
    text-align: center;
    margin: 0.1rem 0;
}
.footer .logo-icon {
    display: block;
    width: 1.85rem;
    height: 0.69rem;
    margin: 0.3rem auto 0.4rem auto;
    background: url('../img/logo_footer.svg') no-repeat left bottom;
    background-size: 1.85rem auto;
}

/* nav */
.nav {
    padding: 0 0.2rem;
    background-color: #fff;
}
.nav .swiper-slide {
    width: auto;
}
.nav .swiper-slide a {
    display: block;
    padding: 0 0.3rem;
    color: rgba(51, 51, 51, 0.8);
    text-align: center;
    font-weight: bold;
    font-size: 0.28rem;
    line-height: 0.8rem;
    letter-spacing: 0.01rem;
}
.nav .swiper-slide.active a {
    position: relative;
    color: #008fff;
    font-size: 0.36rem;
}
.nav .swiper-slide.active a::after {
    display: block;
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -0.1rem;
    bottom: 0.1rem;
    background-color: #008fff;
    width: 0.2rem;
    height: 0.06rem;
    -webkit-border-radius: 0.03rem;
    -moz-border-radius: 0.03rem;
    border-radius: 0.03rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
