﻿#main_nav {
    box-shadow: 0 0 4px #ddd;
}
.main_nav_content {
    float: none;
    margin: 0 auto;
    background: none;
    border: 0;
}

.main_nav_content .navbar-toggle {
    padding: 21px 15px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.logoShow {
    height: auto;
}

.logoShow img {
    height: 55px;
}

.main_nav_list li a {
    height: 76px;
    line-height: 46px;
    font-size: 16px;
    padding: 15px 30px;
    /*transition: all 0.5s;*/
}

#bs-example-navbar-collapse-1 > .main_nav_list li a:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    transition: top 0.4s cubic-bezier(.19,.77,.57,.96);
    background: #ff0000;
    z-index: -1;
}

.navbar-default .navbar-nav > .main_nav_active > a {
    color: #e60012!important;
}

.navbar-default .navbar-nav > .main_nav_active > a span {
    color: #e60012!important;
}


.navbar-default .navbar-nav > li > a {
    color: #333;
}

.main_nav_list .dropdown .glyphicon-menu-down {
    font-size: 12px;
    color: #999;
    margin-left: 2px;
}

.main_nav_list .dropdown-menu li a {
    font-size: 15px;
}

.main_nav_list #second {
    display: none;
}

.main_nav_list #first {
    display: block;
}

.header-other span {
    font-size: 18px;
    cursor: pointer;
    margin-left: 18px;
    padding: 29px 0;
    color: #888;
}

.header-other .glyphicon-globe {
    position: unset;
}

.header-other .language {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #f7f7f7;
    overflow: hidden;
}
.header-other .language .box {
    padding: 20px 28px;
    margin: 0 auto!important;
    float:unset;
    max-width: 1200px;
    box-sizing:border-box;
}
.header-other .language .box > div {
    float: right;
}
.header-other .language .box > div > a {
    margin-left: 25px;
}
.header-other .language .box > div > a:hover {
    color: #e60012;
    text-decoration: underline;
}

.current_language {
    font-weight: 600;
    color: #e60012 !important;
}

.navbar-default .navbar-toggle {
    border: none;
}

.navbar-default .navbar-toggle:hover {
    background: #fff;
}

.navbar-toggle:focus {
    background: #fff;
}
.navbar-brand {
    margin-left: 0 !important;
    padding: 10px 15px;
}
/*尾部*/
.footer {
    background: #222;
    background-size: cover;
    padding: 50px 0 30px;
    color: #ffffff;
}

.footer-info {
    display: flex;
}

.footer-logo img {
    height: 60px;
}

.footer a {
    color: #999;
}

.footer-nav {
    display: flex;
    margin-right: 40px;
}

.footer-nav dl {
    padding: 0 40px;
}

.footer-nav dl:first-child {
    padding-left: 0;
    border-left: none;
}

.footer-nav dl dt {
    font-size: 16px;
    text-align: left;
    margin-bottom: 10px;
}

.footer-nav dl dd {
    padding: 3px 0;
    text-align: left;
    color: #999;
}

.footer-nav dl dd:nth-child(2n+1) {
    margin-right: 0
}

.footer-nav li a {
    font-size: 15px;
    color: #999;
    padding: 0 20px;
    line-height: 60px;
}

.contact-way {
    width: 400px;
    color: #999;
}

.contact-way p {
    font-size: 14px;
}

.contact-way .telphone {
    /*color: #fff;*/
}

.contact-way .telphone span {
   /* font-size: 38px;
    font-weight: 700;*/
}

.contact-way .email {
    margin: 12px 0;
    display:flex
}
.contact-way .email span {
    width: 45px;
    flex-shrink: 0;
}
.contact-way .email p {
    text-align:left;
}
.contact-way .address {
    width: 340px;
    display: flex;
}

.contact-way .address span {
    flex-shrink: 0;
    display: inline-block;
    width: 45px;
}

.ewm {
    margin-top: 40px;
}

.ewm img {
    width: 100px;
    height: auto;
}

.footer-other {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-other p {
    color: #999;
    margin-bottom: 6px;
    text-align: center;
    font-size: 13px;
}

.footer-other a {
    font-size: 13px;
}
/*二级导航样式*/
.second_level li {
    text-align: center;
    background: #4c4a4f;
    color: white;
    font-size: 13px;
    float: left;
}

.second_level li a {
    padding: 0 16px;
    font-weight: bold;
    font-size: 12px;
    line-height: 61px;
    color: #d2ced5;
    text-decoration: none;
}

.second_level li a:hover {
    color: #ff0000;
}

.second_level {
    position: absolute;
    width: 600px;
    display: none;
    z-index: 1;
}
/*.dropdown-menu {
    overflow: unset !important;
}*/

.dropdown-menu > li > a {
    height: 50px;
    line-height: 25px;
}

.dropdown-submenu {
    display: flex;
    margin-top: 2px;
    /* min-width: 168px;
    position: absolute;
    top: 0;
    left: 160px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    border: 1px solid rgba(0,0,0,.15);
    padding: 5px 0;
    background: #fff;
    z-index: 999;*/
}

.dropdown-submenu li:hover {
    background: #f8f6f6;
}

.dropdown-submenu li a {
    display: block;
    height: 50px;
    line-height: normal;
    box-sizing: border-box;
    padding: 15px;
}
/*自定义下拉菜单 start*/
.div-dropdown-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    z-index: 9999;
    background-image: linear-gradient(to right,#f5f9fa,#fff);
}
.div-dropdown-menu a {
    color: #333;
    font-size: 16px;
}
.menu-container {
    display:flex;
    padding: 0 28px;
    margin: 0 auto !important;
    float: unset;
    max-width: 1200px;
    box-sizing: border-box;
}
.left-menu {
    background: #f5f9fa;
}
.center-menu {
    display:none;
    background: #edeeef;
}
.left-menu, .center-menu {
    width: 18.5%;
    height: 100vh;
    padding-bottom: 8vh;
    padding-top: 40px;
    box-sizing: border-box;
}
.left-menu li > a, .center-menu  li > a{
    height: auto;
    line-height: normal;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.right-menu {
    width: 63%;
    padding-left: 40px;
    padding-bottom: 8vh;
    padding-top: 40px;
    text-align:left;
    background:#fff;
}
.right-menu h2 {
    font-size: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.right-menu ul li {
    height:auto;
    line-height:normal;
    color: #000;
    margin-top: 30px;
}
.right-menu ul li a {
    font-size: 16px;
    padding: 0;
    height:auto;
    line-height:normal;
    color: #333;
}
.right-menu ul li .subClass-title {
    font-size: 16px;
    color: #000;
    cursor:default;
}
.right-menu .xp-list li{
    width: 33.33%;
    float:left;
    margin-top: 10px;
}
.right-menu .xp-list li a {
    font-size: 14px;
    color: #666;
}
.fg-line {
    padding: 0;
    margin: 30px 0;
    width: 100%;
    height: 1px;
    background: #ddd;
}
.left-menu-active {
    position:relative;
    background: #edeeef;
}
.center-menu-active {
    position: relative;
    background: #fff;
}
.left-menu-active:before, .center-menu-active:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-bottom: 16px solid transparent;
    border-right: 16px solid transparent;
    border-left: 16px solid #e60012;
    position: absolute;
    top: 0;
    left: 0;
}
.right-menu .xp-list li a:hover {
     color: #e60012;
    text-decoration: underline;
}
.subClass-title-active:hover {
    color: #e60012 !important;
    text-decoration: underline;
    cursor:pointer;
}
.right-menu .right-cont {
    display: none;
}
.right-menu .right-cont .rc-item{
    display: none;
}
.close-btn {
    position: absolute;
    top: 0;
    right: 28px;
    cursor:pointer;
}
.close-btn span {
    color: #e60012;
    font-size: 22px;
    opacity:.7;
}
/*自定义下拉菜单 end*/
@media (min-width: 768px) {
    #main_nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index:999;
    }
    .container-fluid {
        display: flex;
        justify-content: space-between;
        margin: 0 auto!important;
    }
    .container-fluid:before,.container-fluid:after {
        content: unset !important;
    }
    .navbar {
        position: unset !important;
    }
    /*.navbar-default .navbar-nav > li:hover > a {
        color: #e60012;
        text-decoration: underline;
    }
    .navbar-default .navbar-nav > li:hover > a >span{
        color: #e60012;
    }*/
    .navbar-collapse.collapse {
        position: unset !important;
        text-align:center;
    }
    .header-other {
        float:right;
    }

    .main_nav_list {
        position: unset !important;
    }

    .dropdown {
        position: unset !important;
    }

    .dropdown-menu {
        display: none;
        flex-wrap: wrap;
        width: 100%;
        left: 0;
        right: 0;
        top: 76px;
        border: none;
        justify-content: center;
        overflow: hidden;
        padding: 20px 0;
        background: #f7f7f7;
      /*  border-top: 1px solid #eee;
        box-shadow:none;*/
    }

    .dropdown-menu li {
        display: inline-block;
    }

    .dropdown-menu .divider {
        width: 100%;
        margin-left: 13px;
        margin-bottom: 0;
    }

    .dropdown-menu li:hover > a {
        background-color:transparent;
        color: #e60012;
        text-decoration: underline;
    }

    .product-dropdown-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20%;
        padding-right: 20%;
    }

    .product-dropdown-menu > li {
        display: flex;
        position: relative;
    }

    .product-dropdown-menu > li > a {
        font-weight: bold;
        width: 150px;
        padding: 15px;
    }

    .submenu-toggle .glyphicon-menu-down {
        display: none;
    }

    .product-dropdown-menu .glyphicon-menu-down {
        display: inline-block;
        transform: rotate(270deg);
        margin: 5px 0 0 0;
        float: right;
    }
    .block {
        height:76px;
    }
}
@media (max-width: 1245px) {
    .main_nav_list li a {
        padding: 20px;
    }
}
@media (max-width: 1200px) {
    .navbar-brand {
        padding: 15px 0;
    }
    .navbar-brand img {
        height: 45px;
    }
    .navbar-default .navbar-nav > li > a {
        font-size: 15px;
        padding: 15px;
    }

    .header-other span {
        margin-left: 12px;
        font-size: 16px;
    }

    .footer-nav dl {
        padding: 0 20px;
    }

    .footer-info {
        position: relative;
        justify-content: space-between;
    }

    .contact-way {
        width: auto;
    }

    .ewm {
        position: absolute;
        top: 50%;
        left: 47%;
        margin-top: 0;
    }
}

@media (max-width: 992px) {
    .ewm {
        position: absolute;
        top: 50%;
        left: 27%;
        margin-top: 20px;
    }
    .product-dropdown-menu {
        padding: 0 10%!important;
    }
}

@media (max-width: 768px) {
    .block {
        display:none;
    }
    .main_nav_list #first {
        display: none;
    }
    .navbar-default {
        padding: 0;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 0 22px;
    }

    .main_nav_list #second {
        display: block;
    }

    .main_nav_list #second a:after {
        background: #ff0000;
        color: #ffffff;
    }

    .main_nav_content .navbar-toggle {
        padding: 15px;
    }

    .logoShow img {
        height: 40px;
    }

    .main_nav_list li a {
        height: 46px;
        line-height: 46px;
        padding: 0 22px;
        font-size: 14px!important;
    }
   
    .product-dropdown-menu {
        padding: 0!important;
    }

    .contactList .footer_content {
        display: none;
    }

    .contactList .footertel {
        margin-left: 10px;
    }

    .footer-nav {
        display: none;
    }

    .footer-info {
        display: block;
    }

    .ewm {
        position:unset;
        text-align: center;
        margin: 20px 0 0;
    }

    .contact-way {
        width: 100%;
    }

    .contact-way .telphone {
        color: #999;
        text-align: center;
    }

    .contact-way .telphone span {
        /*color: #fff;*/
        /*font-size: 35px;*/
    }

    .contact-way .email, .contact-way .address {
        text-align: center;
        width: 100%;
    }

    /*移动端菜单*/
    .main_nav_list .dropdown-menu {
        position: unset;
        transform: translate(0,0);
        float: unset;
        border: none;
        box-shadow: none;
        background: #f7f8f9;
    }

    .header-other {
        display: none;
    }

    .m-header-other {
        display: block !important;
    }

    .m-header-other li a {
        display: block;
        padding: 0 8px;
        line-height: 46px;
        font-size: 14px;
    }

    .navbar-nav > li.dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-submenu {
        display: none;
        position: unset;
        border: none;
        box-shadow: none;
        background: #f5f5f5;
        border-top: 1px solid #ddd;
    }

    .dropdown-submenu > li > a {
        padding-left: 35px;
    }

    .submenu-toggle .glyphicon-menu-down {
        display: inline-block;
        /*float:right;
        margin-top: 14px;*/
    }
}
