body {
    margin: 0;
    padding: 0;
    color: #333;
}

ul,
li,
dt,
dd,
dl {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

table,
tr,
td,
td {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

img {
    border: none;
    vertical-align: bottom;
}

form,
input,
textarea,
button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    outline: none;
}

@media only screen and (min-width:960px) and (max-width:3000px) {
    /*---------首页---------*/
    #home-header {
        width: 94%;
        height: 70px;
        padding: 0 3%;
        background: url(../images/header.png) bottom repeat-x;
        overflow: hidden;
    }
    #home-header #logo {
        float: left;
        height: 70px;
        position: relative;
    }
    #home-header #logo a {
        font: bold 18px/70px "Microsoft YaHei";
        color: #fff;
    }
    #home-header #nav {
        float: right;
    }
    #home-header #nav ul {
        float: left;
        overflow: hidden;
    }
    #home-header #nav li {
        float: left;
        padding-left: 60px;
    }
    #home-header #nav li a {
        font: bold 14px/70px "Microsoft YaHei";
        color: #fff;
    }
    #home-header #nav li a:hover {
        color: #cc0000;
    }
    #banner {
        width: 100%;
        height: 500px;
        background: url(/templets/datian/images/banner-2.jpg) top center no-repeat;
    }
    .products {
        width: 1080px;
        padding: 70px 0;
        margin: 0 auto;
        overflow: hidden;
    }
    .title {
        width: 1080px;
        margin-bottom: 50px;
        overflow: hidden;
    }
    .title h1 {
        float: left;
        width: 250px;
        font: bold 24px "Microsoft YaHei";
        color: #333;
    }
    .title span h5 {
        font: bold 18px "Microsoft YaHei";
        color: #333;
        margin-bottom: 10px;
    }
    .title span {
        float: left;
        display: block;
        width: 35%;
		height:30px;
		overflow:hidden;
        padding-left: 30px;
        border-left: 1px solid #e2e2e2;
        font: 14px/24px "Microsoft YaHei";
        color: #666;
    }
    .products img {
        width: 1080px;
        height: 315px;
        border-radius: 5px;
    }
    .wrap {
        width: 100%;
        padding: 70px 0;
        background: #f7f7f7;
        overflow: hidden;
    }
    .adv {
        width: 1080px;
        margin: 0 auto;
        overflow: hidden;
    }
    .adv ul {
        float: right;
        width: 750px;
        overflow: hidden;
    }
    .adv li {
        float: left;
        width: 375px;
        margin-top: 30px;
        overflow: hidden;
    }
    .adv li img {
        float: left;
        width: 30px;
        margin-right: 10px;
    }
    .adv li h3 {
        font: bold 16px/30px "Microsoft YaHei";
        color: #333;
        margin-bottom: 10px;
    }
    .adv li p {
        padding-left: 40px;
        font: 14px/30px "Microsoft YaHei";
        color: #666;
    }
    #clients {
        width: 1080px;
        padding: 70px 0;
        margin: 0 auto;
    }
    #client {
        width: 1080px;
        height: 100px;
        position: relative;
        overflow: hidden;
    }
    #client ul {
        height: 100px;
        position: absolute;
        top: 0;
        left: 0;
    }
    #client ul li {
        float: left;
    }
    #client ul li img {
        width: 200px;
        height: 100px;
        margin: 0 8px;
    }
    .contact {
        width: 1080px;
        padding-bottom: 70px;
        margin: 0 auto;
        overflow: hidden;
    }
    #contact_main {
        float: right;
        width: 750px;
    }
    #contact_main strong {
        font: bold 14px/40px "Microsoft YaHei";
        color: #333;
    }
    #contact_main span {
        font: 14px/40px "Microsoft YaHei";
        color: #999;
        font-weight: normal;
        margin-right: 45px;
    }
    #footer {
        width: 100%;
        padding: 50px 0;
        border-top: 1px solid #eee;
        background: #fafafa;
        margin: 0 auto;
    }
    .footer {
        width: 1080px;
        margin: 0 auto;
        overflow: hidden;
    }
    .footer_l {
        float: left;
        width: 350px;
    }
    .footer_l h5 {
        font: bold 14px/20px "Microsoft YaHei";
        color: #333;
        margin-bottom: 10px;
    }
    .footer_l form {
        width: 320px;
        height: 35px;
        border-bottom: 1px solid #ccc;
    }
    .footer_l input.txt {
        float: left;
        width: 275px;
        height: 35px;
    }
    .footer_l input.btn {
        float: right;
        width: 40px;
        height: 35px;
        background: url(../images/email.png) right no-repeat;
    }
    .footer_r {
        float: right;
        width: 720px;
        text-align: right;
    }
    .footer_r h6 {
        font: 12px/20px "Microsoft YaHei";
        color: #999;
        text-align: right;
    }
    .footer_r p a {
        font: bold 14px/20px "Microsoft YaHei";
        color: #333;
        margin-left: 15px;
    }
    /*--------列表页--------*/
    #header-wrap {
        width: 100%;
        height: 102px;
        border-bottom: 1px solid #e2e2e2;
        box-shadow: 0 0 5px #e2e2e2;
        background: #fff;
    }
    #header {
        width: 1080px;
        height: 70px;
        margin: 0 auto;
        overflow: hidden;
    }
    #header #logo {
        float: left;
        height: 70px;
        position: relative;
    }
    #header #logo a {
        font: bold 18px/70px "Microsoft YaHei";
        color: #333;
    }
    #header #nav {
        float: right;
    }
    #header #nav ul {
        float: left;
        overflow: hidden;
    }
    #header #nav li {
        float: left;
        padding-left: 60px;
    }
    #header #nav li a {
        font: bold 14px/70px "Microsoft YaHei";
        color: #333;
    }
    #header #nav li a:hover {
        color: #cc0000;
    }
    #header #nav li.on {
        color: #cc0000;
    }
    #nav_icon {
        display: none;
    }
    .title-list {
        width: 1080px;
        margin: 40px auto;
    }
    .title-list h1 {
        font: bold 24px "Microsoft YaHei";
        color: #333;
        margin-bottom: 5px;
    }
    .title-list p {
        font: 14px "Microsoft YaHei";
        color: #999;
    }
    #ad {
        width: 100%;
        height: 250px;
    }
    #about {
        width: 1080px;
        margin: 50px auto;
    }
    #about table {
        width: 100%;
        padding-bottom: 40px;
        border-bottom: 1px solid #e2e2e2;
        margin: 40px auto;
    }
    #about h5 {
        font: bold 32px "Bahnschrift";
    }
    #about h6 {
        font: 14px "Microsoft YaHei";
        color: #999;
    }
    #content h3 {
        font: bold 18px/30px "Microsoft YaHei";
        color: #333;
        margin-bottom: 20px;
    }
    #content p {
        font: 14px/30px "Microsoft YaHei";
        color: #666;
        margin-bottom: 15px;
    }
    #products {
        width: 100%;
        text-align: center;
        overflow: hidden;
    }
    .p-1 {
        width: 100%;
        height: 747px;
        background: url(../images/p-1.jpg) top center no-repeat #f7f7f7;
    }
    .p-11 {
        display: none;
    }
    .p-2 {
        width: 100%;
        text-align: center;
        background: #fff;
    }
    .p-3 {
        width: 100%;
        text-align: center;
        background: #f7f7f7;
    }
    .p-4 {
        width: 100%;
        text-align: center;
        background: #fff;
    }
	.indexnews{ width:1080px; margin:auto;}
    #news {
        width: 100%;
        margin: 40px auto;
    }
    #news li {
        width: 100%;
    }
    #news li:hover {
        box-shadow: 0 0 5px #e2e2e2;
        background: #fcfcfc;
    }
    #news li a {
        display: block;
        width: 1080px;
        padding: 30px 0;
        border-bottom: 1px solid #e2e2e2;
        margin: 0 auto;
    }
    #news li a h5 {
        font: 12px "Microsoft YaHei";
        color: #999;
        margin-bottom: 5px;
    }
    #news li a h3 {
        font: bold 18px "Microsoft YaHei";
        color: #333;
        margin-bottom: 10px;
    }
    #news li a p {
        font: 14px/24px "Microsoft YaHei";
        color: #666;
    }
    #case {
        width: 1180px;
        margin: 50px auto;
    }
    #case ul {
        overflow: hidden;
    }
    #case li {
        float: left;
        width: 275px;
		height:250px;
        margin: 10px;
        text-align: center;
    }
	#case li a{ width: 275px;
    height: 200px;
    display: block;
    overflow: hidden;
	border: #ddd solid 1px;
	line-height:150px}
    #case li img {
        max-width: 275px;
        max-height: 200px;
        border-radius: 3px;
    }
    #case li h3 {
        font: 16px/30px "Microsoft YaHei";
        color: #333;
    }
    #contact {
        width: 1080px;
        margin: 50px auto;
        overflow: hidden;
    }
    #contact img {
        float: left;
        width: 180px;
        margin-right: 100px;
    }
    #contact p {
        font: bold 16px/40px "Microsoft YaHei";
        color: #333;
    }
    #article {
        width: 1080px;
        margin: 50px auto;
        font: 16px/40px "微软雅黑";
        color: #666;
    }
    #article h2 {
        width: 1080px;
        margin-bottom: 10px;
        font: bold 24px "微软雅黑";
        color: #333;
        text-align: center;
    }
    #article h6 {
        padding-bottom: 30px;
        border-bottom: 1px solid #e2e2e2;
        font: 12px "微软雅黑";
        color: #999;
        text-align: center;
        margin-bottom: 30px;
    }
    #article img {
        max-width: 1080px;
    }
    .context {
        padding-top: 30px;
        font: 14px/30px "微软雅黑";
        color: #999;
    }
    .context a {
        color: #369;
    }
    .context a:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 959px) {
    #header-wrap {
        width: 100%;
        height: 60px;
        border-bottom: 1px solid #e2e2e2;
        box-shadow: 0 0 5px #e2e2e2;
        background: #fff;
        position: fixed;
        top: 0;
    }
    #header {
        width: 94%;
        padding: 0 3%;
        position: relative;
    }
    #logo {
        float: left;
    }
    #logo a {
        font-size: 18px;
        font-weight: bold;
        line-height: 60px;
        color: #333;
    }
    #nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #333;
        display: none;
    }
    #nav a {
        display: block;
        width: 100%;
        padding: 15px 0;
        text-align: center;
        color: #fff;
    }
    #nav_icon {
        position: absolute;
        right: 5px;
    }
    #nav_icon img {
        width: 60px;
        height: 60px;
    }
    #banner {
        width: 100%;
        height: 500px;
        padding-top: 90px;
        background: url(../images/wap_banner.jpg) bottom center no-repeat;
        background-size: 100%;
    }
    .products {
        width: 94%;
        padding: 5% 3%;
        background: #f2f2f2;
    }
    .products img {
        width: 100%;
        border-radius: 5px;
    }
    .title {
        width: 100%;
        margin-bottom: 20px;
    }
    .title h1 {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        padding-left: 10px;
        margin-bottom: 20px;
        border-left: 4px solid #369;
    }
    .title span {
        font-size: 14px;
        line-height: 24px;
        color: #666;
        margin-bottom: 10px;
    }
    .title span h5 {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }
    .wrap {
        width: 94%;
        padding: 5% 3%;
        background: #fff;
    }
    .adv ul {
        overflow: hidden;
    }
    .adv li {
        float: left;
        width: 50%;
        text-align: center;
        margin-bottom: 10px;
    }
    .adv li img {
        width: 30%;
    }
    .adv li h3 {
        font-size: 14px;
        font-weight: bold;
        color: #333;
    }
    .adv li p {
        display: none;
    }
    #clients {
        width: 94%;
        padding: 5% 3%;
        background: #f2f2f2;
        display: none;
    }
    #client {
        width: 100%;
        display: none;
    }
    #client ul {
        overflow: hidden;
    }
    #client li {
        float: left;
        width: 46%;
        padding: 2%;
    }
    #client li img {}
    .contact {
        width: 94%;
        padding: 5% 3%;
        background: #f2f2f2;
    }
    #contact_main strong {
        font: bold 14px/40px "Microsoft YaHei";
        color: #333;
    }
    #contact_main span {
        font: 14px/40px "Microsoft YaHei";
        color: #999;
        font-weight: normal;
        display: block;
    }
    #footer {
        width: 94%;
        padding: 5% 3%;
        background: #f2f2f2;
    }
    .title-list {
        width: 94%;
        padding: 75px 3% 3% 3%;
    }
    .title-list h1 {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }
    .title-list p {
        font-size: 14px;
        color: #999;
    }
    #ad {
        width: 100%;
        display: none;
    }
    #ad img {
        width: 100%;
    }
    #about,
    #news {
        width: 94%;
        padding: 3%;
        font-size: 14px;
        line-height: 26px;
        color: #666;
    }
    #about h3 {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin: 10px 0;
    }
    #products {
        width: 100%;
        text-align: center;
        overflow: hidden;
    }
    .p-1 {
        width: 100%;
        height: 747px;
        background: url(../images/p-1.jpg) top center no-repeat #f7f7f7;
        display: none;
    }
    .p-11 {
        width: 100%;
        padding-top: 60px;
    }
    .p-11 img {
        width: 100%;
    }
    .p-2 {
        width: 100%;
        background: #fff;
    }
    .p-3 {
        width: 100%;
        background: #f7f7f7;
    }
    .p-4 {
        width: 100%;
        background: #fff;
    }
    #products img {
        width: 100%;
    }
	.indexnews{ width:100%;}
    #news li {
        margin-bottom: 10px;
        border-bottom: 1px solid #EEE;
    }
    #news h5 {
        font-size: 12px;
        color: #999;
        margin-bottom: 5px;
    }
    #news h3 {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }
    #news p {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
    }
    #case {
        width: 94%;
        padding: 5% 3%;
    }
    #case li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    #case li img {
        width: 100%;
        border-radius: 5px;
    }
    #contact {
        width: 94%;
        padding: 5% 3%;
    }
    #contact img {
        width: 40%;
        margin: 0 auto 15px auto;
    }
    #contact p {
        font-size: 14px;
        line-height: 30px;
    }
    #article {
        width: 94%;
        padding: 75px 3% 3% 3%;
        font-size: 14px;
        line-height: 26px;
        color: #666;
    }
    #article img {
        max-width: 100%;
    }
    .context {
        color: #999;
    }
    .context a {
        color: #369;
    }
    #footer {
        width: 96%;
        background: #f2f2f2;
    }
    #footer .footer_l {
        width: 94%;
        padding: 3%;
    }
    #footer .footer_r {
        width: 94%;
        padding: 3%;
    }
    .footer_l h5 {
        font: bold 14px/20px "Microsoft YaHei";
        color: #333;
        margin-bottom: 10px;
    }
    .footer_l form {
        width: 320px;
        height: 35px;
        border-bottom: 1px solid #ccc;
    }
    .footer_l input.txt {
        float: left;
        width: 275px;
        height: 35px;
    }
    .footer_l input.btn {
        float: right;
        width: 40px;
        height: 35px;
        background: url(../images/email.png) right no-repeat;
    }
    .footer_r h6 {
        font: 12px/20px "Microsoft YaHei";
        color: #999;
        text-align: center;
    }
    .footer_r p {
        display: none;
    }
    #content h3 {
        display: none;
    }
}