/* 头部导航 */
#header {
    position: fixed;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, .5);
    margin-bottom: 5px;
    border-bottom: 1px solid #F0CA76;
    z-index: 99;
    box-shadow: 0 1px #F5B935;
    font-size: 16px;
    z-index: 100;
}

#header .on {
    border-bottom: 2px solid #eee;
}

#header .top-header {
    width: 80%;
    margin: 0 auto;
}

#logo {
    width: 250px;
    height: 150px;
    float: left;
    margin: -7px;
}
#nav {
    float: right;
    width: 589px;
    margin-right: -100px;
}

#nav ul.nav1 li {
    float: left;
    margin: 20px;
    line-height: 30px;
}
#nav ul.nav1 li a {
    color: rgba(255, 255, 255, .7);
    padding: 23px 10px;
    cursor: pointer;
}
#nav ul.nav1 li a:hover {
    color: #fff;
}

#nav ul.nav1 .nav1-1 {
    position: absolute;
    right: 25px;
    top: 70px;
    width: 140px;
    background: rgba(0, 0, 0, .5);
    border-radius: 0 0 7px 7px;
    display: none;
}

#nav ul.nav2 {
    display: none;
    width: 500px;
    height: 30px;
}
#nav span {
    display: none;
}
#footer {
    width: 100%;
    height: 120px;
    background: #1E1919 url("../img/bg.png");
}
#footer ul {
    width: 880px;
    margin: 0 auto;
    padding-top: 30px;
}

#footer ul li {
    float: left;
    font-size: 16px;
    padding: 20px 50px 0 30px;
    color: #ccc;
}

.b_to_t {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 69px;
    height: 69px;
    line-height: 69px;
    background: #612D2E;
    border-radius: 100%;
    text-align: center;
    cursor: pointer;
    z-index: 100;
}

.b_to_t span {
    color: #fff;
    font-size: 38px;
}
.b_to_t:hover {
    background: #472121;
}
.b_to_t span:hover {
    color: #eee;
}

/*900-1200px*/
@media screen and (max-width: 1200px) {
    #header .top-header ul.nav1 {
        float: right;
        width: 488px;
        margin-left: 20px;
    }
    .top-header .nav1 a {
        padding: 23px 0 !important;
    }

    #nav ul.nav1 .nav1-1 {
        right: 0;
        top: 70px;
        width: 130px;
    }
}

/*600-900px*/
@media screen and (max-width: 900px) {
    #header {
        position: fixed;
        height: 70px;
        background: #0E1D30;
    }
    #logo {
        float: left;
        margin: -10px auto;
    }
    #nav {
        float: none;
        width: 100%;
    }
    #nav ul.nav1 {
        display: none;
    }
    #nav .w-nav2 {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: 265px;
        background: #A49386;
        display: none;
    }
    #nav .w-nav2 ul.nav2 {
        display: block;
        float: left;
        width: 100%;
        margin: 10px auto;
        text-align: center;
    }
    #nav .w-nav2 ul.nav2 li {
        float: none;
        padding: 10px 0;
    }
    #nav .w-nav2 ul.nav2 li a {
        font-size: 14px;
        color: #F0CA76;
    }
    #nav .w-nav2 ul.nav2 li a:hover {
        opacity: .7;
    }
    #nav span {
        position: absolute;
        top: 15px;
        right: 50px;
        display: block;
        width: 60px;
        height: 40px;
        line-height: 43px;
        text-align: center;
        color: rgba(255, 255, 255, .8);
        font-size: 28px;
        border: 1px solid #fff;
        border-radius: 5px;
        cursor: pointer;
    }
    #nav span:hover {
        color: rgba(0, 0, 0, .8);
        background: #eee;
    }
    #footer {
        /* top: 600px; */
    }
    #footer ul {
        width: 100%;
        text-align: center;
        padding-top: 22px;
    }
    #footer ul li {
        float: none;
        padding: 4px 0 0 0;
        font-size: 12px;
    }
    .b_to_t {
        position: fixed;
        right: 20px;
        bottom: 50px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

}
/*0-600*/
@media screen and (max-width: 600px) {
    #header {
        position: absolute;
    }
    #logo img {
        margin-left: -40px;
        margin-top: -10px;
        width: 75%;
        height: 75%;
    }
    #footer {
        width: 100%;
        height: 120px;
        background: #1E1919 url("../img/bg.png");
    }
}    