/*
*宽度
*高度
*相对定位
*置顶
*堆叠顺序使永远在最前面
*背景颜色
*文本居中对齐*/
a {
    text-decoration: none;
}
p{
    /*/**font-family: "Source Han Sans CN";*/
}
p, h1, h2, h3, h4, h5, h6, dd, dt, dl, li, ol, body, html, form, textarea, input, select, table, ul {
    margin: 0;
    padding: 0;


}

ul, li, ol {
    list-style: none;
}

a {
    background-color: transparent;
}

img {
    vertical-align: middle;
    border: 0;
}

div.nav {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0px;
    z-index: 99999;
    /*text-align: center;*/
    background: rgba(29, 29, 29, 0.5);
}

#logo {
    line-height: 60px;
    float: left;
    padding-left: 2.8%;
    height: 100%;
    width: 38%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
#logo  img{
    height: 60%;
    margin-right: 14px;
}
#logo>div{
    height: 50%;
    padding-left: 14px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    border-left: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
}

#nav {
    width: 58%;
    height: 100%;
    float: right;
}

#nav > ul {
    width: 100%;
    position: relative;
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 3%;
    box-sizing: border-box;
}

#nav > ul > li {
    width: 8%;
    text-align: center;
    float: left;
    height: 100%;
}


#nav > ul > li > a {
    display: block;
    position: relative;
    text-transform: uppercase;
    /**font-family: "Source Han Sans CN";*/
    color: #acacac;
    font-size: 14px;
    letter-spacing: 2px; /*字体间距*/
    transition: .3s;
    top: 33%;
}

ul.dodown > li > a {
    display: block;
    text-transform: uppercase;
    color: #acacac;
    font-size: 14px;
    letter-spacing: 2px; /*字体间距*/
    transition: .3s;
}

#nav > ul > li a p {
    font-size: 10px;
    color: #aaaaaa;
    opacity: .5;
    letter-spacing: 0px; /*英文无间距*/
    transition: .3s;
}

/*下拉框样式*/
#nav ul ul {
    display: none;
    width: 100%;
    top: 100%;
    position: absolute;
    background: rgba(29, 29, 29, 0.5);
    color: #fff;
    z-index: 9999;
    overflow: hidden;
}

#nav > ul > ul {
    position: relative;
    right: 10px;
}

#nav ul ul li {
    margin: 0;
    line-height: 40px;
    height: 40px;
}

#nav > ul > li ul li a {
    padding: 2% !important;
    transition: .5s;
    font-size: 12px;
    color: #fff;
    /**font-family: "Source Han Sans CN";*/
}

#nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 90px;
    z-index: -1;
    background: #2d2d2d;
    opacity: 0;
    transition: all .3s;
    top: 0px;
}

/*下拉框鼠标选中变色*/
#nav > ul > li ul li:hover  a{
    background: rgba(259, 259, 259, 0.4);
    color: #ffffff;
    height: 40px;
}
@media screen and (max-width: 1250px){
    #nav > ul > li>a {
        font-size: 11px!important;
    }
    #nav > ul > li ul li:hover {
        font-size: 10px!important;
        text-overflow: ellipsis!important;
        overflow: hidden!important;
        white-space: nowrap!important;
    }
    #nav > ul > li ul li a {
        font-size: 10px!important;
        text-overflow: ellipsis!important;
        overflow: hidden!important;
        white-space: nowrap!important;
    }

}

/*点击后字体变为白色*/
#nav > ul > li > a.act, #nav > ul > li > a.act p, #nav > ul > li:hover > a, #nav > ul > li:hover > a p {
    color: #fff;
}

#nav > ul > li {
    position: relative;
}

#nav > ul > li:hover > p {
    width: 4.35px;
    height: 4.35px;
    background: #fff;
    margin-bottom: 0;
    transition: all .3s;
    position: absolute;
    bottom: 15%;
    /*left: 9%;*/
    left: calc(50% - 4.35px);
    border-radius: 100%;
}

.actt {
    width: 4.35px;
    height: 4.35px;
    background: #fff;
    margin-bottom: 0;
    transition: all .3s;
    position: absolute;
    /*bottom: 0;*/
    /*left: 9%;*/
    bottom: 15%;
    left: calc(50% - 4.35px);
    border-radius: 100%;
    opacity: 0.8;
}

#nav > ul > li > p.act, #nav > ul > li:hover > a, #nav > ul > li:hover > a p.act {
    color: #fff;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 1);
    background-color: white;;
}

::-webkit-scrollbar-thumb {
    background: #888888;
}

::-webkit-scrollbar {/*滚动条整体样式*/
    width:15px;    /*高宽分别对应横竖滚动条的尺寸*/
}
html body {
    overflow-x: hidden;
}
a:link{text-decoration:none; }  /* 指正常的未被访问过的链接*/

a:visited{text-decoration:none; }/*指已经访问过的链接*/

a:hover{text-decoration:none;}

a:active{text-decoration:none;}/* 指正在点的链接*/

