/* BLUE: #003368 */
* {
  margin: 0;
  padding: 0;
}

body {
  background: url("../immagini/bg_body.gif") repeat-x top left;
  font: normal 11px "Trebuchet MS", Arial, sans-serif;
  color: #003368;
  text-align: center;
}

img { border: 0; }

td { font-size:11px; }

a {
  color: #ef7800;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul { list-style: none; }

.clear {
 clear: both;
 height: 1px;
 font-size: 1px;
 line-height: 1px;
}

/* LINGUE */
#lang {
  position: absolute;
  top: 48px;
  right: 20px;
  z-index: 100;
}

#lang a img { border: 1px solid #003368; }

#lang a.active img,
#lang a:hover img { border: 1px solid #ed7900; }

#container {
  position: relative;
  width: 970px;
  height:600px;
  margin: 0 auto;
  padding-top: 0px;
  background: url("../immagini/home/bg_home.jpg") no-repeat top left;
  text-align: left;
}

/*********************
 * COLONNE
 ********************/
.cols {
  margin-left: 16px;
  margin-right: 16px;
}

#cols table {
  width: 100%;
  border-collapse: collapse;
}

#cols td {
  vertical-align: top;
}

#csx {
 /* Attenzione! fondamentale per il corretto funzionamento del flash transparent */
 position: relative;
  width: 32%;
  padding-top: 75px;
}

#cc {
  /* Attenzione! fondamentale per il corretto funzionamento del flash transparent */

  width: 37%;
  padding-top: 420px;
  text-align: center;
}

#goworld {
  position: absolute;
  width: 420px;
  height: 170px;
  z-index: 100;
  top:300px;
  left:270px;
}

a#goworld:hover { text-decoration:none; }

#cdx {
  /* Attenzione! fondamentale per il corretto funzionamento del flash transparent */
  position: relative;
  width: 30%;
  padding-top: 75px;
}

#banner {
  position: absolute;
  top: 275px;
  right: 0;
}

/*********************
 * Colonna centrale
 * logo - counter
 ********************/
#cc p {
  margin: 0 0 20px 0;
  font-size: 13px;
}

#tco2 {
  font-size: 15px;
  font-weight: bold;
}

#counter {
  font-size: 15px;
  text-align:center;
  padding-top:104px;
}
#counter a { color: #003368; }
#counter a:hover { text-decoration:none; }
#counter-didascalia { font-size:11px; }

/*********************
 * Box bordati
 ********************/
.box-content {
  width: 224px;
  margin-bottom: 20px;
  border: 1px solid #ed7900;
}

.box-content h2 {
  margin: 10px 15px 5px -15px;
  padding: 2px 0 2px 30px;
  background: #ef7800;
  color: #FFF;
  font-size: 12px;
}

.box-content h2 a { color: #FFF; }

.box-inner-content {
  padding: 5px;
}

.middle-block {
  margin-bottom:20px;
  }


/*********************
 * News
 ********************/

#divASContainer{
  position:relative;
  width:200px;
  height:185px;
  overflow:hidden;
  margin-left: 10px;
}

#divASContent{ position:absolute; top:0; left:0; }

#container-news .box-content { height: 170px; }

/* conto energia */
#container-ce { margin: 15px 0 10px 0; }
#container-ce a { color: #003368; }

.news {
  font-size: 10px;
  color: #003368;
}
.newsTitolo {
  font-size: 11px;
  font-weight: bold;
}
.newsData {
  font-size: 9px;
  font-weight: bold;
  color: #003368;
}

/*********************
 * Africa
 ********************/
#pre-sequenza {
  width: 224px;
  border-left:1px solid #ED7900;
  border-top:1px solid #ED7900;
  border-right:1px solid #ED7900;
  position:relative;
  margin-top:15px;
}
#pre-titolo {
width: 200px;
position:relative;
top:-8px;
left:12px;
font-size: 13px;
font-weight: bold;
color:#ED7900;
background:#FFF;
text-align: center;
}
#sequenza {
  width: 219px;
  height: 203px;
  text-align: left;
  font-size: 13px;
}
#post-sequenza {
  width: 224px;
  text-align: center;
  border-left:1px solid #ED7900;
  border-bottom:1px solid #ED7900;
  border-right:1px solid #ED7900;
  position:relative;
  top:-8px;
  left:-1px;
}
#post-titolo {
width: 200px;
position:relative;
top:+8px;
left:12px;
background:#FFF;
font-size: 13px;
text-align: center;
}
/* modificatori per la sequenza di sinistra */
#fotovoltaico #pre-sequenza,
#fotovoltaico #sequenza,
#fotovoltaico #post-sequenza {
  width:260px;
}
#fotovoltaico #pre-titolo,
#fotovoltaico #post-titolo {
  width:230px;
}
#fotovoltaico #sequenza {
  padding-left:15px;
  height: 250px;
  }

#arcobaleno {
  width: 219px;
  height: 155px;
  background: url("../immagini/home/box_arcobaleno.png");
  text-align: right;
}

#arcobaleno p {
  padding: 74px 0 0 0px;
  text-align: center;
  font-size: 11px;
}

#box-home {
  width: 219px;
  height: 155px;
  text-align: right;
}

#africa {
  width: 219px;
  height: 203px;
  background: url("../immagini/home/africa.jpg");
  text-align: right;
}

#africa p {
  padding: 102px 0 0 20px;
  text-align: center;
  font-size: 10px;
}

#africa a, #arcobaleno a { color: #003368; }
#africa span, #arcobaleno span { color: #ef7800; }

#fotovoltaico {
  position: absolute;
  top: 390px;
}

/*********************
 * Colonna centrale
 ********************/

div.address {
  position: relative;
  width: 970px;
  margin: 0 auto;
  padding-top: 0px;
  text-align: center;
  margin-top:10px;
  border-top:1px solid #AAA;
  padding-top:4px;
  font-size: 11px;
  line-height: 13px;
}

/*********************
 * Banner
 ********************/
#banner_footer {
  text-align: center;
}
#fornitori a {
  padding:6px;
  vertical-align:center;
}


/*********************
 * DROP DOWN MENU
 ********************/
.menu {
  width:100%;
  height:30px;
  position:relative;
  z-index:100;
  background:transparent url(../immagini/home/bg_menu.gif) top left no-repeat;
}

.menu-nav {
  padding-left: 40px;
  border-top:1px solid #ef7800;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu-nav ul ul {
  width:150px;
  font-size:0.9em;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu-nav li {
  position:relative;
  float:left;
}

/* style the links for the top level */
.menu-nav a,
.menu-nav a:visited {
  display:block;
  height:29px;
  padding: 0 10px 0 5px;
  line-height:30px;
  font-weight:bold;
  color:#FFF;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu-nav a,
* html .menu-nav a:visited { float:left; }

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu-nav ul ul a,
* html .menu-nav ul ul a:visited {
  display:block;
  width:150px; /*all IE version*/
  w\idth:139px; /*hidden from IE5.x/Win - OK for IE5/Mac and IE6/Win*/
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu-nav ul ul {
  visibility:hidden;
  position:absolute;
  height:0;
  top:29px;
  left:0;
  width:150px;
}
/* another hack for IE5.5 */
* html .menu-nav ul ul {
  top:29px;
  t\op:30px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu-nav table { position:absolute; top:0; left:0; }

/* style the second level links */
.menu-nav ul ul a,
.menu-nav ul ul a:visited {
  background:#eee;
  font-weight:normal;
  color:#000;
  height:auto;
  line-height:1em;
  padding:5px 10px;
  width:129px;
  border:solid #7c7c7c;
  border-width:0 1px 1px 1px;
}
* html .menu-nav ul ul a{
  width:150px;
  w\idth:129px;
}

.menu-nav ul ul a.a_parent,
.menu-nav ul ul a.a_parent:visited {
  border-bottom:0;
  font-weight: bold;
}
/* style the second level links */
#menu-nav-sub {
  border-bottom:1px solid #7c7c7c;
}

#menu-nav-sub a {
  padding-top:3px;
  padding-left:15px;
  padding-bottom:3px;
  border-bottom:0;
  font-size: 0.9em;
  width:124px;
}
* html #menu-nav-sub a{
  width:145px;
  w\idth:124px;
}

/* style the top level hover */
.menu-nav a:hover{
  background:#01276a;
  text-decoration: none;
}

.menu-nav ul ul a:hover{ background:#ef7700; color:#FFF; }

/* make the second level visible when hover on first level list OR link */
.menu-nav ul li:hover ul,
.menu-nav ul a:hover ul{ visibility:visible; }
