html, body, #page {
 margin: 0;
 padding: 0;
}
html, body {
 height: auto;
}
body {
 font-size: .8em;
 min-width: 950px;
 font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
 background-color: #f0f0f0;
}
/* General */
p {
 margin: 0 0 1em 0;
 padding: 0;
}
ul {
 margin: 0;
}
img {
 border: none;
}
form {
 margin: 0;
 padding: 0;
}
hr {
 display: none;
}
h1, h2, h3, h4, h5, h6, h7, h8 {
 margin: 0;
 padding: 0;
 color: #990000;
}
h1 {
	font-size: 1.6em;
	line-height: 1.5em;
}
h2 {
	font-size: 1.4em;
	line-height: 1.4em;
}
#left_column h2 {
 border-top: 2px solid #990000;
 padding-bottom: .2em;
}
h3 {
	font-size: 1.2em;
	line-height: 1.4em;
}
h4 {
	font-size: 1.1em;
	line-height: 1.1em;
	margin-top: 0.5em;
}
table {
 width: 100%;
 margin: 0 0 1em 0;
 border-spacing: 0;
 border-collapse: collapse;
 text-align: left;
}
table caption {
 text-align: left;
 font-size: 1.2em;
 font-weight: bold;
 color: #990000;
 padding-bottom: 0.2em;
}
table tr {
 border: none;
}
table th, table td {
 padding: 0.2em 2em 0.2em 0.2em;
 /*background: repeat-x url(media/images/input_text_background.gif);*/
 vertical-align: top;
}
table th {
 border: none;
 /*border-top: 1px solid #990000; */
 color: #990000;
 font-weight: normal;
}
table td {
 /*border-top: 1px solid silver;*/
}
label {
 color: gray;
}
input, textarea, select option {
 font-size: 1em;
 font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
 padding-bottom: 2px;
}

input[type="text"], input[type="password"], select, textarea {
 border: 1px solid silver;
 background: repeat-x url(media/images/input_text_background.gif);
}

input[type="text"]:focus, select:focus, textarea:focus {
 border-color: #990000;
}
option {
 background-color: white;
}

a {
 text-decoration: none;
 color: #3399CC;
}
a:hover {
 text-decoration: underline;
}
/* /General */
/* Starts code from: Alex Griffioen, How to make sexy buttons with CSS, http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html */
.clear { /* generic container (i.e. div) for floating buttons */
 overflow: hidden;
 width: 100%;
}
a.button, a.button:hover {
 position: relative;
 bottom: 5px;
 background: transparent url('media/images/bg_button_a.gif') no-repeat scroll top right;
 color: white;
 float: left;
 font: normal 12px arial, sans-serif;
 height: 24px;
 margin-right: 6px;
 padding-right: 18px; /* sliding doors padding */
 text-decoration: none;
}
a.button span {
 background: transparent url('media/images/bg_button_span.gif') no-repeat;
 display: block;
 line-height: 14px;
 padding: 5px 0 5px 18px;
}
a.button:active {
 background-position: bottom right;
 color: gray;
 outline: none; /* hide dotted outline in Firefox */
}
a.button:active span {
 background-position: bottom left;
 padding: 6px 0 4px 18px; /* push text down 1px */
}
/* end code from Alex Griffioen */
#ml_email {
 width: 10em;
}
.nav a {
 color: #990000;
 text-decoration: none;
 padding-top: 5px;
}
.nav li a {
 border-top: none;
}
.nav li input {
 border-top: 2px solid transparent;
}
.nav li a:hover, .nav li.selected a, .nav li.selected input, .nav li a:hover input {
 border-top: 2px solid #990000;
}
.nav li {
 list-style: none;
}
#page {
 position: relative;
 margin: 0 auto 0 auto;
 width: 950px;
 min-height: 100%;
 padding: 0;
 background: repeat-y url(media/images/page_background.gif);
}
#header, #content, #footer {
 width: 870px;
 margin: 0 auto 0 auto;
 padding: 0 40px 0 40px;
 clear: both;
}
#header {
 height: 128px;
 background: no-repeat url(media/images/header.gif);
}
#header h1, #header h2 {
 margin: 0;
 font-size: 1em;
 float: left;
}
#header h1 {
 margin-left: -12px;
 margin-top: 27px;
 font-size: 2.5em;
 width: 412px;
 height: 85px;
}
#header h2 {
 width: 0;
 height: 0;
 visibility: hidden;
}
#nav1 {
 position: absolute;
 top: 0;
 left: 565px;
 margin: 0;
 padding: 0;
}
#nav1 li {
 float: left;
 padding: 4px 0 .5em 0;
 border-right: 1px solid #990000;
}
#nav1 li a {
 padding: 2px .5em 0 .5em;
}
#nav1 li.last {
 border-right: none;
}
ul.nav2 {
 background: url(img/sfondo_sottomenu.gif) repeat-x;
 margin: 0;
 padding: 0;
 list-style-type: none;
 clear: both;
}
ul.nav2 li {
 float: left; 
 margin: 0 1em 1em 0; 
 padding: 0;
}
#site_search {
 position: absolute;
 width: 160px;
 top: 55px;
 left: 750px;
}
#site_search label { 
 float: left;
 width: 20px; 
 height: 19px; 
 background: url(media/images/search_label.gif) no-repeat; 
}
#site_search label span {
 visibility: hidden;
}
#site_search input[type="text"] {
 float: left;
 width:  120px;
 height: 12px; 
 font-size: .9em;
 border-right: none;
 border-left: none;
}
#site_search input[type="text"]:focus {
 border-color: silver;
}
#site_search input[type="reset"] {
 float: left;
 border: none;
 width: 19px; 
 height: 19px;
 background: url(media/images/search_reset.gif) no-repeat;
 padding-left: 20px;
 margin-right: -6px;
 overflow: hidden;
}
#site_search input[type=reset]:active {
 background: url(media/images/search_reset_hover.gif) no-repeat; 
}
#locales {
position: absolute;
top: 100px;
left: 657px;
}
#locales li {
 float:left;
 margin-right: 5px;
 padding-top: 4px;
}
#login a {
 padding-top: 0;
 padding-right:8px
}
#content {
 padding-top: 0px;
 padding-bottom: 20px;
 height: auto;
 min-height: 800px;
}
#content label, #content input, #content textarea, #content select option, #content button, {
 margin-right: .5em;
 margin-bottom: 0;
}
#left_column {
 float: left;
 clear: left;
 width: 600px;
 margin-top: 0px;
}
#right_column {
 float: left;
 clear: right;
 margin: 0 0 0 20px;
 width: 250px;
}
.portlet {
 padding:  0;
 margin: 0 0 10px 0;
 background: repeat-y url(media/images/portlet_body.gif);
 clear: both;
}
.portlet h2 {
 color: #990000;
 padding: 6px 10px 12px 10px;
 margin: 0;
 background: no-repeat url(media/images/portlet_header.gif);
 border-top: 0px none;
}
.portlet .body {
 padding: 0 10px 0 10px;
 margin: 0;
}
.portlet .body ul {
 padding: 0;
 margin: 0;
}
.portlet .body ul li {
 border-top: 1px solid #990000;
 margin: 0 0 1em 0;
 padding: 2px 0 0 0;
 list-style: none;
}
.location {
 color: #990000;
}
.date {
 color: darkgray;
 font-style: normal;
}
.portlet .footer {
 height: 18px;
 width: 250px;
 padding: 0;
 margin: 0;
 background: no-repeat url(media/images/portlet_footer.gif);
}
#footer {
 padding-top: 20px;
 height: 80px;
}
#footer h3 {
 margin: 0;
 padding: 0;
 float: left;
 margin-right: 1em;
}
#footer h3 a img {
 border: none;
}
#footer .credits {
 color: gray;
 float: right;
 margin: 0px 28px 0 0;
 font-size: .9em;
 vertical-align: top;
}
#footer .youmap {
 color: #990000;
}
#footer .designer, #footer .google {
 color: black;
}
#footer .mako {
 color: orange;
}
.google .g1 { color: blue; }
.google .o1, .google .e { color: red; }
.google .o2 { color: orange; }
.google .g2 { color: #0066CC; }
.google .l { color: green; }
.hidden {
 display: none;
}