* { box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ -webkit-box-sizing:border-box; /* Safari */ } body,p,h1,h2,h3,h4,h5,h6,ul,ol,dl,li,dt,dd{ /* 默认有边距,都要清除 */ margin: 0; padding: 0; /*字体设置*/ font-size: 14px; font-family: "Microsoft Yahei",sans-serif; /* 去掉列表的原点 */ list-style: none; /* 默认鼠标 */ cursor: default; } /*行内块元素*/ input,img{ margin: 0; padding: 0; border: 0 none; outline-style: none; vertical-align: bottom; } /*行内元素*/ a,a:active,a:visited{ /*下划线和颜色*/ text-decoration: none; color: #ccc; } a:hover{ color:#333; } textarea{ /* 边框清零 */ border:none; /* 轮廓线清零 */ outline: none; /* 防止文本域被随意拖拽 */ resize: none; } i{ /*文字样式*/ font-style: normal; } table{ /*边框合并*/ border-collapse:collapse; border-spacing:0; } /* 使用伪元素清除浮动 */ .clearfix::before, .clearfix::after{ content:""; height: 0; line-height: 0; display: block; visibility: none; clear: both; } .clearfix { *zoom: 1; } /* 版心*/ .w{ width: 1200px; margin:0 auto; } .fl{float: left;} .fr{ float: right;} .clear{ clear: both;} .top{ line-height: 50px; background-color:#c7301e; width: 100%; overflow: hidden;color:#fff} .top_left,.top_right{ width: 50%;} .top_left a,.top_right a{color: #fff;} .top_right{ text-align: right;} .top_left img{ line-height: 50px; vertical-align: middle; margin-top: -4px;} .logo .logo_right .sreach{ border:1px solid #C7301E; color:#333;margin-top:30px; height:40px; line-height:40px; padding-left:10px;width: 325px;position:relative;background-color: #fff;} .logo .logo_right .sreach input{height:38px;background-color: #fff; line-height:40px; width:280px; position: absolute;top:1;left:1; } .logo .logo_right a{ display: block;width:26px;height:26px; position: absolute;top:6px;right:6px; background: url(../img/index_10.png) no-repeat;} .nav{ border-bottom:4px solid #C7301E; line-height: 50px;} .nav a{ width:130px;color:#c7301e; display: block; float: left; text-align: center; font-size:16px;font-weight: bold; } .nav a:hover{ font-weight:900; font-size:18px;} .footer{ margin-top: 30px;} .footer .footer_top{ text-align: center; line-height: 50px; background: #6c6d8b; color:#fff;} .footer .footer_top a{color:#fff;font-size:16px} .footer .footer_bottom{ background-color: #8d91aa; padding:30px; text-align: center;color:#fff; line-height: 30px;}