/*
Author: Cinzia Tosatto
 */

/*-------------------
menu  contenitore
----------------------*/
#menu {
  margin: 0 auto;
  background-color:#7997b9;
 
}

/*-------------------
menu  elenco
----------------------*/
#nav, #nav ul
{
	padding: 0;
    margin: 0 auto;
	list-style: none;
	font: 18px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
	position: relative;
	z-index: 100;
	color:fff;
	
}
#nav
{
	height: 40px;
	 width: 100%;
	padding: 0;
	background-color:#7997b9;
	
}

#nav table
{
	border-collapse: collapse;
}
#nav li
{
	float: left;
}
#nav li li
{
	float: none;
}
/* a hack for IE5.x and IE6 */
#nav li a li
{
	float: left;
}


/*-------------------
menu principale testo sopra
----------------------*/
#nav li a
{
	display: block;
	float: left;
	height: 40px;
	padding: 0 8px 0 8px;
	line-height: 37px;
	text-decoration: none;
	white-space: nowrap;
	border-left: 1px solid transparent;
	color:#2e2723;
	
}

#nav li:hover
{
	color: #fff;
	position: relative;
	z-index: 100;
}
#nav a:hover
{
	position: relative;
	z-index: 100;
	color: #fff;
	border-left: 1px solid transparent;
}

#nav li:hover > a
{
	color: #fff;
	border-left: 1px solid transparent;
}



/*-------------------
menu secondo
----------------------*/
#nav li li a
{
	border-top: 1px solid transparent;
	height: 40px;
	line-height: 35px;
	float: none;
	background: #627c98;
	width: 150px;
	text-align:left;
		border-top: 1px solid  #7997b9;
}



/*-------------------
bordo right del sottomenu
----------------------*/
#nav :hover ul
{
	left: 0;
	top: 40px;
	display: block;
	width: auto;
	border-right: 1px solid trasparent;

	z-index: 300;
}
#nav a:hover ul
{
	left: -1px;
}

#nav ul
{
	position: absolute;
	left: -9999px;
	top: -9999px;
}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul
{
	color: #fff;
	left: 0;
	margin-left: 100%;
	top: 0;
}
/* keep further levels hidden */
#nav li:hover > ul ul
{
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 100px;
	color: #fff;
}
/* hover sub menu e menu */
#nav li:hover li:hover > a
{
	border-left: 1px trsparent;
	background: #c1d1e0;
	color: #fff;
}
/* hover sub menu e menu */
#nav li a:hover ul li a:hover
{
	border-left: 1px trasparent;
	background: #c1d1e0;
	color: #fff;
	
}

/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#nav a:hover a:hover ul, #nav a:hover a:hover a:hover ul, #nav a:hover a:hover a:hover a:hover ul, #nav a:hover a:hover a:hover a:hover a:hover ul
{
	left: 100%;
	top: 0;
border-left: 1px trasparent;
	background: #c1d1e0;
	
	color: #fff;
}

/* keep further levels hidden */
#nav a:hover ul ul, #nav a:hover a:hover ul ul, #nav a:hover a:hover a:hover ul ul, #nav a:hover a:hover a:hover a:hover ul ul
{
	position: absolute;
	left: -9999px;
	top: -9999px;
	border-left: 1px trasparent;
	background: #c1d1e0;
	color: #fff;
}











/**************************************************************
   Top menu 
 **************************************************************/

#header {
	clear: both;
	position: relative;
	height: 24px;
	margin: 0 auto;
	background: #48525B url(../images/back_top.jpg) repeat-x bottom left;
	background-color: #5e5b5b;
}


#header ul {
  margin: 0.2em 1em 0 0 !important;
  margin: 0.2em 0.5em 0 0;
  padding: 0;
  float: right;
  list-style: none;
}

#header ul li {
  display: inline;
  list-style: none;
}

#header ul li a {
  float: left;
  padding: 0 1em;
  line-height: 0.8em !important;
  line-height: 1em;

}



#header ul li a:hover {
filter: alpha(opacity=70);
	-moz-opacity: 0.70;
}


/**************************************************************
   Header Image/Flash Movie
 **************************************************************/

#headerImg {
  margin: 0 auto;
  height: 229px;
   background: url(../images/header_home.jpg) no-repeat top left;
 
  
 
}

#headerLink {
  margin: 0 auto;
  height: 229px;
   background: url(../images/header_link.jpg) no-repeat top left;
  
 
}

#content {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}







/**************************************************************
   Top Block Menu
 **************************************************************/

#menu {
  margin: 0 auto;
  
}


#Tabmenu {
  width: 100%;
  height:42px;
  float: left;
  margin: 0;
  padding: 0;

  text-align: left;
  background:  url(../images/menu.jpg) repeat-x;
  
}

.bot img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;

}

.bot a:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;

}






/**************************************************************
   Page Content
 **************************************************************/

#page {
  clear: both;
  float: left;
  width: 100%;
  margin-bottom: 6em;
  text-align: justify;
}

#columns {
  margin: 0 auto;
}


/* Column widths */
.width {
  width: 776px;
 
}

.widthPad {
  width: 746px;
}

.width25 {
  width: 24%;
}

.width50 {
  width: 48%;
}

.width73 {
  width: 73%;
}

.width75 {
  width: 75%;
}

.width100 {
  width: 100%;
}


/**************************************************************
   Footer
 **************************************************************/


#footer {
  clear: both;
  float: left;
  width: 100%;
  height: 5em;
  margin-top: -5em;
}

#footer #bg {
  position: relative;
  height: 5em;
  margin: 0 auto;
  background: #5b5858 ;
}




.Ftesto, .Ftesto a, .Ftesto a:link {
  float: right;
  padding: 0 1em;

  font: 400 1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;

  color: #fff;

}



.Ftesto a:hover {
  color: #ccc;
}










/**************************************************************
   Thumbnail Lists
 **************************************************************/

ul.thumbs,
ul.thumbs li {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.thumbs li {
  margin: 0 0 15px 0 !important;
  margin: 0;
  padding: 0px;
  list-style: none;
}

a.thumb img {
  
  border: 5px solid #ccc;
}

a:hover.thumb img {
  background: #8EB4C6;
  border: 5px solid #668FA3;
}

a:hover.thumb {
  background: none;
}

a.thumb span {
  display: block;
  margin-top: -5px !important;
  margin-top: -2px;
}







/**************************************************************
   Generic Display 
 **************************************************************/


.block {
  display: block;
}

.clear {
  clear: both;
}

.marginRight {
  margin-right: 15px;
}

.paddingLeft {
  padding-left: 5px;
}

.paddingRight {
  padding-right: 5px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignTop {
  vertical-align: top;
}

.alignMiddle {
  vertical-align: middle;
}

.alignBottom {
  vertical-align: bottom;
}

.lightBlueBg {
  background-color: #EAF2F5;
}

.dark {
  color: #353E47;
}
