/* global */

html {
	height: 100%;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #2d2b2c;
	font-size: 12px;
	background-color: #e48600;
}

p {
	line-height: 1.3em;
	margin: 0px;
	padding: 0px 0px 0.7em 0px;
	line-height: 1.4em;
}

h1, h2, h3, h4, h5, h6 {
	color: #c80a0a;
	font-weight: bold;
}
h1, .list h2 {
	/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	font-size: 2em;
	line-height: 2em;
	margin: 0px 0px 5px;
	padding: 0px 0px 4px;
	border: 0px;
}

h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	margin: 0px 0px 5px;
	padding: 0px 0px 4px;
	border-bottom: 1px dotted #cccccc;
}

h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	margin: 0px 0px 5px;
	padding: 0px 0px 4px;
	border-bottom: 1px dotted #cccccc;
}

h4 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 5px 0px 5px;
	padding: 0px 0px 4px;
}

img {
	border: 0px;
}

pre {
	border: 1px dashed #89A9C7;
	background-color: #efefef;
	padding: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
	min-height: 2em;
	height: auto;
	overflow: auto;
	overflow-x: auto;
	overflow-y: visible;
}

/* link */

a {
	text-decoration: none;
}
a:link, a:visited, a:active {
	color: #771617;
}
a:hover {
	color: #c80a0a;
}

/* blockquote */

blockquote {
	border: 1px dotted #ccc;
	margin: 1em 0px 1em 0px; 
	padding: 10px 20px 10px 20px;
	background: #efefef;
}
blockquote:before {
	content: open-quote;
	font-weight: bold;
}
blockquote:after {
	content: close-quote;
	font-weight: bold;
}

/* unordered list */

ul {
	margin: 8px 0px 0px 14px;
	padding: 0px;
}

ul li {
	list-style-type: square;
	margin: 0px;
	padding: 0px;
	line-height: 1.5em;
}

/* ordered list */

ol {
	margin: 8px 0px 0px 18px;
	padding: 0px;
}

ol li {
	margin: 0px; 
	padding: 0px;
	line-height: 1.5em;
}

/* container */

#container {
	width: 780px;
	margin-left: auto; 
	margin-right: auto;
	padding-top: 10px;
}

/* header */

#header {
	height: 308px;
	overflow: hidden;
	background: url(images/header.jpg) no-repeat top center;
	color: #ffffff;
}

#header .site_logo {
	margin: 21px 0px 0px 100px;
}

#header .search_form {
	padding: 90px 0px 0px 320px;
}

#header .search_form .text {
	float: left;
	width: 314px;
	height: 60px;
	font-size: 30px;
	padding: 10px 12px;
	border: 0px;
	background: url(images/header_search.png) no-repeat top left;
	color: #333333;
}

#header .search_form .submit {
	float: left;
	height: 60px;
	width: 60px;
	font-size: 26px;
	border: 0px;
	background: url(images/header_search.png) no-repeat top right;
}

/* main */

#main {
	padding: 0px 40px 0px 20px;
	background: url(images/main.jpg) repeat-y bottom center;
}

/* content */

#content {
	text-align: justify;
}

#content h1 {
	margin: 0px;
	padding: 5px 5px;
	line-height: 18px;
	font-size: 1.1em;
}


/* footer */

#footer {
	height: 53px;
	padding: 0px;
	padding-top: 10px;
	text-align: center;
	background: url(images/footer.jpg) no-repeat bottom center;
}

#footer iframe {
	margin-left: -8px;
}

/* credits */

#credits {
	margin: -5px;
	padding: 27px 55px 0px 45px;
	background: url(images/credits.jpg) no-repeat bottom center;
	height: 55px;
}
#credits div.social_bookmarks {
   float: left;
	text-align: left;
}
#credits p {
   float: right;
	text-align: right;
}

/* additional layout for content */
/* Tabella principale */

/* Filtri */

.filters {
	width: 100%;
	height: auto;
	overflow: hidden;
	border-bottom: 1px solid #cccccc;
	margin-bottom: 5px;
	padding-bottom: 5px;
}
.filter {
	float: left;
	max-width: 33%;
}
.filter label {
	text-transform: capitalize;
	text-align: left;
	width: auto;
}
.filter select {
	width: 130px;
}

/* command */
.command {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 5px;
	padding: 5px 5px 5px 0px;
	line-height: 16px;
}
.command img {
	float:left; 
	margin: 0px 3px 0px 0px;
}

/* tables */
.mainTable {
		width: 100%;
		background-color: #f2fded;
		border: 1px solid #E1E1E1;
		border-collapse: collapse;
}

.mainTable td, .mainTable th {
		border-bottom: 1px dotted #E1E1E1;
		border-right: 1px dotted #E1E1E1;
		padding-left: 5px;
		padding-right: 5px;
}

.mainTable thead td, .mainTable th {
	background-color: #e5e5e5;
	height: 1.3em;
	line-height: 1.3em;
	font-weight: bold;
}

.mainTable tbody td {
		padding-top: 2px;
		padding-bottom: 2px;
		height: 12px;
		line-height: 12px;
		vertical-align: top;
}

.mainTable tr.alternate {
	background-color: #fff;
}

.mainTable p.disactive {
	color: #999999;
}

.mainTable tfoot td {
		background-color: #fff;
		line-height:20px;
}
.mainTable select {
	width: 150px;
}

/* Form styles */

form {
	padding: 0px;
	margin: 0px;
}

select {
	width: 305px;
	border-top: 1px solid #555;
	border-left: 1px solid #555;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	padding: 1px 1px 1px 1px;
	margin: 0px 0px 0px 0px;
}

textarea {
	width: 300px;
	border-top: 1px solid #E1E1E1;
	border-left: 1px solid #E1E1E1;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px;
	margin: 0px;
	color: #333333;
}

input {
	border: 1px solid #E1E1E1;
	border-left: 1px solid #E1E1E1;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px 1px 1px 1px;
	margin: 0px 0px 0px 0px;
	color: #333333;
}

.image {
	border: 0px !important;
}

#content .text {
	width: 300px;
	border-top: 1px solid #E1E1E1;
	border-left: 1px solid #E1E1E1;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px;
	margin: 0px;
	color: #333333;
}

.checkbox {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 2px 2px 2px 2px;
}

.radio {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 5px 0px 5px;
}

.smallform {
	width: 100%;
}

fieldset {
	margin: 0px;
	border: none;
	border-top: 1px dotted #E1E1E1;
}

legend {
	margin: 1em 0;
	padding: 0 .5em;
	color: #228B22;
	background: transparent;
	font-size: 1em;
	font-weight: bold;
}

label, div .fm-left {
	float: left;
	width: 30%;
	padding: 0 2%;
	text-align: right;
}

.fm-right {
	float: left;
	width: 66%;
}

fieldset > p {
	text-align: center;
	padding-bottom: 1em;
}

fieldset div {
	margin-bottom: .5em;
	padding: 0;
	display: block;
}

div.fm-multi div {
	margin: 5px 0;
}

div.fm-multi input, .radio, .checkbox {
	width: 1em;
}

#fm-other {
	width: 100%;
	clear: both;
}

#fm-submit, #fm-progressbar {
	clear: both;
	padding-top: 1em;
	text-align: center;
}

#fm-submit input {
	border: 1px solid #333;
	padding: 2px 1em;
	background: #555;
	color: #fff;
	font-size: 100%;
}

input:focus, textarea:focus {
	background: #efefef;
	color: #000;
}
	
/* required fields - does not work in IE */
fieldset div.fm-req {
	font-weight: bold;
}

fieldset div.fm-req label:before {
	content: "* "; /* does not work in IE */
}

/* COLORI */

.input, .textarea, .select {
	background: #FFFFFF;
	color: #5A6370;
	border-color: #89A9C7;
}

/* textimage: immagine a sinistra del testo */

div.textimage {
	width: 100%;
	padding-bottom: 10px;
	clear: both;
	margin-left: auto; 
	margin-right: auto;
	overflow: hidden;
}
div.textimage p {
	text-align: justify;
}
img.left {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}
img.right {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}

/* iframe */

.social_iframe {
	overflow: auto;
	height: 10em;
	border: 1px dotted #771617;
	padding: 5px;
	width: 99%;
}

iframe {
	border: 0px;
}

/* gestione messaggi */

.info, .warning, .alert {
	padding: 7px 7px 7px 35px;
	min-height: 16px; height: auto !important; height: 16px;
	margin: 5px 0px;
	clear: both;
	border: 1px dashed #E1E1E1;
}
.info {
	background: #F0F8FF url(images/info.jpg) no-repeat top left;
}
.warning {
	background: #FAFAD2 url(images/warning.jpg) no-repeat top left;
}
.alert {
	background: url(images/alert.jpg) no-repeat top left;
}

/* pager */

.pager_top {
   width: 100%;
	padding: 0px 0px 5px 0px;
}
.pager_bottom {
   float: left;
   width: 100%;
	padding: 5px 0px 0px 0px;
}
.pager_top p, pager_bottom p {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

/* personal */

.social_iframe {
	height: 400px;
	border: 1px solid #e48600;
	padding: 0px;
	width: 718px;
}
.social_list {
	padding-top: 10px;
	text-align: center;
}


