/*
Theme Name: Phil Chen
Author: Julia Holland / Blue Penguin Consulting
Author URI: http://bluepenguinconsulting.com/
*/

/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td {
	vertical-align: top;
}

/* Begin Typography & Colors */

body {
	font-size: 13px; 
	color: #2D2D2D; 
	line-height: 18px; 
	font-family: Arial, Helvetica, sans-serif;
	background: #666;
}

p {
	margin: 0 0 10px 0;
}

a {
	color: #5D8F2B; text-decoration: none;
}

#top-content, #top-content a, #sidebar a, #sidebar, #footer a {
	color: #fff;
}
a span.grey {
	color: #ccc;
}
h1 { 
	font-weight: normal;
	font-size: 26px;
	margin: 0 0 10px 0;
	line-height: 26px;
}

h2 {
	font-weight: normal;
	font-size: 22px;
	margin: 0 0 10px 0;
	line-height: 20px;
	color:#EC7529;
	padding-top: 10px;
}

h3 { 
	font-weight: normal;
	font-size: 15px;
	margin: 0 0 10px 0;
	line-height: 17px;
	padding-top: 10px;
	color: #EC7529;
}

h4 {
	color: #FFF; 
	font-weight: bold;
	font-size: 13px;
	margin: 0 0 10px 0;
}
#sidebar h2 {
	color: #99CC00;
	font-size: 13px;
	text-transform: uppercase;
}
.postmetadata {
	padding-top: 5px;
}
.postmetacomments {
	float:right;
	padding: 5px 0 0 20px;
	background: url(images/comment.png) 0 5px no-repeat;
}


.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

.required {
	color:#990000;
	font-weight:bold;
}
.post-date, .post-comments, .postmetadata {
	text-transform: uppercase;
	color: #999999;
	font-size: 11px;
}
#home .post-date, #home .post-comments, #home .postmetadata {
	color: #ccc;
}
.post-comments a {
	background: url(images/comment.png) left center no-repeat;
	padding: 0 0 0 20px;
}
small {
	font-size: 11px;
}

.grey {
	color: #2D2D2D;
}
.commentlist li, #commentform input, #commentform textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 13px;
}

.commentlist li ul li {
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 11px;
	}

.commentlist p {
	font-weight: normal;
	text-transform: none;
}

.commentmetadata {
	font-weight: normal;
	}

code {
	font-family:'Courier New', Courier, Fixed;
}

acronym, abbr, span.caps
{
	font-size: 9px;
	letter-spacing: .7px;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 10px;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 13px 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

/* End Typography & Colors */



/* Begin Structure */

#header {
	position: relative;
	background: #2D2D2D;
	height: 70px;
	border-bottom: 3px solid #666;
}
#top-content {
	background: #999;
	border-bottom: 3px solid #666;
}
#content {
	background: #fff;
	padding-top: 20px;
}
#main-content {
	background: #fff;
	width: 655px;
	float:left;
	padding: 0 25px 15px 0;
}
#sidebar {
	float:left;
	width: 250px;
}

#sidebar-top {
	background: #2D2D2D;
	width: 220px;
	padding: 15px;
	margin: 20px 0 40px 0;
}
#home #sidebar-top {
	background: #2D2D2D;
	position:relative;
	width: 220px;
	padding: 15px;
	top: -40px;
	margin:0;
}

#sidebar-bottom {
	background: #0099CC;
	width: 220px;
	padding: 15px 15px 0 15px;
	margin-bottom: 40px;
}
.container {
	width: 930px; 
	margin: 0px auto;
	position: relative;
}

.logo {
	position: absolute;
	left:0;
	top: 32px;
}
.featured-data {
	float:left;
	width: 70px;
	padding-top: 25px;
}
.asides-data {
	float:left;
	width: 70px;
}
.featured-content {
	float:left;
	width: 580px;
	padding-top: 15px;
}
.asides-content {
	float:left;
	width: 555px;
	padding-bottom: 30px;
}
.author-info {
	float:left;
	width: 230px;
	padding: 30px 0 0 50px;
	font-size: 12px;
}
.asides {
	padding: 10px 0 0 0;
	clear:both;
}
#footer {
	border-top: 3px solid #2D2D2D;
}
#footercolleft {
	float: left;
	width: 290px;
	overflow: hidden;
	padding: 0 30px 30px 0;
	margin-top: 15px;
}
	
#footercolmiddle {
	float: left;
	width: 290px;
	overflow: hidden;
	padding: 0 30px 30px 0;
	margin-top: 15px;
}
	
#footercolright {
	float: left;
	width: 290px;
	overflow: hidden;
	margin-top: 15px;
	padding-bottom: 30px;
}

.post {
	margin: 0 0 40px;
}

.post hr {
	border:none;
	height:1px;
	border-top: 1px solid #C3C8CE;
	clear:both;
}

.postmetadata {
	padding-top: 5px;
	}

.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	text-align: center;
	margin: 5px 0px;
}

.clear, .clearer {
	clear: both;
}


/* End Structure */

/* Twitter */

.aktt_tweets {
	width: 600px;
	padding: 12px 15px;
	border: 1px dotted #ccc;
	margin: 20px 0 15px 0;
}
.aktt_tweets ul {
	list-style:none;
}
.aktt_tweets ul li {
	padding: 3px 0;
}

/* Main Nav */

#main-nav {
	margin:42px 0 0 0;
	padding:0;
	list-style:none;
	position:absolute;
	right:0;
}

#main-nav li {
	float:left;
	overflow: hidden;
}

#main-nav li a {
	display:block;
	text-transform: uppercase;
	color: #fff;
	font-weight:bold;
	height: 24px;
	line-height:24px;
	text-indent:-9999px;
}
#main-nav li#blog a {
	background: url(images/nav-blog.gif) no-repeat;
	width:64px;
}
#main-nav li#about a {
	background: url(images/nav-about.gif) no-repeat;
	width:76px;
}
#main-nav li#projects a {
	background: url(images/nav-projects.gif) no-repeat;
	width:91px;
}
#main-nav li#photos a {
	background: url(images/nav-photos.gif) no-repeat;
	width:82px;
}
#main-nav li#vid a {
	background: url(images/nav-videos.gif) no-repeat;
	width:78px;
}
#main-nav li#contact a {
	background: url(images/nav-contact.gif) no-repeat;
	width:90px;
}
#main-nav li#blog a:hover, #main-nav li#blog a.active, #main-nav li#about a:hover, #main-nav li#about a.active, #main-nav li#projects a:hover, #main-nav li#projects a.active, #main-nav li#photos a:hover, #main-nav li#photos a.active, #main-nav li#vid a:hover, #main-nav li#vid a.active, #main-nav li#contact a:hover, #main-nav li#contact a.active {
	background-position: 0 -24px;
}

/* 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;
	}
img.phil {
	border: 2px solid #fff;
	float:left;
	margin: 0 10px 0 0;
}
.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists */

.entry ol, .entry ul {
	padding: 0 0 10px 35px;
	margin: 0;
	}
	
.entry ol ul, .entry ul ul {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li, .entry ul li {
	margin: 0;
	padding: 0 0 3px 0;
}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol{
	margin: 0;
	padding: 0 0 10px 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}
#sidebar #sidebar-bottom ul li {
	margin-bottom: 10px;
}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 10px 0 0 0;
	}

#sidebar ul ul ul {
	margin: 0 0 0 10px;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 3px 0;
	padding: 0;
}

#footer li {
	border-bottom: 1px dotted #ccc;
}
#footer ul a {
	display:block;
	padding: 5px 0 5px 5px;
	text-decoration: none;
}
#footer ul a:hover {
	background: #444;
}
ul#flickr-feed  {margin:0; padding:0;}
ul#flickr-feed li { float:left; margin: 5px 5px 5px 0; border: 3px solid #ddd; padding:0;list-style-type: none;
	list-style-image: none;}
ul#flickr-feed li a {display:block;}
/* End Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	}

#sidebar #searchform #s {
	width: 140px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.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 {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
#contactform input, #contactform textarea, #contactform select {
	display:block;
	margin:2px 0 10px 0;
	padding:2px;
}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li.comment-author-phil {
	background: #ccc;
	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.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 15px 10px;
	padding-left: 20px;
	border-left: 3px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 12px;
	}
#sidebar a.twitter-side {
	background:url(images/twitter.png) no-repeat left center;
	padding:5px 0 5px 25px;
}
#sidebar a.rss-side {
	background:url(images/rss.png) no-repeat left center;
	padding:5px 0 5px 25px;
}
#sidebar a.linkedin-side {
	background:url(images/linkedin.png) no-repeat left center;
	padding:5px 0 5px 25px;
}
.gbSystemLinks {
	display: none;
}

.gallery-album {
	height:auto !important;
	text-align: center !important;
}
.gallery-thumb {
	height: auto !important;
	margin-left: 40px !important;
}
.gallery-items .gallery-thumb {
	float:left;
	margin-left: 0 !important;
	width: 260px;
}

/* End Various Tags & Classes*/


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* sIFR */

/* These are standard sIFR styles... do not modify */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important;
}

/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */

/*.sIFR-hasFlash #main-nav a {
	visibility: hidden;
	height: 20px;
	line-height: 20px;
	margin: 0;
}*/

.sIFR-hasFlash #sidebar #sidebar-top h2.widgettitle {
	visibility: hidden;
	height: 8px;
	line-height: 8px;
	margin-bottom:20px;
}

.sIFR-hasFlash h3.sifr {
	visibility: hidden;
	height: 12px;
	line-height: 12px;
}

.sIFR-hasFlash h4.sifr {
	visibility: hidden;
	height: 18px;
	line-height: 18px;
}