/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #FFF;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/* =Structure
----------------------------------------------- */

body {
	font: 300 14px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color:#000;
	padding: 0;
	color: #333;
}
strong{font-weight:700}
#page {
	width: 100%;
	border-top: 3px solid #000;
	background: #FFF url(../img/marenero.png) no-repeat scroll center bottom;
}
#branding, #main {
	background-color:#FFF;
	width: 100%;
	margin: 0;
}

#access, #content, #breadcrumbs, #testa, #piede {
	width:1024px;
	margin: 0 auto;
	position: relative;
}

#testa {
	height: 40px;
}

#access {
	height:60px;
}

#content {
	padding: 38px 12px 20px 176px;
	width: 836px;
	min-height: 270px;
}
#piede {
	padding: 0 12px 0 176px;
	width: 836px;
}

h1.entry-title {
	font-size:24px;
	text-shadow:2px 2px 1px #CCC;
	letter-spacing: 0.5em;
	margin-bottom: 36px;
	font-weight: bold;
	font-variant:small-caps;
}

#colophon {
	color: #666;
	padding: 200px 0 0;
	height: 40px;
	font:200 11px/18px Arial, Helvetica, sans-serif;
	font-variant:small-caps;
	clear:both;
}

#colophon strong {
	color: #CCC;
}
#colophon a {
	text-decoration: none;
	color:#999;
}
.assistive-text, .skip-link, #breadcrumbs, #site-description, #etags, #site-title  {
	display:none;
}

.homeref{
	display:block;
	width: 120px; height: 177px;
	background: url(../img/logo2.png) no-repeat 0 0 transparent;
	text-indent: -999px;
	overflow: hidden;
	margin: 0 0 0 12px;
	position:absolute;
	z-index: 999;
}

.menu {
	margin: 10px 12px 20px 176px;
	width: 836px;
	border-bottom: 2px solid #000;
	visibility:hidden;
}
.menu li {
	float:left;
	margin: 0 0 1px 20px;
	font-size:11px;
	text-transform:uppercase;
	letter-spacing: 0.8em;
	text-align:center;
}
.menu > li{
	margin-left: 0;
}
.menu li.current-menu-item a {
	background-color: #000;
}
.menu li a {
	display:block;
	padding: 2px 24px;
	text-decoration: none;
	color: #000;
	width:161px;
}
.menu li a:hover {
	background-color: #444;
	color: #FFF;
}
.menu li.current-menu-item a {
	color:#FFF;
}

.entry-content a{
	text-decoration:none;
	color:#20384C;
}
.entry-content a:hover {
	background-color:#52C7E4; color:#FFF;
}
ul.elenco {
	font-size:12px; color:#999;
}
ul.elenco li{float:left; padding-right: 10px; margin-right: 4px; display:block; background: url(/v2/img/freccinapercorso.gif) right center no-repeat}
ul.elenco li span{color:#666;}


/* ==== http://positioniseverything.net/easyclearing.html ==== */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {height: 1%; }
* html .clearfix {height: 1%; }

/* ==== http://positioniseverything.net/easyclearing.html ==== */

.clear {
	clear: both;
	width: 0px;
	height: 0px;
	height: 1px;
/*
	display:block;
*/
	overflow:hidden;
}

.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }
.cf { zoom: 1; }

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	#access, #breadcrumbs, #testa, #piede {
		width:768px;
	}
	#content {
		width: 580px;
	}
	#page {
		background-position:-440px bottom;
	}
}