/*
	Title:		Codex website screen styles and ie/win fixes
	Author: 	Codex, Pavia (IT) - http://www.codexcoop.it
	Created: 	March 2009
*/

/* TODO:
- outline: h1 su logo???
- 404 senza checkpage
- test IE
*/
/*
@import url("grid.css");
@import url("vertical.css");
*/

body {
	margin: 0;
	padding: 0;
	text-align: center;
	font: 16px Georgia, serif;
	color: #000;
	background: #fff;
}
hr { display: none; }
a {
	color: #c00;
	text-decoration: none;
}
a:hover, a:active {
	color: #999;
}
img {
	display: block;
}
a img {
	border: 0;
}
a.ext {
  background: url(/img/external.gif) right 3px no-repeat;
  padding-right: 14px;
}

/* BASIC TYPO */
h1, h2 {
	font-size: 30px;
	font-weight: normal;
}
h2 {
	clear: both;
	margin: 0 0 36px 0;
	font-size: 36px;
	line-height: 40px;
	color: #2f2f2f;
}
h3 {
	margin: 0;
	padding: 0 0 3px 0;
	border-bottom: 1px dotted #dedede;
	border-color: #999;
	font-size: 21px;
	font-weight: normal;
}
h3 span {
	font-size: 14px;
}
h3.cat {
	clear: both;
	margin: 0 0 18px 0;
	padding: 14px 0 14px 14px;
	border: 0;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
	background: #2f2f2f;
	color: #fff;
}
p, ul ol, dl {
	line-height: 1.5em;
}
ul, ol {
	margin: 0;
	padding: 0 0 0 18px;
	line-height: 24px;
}

/* LAYOUT */
#wrap {
	width: 960px;
	margin: 0 auto;
	text-align: left;
}
#wrap-inner {
	margin: 0 10px;
/* tmp */
	min-height: 670px;
}
#content {
	margin: 28px 0 0 0;
}
#header {
	position: relative;
	height: 109px;
	border-bottom: 1px dotted #666;
}
#logo {
	position: absolute;
	top: 28px;
	left: 0;
}
#menu {
	position: relative;
	top: 45px;
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 16px;
	text-transform: uppercase;
	text-align: right;
}
#menu li {
	float: left;
}
#menu li a {
	color: #000;
	padding: 14px 21px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#menu li a:hover {
	color: #c00;
	background: #f0f0f0;
}
#menu li a.on {
	background: #c00;
	color: #fff;
	text-shadow: 0px 2px 3px #666;
}
#footer {
	clear: both;
	border-top: 1px dotted #666;
	font-family: "Lucida Grande", Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #666;
}
#footer p {
	margin: 0;
	padding: 1em 0 2em 0;
}

/* IDS & CLASSES */
div.work {
	float: left;
	margin: 0 50px 0 0;
	padding-bottom: 36px;
	width: 280px;
}
div.first {
	clear: both;
}
div.last {
	margin-right: 0;
}
div.work img {
	width: 260px; /* 280 - 300 */
	height: 195px; /* 210 - 225 */
	border: 10px solid #eee;
}
div.work img:hover {
	border-color: #ccc;
}
.work .caption {
	width: 270px;
	margin: 1em 0;
	padding: 0 0 0 10px;
  font-family: "Lucida Grande", Geneva, Helvetica, sans-serif;
  font-size: 12px;
	line-height: 16px;
}
.work .caption a {
	color: #2f2f2f;
}
.work .caption a:hover {
	color: #c00;
	text-decoration: underline;
}
.work .design {
	color: #999;
}
.bio {
	clear: both;
}
.bio img.pic {
	float: left;
  width: 90px;
  height: 90px;
  border: 5px solid #eee;
}
.bio .txt {
	margin-left: 120px;
}
.bio .txt p {
	margin: 8px 0 36px 0;
}
#cols {
	padding-bottom: 36px;
}
#col1 {
	clear: both;
	float: left;
	width: 445px;
}
#col2 {
  float: right;
	width: 445px;
}
.tumblr {
	font-size: 14px;
}
.tumblr {
	border-bottom: 1px dotted #ccc;
}
.tumblr .tb-date {
	color: #999;
	float: left;
}
.tumblr .tb-body {
	margin: 0 0 0 4em;
	padding: 0;
}
#intro {
	position: relative;
	min-height: 240px;
	height: 240px;
	height: auto !important;
	margin-bottom: 36px;
}
#intro #txt {
	width: 520px;
	font-size: 18px;
	margin: 0;
}
#intro #txt p {
	font-size: 18px;
}
#intro #img {
	position: absolute;
	top: 0;
	right: -20px;
}

/* self-clearing floats */
#focus:after, #cols:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* trigger hasLayout and target ie5+6/win only */
* html #focus, * html #cols {
	height: 1%;
}
/* trigger hasLayout and target ie7/win only */
*:first-child+html #focus, *:first-child+html #cols {
	min-height: 1px;
}

