/*
Theme Name: milk_III
Theme URI: http://wordpress.org/
Description: 移植于博客大巴
Version: 1.0
Author: 原做：小明  移植：或许

*/


/*-----------------------------------------------------------------------------------------------
Global
-----------------------------------------------------------------------------------------------*/
* {
margin:0;
padding:0;
}

a {
text-decoration:none; 
color:#f39700;
}

a:hover {
text-decoration:underline;
color:#00007d;
}

a img {
text-decoration:none;
border:0;
}

.l {
float:left;
}

.m {
text-align:center
}

.r {
float:right;
}

ul, ol{
list-style-type:none;
}

.fixed {
	clear:both;
}

.clear {
clear:both;
font-size:0;
line-height:0;
height:0px; 
}

table {
border-collapse:collapse;
}

table td {
vertical-align:top;
}

h1, h2, h3, h4 {
font-size:12px;
}


th {
text-align:right; 
font-weight:400;
}


/*-----------------------------------------------------------------------------------------------
Main Container
-----------------------------------------------------------------------------------------------*/
body {
color:#444;
font-family:Verdana, Arial,sans-serif,"宋体";
font-size:12px;
line-height:1.6em;
background:#efefef; 
padding:20px 0 0; 
}

#wrapper {
}

#index, #detail {
margin:0 auto; 
text-align:left; 
width:900px; 
position:relative; 
}


#container {
margin:0 auto; 
text-align:left; 
width:900px; 
position:relative; 
}

/*-----------------------------------------------------------------------------------------------
Header & Nav
-----------------------------------------------------------------------------------------------*/
#header {
height:160px; 
overflow:hidden;
background:url(img/header-bg.gif) left top no-repeat; 
}

/*#header table td {
height:160px;
}*/

#header .blogName{
font-size:24px;
line-height:1.4em; 
font-family:"Microsoft Yahei", "黑体", "宋体";
float:left; 
height:80px;
background:url(img/header-top-bg.gif) left top no-repeat; 
padding:60px 20px 20px 110px; 
display:inline; 
}

#header .description {
color:#fff; 
height:90px;
padding:70px 0 0; 
float:left; 
margin:0 0 0 10px; 
}

#header .blogName a {

}

#header .blogName a:hover {

}


/*-----------------------------------------------------------------------------------------------
Content
-----------------------------------------------------------------------------------------------*/

#content {
width:630px;
float:left; 
background:url(img/content-bg.gif) left top repeat-y; 
}

#posts {
width:580px;
margin:15px 25px; 
}

#posts .postHeader {
height:50px; 
margin:0 0 0 15px; 
}

#posts .postHeader h2 {
font-size:18px;
float:left; 
background:url(img/post-header-bg.gif) right top no-repeat; 
min-height:40px;
_height:40px;
padding:8px 25px 0 0; 
display:inline; 
line-height:1.4em; 
}

#posts .postHeader h2 a {
color:#00007d; 
}


#posts .postHeader h3 {
font-weight:400;
color:#aaa;
font-size:12px;
padding:10px 0 0; 
float:left; 
}

#posts .postHeader .cats {
float:left;
padding:10px 0 0; 
margin:0 0 0 15px; 
color:#aaa; 
}

#posts .context {
margin:0 0 10px; 
color:#aaa; 
}

#posts #postcontent {
background:url(img/post-top-bg.gif) left top no-repeat; 
margin:0 0 30px; 
}

#posts .postBody {
word-wrap:break-word;
padding:0 15px 15px; 
background:url(img/post-bg.gif) repeat-y; 
}

#posts .postBody p {
margin:15px 0; 
}

#posts .postBody ul li{
background:none; 
}

#posts .postBody table {
}

.pageNavi {
margin:0 25px; 
}

#content .module {
}

#posts .postFooter {
padding:0 15px 15px; 
background:url(img/post-footer-bg.gif) left bottom no-repeat; 
color:#aaa; 
}

.postFooter .tb_url input {
width:450px;
color:#aaa; 
padding:1px; 
border:1px solid #ccc; 
}

.postFooter .menubar {
}

.contentBottom {
background:url(img/content-bottom-bg.gif) left top no-repeat; 
height:28px; 
}


/* comment START */
#trackbacks, #commentForm {
margin:15px 25px;
width:580px;
}

#commentlist {
	background:transparent;
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	margin:0 -15px;
	padding:0 15px;
}
#commentlist ol, 
#commentlist li {
	list-style:none;
}
#cmtswitcher {
	background:#transparent;
	font-size:10px;
	padding-top:5px;
}
#cmtswitcher a.tab, 
#cmtswitcher a.curtab {
	padding:5px 10px;
	margin-bottom:-1px;
	display:block;
	float:right;
	color:#555;
	text-decoration:none;
}
#cmtswitcher a.tab {
	border:1px solid #FFF;
	border-bottom-color:#CCC;
}
#cmtswitcher a.curtab {
	background:#FCFCFC;
	border:1px solid #CCC;
	border-bottom-color:#FCFCFC;
}
#cmtswitcher .addcomment, 
#cmtswitcher .addtrackback {
	padding-left:22px;
	height:16px;
	line-height:16px;
	display:block;
	font-size:11px;
	float:left;
	margin-right:15px;
	margin-top:4px !important;
	margin-top:3px;
}
#cmtswitcher .addcomment {
	background:url(img/icons.gif) 0 -112px no-repeat;
}
#cmtswitcher .addtrackback {
	background:url(img/icons.gif) 0 -144px no-repeat;
}
#thecomments, 
#thetrackbacks {
	padding-bottom:15px;
}
#thecomments .comment, 
#thecomments .messagebox {
	margin-top:15px;
}
.comment .author {
	float:left;
	width:81px;
	text-align:center;
}
.comment .pic {
	background:url(img/commentpoint.png) 100% 33% no-repeat;
	padding-right:14px;
	margin-top:10px;
}
.comment .name {
	width:67px;
	padding-right:14px;
	font-weight:bolder;
	overflow:hidden;
}
.comment .avatar {
	padding:1px;
	border:1px solid #999;
}
.comment .info {
	background:#EDEFF0 url(img/comment.gif) 0 0 no-repeat;
	float:left;
	padding:10px 15px 0;
	width:468px;
}
.comment .date, 
.trackback .date {
	float:left;
	font-size:10px;
}
.comment .act, 
.trackback .act {
	float:right;
	font-size:10px;
}
.comment .content {
	background:url(img/comment.gif) 100% 100% no-repeat;
	margin:0 -15px;
	padding:0 15px 10px;
	line-height:145%;
}
.comment .content p {
	margin-top:10px;
}
.comment .content blockquote p {
	margin-top:0;
	margin-bottom:10px;
}
.admincomment .author {
	float:right;
}
.admincomment .pic {
	background:url(img/commentpoint.png) 0% 33% no-repeat;
	padding-right:0;
	padding-left:14px;
}
.admincomment .name {
	padding-right:0;
	padding-left:14px;
}
.admincomment .info {
	float:right;
}
#comment_login {
	margin-top:15px;
}
#thetrackbacks {
	display:none;
}
#thetrackbacks li {
	margin-top:15px;
}
.trackback {
	background:#EDEFF0 url(img/box.gif) 0 0 no-repeat;
	padding:10px 15px 0;
	width:575px;
}
.trackback .title {
	background:#EDEFF0 url(img/box.gif) 100% 100% no-repeat;
	padding:10px 15px !important;
	padding:0 15px 10px;
	width:575px;
	margin:0 -15px;
}
#respond {
	padding:10px 0 0;
	font-size:11px;
}
#respond .row {
	margin-bottom:5px;
}
#respond .textfield {
	width:200px;
}
#emoticon {
	float:right;
	margin-top:1px;
	margin-right:10px;
}
#comment {
	width:583px;
}
#commentnavi {
	background:#EDEFF0 url(img/box.gif) 0 0 no-repeat;
	padding:10px 15px;
	font-size:11px;
}
#commentnavi a.page-numbers {
	padding:5px 7px;
	text-decoration:none;
	border:1px solid #EDEFF0;
	margin:0 -2px;
}
#commentnavi a.page-numbers:hover {	
	background:#F7F7F7;
	border:1px solid #CCC;
	text-decoration:none;
}
#commentnavi span.pages {
	padding:0 7px 0 22px;
	background:url(img/icons.gif) 0 -272px no-repeat;
	height:16px;
	line-height:16px;
	float:left;
}
#commentnavi span.current {
	background:#F7F7F7;
	padding:5px 7px;
	border:1px solid #F7F7F7;
	font-weight:bold;
	margin:0 -2px;
}
#commentnavi #commentpager {
	line-height:16px;
}
#submitbox a.feed {
	background:url(img/icons.gif) 0 -256px no-repeat;
	padding-left:22px;
	height:16px;
	line-height:16px;
	display:block;
	float:left;
}
#submitbox #submit {
	padding:3px 6px;
	background:#F39700;
	border-top:1px solid #F39700;
	border-right:1px solid #81B840;
	border-bottom:1px solid #81B840;
	border-left:1px solid #F39700;
	color:#fff;
	font-size:12px;
	cursor:pointer;
}
#submitbox #submit:hover {
	background:#FFA500;
	border-top:1px solid #FFA500;
	border-right:1px solid #98C64C;
	border-bottom:1px solid #98C64C;
	border-left:1px solid #FFA500;
	color:#074A7E;
}
#submitbox .submitbutton {
	float:right;
}
/* comment END */

/*-----------------------------------------------------------------------------------------------
Sidebar
-----------------------------------------------------------------------------------------------*/
#sidebar{
width:250px;
float:right; 
color:#aaa; 
word-wrap:break-word;
background:url(img/side-bg.gif) repeat-y 0 0;
}

#sidebar a {
color:#fff; 
}

#sidebar a:hover {
color:#f39700; 
}

#sidebar h2 {
background:url(img/side-h2-bg.gif) no-repeat; 
color:#323266;  
margin:0 10px 0 15px; 
padding:5px 10px; 
}


#sidebar li {
line-height:1.8em; 
}

#sidebar .module {
background:url(img/side-bg.gif) repeat-y; 
} 

#sidebar .modBody {
margin:15px 25px; 
}

#sidebar .modBottom {
background:url(img/side-bottom-bg.gif) left bottom no-repeat; 
height:66px; 
}

#sidebar #custom {
padding:15px 25px; 
background:url(img/side-bg.gif) repeat-y; 
margin:0; 
width:200px; 
}

#sidebar #meta {
margin: 0; 
}

#sidebar #meta .modBottom {
background:url(img/side-end-bg.gif) left bottom no-repeat; 
height:30px; 
}

#sidebar #meta li{
line-height:2em; 
}

#sidebar .button {
padding:1px 6px;
_padding:2px 6px 0;
background:#F39700; 
color:#fff;
border:0; 
width:44px; 
height:18px; 
}

#sidebar .textField, #sidebar #login #username, #sidebar #login #password {
width:130px; 
padding:1px; 
border:0; 
}

#sidebar #login form div{
margin:0 0 5px; 
}

#sidebar #login #username, #sidebar #login #password {
margin:0 0 0 10px; 
}

#sidebar #calendar {

}

#calendar table {
width:100%;
text-align:center;
}

#calendar table td {
width:14%; 
}

.calendar_h a, .calendar_h {
color:#00b7ee; 
font-weight:700;
}

#calendar table .week {
color:#f39700;
}

#calendar table .day a{
color:#000;
font-weight:700;
}

#calendar table .today {
background:#f39700; 
font-weight:700;
color:#fff; 
}

#searchsubmit {
margin-top:3px;
}
/*-----------------------------------------------------------------------------------------------
Footer
-----------------------------------------------------------------------------------------------*/
#footer {
color:#ccc; 
padding:30px 25px;

}

#gotop {
float:right;
}



/*---------------------------------------------------------------------------*/

.tip{
position:absolute;
z-index:999;
border:1px solid #bbbbbb;
background-color:#ffffff;
padding:5px 5px;
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
-moz-border-radius-bottomright:10px;
-moz-border-radius-bottomleft:10px;
width:580px;
}

blockquote, pre {
background:#F4F5F7 url(img/blockquote.gif) no-repeat scroll 3px 3px;
border:1px dashed #CCCCCC;
margin:5px 0;
padding:8px 12px 8px 36px;
}

.boxcaption h2 {
background:transparent url(img/comment-h2-bg.gif) no-repeat scroll 0 0;
font-size:18px;
line-height:1.4em;
margin:0 0 15px;
padding:5px 0 5px 15px;
float:left;
width:30%;
}

.boxcaption h3 {
background:transparent url(img/comment-h2-bg.gif) no-repeat scroll right center;
float:left;
font-weight:bold;
margin-bottom:10px;
padding:8px 12px;
text-align:right;
width:63%;
}

