/*  
Theme Name: BMv1
Theme URI: http://berardomate.com
Description: Wordpress theme for my personal blog.
Version: 1.0
Author: Berardo Mate'
Author URI: http://berardomate.com/

*/
/* -------------------------------------------------------------- 
   RESET
-------------------------------------------------------------- */

html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-height: 1; font-family: inherit; text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
ol, ul { list-style: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; }

/* -------------------------------------------------------------- 
   Typo
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { 
	font-weight: bold; 
	color: #333; 
}

h1 { 
	font-size: 2.2em;
	letter-spacing: -1px;
	padding: 0 0 .23em;
}

h2 { 
	font-size: 2em; 
	line-height: 1.125; 
	padding: 0 0 .28125em;
}

h3 { 
	font-size: 1.3em;
	line-height: 1.5;
}

h4 { 
	font-size: 1.2em;
	line-height: 1.28em;
	text-transform: uppercase;
	font-weight: normal;
}

h4 span { 
	font-weight: bold;
}

h5 {
	font-size: 1.2em;
	line-height: 1.5;
}

p { 
	font-size: 1.2em; 
	line-height: 1.5;
}

em { 
	font-weight: inherit; 
	font-style: italic; 
	color: #777;
}

strong { 
	font-style: inherit; 
	font-weight: bold;
}	

ul, ol { margin: 0 0 1.8em; }
ol { list-style: decimal; padding: 0 3em; }
li { font-size: 1.2em; line-height: 1.8; color: #666; }

blockquote { display: block; font-size: 1em; border-left: .2em solid #ddd; margin: 0 0 1.8em 3.6em; padding: 0 3.6em 0 1.3em; }
blockquote p { padding: 0; color: #777; font-style: italic; }

a { color: #FA8F28; font-weight: bold; }
a:hover { color: #f60; text-decoration: none; }


/* -------------------------------------------------------------- 
   Layout
-------------------------------------------------------------- */
body { 
	background: #fff url(images/bg.png) 0 0 repeat-x; 
	font: 62.5%/1 "Helvetica Neue", Helvetica, Arial, sans-serif; 
	text-shadow: 0 .1em .1em #fff; 
	color: #555; 
}

.container { 
	width: 88em; 
	margin: 0 auto;
}

#header { 
	position: relative; 
	width: 88em; 
	overflow: hidden; 
	height: 17.8em; 
	margin: 1.5em auto;
}

#main { 
	padding: 4.5em 0 0; 
	width: 64em; 
	float: left; 
	display: inline; 
}

#sidebar { 
	float: right; 
	width: 21em; 
	display: inline; 
	margin: 0 0 0 3em; 
	padding: 4.7em 0;
}

#footer { 
	margin: 1em 0 0; 
	padding: 5.5em 0 7em;
	background: #fff url(images/bg_footer.png) 0 0 repeat-x;
}


/* -------------------------------------------------------------- 
   Header
-------------------------------------------------------------- */
#logo {
	margin-top: 60px;
}


/* -------------------------------------------------------------- 
   Content
-------------------------------------------------------------- */
.section, #comments li div { 
	margin: 0 0 1.5em 15em;
}

.entry { 
	margin: 0 0 2.5em; 
	padding: 1em 0 0;
	border-top: 1px solid #eee;
	position: relative;
}


h1 a {
	color: #111; 
	text-decoration: none;
}

.section h2 { 
	color: #777; 
	font-size: 1.6em; 
	font-weight: normal; 
	line-height: 1.5; 
	margin: 0 0 0;
}

h4.pagetitle { 
	margin: 0 0 2.5em;
	background: url(images/bg_pagetitle.gif) no-repeat 0 -.18em;
}

.date { 
	float: left; 
	width: 12em;
	color: #9c9c9c;
	font-weight: bold;
	padding: .5em 0;
}

.entry .permalink {
	position: absolute; 
	top: 12px; 
	left: 120px; 
	width: 30px;
}

.entry .permalink a { 
	display: block; 
	height: 0; 
	padding-top: 18px; 
	overflow: hidden;
	background: #fff;
}

.entry .permalink a:hover { 
	background-position: 0 -18px; 
}

.twitter .permalink a {
	background: url(images/ico_twitter.gif) no-repeat 0 0;
}

.foto .permalink a {
	background: url(images/ico_photo.gif) no-repeat 0 0;
}

.links .permalink a {
	background: url(images/ico_links.gif) no-repeat 0 0;
}

.blog .permalink a {
	background: url(images/ico_blog.gif) no-repeat 0 0;
}

.article { 
	float: right;
	width: 49em;
}

.article p { 
	margin: 0 0 1.25em;
}

.twitter .article h1 { 
	font-weight: normal;
	color: #444;
	font-size: 1.8em;
	letter-spacing: 0;
}

.twitter small { 
	font-size: 1em;
	font-weight: bold;
	color: #999;
}

.entry .commentcount { 
	position: absolute; 
	top: 5px; 
	left: 110px; 
	background: url(images/bg_commentcount.png) no-repeat 0 0;
	text-align: center;
	width: 18px;
	height: 18px;
	padding: 2px 1px 0 0;
}

.entry .commentcount a { 
 	color: #fff;
	text-shadow: 0 .1em .1em #860000;
	font-size: 1em;
	text-decoration: none;
 }

.pagination { 
	position: relative; 
	height: 44px; 
}

.pagination a { 
	position: absolute; 
	width: 44px; 
	height: 0;
	display: block; 
	padding-top: 44px; 
	overflow: hidden; 
}

.pagination .older a { 
	top: 0; 
	left: 0; 
	background: url(images/ico_larr.gif) no-repeat; 
}

.pagination .newer a { 
	top: 0; 
	right: 0; 
	background: url(images/ico_rarr.gif) no-repeat; 
}

.pagination a:hover { 
	background-position: 0 -44px; 
}

pre {
	font-family: "Monaco", "Consolas", "Courier New", Courier, mono;
	font-size: 10px;
	line-height: 1.4em;
	margin: 18px 0 18px 0;
	padding: 10px;
	overflow: auto;
	background: #eee;
	overflow-y: hidden;
	padding-bottom: expression(this.scrollWidth > this.offsetWidth ? '15px' : 'none');
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.entry pre code {
	padding: 0;
	background: none;
}

code {
	padding: 2px;
	color: #555;
	background: #bbb;
}


/* -------------------------------------------------------------- 
   Images
-------------------------------------------------------------- */
img.figure, div.figure { 
	margin: 1em 0; 
	display: block; 
	border: .1em solid #eee; 
	padding: .4em;
}

.article .photo { 
	width: 480px; 
	height: 280px;
}


	
/* -------------------------------------------------------------- 
   Sidebar
-------------------------------------------------------------- */
.module {
	width: 100%;
	margin: 0 0 1.5em 0;
	border-bottom: .1em solid #eee;
}

.module p, .module li {
	font-size: 1.1em;
}

.module p {
	margin: 0 0 1.64em;
}


.module li { 
	margin: 0;
	padding: 0 0 0 1.5em; 
	background: url(images/bul.gif) no-repeat 0 .42em;
}

.module a  {
	margin-bottom: 1px;
	border-bottom: 1px dotted #ccc;
	color: #3f3f3f;
	text-decoration: none;
}

.module a:hover {
	border-bottom: 1px solid #dda;
	background-color: #ffd;
	color: #111;
}

.module h4, .comments h4, .pagetitle {
	padding: 0 0 .42em 1.67em;
}


#about h4 {
	background: url(images/bg_about.gif) no-repeat 0 0;
}

#log h4 {
	background: url(images/bg_log.gif) no-repeat 0 0;
}

#rss h4 {
	background: url(images/bg_rss.gif) no-repeat 0 0;
}

#archive h4 {
	background: url(images/bg_archive.gif) no-repeat 0 0;
}

#music h4 {
	background: url(images/bg_music.gif) no-repeat 0 0;
}


#rss li { 
	background: url(images/ico_mini_feed.gif) no-repeat 0 .33em;
}

#rss li#all { 
	background: url(images/ico_mini_feed2.gif) no-repeat 0 .33em;
}

#music li { 
	background: url(images/ico_mini_music.gif) no-repeat 0 .33em;
	line-height: 1.36em;
}

#music li .trackalbum { 
	display: block;
	margin: 0 0 .45em;
}

.hcard { 
	padding: .27em 0 .45em 2.55em; 
	background: url(images/hcard-add.gif) no-repeat 0 2px; 
	display: block;
	margin: .45em 0;
}


/* -------------------------------------------------------------- 
   Comments
-------------------------------------------------------------- */
.comments ol { 
	margin: 1.8em 0; 
	padding: 0; 
	list-style: none; 
}

.comments li { 
	font-size: 1em; 
	line-height: 1; 
	padding: 1.8em 0 3.6em;
	border-top: 1px solid #eee;
}

h4#comments {
	background: url(images/bg_comments.gif) no-repeat 0 0;
}

h4#respond {
	background: url(images/bg_post.gif) no-repeat 0 0;
}

.comments li img.avatar { 
	display: block; 
	float: left; 
	margin: 0 .9em 0 0; 
/*	margin: .3em 0 1em 1em;*/
	padding: .4em;
	border: 1px solid #eee;
	background: #fff;
}

.comments li h3 { 
	padding: 0 0 .6em; 
}

.comments li h3 small { 
	font-size: .71em;
	display: block;
	width: 17.86em;
	float: right;
	text-align: right;
	font-weight: bold;
	color: #9c9c9c;
	padding: .36em 0 0;
}

.comments li h3, .comments li h3 a { 
	color: #111;
}

.comments textarea { 
	width: 25em;
	border: 1px solid #ddd; 
	font: 1.2em "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.comments .row {
	float: left;
	color: #444;
	width: 64em;
	margin: 1.5em 0 1em;
	padding: 0 0 0 0;
}

.comments label {
	float: left;
	color: #444;
	width: 12em;
	padding: .6em 0 0 0;
	font-weight: bold;
	font-size: 1.1em;
}

.comments .input {
	float: right;
	width: 49em;
}

.input input.txt {
	width: 25em;
	padding: .33em;
	font: 1.2em "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #444;
	border: 1px solid #ddd;
}

.push { 
	margin: 0 0 0 12.5em;
}


/* -------------------------------------------------------------- 
   Footer
-------------------------------------------------------------- */
#footer p {
	color: #777; 
	text-shadow: 0 .1em .1em #eee;
	font-size: 1.1em;
}

#footer a, div#footer a:visited {
	color: #222; 
	font-weight: normal; 
	text-decoration: none;
}

#footer a:hover { 
	color: #ccc;
	text-decoration: underline;
}

#footer .left {
	float: left;
	width: 25em;
}

#footer .right {
	float: right;
	width: 45em;
}

#footer .right p {
	text-align: right;
	position: relative;
}

#footer .right a.top { 
	position: absolute; 
	width: 35px; 
	height: 0;
	display: block; 
	padding-top: 35px; 
	overflow: hidden; 
	top: 0; 
	right: 0; 
	background: url(images/ico_tarr.gif) no-repeat;
}

#footer .right a.top:hover { 
	background-position: 0 -35px; 
}


/* -------------------------------------------------------------- 
   Misc & Plugin
-------------------------------------------------------------- */
.clear { clear: both;  }

.entry:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

