/*  
Theme Name: Grid Focus
Theme URI: http://5thirtyone.com/
Description: Grid aligned WordPress theme
Version: 1.1
Author: Derek Punsalan
Author URI: http://5thirtyone.com/
Tags: white, grid, whitespace, minimal, clean, widgets

Grid Focus was designed and coded by Derek Punsalan. Find
more info about the guy at http://5hthirtyone.com

Notes: Inspired and created for minimalist, content focused blogs 
or websites. Customize, edit, poke, prod, and adapt to your own 
style. Please leave credit where credit is due so that others may
find the source for your site and adapt a suitable version for their
own website.

See line 53 for a collection of the main font rules - size, line-height,
and color - combined for your convenience.

*/

* {
	margin: 0;
	padding: 0;
}
body {
	background:url("images/bg.png") no-repeat fixed 0 0 #FFFFFF;
	color: #333;
	font-size: 62.5%;
	font-family: "Microsoft YaHei", arial, verdana, sans-serif;
	text-align: left;
} 
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
a {
	color: #222;
	outline: none;
	text-decoration: none;
}
a:hover {
	color: #3d5f30;
}

input, textarea, select {
	-moz-border-radius:3px; border-radius:3px;
	font-family: "Microsoft YaHei", arial, verdana, sans-serif;
}

/* =----------------------------------- oh the convenience */
#wrapper {
	/* 
		sets the minimum(s) for the entire site
		off of which everything else is based on
	*/
	font-size: 1.2em;
	line-height: 1.4em;
}
.postMeta {
	font-size: 0.9em;
	text-transform: uppercase;
}
.postMeta span.comments a,
.postMeta span.date a {
	color: #3d5f30;
}

.entry a,
#commentsContainer h3 a,
.commentlist .comment-author a {
	border-bottom: 1px dotted #3d5f30;
	color: #3d5f30;
	font-weight: bold;
}
.entry a:hover,
#commentsContainer h3 a:hover,
.commentlist .comment-author a:hover,
.commentlist .comment-meta a:hover {
	color: #3d5f30;
	border-bottom: 1px solid #fff;
	background: #f2f6e1;
}
.secondaryColumn a {
	color: #3d5f30;
	font-weight: normal;
}
.secondaryColumn a:hover {
	color: #3d5f30;
	background: #f2f6e1;
}
.entry blockquote {
	color: #555;
}
.secondaryColumn h3,
#commentsContainer h3 {
	font-size: 1.2em;
}
#cancel-comment-reply-link {
	color: #3d5f30;
	font-size: 0.8em;
}
.commentlist .comment-meta a {
	color: #777;
}
.commentlist .comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.commentlist .comment-meta {
	font-size: 0.8em;
}
#commentform p span input,
#commentform span textarea {
	color: #333;
	font-family: arial,verdana,sans-serif;
	font-size: 1em;
}
#paginateIndex {
	font-size: 0.9em;
	text-transform: uppercase;
}
#footer {
	clear: both;
	color:#888;
}
#footer p a {
	font-weight: bold;
	color:#666;
}

/* =----------------------------------- main structure */
#wrapper {
	margin-left: 139px;
	text-align: left;
	width: 790px;
	padding: 0 5px;
}
#masthead {
	height: 32px;
	margin-bottom: 10px;
	padding: 2px 0 5px 0;
	background:url("images/headerbg.gif") repeat-x #527b43;
	-moz-border-radius-bottomleft:6px;
	-moz-border-radius-bottomright:6px;
	-moz-box-shadow:0 1px 0 #eaf3e7;
}
#filler {}
#mainColumn {
	float: left;
	margin: 28px 0 0 0;
	width: 538px;
}
.secondaryColumn {
	float: left;
	margin: 28px 0 0 60px;
	overflow: hidden;
	width: 186px;
}

/* =----------------------------------- header elements */
#masthead h1 {
	display: block;
	float: left;
	line-height: 30px;
	margin: 0 0 6px 10px;
}
#masthead h1 a {
	width: 400px;
	color: #fff;
	text-shadow:0 -1px 0 #3b5f2d;
}
#authorIntro {
	float: left;
	margin: 10px 0 0 10px;
	width: 400px;
	color: #fff;
	text-shadow:0 -1px 0 #3b5f2d;
}

.searchField {
	float: right;
	margin: 4px 9px 0 0;
	border: 0;
}
.searchField span {
	display: block;
}
.searchField input {
	color: #777;
	font-family: arial, verdana, sans-serif;
	border: 1px solid #466e37;
	outline: none;
	padding: 4px;
	width: 176px;
}

/* =----------------------------------- meta lead for each post */
.postMeta {
	border-top: 1px solid #ccc;
	text-align: right;
	margin-bottom: 14px;
	position: relative;
}
.postMeta .container {
	position: absolute;
	top: -9px;
	right: 0;
}
.postMeta span.comments {
	background: #fff url(images/chat_grey.gif) no-repeat 2px -1px;
	padding-left: 18px;
}

/* =----------------------------------- general post */
.post {
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ddd;
}
.post h2 {
	margin-bottom: 5px;
	padding: 0 3px;
	line-height: 1.2em;
}
.post h2 span{
	font-size: .7em;
}
.post .date {
	color: #777;
	padding: 0 4px;
	font-size: 0.9em;
}
.postInside {
	margin: 0 0 10px 0;
	border: none;
}

/* =----------------------------------- entry body */
.entry {
	padding: 0 3px;
	overflow: hidden;
}
.entry p {
	line-height: 1.6em;
	margin: 10px 0;
}
.entry ul,
.entry ol,
.entry blockquote {
	margin: 10px 14px;
}
.entry ol {
	list-style: decimal;
}
.entry ul li,
.entry ol li {
	margin: 0 0 5px 18px;
}
.entry ul li {
	list-style: bullet;
}
.entry blockquote {
	border-left:3px solid #eee;
	font-size: 1.1em;
	line-height: 1.4em;
	margin-left: 21px;
	padding-left: 10px;
}
.entry img,
.entry a img,
.entry a:hover img {
	border: none;
	text-decoration: none;
}
.entry.meta {
	background: #f5f5f5;
	-moz-border-radius:6px; border-radius:6px;
	margin-top: 6px;
	padding: 6px;
}
.entry.meta p {
	margin: 1px 6px;
}
.entry.meta .highlight {
	text-transform: uppercase;
	font-size: 10px;
}
.entry.meta a {
	color: #333;
	border-color: #bbb;
}
.entry.meta a:hover {
	color: #000;
	border-color: #000;
}

/* =----------------------------------- main index pagination */
#paginateIndex { 
	margin-bottom: 25px;
}
#paginateIndex a,
.commentlist li .reply a {
	color: #777;
	font-size: 0.9em;
	text-transform: uppercase;
	display: block;
	padding: 4px 7px 3px;
	background: #fff;
	border: 1px solid #ddd;
	-moz-border-radius:3px; border-radius:3px;
}
.commentlist li .reply a {
	color: #aaa;
}
#paginateIndex a:hover,
.commentlist li .reply a:hover {
	color: #3d5f30;
	border-color: #3d5f30;
}

/* =----------------------------------- widget enabled sidebar */
.secondaryColumn h3 {
	border-top: 2px solid #a1b998;
	border-bottom: 1px dotted #ddd;
	margin: 0 0 10px 0;
	padding: 7px 4px;
}
.widgetContainer {
	margin: 0 0 20px 0;
}
.widgetContainer ul li {
	margin: 0 3px 7px 21px;
	list-style: circle;
	color: #a1b998;
}
.widgetContainer ul li ul {
	margin-top: 5px;
}
.widgetContainer .textwidget {
	margin: 0 3px;
	line-height: 1.5em;
}
.widgetContainer #wp-calendar {
	border-collapse: collapse;
	width: 100%;
}
#wp-calendar caption {
	font-weight: bold;
	margin-bottom: 7px;
}
#wp-calendar thead {}
#wp-calendar thead th {
	padding: 4px 0 4px 3px;
	border: 1px solid #ccc;
	border-width: 1px 0;
}
#wp-calendar td {
	padding: 3px 0 4px 3px;
	color: #777;
}
#wp-calendar td a {
	font-weight: bold;
}
.widget_archive select{
	width: 150px;
	padding: 2px;
	border: 1px solid #ccc;
	font-size: 12px;
}

/* =----------------------------------- style some comments */
#commentsContainer {
	margin-bottom: 30px;
}
#commentsContainer span.hook {
	position: relative;
	display: block;
}
#commentsContainer h3 {
	display: block;
	margin: 10px 0;
	padding: 7px 4px 0;
	border-top: 2px solid #a1b998;
}
.cancel-comment-reply {
	position: absolute;
	top: -1px;
	right: 4px;
}
.commentlist {
	list-style: none;
	margin: 0 0 20px;
}
.commentlist .comment-author {
	border-top: 1px solid #ccc;
	padding-top: 7px;
	margin-top: 10px;
	overflow: hidden;
}
.commentlist .comment-author img.avatar {
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	margin: 0 4px 0 0;
}
.commentlist .comment-meta {
	margin: 0 0 0 20px;
}
.commentlist li .reply {
	text-align: right;
	padding-bottom: 10px;
}
.commentlist li .reply a {
	display:inline;
}
.commentlist li p {
	margin: 1em 0;
	padding: 0 3px;
}
.commentlist li ul,
.commentlist li ol,
.commentlist li blockquote {
	margin: 0 20px;
}
.commentlist .children {
	margin: 0 0 0 40px;
}
.commentlist .children li {
	list-style: none;
}
#commentform .contain {
	margin: 0 0 10px 0 !important;
}
#commentform #author,
#commentform #email,
#commentform #url,
#commentform textarea {
	padding: 4px 3px;
	border: 1px solid #ccc;
	border-left-color: #bbb;
	border-bottom-color: #bbb;
	background: #fff;
	margin-right: 4px;
}
#commentform #author,
#commentform #email,
#commentform #url,
#commentform textarea {
	border: 1px solid #bbb;
	outline: none;
	padding: 4px 3px;
	width: 160px;
}
#commentform p label {
	margin: 4px 0 0 0;
}
#commentform textarea {
	float: none;
	width: 98%;
	overflow: auto;
}

/* =----------------------------------- boring footer */
#footer {
	border-top: 2px solid #3d5f30;
	margin: 35px 0;
}
#footer p {
	font-size:11px; 
	padding: 10px 3px 0; 
}

/* =----------------------------------- floats + clearing rule */
.floatleft,
.alignleft {
	float: left;
	margin: 3px 7px 0 0;
}
.floatright,
.alignright {
	float: right;
	margin: 3px 0 0 7px;
}
.right {
	float:right;
}
.left {
	float: left;
}
.clear {
	clear: both;
}
.fix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.fix {
	display: inline-block;
} 
* html .fix{
	height: 1%;
}
.fix{
	display:
	block;
}
.itemFloat{
	margin: 0px 8px 3px 0px;
	float: left;
}
