/*
Theme Name: myTheme September 2009
Theme URI: http://carlorizzante.com/
Description: My minimalistic theme.
Version: 0.0.1 (alpha)
Author: Carlo Rizzante
The CSS, XHTML and design is released under GPL: http://www.opensource.org/licenses/gpl-license.php

*/

/* Reset browser defaults */
@import url('styles/reset.css');

/* Apply basic typography styles */
@import url('styles/typography.css');


/* colors used in the layout and styles
_____________________________________________________________________________________________________

light blue: #4A8797;
Very light blue: #69BFDE;
light grey: #666;
Light grey for img tag: #999;

*/


/* body and #wrap
_____________________________________________________________________________________________________*/

html>body #content {
	height: auto;
	min-height: 580px;
}

body {
	height: 100%; 
	background-color: #fff;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	background: transparent url(images/bg_body_darkblue.png) repeat 0 -10px fixed;
	/* background: transparent url(styles/grids/960_grid_12_col.gif) repeat-y 50% 0; */
}

#contact-bar {
	width: 100%;
	height: 17px;
	margin: 0 auto;
	padding: 3px 0 0;
	text-align: center;
	background-color: #000;
	border-bottom: 1px dashed #fff;
}

#wrap {
	position: relative;
	width: 1020px;
	margin: 0 auto;
	text-align: left;
}

#wrap-top {
	padding: 40px 40px 0;
	background: transparent url(images/bg_top-1020px.png) no-repeat 0 0;
}

#wrap-middle {
	padding: 0 40px;
	background: transparent url(images/bg_middle-1020px.png) repeat-y 0 0;
}


/* header
_____________________________________________________________________________________________________*/

#header {
	text-align: left;
	height: 90px;
	width: 620px;
}

h1#logo a {
	position: relative;
	display: block;
	width: 620px;
	height: 90px;
	background: transparent;
	}

h1#logo span {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	background: transparent url(images/bg_header_logo.png) no-repeat 0 0;
	}

div#registration-1 {
	position: absolute;
	top: 120px;
	right: -50px;
	width: 32px;
	height: 116px;
	background: transparent url(images/registration_1.png) no-repeat 0 0;
}

div#languages {
	position: absolute;
	top: 60px;
	right: 10px;
	width: 60px;
	height: 11px;
}

div#languages a {
	float: left;
	display: block;
	width: 16px;
	height: 11px;
}

div#languages a#lang_it {
	background: transparent url(images/flag_it.gif) no-repeat 0 0;
	padding-left: 10px;
}

div#languages a#lang_uk {
	background: transparent url(images/flag_uk.gif) no-repeat 0 0;
	padding-left: 10px;
}

div#linkedin {
	position: absolute;
	top: 38px;
	right: 27px;
	width: 80px;
	height: 15px;
}

div#linkedin a {
	position: relative;
	display: block;
	width: 80px;
	height: 15px;
	background: transparent;
	font-size: 1px;
	color: #fff;
}

div#linkedin a span {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: transparent url(images/linkedin.gif) no-repeat 0 0;
}

div#linkedin a:hover span {
	background: transparent url(images/linkedin.gif) no-repeat 0 -15px;
}

div#drawn a {
	clear: both;
	display: block;
	width: 940px;
	height: 280px;
	margin: 0;
	padding: 0;
	background: transparent url(images/bg_header_theme_failures.png) no-repeat 0 0;
	}

/* content
_____________________________________________________________________________________________________*/

#content {
	width: 460px;
	float: left;
	margin-right: 20px;
	margin-top: 0;
}

#content .page-portfolio {
	width: 490px;
	float: left;
	margin: 0;
}

#content .page-portfolio div {
	width: 220px;
}

div.page-portfolio-singlework {
	width: 700px!important;
}

.item img {
	border: 1px solid #999;
	margin: 5px 0 20px 0;
	padding: 3px;
	background: #fff;
}

.itemhead {
	padding-top: 5px;
	padding-bottom: 7px;
	margin-bottom: 18px;
}

.itemhead h3 {
}

.date {
}

input {
	font-size: 100%;
}


/* get in touch
_____________________________________________________________________________________________________*/

#getintouch {
	width: 460px;
	margin: 0;
	padding: 0;
	color: #4A8797;
}

#getintouch div {
	width: 100%;
}

#getintouch div input {
	width: 400px;
	height: 20px;
	padding: 8px 0 0 5px;
	margin: 0;
	border: none;
	border: 1px dashed #666;
}

#getintouch div textarea {
	width: 460px;
	border: none;
	border: 1px dashed #666;
}

#getintouch div#text-field-send input {
	width: 60px;
	height: 25px;
	padding: 0;
	margin: 0;
	border: 1px dashed #666;	
}


/* google-map
_____________________________________________________________________________________________________*/

#google-map {
	border: 1px solid #666;
	padding: 2px;
}


/* portfolio, pictures and images
_____________________________________________________________________________________________________*/

div.page-portfolio-singlework a img {
	float: left;
	border: 1px solid #999;;
	margin: 0 16px 16px 0;
	padding: 3px;
	width: 214px;
	overflow: hidden;
}

div.page-portfolio-singlework a img.third {
	margin: 0;
}

div.page-portfolio-singlework a img.last {
	clear: both;
}


/* sidebar-l
_____________________________________________________________________________________________________*/

#sidebar-l {
	float: left;
	width: 220px;
	margin: 0 19px 0 0;
	margin-top: 0;
	text-align: left;
}

#sidebar-l #few-lines {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-l #few-lines span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_few_lines.png) no-repeat 0 0;
}

#sidebar-l #recently-written {
	position: relative;
	width: 220px;
	height: 45px;
}

#sidebar-l #recently-written span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_recently_written.png) no-repeat 0 0;
}

#sidebar-l #categories {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-l #categories span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_categories.png) no-repeat 0 0;
}

#sidebar-l #archive {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-l #archive span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_archive.png) no-repeat 0 0;
}

#sidebar-l #designed-for {
	position: relative;
	width: 220px;
	height: 45px;
}

#sidebar-l #designed-for span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_designed_for.png) no-repeat 0 0;
}


/* sidebar-r
_____________________________________________________________________________________________________*/

#sidebar-r {
	float: left;
	width: 220px;
	margin: 0;
	margin-top: 0;
	text-align: left;
}

#sidebar-r #sections {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-r #sections span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_sections.png) no-repeat 0 0;
}

#sidebar-r #blogroll {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-r #blogroll span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_blogroll.png) no-repeat 0 0;
}

#sidebar-r #admin-area {
	position: relative;
	width: 220px;
	height: 27px;
}

#sidebar-r #admin-area span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_admin_area.png) no-repeat 0 0;
}

#sidebar-r #grabmyfeed {
	position: relative;
	width: 220px;
	height: 27px;
	margin-bottom: 10px;
}

#sidebar-r #grabmyfeed a {
	display: block;
	width: 220px;
	height: 27px;
}

#sidebar-r #grabmyfeed a:link span, #sidebar-r #grabmyfeed a:visited span{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_grabmyfeed.png) no-repeat 0 0;
}

#sidebar-r #grabmyfeed a:hover span, #sidebar-r #grabmyfeed a:focus span, #sidebar-r #grabmyfeed a:active span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_grabmyfeed.png) no-repeat 0 -25px;
}

#sidebar-r #portfolio {
	position: relative;
	width: 220px;
	height: 27px;
	margin-bottom: 10px;
}

#sidebar-r #portfolio a {
	display: block;
	width: 220px;
	height: 27px;
}

#sidebar-r #portfolio a:link span, #sidebar-r #portfolio a:visited span{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_portfolio.png) no-repeat 0 0;
}

#sidebar-r #portfolio a:hover span, #sidebar-r #portfolio a:focus span, #sidebar-r #portfolio a:active span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(images/title_portfolio.png) no-repeat 0 -25px;
}
	

/* li & feed
_____________________________________________________________________________________________________*/

li .categories, li .linkcat, li .pagenav {
	margin: 0;
	padding: 0;
}

.sidebarSearch{
	clear: both;
	margin-top: 10px;	
	margin-bottom: 10px;
	margin-left: 5px;
}

.navigation {
	text-align: right;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #666;
}

.navigation a:link, .navigation a:hover, .navigation a:visited{
	color: #4A8797;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}


/* comment area
_____________________________________________________________________________________________________*/

#comment {
	width: 470px;
	background: #fff;
	float: left;
	padding: 0;
	margin: 0;
}


/* gravatar settings
_____________________________________________________________________________________________________*/

img.avatar {
	float: left; 
	margin: 0 8px 3px 0;
	padding: 3px;
	border: solid 1px #ddd;
	background-color: #f3f3f3;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}


/* calendar (if any)
_____________________________________________________________________________________________________*/

#wp-calendar {
	empty-cells: show;
	margin: 0;
	width: 90%;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
	text-decoration: none;
}

#wp-calendar td {
	color: #4A8797;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
}

#wp-calendar #today {
	background: ;
	color: #4A8797;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}


/* footer
_____________________________________________________________________________________________________*/

#footer {
	clear: both;
	position: relative;
	width: 1020px; 
	height: 140px;	
	text-align: left;
	margin-bottom: 40px;
	padding: 70px 40px 0; /* for the top-padding: 46px with Georgia font */
	background: transparent url(images/bg_footer-1020px.png) no-repeat 0 0;
}

div#registration-2 {
	position: absolute;
	top: -100px;
	left: -50px;
	width: 32px;
	height: 116px;
	background: transparent url(images/registration_2.png) no-repeat 0 0;
}


/* utilities
_____________________________________________________________________________________________________*/

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.clear {
	clear: both;
}