﻿blockquote,body,button,code,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,img,input,legend,li,ol,p,pre,td,textarea,th,ul {
    margin: 0;
    padding: 0
}

body {
    background: url(bg.png) repeat;
    background-color: #df405c;
    overflow: hidden;
    color: #555;
    font-size: 15px;
    font-family: Microsoft JhengHei,Arial,Helvetica,sans-serif,Simsun,Tahoma
}

body,caption,td,th {
    font-size: 14px
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 400;
    font-size: 100%
}

address,caption,cite,code,dfn,em,strong,th,var {
    font-style: normal;
    font-weight: 400
}

a {
    color: #000
}

a,a:hover {
    text-decoration: none
}

img {
    border: none
}

li,ol,ul {
    list-style: none
}

button,input,select,textarea {
    font-size: 14px
}

table {
    border-collapse: collapse
}

html {
    overflow-y: scroll
}

#container {
    width: 1200px;
    margin: 0 auto
}

.top {
    float: left;
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 5px;
    overflow: hidden
}

.logo {
    float: left;
    width: 50%
}

.logo img {
    float: left;
    transition: opacity .5s
}

.gg {
    float: right;
    width: 50%;
    overflow: hidden
}

.gg img {
    float: right;
    transition: opacity .5s
}

.nav {
    width: 100%;
    margin-bottom: 3px;
    overflow: hidden
}

.nav li {
    float: left;
    text-align: center;
    display: block;
    width: 238px;
    height: 40px;
    line-height: 40px;
    background: #af102c;
    border: 1px solid #df405c;
    font-size: 18px;
    transition: color .5s,background-color .5s;
    overflow: hidden
}

.nav li:hover {
    color: #fff;
    background: #e47653
}

.nav li b {
    width: 1pc;
    height: 1pc;
    font-weight: 400;
    background: #2cbafc;
    color: #fff;
    padding: 1px 3px;
    margin-left: 4px;
    font-size: 9pt;
    border-radius: 2px
}

.cate {
    width: 100%;
    background: #fff;
    margin-bottom: 5px;
    overflow: hidden;
}

.cate_name {
    height: 40px;
    width: 100%;
    background: #f67764;
    overflow: hidden
}

.cate_name p {
    font-size: 18px;
    font-weight: 700;
    line-height: 40px;
    color: #FFF;
    margin-left: 20px
}

.cate li,.cate_name p {
    line-height: 40px;
    margin-left: 20px
}

.cate li {
    float: left;
    display: block;
    width: 100%;
    height: auto
}

.cate li b {
    width: 1pc;
    height: 1pc;
    font-weight: 400;
    background: red;
    color: #fff;
    padding: 1px 3px;
    margin-left: 4px;
    font-size: 14px;
    border-radius: 2px
}

.clear {
    clear: both;
    height: 0
}

@media screen and (max-width: 1200px) {
    .side {
        display:none
    }
}

@media screen and (max-width: 960px) {
    #container {
        width:98%
    }

    .nav li {
        width: 20%;
        margin-right: -2px
    }

    .cate li,.nav li {
        height: auto;
        line-height: 35px
    }

    .cate li {
        width: 100%;
        margin-right: -1px
    }

    .cate_name {
        height: 35px
    }

    .cate_name p {
        font-size: 21px;
        line-height: 35px
    }
}

@media screen and (max-width: 800px) {
    .cate li,.nav li {
        font-size:15px;
        height: auto;
        line-height: 30px
    }

    .cate_name {
        height: 30px
    }

    .cate_name p {
        font-size: 20px;
        line-height: 30px
    }
}

@media screen and (max-width: 640px) {
    .logo img {
        width:100%
    }

    .gg img {
        width: 100%
    }

    .nav li {
        width: 20%
    }

    .cate li,.nav li {
        font-size: 11px;
        height: 30px;
        line-height: 30px
    }

    .cate li {
        width: 98%;
        height: auto;
        margin-left: 5px
    }

    .cate_name {
        height: 30px
    }

    .cate_name p {
        font-size: 17px;
        line-height: 30px
    }

    .cate li b {
        width: 1pc;
        height: 1pc;
        font-weight: 400;
        background: #c52622;
        color: #fff;
        padding: 2px 3px;
        margin-left: 4px;
        font-size: 11px;
        border-radius: 2px
    }
}

.banner img {
    width: 100%;
    margin-bottom: 5px;
    transition: opacity .5s;
    border-radius: 2px
}

.banner img:hover {
    opacity: .7
}

#container .footer {
    height: auto;
    margin-bottom: 0;
    background: #af102c
}

.footer p {
    text-align: center;
    line-height: 40px;
    color: #fff
}

.footer p a {
    color: #fff
}
