/*
Theme Name: Alberto Martinez
Theme URI: http://Alberto-Martinez.com
Description: Custom Theme by Alberto Martinez
Version: 2.0
Author: Alberto Martinez
Author URI: http://Alberto-Martinez.com
*/

/* Imports */
@import url("css/reset.css");
/* @import url("global-forms.css"); */

/***** Global *****/
/* Body */
	body {
		background: #dcdcf5;
		color: #000908;
		font-size: 87.5%; /* Base font size: 14px */
		font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
		line-height: 1.429;
		margin: 0;
		padding: 0;
		text-align: left;
		width: 100%;
		display: table;
	}

/* Headings */
h1 {font-size: 1.571em}	/* 22px */
h2 {font-size: 1.429em}	/* 20px */
h3 {font-size: 1.286em}	/* 18px */
h4 {font-size: 1.143em}	/* 16px */
h5 {font-size: 1em}	/* 14px */

h1, h2, h3, h4, h5 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}

/* Anchors */
a {outline: 0; margin: 0; padding: 0;}
a img {text-decoration: none; margin: 0; padding: 0; border: 2px solid #dcdcf5;}

a:hover img, a:active img {
	border-color: #F6CF74;
}

a:link, a:visited {
	color: #C74451;
	padding: 0;
	text-decoration: underline;
}
a:hover, a:active {
	background-color: #643d42;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
}

/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}

p img { margin: 0; padding: 0; border: 2px solid #dcdcf5; }
.alignright { float: right;  clear: left; margin: 0 0 0 10px; }
.alignleft { float: left; clear: right; margin: 0 10px 0 0; }
.aligncenter { display: block; margin: 0 auto; }


/* Lists */
ul {
	list-style: outside disc;
	margin: 1em 0 1.5em 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

/* Quotes */
blockquote {font-style: italic;}
cite {}

q {}

/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}

	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}

	tbody .alt td {}
	tbody .alt th {}

	/* Tfoot */
	tfoot th {}
	tfoot td {}
	
	
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto; width: 800px;}
img.right figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: right; margin: 0 0 2em 2em;}

.attachment-single-post-thumbnail {
	margin: 0 auto;
	border: 10px #403940 solid;
}
#container {
	width: 800px;
	margin: 0 auto;
}
/*
	Header
*****************/
#banner {
	z-index: 1;
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 0;
}

.no-cssgradients #banner {
	background: transparent url(images/header-grad.png) repeat-x;
}

.cssgradients #banner {
	background: #403940 -moz-linear-gradient(center top, rgb(0,9,8) 0%, rgb(64,57,64) 100%);
	background: #403940 -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(0,9,8)), color-stop(1, rgb(64,57,64)));
	box-shadow: #666 0 2px 2px;
   -moz-box-shadow: #666 0 2px 2px;
   -webkit-box-shadow: #666 0 2px 2px;
}

	/* Banner */
	#banner h1 {float: left; font-size: 3.571em; line-height: .6;}
	#banner h1 a {
		background: url(images/logo.png) top left no-repeat;
	}
	#banner h1 a:link, #banner h1 a:visited {
		color: #000908;
		display: block;
		margin: 0 0 -20px 0;
		text-decoration: none;
		width: 299px;
		text-indent: -9999px;
		height: 60px;
	}
	#banner h1 a:hover, #banner h1 a:active {
		color: #643d42;
		text-shadow: none;
	}
	
	#banner h1 strong {font-size: 0.36em; font-weight: normal;}
	
	/* Main Nav */
	#banner nav {
		float: right;
		font-size: 1.286em;
		height: 43px;
		line-height: 43px;
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}
	
	#banner nav ul {list-style: none; margin: 0 auto;}
	#banner nav li {float: left; display: inline; margin: 0;}
	
	#banner nav a:link, #banner nav a:visited {
		color: #fff;
		display: inline-block;
		height: 33px;
		padding: 5px 1.286em;
		text-decoration: none;
	}
	#banner nav a:hover, #banner nav a:active,
	#banner nav .active a:link, #banner nav .active a:visited {
		background: #643d42;
		color: #fff;
		text-shadow: none !important;
	}

/*
	Featured
*****************/
#featured {
	z-index: -1;
	overflow: hidden;
	width: 100%;
	padding: 0;
	height: 400px;
	color: #dcdcf5;
	border-bottom: 2px #f1e684 solid;
}

.no-cssgradients #featured {
	background: #643d42 url(images/featured-grad.png) repeat-x;
}

.cssgradients #featured {
	background: #643d42 -moz-linear-gradient(center top, rgb(0,9,8) 100%, rgb(100,61,66) 0%);
	background: #643d42 -webkit-gradient(linear, left top, left bottom, color-stop(1, rgb(0,9,8)), color-stop(0, rgb(100,61,66)));
}

#featured #featured-list {
	list-style-type: none;
	margin: 0 auto;
	width: 800px;
	height: 400px;
}

#featured article {
	margin: 50px 100px;
	width: 600px;
	height: 300px;
}

/*
.no-boxshadow #featured article {
	border-bottom: 2px solid #666;
	border-right: 1px solid #777;
	border-left: 1px solid #777;
}

.boxshadow #featured article {
	-moz-box-shadow: 0 2px 2px #666;
	-webkit-box-shadow: 0 2px 2px #666;
	box-shadow:  0 2px 2px #666;
}
*/

#featured figure {
	float: left;
	margin: 0 1em 0 0;
	padding: 0;
	width: 300px;
	height: 300px;
}
#featured figure img {display: block; margin: 0; padding: 0;}

#featured h2 {color: #C74451; font-size: 1.714em; margin: 0 0 0.333em 0;text-shadow: 2px 2px 2px #222;}
#featured h3 {font-size: 1.429em; margin: 0 0 .5em 0;}

#featured h3 a:link, #featured h3 a:visited {color: #f1e684; text-decoration: none;text-shadow: 2px 2px 2px #222;}
#featured h3 a:hover, #featured h3 a:active {color: #fff;}

/*
	Body
*****************/
#content {
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px 20px;
	width: 760px;
}

/*
	Contact Forms
****************/

	#contact-list {
		width: 300px;
		padding: 0 100px;
		float: left;
	}
	
	.contact #message {
		display: block;
		margin: 10px auto;
		padding: 5px;
		width: 290px;
		height: 200px;
		max-height: 200px;
		max-width: 290px;
		background: #ececff;
		border: none;
	}
	
	.contact #message:focus {
		border-color: #37bdf2;
	}
	
	.contact #email {
		display: block;
		margin: 0 auto 10px auto;
		padding: 0 5px;
		width: 290px;
		height: 20px;
		background: #ececff;
		border: none;
	}
	
	.contact #email:focus {
		border-color: #37bdf2;
	}
	
	.contact #recaptcha_image {
		display: block;
		width: 300px;
		max-width: 300px;
		margin: 0 auto;
		background: transparent;
	}
	
	.contact #recaptcha_image img {
		max-width: 288px;
		border: 6px solid #403940;
	}
	
	.contact #recaptcha_response_field {
	float: right;
		margin: 20px 0 0 0;
		padding: 2px 5px;
		width: 190px;
		height: 20px;
		background: #ececff;
		border: none;
	}
	
	.contact #recaptcha_response_field:focus {
		border-color: #37bdf2;
	}
	
	.contact #send {
		float: right;
		margin: 20px 0 0 0;
		background: none;
		border: none;
		color: #C74451;
		background: #403940;
		font-weight: bold;
		text-align: center;
		height: 22px;
		width: 100px;
		padding: 0;
	}
	
	.contact #send:hover {
		background: #643D42;
		cursor: pointer;
		cursor: hand;
	}
	
	.recaptcha_only_if_image {
		width: 280px;
		display: block;
		margin: 0 auto;
		background: transparent;
	}
	
	.recaptcha_only_if_audio {
		width: 280px;
		display: block;
		margin: 0 auto;
		background: transparent;
	}
	
	.recaptcha_only_if_incorrect_sol {
		width: 280px;
		display: block;
		margin: 0 auto;
		background: transparent;
	}
	
	.recaptcha_only_if_no_incorrect_sol {
		width: 280px;
		display: block;
		margin: 0 auto;
		background: transparent;
	}
	
	#section #info {
		float: right;
		font-size: 11px;
		line-height: 11px;
		width: 280px;
		display: block;
		margin: 20px auto 20px auto;
	}
/*
	Extras
*****************/
#extras {margin: 0 auto 3em auto; overflow: hidden;}

#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
#extras h2 {
	color: #643d42;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}

#extras a:link, #extras a:visited {
	color: #444;
	display: block;
	border-bottom: 1px solid #F4E3E3;
	text-decoration: none;
	padding: .3em .25em;
}

#extras li:last-child,
#extras li:last-child a {border: 0}

#extras .blogroll li:nth-last-child(2),
#extras .blogroll li:nth-last-child(3),
#extras .blogroll li:nth-last-child(2) a,
#extras .blogroll li:nth-last-child(3) a {border: 0;}

#extras a:hover, #extras a:active {color: #fff;}

	/* Blogroll */
	#extras .blogroll {
		float: left;
		width: 615px;
	}
	
	#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}
	
	/* Social */
	#extras .social {
		float: right;
		width: 175px;
	}
	
	#extras div[class='social'] a {
		background-repeat: no-repeat;
		background-position: 3px 6px;
		padding-left: 25px;
	}
	
		/* Icons */
		.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
		.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
		.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
		.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
		.social a[href*='/feed/'] {background-image: url('../images/icons/rss.png');}
		.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}

/*
	About
*****************/
#about {
	position: relative;
	background: #000908;
	color: #dcdcf5;
	font-style: normal;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px;
	text-align: left;
	width: 760px;
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: left; margin-left: 30px; width: 500px;}

#about #twitter {
	float: left;
	margin-left: 30px;
	margin-top: 20px;
}

#about a img {
	border: none;
}

#about a img:hover {
	border: none;
}

#about a:hover img {
	border: none;
}

/*
	Footer
*****************/
#contentinfo {padding-bottom: 2em; text-align: right;}

/***** Sections *****/
/* Blog */
.hentry {
	padding: 1em 0;
	width: 520px;
}

.hentry object {
	display: block;
	margin: 0 auto;
}

li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 0;}

.hentry header {
	position: relative;
	padding: 0;
	margin: 0;
	width: 500px;
	height: 200px;
	border: 10px #403940 solid;
}

.hentry header:hover {
	border-color: #643d42;
}

.hentry header a {
	margin: 0;
	padding: 0;
	text-decoration: none;
}

.hentry header a img {
	margin: 0;
	padding: 0;
	display: block;
	border: none;
}

.hentry header a:hover img {
	border: none;
}

.entry-title {
	position: absolute;
	bottom: 30px;
	left: 0;
	background: #403940;
	font-size: 1.571em;
	color: #F6CF74;
	text-shadow: 1px 1px 1px #111;
	padding: 0.6em;
	text-decoration: none;
}

.hentry header:hover .entry-title {
	background: #643d42;
}

.entry-content {
	padding: 1em;
	background: #ececff;
	border-left: 5px #403940 solid;
	border-right: 5px #403940 solid;
}

.hentry .post-info * {font-style: normal;}


.post {
	margin: 0;
	padding: 0;
	width: 520px;
}

.post .wp-post-image {
	display: block;
	position: relative;
	padding: 0;
	margin: 0 0 10px 0;
	width: 500px;
	height: 200px;
	border: 10px #403940 solid;
}

.post object {
	display: block;
	margin: 0 auto;
}

	/* Content */
	.hentry footer {margin-bottom: 2em;}
	.hentry footer address {display: inline;}
	#posts-list footer address {display: inline;}

	/* Blog Index */
	#posts-list {float: left;list-style: none; margin: 0; padding: 0;}
	/*#posts-list .hentry {padding-left: 200px; position: relative;}*/
	/*#posts-list .hentry:hover {
		background: #643d42;
		color: #fff;
	}
	#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
		color: #F6CF74;
		text-shadow: 1px 1px 1px #333;
	}*/
	
	#posts-list .hentry {
		padding: 0;
		margin: 0;
	}
	
	#posts-list footer {
		padding: 10px;
		width: 500px;
		background: #403940;
		color: #fff;
	}
	
	#posts-list footer a {
		color: #f1e684;
	}
	
	/* About the Author */
	#about-author {
		background: #f9f9f9;
		clear: both;
		font-style: normal;
		margin: 2em 0;
		padding: 10px 20px 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
	#about-author strong {
		color: #C64350;
		clear: both;
		display: block;
		font-size: 1.429em;
	}
	
	#about-author .photo {float: left; margin: 5px 0 0 0;}
	
	/*sidebar*/
	#sidebar-list {
		list-style: none;
		width: 220px;
		float: right;
		padding: 0;
		margin: 0;
	}
	
	#sidebar-list li h2 {
		background: #403940;
		color: #dcdcf5;
		margin: 0;
		padding: 0.3em;
		border: 1px solid #eee;
	}
	
	#sidebar-list li ul {
		list-style: none;
		margin: 0 0 1em 0;
		padding: 0.3em;
		border: 1px solid #eee;
		border-top: none;
		background: #ececff;
	}
	
	/* Comments */
	#comments-list {list-style: none; margin: 0 1em;}
	#comments-list blockquote {
		background: #f8f8f8;
		clear: both;
		font-style: normal;
		margin: 0;
		padding: 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
	
	#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
	
	/* Add a Comment */
	#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
	#add-comment input[type='text'],
	#add-comment input[type='email'],
	#add-comment input[type='url'] {float: left; width: 200px;}
	
	#add-comment textarea {float: left; height: 150px; width: 495px;}
	
	#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
	
	#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
	#add-comment * {margin-bottom: .5em;}

