/* Gestione degli overflow */

html {
	height: 100%;
}

html > body {
	overflow-y: hidden;
	height:100%;
}

div#bkg-star, div#bkg-footer, div#bkg {
	position:relative;
}

/* per IE7 
*:first-child+html div#elemento {
	
} */


div#bkg-star {
	height:100%;
	overflow: auto;
}
div#bkg-footer {
	height:100%;
	overflow: auto;
}
div#bkg {
	height:100%;
	overflow: auto;
}

div#container {
	position:relative;
	/*margin-top: 4px; se lo lascio mette lo scrollo di 4px*/
	}

#spot, #section, #container {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}

div#bkg {
background: #004C7D url(/_skin/_images/layout/sky_dark.jpg) repeat-x left top;
}

div#bkg-star {
	background-image: url(/_skin/_images/layout/bg_foto.png);
	background-repeat: no-repeat;
	background-position: center top;
	width:auto;
}

div#bkg-footer {
	background-image:none;
}

#header, #headerPag, #apriRicerca {
	border-bottom-color: #000000;
}

#link-spot h2, #testo a, #tu6in a, #menuOriz a, #menuOriz a:link, #menuOriz a:visited, #testo a, #testo a:link, #testo a:visited, #link-spot b, #link-spot strong {
	color: #FFCC33;
	border-bottom-color: #FFCC99;
}

#menuOriz a, #menuOriz a:link, #menuOriz a:visited {
	background-color:#006699;
}
#menuOriz a:hover {
	background-color: #006699;
}

#section a, #section b{
	color: #045A88;
	border-bottom-color: #DDF7FF;
}

#section div li a{
	color: #045A88;
}

#link-section {
	background-color:#EDE9CE;
}

#link-section div li a {
	color: #41622B;
}

#link-spot li a, #link-spot a  {
	color: #D9F5FF;
	border-bottom-color: #333333;
}

#link-spot li a:hover, #link-spot a:hover  {
	background-color: #FFFFFF;
	color:#336600;
	text-decoration:underline;
}

#spot {
	background-color: #F7FAFD;
}

#link-spot {
	color: #FFFFFF;
	background-color:#000000;
}
	
#link-spot, #link-section div, #section div {
	margin-right: auto;
	margin-left: auto;
	padding-left: 2em;
	padding-right: 2em;
	border:0;
}

#tornasu {background-color:#000000;}

#header-link ul li.label a {
	background-image: none;
	color:#3A2C2C;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #73A6C4;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CBDDE4;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #73A6C4;
	background-color:#DFEBEE;
}

#header-link li.label a.actual {
	/*background-color: #000000;*/
	color:#FFFFFF;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCDCE3;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #7893BE;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #7893BE;
}

#testo {
color:#FFFFFF;}

#testo h3 {
	background-color: transparent;
	color:#FFFFFF;
	border-top-color: #0099CC;
	border-right-color: #0099CC;
	border-bottom-color: #0099CC;
	border-left-color: #0099CC;
}
#testo h3 span, #dataAgg, div.descrizione p, div.tipo {
	color: #DDDDDD;
}
#menuSx {
	background-color: #1F1F1F;
}

#menuSx a, #menuSx i, #menuSx em{
	color: #FFFFFF;
	border-bottom-color: #000000;
	text-transform: uppercase;
}

#menuSx li li a, #menuSx i {
	color: #B3ECFF;
	border-bottom-color: #000000;
	text-transform:none;
}

#menuSx a span{
	color: #FFF3C4;
	text-transform:none;
}

#menuSx li li li a{
	color: #FFDA8C;
}

#menuSx li li li li a{
	color: #FFE1A4;
}

#menuSx a.actual
{
background-color: #B3ECFF;
color: #000000;
}

#pageNumber a.actual {
	color: #FF9900;
	text-decoration: underline;
	font-weight: bold;
}

.textAmaranto, .textName, #testo i, #testo b, b.textAmaranto, strong.textAmaranto {
	color:#7DDFFF;
}

#testo h4 {
	color: #C5F099;
}

#testo p.linkConcorso {
	font-variant: normal;
	border-bottom-style: none;
	text-align: center;
	font-size: 160%;
}

#actual {
	background-image:url(/_skin/_images/exp/bullet-ancora.gif);
	background-position: center 2px;
}



#corpo {
	background-image: url(/_skin/_images/layout/bg_foto-corpo.gif);
	background-repeat: repeat-y;
	background-position: left top;
	background-color: #1B1B1B;
}

#header-bkg {
	border-style: none;
	background-color:#1b1b1b;
	margin: 0px;
	padding: 0px;
	background-image: url(/_skin/_images/layout/bkg-header-foto.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height: 75px;
}
#container, #corpo, #header, #headerPag {
	border-style:none;
}
#testo {
	position: relative;
	margin-right: auto;
	margin-left: 176px;
	width:auto;
	padding-bottom: 0em;
	float:none;
	text-align: left;
}
#testo #email {
	position:absolute;
	bottom:-30px;
	left:420px;
}
#testo #email a, #testo #email a:link, #testo #email a:visited {
	width:220px;
	height:110px;
	display:block;
	background-image: url(/_skin/_images/foto/email.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
#testo #email a span {
	visibility:hidden;
}
#testo #email a:hover, #testo #email a:active, #testo #email a:focus {
	background-image: url(/_skin/_images/foto/email-hover.gif);
	background-color: transparent;
}


#facebook-ico {
	position:absolute;
	bottom:-65px;
	left:490px;
	height: 46px;
}

#rss {
	position:absolute;
	bottom:-10px;
	right:-5px;
	height: 46px;
}

#facebook-ico a, #facebook-ico a:link, #facebook-ico a:visited {
	width:78px;
	height:65px;
	display:block;
	background-image: url(/_skin/_images/layout/diventafan-facebook-foto.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-color: transparent;
}


#rss a, #rss a:link, #rss a:visited {
	width:50px;
	height:46px;
	display:block;
	background-image: url(/_skin/_images/layout/rss.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

#rss a:hover, #rss a:active, #rss a:focus {
	background-image: url(/_skin/_images/layout/rss-hover.png);
	background-color: transparent;
}

#facebook-ico a:hover, #facebook-ico a:active, #facebook-ico a:focus {
	background-image: url(/_skin/_images/layout/diventafan-facebook-foto-hover.png);
	background-color: transparent;
}
#rss a span {
	visibility:hidden;
}

#facebook-ico a span {
	visibility:hidden;
}

h1 a, #toolsPagina-layout_max, #toolsPagina-layout_perc, #toolsPagina-layout_fluido, #toolsSkin-skin_azzurro, #toolsSkin-skin_rosso, #toolsSkin-skin_verdem, #toolsSkin-skin_blu, #toolsSkin-skin_giallo, #toolsSkin-skin_bianco {
	display:none;
}
#testo a {
	text-decoration:none;
}
#corpo, #testo, #testo i {
	
	color: #FFFFFF;
}
#testo #pageNumber {
	text-align: center;
	color: #666666;
}

#testo #pageNumber a:active, #testo #pageNumber a:focus{
	color: #000000;	
}

#testo h3 {
	color: #ff9900;
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background-color: #1b1b1b;
	font-weight: normal;
	font-size: 200%;
	padding: 0px;
}
#testo b {
	color: #5CCDFE;
	border-color: #8BD1DE;
}
#testo a:hover {
	color: #000000;
}

#testo #pageNumber a:hover {
	background-color:#000000;
}

#testo h4 {
	display:inline;
	color: #FFCC33;
}

#footer {
	background-image: url(/_skin/_images/layout/line-base.png);
	background-repeat: no-repeat;
	background-position: center top;
		
}



#footer p {
padding-top:14px;}

#fotoPos {
	margin:0px;
	padding:0px;
}
#fotoPos {margin-bottom: 20px;}
#fotoPos img.hideBtn {
	display:none;
}

/* Archivio Fotografico*/
#menuTopGrafico {
	top:-12px;
	padding:0px;
	margin:0px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #FFCC00;
	font-weight: bold;
	position:relative;
	width: 100%;
	text-align:right;
}
#menuTopGrafico ul, #menuTopGrafico li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#menuTopGrafico li {
	display: inline;
}
#menuTopGrafico li a span, #menuTopGrafico li a, #menuTopGrafico li a:link, #menuTopGrafico li a:active, #menuTopGrafico li a:visited {
	color: #FFCC00;
	text-decoration: none;
}

/*gestione del focus a transparent, se no metteva il focus giallo come impostato su stile.css */
#menuTopGrafico li a:focus {
	background-color: transparent;
}

#moduloRicerca {
	background-image: url(/_skin/_images/layout/moduloricercafoto.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 0px;
	padding: 8px 0px 0px 8px;
	position:absolute;
	height:70px;
	width:150px;
	top:-1px;
	left:444px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FFCC00;
	text-align: left;
}

#moduloRicerca label {
	font-weight: normal;
}

#moduloRicerca input {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	width: 118px;
	height: 16px;
	margin-top: 2px;
	font-size: 110%;
	padding: 2px;
}
#inviafoto span {
	display:none;
}

#inviafoto {
	background-image: url(/_skin/_images/layout/inviafoto.gif);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 0px;
	padding: 0px;
	position: absolute;
	height:53px;
	width:137px;
	top:0px;
	left:600px;
}
a#inviafoto:hover, a#inviafoto.current, a#inviafoto.current, a#inviafoto:active {
	background-image: url(/_skin/_images/layout/inviafoto-hover.png);
}

#headerPag #menuTopGrafico {
	color: #cccccc;
	text-align: right;
	margin-top: 1em;
}

/* Galleria */
#cats {
	overflow:hidden;
	height:465px;
}
#menuSxFoto {
	width: 168px;
	float: left;
	color: #FFFFFF;
	margin-left:0;
	background-color: #000000;

	padding-bottom: 10px;
}
#menuSxFoto ul, #menuSxFoto li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}



#menuSxFoto li {
	margin-right: auto;
	margin-left: auto;
	padding: 2px 0px 2px 10px;
	margin-top: 0px;
	margin-bottom: 4px;	/*height: 93px;*/
}

#menuSxFoto li a {
	color: #FFFFFF;
	text-decoration: none;
	display:block;
	width:100%;
	position:relative;
}

#menuSxFoto li a span {
	display:block;
	position:absolute;
	top:2px;
	right:5px;
	color:#555;
	font-size:86%;
}
#menuSxFoto li a:hover span {
	color:#CCC;
}

#menuSxFoto a:hover img {
	border: 1px solid #FF9900;
}
#menuSxFoto li.current img {
	border: 1px solid #FF9900;
}
#menuSxFoto li.current {
	background-image: url(/_skin/_images/foto/arrow-dx.gif);
	background-position: 151px center;
	background-repeat: no-repeat;
	background-color: #1B1B1B;
}

#menuSxFoto li.current a {
	color: #FFCC00;
}

#menuSxFoto li.current a span {
	display:none;
}

#menuSxFoto li:hover {
	background-color: #1B1B1B;
}

#menuSxFoto li a:hover, #menuSxFoto li a:active {
	color: #FFCC00; background-color: #1B1B1B;
}
#menuSxFoto li.button a img {
	border: 1px solid #000000;
}
#menuSxFoto li.button {
	display: inline;
}
#foto {
	text-align:center;
	position: relative;
	margin:0;
	padding:0;
	min-height:322px;
}
#foto img.img460x322 {
	padding: 0.8em;
	border: 1px solid #333333;
	background-color: #FFFFFF;
	margin-top: 1em;
	margin-right: auto;
	margin-left: auto;
}
#foto img.next {
	position: absolute;
	left: 494px;
	top: 26px;
	cursor:pointer;
}
#foto img.prec {
	position: absolute;
	left: 470px;
	top: 26px;
	cursor:pointer;
}
#foto .box {
	height:20px;
	width:20px;
}
#foto img.slideshow {
	position: absolute;
	left: 510px;
	top: 56px;
	background-color:#FFFFFF;
	padding:2px;
}
#foto a img.prec, #foto a img.next, #foto a img.slideshow, #galleryFoto a img.prec, #galleryFoto a img.next {
	margin: 0px;
	padding: 0px;
	border:0;
}

div#galleryFoto .prec, div#galleryFoto .next {
	margin: 0px;
	padding: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
img.size-thumbnail {
	margin-right: 5px;
	margin-bottom: 5px;
	margin-top: 0px;
}

div#galleryFoto {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 6px;
	margin-right: auto;
	margin-left: auto;
}
div#galleryFoto ul {
	margin-right: auto;
	margin-left: auto;
	margin: 0;
	padding: 0;
}

div#galleryFoto img.foto80x56 {
	background-color: #FFFFFF;
	padding: 4px;
	margin:0;
	opacity: 0.7;
}
div#galleryFoto a.selected img.foto80x56 {
	background-color: #FFFDDD;
}

#foto a:hover img.prec, #foto a:hover img.next, #foto a:hover img.slideshow, #galleryFoto a:hover img.prec, #galleryFoto a:hover img.next {
	margin: 0px;
	padding: 0px;
	border:0;
}
#galleryFoto a:hover img.prec, #galleryFoto a:hover img.next {
	background-color:#1B1B1B;
}
#foto #descrizione {
	position: absolute;
	left: 62px;
	bottom: 14px;
	height: auto;
	width: 452px;
	background-image: url(/_skin/_images/layout/dark-bkg-trans.png);
	background-repeat: repeat;
	background-position: left top;
	font-size: 90%;
	text-align: center;
	display:block;
	padding: 2px 4px;
}

#foto #descrizione strong, #foto #descrizione b {
	color: #FFFFFF;
}

#buttons {
	margin-bottom: 4px;
	margin-top: 4px;
}

#buttons li img {cursor: pointer;}

#moduloRicerca {
	margin-bottom: 10px;
}
#moduloRicerca input {
	font-size: 99%;
}
#testoFoto  {
	min-height:450px;
}
#testoFoto label {
	display:block;
	margin-top:5px;
}

#testoFoto fieldset input, #testoFoto fieldset select {
	margin:1%;
	width:98%;
}

#testoFoto input.button {
	width:auto;
	margin-top:5px;
}

#testoFoto fieldset {
	background-color:#000;
	width:96%;
	margin-left:auto;
	margin-right:auto;
}
#testoFoto fieldset legend {
	font-weight:bold;
	color: #FF9900;
}

div.quoteImportant {
	background-color: #333333;
	padding: 10px;
	text-align: center;
	width: 300px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 30px;
	color: #FFCC00;
	margin-bottom: 30px;
	border-top: 1px solid #FFCC33;
	border-right: 1px solid #FF9900;
	border-bottom: 1px solid #FF9900;
	border-left: 1px solid #FFCC33;
}

.inviaFoto {
	color: #000000;
	
	background-color: #FFCC00;
}

input.bgcolor {
	background-color: #FFFFE6;
}

#facebook {
	margin-top: 20px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

#foto #vota
{
	position: absolute;
	left: 76px;
	top: 19px;
	cursor: pointer;
	height: 240px;
	width: 44px;
	vertical-align: bottom;
	text-align: right;
	background-repeat: no-repeat;
	background-position: top;
}

#vota.vota0 {background-image: url(/_skin/_images/foto/vota.png);}
#vota.vota1, #vota.vota2 {background-image: url(/_skin/_images/foto/vota-cn150.png);}

#vota.vota0:hover{background-image: url(/_skin/_images/foto/vota-hover.png);}
#vota.vota1:hover{background-image: url(/_skin/_images/foto/vota-cn150-hover.png);}

#foto #voti
{
	position: absolute;
	left: 10px;
	top: 26px;
	height: 69px;
	width: 68px;
	padding-top: 28px;
	text-align: center;
	color: #000000;
	background-image: url(/_skin/_images/foto/voti.png);
	background-repeat: no-repeat;
}

#foto #smVoti
{
	position: absolute;
	left: 54px;
	bottom: -12px;
	width: 460px;
	height:1.5em;
	text-align: left;
	padding-right: 8px;
	padding-left: 8px;
	color: #CC0000;
	background-color: #FFFFFF;
	padding-top: 4px;
	padding-bottom: 4px;
	font-weight: bold;
}
#foto #smVoti.spinner {
	background-image: url(/_skin/_images/ajax/ajax-loader.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

#smConcorsoChiuso {
	position: absolute;
	left: 76px;
	top: 19px;
	height: 270px;
	width: 44px;
	vertical-align: bottom;
	text-align: right;
	background-repeat: no-repeat;
	background-position: top;
	background-image: url(/_skin/_images/foto/smconcorsochiuso.png);
	background-repeat: no-repeat;
}

#regolamentoFoto {
	height:380px;
	overflow: auto;
	padding: 5px;
	background-color: #141414;
	border-top: 2px solid #666666;
	border-right: 2px solid #333333;
	border-bottom: 2px solid #333333;
	border-left: 2px solid #666666;
}
#regolamentoFoto p, #regolamentoFoto li {
	line-height: 200%;
	font-size: 80%;
}

#regolamentoFoto h2 {
	font-size: 150%;
	font-weight: normal;
	text-align: center;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-shadow: #000000 0px 1px 3px;
	color: #CC0000;	
	
}

#regolamentoFoto h3 {
	font-size: 130%;
	padding-bottom: 270px;
	background-image: url(/_skin/_images/foto/fiat500.png);
	background-repeat: no-repeat;
	background-position: center 0px;
	text-shadow: #1659ac 0px 1px 3px;
	color: #FFFFFF;
	background-color: #141414;
}


#regolamentoFoto p.titolo {
	text-align: right;
	margin-top: -32px;
}

#corpo {
	padding-bottom: 1px;
}

#concorso h4 {
	border-width: 0px;
	border-style: none;
	text-align: center;
}

#concorso h3.noconcorso, #concorso a.noconcorso, #concorso a.noconcorso:link {
	color:#9ACC68;
}

#concorso a:hover.noconcorso  {
	color:#9ACC68;
	background-color: #000000;
}

#concorso div a img {
	margin: 0px;
	padding: 0px;
	background-color: #1b1b1b;
}

#concorso div {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	background-color: #1b1b1b;
	margin-top: 10px;
}

p.importante {
	background-color: #FFFFFF;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #FF0000;
	color: #000000;
	padding-left: 16px;
}

#testoFoto p.importante b, #testoFoto p.importante a{
	color: #FF0000;}
	
#vincitori	{
	width: 96%;
	margin-top: 30px;
	float: right;
}
	
#vincitori h4 {
	text-align: left;
	font-size: 180%;
	margin-top: 20px;
	display: block;
}

#vincitori h5 {
	text-align: left;
	border-bottom-width: 0px;
	border-bottom-style: none;
	color: #FEAB30;
	font-size: 150%;
}

