/*
Douban.com Homepage Style - final
by JunChen Wu(junchenwu@gmail.com)
Created on 2007-01-28
Lact Modified on 2007-01-29

http://www.junchenwu.com/2007/01/web_standards_practice_series_02.html
*/

/*
=Global
*/
*{
	margin: 0; 
	padding: 0;
}
body{
	font-size: small; /* normally 12px */
	font-family: Arial,sans-serif;
	padding: 26px 20px 0 20px;
	color: black;
	background:#fff;
}
a:link{
	color: #369;
	text-decoration: underline;
}
a:visited{
	color: #669;
	text-decoration: underline;
}
a:hover{
	color: #FFFFFF;
	text-decoration: none;
	background: #003399;
}
a img{
	border: none;
}
.clearfix:after{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
.clearfix{
	zoom: 1;
}

/*
=Comment List
*/
.comment{
	list-style: none;
	position: relative;
	zoom: 1;
	margin-top: 1em;
	margin-bottom: 2em;
}
.comment h3{
	font-size: 116%;
	font-weight: normal;
	background: #EFE;
	margin-left: 78px;
	padding-top: 1px;
	padding-bottom: 1px;
	margin-bottom: 5px;
}
.comment p{
	font-size: 92%;
	line-height: 150%;
	margin-left: 78px;
	margin-bottom: 1.8em;
}
.comment .info{
	color: #666;
}
.comment p span{
	color: #666;
}
.comment .avatar{
	position: absolute;
	border: 1px solid #CCC;
	top: 0;
	left: 5px;
}

/*
=Item List: books, albums, etc.
*/
.itemlst{
	width: 350px;
	margin: 0;
	padding: 0;
}
.itemlst li{
	width: 100px;
	padding: 0 8px;
	float: left;
	text-align: center;
	list-style: none;
}
.itemlst li div a:hover{
	background: none;
}
.itemlst li img{
	padding: 10px;
}
.itemlst li div{
	height: 120px;
}
.itemlst li p{
	height: 6em;
	line-height: 1.5em;
}

/*
=Layout and some styles...
*/
#logo{
	position: absolute;
	top: 13px;
	right: 20px;
}
#hd{
	border-bottom: 1px dotted #DDD;
	padding-bottom: 5px;
}
	#hd a:link,#hd a:visited{
		color: #518EBE;
	}
	#hd a:hover{
		color: #518EBE;
	}
	#nav{
		font-size: 116%;
		margin-right: 225px;
		margin-bottom: 19px;
		color: #518EBE;
	}
		#nav span{
			margin: 0 8px;
		}
	#userctrl{
		float: right;
		font-size: 92%;
		margin-top: 9px;
		margin-right: 3px;
		color: #518EBE;
	}
	#search input{
		padding: 1px 0;
	}
	#search button{
		padding: 0 0.5em;
		margin-left: 5px;
	}
#bd{
	padding-right: 410px;
}
	#main{
		width: 100%;
		float: left;
	}
	#sidebar{
		width: 350px;
		margin-left: 60px;
		float: left;
		margin-right: -410px;
	}
#ft{
	font-size: 92%;
	clear: both;
	padding-top: 0.5em;
	border-top: 1px dotted #DDD;
}

/*
=headings
*/
h1#pagetitle{
	font-size: 28px;
	margin: 10px 0 18px 0;
	color: #494949;
}
h2{
	font-size: 116%;
	font-weight: normal;
	color: #060;
	margin-bottom: 5px;
}
h2 span{
	font-size: 78%;
}

/*
=Modules, can be used in #main or #sidebar
*/
.mod{
	padding: 10px;
	margin-bottom: 2em;
	background: #FFF6EE;
}
.mod p{
	margin-bottom: 1em;
	font-size: 92%;
	line-height: 150%;
}


