html {
	background-color: #182932;
}

body {
	width: 740px;
	width: 746px;
	margin: 0 auto 30px;
	background-color: #fff;
	font-family: Verdana, Arial, sans-serif;
	font-size: 85%;
	position: relative;
}

a img {
	border: none;
}

td, th {
	text-align: left;
	vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

#main h2 {
	font-size: 1.4em;
	font-variant: small-caps;
	margin-top: 1em;
	margin-bottom: .5em;
	color: #333;
	border-bottom:1px dotted #ccc;
}

textarea {
	font-family: Arial, sans-serif;
	overflow: auto;
}

h1 {
	font-family: Arial, sans-serif;
	font-size: 1.5em;
	border:2px solid #0075DF;
	background: url(img/comune.gif) no-repeat 10px center;
	padding: 10px 10px 10px 50px;
	margin-bottom: 20px;
	height: 1%;
}

.clear {
	clear: both;
}

.discreet {
	font-weight: normal;
	color: #666;
	font-size: .9em;
}

.descrizione {
	font-style: italic;
}

#top {
	height: 98px;
	background: #A5ADBF url(img/sfondo.jpg) no-repeat 197px 0;
}

#top img {
	display: block;
}

#container {
	background: url(img/sfondo-menu.jpg) repeat-y;
	overflow: auto;
}

#ricerca {
	height: 33px;
	position: absolute;
	top:0;
	right: -26px;
	background: #182932 url(img/cerca-tamai.gif) no-repeat bottom left;
	margin: 0;
	padding: 16px 0 0 8px;
}

#ricerca #text {
	width: 145px;
	border: 1px solid #A5ADBF;
	padding-left: 4px;
	font-weight: bold;
}

#ricerca #freccia {
	position: relative;
	top: 3px;
	left: 6px;
}

#menu {
	width: 213px;
	float:left;
	padding: 25px 0 25px 25px;
}

#menu h2 {
	margin-top: 20px;
}

#menu h2 img {
	display: block;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
	width: 178px;
	font-size: .8em;
	border-left: 2px solid #333;
	border-right: 2px solid #333;
/*	display: none; */
	z-index: 100;
	position:relative;
	margin-top: -6px;
}

#menu ul.selected {
	display: block;
}

#menu li {
	border-top: 1px solid #ccc;
	background-color: #fff;
}

#menu li.first {
	border-top: none;
	padding-top: 6px;
	background: url(img/cover-first.gif) no-repeat;
}

#menu li.last {
	padding-bottom: 7px;
	margin-right: -2px;
	margin-left: -2px;
	background: #fff url(img/last-menu.gif) no-repeat 0 bottom;
}

#menu li.last a {
	border-left: 2px solid #333;
	border-right: 2px solid #333;
}

#menu h2 a {
	padding: 0;
	display: inline;
}

#menu a {
	color: #07b;
	text-decoration: none;
	display: block;
	width: expression("158px");
	padding: 3px 10px;
	background-color: #fff;
}

#menu a:hover {
	background-color: #005198;
	color: #fff;
}

#menu a.selected {
	color: #fff;
	font-weight: bold;
	padding-right: 18px;
	width: expression("150px");
	background: #005198 url(img/tri.gif) no-repeat 168px center;
}

#main #fotohome {
	margin: 0;
	position: relative;
	left: expression("-3px");
	height: 260px;
}

#fotohome img {
	border: 1px solid #ccc; 
	background-color: #e0e0e0;
	padding: 5px;
	height: 230px;
}

#main #fotohome li {
	padding: 0;
	background: none;
}

#notizie {
	width: 230px;
	padding-right: 18px;
	border-right: 2px solid #ccc;
	float: left;
	margin-right: 18px;
	height: 400px;
}

#main #notizie ul, #main #dicono ul {
	margin: 1em 0 0;
	padding: 0;
	font-size: .9em;
}

#main #notizie li, #main #dicono li {
	background: none;
	margin-bottom: .5em;
	padding: 0;
}

#notizie a, #dicono a {
	text-decoration: none;
	color: #005198;
	font-weight: bold;
}

#notizie a:hover, #dicono a:hover {
	border-bottom: 1px dotted #8cf;
}


#notizie h2, #dicono h2 {
	font-variant: normal;
	font-size: 1.4em;
	background-color: #07b;
	color: #fff;
	border-bottom:2px solid #037;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
	padding: 2px 10px;
	margin-top: 0;
}

#notizie h2 {
	background-color: #07b;
	border-bottom:2px solid #037;
}

#dicono h2 {
	background-color: #f90;
	border-bottom:2px solid #d70;
	margin-left: 268px;
}

#main {
	margin: 0 20px 0 250px;
	padding: 20px 0 20px;
	font-size: .9em;
	line-height: 1.5;
}

#main p {
	margin: 0 0 .5em;
}

#main #submenu {
	margin: 0 -18px 10px 10px;
/* Double margin IE */
	margin-right: expression("-10px");
	width: 160px;
	font-size: .9em;
	float: right;
}


#main #submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 160px;
	border: 2px solid #182932;
	border-right: none;
	background-color: #BFC5D2;
	text-align: right;
}

#submenu h3 {
	font-size: 1em;
	margin-bottom: 2px;
}

#submenu h3 a {
	display: block;
	background-color: #0075DF;
	color: #fff;
}

#submenu h3 a:hover {
	background-color: #0075DF;
	color: #fff;
}



#main #submenu li {
	border-top: 1px solid #999;
	padding: 0;
	background: none;
}

#submenu li.first {
	border-top: none;
}

#submenu a {
	text-decoration: none;
	color: #000;
	padding-right: 10px;
	padding-left: 10px;
	display: block;
	width: 140px;
}

#submenu a:hover {
	background-color: #fff;
}

#submenu a.selected {
	background-color: #fff;
	text-align: left;
	border-left: 2px solid #fff;
	margin-left: -4px;
	border-bottom: 1px solid #182932;
	border-bottom: expression("none");
}

#footer {
	background: url(img/fondo-pali.jpg) no-repeat;
	text-align: right;
	clear: both;
	height: 38px;
	font-size: .8em;
	color: #666;
	padding-right: 20px;
}

/*
 * Stili per la pagina
 */

#main ul {
	list-style: none;
	padding: 0;
	margin: .5em 2em;
}

#main li {
	padding-left: 14px;
	background: url(img/bullet.gif) no-repeat 0 5px;
}

/*
 * Stili per il pubblicatore
 */

iframe {
	float: left;
}

.warning {
	background-color: #F1D75B;
	padding: 10px;
	font-weight: bold;
	color: #000;
	border:2px solid #EEA72A;
	margin:1em 0;
}

.labelblock label {
	display: block;
	font-weight: bold;
	margin-top: 1em;
}

ul#viste {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
	text-transform: lowercase;
	border-bottom: 1px solid #34A034;
	float: left;
	width: 100%;
}

#viste li {
	float: left;
	background: none;
}

#viste a {
	color: #000;
	text-decoration: none;
	padding: 3px 10px;
	margin: 0 20px;
	border: 1px solid #34A034;
	border-top: 3px solid #34A034;
	background-color: #BCFABC;
	display: block;
	position: relative;
	top: 1px;
}

#viste a:hover, #viste .selected {
	background-color: #fff;
}


.contenuti {
	border-collapse: collapse;
}

.contenuti td {
	border-bottom: 1px solid #ccc;
	border-left: 1px dotted #ccc;
	border-right: 1px dotted #ccc;
	padding: 2px 5px;
}

.contenuti th {
	text-align:center;
	padding: 5px 20px;
	border-bottom: 2px solid #999;
	border-top: 2px solid #999;
	background-color: #547BAF;
	color: #fff;
}

#personalbar {
	background-color: #BBE3F7;
	border-top: 1px solid #4282AA;
	border-bottom: 1px solid #4282AA;
	text-align: right;
	padding-right: 15px;
}

#personalbar a {
	text-decoration: none;
	background: url(img/dots.gif) no-repeat 0 3px;
	padding: 0 4px 0 10px;
	color: #4282AA;
}

#personalbar a:hover {
	background-color: #4282AA;
	color: #fff;
}

#user {
	background: url(img/user.png) no-repeat 0 2px;
	padding-left: 10px;
}

.button {
	text-decoration: none;
	padding: 3px 10px;
	border-top:1px solid #ccc;
	border-left:1px solid #ccc;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	background-color: #eee;
	color: #000;
	width: 200px;
	display: block;
}

.button:hover {
	padding: 4px 9px 2px 11px;
}



.contentActions {
	background-color: #BBE3F7;
	border: 1px solid #333;
	color: #333;
	cursor: pointer;
}



/*
 * End stili per il pubblicatore
 */ 


.righe td {
	border-bottom: 1px solid #ccc;
	padding: 15px;
}

#lista-notizie li {
	margin-bottom: 1em;
}

#main #foto {
	list-style: none;
	padding:0;
	clear:both;
	margin: 20px 0 0;
}

#foto li {
	background: none;
	padding: 0;
	margin: 0 10px 10px 0;
	float: left;
}

#foto img {
	padding: 5px;
	background: #e0e0e0;
	border:1px solid #ccc;
	display: block;
}





/*
 * Begin Stile LIGHTBOX
 */

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(img/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(img/prev.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(img/next.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

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

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	

/*
 * End Stile lightbox
 */

#main #risultati {
	margin-top: 2em;
}

#risultati li {
	background: none;
	padding: 0;
	margin-bottom: .5em;
}

#personalbar, h1, .warning {
	height: 1%;
}


/*
 * Stili interni alla pagina, da assegnare all'editor
 */

.importante {
	padding: 5px;
	border: 2px solid #0075DF;
	background-color: #E6F1FF;
	margin: .5em 0;
}

.evidenziato {
	font-weight: normal;
	background-color: #ff0;
	padding: 0 4px;
}

img.left {
	float:left;
	margin: 0 15px 15px 0;
}

img.right {
	float:right;
	margin: 0 0 15px 15px;
}

img.cornice {
	padding: 5px;
	border:1px solid #ccc;
	background-color: #f0f0f0;
}

/*
 * End stili interni alla pagina
 */

#map {
	width: 460px;
	height: 460px;
}
