/*重置*/
* {
    box-sizing: border-box;
    font-family: "Microsoft Yahei";
    font-size: 14px;
}

@font-face {
    font-family: hw;
    src: url('../font/hw.ttf')

}

@font-face {
    font-family: wk;
    src: url('../font/W12.TTF')

}
@media screen and (max-width: 768px){
    .main .container .up{
        margin-left:5%
    }
}
@media screen and (min-width: 992px){
    .main .container .up{
        margin-left:30%
    }
}
.lf {
    float: left
}

.rt {
    float: right
}

.clear:after {
    content: "";
    display: table;
    clear: both;
}

.clear:before {
    content: "";
    display: table;
}

span, a, i {
    display: inline-block
}

a:hover, a:visited, a:focus {
    text-decoration: none;

}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.img-m {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.img-max, .carousel-inner {
    width: 100%;
    height: 100%;
    width: 100%\0;
    width: 100%\9;
}

.body {
    width: 100%;
    overflow-x: hidden;
}

.item {
    width: 100%;
    height: 100%;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 100%;
}

/*导航*/
.dh {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 70px;
    background: rgba(255, 255, 255, 1);
}

.nr {
    width: 100%;
}

#banner {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.carousel-indicators {
    bottom: 30px;
}

/*导航*/
.logo {
    width: 30%;
    float: left;
    width: 32% \0 \9;
}

.dh-list {
    width: 70%;
    float: left;
    height: 100%;
    width: 68% \0 \9;
}

.dh-list > li {
    display: inline-block;
    width: 10.7%;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.dh-list > li > a {
    display: block;
    width: 100%;
    height: 70px;
    line-height: 70px;
    color: #00087b;
    font-size: 16px;
    transition: .5s linear all;
    border-bottom: 5px solid transparent;
}

.dh-list > li > a:hover {
    background:#005CA1;
    color: #ffffff;
    border-bottom-color:darkorange;
}
.dh-list>.active a{
    background:#005CA1;
    color: #ffffff;
    border-bottom-color:darkorange;
}
.zd {
    display: none;
}

@media screen and (max-width: 769px) {
    .dh{height:50px;}
    .dh-list {
        width: 100%;
        background: rgba(255, 255, 255, .7);
        height: 350px;
        overflow: auto;
        display: none;
    }
    .zd {
        display: block;
        clear: both;
        margin: 0 auto;
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, .7);
        line-height: 30px;
        border-radius: 100%;
        text-align: center;
        transition: .3s linear all;
    }
    .zd a{
        color:blue;
        font-size: 20px;
        font-weight: bold;
        margin-left: 3px;
        margin-top:-2px;
    }

    .dh-list > li {
        width: 100%;
        height: 50px;
    }

    .logo {
        width: 100%;
        height: 100%;
        line-height: 50px;
        box-shadow: 1px 1px 1px 1px #222222;
    }
    .logo > a > img {
        margin: 0 auto;
        height: 50px;
    }

    .dh-list > li > a:hover {

        border-bottom-color: #005ca1;

    }

}
@media all and (max-width: 1245px) and (min-width:1145px ){
    .dh-list > li {
        width: 8.7%;
    }
    .dh-list > li > a{
        font-size: 12px;
    }
}
@media all and (max-width: 1145px) and (min-width:990px ){
    .dh-list > li {
        width: auto;
    }
    .dh-list > li > a{
        font-size: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media all and (max-width: 990px) and (min-width:860px ){
    .dh-list > li {
        width: auto;
    }
    .dh-list > li > a{
        font-size: 12px;
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media all and (max-width: 860px) and (min-width:770px ){
    .dh-list > li {
        width: auto;
    }
    .dh-list > li > a{
        font-size: 12px;
        padding-left: 1px;
        padding-right: 1px;
    }
}