body {
	margin: 0px 0;
	padding: 0;
	font: 74% Arial, Helvetica, sans-serif;
	color: #00008B;
	background: #44A3FF url(img/bg-white.jpg) no-repeat top center;
	line-height: 1.4em;
}


.content {
	color: #373737;
	margin: 0 auto;
	padding: 0;
	width: 680px;
}


/* NAVIGATION
---------------------------------------------------------------------------------------------------------------------------------------------------*/
.nav {
	text-align: left;
	color: #B22222;
	padding: 1px 0 0 0px;
	width: 100px;
}
.nav li { 
	font-weight: bold; 
	margin: 0 0 5px 0px; 
	border-bottom: 1px solid #ccc; 
	height: 23px; /*background: url(img/li2.png) no-repeat left;*/
}
.nav li a {
	color: #00008B;
	text-decoration: none;
	padding: 2px 0 0 10px;
	display: block;
	height: 25px;
}
.nav li a:hover {
	color: #00008B;
	text-decoration: none;
	padding: 0` 0 0 10px;
	background: #2ebf2e;
	display: block;
	height: 25px;
}

.subnav li a {
	color: #00008B;
	text-decoration: none;
	font-weight: normal;
	margin: 0 0 5px 10px;
	display: block;
	height: 20px;
	background: url(img/li2.png) no-repeat left;
}
.subnav li a:hover {
	color: #2ebf2e;
	text-decoration: underline;
	background: none;
}

/* MAIN
---------------------------------------------------------------------------------------------------------------------------------------------------*/
#main {
	width: 640px;
	margin: 0 10px 0 10px;
	color: #161765;
	font-family: Comic Sans MS, Arial;
	font-size: 106%;
}  


#main .left_side { 
	padding: 0 0 0 10px; margin:0;
	width: 100px; 
	min-height: 538px;  
}

#main .right_side { float: right; width: 500px; padding:5px 5px 0 0; margin:0; }

#main .right_side ul {
	margin: 5px 0 5px 0;
	padding: 0;
	list-style: none;
	border-bottom: 0px solid #eee;
	list-style-type: square;
	color: #009ddc;
}
	
#main .right_side li { 
	margin: 0 0 2px 15px;
	padding: 0 0 0 10px;
	color: #555;
}

#main .box  {
	border: 1px solid Silver;
	padding: 10px;
	color: #00008B;
}


/* FOOTER
---------------------------------------------------------------------------------------------------------------------------------------------------*/
#footer {
	clear: both;
	height: 26px;
	color: Silver;
	font-size: 80%;
	padding: 0;
	text-align: center;
}

#footer .padding { padding: 10px 0px 0px 0px; }
#footer .right { 
	float:right; 
	clear:right; 
	text-align:right; 
}

#footer a {
	color: Silver;
	background: inherit;
	text-decoration: none;
}
#footer a:hover {
	color: #FEFF82;
	background: inherit;
	text-decoration: underline;
}


/* ---------------------------------------------------------------------------------------------------------------------------------------------------*/

input.search {
	width: 100px;
	border: 1px solid Gray;
	font: 0.8em Arial, Verdana, Helvetica, sans-serif;
	color: #666;
}
input.submit {
	background: none;
	color: Gray;
	font: bold 0.9em Arial, Verdana, Helvetica, sans-serif;
	border: 0;
}

input.search:hover {	background: #FFFFF4; }

ul { margin: 0 0 0px 0; padding : 0; list-style : none; }
li { 	margin: 0 0 5px 0; padding: 0 0 0 0px;	color: #555; }

p { margin: 0 0 5px 0; padding: 0; color: #808080; /*background: inherit;*/ }
a {
	color: #FF4500;
	text-decoration: underline;
}
a:hover {
	color: #FF4500;
	text-decoration: none;
}

h1 {
	color: #FFA500;
	font: bold 1.6em Comic Sans MS;
}

h1 a {
	color: Red;
}

h2 {
	color: #2ebf2e;
	font-size: 120%;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

h2 a {
	color: #2ebf2e;
}
h2 a:hover {
	color: Gray;
}

fieldset {
	width: 221px;
	padding: 9px;
}

fieldset a{
	color: #FF4500; 

}

fieldset a:hover{
	color: #2ebf2e
}

.fieldset1 {
	width: 480px;
	padding: 9px;
}

.fieldset1 a{
	color: #FF4500; 
}

.fieldset1 a:hover{
	color: #2ebf2e
}

.left {
	float: left;
}
.right {
	float: right;
}

.clear {
	 clear: both;
}

textarea.text {
	height: 150px;
	width: 90%;
	border: 1px solid Gray;
	color: #354D5F;
}

textarea.text:hover {
	border: 1px solid Gray;
	color: #000;
}

.exlink:link	{
	background:url(img/exlink-green.gif) no-repeat 0;
	border-bottom: 1px dotted #2ebf2e;
}

.exlink:visited {
	background:url(img/exlink.gif) no-repeat 0;
}

.exlink:hover {
	background:url(img/exlink.gif) no-repeat 0;
	border-bottom: none;
}

.red {
	color: #2ebf2e;
	font-weight: bold;
	font-size: 1.2em;
}

.galeria {
	border: 1px solid #DCDCDC;
	padding: 2px;
}

.galeria:hover {
	border: 2px solid #2ebf2e;
	padding: 1px;
}

/*LIGHTBOX*/
img { 
	border: 0;
}
td { 
	vertical-align: top;
}
div.center {
	text-align: center;
}
table.container {
	margin: 1px auto;
}
table.dia {
	margin: 1px;
	width: 100px;
	height: 100px;
	border: 1px solid #ddd;
	border-collapse: collapse;
}
div.smalldesc { 
	margin: 0 5px 1px 5px;
	width: 100px;
	font-size: 10px;
	text-align: center;
}
table.dia td { 
	text-align: center;
	vertical-align: middle;
	background: #eee /*url('images/sfondo.gif') repeat-x*/;
}
table.dia img { 
	display: block;
	margin: auto; 
}

table.dia a img { 
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	opacity: 0.8;
}
table.dia a:hover img { 
	filter:alpha(opacity=100);
	-moz-opacity:1;
	opacity: 1;
}

#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(images/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(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.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: #EEEEEE;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
	}
	

.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 */
	}	
	
