/*  

Theme Name: An Yang

Theme URI: http://www.mao01.com/

Description: 安洋汽服

Version: 1.0

Author: 猫猫

Author URI: http://www.mao01.com/


*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
   outline: none;
}
html { height: 101%; } /* always display scrollbars */
body { font-size: 12px; line-height: 1.8; font-family: 'Microsoft Yahei', Simsun, Arial, Helvetica, sans-serif, Tahoma, ;color:#444; position:relative; background: url(img/nav_bg.png);}
 
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul, li { list-style: none; }
 
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 
 
input,input:focus { outline: none;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; border: 1px solid #ccc; }
 
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }
 
a { text-decoration: none;color:#333; }
a:hover { color: #e35118; }
/* CSS Reset End */

.alignleft { float:left;}
.alignright { float:right;}
.aligncenter { margin-left:auto; margin-right:auto;display: block; }
.c { clear:both; width:100%; height:0; overflow:hidden;}

.p-t10 { padding-top:10px;}
.p-t30 { padding-top:30px;}
.p-b20 { padding-bottom:20px;}
.w180 {width: 180px; float: left;}
.w200 {width: 200px; float: left;}
.w400 {width: 400px; float: left;}
.w420 {width: 420px; float: left;}
.w600 {width: 600px; float: left;}
.w800 {width: 800px; float: left;}
.w960 {width: 960px;margin:0 auto; }
.w970 {width: 970px;margin:0 auto; }
.w980 {width: 980px;margin:0 auto; }
.w990 {width: 990px;margin:0 auto; }
.w1000 {width: 1000px;margin:0 auto; }
.pr {position: relative;}

/* header */
#header {width: 100%; background: #04465c;box-shadow: 0 1px 15px rgba(0,0,0,0.7); margin-bottom: 20px;}
#header .w960 {height: 95px; position: relative;}
#logo {font-size: 30px; position: absolute; left: 0; top:20px; font-weight: 700; color: #000;}
#logo a {color: #fff;}

#headbanner { position: absolute; right: 0; top:20px; font-size: 14px;color: #676767; border: 1px solid #e3e3e3; background: #f8f8f8; font-size: 20px; line-height: 28px; width: 100px; text-align: center; display: none}

.fixednav {
position: fixed;
top: 0;
left: 0;
_position: absolute;
_bottom: auto;
_top: expression(eval(document.documentElement.scrollTop));
z-index: 9999;
}

#nav {position: absolute; right: 0; bottom: 0; height: 95px;}
.nav_header {position: relative; z-index: 999;}
#nav li {float: left; display: inline;font-size: 16px; line-height: 95px;}
#nav li a {color: #fff; display: block;text-align: center; width: 100px;}
#nav li span {display: none; position: absolute; top:0; left: 0; width: 100px; height: 95px; z-index: -1;}
#nav li.cur span,#nav li.current_page_item span,#nav li.current-menu-item span,#nav li.current-post-ancestor span,#nav li.current-category-ancestor span,#nav li.current-page-ancestor span, #nav li.current-menu-ancestor span, #nav li.current-menu-parent span, #nav li.current-page-parent span, #nav li.current_page_parent span, #nav li.current_page_ancestor span{ background: #e35118;display: block;}
#nav li ul {position: absolute; top:95px; left: 0; width: 100px; height: 0; overflow: hidden;}
#nav li ul li {height: 40px; line-height: 40px; overflow: hidden; position: relative;}
#nav li ul li a em {display:block; position: absolute; top:0; left: 0; width: 100px; height: 40px; z-index: -1; background: #000;filter: alpha(opacity=70);-moz-opacity: 0.7;-khtml-opacity: 0.7;opacity: 0.7;}
#nav li ul li a:hover em{background: #e35118;}

/* main */
#container {overflow: hidden;}
.box {float: left; display: inline; margin: 0 5px 10px;position: relative; overflow: hidden;background: #F6F6F6}

.col1 { width: 190px; }
.col1 img {width: expression(this.width > 190 ? 190: true); max-width: 190px; }

/* homegrid */
.homegrid {overflow: hidden;}
.homegrid.w2 {float: left; width: 470px; display: inline; margin-bottom: 20px;}
.homegrid.w2 img {width: 470px; margin-bottom: 5px;}
.homegrid.w3 {float: left;display: inline; width: 330px; margin-right: 15px; margin-top: 20px;}
.homegrid h4 { border-bottom: 2px solid #e3e3e3; margin:0 0 20px; position: relative; height: 25px; line-height: 25px;}
.homegrid h4 span {font-size: 16px; top:0; left: 0; position: absolute; border-bottom: 2px solid #e35118; padding: 0 2px;}
.homegrid h4 a {position: absolute; right: 0; top:0;background: #c7c7c7; display: block; color: #fff; padding: 0px 5px; border-radius: 2px; line-height: 20px;}

.hglist {float: left; display: inline; width:184px;  height: 184px;text-align: center; margin-right: 10px; line-height: 184px;}
.hglist a {display: block;background: #04465c; color: #fff; font-size: 20px; position: relative;width:184px;  height: 184px; z-index: 10;}
.hglist a span {display: block; height: 40px;background: #000; width: 184px; position: absolute; top:72px; left: 0;filter: alpha(opacity=50);-moz-opacity: 0.5;-khtml-opacity: 0.5;opacity: 0.5; z-index: -1;}
#hglist1 a {background: url(img/bgh1.png) no-repeat;}
#hglist2 a {background: url(img/bgh2.png) no-repeat;}
#hglist3 a {background: url(img/bgh3.png) no-repeat;}
#hglist4 a {background: url(img/bgh4.png) no-repeat;}
#hglist5 a {background: url(img/bgh5.png) no-repeat;}
.hglist a:hover,#hglist1 a:hover,#hglist2 a:hover,#hglist3 a:hover,#hglist4 a:hover,#hglist5 a:hover {background: #e35118;color: #fff;}
.hglist a:hover span {display: none;}

.homegrid.w3 h4 {margin-bottom: 10px;}
.homegrid.w3 li {background: url(img/icon.png) no-repeat 0 6px; padding-left: 13px; line-height: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}

#khzc {border: 2px solid #04465c; height: 150px; padding: 15px; width: 236px;}
#khzc h5 {font-size: 16px;}
#khzc .input {width: 224px; padding: 5px; text-align: center; color: #999; margin-bottom: 5px;}
#khzc .submit { cursor: pointer; display: block; margin: 15px auto 0; width: 100px;border: 1px solid #e35118; background: #e35118; color: #fff; height: 30px;}
#khzc .submit:hover {border: 1px solid #c7c7c7; background: #fff; color: #555;}

.homead {margin: 10px 5px 20px;}
.homead img {width: 100%;}

/* footer */
#footer {padding: 20px 0 30px; color: #999; text-align: center;border-top:5px solid #e35118; background: #2e2e2e; margin-top: 30px;}
#footer .w960 {position: relative;  padding-top: 10px; }
#footer a {color: #fff;}
#footer a:hover {text-decoration: underline;}

#links a {color: #ccc;}
#kfdh {padding-top: 20px;}

#dbcd {position: fixed; top:10px; width: 520px; left: 50%; margin-left: -220px; text-align: center; z-index: 9999;}
#dbcd li {float: left; width: 130px;position: relative; height: 25px; line-height: 25px;}
#dbcd li a {color: #fff; display: block;}
#dbcd li span {position: absolute;width: 120px;height: 25px; display: block; background: #000;filter: alpha(opacity=50);-moz-opacity: 0.5;-khtml-opacity: 0.5;opacity: 0.5; top:0; left: 0; margin: 0 5px; z-index: -10;}

/* sidebar */
.side-box {margin-bottom: 15px;}
.side-box h4 {font-size: 14px; border-bottom: 1px solid #e3e3e3; margin-bottom: 10px;}
.side-box h4 span {border-left: 2px solid #e35118; padding-left: 5px;}
.side-box h4 a {float: right; font-size: 12px; padding-top: 3px;}
.side-box li {margin-bottom: 5px;}

.side-box .menu li a {text-align: center; border: 1px solid #c7c7c7; background: #f9f9f9; color: #555; display: block; line-height: 30px; font-size: 14px;}
.side-box .menu li.current-menu-item a,.side-box .menu li.current-post-ancestor a,.side-box .menu li.current-category-ancestor a,.side-box .menu li a:hover {border: 1px solid #e35118; background: #e35118; color: #fff;}

.nav_arc {position: absolute; right: 5px; top:10px; font-size: 16px;}
.nav_arc li {float: left; display: inline; margin-left: 20px;}
.nav_arc li a {padding: 0 10px;display: block;}
.nav_arc li.current-menu-item a,.nav_arc li a:hover {color: #fff; background: #e35118;border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }

#pager { padding: 20px 5px 0px 220px;overflow: hidden;}
#pager a {display:inline; float: left; padding:3px 8px; margin-right: 5px;border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
#pager a.current,#pager a:hover {background: #e35118; color: #fff;}

/* single */
#content {padding:0;margin-bottom: 10px;}
#entry {padding:0 20px 0 0; margin-bottom: 10px;}
#entry h1 {font-size: 18px; margin-bottom: 5px;font-weight: 400;}
#entry h1 a{color: #555;}
#entry h1 a:hover{color: #1F75CC;}
#postarea {overflow: hidden; margin-bottom: 10px; }
#postarea img {width: expression(this.width > 768 ? 768: true); max-width: 768px;}
#psi {/* position: absolute;left: 0px;top: 0; */ color: #888; }
#postarea h2 {font-size: 18px;font-weight: 700; margin-bottom: 10px;}
#postarea h3 {font-size: 16px;font-weight: 700; margin-bottom: 10px;}
#postarea h4 {font-size: 14px;font-weight: 700; margin-bottom: 10px;}
#postarea p {margin-bottom: 10px;}
#psi a {color: #e35118;}
#psi span {padding: 0 10px;}
#psf { position: relative;overflow: hidden; height: 30px; }

.account {padding: 0 5px;}
#page h1 {margin:0 240px 20px 0;position: relative; font-size: 25px; color: #e35118;border-bottom: 2px solid #e3e3e3; height: 45px;}
#page h1 span { padding: 0 5px; display: block; position: absolute; left: 0; top:0; border-bottom: 2px solid #e35118;line-height: 45px;}
#page #entry h1 {margin: 0 0 10px 0; color: #555; line-height: 45px; border-bottom: 1px solid #e3e3e3;}

/* 404 */
#error { padding: 100px 0; text-align: center; margin:0 5px; background: #e35118; color: #fff; font-size: 14px;}
#error h1 {font-size: 150px; margin-bottom: 20px;}

/* page- */
#page {margin: 20px 0;}
#pageleft {width: 200px; float: right; display: inline; margin:5px 0 0 20px;}
#pageright {width: 740px;float: left; display: inline; }

.guandian-list {margin:0 30px 20px 0; border-bottom: 1px solid #e3e3e3; padding-bottom: 20px;overflow: hidden;}
.guandian-list .img {float: left; width: 180px; height: 180px; margin-right: 20px; display: inline;}
.guandian-list .img img {width: 180px; height: 180px;}
.guandian-list .info {float: left; width: 570px;}
.guandian-list .info h2 {font-size: 20px;}

#mypage {padding: 40px 5px; line-height: 25px; font-size: 14px;}
#mypage p {margin-bottom: 10px;}
#mypage h3 {font-size: 25px;font-weight: 700; margin: 20px 0; line-height: 25px; height: 25px; border-left: 5px solid #e35118; padding-left: 10px;}

#mypage a,#entry a {color: #e35118;}

.postlist {overflow: hidden;padding: 3px 0 15px;border-bottom: 1px dashed #d0d0d0;}
.plimg {float: left;width: 220px;height: 146px; overflow: hidden; border: 1px solid #ccc; display: inline; margin-top: 8px;}
.plimg img {min-width: 220px;min-height: 146px; border: none;}
.plcon {float: right;width: 500px;}
.plcon h2 {margin: 0 0 3px;font-size: 18px;font-weight:400;}
.author {line-height: 18px;height: 18px; font-size: 12px;}
.author a {color: #e35118;}
.plexc {padding: 5px 0;line-height: 18px;overflow: hidden;}
.h130 {height: 130px;}
.postinfo {font-size: 12px;}
.postinfo a {color: #e35118;}
.tags {}

#online_service{position:fixed;bottom:10px;right:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-box-shadow:2px 2px 6px #ccc;-webkit-box-shadow:2px 2px 6px #ccc;box-shadow:2px 2px 6px #ccc;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9;}
#online_service #online_service_lnk{display:block;width:130px;height:130px;overflow:hidden;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;border:1px solid #E3E3E3;}
#online_service{_position:absolute;_bottom:auto;_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));}
#close_online_service{display:block;width:18px;height:18px;text-align:center;position:absolute;right:4px;top:4px;font-size:21px;line-height:18px;color:#A3A3A3;}
#close_online_service:hover{background:#A3A3A3;color:#FFF;-moz-border-radius:18px;-webkit-border-radius:18px;border-radius:18px;}

#footer .side-box {float: left; display: inline; margin-right: 80px; text-align: left; padding-right: 20px;}
#footer .side-box h4 {border-bottom: 1px solid #ccc; color: #ccc;}
#footer .side-box .menu li a {text-align: left;
border: none;
background: none;
color: #f9f9f9;
display:inline;
line-height: 25px;
font-size: 12px;
}
#footer2 {background: #000; color: #ccc; line-height: 40px;}

#dianhua {margin: -5px auto 15px; font-size: 16px;}
#dianhua p {float: left; border-left:2px solid #e35118; height: 20px;line-height: 20px;padding-left: 10px;}
#dianhua span {float: right;line-height: 20px;}