/* 
Foglio di stile Globale (Cartucciopoli.it)
Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/


html,body{
    margin:0; 
    padding: 0;
    height: 100%
}

body {
    font-family: verdana, sans-serif;
    font-weight:normal;
    font-size:10pt;
    color:#000080;
}

#container{
    position: relative; 
    height:100%
}

div#container{
    position: relative; 
    height:100%
}

body>div#container{
    height: auto; 
    min-height: 100%
}

#logo{
    position:relative;
    padding-top:0em;
    top:7px;
    height:auto;

    text-align:center;
    margin-left:180px;
}

#town {
    position:relative;
    top:5px;
    left:250px;
    height:78px;
    width:512px;

    background-repeat:no-repeat;
}

#visitors{
    position:relative;
    top:63px;
    left:395px;
    height:20px;
    width:60px;
    margin-left:1px;
    
    font-family:sans-serif;
    font-size:15px;
    font-weight:bold;
    color:#000080;
}

/* Inizio MENU' ----------------------------------------------------------------------------------*/
#menu {
    position:relative;
    float:left;
    margin-top:-50px;
    margin-left:4px;
    height:auto;
    width: 142px;
    
    font-size:8pt;
}

#top_menu {
    position:relative;
    height:75px;
    background-repeat:no-repeat;
}

#menu_text {
    position:relative;
    background-repeat:repeat-y;

    padding:1em;
}

#bottom_menu {
    position:relative;
    height:15px;
    background-repeat:no-repeat;
}

#spacing_sx {
    position:relative;
    height:50px; 
    background-repeat:repeat-y;
}

#bottom_sx {
    position:relative;
    height:171px;
    background-repeat:no-repeat;
}

#menu ul {
    padding-left:10px;
    margin-left:10px;
    list-style-image: url(images/item.png);
    font-weight:bold;
}

#menu li{
    padding-left:1px;
    margin-bottom:6px;
}

#menu li.current_page {
    list-style-image: url(images/item_black.png);
}

#menu a {
    color:#0000FF;
    text-decoration:none;
}
#menu a:visited {
    color:#0000FF;
}
#menu a:hover {
    color: #FF00FF;
}

.sub_menu li {
    margin-left:-10px;
    margin-top:3px;
    margin-bottom:0px;
    list-style:circle;
    font-weight:bold;
    list-style-image: none;
}

.sub_menu li.current_sub {
    list-style:disc;
}

/* Fine MENU' ------------------------------------------------------------------------------------*/

#content{
    margin-top:5px;
    margin-left:160px;
    margin-right:0px;
    padding: 0 0 50px;
    height:auto;
}

#up_corner{
    float:left;
    width:53px;
    height:58px;
    margin-right:-3px;
    
    background-repeat:no-repeat;
}

#up_spacer{
    width:auto;
    height:58px;

    background-repeat:repeat-x;
}

#content_area{
    width:auto;

    /* Gestione Altezza Minima */    
    min-height: 400px; /* Ignorata da IE */
    height: auto !important; /* Ignorata da IE; Precedenza su altri borwser rispetto alla prossima*/
    height: 400px;    /* Usata da IE come min-heigh e ignorata da altri browser */

    background-color:white;
    padding-left:3em;
    padding-right:3em;

    margin-left:0px !important;
    margin-left:-3px;

    background-repeat:repeat-y;
}

#down_corner{
    float:left;
    width:53px;
    height:58px;
    margin-right:-3px;
    
    background-repeat:no-repeat;
}

#down_spacer{
    width:auto;
    left:53px;
    margin-bottom:0px;

    background-repeat:repeat-x;

    text-align:center;
    font-size:6pt;
    font-weight:bold;
    padding:30px;
}

#footer {
    position:relative;
    clear:both;
    bottom:0px;
    left:0px;
    margin-top:1px;

    width:100%; 
    background-color: white;
    border-top:2px dashed;
    font-size:8pt;
    padding:0em 0px;
    margin-top:10px;
    text-align:center;

    font-weight:bold;
}

img{border:0;}

/* Formattazione testo */

a {
    color:#FF0000;
    text-decoration:none;
    font-weight:bold;
}
a:visited {
    color:#FF0000;
}
a:hover {
    color: #0000FF;
}

.title{
    font-weight:bold;
    font-size:14pt;
}

.subtitle{
    font-weight:bold;
    font-size:12pt;
}

ul.near, ol.near{
    margin-top:0em;
}

.centered{
    text-align:center;
}

/* Formattazione Tabelle */
table{
    margin-top:10px;
    table-layout: auto;
    border-collapse: collapse;
    font-size:12px;
    
}

tr {
    border: 1px solid #000080;
}

td {
    border: 1px solid #000080;
    padding:1em;
}
