/** BEGIN basic styles **/
* {
	margin: 0;
	padding: 0;
}
body {
	font: 12px Arial;
	text-align: center;
	background: transparent url(images/body.gif) repeat 0 0;
	color: #FFFFFF;
}
img {
	border: 0;
}
a {
	text-decoration: none;
	color: #000000;
}
a:hover {
	color: #FF0000 !important;
}
.break {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.alignleft {
	float: left;
	margin: 10px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 10px 0 5px 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/** END basic styles **/

.wrapper {
	text-align: left;
	width: 968px;
	margin: auto auto;
	background: url(images/wrapper.gif) repeat-y 0 0;
}

/** BEGIN header **/
#header {
	background: url(images/header.gif) repeat 0 0;
}
#logo {
	float: left;
	background: url(images/logo.gif) no-repeat right 7px;
	padding: 20px 70px 10px 20px;
}
	#logo h1 {
		font-size: 2.7em;
	}
	#logo h3 {
		font: 1.3em Arial;
	}
	#logo a {
		color: #FFFFFF;
	}
	#logo a:hover {
		color: #FFFFFF !important;
	}
#intro 
{ 
	color:#FFFFFF; clear: both; background: transparent url(images/header2.gif) no-repeat; height: 255px; 
}
#testo{
width:968px;
padding:210px 0px 0px;
}

element.style {
width:600px;
}
#intro h1 {
background: #1B1B1B none repeat scroll 0 0;
color:#FFFFFF;
display:inline;
font-family:arial;
font-size:30px;
letter-spacing:-1px;
margin:0;
padding:2px 30px;
}
#intro h1 a {
background: #1B1B1B none repeat scroll 0 0;
color:#FF0000;
display:inline;
font-family:arial;
font-size:30px;
letter-spacing:-1px;
margin:0;
padding:2px 5px;
}
#intro h1 a:hover {
background: #1B1B1B none repeat scroll 0 0;
color:#FFFFFF;
display:inline;
font-family:arial;
font-size:30px;
letter-spacing:-1px;
margin:0;
padding:2px 5px;
}
#navigation {
	float: right;
	list-style-type: none;
	padding: 69px 10px 0 0;
}
	#navigation li {
		float: left;
		margin-right: 3px;
	}
	#navigation li a {
		float: left;
		display: block;
		background-color: #910202;
		padding: 5px 20px;
		font: bold 1.2em Arial;
		text-transform: uppercase;
		color: #FFFFFF;
	}
	#navigation li a:hover {
		text-decoration: none;
		background-color: #DE0303;
		color: #FFFFFF !important;
	}
/** END header **/

/** BEGIN content **/
#content {
	background: url(images/content.gif) repeat-y 0 0;
	color: #000000;
	padding: 20px 14px;
}
#content a {
	color: #000000;
	font-weight: bold;
}
	/** BEGIN main **/
	#main {
		float: left;
		width: 47%;
	}
	.title {
		font-size: 1.4em !important;
		font-weight: normal;
		padding: 20px 10px;		
	}
	.post {
		margin: 0 10px 20px 10px;
		border-bottom: 1px dotted #C0C0C0;
		padding-bottom: 10px;
	}
	.post p {
		line-height: 1.8em;
		margin: 10px 0;
		text-align: justify;
	}
	.post h3, h4, h5 {
		font-size: 1.5em;
		font-weight: normal;
		margin: 20px 0 10px;
	}
	.post ul {
		margin: 0 0 10px 18px;
		list-style-type: disc;
	}
	.post ul li {
		padding: 4px 0;
	}
	.post ol {
		margin: 0 0 10px 22px;
		list-style-type: decimal;
	}
	.post ol li {
		padding: 4px 0;
	}
	#content blockquote {
		line-height: 1.8em;
		margin: 10px 0;
		text-align: justify;
		font-style: italic;
		padding: 0 5px 0 10px;
		border-left: 2px solid #CCCCCC;
		background-color: #EEEEEE;
	}
	#content h2 {
		font-size: 2em;
		font-weight: normal;
	}
	.post h2 a {
		font-weight: normal !important;
	}
	.author {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/author.gif) no-repeat 0 2px;
	}
	.category {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/category.gif) no-repeat 0 5px;
	}
	.date {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/date.gif) no-repeat 0 2px;
	}
	.comments {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/comments.gif) no-repeat 0 5px;
	}
	.author a, .category a, .date a, .comments a {
		font-weight: normal !important;
	}
	.author a:hover, .category a:hover, .date a:hover, .comments a:hover {
		font-weight: bold !important;
	}
	#postnav {
		padding: 10px;
	}
	#main .left {
		width: 70%;
	}
	#comments {
		padding: 10px;
	}
	#comments h2 {
		font-size: 1.8em;
		margin-bottom: 20px;
	}
	#comments h3 {
		font-size: 1.6em;
		margin: 20px 0;
		font-weight: normal;
	}
	#comments form {
		padding: 5px;
	}
	#comments form input, #comments form textarea {
		margin-bottom: 2px;
	}
	.comment1, .comment2 {
		margin: 5px 0;
		padding: 5px;
	}
	.comment1 p, .comment2 p {
		margin-bottom: 10px;
		text-align: justify;
		line-height: 1.6em;
	}
	.comment2 {
		background-color: #EEEEEE;
		border-top: 1px dotted #C0C0C0;
		border-bottom: 1px dotted #C0C0C0;
	}
	.required {
		font-weight: bold;
		color: #FF0000;
	}
	.notfound {
		padding: 20px;
	}
	.notfound p {
		margin: 10px 0;
	}
	.commentdetails {
		float: left;
	}
	.commentauthor {
		font-size: 1.5em;
		margin-bottom: 2px !important;
	}
	.commentauthor a {
		font-weight: normal !important;
	}
	.commentdate {
		font-size: 0.9em;
	}
	.gravatar {
		float: right;
		margin: 5px 0 5px 10px;
	}
	/** END main **/
	/** BEGIN sidebar **/
	#sidebar {
		float: right;
		width: 52%;
	}
	#sideleft {
		width: 45%;
		float: left;
	}
	#sideright {
		width: 54%;
		float: right;
	}
	#sidebar ul {
		list-style-type: none;
		margin: 10px 0 20px;
	}
	#sidebar ul li ul {
		margin: 0 0 0 -10px !important;
	}
	#sidebar ul li {
		padding: 2px 10px 2px 25px;
		line-height: 2em;
		background: url(images/categories.gif) no-repeat 0 7px;
	}
	#sidebar ul li a {
		font-weight: normal !important;
	}
	#sidebar h3 {
		font-size: 1.3em;
		margin-bottom: 10px;
	}
	#categories li {
		background-image: url(images/categories.gif) !important;
	}
	#popularposts li {
		background-image: url(images/popularposts.gif) !important;
	}
	#blogroll li {
		background-image: url(images/blogroll.gif) !important;
	}
	#recentposts li {
		background-image: url(images/recentposts.gif) !important;
	}
	#recentcomments li {
		background-image: url(images/recentcomments.gif) !important;
	}
	#ads {
		margin-bottom: 20px;
	}
	#ads img {
		margin: 2px 1px 1px 2px;
	}
	/** END sidebar **/
/** END content **/

/** BEGIN footer **/
#footer {
	background: url(images/footer.gif) repeat 0 0;
}
	#footer div.wrapper {
		height: 120px;
	}
	#footer a {
		color: #FFFFFF;
		font-weight: bold;
	}
	#footer a:hover {
		color: #FFFFFF !important;
		text-decoration: underline;
	}
	#copy {
		float: left;
		padding: 20px;
	}
	#rss {
		float: right;
		padding: 25px 20px 20px 50px;
		font-size: 2em;
		background: url(images/rss.gif) no-repeat 0 20px;
		line-height: 0.8em;
	}
	.links {
		font-size: 12px !important;
	}
	#search {
		float: right;
		padding: 20px;
	}
	#search input {
		font-size: 2em;
		color: #C50000;
		background-color: #FCD7A1;
		border: 0;
		width: 200px;
		float: left;
		padding-left: 5px;
	}
	#search button {
		width: 32px; height: 27px;
		background: url(images/search.gif) no-repeat 0 0;
		border: 0;
		text-indent: -9999px;
		margin-left: 10px;
	}
/** END footer **/

.flickr_gallery {
	margin: 40px auto 5px;
	width: 968px;
}
 
.flickr_thumb {
	background: transparent url(images/polaroid.jpg) no-repeat scroll 50% 0;
	display: inline;
	float: left;
	height: 125px;
	margin: 15px 10px;
	text-align: center;
	width: 116px;
	position: relative;
}
 
.flickr_thumb a {
	display: block;
	height: 100px;
	position: relative;
	width: 100px;
	margin: 8px;
	background-position: 50% 50%;
}
 
.flickr_thumb span {
	background: transparent url(images/tape.png) no-repeat scroll 50% 0;
	height: 25px;
	left: 20px;
	position: absolute;
	top: -10px;
	width: 77px;
	z-index: 10;
}
 
.clear {
	clear: both;
}

.flickrtable li img {
        border: 1px solid #b9b9b9;     
}
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.contrariamente.eu/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.contrariamente.eu/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

