/*顶部移动端导航*/

#c-header .c-nav2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 999 !important;
    font-size: 14px;
    line-height: 50px;
    overflow-y: auto;
    background: url("../images/sub_nav_bj.jpg") no-repeat center top;
    background-size: 100% 100%;
    transition: all 0.5s;
}

body.c-open #c-header .c-nav2 {
    height: calc(100%) !important;
    height: -webkit-calc(100%);
    padding-top: 80px !important;
}

body.c-open #c-header.c-head-hide .c-nav2 {
    height: calc(100% - 65px);
    height: -webkit-calc(100% - 65px);
}

#c-header .c-nav2 .font{ color: #fff;}
#c-header .c-nav2 .font p{ font-size: 20px; font-weight: bold;}
#c-header .c-nav2 .font span{ font-size: 16px; text-transform: uppercase;}
#c-header .c-nav2 .line{ border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 30px;}
#c-header .c-nav2 ul{ margin: 5% 0 8% !important; color: #fff; text-align: center; font-size: 16px;}
#c-header .c-nav2 ul li{ height: 40px; line-height: 40px;}
#c-header .c-nav2 ul a{ color: #fff; transition: 0.3s; color: rgba(255,255,255,0.5);}
#c-header .c-nav2 ul .big{ font-size: 20px; font-weight: bold; margin-bottom: 20px !important; color: #fff;}
#c-header .c-nav2 ul a:hover{ color: #fff;}
#c-header .c-nav2 .line1{ border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px;}
#c-header .c-nav2 .nav_font{ color: rgba(255,255,255,0.1); line-height: 40px;}
#c-header .c-nav2 .nav_font p{ font-size: 36px; font-style: italic; font-weight: bold; letter-spacing: 3px;}
#c-header .c-nav2 .nav_font span{ text-transform: uppercase; font-size: 14px;}
#c-header .c-nav2 dl dd{ color: rgba(255,255,255,0.3);}
#c-header .c-nav2 dl dd i{ width: 30px; height: 30px; line-height: 30px; text-align: center; border: 1px solid rgba(255,255,255,0.3); border-radius: 100%; font-size: 20px; margin-right: 10px; color: rgba(255,255,255,0.3)}

@media screen and (max-height:800px){
    body.c-open #c-header .c-nav2 { padding-top: 0 !important;}
    #c-header .c-nav2 ul{ margin: 5% 0 !important;}
}




/*顶部导航开关*/
#c-header .c-switch {
    position: fixed;
    top: 4%;
    right: 30px;
    width: 35px;
    height: 20px;
    z-index: 99999;
    cursor: pointer;
    transition: 0.3s;
}

#c-header .c-switch i {
    position: relative;
    display: block;
    height: 2px;
    background: #fff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#c-header.c-head-hide .c-switch i, .c-open #c-header .c-switch i {
    background: #333;
}

#c-header .c-switch i:nth-child(1) {
    top: 0;
}

#c-header .c-switch i:nth-child(3) {
    bottom: 0;
}

#c-header .c-switch i:nth-child(2) {
    margin: 6px 0;
}

body.c-open #c-header .c-switch i:nth-child(2) {
    opacity: 0;
}

body.c-open #c-header .c-switch i:nth-child(1) {
    top: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body.c-open #c-header .c-switch i:nth-child(3) {
    bottom: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

