* {
    margin: 0 auto;
    font-family: '微软雅黑';
}

ul,
dl,
ol {
    padding: 0;
    margin: 0;
}

dt,
dd,
li {
    list-style: none;
}

img {
    border: none;
}

a {
    text-decoration: none;
}

body {
    background: #f7f7f7;
}

header,
footer,
section {
    width: 100%;
    float: left;
}

header {
    /* height: 100px; */
    /* overflow: hidden; */
    background: #fff;
}

header .logo {
    overflow: hidden;
    margin: 5px 20px;
    line-height: 80px;
    font-size: 32px;
}

header .logo img {
    height: 60px;
    margin-top: 10px;
    margin-right: 20px;
    float: left;
}



nav ul li p,
nav ul li p a {
    color: #333;
}

nav ul li p:hover {
    font-weight: bold;
    color: #900;
}

nav dl {
    display: none;
    z-index: 999;
    position: absolute;
    text-align: center;
    margin: 0 20px;
    margin-left: -20px;
}

nav dl dt {
    margin-left: 10px;
    display: inline-block;
    line-height: 120px;
}

nav dl dt a {
    color: #fff;
}

.mapsite {
    background: #fff;
    padding: 20px 0;
    font-size: 14px;
    color: #999;
    border-bottom: 1px solid #e6e6e6;
}

.mapsite a {
    margin: 0 5px;
    color: #666;
}

.subnavs {
    display: none;
    z-index: 998;
    top: 80px;
    height: 60px;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
}



.pages {
    width: 100%;
    float: left;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.pages span {
    padding: 10px 20px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    color: #666;
}

.pages span.on {
    border: 1px solid #900;
    background: #900;
    color: #fff;
}

.pages span:hover {
    border: 1px solid #900;
    background: #900;
    color: #fff;
}


footer {
    padding: 30px 0;
    text-align: center;
    background: #333;
    color: #999;
    font-size: 14px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.container {
    width: 100%;
}

/*全屏透明背景*/
.opacitybg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.6;
    z-index: 10;
}

.bigimgbox {
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    text-align: center;
}

.bigimgbox img {
    box-shadow: 1px 3px 5px #000;
}


/* @media only screen and (min-width: 400px) and (max-width: 1024px) { */

@media (min-width:320px) and (max-width: 480px) {
    .container {
        width: 300px;
    }

    nav {
        margin-top: 0;
        margin-bottom: 30px;
    }

    nav ul li {
        line-height: 30px;
    }
}

@media (min-width:480px) and (max-width: 600px) {
    .container {
        width: 480px;
    }

    .caselist ul li {
        width: 46%;
        height: 200px;
        margin-right: 2%;
        display: inline-block;
        color: #999;
        font-size: 14px;
        border-bottom: 1px solid #e6e6e6;
        margin-bottom: 20px;
    }

    nav {
        margin-top: 0;
        margin-bottom: 30px;
    }

    nav ul li {
        line-height: 20px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1200px;
    }

    nav {
        margin-top: 30px;
    }

    .caselist ul li {
        width: 30%;
        height: 280px;
        margin-right: 3%;
        display: inline-block;
        color: #999;
        font-size: 14px;
        border-bottom: 1px solid #e6e6e6;
        margin-bottom: 20px;
    }
}

nav ul li {
    display: inline-block;
    cursor: pointer;
    margin: 0 10px;
}
