/*
Theme Name: Ipertesti

Description: Ispirato da HTML5 e dalla copertina di Blackjack di Donald Byrd.
Version: 3.0
Author: Paolo Sordi
Author URI: http://www.ipertesti.it/
Tags: two-columns, fixed-width, microformats

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

@import url("css/reset.css");
@import url("css/960.css");


/* Typography 

Based on Richard Rutter article 'Compose to a Vertical Rhythm': http://24ways.org/2006/compose-to-a-vertical-rhythm
--------------
*/
body {
	font:16px/1.5 Georgia, "Times New Roman", Times, serif;
	}
hr {
	border: 0 #bbb dotted;
	border-top-width: 1px;
	clear: both;
	height: 0
	}
h1 {
	font-size: 1.5em;
	line-height: 1em;
	margin: 1em 0;
}
h2 {
	font-size: 1.25em;
	line-height: 1.2em;	
	margin: 1.2em 0;
	}
h3 {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.5em 0;
	}
h4 {
	font-size: 0.875em;
	line-height: 1.714286em;
	margin: 1.714286em 0;
	}
h5, h6 {
	font-size: 0.75em;
	line-height: 2em;
	margin: 2em 0;
}
h1,h2,h3,h4,h5, h6 {
	text-transform: uppercase;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	letter-spacing: -1px;
	text-shadow: #fff 1px 1px;
}
p, ul, ol, dl  {
	font-size: 1em;
	margin: 1.5em 0;
	}	

/* Layout 
---------------------*/

body {
	background: #333;
}
#wrap {
	position: relative;
	overflow: hidden;
	width: 1120px;
	margin: 0 auto;
}
.container_12 {
	background: #fff;
}

/* Header 
---------------------*/

header {
	float: left;
	height: 220px;
	opacity: 0.95;
	color: white;
	position: relative;
	z-index: 1;
}
hgroup {
	float: left;
	background: #194673;
	position: fixed;
	opacity: 0.98;
}
hgroup:hover {
	opacity: 1;
}
header h1 {
	margin: 0;
	overflow: hidden;
	font-size: 2.5em;
	text-shadow: none;
	word-spacing: -0.2em
}
header h1 span {
	font-size: 0.25em;
	letter-spacing: 0;
	text-transform: lowercase;
	line-height: 1em;
	opacity: 0.25;
}
header h2 {
	text-shadow: #333 1px 1px;
	text-transform: none;
	font-size: 80%;
	font-weight: normal;
	letter-spacing: 0;
}
header a {
	color: #ffeccc;
}

#tagline {
	position: absolute;
	z-index: 10;
	right: 10px;
	top: 2em;
	height: 179px;
	background: url(images/ps.png) right 9px no-repeat;
}
#tagline span {
	position: relative;
	left: 80px;
	width: 300px;
	display: block;
	text-align: center;
	margin: 0;
	padding: 0.25em;
	background: #194673;
	opacity: 0.95;
	-webkit-box-shadow: 1px 0px 10px #111;
	-moz-box-shadow: 1px 0px 10px #111;
	-webkit-transform: rotate(20deg); 
	-moz-transform: rotate(20deg);
}

/* Primary Navigation 
---------------------*/

#nav-primary h2, #nav-primary label {
	display: none;
}
#nav-primary {
	font-size: 80%;
	position: fixed;
	top: 3.25em;
	margin-left: 10px;
}
#nav-primary .grid_12 {
	width: 960px;
}
#nav-primary ul {
	margin: 0;
	padding: 0;
	overflow: auto;
	opacity: 0.95;
}
#nav-primary ul:hover {
	opacity: 0.98;
}
#nav-primary li {
	float: left;
	text-transform: uppercase;
	margin-right: 1px;
}
#nav-primary a {
	display: block;
	padding: 0.5em 10px;
	opacity: 1;
	text-shadow: #111 1px 1px 1px;
	font-weight: normal;
	color: #fec;
	background: #194673;
}
#home #nav-primary .nav-home a, #nav-primary .current_page_item a {
	color: #999;
	font-weight: bold;
	opacity: 0.75;
}
#nav-primary a:hover {
	color: white;
}
	.nav-rss {
		text-indent: -9999px;
		font-size: 1em;
		width: 20px;
		}
		#nav-primary .nav-rss a {
		width: 20px;
		display: block;
		background: #194673 url(images/feed-icon.png) 50% 50% no-repeat;
	}
	.nav-search {
		position: relative;
		left: 2.5em;
		font-size: 1em;
		}
	.nav-search input {
		font-size: 1em;
		color: #888;
		margin-top: 0.4em;
		border: 1px solid #fec;
		padding: 2px 2px 2px 20px;
		background: #fff url(images/lens.png) 2px 50% no-repeat;
		}
	.nav-search input:focus {
		border-color: #194673;
		}
		
a.skip-nav {
	display: none;
}

/* Content 
---------------------*/
#content  {
	padding-top: 210px;
	background: white url(images/bg-header.png) 10px 20px no-repeat;
	float: left;
	}

/* Pages, Entries 
---------------------*/
article h1 {
	margin-bottom: 0.5em;
	}
	.single-184 article.cat-184 {
			min-height: 240px;
		}
	article.cat-184 h1 {
		text-transform: none;
		font-size: 1em;
		margin-top: 1.5em;
		opacity: 0.75;
		}
h1.page-title {
	margin-left: 10px;
	margin-bottom: 0;
	}
.hentry ul, .hentry ol  {
	margin: 0;
	list-style: inside;
	}
.hentry li  {
	text-indent: 1.5em;
	}
.hentry ul  {
	list-style-type: none;
	}
.hentry ol  {
	list-style-type: decimal;
	}
.entry-content p  {
	margin: 0;
	}

.entry-content p+p  {
	text-indent: 1.5em;
	}
time {
	text-align: center;
	margin-top: -2.25em;
	width: 80px;
	float: left;
	margin-left: -90px;
	background: #369;
	opacity: 0.95;
	color: white;
	position: relative;
	-webkit-box-shadow: 1px 0px 10px #111;
	-moz-box-shadow: 1px 0px 10px #111;
}
	.cat-184 time {
		margin-top: -1.5em;
	}
time span {
	display: block;
}
time .day {
	font-size: 28px;
	line-height: 1.25em;
	padding-bottom: 5px;
}
time .month {
	font-size: 90%;
	position: absolute;
	top: 10px;
	left: 55px;
	text-align: left;
	-webkit-transform: rotate(-90deg); 
	-moz-transform: rotate(-90deg); 
}
time .year {
	background: #999;
	opacity: 0.65;
	font-size: 90%;
}

.related-posts a:before, .widget_recent_entries a:before {
	content: "\00BB \0020";
	}

ul.related-posts {
	font-size: 90%;
    margin-bottom: 0.25em;
	margin-left: 0;
	}
ul.related-posts h2 {
	font-size: 1em;
    margin-bottom: 0.75em;
	text-indent: 0;
	}

	
/* Pager 
---------------------*/
.pager {
	margin: 1.5em 0;
}

/* Aside 
---------------------*/

aside  {
	opacity: 0.75;
	margin-top: 3.75em;
	}
	
.page-extras, .entry-info  {
	padding-left: 10px;
	display: block;
	}
	
aside h3, .entry-info h3 {
	margin: 0;
	}

aside ul, .entry-info p {
	margin-top: 0;
	}
	

aside ul.entry-comments {
	margin-bottom: 0.75em;
	}

#about a:after, .entry-comments a:after {
	content: "\00BB \0020";
	}

.entry-comments span {
	font-size: 1.5em;
	line-height: 1em;
	}
.entry-comments span.off {
	font-size: 0.65em;
	font-style: italic;
	color: #ccc;
	}


/* Comments 
---------------------*/

#commentform input[type="text"], #commentform textarea, #commentform input[type="submit"] {
	font:16px/1.5 Georgia, "Times New Roman", Times, serif;
	color: #444;
	border: 1px solid #fec;
	}
#commentform input[type="text"]:focus, #commentform textarea:focus {
		border-color: #194673;
		}
#commentform input[type="submit"] {
	padding: 0.5em;
	border-radius: 10px;
	text-shadow: #fff 1px 1px 1px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}
#commentform input[type="submit"]:hover {
	cursor: pointer;
	color: white;
	text-shadow: #111 1px 1px 1px;
	background: #194673;
	opacity: 0.85;
	}
#commentform label {
	color: #666;
	font-size: 80%;
	}
h3#comments {
	margin-top: 1.5em;
	}
.commentlist {
	color: #333;
	}
.commentlist li {
	min-height: 120px;
	border-bottom: 1px solid #fec
	}
.comment-author {
	font-weight: bold;
	float: right;
	width: 120px;
	min-height: 100px;
	text-align: center;
	font-size: 80%;
	background: #fff url(images/bg-comment-author.png) 0 0 no-repeat;
	}
.comment-author .says {
	display: none;
	}
.comment-author img {
	background: #fec;
	display: block;
	margin: 8px auto 2px auto;
	}
.comment-meta {
	width: 50%;
	font-size: 80%;
	}
.commentlist p {
	margin-right: 130px;
	margin-top: 0.75em;
	}


/* Extra Content */
#content-extra {
	float: left;
	margin-top: 1.5em;
	border: 1px solid #ebebeb;
	border-width: 1px 0;
 	background: #ffeecc;
	opacity: 0.75;
 	}

#content-extra:hover {
	opacity: 0.95;
 	}

#content-extra h3 {
	margin-bottom: 0.75em;
 	}
#content-extra p, #content-extra ul {
	margin-top: 0;
	font-size: 90%
 	}
#hits a:before {
	content: "\00BB \0020";
	}
	
/* Social */
#social {
	text-shadow: #111 1px 1px 1px;
	border-top: 1px solid #999;
 	background: #194673;
	opacity: 0.85;
	color: white;
	float: left;
 	}
#social:hover {
	opacity: 0.95;
 	}
#social h2 {
	margin-bottom: 0;
 	}
#social h2, #social h3 {
	text-shadow: #111 1px 1px 1px;
 	}
#social a {
	color: #ffeecc;
 	}
	
/* Anobii */
 #letture {	
 	padding: 0; 
	overflow: hidden;
 	}
/* ------[ For each item in the badge ]------ */
 #letture .item_cell {
 	list-style: none; 
	float: left; 
	width: 32%;
	height: 13.5em;
	overflow: hidden;
	text-align: center;
	margin-top: 0;
	padding-top: 0;
	font-size: 0.75em;
	line-height: 1.5em;
	}
 #letture .cover img {
	 border: 1px solid #ddd; 
	 padding: 4px; 
	 background-color: #ffeecc; 
	 float: none;
	 }
 #letture .title {
	 text-indent: 0;
	 padding: 0; 
	 margin: 0;
	 }
			 /* ------[ The bottom part ]------ */
			 #letture dl.link_cell  {
				display: none;
				}

/* Flickr */
#photos .flickr_badge_image img {
	padding: 4px;
	border: 1px solid white;
	float: left;
	margin: 0 20px 10px 0;
	background: #ffeecc;
	
 }
#photos #flickr_badge_image3 img, #photos #flickr_badge_image6 img, #photos #flickr_badge_image9 img {
	margin-right: 0;
 }

/* Footer 
---------------------*/
footer  {
	color: white;
	font-size: 75%;
	float: left;
	background: #194673;
	opacity: 0.65;
	}
footer  p {
	text-shadow: #111 1px 1px 1px;
	}
footer #powered {
	text-align: right;
	}


/* Anchors 
---------------------*/
a  {
	font-weight: bold;
	text-decoration: none;
	color: #036;
	}
footer a {
	color: #ffeecc;
	}
a:hover  {
	color: #555;
	text-decoration: underline;
}
header a:hover, nav a:hover  {
	text-decoration: none;
	}
header h1 a:hover, #tagline a:hover, #social a:hover, footer a:hover  {
	color: white;
	}
#tags a  {
	background-color: #fff;
	padding: 2px;
	}
	

/* Wordpress Theme Requirements 
---------------------*/
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft, .alignright {
	border: 1px solid #ebebeb;
	background-color: #efefef;
	padding: 8px;
	margin-bottom: 5px;
}
.alignleft {
	float: left;
	margin-right: 5px;
}

.alignright {
	float: right;
	margin-left: 5px;
}

.wp-caption {
	border: 1px solid #ebebeb;
	text-align: center;
	background-color: #efefef;
	padding: 14px 14px 0 14px;
}

.wp-caption p.wp-caption-text {
	font-style: italic;
}