#content {  
  height: 100%;
  min-height: 100%;

  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}




/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 98px;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 40px;
  left: 20px;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;

  font: bold italic 1.8em arial, serif;
  letter-spacing: -1px;
  color: #1f4d90;
}


/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 100px;
}

#header img.balloons {
  position: absolute;
  z-index: 2;

  top: 70px;
  right: 400px;
}



/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 900px;
  clear: both;  
  height:38px;
}

#mainMenu ul {
  margin: 0;
  padding: 0;
  width: 520px;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 10px 0 0 0;
}

#mainMenu li a {
  float: left;
  margin: 0 1px 0 0;
  width:127px;
  height:28px;
  text-align:center;
  padding: 10px 0 0 0;

  font: bold 1.2em arial, serif;
  text-decoration: none;
  text-transform: uppercase;
  color: #FFF;
  background:url(../images/but-off.gif) top left no-repeat;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  background:url(../images/but-on.gif) top left no-repeat;
}

#mainMenu li a.last {
  margin-right: 0;
}

#mainMenu a img{
  border:0px;
}
#mainMenu a:Hover img{
  border:0px;
}


/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 5px 0 0 3px;
  background:url(../images/bg-proposte.gif) top left no-repeat;
  width: 357px;
  height:475px;
  margin-top:30px;
}

.sideMenu li {
  display: inline;  
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
  font: bold 14px arial, serif;
  color:#fff;

}

.sideMenu li a {
  display: block;
  margin: 0;
  padding: 3px 5px;    
  
  text-decoration: none;
  color: #FFF;
} 

.sideMenu li a:hover {
  color: #a3cdfe;
  background: #5e7faf;
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  color: #fff;
}

/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 40px 0 0 0;
  padding: 0;
  width: 340px;
}

.sideMenu li.here ul li a {
  padding-left: 40px;
  font: bold 15px arial, arial, sans-serif; 
  color: #FFF;  
  border-bottom:1px dotted #fff;
  background: url(../images/bullet.gif) no-repeat 3px 7px;
  
}
.sideMenu li.here ul li a span {
  font: normal 11px "trebuchet ms", arial, sans-serif; 
  color: #a3cdfe;  
}

.sideMenu li.here ul li a:hover {
  color: #dcb20c;
  background: #5e7faf url(../images/bullet-on.gif) no-repeat 3px 7px;
}

/**************************************************************
   .subMenu
 **************************************************************/

.subMenu {background:url(../images/subMenu.gif) bottom left repeat-x;  height:25px; font:13px Arial, Helvetica, sans-serif; margin:0 0 0 17px;}
.subMenu ul {margin:0; padding:0px; list-style:none; border-bottom:1px solid #d7d7d7;}
.subMenu li {display:inline; line-height:25px;text-align:center;}
.subMenu li a {color:#000000; text-decoration:none; padding:4px 5px 6px 5px;}
.subMenu li a.sel {border-left:1px solid #cdcdcd; border-right:1px solid #cdcdcd; border-top:1px solid #cdcdcd;  border-bottom:1px solid #fff;background:#fff; padding:4px 4px 6px 4px;}
.subMenu li a:hover {border-left:1px solid #cdcdcd; border-right:1px solid #cdcdcd; border-top:1px solid #cdcdcd; border-bottom:1px solid #fff; background:#fff; padding:4px 4px 6px 4px;}




/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
  padding-top: 1em;
  padding-bottom: 4em;
}

#banner {
  width: 100%;
  float:left;
  border: 1px dotted #5e7faf;
  padding:8px;
  background:#f4f3f3;
  margin-bottom: 4em;
}
#banner #box {
  margin:8px;
  float:left;
  height:90px;
}

.flash {float:left; padding:10px;}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  height: auto;
  
  margin-top: -3em;
  background: #e1e1e1 url(../images/bg-footer.gif) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.89em;
  padding-top: 22px;
}



/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

.width65 {
  width: 64%;
}

.width35 {
  width: 34.7%;
}



/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.white {
  color: #fff;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  /*margin-bottom: 2em;*/
  background: url(../images/gradient.jpg) top left repeat-x; 
}



#propr {
	width:auto;
	display:block;
	border-bottom:1px dotted #688dba;
	margin:20px;
	min-height:90px;
	
	}
#propr .title {
	font-size: 1.4em; 
	color: #1f4d90;
	}
#propr .subtitle {
	font-size: 1.4em; 
	color: #00adef;
	}
#propr .codice {
	font-size: 1.4em; 
	font-weight:bold;
	color: #dcb20c;
	}
	
img.floatR { 
    float: right; 
    margin:0 4px 0 0; 
	display:inline;
}
img.floatL { 
    float: left; 
    margin:0 4px 0 0; 
	display:inline;
}
img.propT { 
    float: left; 
    margin:0 4px 0 0; 
	display:inline;
	border:4px solid #cde3fd;
	padding:2px;
}
