/* Start of CMSMS style sheet 'Locanda : layout' */
 html
{ 
   margin: 0;
   padding: 0; 
} 

body {
   background:#75832c;
   font-family:"Lucida Grande", Geneva, Arial, Verdana, sans-serif;
   font-size: 80%;
   color:#333;
   text-align:left; 
   margin:10px 0 0 0;
}

h1, h2, h3, h4, h5, h6, p, pre,  ol, dl, address,.componentheading,.contentheading,.contentpagetitle,.sectiontableheader,.newsfeedheading{
   margin: 1em 0;
   padding: 0;
}


#container {
   width:946px;
   margin:auto;
   background:url(uploads/Locanda/bg.gif) repeat-y #FFF;
   display:block;
}

#header{
   width:946px;
   margin:auto;
   line-height: 1.2em;
   background:url(uploads/Locanda/top.gif) no-repeat top #FFF;
   height:240px;
}


#navigation {
   width:734px;
   height:28px;
   margin-left: 100px;
   margin-top: 0px;
   background:url(uploads/Locanda/main_menu.jpg) no-repeat;
}

div#navigation ul {
    margin: 0px;
    padding: 0px;
    white-space: nowrap;
}

#primary-nav {
  margin:0 0 0 12px;
  padding:0;
}

#primary-nav ul {
  margin:0;
  padding:0;
  list-style:none;
}
/* top level links */

/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#primary-nav a {float:none;}
/* End IE5-Mac hack */


#primary-nav li {
  margin: 0 1px 0 0;
  float:left;
  height: 22px;
  padding: 0;
  display:inline;
}

#primary-nav li a {
  display:inline;
  line-height: 22px;
  height: 22px;
  padding:4px 12px 12px 4px;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  color: #ffffff;
}

#primary-nav a:hover {
  background:url(uploads/Locanda/main_menu_on.jpg) repeat-x;
  color: #000000;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   padding-left:30px;
   margin-top: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}


div#main {
   min-height: 580px;
   margin-left: 32%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 4%; /* and some air on the right */
   margin-top: 3%;

}

div#main_bianco {
   min-height: 580px;
   margin-left: 12%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 4%; /* and some air on the right */
   margin-top: 3%;

}
#footer{
	width:100%;
	line-height: 1.1em;
	background:url(uploads/Locanda/bottom.gif) no-repeat bottom;
	font-size:0.8em;
	vertical-align: bottom;
	height:97px !important;
	margin:0;
	padding:0;
        text-align:center;
}
/* Padding for inside containers. Trying to avoid box-model bugs */
.insidefooter { /*slight adjustment for footer */
   width:728px;
   margin:auto;
}

img {

   border: 0;

}

.menuactive {
 
   color: #ffd201;
}

.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clear {display: inline-table;}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* End hide from IE-mac */


#search {
float:right;
width: 25em;     /* enough width for the search input box */
text-align: right;
margin-right:50px;
margin-top:97px;                     /* margin-top:166px; */
}

.banner_left {

   padding-left:10px;
   text-align: center;
}

.banner_left>div{ /*Proper way to center a relative div*/
margin: 0 auto;
}

/* ********** Banner grid */

div.banner-container {
        overflow: hidden;
	width: 100%;
}

.banner-grid {
	margin: 0 0 8px 0;
	padding: 0;
}

.banner-grid li {
        display: inline;
         padding: 0.2em 2em;
        list-style-type: none;
        margin-bottom: 1em;
	position: relative;
	background-image: url(uploads/Locanda/grid-bg.jpg);
	background-repeat: no-repeat;
	background-position: bottom right; 
	border-top: 1px solid white; /* needed to make ie6 behave */
}

.banner-grid li.middle {
	margin: 0 8px;
}

.banner-grid li.first {
	width: 210px;
        float:left;
}

.banner-grid li.last {
       
	border-right: 0;
	width: 200px;
     /*  float: right; */
}

/***********************/

div#language {
   float: right;
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   padding-right:30px;
   margin-top: 0;
}

/* End of 'Locanda : layout' */

