html,body { height:100%; width:100%; margin:0; padding:0; color:#383838; background-color:#FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:small; }
body { text-align:center; background:url(../images/bg_dx_home.png) 0 0 repeat-x; padding:20px 0; }
body.section_id_1 { background:none; }
a,a:visited { color:#383838; text-decoration:underline; }
a:hover,a:active { color:#383838; text-decoration:none; }
img { border:none; margin:0; padding:0; }
.clear { clear:both; }
br.clear { height:1px; line-height:1px; font-size:1px; }
#box { position:relative; width:960px; margin:0 auto; padding:0; text-align:left; background-color:#FFF; }

#header { position:relative; height:204px; background:url(../images/bgtop_standard.png) top right no-repeat; }
.section_id_1 #header { background:url(../images/bgtop_random-1.png) top right no-repeat; }
#header.home0 { background:url(http://www.aimenergy.it/media/img/bgtop_random-0.png) top right no-repeat; }
#header.home1 { background:url(http://www.aimenergy.it/media/img/bgtop_random-1.png) top right no-repeat; }
.section_id_8 #header { background:url(../images/bgtop_gas.png) top right no-repeat; }
.section_id_9 #header { background:url(../images/bgtop_energia.png) top right no-repeat; }
.section_id_12 #header { background:url(../images/bgtop_random-1.png) top right no-repeat; }
.section_id_14 #header { background:url(../images/bgtop_bollette.png) top right no-repeat; }
.section_id_13 #header { background:url(../images/bgtop_autolettura.png) top right no-repeat; }
#header form { position:absolute; bottom:10px; right:10px; }

#logo { width:263px; height:204px; background:#FFF url(../images/bg_logo.png) left top repeat-x; margin:0; padding:0; position:relative; float:left; border-right:1px solid #9A9A9A; }
#logo.home { width:264px; background:#FFF url(../images/bg_logo_home.png) left top repeat-x; border-right:none; }
#logo img { padding:0; margin:57px 0 0 42px; }

#subtitle { position:absolute; width:200px; margin:0; padding:0; font-size:xx-small; bottom:10px; left:42px; text-align:center; }
#subtitle a { text-decoration:none; }

#menu { position:relative; margin:0; padding:0 0 0 15px; line-height:21px; height:34px; text-transform:uppercase; font-weight:bold; background:#104d95 url(../images/gradient.png) top left repeat-x; }

#menu-topdx { position:relative; float:right; margin:15px 15px; background-color:#FFF; border:solid 1px #DDD; list-style:none; padding:9px 15px; text-transform:uppercase; font-size:x-small; }
#menu-topdx li { position:relative; float:left; margin:0; padding:0; }
#menu-topdx li a { text-decoration:none; display:block; padding-right:10px; border-right:1px solid #383838; }
#menu-topdx li.lastli a { padding:0 0 0 10px; border:none; }

#menu-top { position:relative; background-color:#104d95; margin:0; padding:0; font-size:x-small; }
#menu-top li { list-style:none; margin:0; padding:0; display:inline; float:left; line-height:21px; height:21px; background-color:#104d95; }
#menu-top li a, #menu-top li strong { display:block; padding:0 15px; color:#FFF; text-decoration:none; border-left:1px solid #6e93be; }
#menu-top li.firstli a, #menu-top li.firstli strong { border:none; }
#menu-top li a:hover, #menu-top li.selected a { color:#ffec00; }
#menu-top li.lastli { position:relative; float:right; background-color:#44a801; margin:0; padding:0; display:inline; color:#FFF; }
#menu-top li.lastli a, #menu-top li.lastli strong { padding:0 30px 0 15px; border:none; color:#FFF; }

#body { position:relative; padding:0; margin:0; background-color:#FFF; }
#body.home { background:#FFF url("../images/bg_dx_home.png") 0 0 repeat-x; }
* html #body.home { height:700px; }
* + html #body.home { min-height:500px; }
.section_id_18 #body.home { background-image:none; }
.content-view-sitemap { padding:2em; margin:0; background:#FFF url("../images/gradient-map.png") 0 0 repeat-x; }
.content-view-sitemap h1 { margin:0 0 2em 0; }

#path { position:relative; margin:0 0 30px 60px; padding:5px 0 0 0; font-size:x-small; }

#sx { position:relative; width:250px; float:left; padding:0; }
#sx h3 { text-transform:uppercase; background:#FFF url("../images/bg_sx_title.png") 0 2px no-repeat; padding:0; margin-left:10px; font-size:100%; }
#sx h3.ultimo { border-top:1px dotted #383838; padding-top:15px; background:url(../images/bg_sx_title.png) 0 17px no-repeat; }
#sx h3 a { padding-left:20px; }
#sx a,a:visited { text-decoration:none; }
#sx ul { margin:0 0 1em 45px; }
#sx ul li ul, #sx ul li ul li ul { margin-left:10px; font-size:90%; }
#sx ul li ul { font-size:85%; list-style-type:circle; }
#sx ul li ul li ul { list-style-type:disc; }
#sx ul.ultimo { padding-top:1em; }
#sx ul li { margin:0; }
#sx ul a:hover, #sx  ul strong { color:#104d95; }

.form_local label,table.tabform label, label { display:inline; white-space:normal; }
.form_local input.box,.form_local textarea.box { width:auto; }

#dx { position:relative; width:695px; border-left:1px solid #CCC; float:right; }
#dx #text { margin:0 0 0 35px; position:relative; }
#text a,#text a:visited { color:#383838; text-decoration:underline; }
#text a:hover,#text a:active { color:#383838; text-decoration:none; }
#text h3 a { text-decoration:none; }
#dx #text h1 { color:#383838; position:relative; margin:0 80px 1em 0; padding:0 0 10px 0; border-bottom:1px dotted #383838; font-size:150%; }
#dx p { padding:0; margin:1em 80px 0 0; }
h2 { margin:0 0 1em 0; padding:0; }
.content-view-embed { margin-top:1em; }

/* TABLES */
table.cols { width: 100%; margin: 1em 0 1em 0; border: none; }
table.cols th, table.cols td { padding: 0.5em; border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff; vertical-align: top; }
table.cols th { font-weight: bold; color: #525345; background-color: #DFDFDF; white-space: nowrap; text-align: left; background-image: url(../images/th_bg.png); background-repeat: repeat-x; background-position: top left; }
table.cols td { font-weight: normal; }
table.cols th:first-child, table.cols td:first-child { border-left: 1px solid #ffffff; }
table.cols col.bglight, div.bglight { background-color: #F1F1ED; }
table.cols col.bgdark, div.bgdark { background-color: #EAE9E1; }
table.cols tr.bglight:hover, table.cols tr.bgdark:hover { background-color: #EAE9E1; }
table.cols tr.bglight:hover td, table.cols tr.bgdark:hover td { background-color: #F1F1ED; }
table.cols a { border-bottom-color: #EAE9E1; }

#sx_home { position:relative; width:263px; float:left; padding:0; margin:0 0 3em 0;  /*background:url(../images/bg_sx_home.png) 0 0 repeat-x;*/ }
#sx_home #top_box { background:url(../images/top_blue.png) 0 0 transparent no-repeat; padding:9px 0 0 0; margin:20px 0 0 45px; width:200px; text-align:center; }
#sx_home .top_box2, #dx_home .top_box2 { background:url(../images/bottom_white_trasp.png) left bottom transparent no-repeat; padding-bottom:9px; }
#sx_home .top_box2 .white, #dx_home .top_box2 .white { background-color:#FFF; margin:0; padding:0; }
#sx_home p,#dx_home p { margin-bottom:0; }
#sx_home #top_box h4 { color:#FFF; text-transform:uppercase; background:url(../images/gradient.png) bottom left #104d95 repeat-x; padding:0 0 15px 0; margin:0; font-size:85%; }
#sx_home a,#sx_home a:visited { text-decoration:none; }
#sx_home p { margin:0; }

.top_box_yellow { background:url(../images/top_yellow.png) 0 0 transparent no-repeat; padding:9px 0 0 0; margin:0 0 0 45px; width:200px; text-align:center; }
.top_box_yellow h4 { color:#000; text-transform:uppercase; background:url(../images/gradient_yellow.png) bottom left #ede13d repeat-x; padding:0 0 15px 0; margin:0; font-size:85%; text-align:center; }
.top_box_yellow ul, .top_box_yellow ul li { text-align:left; margin-top:0; margin-bottom:0; }
.primo_piano ul, .primo_piano ul li { list-style-type:none; margin:0 0.5em 1em 0.5em; }
.primo_piano ul li a { color:#004c99; }

#menu-left-home { width:200px; margin:1em 0 1em 45px; padding:0; text-transform:uppercase; font-weight:bold; font-size:85%; line-height:100%; text-align:left; }
#menu-left-home li.firstli { background:url(../images/top_red.png) 0 0 transparent no-repeat; }
#menu-left-home li { margin:0 0 0.5em 0; padding:9px 0 0 0; list-style-type:none; background:url(../images/top_blue.png) 0 0 transparent no-repeat; }
#menu-left-home li div { margin:0; padding:0 0 9px 0; background:url(../images/bottom_blue.png) left bottom transparent no-repeat; }
#menu-left-home li.firstli div { background:url(../images/bottom_red.png) left bottom transparent no-repeat; }
#menu-left-home a,#menu-left-home a:hover { display:block; color:#FFF; text-decoration:none; background-color:#104d95; padding:0 1em; }
#menu-left-home li.firstli a,#menu-left-home li.firstli a:hover { background-color:#f50000; }

#center_home { padding:0; margin:20px 0 0 0; position:relative; width:430px; float:left; /*background:url(../images/top_white_trasp_big.png) 0 0 no-repeat;*/ border-left:#bfe9f8 1px solid; border-right:#bfe9f8 1px solid; }
#center_home #text { width:430px; /*background:url(../images/bottom_white_trasp_big.png) left bottom transparent no-repeat;*/ padding-bottom:0; }
#center_home .pad { width:430px; margin:0; padding:9px 0; text-align:center; }
#center_home .white { width:430px; background-color:#FFF; margin:0; padding:0; }
#center_home table.renderedtable { position:relative; margin:0 auto; padding:0; background-color:#FFF; border:none; }
#center_home table.renderedtable .bgdark, #center_home table.renderedtable .bglight { position:relative; background-color:#FFF; }
#center_home table.renderedtable td { position:relative; text-align:center; background-color:#FFF; }
#center_home table.renderedtable h3 { font-size:150%; font-weight:bold; margin:0 0 0.5em 0; }
#center_home table.renderedtable h4 { font-size:145%; font-weight:bold; margin-top:1em 0 0.5em 0; }

#dx_home { position:relative; float:left; padding:0 0 0 17px; margin:20px 0 0 0; /*border-left:#bfe9f8 1px solid;*/ }
#dx_home #top_box_green { background:url(../images/top_green.png) 0 0 transparent no-repeat; padding:9px 0 0 0; margin:0 0 1em 0; width:200px; text-align:center; }
#dx_home #top_box_green h4 { color:#FFF; text-transform:uppercase; background:url(../images/gradient_green.png) bottom left #44a801 repeat-x; padding:0 0 15px 0; margin:0; font-size:85%; text-align:center; }
#dx_home #top_box_green a,#dx_home #top_box_greena:visited {  color:#FFF; }
#dx_home a,a:visited { text-decoration:none; }
#dx_home .top_box_yellow { margin-left:0; }
#dx_home p { margin:0; padding:0 0 0.5em 0; }

address { position:relative; text-align:center; width:750px; border-top:1px solid #CCC; padding:15px 0; margin:15px auto 15px auto; font-style:normal; font-size:x-small; }
address strong { text-transform:uppercase; }

#numeri_verdi td,#numeri_verdi th { padding:0.1em 0.5em; }
#numeri_verdi .numeri_verdi_distributore td,#numeri_verdi .numeri_verdi_distributore th { padding-top:0.5em; }
.numeri_verdi_numero td { font-weight:bold; color:#0A0; font-size:120%; }

#autolettura_periodi { margin:1em 0; border-spacing:0; border-collapse:collapse; }
#autolettura_periodi thead { background-color:#EEE; }
#autolettura_periodi td,#autolettura_periodi th { padding:0.2em 0.5em; border-bottom:1px solid #000; }

.object-left { display:inline; float:left; }
.object-left img { margin: 0 1em 1em 0; }
.object-center { text-align:center; }
.object-right { display:inline; float:right; }
.object-right img { margin: 0 0 1em 1em; }

.renderedtable { margin-top:1em; border:#F8F8F8 solid 1px; }
.renderedtable td, .renderedtable th { padding:5px; }

#dx .prenotazioni { border:1px solid #CC0A2E; padding:0.5em 1em; margin:0 1em; width:100%; }
#dx .prenotazioni p { margin-right:0; }
#dx .prenotazioni h3 { text-align:center; color:#CC0A2E;}

.errore { color:#CC0A2E; }
