/* GENERAL */ 
.clear { 
   clear:both; height:0; line-height:0; }
.last {
   margin-bottom: 0;
}
input, textarea  { 
   border: 1px solid #aaa 
}
input:hover, 
textarea:hover  { 
   border: 1px solid #888 
}

img{ 
   border:0;
}

/* 404 ERROR */
div#error_404 h1{
   border-bottom: 1px solid #C20000;
   margin-bottom: 1em;   
}

/* CONTAINER */
#wrap{
   width: 100%;
   background: #f0f9e4 url("../images/bg1.png") repeat-x scroll top left; 
}
#container{
   width: 52.5em;
   margin: 0 auto;   
}

/************/
/*  HEADER  */
/************/
#header{
   width: 100%;
   background: transparent url('../images/header-top.jpg') no-repeat scroll left top;
   height: 18.375em;/* 294px */
}
#header h2.title{
   display: none;
}
#header #header_container{  
   padding-top: 0.687em;
}
#header #header_top{
   height: 15.75em;   /* 252px */
   /* background: transparent url('../images/menu-top.jpg') no-repeat scroll bottom center;   */
}
#header #header_bottom{
   height: 6.125em; 
}
#header #header_left{
   height: 15.75em; /* 252px */
   width: 20.937em;  /* 335px */
   background: transparent url('../images/header-left2.jpg') no-repeat scroll center center;
   float: left;
}
#header #header_left #logo{
   padding-left: 1em;   
}
#header #header_left #logo_title{
   padding-left: 0.5em;
   color: #FFF;
   font-size: 2.1em;
   font-weight: normal;
   text-transform: uppercase;
   line-height: 1.2em;  
   font-family: Tahoma, Verdana;
   font-variant: small-caps;
}
#header #header_right{
   height: 15.75em; /* 252px */
   width: 30.375em; /* 486px */                  
   float: right;
   background: transparent url('../images/header-slide-left.jpg') no-repeat scroll left top;
}
#header #header_right .gutter{
   height: 15.75em; /* 252px */
   width: 30.375em; /* 486px */ 
   background: #3e4243;
   background: transparent url('../images/header-slide-right.jpg') no-repeat scroll right top;
}
#header #header_right #slideshow{
   height: 15.75em; /* 252px */
   width: 26.9em; /* 438px */  
   margin-left: 1.5em;
   background: #3e4243 ;
   
}
#header #header_right #slideshow_swf{
   background: transparent url('../images/slideshow-bg.jpg') repeat-x scroll left top; 
}

/* MENU */
#header #header_menu{
   width: 52.5em; /* 840px */
   height: 1.937em; /* 31px */  
   /*background: transparent url('../images/menu.jpg') no-repeat scroll center center;  */
} 
#header #header_menu .gutter{
   height: 1.937em; /* 31px */    
}
#header #header_menu #main_menu{
   height: 1.937em; /* 31px */   
   margin-left: 1.125em;
}  
#header #header_menu #main_menu li{
   float: left;
   border-left: 1px dotted #C6CEC1;

}
#header #header_menu #main_menu li.link_home{
   width: 6.25em; /* 100px */
}
#header #header_menu #main_menu li.link_how{
   width: 7.25em; /* 116px */
}
#header #header_menu #main_menu li.link_upd{
   width: 17.5em; /* 280px */
} 
#header #header_menu #main_menu li.link_pres{
   width: 11.5em; /* 184px */
}
#header #header_menu #main_menu li.last{
   width: 7.187em; /* 115px */
   border-right: 1px dotted #C6CEC1;
}      
#header #header_menu #main_menu li a{
   display: block;  
}


/***********/
/* WRAPPER */
/***********/
#wrapper{
   padding-top: 1.125em;   
}
#gallery_wrapper{
   height: 39em; /*35.625em; /* 570px */
   padding-bottom: 1.25; /* 20px */
}
/***********/
/* SIDEBAR */
/***********/
#sidebar{
   width: 40%; /* 335px / 840px =  0.3988 => 39% */ 
   float: left;
}
#sidebar .gutter{
   padding-left: 1.125em;  
}
#sidebar .box{
   margin-bottom: 1.2em;  
}
#sidebar .box h2.title{
   padding: 0 0 0 0.5em;
}
#sidebar #box_categorie h2.title{
   background: #a9afa1;
}
#sidebar #box_last_news h2.title{
   background: #aaad92;
}
#sidebar #box_most_commented h2.title{
   background: #a7b081;
}
#sidebar #box_links h2.title{
   background: #92b072;
}
#sidebar .box ul li{
   display: block;
}
#sidebar .box ul li.odd{
   background: #f0f9e4;
} 
#sidebar .box ul li.even{ 
   background: #dfe7d2;
}
#sidebar .box ul li:hover{
   background: #E0DDAA;
} 
#sidebar .box ul li a{ 
   display: block;
   padding-left: 1em;
} 
#sidebar #lista_categorie ul li ul li{
   margin-left: 1em;
}
/***********/
/* CONTENT */
/***********/
#content {      
   display: block;
   background-color: #f0f9e4;
}

#content_floated{
   width: 54%; /* 460px / 840px = 0.547 */      
   float: right;
}
#content .gutter,
#content_floated .gutter {
   padding-right: 1.70em;  
}
#content .gutter{
   padding-left: 1.1em;
}
.main_content{
   
}


/**********/
/* FOOTER */
/**********/
#footer{
   border-top: 0.125em solid #758a3f;
   padding-bottom: 1em;
}
#footer .gutter{
   padding: 1em 0;
   margin: 0 auto;
}
#footer a, #footer span.separator, #footer p{
   float: left; 
   display: block;    
}
#footer .separator{
   width: 0.125em;
   border-right: 0.125em solid #758a3f;
   margin: 0 0.5em 0 0.5em;
}
#footer #footer_link{
   float: left;  
}
#footer #footer_link a{
   padding: 0.1em;
}
#footer #footer_link a:hover{
   background: #6D8D3A;
   color: #FFF;   
}
#footer #validation_icons{
   float: right;
}


/* PAGINE */
 
/* LOADING GIF */
form.loading .submit {
   overflow: hidden;
   background: url(../images/loading_red.gif) no-repeat center center;
}
form.loading .submit * { visibility: hidden; }

/*- FLASH MESSAGE -*/
#flashMessage {
   background-color: #FFA0A0;
   position: absolute;
   right: 2em;
   top: 4.5em;
   width: 15.625em; /* 150px / 16px */
   color:#FF0000; 
   font-weight: normal; 
   font-size: 0.875em;
   border: 1px solid #FF0000; 
   margin:0;
   text-align: center;
   padding: 1em;
}
/* ERROR */
.error {
   font-weight: bold;
   color:#FF3300;
   padding-left: 18px;
   margin-left:10px;
   background: url(/public/shared/images/error.png) no-repeat left center;
}


