a:link {
   color: Blue;
}
a:visited {
   color: Gray;
}
a:active {color: #C80000;}
a:hover {color: Red;}


/*stili per il layout fisso*/
html,body{margin: 0;padding:0}
body{font-family: arial,sans-serif;text-align: center}
div#container{
   width: 95%;
   margin: 0 auto;
   text-align: left;
   border-left: 2px solid Gray;
   border-right: 2px solid Gray;
}

/*stili generici, su header e footer*/
div#header{
   background-color: #fffe91;
   text-align: center;
   border-top: 2px solid Gray;
   border-bottom: 2px solid Gray;
}
h1,h2{margin: 0;padding:0}
h1{font: bold 2.3em/80px arial,serif}
h2{color: #999;font-size: 1.5em}


/*stili specifici per il layout*/
div#navigation{
   float: left;
   width: 160px;
   \width: 170px;
   w\idth: 160px;
   padding: 1em 0 0 10px;

   height: 20em;
}
div#content{
   margin: 0 0 0 10em;
   text-align: justify;
   padding: 3em;
   border-left: 1px solid Gray;
}

div#footer{
	clear: both;
	text-align: center;
	padding: 0.5em;
	background-color: #fffe91;
	color: #000;
	font-size: 0.75em;
   border-top: 2px solid Gray;
   border-bottom: 2px solid Gray;
}








.Testo_ris {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	color: Aqua;
}
.piccolo {
	font-size: 50%;
}

/* menu */
li, li a {box-sizing: content-box;}/* IE7: force "layout" for menu items (this is the same as the "holly" hack) */

ul {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid silver;
	font: 1em sans-serif;
}
ul li {
	list-style-type: none;
	border: 1px solid silver;
	border-width: 1px 1px 0 3px;
	position: relative;
	margin: 0;
	padding: 0;
}
ul ul {display: none;}/* nasconde i sottomenu */
ul li:hover > ul {/* mostra i sottomenu */
	display: block;
	position: absolute;
	top: -1px;
	right: 100%;
}
li a {
	display: block;
	padding: 5px 7px;
	text-decoration: none;
	background-color: #ffffff;
}
li.sub > a {
	font-weight: bold;
	background-color: #ffffee;
}

ul ul {width: 10em;}/* larghezza sottomenu */

#ind {
   /* impostazioni generali del menu quando non è hover */
   width: 8em;
   margin: 0;
   padding: 0;
   font-family: Arial, sans-serif;
   background-color: #fffe91;
   border: 3px solid Gray;
}
#ind > ul {
	width: 100%; 
	margin-right: 0px;
	font-size: 85%;
}
#ind ul {/* bordo intorno a rtnv */
	border: 1px solid silver;
	border-width: 0 0 0 1px;
}
#ind ul li {/* elementi del menu principale */
	border-width: 1px 0;
	border-color: white;
	padding: 0 0 0 5px;
	line-height: 1.25em;
}
#ind ul ul {/* caratteristiche del sottomenu */
	border-width: 0 1px 1px 1px;
	border-color: gray silver gray gray;
}
#ind ul ul li {
	border-color: #fefefc;
}/* elementi del sotto-menu */
#ind li > a {/* tutti gli elementi li che sono links (gli altri non subiscono modifiche) */
	background-color: transparent;
	padding: 3px;
}
#ind li:hover {
	/* elementi del menu e del sotto-menu al passaggio del mouse */
	background-color: #ffff00;
	border: 1px solid gray;
	padding: 0 0 0 4px; /*padding ridotto di 1 rispetto a #ind ul li per evitare che il testo si muova */
}
#ind li.sub:hover {/* elemento menu espanso per sottomenu: margin-right:- deve essere circa come #rtnv > ul {width: */
	margin-right: -10.1em;
	border: 1px solid gray;
	background-color: #ffff00;
}
/*#ind li.sub:hover > a {color: #333300;} elemento menu espanso. per sottomenu: margin-right:- deve essere circa come #rtnv > ul (width: */
#ind li.sub:hover > ul {/* caratteristiche del sotto-menu */
	top: 1.75em;
	right: -1px;
	background-color: #fffe91;
}





.galleria {
	display: inline-block;
	background: #f8f8f8;
	border: 1px solid #999;
	padding: 15px 8px 0 8px;
	margin: 0;text-align: center;
	
}
.galleria_thb {
	display: -moz-inline-box;  /* Moz */
	display: inline-block;  /* Op, Saf, IE \*/
	vertical-align: top;  /* IE Mac non capisce e a volte crea extra v space */
	margin: 0 7px 15px 7px;
	padding: 0;	
}
.galleria a {
	display: block;
	border: 4px solid #999;
	color: #000;
	background-color: #eee;
	text-decoration: none;
}
.galleria a:hover {
	border-color: #66CCFF;
	background-color: #D7F2FF;
}
.galleria a img {
	border-width: 0;
	vertical-align: bottom;
}
.galleria a span {
	display: block;
	padding: 4px;
	font-size: 75%;
}
/*\*//*/ .galleria a {
	width: 160px;
}
/* hover Op */
@media all and (min-width: 0px) {
	.galleria a {
		display: inline-block;
	}
	.galleria_thb {
		width: 168px;
	}
}

.redaz_foto  {
   border: 1px solid Gray;
   float: left;
   margin: 2px 10px 5px 0;
   padding: 0;
   text-align: center;
}

.redaz_schede  {
   border: 2px solid Gray;
   margin: 10px;
   padding: 10;
   text-align: justify;
}

.redaz_hr {                   /* see note about hr in HTML below */
  clear: both;
  height: 0;
  margin: 0%;
  padding: 0%;
  border: none;
  overflow: hidden;
  width: 40%;
  text-align: center;
  color: Gray;
}

/* POP UP */
#blanket {
background-color:#111;
opacity: 0.65;
filter:alpha(opacity=65);
position:absolute;
z-index: 9001;
top:0px;
left:0px;
width:1000%;
height: 1000px;
}
#popUpDiv {
position:absolute;
background-color:#eeeeee;
width:300px;
height:300px;
z-index: 9002;
}



