/* @override http://localhost:8000/site_media/css/base.css */

/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography.css */
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
h1 {font-size:2.5em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:1.7em;margin-bottom:0.75em;}
h3 {font-size:1.4em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#000;}
a {color:#009;text-decoration:underline;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;}
thead th {background:#c3d9ff;}
th, td, caption {padding:4px 10px 4px 5px;}
tr.even td {background:#e5ecf9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/* grid.css */
.prepend-top {margin-top:1.5em;}
.append-bottom {margin-bottom:1.5em;}
.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
hr.space {background:#fff;color:#fff;}
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix, .container {display:block;}
.clear {clear:both;}

/* forms.css */
label {font-weight:bold;}
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend {font-weight:bold;font-size:1.2em;}
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.text, input.title {width:300px;padding:5px;}
input.title {font-size:1.5em;}
textarea {width:390px;height:250px;padding:5px;}
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}
/***********************************************************************/

.container {width:950px;margin:0 auto;}


/*
Font: verdana
Rosso: #e60005
Grigio testo: #747474
Nav: #d8d8d8
*/


/* BASE */
body {
	background:#fff;
	color:#747474;
	font:12px/1.5 Verdana, "Lucida Grande", Lucida, sans-serif;
}

th, td { vertical-align:top; }

/* LINKS */

a { color:#e60005; outline:none; text-decoration:none; }
a:hover { color:#f33; text-decoration:underline; }

/* UTILITY */

.clear { clear:both }
.left { float:left; }
.right { float:right; }
.small { font-size: 0.75em; }
.quiet { color: rgba(30, 40, 30, .65); }

.link-list { list-style-type: none; }
.link-list li { margin-bottom: 0.25em; }

.button-list { overflow:hidden; }
.button-list li { list-style-type:none; display:inline; }

.button {
	float:left;
	margin-right:8px;
	width:23px;
	height:23px;
	text-indent:-9999px;
	overflow:hidden;
	opacity:.25;
	filter:alpha(opacity=25);
	zoom:1;
}
.button:hover { opacity:.5; filter:alpha(opacity=50); }
.button.inactive { opacity: .1; filter:alpha(opacity=10); }

.breadcrumbs h2,
.breadcrumbs h3 { color:#747474; }

th { color:#e60005; }
thead th { background:#000; color:#fff; }
tr.even td { background:#eee; }


/* @group Modules */

.module {
	margin:0 0 1em;
	background:#f1f1f1;
	overflow:hidden;
	position:relative;
	width:100%;
	/*-moz-border-radius:5px;
	-webkit-border-radius:5px
	border:1px solid red;*/
}
	.module-content {
		padding:10px;
		border-left:1px solid #d3d3d3;
		border-right:1px solid #d3d3d3;
		overflow:hidden;
	}
	.module .tl {
		position:absolute;
		left:0; top:0;
		height:10px;
		width:100%;
		background:url(../img/module_bg.png) 0 0 no-repeat;
	}
	.module .tr {
		float:right;
		width:4px;
		height:10px;
		background:url(../img/module_bg.png) right 0 no-repeat;
	}
	.module .bl {
		position:absolute;
		left:0; bottom:0;
		height:10px;
		width:100%;
		background:url(../img/module_bg.png) no-repeat 0 -10px;
	}
	.module .br {
		float:right;
		width:4px;
		height:10px;
		background:url(../img/module_bg.png) no-repeat right -10px;
	}

	.module.white .tl { background-position:0 -20px; }
	.module.white .tr { background-position:right -20px; }
	.module.white .bl { background-position:0 -30px; }
	.module.white .br { background-position:right -30px; }

	.module.pink { background-color:#ffe3e4; color:#222; }
	.module.pink .module-content {
		border-left:1px solid #ffa7a9;
		border-right:1px solid #ffa7a9;
	}
	.module.pink .tl { background-position:0 -40px; }
	.module.pink .tr { background-position:right -40px; }
	.module.pink .bl { background-position:0 -50px; }
	.module.pink .br { background-position:right -50px; }

/* MODULE MENU */

.module-menu .title {
	border-bottom:1px solid #ccc;
	padding:0.5em 10px;
	margin-left:-8px;
	margin-right:-8px;
	margin-bottom:0;
}
.module-menu ul {
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:0;
}
.module-menu li {
	list-style-type:none;
	border-bottom:1px solid #ccc;
	padding:0.5em 10px 0.5em 25px;
	margin-left:-8px;
	margin-right:-8px;
}

/*.module-menu li.selected {
	background:url(../img/menu_arr.png) no-repeat 7px 9px;
}*/

/* @end */

/* @group Photolist */

.photolist {
	list-style:none;
	margin:0;
	padding:0;
}
.photolist li {
	margin:0 0 2em;
	overflow:hidden;
}
.photolist li h4 {
	color:#000;
	margin-bottom:0.3em;
}
.photolist li h5 {
	color:#747474;
	margin-bottom:0.1em;
}
.photolist li img {
	float:left;
	border:1px solid #747474;
}

.photolist li a img { border:1px solid #e60005; }

.photolist li .c {
	margin-left:130px;
}

/* @end */

/* @group Photostream */

.photostream {
	list-style:none;
	margin:0; padding:0;
}
	.photostream li {
		/*min-height: 50px;*/
		display: -moz-inline-stack;
		display: inline-block;
		vertical-align: middle;
		margin: 0 15px 15px 0;
		zoom: 1;
		*display: inline;
	}

.photostream a img { border:1px solid #e60005; }

/* @end */

/* @group Photostream-v */

.photostream-v {
	list-style:none;
	margin:0; padding:0;
}

.photostream-v a img { border:1px solid #e60005; }

/* @end */

/* @group Stream */

/* Gallerie foto e video */
.stream {
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;
}
	.stream li {
		display:inline-block;
		width:200px;
		margin: 0 15px 20px 0;
		padding:0 !important;
		vertical-align:top;
	}
	.stream span.imgc  {
	    display:table-cell;
		height:160px;
		width:200px;
		vertical-align:middle;
	}
	.stream li a img {
		border:1px solid #e60005;
	}

/* @end */

/* LAYOUT */

#header .container,
#main .container,
#footer .container {
	position:relative;
	overflow:hidden;
}

#header .container { width:980px; }
#main { width:980px; margin:0 auto; }

/* HEADER */

#header {
	background:#000 url(../img/nav_bg.png) bottom repeat-x;
	color:#d8d8d8;
}
	#header .container {
		height:168px;
		background:url(../img/header_top.png) top right no-repeat;
	}
	#header a { color:#fff; text-decoration:none;}

h1.logo {
	position:absolute;
	left:0;
	top:0;
	width:234px;
	height:168px;
	background:url(../img/logo.png) no-repeat;
}
	h1.logo a {
		position:absolute;
		left:10px;
		top:15px;
		display:block;
		width:190px;
		height:125px;
		text-indent:-10000px;
	}

#globalnav {
	position:absolute;
	right:0;
	bottom:0;
	margin:0;
	padding:0;
	list-style:none;
}
#globalnav li {
	float:left;
	height:25px;
	margin-left:18px;
	padding-left:18px;
	line-height:26px;
}

#nav2 {
	position:absolute;
	right:0;
	margin:5px 0 0;
	padding:0;
	text-align:right;
	list-style:none;
}

/* MAIN */

#wrapper { background:#fff url(../img/content_bg.png) repeat-x; }
#wrapper .w { background:url(../img/borders_bg.png) no-repeat center top; }
#main { background:#fff url(../img/main_bg.png) repeat-x; }
#main .container { min-height:500px; padding-top:40px; }

.bg_margin { background:#fff url(..img/bg_margin.png); }

/* FOOTER */

#footer {
	height:115px;
	margin:2em 0;
	padding:35px 0 20px;
	background:#000;
	color:#fff;

}
	#footer p { font-size:0.75em; }

/* 2 columns content */

.col2 .sidebar {
	float:left; width:210px;
	padding-right:50px;
	margin-right:30px;
	background:url(../img/bg_margin.png) no-repeat right;
	min-height:400px;
}

.col2 #content {
	float:left;
	width:660px;
}

/* @group Homepage */

.hp .hp-photo { background:#000 url(../img/header_photo_bg.png) repeat-x; }
	.hp .hp-photo .container { position:relative; width:980px; height:212px; }
	.hp .hp-photo h2 {
		height:212px;
		margin:0;
		padding:0;
		background: url(../img/header_photo.jpg) no-repeat;
		text-indent:-10000px;
	}

.hp #calendari.module { background:transparent; }
	.hp #calendari h3 {
		padding:7px 10px;
		border:1px solid #d3d3d3;
		color:#000;
		font-size:1em;
		font-weight:bold;
		background:#f1f1f1;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
	}
	.hp #calendari th,
	.hp #calendari td {
		line-height:1.3em;
	}
	.hp #calendari th { width:128px; font-weight:normal; }

.hp #main #content { padding-left:10px; }

.hp .col { float:left; }
.hp #left { width:210px; margin-right:30px; }
.hp #center { width:425px; margin-right:40px; }
.hp #right { width:235px; margin-right:0; }

/* HP MODELLI */

.hp #modelli .desc {
	float:right;
	width:190px;
	overflow:hidden;
	margin:0;
}

.hp #modelli .title { font-size:1.6em; }
.hp .moto {
	float:left;
	padding-right:22px;
	margin-right:22px;
	border-right:1px solid #d3d3d3;
}
	.hp .moto.last {
		margin-right:0;
		padding-right:0;
		border-right:none;
	}
	.hp .moto img {
		display:block;
		margin-bottom:0.5em;
	}
	.hp .moto a span {
		padding:0 5px 0 20px;
		background:url(../img/btn.png) no-repeat 0 0;
	}
	.hp .moto a:hover {
		text-decoration:none;
	}

/* HP NEWS */

.hp #news h2, .hp #news h3, .hp #news p {
	margin-top:0; margin-bottom:0;
	padding-top:0; padding-bottom:0;
	/*padding:0;*/
}

.hp #news h2 { font-size:1.6em; }
.hp #news h3 { font-size:1em; }

.hp #news li { background:url(../img/menu_arr.png) no-repeat 7px 13px; }

/* HP PRESS */

.hp #press h2, .hp #press h3, .hp #press p {
	margin-top:0; margin-bottom:0;
	padding-top:0; padding-bottom:0;
	/*padding:0;*/
}

.hp #press h2 { font-size:1.6em; }
.hp #press h3 { font-size:1em; }

.hp #press li { background:url(../img/menu_arr.png) no-repeat 7px 13px; }


/* HP TROFEO */

.hp #motorally-cup h3 {
	margin:0;
	color:#747474;
}

.hp #motorally-cup h2 {
	font-size:1.6em;
	margin-bottom:0;
}

/* @end */

/* VENDITA */

.vendita .main { margin-right:220px; }
.vendita .rside { float:right; width:200px; }

.vendita .imgs { margin-bottom:2em; }
.vendita .photostream-v { float:right; width:200px; }

#mod-vendita a span {
	display:block;
	padding:0 0 0 20px;
	background:url(../img/btn.png) no-repeat 0 0;
}

.vendita.scheda-tecnica th,
.vendita.scheda-tecnica td {
	border-bottom:1px solid #ccc;
}

/* SPONSOR */

.sponsor ul.sponsor-list {
	list-style:none;
	margin:0;
	padding:0;
}
	.sponsor ul.sponsor-list li {
		/*min-height: 50px;*/
		display: -moz-inline-stack;
		display: inline-block;
		vertical-align: middle;
		margin: 0 30px 15px;
		zoom: 1;
		*display: inline;
	}
	.sponsor ul.sponsor-list .placeholder { width:50px; height:50px; background:#ffc; border:1px solid red; }

/* CAMPIONATI */
table.calendario-gare { width:auto; }
table.calendario-gare h2 { margin:1em 0 0.5em; }

th.c, td.c, td.n, td.p, td.tot { text-align:center; }
td.pl { color:#222; }
td.tot { font-weight:bold; }

/* TEAM */

.team table#lista-piloti { width:auto; }
.team #lista-piloti td { padding:0.2em 1em; }

.piloti .pilota .foto {
	float:left;
	margin:0 15px 15px 0;
}

.piloti .pilota .desc {
	margin-left:190px;
}
