/*  
Theme Name: UXD2 中文
Theme URI: http://uxd2.com/
Description: UXD2 Theme
Version: 1.0
Author: Terry Xu
Author URI: http://uxd2.com/
*/

/********************************************************
*    TABLE OF CONTENT
*     .... Document Level Styles
*     .... Shared Classes
*     .... Header
*     .... Main
*     ........ Homepage Specific
*     ........ Post Section
*     ........ Comment Section
*     .... Sidebar
*     .... Footer
********************************************************/

/********************************************************
*   Document Level Styles
********************************************************/
body{
	font-family: "Verdana", "SimSun", "SimHei", Helvetica, Arial, sans-serif;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	line-height: 2em;
	color: #666666;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Trebuchet MS", Verdana, "Microsoft Yahei", Arial, sans-serif;
	margin: 5px 0px;
	padding: 0;
}

h1{font-size:200%;font-weight:normal;}
h2{font-size:160%;font-weight:normal;}
h3{font-size:125%;font-weight:normal;}

a{
	color: #336666;
	text-decoration: none;
}

a:hover, a:active{
	color: #008888;
}

img{
	margin: 0px;
	vertical-align: bottom;
}

a img{
	border: 0px;
}

p {
	margin: 0;
	padding: 0;
}

ul{
	margin: 0px;
	padding: 5px 0px;
	list-style:none;	
}
		
ul li{
	padding-left: 0px;
	margin-left: 0px;
	line-height: 1.8em;
}
/********************************************************
*   Shared Classes
********************************************************/
.highcontrast a{
	color: #333333;
}

.highcontrast a:hover{
	color: #FF0066;
}

.wrapper{
	position: relative;
	width: 760px;
	margin: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

.clearer{
	clear:both;
}

.left{
	float: left;
	margin-right: 10px;
}

.right{
	float: right;
}

.onethirdcol{
	width: 240px;
	float:left;
	padding: 0px 0px 0px 20px;
}

.twothirdcol{
	width:500px;
	float:left;
	padding: 0px;
}

.sprite{
	background: url(uxd2sprite.png) no-repeat;
}

	.clockicon, .viewicon, .commenticon, .tagicon,
	#featuredicon, #recenticon, #twittericon,
	#usericon, #experienceicon, #designicon, #developmenticon, #bookmarksicon, #infoicon,
	#homeicon, #abouticon, #discussionicon, #subscribeicon {
		width: 12px;
		height: 11px;
		margin: 0px 5px 0px 0px;
		display: inline-block;
	}

	.clockicon{
		background-position: -220px 0px;
	}
	
	.viewicon{
		background-position: -260px 0px;
	}

	.commenticon{
		background-position: -240px 0px;
	}	

	.tagicon{
		background-position: -280px 0px;
	}	
	
	#featuredicon{
		background-position: -100px 0px;
	}	
	
	#recenticon{
		background-position: -80px 0px;
	}
	
	#twittericon{
		background-position: -300px 0px;
	}
	
	#usericon, #experienceicon, #designicon, #developmenticon, #bookmarksicon, #infoicon,
	#homeicon, #abouticon, #discussionicon, #subscribeicon{	
		margin-top: 2px;
	}
	
	#usericon{
		background-position: -120px 0px;
	}

	#experienceicon{
		background-position: -140px 0px;
	}

	#designicon{
		background-position: -160px 0px;
	}

	#developmenticon{
		background-position: -180px 0px;
	}
	
	#bookmarksicon{
		background-position: -320px 0px;
	} 
	
	#infoicon{
		background-position: -340px 0px;
	}
	
	#homeicon{
		background-position: 0px 0px;
	}

	#abouticon{
		background-position: -20px 0px;
	}

	#discussionicon{
		background-position: -40px 0px;
	}

	#subscribeicon{
		background-position: -60px 0px;
	}		
	
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/********************************************************
*   Header
********************************************************/
#header{
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #778899;
	background: #eeeeee;
	position: relative;
	height: 80px;
}
	
	#title{
		display: block;
		width: 92px;
		height: 30px;
		margin-top: 10px;
		background-position: 0 -20px;
	}	
	
	#navigation{
		margin-top: 14px;
		font-size: 12px;
	}
	
		.navigationitem{
			float: left;
			padding: 0px 7px 1px;
		}
		
		.navigationitem:hover, .selectitem{
			border-bottom: 3px solid #ff0066;
			margin-bottom: -5px;
		}
		
#discussion{
	padding-right: 10px;
}

	#discussion h1{
		color: #FF0066;
		font-weight: normal;
		margin-bottom: 10px;
	}

	#discussion ul li{
		margin-bottom: 10px;
	}
		
/********************************************************
*   Main
********************************************************/
#main{
	clear: both;
	padding-top: 30px;
}		

.leftpostlink{
	padding: 0;
	padding-right: 10px;
	width: 239px;
	color: #FF0066;
	height: 16px;
	margin-bottom: 20px;
}

.rightpostlink{
	padding: 0;
	padding-right: 10px;
	width:239px;
	height: 16px;
	text-align:right;
	color: #FF0066;
	margin-bottom: 20px;
}

	#main h2{
		color: #008888;
		font-weight: normal;
	}
	
	#main h2 a{
		color: #008888;
	}
	
	#main h2 a:hover{
		color: #22bbbb;
	}

	/********************************************************
	*   Homepage Specific - blog post box & twitter column
	********************************************************/	
	
	#latest{
	}
	
	.postonethirdcol{
		width: 299px;
		float:left;
		clear: left;
		padding: 0px 0px;
		margin: 0px 10px;
	}
		
		.rightcol{
			float: right;
			clear: right;
		}
	
	.postentry{
		border-bottom: 1px dotted #ffffff;
		position:relative;
		margin-bottom: 30px;
	}
	
		.postentry .excerpt{
			color: #555555;
			margin: 5px 0px;
		}
		
		.postentry .info{
			float:right;
			margin-left: 5px;
		}
	
		.postentry.info img{
			vertical-align: middle;
		}
		
		.postentry .hiddencontrol{
			visibility: hidden;
			position: absolute;
			bottom: 5px;
			right: 0px;
		}
		
		.postentry:hover .hiddencontrol{
			visibility: visible;
		}	
		
	/********************************************************
	*   Homepage Specific - misc
	********************************************************/		
	#highlights{
		margin-top: 30px;
	}
		
		#highlights ul{
			float: left;
			display: block;
			padding: 0;
		}
			
			#featuredposts h3{
				font-size: 12px;
				color: #ff0066;
				border-bottom: 1px solid #ff0066;
				padding: 5px 0px;
			}
			
			#recentposts h3{
				font-size: 12px;
				color: #008888;
				border-bottom: 1px solid #008888;
				padding: 5px 0px;
			}
			
			#recentposts a{
			}
			
			#recentposts a:hover{
				text-decoration:underline;
			}				
			
			#highlights ul li{
				width: 240px;
				padding: 0;
				margin-right: 10px;
			}
			
			#highlights ul li#featuredposts{
				float:left;
			}
			
			#highlights ul li#recentposts{
				float:right;
			}
			
			#highlights ul li ul{
				padding: 5px 0px;
			}
			
			#highlights.halfcols ul li ul li{
				margin-bottom: 5px;
			}
	
	/********************************************************
	*   Post Section
	********************************************************/		
	#singlepostcol{
		width: 500px;
		padding: 0px;
	}	
	
	#archivetitle{
		border:1px solid #ffddaa;
		background: #ffffee;
		margin: 0px 0px 15px;
		padding: 2px 10px;
	}
			
		/********************************************************
		*   Blog Entry Styles
		********************************************************/
		.post{
			margin: 0px 0px 30px;
			padding: 0px;
			position:relative;
		}
			
			.post h1{
				font-weight: normal;
			}

			.post h1 a{
				color:#008888;
			}

			.post .info{
				margin:5px 0px 5px 0px;
				color:#aaaaaa;
				line-height: 1.5em;
			}
			
				.post .info img{
					vertical-align:bottom;
				}

			.post .entry{
				color:#555555;
				padding:0;
				margin:10px 0px;
				line-height: 2em;
			}

				.post .entry h1,
				.post .entry h2,
				.post .entry h3,
				.post .entry h4{
					margin:0.5em 0px;
					font-weight: normal;
				}
				
				.post .entry h2{
					letter-spacing: 0.1em;
				}
				.post .entry h3{
					color:#008888;
					font-weight: normal;
				}
				
				.post .entry h4{
					font-weight: bold;
				}	
				
				.post .entry a{
					color:#008888;
				}
				
				.post .entry a:hover{
					text-decoration: underline;
				}
				
				.post .entry ul{
					margin:1em 0;
					padding:0;
					padding-left:20px;
					list-style-image:url("images/bullet.png");
				}
				
					.post .entry ul li{	
						line-height: 2em;
					}
					
				.post .entry strong{
					color:#333;
					font-style:normal;
					font-weight:bold;
				}
				
				.post .entry em{
					color:#000;
					font-style:normal;
					font-weight:normal;
				}
				
				.post .entry .code{
					color:#666;
					font-family:"Courier New", monospace;
					font-style:normal;
				}
				
				.post .entry .highlight{
					padding:10px 20px 10px 40px;
					background: #edffb0;
					color:#333;
					font-family:Georgia;
					text-align:left;
				}
				
				.post .entry .quote{
					padding:10px 10px 10px 30px;
					margin: 0px 0px 0px 0px;
					border-left: 4px solid #AAA;
					color:#888;
					text-align:left;
				}
				
				.post .entry .keyquote, .post .entry .rightkeyquote, .post .entry .leftkeyquote{
					border-bottom: 3px solid #00aaaa;		
					border-top: 3px solid #00aaaa;	
					padding: 5%;
					margin: 0px 5% 5% 0px;
					width: 30%;
					float: right;
					clear: right;
					color: #00aaaa;
					text-align: center;
					font-size:1.8em;
					line-height: 2em;
					font-style: italic;
				}	
				
				.post .entry .leftkeyquote{
					float: left;
					clear: left;
					margin: 5%;
					margin-left: 0;
				}
				
				.post .entry .left{
					float:left;
					clear:left;
					width:48%;
				}
				
				.post .entry .right{
					clear:right;
					float:right;
					width:48%;
				}
				
				.post .entry p{
					margin-bottom: 10px;
				}
				
				.post .entry img.fullwidth{
					margin: 0px;
					float: none;
				}
				
		.post .entrymeta{
			clear:both;
			font-size:93%;
			color:#777777;
		}
	
	/********************************************************
	*   Comment Section
	********************************************************/
	#commentbox{
		background: #fcfcfc;
		padding: 10px 10px;
		border: 1px solid #f8f8f8;
		border-top: 1px solid #dddddd;
		width: 480px;
	}
		
		#commentbox ul{
			
		}
		
		#commentbox ul li ul{
			margin-left: 20px;
			padding-left: 30px;
			border-left: 1px solid #eeeeee;
		}

		#commentbox h3{
			letter-spacing: 0.1em;
			font-weight: normal;
			padding: 0;
			margin: 0;
		}
		
		#commentbox #commentform{
		
		}
		
		#commentbox .info{
			font-size: 91%;
			color: #888888;
			padding: 0px 0px 5px;
			position:relative;
		}
		
		#respond{
			padding-top: 15px;
			padding-bottom: 20px;
		}
		
			#respond h3{
				border-top: 1px dotted #dddddd;
				color:#008888;
				padding: 10px 0px;
			}
			
			#respond p{
				padding-bottom: 5px;
			}
			
		#comment, #author, #url, #email{
			background: #ffffff;
			border: 1px solid #dddddd;
		}
		
		#comment{
			width: 100%;
		}
		
		#commentbox ul.commentlist{
			margin: 0;
			padding: 0;
			list-style: none;
			display:block;
		}

		#commentbox ul.commentlist ul.commentlist{
			padding-left: 100px;
		}

		#commentbox ul.commentlist li{
			display: block;
			margin: 0;
			margin-top: 10px;
			padding: 0;
		}
		
			#commentbox ul.commentlist li .info{
				padding: 0px 10px 0px 55px;
			}
			
			#commentbox ul.commentlist li .info .hiddencontrol{
				right:0px;
				top: 0px;
				position: absolute;
				visibility: hidden;
			}

			#commentbox ul.commentlist li .entry{
				padding: 5px 10px 5px 5px;
				position:relative;
			}
			
			#commentbox div.commentdiv{
				margin:0;
				padding:0;
			}
			
			#commentbox div.avatar{
				float:left;
				width: 50px;
				height: 34px;
				text-align: left;
				font-size: 92%;
				z-index: 2;
				position:relative;
				left:0;
				top:0;
				padding: 0;
				margin: 0;
			}
			
			#commentbox div.commentarrow{
				background: url(images/comment-arrow.png) no-repeat;
				width: 15px;
				height:32px;
				margin-left: -5px;
				margin-right: -1px;
				float: right;
			}
			
			#commentbox div.avatar img{
				border: 1px solid #cccccc;
			}
				
			#commentbox div.commentbox{
				font-size: 100%;
				background: #ffffff;
				border: 1px solid #dddddd;
				margin-left:50px;
				position:relative;
			}
			
			#commentbox .commentdiv div.reply{
				padding: 2px 10px;
				background: #f2f2f2;
				margin-top: 5px;
				position:absolute;
				right: 0px;
				bottom: 0px;
				visibility: hidden;
			}
				
				#commentbox .commentdiv:hover div.reply{
					visibility: visible;
				}
				
				#commentbox .commentdiv:hover .info .hiddencontrol{
					visibility: visible;
				}				
			
				#commentbox div.reply:hover, #commentbox div.reply:hover a{
					background:#008888;
					color: #ffffff;
				}
				
/********************************************************
*   Sidebar 
********************************************************/			
	#sidebar{
		width: 230px;
		float:left;
		padding: 0px 0px 0px 30px;	
	}

		#twitter{
			margin-top: 30px;
			color: #888888;
		}

		#twitter h3{
			border-bottom: 1px solid #ff0066;
			color: #ff0066;
			padding: 5px 0px;
		}

		#twitter_update_list li{
			margin-bottom: 5px;
		}
		
			#searchbox{
				width: 228px;	
				border: 1px solid #aaaaaa;
				position: relative;
				height: 18px;
			}
			
				#s{
					position: absolute;
					background: #ffffff;
					color: #000000;
					border: 0;
					border-right: 1px solid #aaaaaa;
					margin: 0;
					padding: 2px 0px;
					height: 14px;
					vertical-align: bottom;
					width:208px;
					left: 0px;
					font-size: 10px;
				}
			
				#sbutton{
					position: absolute;
					right: 0px;
					width: 19px;
					height: 18px;
					background-color: #eeeeee;
					background-position: -196px 2px;
					border: 0;
					border-top: 1px solid #ffffff;
					color: #ffffff;
					padding: 0;
					margin: 0;
				}
			
			#categories{
				font-size: 12px;
				padding-left: 10px;
				margin-top: 20px;
			}
			
				#categories ul li{
					margin-bottom: 5px;
				}
		
		#staticbar{
			background: #ffffff;
			padding-top: 10px;
		}
			
		#staticbar .entrymeta{
			border:1px solid #ffddaa;
			background: #ffffee;
			padding: 10px;
		}
			
		#sidebar h2{
			font-size: 120%;
			font-weight: normal;
		}
		
		#staticbar li{
			margin-bottom: 0.5em;
			padding-left: 10px;				
		}
		
	#staticbar #ad{
		width:300px;
		height:250px;
		padding: 0px 0px;
	}
		
	#staticbar .topinfo, #staticbar.bottominfo{
		padding: 0px 0px 30px 0px;
		position:relative;
	}
	
	#staticbar .bottominfo{
		padding-top: 20px;
	}
	
	#staticbar .topinfo h4{
		font-size: 120%;
		font-weight: normal;
		padding: 5px 10px;
		background: #f8f8f8;		
	}
	
#aboutme{
	height: 80px;
	padding: 10px 10px 10px;
	margin-bottom: 15px;
}
		
	
/********************************************************
*   Footer
********************************************************/
#footer{
	margin-top: 30px;
}

#bottomlogo{
	background-position: -100px -20px;
	width: 70px;
	height: 12px;
}

#copyright{
	padding: 5px 0px;
}