/*   
Theme Name: Daniel15
Theme URI: http://dan.cx/
Description: Theme for Dan.cx
Author: Daniel Lo Nigro <daniel at d15 dot biz>
Author URI: http://dan.cx/
Version: 4 revision 2
*/

/*
	Only WordPress-specific stuff is in here. The bulk of the layout is in the 
	/res/style.css file.
*/


/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}
	

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}
	
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}
	
.comment,
.alt
{
	border: 1px solid #B3C0FF;
}
	
.odd,
.alt
{
	background-color: #f2f6fb;
}

.even {
    background-color: white;
}



.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */

/* 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;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	/*text-align: center;*/
	/*margin-top: 10px;
	margin-bottom: 60px;*/
	margin-bottom: 5px;
	}
/* End Various Tags & Classes*/

/* Begin Images */
p img {
	max-width: 100%;
	/*border: 1px solid #999;*/
	padding: 1px;
}

/*	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;
	float: right;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	float: left
	}

/*.alignright {
	float: right;
	}

.alignleft {
	float: left
	}*/
/* End Images */



textarea#comment
{
	width: 100%;
}

/* Syntax highlighting */
.wp_syntax {
  color: #100;
  background-color: #f2f6fb;/*#f9f9f9;*/
  border: 1px solid #B3C0FF; /*silver;*/
  margin: 0 0 1.5em 0;
  overflow: auto;
}

/* IE FIX */
.wp_syntax {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
  width: 100%;
}

.wp_syntax table {
  border-collapse: collapse;
}

.wp_syntax div, .wp_syntax td {
  vertical-align: top;
  padding: 2px 4px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  color: gray;
  overflow: visible;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
}

/* AddThis button */
div.addthis_container
{
	float: left;
	padding-right: 1em;
	/* Line up with Facebook "Like" button */
	line-height: 35px;
}

p.postmetadata
{
	clear: left;
}

/* Microblog stuff */
/* Hide some stuff for microblogs */
div.category-microblog h2,
div.category-microblog span.category,
div.category-microblog iframe,
div.category-microblog div.addthis_container
{
	display: none;
}

div.category-microblog
{
	border-top: 1px solid #B3C0FF;
}

div#content div:first-child
{
	border-top: 0;
}

/* Microblog widget */
li.widget_daniel15microblog li
{
	border-bottom: 1px solid #D2E8F7;
	font-size: 0.8em;
	margin-bottom: 0.2em;
}

li.widget_daniel15microblog li p
{
	margin: 0;
}

li.widget_daniel15microblog li span
{
	color: #888;
	display: block;
	overflow: hidden;
	/* Hide these by default - They slide in via JS */
	height: 0px;
	-webkit-transition: 400ms ease;
	-o-transition: 400ms ease;
	-moz-transition: 400ms ease;
	transition: 400ms ease;
}

li.widget_daniel15microblog li:hover span
{
	height: 1.6em;
}

div#sidebar li.widget_daniel15microblog li a
{
	display: inline;
	border: 0;
	padding: 0;
	margin: 0;
}

img.has-image
{
	float: left;
	margin-right: 0.2em;
}