#tooltip {
	visibility:hidden;
	position:absolute;
	z-index:1000;
	color: white;
	background-color: #b51017;
	border:1px solid lightgray;
	padding:2px 3px;
	width:auto;
	height:auto;
}

input, textarea, select{
	background-color: #FFFFFF;
	border: 1px solid #888;
	color: #333;
	padding: 2px;
	cursor: text;
}

input:hover, input:active, input:focus,
	textarea:hover, textarea:active, textarea:focus,
	select:hover, select:active, select:focus {
	border:1px solid black;
	color: #000;
	background-color:#e7eef6;
}

.clickbox {
	text-align:center;
	display: block;
	padding:1px;
	min-height:16px;
	height:auto !important;
	height:16px;
	border:1px solid #888;
	background-color:#afc0d4;
}

.clickbox:hover, .clickbox-hover {
	background-color:#c6d0db;
	border:1px solid black;
	color:#000;
	cursor:pointer;
}

div.cleaner, div.clearboth {
	font-size:1px;
	clear:both;
	width:100%;
	height:1px;
	margin: -1px 0 0 0; padding:0;
	border:none;
	visibility: hidden;
}

div.clearboth {
	height:1px;
}

/***************************************************************/
/* Sublines */
/***************************************************************/
hr {
	border: 0 none #FFFFFF;
	border-top: 1px solid #c0c0c0;
	height: 1px;
	margin: 5px 0;
	display: block;
	clear: both;
}

hr.dashed {
	border-top: 1px dashed #c0c0c0;
	margin: 10px 0;
}

/***************************************************************/
/* HEADERS */
/***************************************************************/

h1, h2, h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

h1 {
	margin-top: 2px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	font-size: 20px;
	text-align:left;
	color:#b51017;
}

h2 {
	padding: 2px;
	font-size: 16px;
	margin-top:0px;
	color:#b51017;
}

h3 {
	
	margin-top: 8px;
	margin-bottom: 5px;
	padding-bottom: 4px;
	font-size: 12px;
}

h1.pageheader {
	color:black;
	text-align:center;
	border-bottom:1px solid gray;
}

/***************************************************************/
/* LINKS */
/***************************************************************/
a { text-decoration:none; color:#b51017; font-weight: bold; }
a img {	border:1px solid #b51017; }

a.red { color:red; }
a.green { color:green; }

a:hover { color:gray; text-decoration:underline; }

a:hover img { border:1px solid lightgray; }
img { border:1px solid lightgray; }

/*
a:hover img { border:9px solid lightgray; }
img { border-top:9px solid #b51017; }
*/

/*
a:hover img { border-left:25px solid lightgray; border-top:0px solid lightgray; border-bottom:10px; border-right:0px; }
img { border-left:25px solid #b51017; border-bottom:10px solid #b51017; border-zop:0px; border-right:0px; }
*/

/***************************************************************/
/* TABLE */
/***************************************************************/
table.standard { border-collapse:collapse; border:1px solid gray; }
table.standard td { padding:2px; margin:0;}
table.standard tr { padding:2px ;margin:0;}
table.standard tr.selected { background-color:#e7eef6; }
table.standard tr.selected td { font-weight: bold;}
table.standard tr { background-color:#eee; }
table.standard tr.col_0 { background-color:#eee; }
table.standard tr.col_1 { background-color:#e0e0e0; }
table.standard tr:hover { background-color:#d0d0d0; }

table.standard th {
	background-image:url(../images/menu_bg1.png);
	border-bottom:1px solid gray;
	padding:2px;
	text-align:center;
	color:white;
}

td p { margin:1px; }

/***************************************************************/
/* FIELDSET, FORMS */
/***************************************************************/
fieldset { border-width: 0; }
input {	font-weight: normal; cursor: pointer; vertical-align: middle; }

select { cursor: pointer; vertical-align: middle; padding:1px; }
option { vertical-align: middle; margin:0px; padding:0px 3px; }

label {	cursor: default; padding-right: 5px; color: #676767; }
label input { vertical-align: middle; }
label img { vertical-align: middle; }

/* Definition list layout for forms
---------------------------------------- */
fieldset dl { padding: 2px 0; margin:0px; }
fieldset dt { float: left; width: 20%; text-align: left; display: block;}
fieldset dd { margin-left: 21%; vertical-align: top; margin-bottom: 3px; }

fieldset.fields1 dl.newline dt { float:none; }
fieldset.fields1 dl.newline dd { margin-left:0; }

/* Specific layout 1 */
fieldset.fields1 dt { width: 15em; border-right-width: 0; }
fieldset.fields1 dd { margin-left: 15em; border-left-width: 0; }
fieldset.fields1 { background-color: transparent; }
fieldset.fields1 div { margin-bottom: 3px; }

/* Specific layout 2 */
fieldset.fields2 dt { width: 15em; border-right-width: 0; }
fieldset.fields2 dd { margin-left: 16em; border-left-width: 0; }

/* Form elements */
dt label { font-weight: bold; text-align: left; }
dd label { white-space: nowrap; color: #333; }
dd input, dd textarea { margin-right: 3px; }
dd select { width: auto; }
dd textarea { width: 85%; }

/* Hover effects */
fieldset dl:hover dt label { color: #000000; }

/* Input field styles
---------------------------------------- */
.inputbox {
	background-color: #FFFFFF;
	border: 1px solid #888;
	color: #333333;
	padding: 2px;
	cursor: text;
}

.autowidth { width: auto !important; }

/* Form button styles
---------------------------------------- */
a.button1, input.button1 {
	font-size: 11px;
	padding:2px;
	margin-top:3px;
	margin-bottom:3px;
}

a.button1, input.button1 {
	width: auto !important;
	color: #555;
	background: #FAFAFA none repeat-x top;
	padding: 2px 7px;
}

a.button1, input.button1 {
	font-weight: bold;
	border: 1px solid #888;
	background-position: 0 0;
	background-image:url(../images/button1.png);
	background-repeat: no-repeat;
}

a.button1:hover, input.button1:hover {
	border:1px solid black;
	color: black;
	background-position: 100% -20px;
}

a.button1 { display: inline-block; }
a.button1:hover { text-decoration:none; }

ul li {
	margin-top:5px;
	margin-bottom:5px;
}

/***************************************************************/
/* SLIDERS */
/***************************************************************/
.slideshow {
	list-style-type: none;
	padding: 0px;
	margin:0px;
}

.slide {
	position: relative;
	float: left;
	padding: 0px;
	margin: 10px;
	margin-left: -1px;
	cursor: move;
	width:110px;
	background-color:#ddd;
	border:1px solid black;
}

.slidewrapper {
	border-bottom:1px solid black;
	text-align: center;
	width:110px;
	height:110px;
	background-color:#eee;
}

/***************************************************************/
/* RESPONSE HELPERS */
/***************************************************************/
.responsegif {
	border:none;
	width:16px;
	height:16px;
}

.hidden {
	visibility:hidden;
}

/***************************************************************/
/* DIV CENTER: Vertical AND Horizonzal */
/***************************************************************/
.wraptocenter {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: ...;
    height: ...;
}
.wraptocenter * {
    vertical-align: middle;
}
/*\*//*/
.wraptocenter {
    display: block;
}
.wraptocenter span {
    display: inline-block;
    height: 100%;
    width: 1px;
}
/**/

.thumbwrap {
	border: 1px solid #999;
	padding: 15px 8px 0 8px;
	background-color: #f4f4f4;
	margin: 0;
}
.thumbwrap li {
	display: -moz-inline-box;
	display: inline-block;
	/*\*/ vertical-align: top; /**/
	margin: 0 7px 15px 7px;
	border: 1px solid #999;
	padding: 0;
}
/*  Moz: NO border qui altrimenti difficolta' con width, table altrimenti problemi a text resize (risolubili con refresh) */
.thumbwrap li>div {
	/*\*/ display: table; /**/
	width: 199px;
}
.thumbwrap a {
	display: block;
	text-decoration: none;
	color: #000;
	background-color: #ffe;
	cursor: pointer;
}
/*\*/
.thumbwrap>li .wrimg {
	display: table-cell;
	vertical-align: middle;
	width: 199px;
	height: 199px;
}
/**/
.thumbwrap li .wrimg {
	background-image: url(g100c2.pl?g100c2.gif);
}
.thumbwrap img {
	border: solid 1px #66f;
	vertical-align: middle;
}
.thumbwrap a:hover {
	background-color: #dfd;
}
/*\*//*/
* html .thumbwrap li .wrimg {
	display: block;
	font-size: 1px;
}
* html .thumbwrap .wrimg span {
	display: inline-block;
	vertical-align: middle;
	height: 199px;
	width: 1px;
}
/**/
.thumbwrap .caption {
	display: block;
	padding: .3em 5px;
	font-size: .9em;
	line-height: 1.1;
	border-top: 1px solid #ccc;
	w\idth: 189px;  /* Moz, IE6 */
}
/* top ib e hover Op < 9.5 */
@media all and (min-width: 0px) {
	html:first-child .thumbwrap a {
		display: inline-block;
		vertical-align: top;
	}
	html:first-child .thumbwrap {
		border-collapse: collapse;
		display: inline-block; /* non deve avere margin */
	}
}




