﻿/* yui3 reset.css */

html {
    color: #000;
    background: #FFF
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

q:before,
q:after {
    content: ''
}

abbr,
acronym {
    border: 0;
    font-variant: normal
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    *font-size: 100%
}

legend {
    color: #000
}

iframe {
    display: block;
}


/* yui3 fonts */

body {
    background: url(imagesbody_bgDazoufang.jpg) center 258px no-repeat #fcf6e6;
    font: 14px/1.231 "Microsoft YaHei", arial, helvetica, clean, sans-serif;
    color: #333;
}

select,
input,
button,
textarea {
    font: 99% arial, helvetica, clean, sans-serif
}

table {
    font-size: inherit;
    font: 100%
}

pre,
code,
kbd,
samp,
tt {
    font-family: monospace;
    *font-size: 108%;
    line-height: 100%
}

a {
    text-decoration: none;
}


/* utilities */

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.clearfix:after {
    clear: both;
}

.l {
    float: left !important;
}

.r {
    float: right !important;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}


/** 
 * 以下可追加项目中的公共样式，
 * 比如body上进行全局的文字设置（字体，大小，行高），全局a链接的基本状态定义，
 * 适合页面的栅格系统
 * 页面公共头尾部分等
 */

.ewb-mt10 {
    margin-top: 10px;
}


/* header */

.ewb-header-bg-desk {
    height: 366px;
    background: url(imagesheader_bgDzf.png) center top no-repeat;
}



/*nav*/

.nav-bar {
    position: relative;
    height: 36px;
    margin: 0 auto;
    background-color: #fafafa;
    z-index: 10000000;
}

.nav-inner {
    height: 36px;
    margin: 0 auto;
    background: #fafafa;
}

.nav-inner li {
    float: left;
    width: 125px;
    height: 36px;
    background: url(imagesnavlist.jpg) 100% 50% no-repeat;
}

.nav-inner li:hover {
    background: url(imagesnav01.jpg) repeat-x;
    font-weight: bold;
}

.nav-inner li:hover a {
    color: #ffffff;
}

.nav-inner li a {
    display: block;
    width: 125px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    font-family: "宋体";
    font-weight: bold;
    color: #535353;
    text-align: center;
}

.nav-inner li.first a {
    width: 125px;
    text-align: center;
}

.nav-inner .zwfw {
    width: 118px;
}

.nav-inner .zwfw a {
    width: 118px;
}

.nav-inner li.last {
    width: 110px;
    background: none
}

.nav-inner li.last a {
    width: 105px;
}

.nav-inner li.last img {
    margin-left: 10px;
    vertical-align: top;
    margin-top: 3px;
}


/*手机端导航*/

@media (max-width: 767px) {
    .nav-bar {
        width: 100%;
        height: 72px;
        overflow: hidden;
    }
    .nav-inner {
        width: 100%;
        height: 72px;
    }
    .nav-inner li {
        width: 20%;
    }
    .nav-inner li a {
        width: 100%;
        font-size: 14px;
        background: none;
        padding: 0;
        text-align: center;
    }
    .nav-inner li.first a {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    .nav-inner li:hover {
        background: url(imagesnav01.jpg) repeat-x;
    }
    .nav-inner li:hover a,
    .nav-inner li.last:hover a {
        color: #ffffff;
        background: none;
    }
    .nav-inner li.last img {
        margin-left: 0;
    }

    .nav-inner .zwfw {
        width: 20%;
    }

    .nav-inner .zwfw a {
        width: 100%;
    }

    .nav-inner .zwfw span {
        display: none;
    }
}


/*768 pad端导航*/

@media (min-width: 768px) and (max-width:980px) {
    .nav-bar {
        height: 36px;
        margin: 0 auto;
        background-color: #fafafa;
    }
    .nav-inner {
        height: 36px;
        margin: 0 auto;
        background: #fafafa;
    }
    .nav-inner li {
        float: left;
        width: 82px;
        height: 36px;
    }
    .nav-inner li a {
        width: 77px;
        padding-left: 5px;
    }
    .nav-inner li.last {
        width: 104px;
    }
    .nav-inner li.last a {
        width: 99px;
    }
    .nav-inner li.first a {
        padding-left: 18px;
        width: 58px;
    }
    .nav-inner li.first a {
        background-position: 60px 50%;
    }

    .nav-inner .zwfw {
        width: 82px;
    }

    .nav-inner .zwfw a {
        width: 77px;
    }

    .nav-inner .zwfw span {
        display: none;
    }
}


/* banner */
.ewb-head-logo{
    margin-left: 35px;
    margin-top: 108px;
    vertical-align: top;
}

/* footer */

.ewb-footer{
    margin-top: 50px;
    padding-top: 5px;
    border-top: 6px solid #bf111a;
    background-color: #fff;
    overflow: hidden;
}

/* guide */
.ewb-guide{
    padding-left: 180px;
    height: 44px;
    line-height: 44px;
    font-size: 0;
    color: #333;
    text-align: center;
}

.ewb-guide a{
    color: #333;
    font-size: 14px;
}

.ewb-guide span{
    margin: 0 6px;
    font-size: 14px;
}

.ewb-footer-msg{
    padding-left: 180px;
    padding-bottom: 20px;
    line-height: 24px;
    text-align: center;
}

.ewb-porela{
    position: relative;
}

.ewb-foot-logo{
    position: absolute;
}

.ewb-foot-logo img{
    vertical-align: top;
}

.ewb-foot-logo.logo01{
    left: 189px;
    top: 59px;
}

.ewb-foot-logo.logo02{
    left: 250px;
    top: 62px;
}

/* 平板电脑和小屏电脑之间的分辨率 */
@media (min-width: 768px) and (max-width: 979px){
    body{
        background-position: center 200px;
    }

    .ewb-head-logo{
        width: 90%;
        margin-left: 20px;
        margin-top: 86px;
    }

    .ewb-header-bg-desk{
        height: 180px;
        background-position: center -100px;
    }

    .ewb-foot-logo.logo01{
        left: 109px;
    }

    .ewb-foot-logo.logo02{
        left: 170px;
    }

    .ewb-footer{
        margin-top: 30px;
    }
}
 
/* 横向放置的手机和竖向放置的平板之间的分辨率 */
@media (max-width: 767px) {

    body{
        background-position: center bottom;
    }

    .ewb-header-bg-desk {
        height: 80px;
        background: url(imagesheader_bg.png) right -55px no-repeat;
    }
    
    .ewb-head-logo{
        display: block;
        width: 96%;
        margin: 0 auto;
        margin-top: 25px;
    }

    .ewb-guide{
        padding-left: 0;
        height: auto;
        line-height: 24px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .ewb-footer-msg{
        padding-left: 0;
    }

    .ewb-foot-logo{
        display: inline-block;
        position: static;
    }

    .lc-foot{
        overflow: hidden;
        text-align: center;
        padding-bottom: 10px;
    }

    .ewb-footer{
        margin-top: 30px;
    }

}
 
/* 横向放置的手机及分辨率更小的设备 */
@media (max-width: 480px) { ... }