@charset "utf-8";

@font-face {
    font-family: 'sy';
    src: url('fonts/sySong.woff');
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

html,
body {
    color: #333;
    font-family: "微软雅黑";
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
    font-size: .16rem;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

main {
    width: 100%;
    height: 100%;
}

html {
    font-size: 5.208333vw;
}



h1,
h2,
h3,
h4,
h5,
h6,
i,
em {
    font-style: normal;
    font-weight: normal;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img,
input {
    border: 0;
    outline: none;
}

button {
    outline: none;
    border: none;
}

body .clear {
    float: none !important;
    clear: both;
    height: 0 !important;
    width: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* 头部导航 */

.nav {
    position: relative;
    font-size: 0;
    margin-right: 1.4rem;
}

.nav>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.nav>ul>li {
    position: relative;
    margin-left: 1rem;
}

.nav>ul>li:first-child {
    margin-left: 0;
}


.nav>ul>li>a {
    display: block;
    font-size: .2rem;
    text-align: center;
    position: relative;
    color: #ffeccc;
    line-height: .52rem;
    font-family: 'sy';
    transition: all 0.3s;
    background: url(../images/nav-bg.png) no-repeat;
    background-size: 100% 100%;
    width: 1.48rem;
}

.nav>ul>li>a:hover {
    transform: translateY(.05rem);
}

.nav>ul>li>div {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 1.5rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 99;
    box-shadow: 0 0 .1rem rgba(0, 0, 0, .2);
    padding: .1rem 0;
    visibility: hidden;
    opacity: 0;
    border-radius: .05rem;
    transition: all 0.5s;
}

.nav>ul>li>div::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: .1rem solid transparent;
    border-right: .1rem solid transparent;
    border-bottom: .1rem solid #fff;
    border-left: .1rem solid transparent;
}

.nav>ul>li:hover>div {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.nav>ul>li>div>ul {
    overflow: hidden;

}

.nav>ul>li>div>ul>li {
    width: 100%;
}

.nav>ul>li>div>ul>li a {
    display: block;
    font-size: .17rem;
    color: #333333;
    line-height: .45rem;
    white-space: nowrap;
    padding: 0 .1rem;
    transition: all 0.5s;
}

.nav>ul>li>div>ul>li:hover a {
    color: #A6272D;
}

.nav>ul>li>div>ul>li:hover a {
    background: #ddd;
}

.nav>ul>li:hover>a {
    font-weight: 600;
}


/* head */
.head {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: .1rem .6rem;
    z-index: 99;
}

.logo a {
    display: block;
}

.logo a img {
    width: 1.77rem;
    display: block;
}

.h-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.h-r {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.h-menu {
    width: .65rem;
    height: .65rem;
    background: url(../images/i-menu.png) no-repeat center #ffeccc;
    background-size: .21rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s;
    position: relative;
}

.h-menu:hover {
    background: url(../images/i-menuh.png) no-repeat center #A6272D;
    background-size: .21rem;
    transform: scale(1.1);
}

.ser::after,
.h-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border: .01rem solid #ffeccc;
    border-radius: 50%;
    transition: all 0.5s;
}

.ser:hover::after,
.h-menu:hover::after {
    border-color: transparent;
}

.ser {
    width: .65rem;
    height: .65rem;
    background: url(../images/ico-home1.png) no-repeat center center #ffeccc;
    background-size: .28rem;
    border-radius: 50%;
    cursor: pointer;
    margin-left: .23rem;
    transition: all 0.5s;
    position: relative;
}

.ser:hover {
    background: url(../images/ico-home2.png) no-repeat center #A6272D;
    background-size: .28rem;
    transform: scale(1.1);
}



/* side */
.side {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3.68rem;
    height: 100vh;
    background: url(../images/s-bg.png) no-repeat;
    background-size: 100% 100%;
    z-index: 99;
    padding-left: .5rem;
    padding-top: .6rem;
    transform: translateX(100%);
    transition: all 0.6s;
}

.side.on {
    transform: translateX(0);
}

.side-c {
    overflow-y: auto;
    height: 100%;
}

.side-c::-webkit-scrollbar {
    display: none;
}

.side-c>ul>li {
    margin-bottom: .1rem;
}

.side-c>ul>li>a {
    display: block;
    font-size: .22rem;
    position: relative;
    color: #ffeccc;
    font-family: 'sy';
    padding-left: .4rem;
    background: url(../images/hua.png) no-repeat left center;
    background-size: .25rem;
    line-height: 1.8;
}

.s-ej {
    padding-left: .4rem;
}

.s-ej>a {
    display: block;
    font-size: .18rem;
    position: relative;
    color: #ffeccc;
    line-height: 2;
    font-family: 'sy';
    opacity: 0.6;
    transition: all 0.3s;
}

.s-ej>a:hover {
    opacity: 0.8;
}


.s-close {
    width: .5rem;
    height: .5rem;
    position: absolute;
    right: .5rem;
    top: .2rem;
    background: url(../images/i-close.png) no-repeat center center;
    background-size: .2rem;
    cursor: pointer;
}

.s-close:hover {
    transform: rotate(180deg);
    transition: all 0.6s;
}

/* side***end */



.m-index {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .nav {
        display: none;
    }

    body {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 100%
    }
}