/* @override 
	http://www.bettiniphoto.net/bettini.css
	http://bettiniphoto.net/bettini.css
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul,
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%; line-height: 1;
	font-family: inherit; text-align: left;
}
a img, :link img, :visited img {
	border: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol, ul {
	list-style: none;
}
q:before, q:after,
blockquote:before, blockquote:after {
	content: "";
}
a {
	text-decoration: none;
	color: #fff;
}

body {
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	line-height: 150%;
	height: 100%;
	background: #004aa5 url(images/bg.jpg) no-repeat center top;
	color: white;
}

h2 {
	font-size: 22px;
	text-align: center;
	margin-bottom: 2px;
}
#outer {
	width: 1000px;
	position: relative;
	margin: 0 auto;
	padding-bottom: 50px;
}

#header {
	margin-top: 26px;
	margin-bottom: 36px;
	height: 100px;
}
#menu {
	float: left;
	text-align: right;
	/*width: 383px;
	height: 86px;*/
	width: 343px;
	height: 53px;
	background: url(images/box-hometop-menu.png) repeat;
	margin-right: 11px;
	padding: 18px 20px 15px;
}
#menu a {
	margin-right: 5px;
}
#menu a:hover {
	color: #cce9ff;
}
#login {
	float: left; display: inline;
	/*width: 194px;
	height: 86px;*/
	width: 128px;
	height: 56px;
	background: url(images/box-hometop-login.png) no-repeat;
	padding: 15px 20px 15px 40px;
}

#logo {
	float: left;
	margin-right: 38px;
}

#main {
	width: 980px;
}

#col1 {
	float: left; display: inline;
	width: 490px;
}
#col2 {
	float: left; display: inline;
	width: 497px;
	margin-left: 11px;
}

#footer {
	width: 980px;
	position: relative;
	margin: 0 auto;
	padding-bottom: 10px;
	text-align: center;
	font-size: 11px;	
	font-family: arial;	
}






.pics { 
	width: 440px; height: 306px; padding:0; 
	margin:0; overflow: hidden;
	left: 20px;
	margin-top: 10px;

}
.pics img { 
	width: 440px;
	top:0; left:0px;
	z-index: 90;
	overflow: auto;
}

.pics img {

}


.box {
	
}
.box-mid {
	position: relative;
	float: left; display: inline; clear: both;
	background: url(images/box-bg.png) repeat;
	text-align: center;
}
.homeleft .box-mid {
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.homeleft {
	float: left; display: inline; clear: both;
	width: 490px;
	margin-bottom: 11px;
}
.homeleft div {
	width: 490px

}
.box-mid div {
	margin-left: 12px;
}
.homeleft .box-mid img {
	border: 1px solid black;
	margin-left: 2px;
}
.homeleft .box-top {
	height: 13px;
	background: url(images/box-homeleft-top.png) no-repeat;
}
.homeleft .box-bot {
	float: left; display: inline; clear: both;
	height: 13px;
	background: url(images/box-homeleft-bot.png) no-repeat;
}


.homeleft .box-top,
.homeleft .box-bot {
	display: none;
}



.homeright {
	float: left; display: inline;
	margin-bottom: 11px;
}
.homeright div {
	width: 497px;
	text-align: center;
}
.homeright .box-top {
	height: 10px;
	background: url(images/box-homeright-top.png) no-repeat;
}
.homeright .box-bot {
	float: left; display: inline; clear: both;
	height: 10px;
	background: url(images/box-homeright-bot.png) no-repeat;
}
.homeright .box-mid div {
	float: left;
	text-align: center;
	margin: 1px 0 1px 10px;
	vertical-align: middle;
	width: 150px;
	border: 1px solid black;
}
.homeright .box-mid a.homeimg {
	display: block;
	width: 150px;
	height: 100px;
	overflow: hidden;
	float: left; display: inline;
	margin-right: 9px;
	vertical-align: middle;
}
.homeright .box-mid img {
	width: 150px;
	}

#homeslide {
	position: relative;
	margin: 0 auto;
	width: 480px;
}

.gallery {
	float: left; display: inline;
	margin-bottom: 11px;
	width: 980px;
	text-align: center;
}
.gallery img {
	display: inline;
}
.gallery .box-top {
	width: 980px;
	height: 12px;
	background: url(images/box-gallery-top.png) no-repeat;
}
.gallery .box-bot {
	width: 980px;
	float: left; display: inline; clear: both;
	height: 12px;
	background: url(images/box-gallery-bot.png) no-repeat;
}
.gallery .box-mid {
	position: relative;
	width: 980px;
	float: left;
	text-align: center;
	vertical-align: center;
}

.gallery .box-mid div {
	position: relative;
	float: left; display: inline;
	text-align: center;

}
.box-mid div {
	margin-left: 9px;
}

.gallery .box-mid a.apic {
	display: inline;
	display:block;
	float:left;
	height:100px;
	width: 150px;
	overflow:hidden;
	position:relative;
	z-index:1;
		vertical-align: center;
			border: 1px solid black;
}
.gallery .box-mid a img {
	width: 150px;
	top:-20px;
	left:-50px;	
	vertical-align: center;
}
.gallery .box-mid a.scarica {
	float: left; display: inline;
	font-size: 0.75em;
	background: #092753 url(images/save.png) no-repeat 4px 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 
	padding: 4px 4px 4px 20px;
	z-index: 99;
	margin-top: 2px;
    clear: both;
}
.gallery .box-mid a.scarica:hover {
	background: #3f8637 url(images/save.png) no-repeat 4px 4px;
}

/* caption styling */

#title {
	position: absolute;
	bottom: 12px;
	left: 18px;
	color: #ffffff;
	
	/*padding: 1.2em;*/	
	font-weight: bold;
	font-size: 13px;	
	font-family: arial;	
	cursor: default;
	border: 0px solid #334143;
	background: #000000;
	text-shadow: 1px 1px 0 #202020;
	z-index: 99;
	filter: alpha(opacity=80); /* internet explorer */
	-khtml-opacity: 0.8;      /* khtml, old safari */
	-moz-opacity: 0.8;       /* mozilla, netscape */
	opacity: 0.8;           /* fx, safari, opera */
	width: 402px;
	padding: 20px;
}

a.caption {
	float: left;
	display: block;
	color: #ffffff;
	font-size: 11px;
	border: 0px solid #334143;
	background: #000000;
	filter: alpha(opacity=80); /* internet explorer */
	-khtml-opacity: 0.8;      /* khtml, old safari */
	-moz-opacity: 0.8;       /* mozilla, netscape */
	opacity: 0.8;           /* fx, safari, opera */
	text-shadow: 1px 1px 0 #202020;
	width: 140px;
	padding: 0 5px;
	text-align: center;
	height: 36px;
	vertical-align: middle;
}

a.caption:hover {
	color: #cce9ff;
}

form {
	float: left; display: inline;
	height: 60px;
}

input {
	margin: 0; padding: 0;
	float: left; display: inline;
	border: none;
	padding: 3px;
	margin-bottom: 5px;
}
#user {
	width: 120px;
}
#pwd, #pwd_autofill {
	width: 70px;
}
#pwd_autofilee {
	visibility: hidden;
}
#invia {
	float: right;
	margin:0px 20px 0px 0px;
	background-color: #0081e8;
	color: white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	height: 20px;
}
#login p {
	font-size: 13px;
	line-height: 110%;
	
}
#breadcrumbs {
	width: 940px;
	font-size: 1em;
	font-weight: bold;
	text-align: left;
	margin-bottom: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; 
	background: url(images/box-bg.png) repeat;
	padding: 10px 20px;
}

#pages {
	float: left; clear: both;
	width: 940px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; 
	padding: 15px 20px 40px;
	margin-bottom: 30px;
}

.numeri_pagine {
	background-color: black;
	margin: 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 2px 6px 4px;
}

.numeri_pagine_underline {
	background-color: #003475;
	padding: 2px 6px 4px;
	margin: 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 
}

/* content page */

.content {
	float: left; display: inline;
	margin-bottom: 11px;
	width: 980px;
	text-align: center;
}
.content img {
	display: inline;
	margin-top: 11px;
}
.content .box-top {
	width: 980px;
	height: 12px;
	background: url(images/box-gallery-top.png) no-repeat;
}
.content .box-bot {
	width: 980px;
	float: left; display: inline; clear: both;
	height: 12px;
	background: url(images/box-gallery-bot.png) no-repeat;
}
.content .box-mid {
	width: 940px;
	float: left;
	text-align: left;
	font-size: 0.9em;
	padding: 20px;
	line-height: 150%;
}

.content .box-mid div {
	position: relative;
	float: left; display: inline;
}

h1 {
	font-size: 1.6em;
	border-bottom: 1px dotted black;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.link {
	margin-right: 30px;
	margin-left: 10px;
	height: 190px;
}

#search, #contatti {
	display: none;
	position: relative;
	top: 19px;
	right: 0px;
	width: 322px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; 
	background: url(images/box-bg.png) repeat;
	padding: 10px 20px 0;
	z-index: 99;
	margin-right: 3px;
	height: 34px;
}
#search input {
	float: left; display: inline;
}
#input-search {
	width: 220px;
	margin-right: 2px;
}
#menu-ricerca, #close-search, #menu-contatti, #close-contatti {
	cursor: pointer;
}
#close-search, #close-contatti {
	float: left;
	display: block;
	font-size: 0.9em;
	width: 22px;
	height: 22px;
	background: url(images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;
	cursor: pointer;
}



.races {
	float: left; display: inline;
	margin-bottom: 11px;
	width: 980px;
	text-align: center;
}
.races img {
	display: inline;
}
.races .box-top {
	width: 980px;
	height: 12px;
	background: url(images/box-gallery-top.png) no-repeat;
}
.races .box-bot {
	width: 980px;
	float: left; display: inline; clear: both;
	height: 12px;
	background: url(images/box-gallery-bot.png) no-repeat;
}
.races .box-mid {
	width: 980px;
	float: left;
	text-align: center;
			vertical-align: center;
}
.races .box-mid div {
	float: left;
	text-align: center;
	margin: 1px 0 1px 10px;
	vertical-align: middle;
	width: 150px;
	border: 1px solid black;
}
.races .box-mid a.homeimg {
	display: block;
	width: 150px;
	height: 100px;
	overflow: hidden;
	float: left; display: inline;
	margin-right: 9px;
	vertical-align: middle;
}
.races .box-mid img {
	width: 150px;
	}


.races .box-mid a.apic {
	display: inline;
	display:block;
	float:left;
	height:100px;
	width: 150px;
	overflow:hidden;
	position:relative;
	z-index:1;
		vertical-align: center;
}

#logout {
	float: right;
	margin-top: 8px;
	font-size: 14px;
}


/* TipTip CSS - Version 1.2 */

#tiptip_holder {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

#tiptip_holder.tip_top {
	padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
	padding-top: 5px;
}

#tiptip_holder.tip_right {
	padding-left: 5px;
}

#tiptip_holder.tip_left {
	padding-right: 5px;
}

#tiptip_content {
	font-size: 11px;
	color: #fff;
	text-shadow: 0 0 2px #000;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background-color: rgb(25,25,25);
	background-color: rgba(25,25,25,0.92);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

#tiptip_arrow, #tiptip_arrow_inner {
	position: absolute;
	border-color: transparent;
	border-style: solid;
	border-width: 6px;
	height: 0;
	width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
	border-bottom-color: #fff;
	border-bottom-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
	border-right-color: #fff;
	border-right-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	border-left-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
	margin-top: -7px;
	margin-left: -6px;
	border-top-color: rgb(25,25,25);
	border-top-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
	margin-top: -5px;
	margin-left: -6px;
	border-bottom-color: rgb(25,25,25);
	border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -5px;
	border-right-color: rgb(25,25,25);
	border-right-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -7px;
	border-left-color: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {	
	#tiptip_content {
		padding: 4px 8px 5px 8px;
		background-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_bottom #tiptip_arrow_inner { 
		border-bottom-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_top #tiptip_arrow_inner { 
		border-top-color: rgba(20,20,20,0.92);
	}
}

#login p {
 font-size: 10px;
}
#login {
 width: 156px;
 padding: 10px 0px 10px 40px;
 height: 67px;
 float: right;
}

#logout {
 font-size: 11px;
 margin-right: 10px;
}


#menu {
 margin-right: 0;
 width: 343px;
 float: left;;
}