/*
* style
*/

body {
	background:#1a232a url(../img/background.png) repeat-x scroll 0 0;
	color: #DDDDDD;
	font-size: 90%;
	line-height:1.25;
}

#page {
	background-image:url(../img/riflesso.png);
	background-repeat:no-repeat;
	margin-bottom:30px;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
	width:960px;
}

#topbar {
	font-size:85%;
	position:absolute;
	right:40px;
	top:4px;
}

#main {
}


#header {
	clear:both;
	float:left;
	height:400px;
	width:960px;
}

#logo {
	background-image:url("../img/logo.png");
	background-repeat:no-repeat;
	font-size:0;
	height:150px;
	margin-top:22px;
	position:absolute;
	width:320px;
	z-index: 1;
}

#headerbg {
	background-color:#253949;
	border: 1px solid #253949;
	display:block;
	float:right;
	height:208px;
	list-style:none;
	margin:0;
	overflow:hidden;
	padding:0;
	position:absolute;
	right:30px;
	top: 100px;
	width:285px;
}

#navigation {
	float:left;
	min-height: 100px;
	position:relative;
	width:960px;
}

#content {
	float:left;
	padding:0 0 0 30px;
	text-align:justify;
	width:670px;
}

#sidebar {
	float:right;
	margin:20px 30px;
	text-align:justify;
	width:190px;
}

#footer {
	clear:both;
	font-size: 80%;
	margin:15px 0;
	padding:20px;
	text-align:center;
}

/*###################
## BREADCRUMB
###################*/
#breadcrumb {
	width:550px;
	z-index:16;
}
#breadcrumb a {
	background:url("../img/breadcrumb.png") no-repeat scroll left center transparent;
	color:#888888;
	margin-right:10px;
	padding-left:8px;
}

/*###################
## STANDARD ELEMENTS
###################*/
h1 {
	color: #60686F;
	clear: both;
	padding:5px 20px;
}
h2 {
	clear: both;
	margin-top: 30px;
}
a {
	color: #AACCFF;
	text-decoration: none;
}
a:hover {
	color: #AACCDD;
	text-decoration: underline;
}
a.visited {
	color: #88AACC;
	text-decoration: underline;
}
table {
	border: 1px solid #63afd0;
	margin:1em auto;
}
td {
	border: none;
}
pre {
	background-color:#404550;
	display:block;
	overflow:auto;
	padding:10px;
}


/*###################
## FORMS
###################*/
form {
	float:right;
	margin:-35px 20px 0 0;
}


label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}

input {
	width: 275px;
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	color:#777;
}

textarea {
	width:375px;
	padding:2px;
	margin: 5px auto;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}

input.button {
	margin: 0;
	font: bold 1em Arial, Sans-serif;
	background: #FFF url(gradientbg.jpg) repeat-x;
	padding: 2px 3px;
	color: #333;
	border: 1px solid #DADADA;
}

.submit input {
	background-color:#8C886F;
	border: 1px solid #6C684F;
	color:#FFFFFF;
	margin:10px;
	padding:5px 30px;
	width:auto !important;
}
.submit input:hover {
	background-color:#8C886F;
	border: 1px solid #331;
	color:#ccc;
	margin:10px;
	padding:5px 30px;
	width:auto !important;
}


/*###################
## RICERCA
###################*/
#search {
	border:2px solid #DDDDDD;
	color:#777777;
	font:1em "Trebuchet MS",Tahoma,sans-serif;
	padding:2px 30px 2px 2px;
	width: auto;
}
.submitSearch {
	border:medium none;
	margin-left:-30px;
	vertical-align:middle;
	width:auto;
}


/*###################
## CONTENT
###################*/
#content h2 {
	margin-bottom: 0;
}
.postdata {
	background-color:#404550;
	font-size:0.8em;
	margin-top:5px;
	padding:5px 5px 5px 20px;
}

#content img {
	 border: 0;
}
#imagesblog {
	float: right;
}
#images, #picasa {
	clear: both;
	float: left;
	margin:0 30px 10px 0;
}

.pagine1x4 {
	background-color:#303845;
	padding:5px;
	width:160px;
}
.pagine2x4 {
	height: 320px;
	overflow: hidden;
	width: 316px;
}
.pagine4x4 {
	float: none;
	width: 640px;
}

.imgtmb, .picasatmb {
	display:inline-block;
	font-size:8pt;
	margin:3px 3px 8px;
	overflow:hidden;
	position:relative;
	text-align:center;
	vertical-align:top;
}
.imgtmb .caption, .picasatmb .caption {
	width:100%;
	background:#000;
	color:#fff;
	font-weight:bold;
	position:absolute;
	bottom:-1px; /* fix IE issue */
	left:0;
	display:none;
	text-align: center;
}
.imgtmb .caption a, .picasatmb .caption a {
	color:#fff;
	padding:5px;
	display:block;
}

#audios, #videos {
	clear: both;
}

.snapshotImg {
	float:right;
	margin:0 100px 20px 20px;
}

#map_canvas {
	height: 460px;
}

/*###################
## SIDEBAR
###################*/
#sidebar div {
	margin-bottom:30px;
}

#sidebar h2 {
	font-size:100%;
	margin: 0 0 5px 0;
	padding:10px;
	text-align: center;
}
#sidebar h3 {
	font-size:100%;
	margin: 0;
	padding:10px 10px 5px 10px;
}

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

#sidebar a {
	font-weight: bold;
	text-decoration: none;
}
#sidebar a:hover {
	text-decoration: underline;
}

/*###################
## BLOG SIDEBAR
###################*/
#blogmenu {
	clear: both;
	float: left;
	margin-bottom: 20px;
	width: 200px;
}
#blogmenu a {
	color:#FFFFFF;
	display:block;
	font-weight:bold;
	padding:5px;
	text-decoration:none;
	white-space: nowrap;
}
#blogmenu ul {
	list-style: none;
	text-align: center;
}
#blogmenu li {
	display: inline-block;
}
.cloud0 {
	font-size: 90%;
}
.cloud10 {
	font-size: 95%;
}
.cloud20 {
	font-size: 100%;
}
.cloud30 {
	font-size: 120%;
}
.cloud40 {
	font-size: 140%;
}
.cloud50 {
	font-size: 160%;
}
.cloud60 {
	font-size: 180%;
}
.cloud70 {
	font-size: 200%;
}
.cloud80 {
	font-size: 220%;
}
.cloud90 {
	font-size: 120%;
}
.cloud100 {
	font-size: 100%;
}

#paginator {
	background-color:#777777;
	padding:10px;
	text-align:right;
	width:100%;
}

/*###################
## FOOTER
###################*/
#footer a {
	color: #FFF;
}

/*###################
 * MENU DI AMMINISTRAZIONE
###################*/
#floating {
	background-color:#119;
	border: 1px solid #85858F;
	top:0;
	font-size:8pt;
	font-weight:bold;
	padding:4px 0;
	position:fixed;
	right:3%;
	text-align:center;
	width:94%;
	z-index: 999;
}
#floating div.spacer {margin-right: 60px; float: left;}
#floating span.spacer {margin-right: 60px;}
#floating a {
	color: #FFF;
	margin-right: 20px;
}

/*###################
## MESSAGGI
###################*/
#flashMessage {
	position:fixed;
    border: solid 1px #aeaeae;
	bottom: 0px;
	left: 0px;
	width: 255px;
	margin: 5px;
	font-weight: bold;
	text-align: left;
	z-index: 9999;
	padding: 20px;
}
.success_message {
    background-color: #61b513;
	color: #FFF;
}

.failure_message {
    background-color: #d22835;
	color: #FFF;
}

.notice_message {
    background-color: #284e8d;
	color: #FFF;
}

/*###################
 * MENU PAGINE
###################*/


/*
* navigation
*/
#topnav {
	margin: 0;
	padding: 7px 6px 0;
	background: #7d7d7d url(../img/navigation/gradient.png) repeat-x 0 -110px;
	line-height: 100%;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#topnav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
	z-index: 10;
}


/* main level link */
#topnav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding:  8px 20px;
	margin: 0;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#topnav a:hover {
	background: #000;
	color: #fff;
}

/* main level link hover */
#topnav .current a, #topnav li:hover > a {
	background: #666 url(../img/navigation/gradient.png) repeat-x 0 -40px;
	color: #444;

	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	box-shadow: 0 1px 1px rgba(0,0,0, .2);

	text-shadow: 0 1px 0 rgba(255,255,255, 1);
}

/* sub levels link hover */
#topnav ul li:hover a, #topnav li:hover li a {
	background: none;
	border: none;
	color: #666;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#topnav ul a:hover {
	background: #0078ff url(../img/navigation/gradient.png) repeat-x 0 -100px !important;
	color: #fff !important;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;

	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#topnav li:hover > ul {
	display: block;
}

/* level 2 list */
#topnav ul {
	display: none;

	margin: 0;
	padding: 0;
	width: 250px;
	position: absolute;
	top: 35px;
	left: 0;
	background: #ddd url(../img/navigation/gradient.png) repeat-x 0 0;
	border: solid 1px #b4b4b4;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#topnav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#topnav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}

/* level 3+ list */
#topnav ul ul {
	left: 240px;
	top: -3px;
	width: 300px;
}

/* rounded corners of first and last link */
#topnav ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#topnav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}

/* clearfix */
#topnav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#topnav {
	display: inline-block;
} 
html[xmlns] #topnav {
	display: block;
}
 
* html #topnav {
	height: 1%;
}


/*
*
*/
#main {

}

#headerbg {
	box-shadow: 10px 10px 20px #000000;
	-moz-box-shadow:10px 10px 20px #000000;
	-webkit-box-shadow: 10px 10px 20px #000000;

}

#footer {

}

/*###################
## HTML
###################*/
table {
	-moz-box-shadow: 0 0 5px #AAAAAA;
	-webkit-box-shadow: 0 0 5px #AAAAAA;
}

/*###################
## NAVIGATION
###################*/
#search {
	border-radius:15px;
	box-shadow:0 0 3px rgba(0, 0, 0, 0.5);
	
	-moz-border-radius:15px;
	-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.5);
	
	-webkit-border-radius:15px;
	-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.5);
}


/*###################
## SIDEBAR
###################*/
.picasatmb {
	border-radius:7px 7px 7px 7px;
	
	-moz-border-radius:7px 7px 7px 7px;
	
	-webkit-border-radius:7px 7px 7px 7px;
}

