/*----------- xhtml,css by 老W(Boss.Tao) http://Lyfon.com 2008.6.18 -----------*/
* { margin:0;padding:0;list-style:none;}
body {font:11px/180% Verdana,Tahoma,"宋体";color:#767676;background:#F7F9FD url(images/bg.png) repeat-x top;}
[xmlns] body{font-size:12px;}
a{color:#797979;text-decoration:none;}
a:hover{text-decoration:underline;}

#wrapper { width:988px;margin:0 auto;position:relative;}
#header { width:988px;height:78px;float:left;background:url(images/header.png) no-repeat left;}
#header h1{text-align:right;color:#fff;margin:16px 104px 0 0;font-size:24px;height:30px;line-height:30px;font-family:"微软雅黑",YaHei,"宋体";}
#header h1 a{color:#fff;}
#header p{color:#fff;text-align:right;margin:0 104px 0 0;}
#nav {position:absolute;z-index:50;top:200px;left:0;width:75px;}
	#nav li{font:bold 11px "Lucida Sans Unicode",Tahoma;font-variant:capitalize;text-align:right;margin:30px 0}
	#nav li a{ text-decoration:none;color:#adc55c;}
	#nav li a:hover{text-decoration:none;color:#adc55c;}
	#nav li span.activepage a{color:#adc55c;border-bottom:2px solid #adc55c}
	
#container { float:left;background:url(images/content_bg.png) repeat-y;width:988px;}
.containerbg { float:left;background:url(images/content_bg_top.png) no-repeat top;width:988px;padding:130px 0 30px;position:relative;z-index:20}
	.cover{display:block;width:127px;height:162px;position:absolute;top:0;left:89px;z-index:35;background:url(images/cover.png) no-repeat;}
	blockquote.ann {float:left;border:1px dashed #e4e3e3;padding:6px;width:545px;color:#d1d1d1;position:relative;z-index:30;display:inline;margin:-115px 0 20px}
  	blockquote img{display:block;float:right;margin-left:10px;}
  	blockquote p{padding:12px 0 0 0;} 
	blockquote.pagetitle {padding-left:100px;width:445px;color:#797979}
  	
#article { float:left;width:565px;margin:20px 0 20px 130px;display:inline;}
.entrypost{float:left;width:565px;overflow:hidden;word-wrap:break-all;word-wrap:break-word;position:relative;color:#656565;margin-bottom:40px;}
	.entrypost a{color:#7F9741}
	.entrypost p{margin:1em 0;line-height:1.6em;text-indent:2em;}
	.entrypost h2{ font-size:14px;padding: 5px 0 0 0;}
	.entrypost h2 a{ color:#82a8ec;}
	.entrypost h2 a:hover{ text-decoration:underline;}
	.Entry{padding-top:20px}
	.date {font-size:10px;color:#C4BEB7;text-indent:0;}
	.date a{color:#7cc3fa;}
	.text {padding:18px 0 18px 0;}
	p.tags {margin-top:20px;color:#C4BEB7;text-indent:0;color:#8da43e;}
	.tags a{color:#8da43e;font-weight:normal;font-size:10px}
	.category {position:relative;padding:10px 40px 10px 0;margin-bottom:15px;color:#C4BEB7;text-indent:0;}
	.category a{color:#C4BEB7;font-weight:normal;}
	.category span{position:absolute;right:5px;}	
	strong.Category a {color:#C4BEB7;}
#aside {  float:left;width:150px;margin:-100px 0 0 30px;display:inline;}
	#aside h2{ font-size:12px;height:30px;line-height:30px;font-variant:small-caps}
	#aside a{ color:#a1a1a1;}
	#aside a:hover{color:#a1a1a1;text-decoration:underline;}
	#aside ul{ padding-left:0px;margin-bottom:24px;}
	#aside li { background:url(images/s_add.png) no-repeat left 8px;padding-left:10px;height:20px;overflow-y:hidden;}
	#aside li.current-cat a{ color:#8da43e;font-weight:bold;border-bottom:1px solid #8da43e}
#copyright { float:left;clear:both;width:988px;background:url(images/foot_bg.png) no-repeat top center;padding:12px 0}
   	#copyright p { margin-right:90px;text-align:right;font-size:10px;color:#c6c8ca;line-height:1.5em}
   	#copyright p a{ color:#c6c8ca;}
   	
.blogprofile .profileintro{padding-bottom:14px;margin:0;}
.profileimg {background: url("http://lyfon.com/my/pic/me.gif") no-repeat;margin:3px 12px;padding-bottom:50px;width:120px; height:120px;float:left;}


hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #333;
}
acronym {
	text-decoration: none;
	border-bottom: 1px dotted #333;
	cursor: help;
}

/****** Form Controls Styles ******/
form {
	display: inline;
}
input {
	font-family: Tahoma, Arial; 
	font-size: 12px; 
}
input.text {
	background: #fff;
	border: 1px solid #E1DCD1;
}
input.button {
	background: #fff;
	border: 1px solid #E1DCD1;
}
textarea { 
	background: #fff;
	border: 1px solid #E1DCD1;
}
select { 
	background: #fff;
	border: 1px solid #E1DCD1;
}

/* blog description */
.blog-desc {
	display:none;
}
/* sidebar */
.sidebar {
	position: absolute;
	float:right;
	width: 360px;
	right: 20px;
	top: 75px;
}
* html .sidebar { /*IE6 absolute position+baseurl select bug fix */
	position: static;
	margin-top: expression("-"+document.getElementById('content').offsetHeight+"px");
}
.sidebar-hide {
	display: none;
	float: left;
}
#innerSidebar {
	padding: 0;
}
#innerSidebarOne {
	float: right;
	width: 201px;
	border: 1px solid #9EC9FF;
	background: #F5FBFE;
	padding-left: 9px;
}
#innerSidebarTwo {
	float: left;
	width: 140px;
}
#innerSidebarSearch {
	clear: both;
	padding: 10px; 
	color: #999;
	background: url('images/search.gif') no-repeat;
	background-color: #F4FBFF;
	margin-bottom: 10px;
	text-align: right;
}
#innerSidebarFooter {
	margin-bottom: 10px;
	clear: both;
	padding: 10px; 
	background-color: #F4FBFF;
}
/* content */
.content {
	width: auto;
	margin-right: 380px;
}
.content-wide {
}
.content-only {
	width: 100%;
}
#innerContent {
	margin-left: 0;
	overflow: hidden;
	margin-right: 5px;
	margin-top: 5px;
}

/* a style which makes mainWrapper touch the bottom of sidebar and content */
.clear{
	border-top:1px solid transparent !important;
	margin-top:-1px !important;
	border-top:0;
	margin-top:0;
	clear:both;
	visibility:hidden;
}

/****** Sidebar Panels ******/
.panel{
	padding:0;
}
.panel h5 {
	text-align: left;
	color: #999;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	letter-spacing: 1.5pt;
	padding: 0;
	margin: 0px;
	margin-bottom: 4px;
}
.panel h5 a{
	color: #999;
}
.panel-content{
	width: 95%;
	margin:0;
	margin-bottom: 25px;
	line-height: 150%;
}
.panel-content a{
}
.panel-content a:hover {
 	color:#999;
}

.panel-content ul{
	padding: 1px;
	margin: 0px;
	margin-left: 2px;
}
.panel-content li{
	padding: 0px;
	margin: 0px;
	list-style: none;
	border-bottom: 1px solid #D3E7FC;
}


.panel-content li.indent{
	padding: 0px;
	background-image: url("images/list.gif");
	background-repeat: no-repeat;
	text-indent: 15px;
}

/* user panel login form */
#loginForm {
	width: 95%;
}

/* calendar panel */
#calendar {
  width: 100%; 
  margin-top:1px;
}
.calendar-top {
  text-align: center;
  padding:0px;
}
.calendar-year,
.calendar-month {
  font-weight: bold;
}
.calendar-weekdays {
  color: #999;
  font-size:11px;
  text-align: center;
  width: 14%;
  padding:0px;
}
.calendar-weekday-cell {
  color: #999;
  font-size:11px;
  text-align: center;
  width: 14%;
  padding:0px;
  font-weight: bold;
}
.calendar-main {
  background: #FFFFFF;
}
.calendar-day,
.calendar-day-blank,
.calendar-saturday,
.calendar-sunday,
.calendar-today{
  text-align: center;
  width: 14%;
  padding:0px;
}
.calendar-saturday,
.calendar-sunday {
  color: #999; 
}
.calendar-today { 
  color: #999;
  border: 1px solid #999;
}
.calendar-day a, .calendar-saturday a, .calendar-sunday a {
  color: #999; 
  text-decoration: underline;
}
.calendar-today a {
  color: #999;
  text-decoration: underline;
}

/****** Search Panel ******/
.search-field {
	background: #fff;
	border: 0px solid #E1DCD1;
}

/****** Announcement Box ******/
.announce{
	margin-bottom: 15px;
}
.announce-content{
	padding: 10px; 
	padding-left:20px;
	background:url(images/announce.gif) no-repeat left;
}

/****** Defaul Page Elements ******/
.article-top {
	padding: 5px;
	margin-bottom: 35px;
}
.article-top img{
	display:none;
}
.article-bottom {
	padding: 5px;
}

/* page links */
.pages {
	clear: both;
	padding: 3px;
	border: 0px solid #E1DCD1;
	height:25px;
}
.pagelink-current {
	font-weight: bold;
}

.listbox {
	padding-top: 5px;
	padding-bottom: 5px;
}
.listbox-table {
	width: 99%;
}
.listbox-header {
	font-weight: bold;
	text-align: center;
	height: 25px;
}
.listbox-entry {
	word-wrap: break-all;
	border-bottom:1px solid #C7C7C7;
}
.listbox-entry a{
	word-wrap: break-all;
}

/* entry display box */
.prev-article{ float: left; }
.next-article{ float: right; }

/* text box */
.textbox{
	padding-bottom: 25px;
	margin-bottom: 5px;
	clear: both;
	background: url('images/dash.gif') no-repeat;
	background-position: 50px 20px;
}
.textbox-calendar {
	float: left;
	height: 49px;
	width: 46px;
	text-align: center;
}
.textbox-calendar-day {
	display: block;
	font-family: Arial;
	font-size: 25px;
	padding: 1px;
	background: #EFF6FE;
	border: 1px solid #A4BEDF;
}
.textbox-calendar-month {
	border-bottom: 1px solid #A4BEDF;
	margin: 0px;
	margin-top: -8px;
	display: block;
	font-family: Arial;
	font-size: 12px;
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
	background: #2E93C9;
}

.textbox-calendar-month {
	margin-top: 0px;
}

.textbox-title{
	font-size: 16px;
	height: 68px;
	margin-left: 5px;
}
.textbox-title h4{
	color: #999;
	font-size: 16px;
	padding: 5px;
	display: inline;
	font-weight: bold;
}
.textbox-title h4 a {
	font-weight: bold;
	color: #999;
}
.textbox-label{
	padding-top: 10px;
	padding-left: 15px;
	font-size: 12px;
	text-indent: 29px;
}
*+html .textbox-label{
	text-indent: 15px;
}
* html .textbox-label{
	text-indent: 15px;
}
.text-label-indented {
	font-size: 12px;
	display: block;
	text-align: right;
	float: right;
	margin-top: -15px;
}
*+html .text-label-indented {margin-top: -20px;}
.textbox-fontsize{
	color: #979797;
	float: right;
	text-align: right;
	padding: 3px;
	font-size: 12px;
}
.textbox-fontsize a{
	color: #979797;
}
.textbox-content{
	clear: both;
	word-wrap: break-word;
}
.textbox-bottom{
	padding: 0px;
	padding-top: 3px;
	padding-bottom: 1px;
	font-size: 12px;
	color: #999;
	text-align: left;
}
.textbox-bottom a {
	color: #999;
	text-decoration: none;
}
.textbox-bottom a:hover {
	background-color: #999;
	color: #ffffff;
	text-decoration: none;
}
.textbox-adminbar {
	padding: 0px;
	font-size: 12px;
	color: #999;
	text-align: left;
}
.textbox-tburl {
	padding-top: 3px;
	font-size: 11px;
	color: #999;
	text-align:left;
}
.tags {
	clear: both;
	padding-top: 1px;
	padding-bottom: 3px;
	font-size: 11px;
	text-align:left;
}
.tags a {
}
/* comments wrapper */
.comment-wrapper{clear:both;}

/* comments top box */
.comment-top{
	padding:5px;
	padding-top: 0px;
	margin: 5px;
	color: #999;
	text-align: right;
}
.comment-pages{

	padding:5px;
	margin: 5px;
	color: #999;
}

/* commnet box */
.commentbox, .trackbackbox {
	word-wrap: break-word;
	padding: 0px;
	margin: 5px;
}
.commentbox-odd {
	border-top:1px solid #C7C7C7;
}
.commentbox-couple {
	border-top:1px solid #C7C7C7;
}
.trackbackbox {
	border-top:1px solid #C7C7C7;
}
.commentbox-title, .trackbackbox-title{
	padding: 5px;
	color: #999;
}
.commentbox-title a, .trackbackbox-title a{
 	color: #999;
	font-weight: bold;
}

.commentbox-label, .trackbackbox-label{
	display: block;
	color: #999;
	text-align:right;
}
.commentbox-label a, .trackbackbox-label a{
	font-weight: normal;
}

.commentbox-content, .trackbackbox-content{
	padding: 3px;
	padding-bottom: 14px;
}


/* comment form wrapper */
#commentForm {
	width: 100%;
}

/****** normal message box ******/
.messagebox{
 width: 550px;
 margin-top: 120px;
 border:1px solid #C7C7C7;
 border-top: 0px; 
 text-align: center; 
}
.messagebox-title{
 color: #FFFFFF; 
 font-weight: bold; 
 padding: 5px;
}
.messagebox-content{
 color: #999; 
 padding: 10px; 
 padding-bottom: 20px; 
 text-align: left;
}
.messagebox-bottom{
 color: #999; 
 background-color: #E6EEF7; 
 padding: 5px;
}


/****** Input Form Styles (table) ******/
.formbox{}
.formbox-comment{
	padding-top: 10px;
	border-top: 0px solid #E1DCD1;
}

.formbox-title,
.formbox-comment-title{
	color: #999;
	font-weight: bold;
	font-size: 14px;
}

.formbox-rowheader {
	padding: 5px;
	font-weight: bold;
}

.formbox-content {
	padding: 5px;
}

/* smilies list */
.panel-smilies {
	padding:5px;
	text-align: center;
}
.panel-smilies-title {
	color: #999;
	text-align: left;
	border-bottom: 1px solid #BFCAD2;
}
.panel-smilies-content {
	padding: 5px;
	line-height: 120%;
}


/****** UBB Code Custom Styles ******/
/* IE fix for ul */
.code {
	word-wrap: break-all;
	border-left: 0px solid #E1DCD1;
	
	color: #999;
	margin: 5px;
	padding: 10px;
}

.quote {
	border-left: 0px solid #333;
	margin: 10px;
}
.quote-title {
	
	border-bottom: 0px solid #E1DCD1;
	padding: 5px;
	font-weight: bold;
}
.quote-title img {
	padding-right: 3px;
	margin-bottom: -4px;
}
.quote-content {
	word-wrap: break-all;
	color: #999;
	padding: 10px; 
	
	border: 0px solid #E1DCD1;
	border-top: 0px;
}

/****** Link ******/
.linkover {
	margin-bottom: 20px;
	height: auto;
	clear: both;
}
.linkbody {
	float: left;
	padding-bottom: 14px;
}
.linkimg {
/*	width: 35%;*/
	float: left;
	text-align: right;
	margin-right: 4px;
}
.linktxt {
	float: left;
}
.linktitle a {
	font-weight: bold;
}
.linkgroup {
	font-weight: bold;
	font-size: 14px;
	color: #999;
	text-indent: 3px;
}

/*Page*/
.pagebox {
	padding-bottom: 25px;
	margin-bottom: 5px;
	clear: both;
}
.pagebox-title{
	font-size: 16px;
	height: 68px;
	margin-left: 5px;
}
.pagebox-title h4{
	color: #999;
	font-size: 16px;
	padding: 0;
	margin: 0;
	display: block;
	border-bottom: 0px solid #E1DCD1;
	font-weight: bold;
}
.pagebox-content{
	clear: both;
	word-wrap: break-word;
	padding: 0;
}

/* Emot Page Selection */
#smileybuttons {
	text-align: right;
	margin-top: 9px;
}

.smileybut {
	margin-right:3px;
	padding: 3px;
	vertical-align: middle;
	font-weight: bold;
}

.smileybut  a{
	border: 0px solid #E1DCD1;
}

textarea { 
	background:#397BBD;
	border: 1px solid #C7C7C7;
	padding:4px 8px;
	color:#999;
	background:url(images/textarea.gif);
	width:500px
}
input.text {
	width:125px;
	height:20px;
	color:#999;
	padding:1px 2px;
	background:url(images/input.gif) no-repeat;
}
input.button {
	color:#999;
	border: 1px solid #C7C7C7;
	background: #397BBD;
	width:100px;
	height:25px;
	background:url(images/button.gif) no-repeat;
}

#search select{display:none;}
#search .search-field{
	color:#999;
	width:90px;
	height:17px;
	padding:1px 3px 0 3px;
	border: 1px solid #C7C7C7;
	}
