/*---------------------- standard elements -------------------*/
* {
	margin: 0;
	padding: 0;
}
body {
	background: #FFF url(img/bgbody.jpg) repeat-y center top;
	font: normal 0.7em "Trebuchet MS",Tahoma,Verdana,sans-serif;
}
div a {
	color: #FFF;
	cursor: pointer;
	text-decoration: none;
}
h1 {
	color: #444;
	font: normal 2em "Georgia",sans-serif;
	margin: 68px 0 0 0;
	font-weight: bold
}
h2 {
	color: #444;
	font: normal 2em "Georgia",sans-serif;
	margin: 18px 0 0 0;
	font-weight: bold
}
h2 a {
	font: normal 0.5em "Georgia",sans-serif;
}
h3 {
	color: #444;
	font: normal 1.2em "Georgia",sans-serif;
	margin: 18px 0 5px 0;
	font-weight: bold
}


/*--------------------------- bubble tooltip -----------------------*/
a.tt{
    position:relative;
    z-index:24;
    color:#3CA3FF;
    text-decoration:none;
}
a.tt span{ display: none; }

/*background:; ie hack, something must be changed in a for ie to execute it*/
a.tt:hover {z-index:25;}
a.tt:hover span.tooltip {
    display:block;
    position:absolute;
    top:0px; left:0;
	padding: 15px 0 0 0;
	width:200px;
	color: #993300;
    text-align: center;
}
a.tt:hover span.top{
	display: block;
	padding: 30px 8px 0;
    background: url(img/bubble.gif) no-repeat top;
}
a.tt:hover span.middle{ /* different middle bg for stretch */
	display: block;
	padding: 0 8px; 
	background: url(img/bubble_filler.gif) repeat bottom; 
}
a.tt:hover span.bottom{
	display: block;
	padding:3px 8px 10px;
	color: #548912;
    background: url(img/bubble.gif) no-repeat bottom;
}
/*----------------------------- fine tooltip -------------------------------*/



code {
	background: url(img/bgcode.gif);
	border: 1px solid #F0F0F0;
	border-left: 6px solid #D91623;
	color: #555;
	display: block;
	font: normal 1em "Lucida Sans Unicode",serif;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}
blockquote {
	background: url(img/quote.gif) no-repeat;
	color: #555;
	display: block;
	font: normal 1em "Georgia",serif;
	line-height: 150%;
	margin: 0 0 4px 0;
	padding-left: 28px;
}

/*-------------------------------- structure ------------------------------*/
.main {
	width: 680px;
	margin: 0 auto;
}
.main_left {
	float: left;
	padding-top: 6px;
	width: 420px;
}
.main_right {
	border-top: 6px solid #FFF;
	float: right;
	width: 254px;
	text-align: center;
}
.footer {clear: both;}

/* misc */
.left {
	float: left;
}
.right {
	float: right;
}
.header,.lbl,.lblbassa,.link_updates a {
	border-bottom: 6px solid #FFF;
}
.content a:hover, div.footer div.left a:hover {
	background: #D7162C;
	color: #FFF;
}
div.link_updates a#attivo {
	background: #fff;
	color: #222;
}
div.link_updates a:hover {
	background: #F2B441;
	color: #222; 
	/*border-left: 10px solid #FFF;*/
}
div.link_projects a:hover {
	background: #F2B441;
	color: #222;
	/*border-left: 10px solid #FFF;*/
}
div.link_projects a#attivo {
	background: #fff;
	color: #222;
}


/*--------------------------------- testata --------------------------------*/
.header {
	background: #999933 url(img/bgheader.jpg);
	height: 190px;
}
.header h1 {
	margin: 0;
	padding: 20px 0 0 24px;
	font: normal 2.2em "Trebuchet MS",Verdana,sans-serif;
}

/*----------------------------- menù centrale ---------------------------*/
.link_menu {
	background: #E85B25;
}
.link_menu a {
	border-bottom: 1px solid #FFF;
	display: block;
	font: bold 0.9em Verdana,sans-serif; 
  color: #000;
	height: 18px;
	padding: 6px 0 0 10px;
	text-decoration: none;
}
.link_menu a:hover {background: #F2B441; color: #222;}
.link_menu a#attivo {
	background: #fff;
	color: #222;
}


/*-------------------------- menù destro alto -----------------------------*/
.link_projects {background: #2D7C23; text-align: right;}
.link_projects a {
	clear: right;
  display: block;
	color: #FFF;
	font: normal 1em "Trebuchet MS",sans-serif;
	height: 60px;
	padding: 10px 10px;
  border-bottom: 6px solid #fff;
}
.link_projects a span {
	font: normal 2em "Trebuchet MS",Verdana,sans-serif; /*letter-spacing: -1px;*/
	margin-top: 3px;
}


/*--------------------------- menù destro basso ---------------------------*/
.link_updates {background: #010D47; text-align: right;}
.link_updates a {
	clear: right;
	display: block;
	font: normal 1.0em "Trebuchet MS",sans-serif;
	color: #FFF;
  height: 60px;
	padding: 5px 10px 15px 10px;
	text-align: right;
	border-bottom: 6px solid #FFF;
}
.link_updates a span {
  font: normal 2.1em "Trebuchet MS",Verdana,sans-serif; letter-spacing: -1px;
}


/*----------------------------- content -----------------------------------*/ 
.content {
	color: #444;
	font-family: Verdana,sans-serif;
	line-height: 1.6em;
	padding: 0 10px 10px; 
}
.content a {
	color: #FD1C24;
}
.content p {
	margin: 4px 0 10px 0;
}
.content img {
  display: block;
	text-align: center;
  margin: 5px 10px 0 0;
  padding: 3px;
  border: 1px solid #000;
}
fieldset li img {
  display: block;
  float: right;
  border: 1px solid #000;
}
.content p img {
  float: left;
  height: 100px;
  width: 80px;
  margin: 5px 10px 0 0;
  padding: 3px;
  border: 1px solid #000;
}
.content h3 img {
  float: left;
  height: 48px;
  width: 48px;
  margin: 0 10px 0 0;
  padding: 3px;
  border: 0;
}
.content .descr {
	color: #666;
	margin-bottom: 16px;
	text-align: justify;
}
.content .descr img {
	margin: 0 0 5px 7px;
}
.content .giorn {
	color: #666;
	margin-bottom: 16px;
}
.art {
	text-align: right;
	padding-right: 40px;
}
.content li {
	list-style: url(img/li.gif);
	margin: 0 18px 0 18px;
	padding-bottom: 15px;
}
.content .giorn li {
	list-style: url(img/pdf.png);
	margin-left: 18px;
}

/*------------------------ MENU DENTRO PAGINE -----------------------------*/
.shadetabs{
border-bottom: 1px solid;
/* width: 90%; width of menu. Uncomment to change to a specific width */
margin-bottom: 1em;
}
.shadetabs ul{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: normal 1.2em "Trebuchet MS",Verdana,sans-serif;
list-style-type: none;
text-align: center; /*set to left, center, or right to align the menu as desired*/
}
.shadetabs li{
display: inline;
margin: 0;

}
.shadetabs li a {
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #fff;
background: #010D47;
}

.shadetabs li a:hover{
text-decoration: none;
color: #222;
background: #fff;
}
.shadetabs li.selected{
position: relative;
top: 1px;
border-bottom-color: #fff;

}
.shadetabs li.selected a{ /*selected main tab style */
border-bottom-color: #fff;
color: #222;
background: #fff;
}
.shadetabs li.selected a:hover{ /*selected main tab style */
text-decoration: none;
}
/*fine menù dentro pagine*/

/* FORM */
form{
width: 100%;min-width:300px;
margin-top:25px;
margin-bottom:15px;
}
fieldset{
width:380px;
margin-left:-5px;
padding:10px;
display:block;
border: 1px solid #999;
}
legend{
font: bold 2em "Georgia",sans-serif;
margin-bottom:10px;
padding: 10px;
}
label{
float: left;width: 33%;line-height: 23px;padding-right: 2%;text-align:left
}
input, textarea{
padding-left: 35%;
display:block;
margin:5px;
width:50%;
}
input.check{
float:left;
margin:0;
padding:0;
width:20px;
}
input.check2{
float:left;
margin:10px 5px;
width:5em;
padding:0;
}
select{
display:block;
margin:5px;
}

/* fine form */

/* -------------------------- Photogallery -------------------------------- */
#photo_strip { margin-left:15px;}
#container {margin:0; padding:0; height:530px; width:380px; overflow:auto; color:#222; background:#fff;}
#container ul {margin:0; padding:0; list-style:none; white-space:nowrap; display:table-row;}
#container ul li {display:table-cell; padding:0 15px; background:#fff; vertical-align:top;}
#container ul li img {border:1px solid #555; margin: 30px 0 10px 0;}
#photo_strip h1 {text-align:center; padding:0; margin:0; width:90%; height:38px; line-height:35px; color:#555; font-weight:normal; border-bottom:1px solid #888;}
#container p {margin:0; padding:5px 0;}


/* footer */
.footer {
	color: #777;
	clear: both;
	padding-top: 30px;
}
.footer .right a {
	color: #777;
	padding: 1px 3px;
}
.footer .right a:hover {
	color: #fff;
}
.footer .left a {
	color: #777;
}
.footer .left a:hover {
	color: #fff;
	
}
.footer .left {
	border-top: 1px solid #F0F0F0;
	padding: 9px 0 9px 9px;
	width: 407px;
}
.footer .right {
	margin-right: 8px;
	padding: 9px 0;
	text-align: center;
	width: 220px;
}
