/*  
Theme Name: James
Theme URI: http://www.jamesyu.org/
Description: James blog theme
Version: 1.6
Author: James
Author URI: http://www.jamesyu.org/

*/



/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Helvetica, Arial, Sans-Serif;
	background: url('images/slice.gif') repeat-x top left;
	color: black;
	text-align: center;
	}

#header {
	margin: 0 auto 0 auto; 
	padding: 0; 
	width: 800px;
	text-align: left;
}

#headerimg a img	{ 
	border: 0;
}
	
#headerimg a:hover {
  background: none;
} 


#wrapper {
	width: 800px;
	margin: 0 auto 0 auto;
}

/* Begin Sidebar */
#sidebar
{
	padding: 0;
	width: 200px;
	float: right;
	text-align: left;
	font-size: 15px;
	overflow: hidden;
	color: #444;
}

#sidebar form {
	margin: 0;
}

#sidebar #colophon {
	padding-top: 15px;
	padding-bottom: 3px;
	border-bottom: 3px double #ddd;
	border-top: 3px double #ddd;
	margin-bottom: 15px;
}
#sidebar #colophon p {
	font-size: 12px;
	line-height: 1.4em;
}

#sidebar a {
      background: #eee;
      color: #666;
      text-decoration: underline;
}

#sidebar a:hover {
	background: #cfcfcf;
}


/* End Sidebar */


#content {
	width: 550px;
	margin: 25px auto 0 0;
	text-align: left;
}

#content .title {
  	padding: 0;
	margin: 0 0 10px 0;
	text-align: left;
	clear: left;
}
	
	#content .title a {
		font-size: 24px;
		color: black;
	}
	
	#content .title a:hover {
		background: none;
	}
	
	#content .title .date {
		margin-left: 12px;
		font-size: 18px;
		color: #999;
	}

#content .entry {
    /*clear: both;*/
	font-size: 14px;
	line-height: 1.6em;
	margin: 0 0 25px 0;
}

.picture {
	text-align: center;
	color: #666;
}

.picture img {
	margin: 0 auto 0 auto;
}

.picture p {
	margin-bottom: 2px;
}

.picture .caption {
	text-align: left;
	font-size: 11px;
}

.postmetadatafront {
  	/*clear: both;*/
	text-align: right;
	font-size: 12px;
}

.postmetadata {
	clear: left;
	text-align: left;
	font-size: 12px;
	border: solid #eee;
	border-width: 6px 0 6px 0;
	padding: 5px;
}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	background: url('images/grass.png') no-repeat bottom right; 
	border: none;
	height: 257px;
	width: 650px;
	clear: both;
	margin: 20px auto 20px auto;
	padding: 0;
	}
	
#footer ul {

	width: 550px;
	margin: 0;
	}
	
#footer ul li {
  display: inline;
	padding: 0 10px 0 10px;
	font-size: 14px;
	margin: 0;
}

#footer ul li a {
	color: #555;
}

#footer ul li a:hover {
  color: white;
	background: #777;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}
.small {
	font-size: 11px;
}

h1, h2, h3 {
	font-family: Helvetica, Arial, Sans-Serif;
	font-weight: normal;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

h2 {
	font-size: 1.6em;
	}

.pagetitle {
	font-size: 24px;
	color: #777;
	margin: 15px 0 25px 0;
	}

#sidebar h2 {
	font-size: 1.2em;
	}
	
#sidebar h4 a {
	background: none;
	text-decoration: none;
}

#sidebar h4 a:hover {
	background: none;
}

h3 {
	font-size: 14px;
	}

h4 {
	font-size: 16px;
}

h4 a {
	background: none;
	font-weight: normal;
}
	
#comments {
	text-align: left;
	color: #444;
}

#commentform {
	text-align: left;
}

.commentlist li, #commentform input, #commentform textarea {
	font: Helvetica, Arial, Sans-Serif;
	font-size: 14px;
	}

.commentlist li {
	font-weight: bold;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	margin: 5px 0 5px 0;
	}

.commentmetadata {
	font-weight: normal;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

h2 a:hover, h3 a:hover {
	color: white;
	text-decoration: none;
	background: #006B00;
	}
	
a, a:visited {
	color: #006B00;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}



#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 0px 0;
	padding: 0; 
}

.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
}

.post {
	margin: 25px 0 40px 0;
	/*clear: both;*/
	text-align: left;
	padding: 0;
}

.entry a {
      background: #E5FFE7;
      text-decoration: underline;
}

.entry a:hover {
	background: #C3EEC5;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	}

h2.pagetitle {
	text-align: left;
}

h2.archives {
  text-align: left;
}

h2.title {
  font-size: 20px;
	color: #777;
}

ul.archives {
  list-style: none;
	text-align: left;
	font-size: 12px;
}


#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0 0;
	}

/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	margin-bottom: 15px;
}

.alignleft {
	float: left;
	margin-bottom: 15px;
}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#s {
	width: 95px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	width: 150px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0 0 25px 0;
	float: right;
}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	margin: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px 0;
	padding: 15px 15px 0 15px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0px;
	text-align: left;
	}
	
#respond {
	text-align: left;
}
	

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */






/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

.leftpic {
  float: left;
  margin: 15px;
}

.rightpic {
  float: right;
  margin: 15px;
  text-align:center;
}

a img {
  border: none;
}

.navigation {

	text-align: left;
	margin-top: 10px;
	margin-bottom: 25px;
	/*clear: both;*/
	font-size: 14px;
	}
/* End Various Tags & Classes*/


#twitter_update_list {
	margin-top: 10px !important;
	padding: 0;
	font-size: 12px;
	line-height: 1.4em;
}


/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
