body { font: 12px Tahoma,Arial,sans-serif; text-align:center;  }
img { border: none; }

#main { text-align: left; width: 1000px; margin-top: 1em; margin-left: auto; margin-right: auto;}
#barra
{
background-image: url(img/btmid.png);
background-repeat: repeat-x;
width:100%;
text-align: center;
}

a { color: gray; }

#menu { width: 716px; margin-left: auto; margin-right: auto;}
#menu a { 
  display: block;
  float: left;
  text-align:center;
  line-height:39px;
  background-image: url(img/btmid.png); 
  background-repeat: repeat-x;
  width: 116px;
  height: 39px;
  font-weight: bold;
  font-size: 12px;
  font-family: Tahoma,sans-serif;
  text-decoration: none;
  color: rgb(70,70,70);
}

#menu a.selected 
{
  background-image: url(img/btpr.png); 
  color: white;
}
#menu a:hover {
  background-image: url(img/bthv.png);
background-repeat: repeat-x;
  color: white;
}

#menu a.sx {
  background-image: url(img/btsx.png);
  background-repeat: no-repeat;
  width: 7px;
  height: 39px;
  border: none;
}
#menu a.dx {
  background-image: url(img/btdx.png);
  background-repeat: no-repeat;
  width: 7px;
  height: 39px;
}

#menu div.border { background-image: url(img/btbrd.png); height: 39px; width: 1px; float: left; }


html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }

.clear { clear: both; }

#logo img { }
#logo { height: 410px; }
#logo.admin { height: 60px; }
#trivellato {
background-image: url(img/gradlogo.png);
background-repeat: repeat-x;
}
p { text-align: justify; margin-bottom: 1em; margin-top: 0.5em; }

#columns { text-align: left; margin-left: auto; margin-right: auto; margin-top: 1em;  width: 1000px;}
#left { float: left;  width: 30%; position: static;}
#contents { float:right; width: 70%; padding:0; margin: 2em 0; }

#lang { height: 32px; }
#menusec { font-size: 13px;}
#topright { float:right; text-align:right; }
#topright div { margin: 3px 0.5em;}
#topright a { color: white; text-decoration: none; }
#foot { width: 100%; margin-top: 10em; }
#foot p {text-align: center; color: gray; }

#contents table.contatti { font-size: 12px; }
#contents tbody { border-top: 0; } 
#contents table.contatti td { border-bottom: solid 1px black; padding: 5px;}
#contents table.contatti td.nome { font-weight:bold; padding-left:0;}
#contents p { margin-bottom: 2em; }
#contents h2 {color: gray; };
#contents h1 {color: gray; };
#contents h3 {color: gray; };



/* Tables */
#listview table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
#listview th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
#listview th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
#listview th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
#listview table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
#listview table tr.altrow td {
	background: #f4f4f4;
}
#listview td.actions {
	text-align: center;
	white-space: nowrap;
}
#listview td.actions a {
	margin: 0px 6px;
}

table#listview  { width: 100%; }
table#listview td.fam { font-weight: bold; }
table#listview td { padding: 1em; }

tr.fam td {  }

tr.prodotto#found td.codice { color: red; font-weight: bold;}
tr.prodotto#found td.descrizione { color: red;}

tr.prodotto td.codice  { font-weight: bold; color:rgb(70,70,70); }
tr.prodotto td.descrizione  { color:gray; }


ul#mappa li { 
  list-style-type: none; 
  padding: 1em;
  color: gray;
}
ul#mappa li a { text-decoration: none; color: gray; }

ul#mappa li.cat { font-weight: bold; padding: 0.25em; }

ul#linee li {
list-style-type: none; 
display: inline;
padding: 1em;
padding-right: 5em;
}

ul#downloads li { padding: 1em; 
list-style-type: none; }

ul#downloads { width: 100%; }
ul#downloads li { padding-left: 0; padding-right: 0; width: 100%; border-bottom: solid 1px gray;  background-image: url('/img/pdf-logo.jpg'); background-repeat: no-repeat; background-position: right center;}

ul#downloads li a { text-decoration:none; width: 100%; display: block;}

ul#linee li a {  text-decoration: none;  font-size:120%; color: rgb(70,70,70);}
ul#linee { margin: 1em 1em; border-bottom: solid gray 1px; margin-left: 0; margin-right:0;}


#listview td.categoria { background-color: rgb(200,200,255); font-weight: bold; color: rgb(70,70,70);}


.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}


/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
