/*GENERICHE*/

html, body {margin : 0; padding : 0;}
body {color : #333;width : 100%;font : 12px "Trebuchet MS", Arial, Helvetica, Tahoma, sans-serif;background-color: #fff;}
#container {width : 100%;margin : 2px auto;background-color : #fff;color : #333;/*line-height : 130%;*/}
#top {background-image: url(../img/header_bg.jpg);background-repeat: repeat-x;text-align: center;color: #316AC5;}
#top h1 {text-align: center;position: relative;margin: 0;font-size: large;}
#pagina {padding : 1em;min-height: 100%;height: auto !important;height: 100%;margin: 0 auto -50px;}
#content {margin-left : 100px;padding : 1em;}
#content h2 { margin : 0 0 .5em 0;}
#footer {clear : both;color : #333;margin-top: 1.8em;padding: 0.5em;border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #999;background-image: url(../img/gradient-grey-down.png);background-repeat: repeat;position:absolute;bottom:}
#footer img {float : right;}
*>html #footer img {margin : 0;}
#footer p { padding-left : 5px;}
#counter {display : none;}
.happy {padding : 10px;border-top-width: 1px;border-top-style: solid;border-top-color: #808080;}
#logo {border-bottom-width: 1px;right: 1%;top: 3px;padding: -3px;position: absolute;}
.caption {padding : 5px;background-color: #dedede;font-family: Georgia, "Times New Roman", Times, serif;border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color:#AAC6FF;width: 100%;}
#testata {font-family: Georgia, "Times New Roman", Times, serif;font-size: 36px;}
.caption_link {padding : 2px;font-weight: bold;text-indent: 15px;line-height: 23px;font-family: Geneva, Arial, Helvetica, sans-serif;}
/*#pegaso {border-bottom-width: 1px;top: 3px;padding: -3px;left: 9px;position: absolute;z-index: 1;}*/
#mappa {border-bottom-width: 1px;top: 31px;padding: -3px;right: 69px;}
img, a {text-decoration: none;border: none;}
.minuscolo {font-size: 11px;}
pre {font-size: 12px;line-height: 22px;margin-top: 20px;margin-bottom: 10px; }
#sinistra-pagina{float: left;width: 100%; }
#sinistra{clear: left;float: left;width: 19%;display: inline;list-style-type: none;margin-top: 0;margin-right: 0;margin-bottom: 0;margin-left: 1%;padding-top: 20px;padding-right: 0;padding-bottom: 10px;padding-left: 0;}
#sinistra fieldset {border-top-width: 1px;border-right-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-style: solid;border-bottom-style: none;border-top-color: #AAC6FF;border-right-color: #AAC6FF;border-bottom-color: #AAC6FF;border-left-color: #AAC6FF;border-top-style: solid;border-left-style: none;}
#destra{float: right/*left*/;width: 69%;padding: 20px 0;margin: 0 3% 0 0;display: inline;background-color: #FBFBF9;}
#destra fieldset {background-image: url(../img/mappe_64.png);background-repeat: no-repeat;background-position: right top;border-top-width: 1px;border-right-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-top-style: solid;border-right-style: none;border-bottom-style: none;border-left-style: solid;border-top-color: #AAC6FF;border-right-color: #AAC6FF;border-bottom-color: #AAC6FF;border-left-color: #AAC6FF;}
#footer {position: relative;width:95%;position:relative;bottom:0;height:23px;}
legend {background-image: url(../img/gradient-grey-down.png);background-repeat: repeat-x;padding-right: 5px;padding-left: 5px;line-height: 33px;border: 1px solid #AAC6FF;font-size: 23px;text-align: center;margin-left: 22px;}

/*PORTFOLIO*/

ul#portfolio {font-family: Georgia, "Times New Roman", Times, serif; float: left; list-style: none; margin-left: 0; height: auto !important;  /* per i browser moderni */height: 269px;      /* per IE5.x e IE6 */min-height: 269px;  /* per i browser moderni */}
#portfolio ol {
	padding-top: 11px;
	padding-right: 11px;
	padding-bottom: 11px;
	padding-left: 0px;
}
ul#portfolio li {float: left;width: 169px;list-style-type: none;}
#portfolio p {
	font-size: 15px;
	color: #111;
	background-image: url(../img/gradient2.png);
	background-repeat: repeat-x;
	padding: 11px;
	border: 1px solid #C7D3D2;
	width: 90%;
}
#portfolio a {color: #333;font-size: 14px;  }
ul#portfolio li a {width: 153px;height: 39px;position: relative;overflow: visible;display: inline-block;border: 1px solid #d4d4d4;
text-decoration: none;background-color: #ececec;background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));background-image: -moz-linear-gradient(#f4f4f4, #ececec);background-image: -o-linear-gradient(#f4f4f4, #ececec);background-image: linear-gradient(#f4f4f4, #ececec);-webkit-background-clip: padding;-moz-background-clip: padding;-o-background-clip: padding-box;border: 1px solid rgba(0, 0, 0, .25);-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;margin: 2px;padding: 4px;}
ul#portfolio li a:hover {border: 1px solid #026;text-decoration: none;color: #fff;background-color: #3C8DDE;background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));background-image: -moz-linear-gradient(#599bdc, #3072b3);background-image: -o-linear-gradient(#599bdc, #3072b3);background-image: linear-gradient(#599bdc, #3072b3);}
ul#portfolio img { border: 1px solid #dedede; display: block; padding-bottom: 5px; max-width:369px }
ul#portfolio i {font-size: 12px;text-indent: 3px;}
ul#portfolio ol {
	display: block;
	padding-bottom: 15px;
	margin: 5px;
	padding-left: 2px;
}
#portfolio td img {border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;}



/*FILTER, MENU DI SINISTRA*/


#filter {list-style-type: none;}
#filter li{font-family: Georgia, "Times New Roman", Times, serif;font-size: 16px;text-transform: capitalize;letter-spacing: 2px;}
#filter a, #filter a:visited {position:relative;text-decoration:none;text-align:left;background-color:#ECEFF2;color:#444;display:block;width:10em;padding:0.18em;list-style-type: none;border-top-width: 1px;border-right-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-top-style: solid;border-right-style: solid;border-bottom-style: solid;border-left-style: solid;border-top-color: #DFE6EC;border-right-color: #678;border-bottom-color: #678;border-left-color: #cde;margin-top: 0.5em;margin-right: auto;margin-bottom: 0.5em;margin-left: auto;text-indent: 5px;}
#filter a:hover {top:2px;background-color:#F6F5F2;left:2px;color:#111;border-top-color: #DFE6EC;border-left-color: #DFE6EC;border-top-width: 1px;border-left-width: 1px;border-top-style: solid;border-left-style: solid;border-right-style: solid;border-bottom-style: none;border-right-width: 1px;border-right-color: #DDD;}
  
  
  
  /*jquery*/
  #pagina {margin: 0 auto;width: 99%;background: #fff;}
 #navigation{float: left;width: 100%;background: #333;}
 #navigation ul{margin: 0;padding: 0;}
 #navigation ul li{list-style-type: none;display: inline;}
 #navigation li a{display: block;float: left;padding: 5px 10px;color: #fff;text-decoration: none;border-right: 1px solid #fff; }
 #navigation li a:hover { background: #383; }








/*MOZ BORDER*/
legend,fieldset,  #filter  {-moz-border-radius: 3px;border-radius: 3px;margin: 1px;padding: 1px;}
