/*
Theme Name: Gianni Piva
Theme URI: http://www.davidedalcolle.it
Description: Tema wordpress realizzato da Davide Dal Colle
Version: 1.0
Author: Davide Dal Colle
Author URI: http://www.davidedalcolle.it

Copyright © Davide Dal Colle
*/



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, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
	font-family: "Lucida Grande", "Lucida Sans Unicode ", sans-serif;
}


ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

a{
text-decoration: none;}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden; 
}

body{
	background: url(media/back.png) repeat-x #040404;}

.wrapper{
	width: 1090px;
	margin: auto;}
	
.header{
	background: url(media/header.png) repeat-x;
	height: 103px;
	padding: 30px 0 0 0;}

.header a{
	width: 259px;
	height: 42px;
	text-align: center;
	font-family: Georgia, serif;
	font-size: 30px;
	display: block;
	margin: auto;
	background: url(media/logo.png);
	overflow: hidden;
	text-indent: 5000px;}

/* Lingue */

.qtrans_language_chooser{
	position: absolute;
	top: 86px;
	left: 50%;
	margin-left: -110px;}

.qtrans_language_chooser li{
	display: block;
	float: left;}

.qtrans_language_chooser li a{
	color: white;
	font-size: 12px;
	padding: 10px;
	width: 100px;}

/* Nav */

.nav{
	background: black;
	height: 31px;
	padding: 0 0 0 105px;
	position: relative;
	z-index: 2000;}

.nav ul{
	font-size: 13px;}

.nav ul li{
	position: relative;
	display: inline;}

.nav ul li a{
	width: 110px;
	height: 31px;
	display: inline-block;
	background: url(media/nav.png) -220px 0px;
	text-align: center;
	color: #181818;
	line-height: 28px;
	padding: 0;
	margin: 0 -4px 0 0;
	font-weight: bold;}
 
.nav ul li a:hover{
	background: url(media/nav.png) 0px 0px;
	color: #f2f2f2;}

.nav ul li.current_page_item a{
	background: url(media/nav.png) -110px 0px;
	color: #f2f2f2;
	font-weight: bold;}

.nav ul li.current_page_parent a{
	background: url(media/nav.png) -110px 0px;
	color: white;
	}

/* Submenu */


.nav ul li ul{
	display: none;
	position: absolute;
	top: 25px;
	left: -15px;
	background: url(media/submenu.png) repeat-x;
	width: 140px;
}


.nav ul li:hover > ul{
	display: block;
	z-index: 30000;
	padding: 20px 0 1px 0;
	line-height: 13px;
	}

.nav il li:hover ul li{
	position: inherit;}



.nav ul li:hover > ul li a{
	display: block;
	float: none;
	background: none;
	width: 130px;
	height: auto;
	margin: 0 5px 10px 5px;
	height: auto;
	color: #ccc;
	line-height: 15px;
	z-index: 100000;}

.nav ul li:hover > ul li a:hover{
	color: white;}

/* Content */

.content{
	background: black;
	height: 400px;
	color: white;
	padding: 33px 30px 24px 30px;
	position: relative;
	color: #ccc;}
	
.centered{
	text-align: center;
	display: block;}	
	
.subpages{
	padding: 30px 0 0 0;
	position: absolute;
	left: 50%;
	margin-left: -155px;	
	top: 50px;}

.subpages li a{
	display: block;
	background: url(media/scelta.png);
	width: 312px;
	height: 40px;
	color: white;
	text-align: center;
	line-height: 39px;
	font-size: 14px;
	margin: 0 0 20px 0;
	color: #ccc;}

.subpages li a:hover{
	background: url(media/scelta2.png);}
	
#subpages .entry{
	padding-left: 35px;}	
	
.entry{
	font-size: 13px;
	line-height: 20px;
	overflow: auto;
	height: 400px;
	padding: 0 77px 0 75px;
	position: relative;}	

.entry h2{
	color: #c7221d;
	font-size: 24px;
	padding: 10px 0 30px 20px;
	text-align: center;}

.entry h3{
	color: #c7221d;
	font-size: 20px;
	padding: 10px 0 18px 0;
	font-weight: bold;}


.footer{
	background: url(media/footer.png) repeat-x;
	text-align: center;
	height: 138px;
	color: #f1f1f1;
	font-size: 13px;
	font-weight: bold;}
	
.footer a{
	color: #f1f1f1;}

.footer p{
	padding: 62px 0 0 0;}
	
/* Gallery */

.element{
	width: 165px;
	float: left;
	padding-right: 14px;
	padding-bottom: 14px;
	height: 200px;}

#standard .entry{
	padding-right: 25px;
	padding-left: 25px;}

#gallery .content{
	overflow: auto;
	width: 910px;
	padding-left: 106px;
	padding-right: 70px;
	}

#gallery a, #standard a{
	position: relative;}

#gallery .element img, #standard a img, #subpages a img{
	border: solid 7px #333;
	margin-bottom: 10px;}
	
#gallery a:hover img, #standard a:hover img,  #subpages a:hover img{
	border-color: #666;}	

#gallery a span, #standard a span{
	position: absolute;
	left: 0;
	top: -20px;
	color: white;
	font-size: 12px;
	text-align: center;
	width: 163px;
	height: 35px;
	line-height: 14px;}

#gallery span{
	font-size: 12px;
	text-align: center;
	display: block;}

.hvlog{
	float: left;
	padding: 20px 20px 20px 0;}

.hvlog a{
	color: red;
	font-weight: bold;}


/* esposizioni */

#esposizioni .subpages{
	padding: 30px 0 0 0;
	position: absolute;
	left: 50%;
	top: 370px;
	margin-left: -150px;}
	
#esposizioni .entry{
	padding: 0 0 0 35px;}
	
.expo{
	position: absolute;
	background: url(media/dot.png) no-repeat;
	width: 21px;
	height: 21px;
	line-height: 13px;
	font-size: 12px;
	z-index: 1000;}

* html #esposizioni .content a:hover {background: url(media/dot.png) #f2f2f2; text-decoration:none;} /*BG color is a must for IE6*/

* html #esposizioni .subpages li a:hover{
	background: url(media/scelta2.png);}

a.expo span {
	display:none;
	}

a.expo:hover span{
	display:block; 
	position:absolute; 
	background: url(media/span1.png) no-repeat;
	width: 170px;
	bottom: 0;
	left: -80px;
	padding: 10px 5px 3px 5px;
	margin-bottom: 45px;
	z-index: 10000;
	color: white;
	text-align: center;
	}

.expo span img{
	position: absolute;
	bottom: -21px;
	left: 0;}

/* Punti */

#ita-est{
	top: 104px;
	left: 523px;
	z-index: 15000;}
	
#ita-ovest{
	top: 109px;
	left: 505px;
	z-index: 15000;}

#ita-center{
	top: 125px;
	left: 521px;
	z-index: 20000;}

#florida{
	top: 150px;
	left: 280px;
	z-index: 20000;}

#sanfrancisco{
	top: 130px;
	left: 180px;}

#nyork{
	top: 115px;
	left: 300px;}

#losangeles{
	top: 146px;
	left: 187px;}

#domenica{
	top: 174px;
	left: 308px;
	z-index: 20000;}

#mexico{
	top: 165px;
	left: 225px;}

#jap{
	top: 135px;
	left: 830px;}

#spain{
	top: 125px;
	left: 475px;
	z-index: 20000;}

#russia{
	top: 80px;
	left: 580px;}

#england{
	top: 87px;
	left: 477px;}
	
#ukraina{
	top: 100px;
	left: 560px;}

#arabia{
	top: 160px;
	left: 600px;
	z-index: 2000000;}
	
#kuwait{
	top: 150px;
	left: 620px;}

#corea{
	top: 125px;
	left: 805px;}

#svizzera{
	top: 90px;
	left: 510px;
	z-index: 2000;}
	
/* Home */	

#home .content{
	background: url(media/home.jpg) no-repeat center top black;
	position: relative;}
	
.tickercontainer{
	position: absolute;
	z-index: 1000;
	top: 620px;
	left: 50%;
	margin-left: -515px;
	color: white;
	font-size: 12px!important;}
	
#index .tickercontainer{
	display: none;}
	
	
#home .mask{
width: 860px;
overflow: hidden;
margin: 0 0 0 85px;
position: relative;}

	
#home ul.newsticker { /* that's your list */
position: relative;
font-size: 16px;
display: table;
width: auto;
padding-left: 40px;
padding-top: 10px;
}

#home ul. li {
display: inline;
}

#home ul.newsticker li p, ul.newsticker  li h6{
	display: inline;
	}
	
#home ul.newsticker  li h6{
	font-weight: bold;
	font-size: 12px;
	padding-left: 40px;}

#home ul.newsticker{
	font-size: 12px;}


#home .atom{
	color: black;}
	
/* Altre news */


*:first-child+html #gallery .tickercontainer{

background: red;
}

.mask{
	width: 860px;
	height: 28px;
	overflow: hidden;
	margin: 0 0 0 85px;
	position: relative;}

ul.newsticker { 
position: relative;
font-size: 14px;
display: table;
width: auto;
padding-left: 40px;
padding-top: 10px;
z-index: 400000;
}

ul.newsticker li {
display: inline;
}

ul.newsticker li p, ul.newsticker  li h6{
	display: inline;
	}

ul.newsticker  li h6{
	font-weight: bold;
	padding-left: 40px;}

ul.newsticker .atom{
	color: black;
	display: none;}
	
/* Intro */

#intro-footer{
	height: 40px;
	display: table;
	margin: auto;
	width: 250px;}

#index .footer{
	height: 100px;
	padding: 0;
	margin: 30px auto auto auto;
	background: none;
	padding: 30px 0 0 0;}


#index .footer p{
	padding: 0;
	margin: 80px 0 0 0;
	font-size: 9px;
	font-weight: normal;}

#index{
	background: black;
	position: relative;
	height: 100%;}

#intro-header{
	width: 668px;
	height: 116px;
	line-height: 400px;
	overflow: hidden;
	background: url(media/homepage-logo.png);
	margin: auto;
	color: white;
	display: block;}

#intro-center{
	width: 1000px;
	height: 547px;
	background: url(media/homepage-grande.jpg) center top;
	margin: auto;
	}
	
#intro-titolo{
	width: 642px;
	height: 52px;
	background: url(media/homepage-titolo.png);	
	margin: auto;}

.intro-ita{
	text-indent: 3000px;
	overflow: hidden;
	display: block;
	float: left;
	width: 100px;
	height: 30px;
	margin-left: 20px;
	background: url(http://www.giannipiva.com/wp-content/plugins/qtranslate/flags/it.png);}
	
.intro-eng{
	text-indent: 3000px;
	overflow: hidden;
	display: block;
	float: left;
	width: 100px;
	height: 30px;
	margin-left: 20px;
	background: url(http://www.giannipiva.com/wp-content/plugins/qtranslate/flags/gb.png);}
	
.intros{
	position: absolute;
	top: 800px;
	color: #ccc;
	font-size: 10px;
	line-height: 14px;
	width: 100%;
	text-align: center;
	width: 900px;
	left: 50%;
	margin-left: -450px;}
	
/* Video */

.videos {
	width: 400px;
	float: left;
	padding-right: 22px;
	padding-bottom: 40px;
	z-index: 30000;}

.flashlink{
	position: absolute;
	top: 40px;
	font-size: 18px;}