/*---------------------------------------------------------------
	Theme Name: FRW
	Theme URI: http://www.happinesz.cn/
	Description: A private blog theme designed by sofish.
	Version: 1.0
	Author: <a href="http://blog.happinesz.cn/">sofish Lin</a>
*---------------------------------------------------------------*/


/* Main Reset
---------------------------------------------*/
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
address,dfn,th,var{font-style:normal;font-weight:400;}
ol,ul{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400;line-height:1em;}
q:before,q:after{content:'';}
fieldset,img,abbr,acronym{border:0;}

/* xHtml Elements
---------------------------------------------*/
a{text-decoration:none;color:#09f;}
a:hover{color:#777;}
img, img a{border:none;}
p{margin-bottom:15px}
code{font-family:Georgia, "Times New Roman", Times, serif;}
blockquote{margin:0 37px 0 25px;}
blockquote blockquote{margin:0 0 0 20px;}
h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-family: Arial, '微软雅黑', 黑体, sans-serif;}
input,textarea,select{}

/* Layout
---------------------------------------------*/
body{font:16px "微软雅黑", "黑体", Arial, sans-serif;background:#fff;}
#wrapper,#headerbox{width:960px;margin:0 auto;}
#wrapper{padding-top:20px;}
#container, #sidebar{line-height:150%;font-size:14px;}
#container{float:right;width:765px;}
.sidebar{float:left;width:185px;}
#footer{clear:both;width:100%;}
.iclear{clear:both;}

/* Header
---------------------------------------------*/
#header{width:100%;background:url(images/repeat-x.png) repeat-x 0 0;height:210px;}
#headerbox{background:url(images/header.jpg) no-repeat right top;padding-top:55px;position:relative;}
#header h1 a{display:block;width:261px;height:65px;text-indent:-9999em;background:url(images/sprites.png) no-repeat -315px -169px;}
#header #service{position:absolute;left:320px;top:166px;font:13px/1em Verdana, Geneva, sans-serif;color:#fff;}
#header #service a{color:#fff;}
#header #service a:hover{color:#eee;text-decoration:underline;}
#header #service span{font:700 15px "微软雅黑", "黑体", Arial, sans-serif;padding-left:25px;background:url(images/sprites.png) no-repeat -570px -88px;}

/* Top Navigation
---------------------------------------------*/
#topnav{position:absolute;left:320px;top:117px;}
#topnav ul{}
#topnav ul li{float:left;display:block;height:32px;background:#09f;margin-right:1px;}
#topnav ul li a{width:100px;text-align:center;font:700 14px/26px "微软雅黑", georgia, arial, san-serif;border-top:1px solid #fff;background:#bbb;margin-top:5px;display:block;color:#fff;}
#topnav ul li a:hover{background:#aaa;}
#topnav ul li a.home{padding-left:0;}
#topnav ul li.current_page_item{background:#f36;}
#topnav ul li.current_page_item a{background:#09f;}
#topnav ul li.current_page_item a:hover{background:#3cf;}
#topnav ul li a#frw_p{background:#f90;}
#topnav ul li a#frw_p:hover{background:#f60;}
#topnav ul ul{display:none;}

/* Search
---------------------------------------------*/
#searchform{width:236px;height:28px;position:absolute;left:0;top:160px;background:url(images/sprites.png) no-repeat -310px -138px;}
#searchform div{position:relative;}
#searchform #s, #searchform #searchsubmit{display:block;position:absolute;top:5px;border:none;background:none;}
#searchform #searchsubmit{left:183px;width:50px;height:20px;text-indent:-9999em;}
#searchform #s{top:8px;left:5px;height:22px;width:178px;color:#888;}
body:nth-of-type(1) #searchform #s{top:3px;}

/* Index Category
---------------------------------------------*/
.index_c{width:503px;height:175px;padding:25px 0 0 260px;border:1px solid #ddd;background:#fff url(images/repeat-y.png) repeat-y right top;position:relative;margin-bottom:10px;}
.index_c .des{position:absolute;top:25px;left:0;width:230px;}
.index_c .des h2{height:26px;font:700 14px/26px "微软雅黑", "黑体", Arial, sans-serif;color:#fff;padding-left:40px;background:url(images/sprites.png) no-repeat -310px -84px;margin-bottom:15px;}
.index_c .des p{color:#333;padding-left:10px;position:relative;width:222px;}
.index_c .des p a.tocat, #ser .des a.tocat{color:#09f;position:absolute;bottom:-28px;right:16px;padding-right:16px;background:url(images/sprites.png) no-repeat -490px -8px;font-size:13px;font-weight:700;}
.index_c .des p a.tocat:hover{color:#888;text-decoration:underline;}

.indexp{background:#fff;}

.cat_p li{display:block;width:135px;height:150px;background:#fff url(images/box2.png) no-repeat 0 0;float:left;padding-left:15px;margin:0 25px 15px 0;}
.cat_p li a{font-size:13px;color:#333;line-height:26px;}
.cat_p li a:hover{color:#f60;}
.cat_p li img{border-top:5px solid #fff;}

.oddcat .des h2{background-position:-310px -110px;}
.oddcat li{background-position:0 -84px;}

/* Index Subinfo
---------------------------------------------*/
#subinfo{clear:both;height:200px;overflow:hidden;}
#subinfo h2{padding-left:38px;height:39px;font:700 14px/39px "微软雅黑", "黑体", Arial, sans-serif;color:#fff;background:url(images/sprites.png) no-repeat 0 0;}
#subinfo .des, #subinfo ul{border:1px solid #ddd;border-top:none;padding:13px 13px 0;height:145px;}

#ser{width:400px;float:left;}
#ser h2{background-position:-188px -42px;}
#ser .des span{color:#bbb;font-size:13px;font-family:arial;display:block;margin-bottom:15px;}
#ser .des span b{color:#c30;font-size:14px;}
#ser .des p{padding-left:125px;background:url(images/logo.png) no-repeat 0 0;height:110px;position:relative;}
#ser .des p a.tocat{bottom:13px;background-position:-486px -8px;}

#frwnews{width:355px;float:right;}
#frwnews ul{text-align:right;}
#frwnews ul li{background:url(images/li_blue.png) no-repeat left center;padding-left:16px;font-size:13px;border-bottom:1px solid #eee;text-align:left;}
#frwnews ul li a{color:#333;}
#frwnews ul li a:hover{color:#888;}
#frwnews ul a.tocat{color:#09f;background:url(images/sprites.png) no-repeat -515px -8px;font-size:13px;font-weight:700;padding-right:13px;position:relative;top:5px;}
#frwnews ul a.tocat:hover, #ser .des p a.tocat:hover{color:#888;}

/* Content
---------------------------------------------*/
#content{margin-bottom:15px;}
#content, .post{border:1px solid #ddd;background:url(images/repeat-y.png) repeat-y right top;padding:25px 15px 0;}
.post{margin-bottom:10px;}
#content .post{margin-bottom:0;background:none;padding:0;border:none;}
.entry-title{clear:both;font-size:18px;margin-bottom:20px;color:#09f;font-weight:700;position:relative;width:730px;}
.entry-title span{font:500 italic 13px Georgia, "Times New Roman", Times, serif;color:#888;position:absolute;right:0px;top:2px;}
.page-title{border-bottom:1px solid #ddd;padding-bottom:10px;margin-bottom:20px;font-size:20px;font-weight:700;color:#09F;background:url(images/li_org.png) no-repeat 0 4px;padding-left:20px;}

.post .price span{color:#f36}
.post ol, .post ul{margin:0 41px 15px 28px;}
.post ul li {list-style:disc;}
.post ol li{list-style:decimal;}
.post ul.cat_p{margin-left:0;}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6 {padding-bottom:15px;}
.entry-content h1 a,.entry-content h2 a,.entry-content h3 a,.entry-content h4 a,.entry-content h5 a,.entry-content h6 a{color:#c30;border-bottom:none;} 
.entry-content h1 a:hover,.entry-content h2 a:hover,.entry-content h3 a:hover,.entry-content h4 a:hover,.entry-content h5 a:hover,.entry-content h6 a:hover{color:#f30;text-decoration:underline;border-bottom:none;} 
.entry-content h1 {font-size:22px;}
.entry-content h2 {font-size:18px;}
.entry-content h3 {font-size:17px;}
.entry-content h4 {font-size:16px;}
.entry-content h5 {font-size:15px;}
.entry-content h6 {font-size:14px;}

.ppost a{display:block;float:left;width:125px;height:125px;padding:5px;border:1px solid #ddd;margin:0 10px 10px 0;}
.ppost a:hover{border:1px dashed #aaa;}
.ppost a img{}

/* Page Navigation
---------------------------------------------*/
.navigation{clear:both;}
.alignleft{float:left;}
.alignright{float:right;}

/* Sidebar
---------------------------------------------*/
.sidebar h4{width:147px;height:39px;line-height:39px;padding-left:38px;font:700 15px/39px "微软雅黑", "黑体", Arial, sans-serif;color:#fff;background:url(images/sprites.png) no-repeat 0 -42px;text-transform:uppercase;}
.sidebar a{color:#777;}
.sidebar a:hover{color:#9c0;text-decoration:underline;}
.sidebar ul li{list-style:none;margin-bottom:10px;}
.sidebar ul ul{background:#fff;border:1px solid #ddd;border-top:none;padding:10px 0;}
.sidebar ul ul li{margin-bottom:0;margin-left:20px;padding-left:16px;background:url(images/li_blue.png) no-repeat 0 7px;}
.sidebar ul ul ul{border:none;position:relative;padding:0;}
.sidebar ul ul ul li{background:none;padding-left:16px;margin-left:0;}

.sidebar ul li#cats ul{background:#aaa;border:1px solid #bbb;padding:0;border-top:none;}
.sidebar ul li#cats ul a{color:#fff;}
.sidebar ul li#cats ul a:hover{text-decoration:none;}
.sidebar ul li#cats ul li{background:#aaa;margin-left:0;line-height:35px;height:35px;overflow:hidden;}
.sidebar ul li#cats ul li.sidehover, .sidebar ul li#cats ul li.current-cat{background:#a3a3a3;}
.sidebar ul li#cats ul li a{display:block;background:url(images/li.png) no-repeat 0 14px;padding-left:16px;font:700 14px/35px Arial, "微软雅黑", "黑体", sans-serif;}
.sidebar ul li#cats ul li a:hover,.sidebar ul li#cats ul li.current-cat a{background-image:url(images/li_blue.png);}
.sidebar ul li#cats ul li li, .sidebar ul li#cats ul li li.sidehover{background:none;}
.sidebar ul li#cats ul ul{margin-left:-17px;border:none;background:#bbb;}
.sidebar ul li#cats ul ul li{height:25px;line-height:25px;}
.sidebar ul li#cats ul ul li a{margin-left:16px;background-position:left center;font-weight:500;line-height:25px;color:#eee;}

.sidebar ul li#partner li{background:none;padding-left:0;}

/* Footer
---------------------------------------------*/
#footer{padding-top:55px;background:#08A1FF url(images/repeat-x.png) repeat-x 0 -212px;height:80px;}
#fbox{width:960px;margin:0 auto;font-size:13px;color:#fff;position:relative;line-height:22px;}
#fbox a{color:#fff;}
#fbox a:hover{color:#eee;text-decoration:underline;}
#fcat{position:absolute;right:0;top:21px;}