/* 
    Document   : sito_Style
    Created on : 10-gen-2013, 16.58.21
    Author     : Giuseppe Della Fera
    Description:
        Purpose of the stylesheet follows.
*/

Layout a due colonne fluidi

root { 
    display: block;
}

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

body {
    font-family: tahoma, arial, sans-serif;
    font-size: 76%; 
    text-align: center;
    background-color: #000066;
}

/* div 1 livello */

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

/* dimensioni della pagina 643x387 */
div#container {
    background-image: url(hgfx/643Sfondo.png); 
    background-repeat: repeat-y;
    width: 643px;
    position: relative;
    height: 100%;     
    margin: auto;
    text-align: left;
}

/* div 2 livello */

div#header {
    background-image: url(hgfx/logo.gif);    
    background-repeat: no-repeat;    
    height: 87px;
    /* visualizza immagine come sfondo */
} 

div#navigation {
    float:left;
    width: 176px;    
    background-color: #000095;            
}

div#content {
    margin-left: 176px;
    background-color: #000066;         
}

div#footer {        
    border-top: 2px solid #FF0000;
    padding: 0.5em 0 0.5em 0;
    background-color: #000095;
    color: white;
    text-align: center;
    font: normal 0.9em tahoma, arial, sans-serif;
    position: absolute;
    width: 100%;
    bottom: 0;        
}

a[href^="mailto:"] {   
    color: #FF0000;  
}

#footer a{   
    color: #FF0000 !important;  
}

/*
'.clearCol {
'	clear: both;
'	height: 50px;
}
Queste righe dovrebbero servire per impostare il footer correttamente anche su IE6 - la height deve essere uguale al footer che non conosco */

/* div 3 livello CONTENT */

div#titolo {
    padding-top: 1em;
    color: white;    
    text-align: center;
    font: normal bold 1.5em/1.5em tahoma, arial, sans-serif;
}

div#linea {
    width: 100%;
    height: 3px;
    margin: 1em 0 0 0;    
    border-top: 3px solid #FF0000;
}

div#corpo {
    padding: 1em 1em 1em 1em;
    color: white;    
    font: normal 1.1em/1.5em tahoma, arial, sans-serif;            
}

div#corpo.center {
    padding: 1em 1em 1em 1em;
    color: white;    
    font: normal 1.1em/1.5em tahoma, arial, sans-serif;            
    text-align: center;
}

div#image {
    margin: 1em 0 1em 0;
    text-align: center;
    cursor: pointer;
}

/*stili per la navigazione*/
div#navigation ul {
    margin: 1em 0 1em 1em;
    padding: 0; 
    list-style-type: none;    
}

div#navigation li {
    margin: 0;
    padding: 0;
    color: #FF0000;    
}

div#navigation a {
    color:white;
    font: normal 1.1em/1.5em tahoma, arial, sans-serif;
    /*    tipo   grandezza/spaziatura   carattere   */
    text-decoration: none
}

div#navigation a:hover {
    color: yellow;
    text-decoration: underline
}

div#navigation a#activelink {
    color: yellow;
    text-decoration: none
}

/* Gestione form */

form {
        
}

label {
    
}

label input {
    font: normal 1em/1em tahoma, arial, sans-serif;
    display: block;
    width: 300px;
    margin: auto;
}

label textarea {
    font: normal 1em/1em tahoma, arial, sans-serif;
    display: block;
    width: 400px;
    margin: auto;
}

label input.error, label textarea.error {
    border: 4px solid #F67E8F;
}

p.error{
  background: #F67E8F url(hgfx/error.png) 1% 50% no-repeat;
  border:2px solid #F00;
  color:#660D1E;
  font-size:105%;
  margin:3em auto;
  padding:1em 2em;
  width:95%;
}

p.info{
  background-color: #7EF68F;
  border:2px solid #0F0;
  color:#0D661E;
  font-size:105%;
  margin:3em auto;
  padding:1em 2em;
  width:95%;
}


/* gestione galleria immagini */

div#gallery {        
    max-width:467px;
    margin:0 auto;
    padding: 20px;
    text-align: center;  
    height: 550px;
    overflow: auto;
}

ul#griglia {
  list-style-type: none; 
  padding: 0;
  margin: 0;    
}

li#inlineimg {
  border: 2px solid #333333;
  display: inline-block;    
  margin: 10px;  
  /*background: #333333;  */
  background: red;
  zoom:1; /* IE 7 Hack starts here*/
 *display:inline;  
}

li#inlineimg  p {
  padding: 5px 5px 0 5px;
  margin: 0;
  font: normal 1em/1em tahoma, arial, sans-serif;
  color: #fff;
}
 
/* Ingrandire immagini al passaggio mouse */
/*
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image
border-width: 0
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover
visibility: visible;
top: 0;
/*left: 0px; /*position where enlarged image should offset horizontally 
left: -100px;
}
*/