/* Tonalita Saturazione
   Tonalita' +148
   Saturazione +61
 */
body {
 margin: 0;
 padding: 0;
 background: #121f30 url(../img/bg.jpg) repeat-x top;
 font-family: Helvetica, Arial, sans-serif;
 font-size: 10pt;
 color: #5e6c6f;
}
img {
 border: 0;
}
p {
 margin: 0;
}
a, a:visited {
 text-decoration: none;
 color: #5e6c6f;
}
.clear {
 clear: both;
}
#main {
 width: 900px;
 margin: auto auto;
}
#header {
 margin-top: 25px;
}
#nav {
 background: url(../img/bg_nav.jpg) no-repeat; 
 height: 44px;
 color: #fff;
 font-size: 16pt;
}
#nav a {
 color: #35506b;
 padding: 7px;
}
#userpanel {
 background: url(../img/bg_panel.jpg) no-repeat; 
 height: 20px;
 color: #fff;
 font-size: 0.8em;
}
#userpanel a {
 color: #fff;
}
#links {
   padding: 7px;
}
#links a:hover {
 border-bottom: 3px solid #fff;
 color: #fff;
}
#center {
 float: left;
 margin-top: 46px;
 width: 630px;
}
#right {
 float: right;
 width: 250px;
 margin-top: 50px;
}
.block {
 min-height: 300px;
}
#block-prodotti {
 height: 50px;
 background: #fff url(../img/prodotti.jpg) no-repeat;
 width:250px;
 float: right;
	position:absolute; 
	top: 0px;
	left: 650px;
}
.prodotti {
 background: #fff;
}
.white {
 background: #fff;

}
.gray {
 background: #eeeeee;
}
/*
.gray img, .white img {
 float: left;
 padding-right: 5px;
}
*/
#contatti {
 background: url(../img/bg_contatti.jpg) no-repeat;
 height: 170px;
 margin-top: 5px;
 color: #fff;
}
#contatti p {
 padding: 30px 5px 5px 15px;
 font-size: 12pt;
}
#contatti a, #contatti a:visited {
 color: #fff;
}
#azienda {
 background: url(../img/bg_azienda.jpg) no-repeat;
 height: 170px;
 margin-top: 9px;
 color: #fff;
}
#azienda p {
 padding: 50px 5px 5px 15px;
}

#azienda-eng {
 background: url(../img/bg_azienda_eng.jpg) no-repeat;
 height: 170px;
 margin-top: 9px;
 color: #fff;
}
#azienda-eng p {
 padding: 50px 5px 5px 15px;
}

.company-photo {
 text-align: center;
 padding: 10px;
}

.company-photo img {
 border: 1px solid #fff;
 padding: 3px;
}

#footer {
 height: 79px;
 background: url(../img/bg_footer.jpg) no-repeat;
 margin-top: 5px;
}
#footer p {
 padding: 25px 5px 5px 5px;
 color: #fff;
}
.anylinkcss{
position: absolute;
left: 0;
top: 0;
visibility: hidden;
border: 1px solid #5e6c6f;
border-bottom-width: 0;
font: normal 12px Verdana;
line-height: 18px;
z-index: 100; /* zIndex should be greater than that of shadow's below */
width: 200px; /* default width for menu */
}

.anylinkcss ul{
margin: 0;
padding: 0;
list-style-type: none;
}

.anylinkcss ul li a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #5e6c6f;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
text-indent: 5px;
}

.anylinkcss a:hover{ /*hover background color*/
background: black;
color: white;
}

/* ######### class for shadow DIV ######### */
.anylinkshadow{ /*CSS for shadow. Keep this as is */
position: absolute;
left: 0;
top: 0;
z-index: 99; /*zIndex for shadow*/
background: black;
visibility: hidden;
}

.wrapper {
 background-color: #183243;
 background-image: url(../img/bg_page_repeat.jpg);
 background-repeat: repeat-x;
 margin-top: 5px;
 min-height: 400px;
 padding: 5px;
  -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
 color: #fff;
}
.card-container fieldset {
 width: 200px;
 float: left;
 padding: 2px;
 margin: 2px;
 border: 1px solid #132734 !important;
 -moz-border-radius: 15px;
 -webkit-border-radius: 15px;
 height: 150px;
}
.card-container legend {
 color: #fff;
 font-weight: bold;
}
.card-container a{
 color: #fff;
}
.page p {
 font-size: 10pt;
 color: #fff;
}
.page h1 {
 color: #fff;
}

/* slide show */
#slideshow {
    position:relative;
    height:350px;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
}

#slideshow IMG.last-active {
    z-index:9;
}
#reattori-center , #schiumatoi-center, #shop-center {
    background: #09090c;
	width: 630px;
	height: 300px;
	float: left;
}
#rivenditori-center {
    background: #fff;
	width: 630px;
	height: 300px;
	float: left;
}
.center-image {
  height: 300px;
  width: 180px;
  float: left;
}
.center-text {
 padding: 5px;
}
.center-text p {
 color: #fff;
}
#index {
 background: #000;
 width: 900px;
 height: 600px;
 margin: auto auto;
}
#index > #logo {
 padding: 50px;
}

#index > #enter {
 margin-top: 100px;
 float: right;
 margin-right: 20px;
 width: 180px;
}
#index a, #index a:visited {
  color: #fff;
}
.line {
 width: 100%;
 border-bottom: 1px solid #fff;
 margin: 3px 0px 3px 0px;
}
#index > #enter > .info {
 margin-top: 20px;
 font-style: italic;
 font-size: 9pt;
}

#index > #address {
 padding: 50px;
 color: #fff;
 font-size: 9pt;
 margin-top: 65px;
}

.new {
 font-size: 18pt;
 font-style: italic;
}

.gallery-item {
 background: #fff;
 padding: 10px;
 float: left;
 margin: 10px;
 text-align: center;
 -moz-box-shadow: 4px 4px 4px #000;
}
.gallery-item  p {
 color: #666666 !important;
}
.gallery-item:hover {
 background: #183243;
}

.product-left {
 width: 45%;
 float: left;
 padding: 5px;
}
.product-right {
 width: 45%;
 float: right;
 text-align: center;
 padding: 10px;
}
.product-right img {
 border: 1px solid #fff;
 padding: 2px;
}
/* CAKEPHP */
.error-message {
 color: #ff0000;
 font-weight: bold;
}
/* Paging */
div.paging {
	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 {
}
/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	color: #fff;
	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: #fff;
}
form div.required {
	color: #fff;
	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;
}
#flashMessage  {
 background-color: #183243;
 padding: 5px;
  -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
}

/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Album */
div.albums {
 min-height: 300px;
}

#myImageFlow {
   text-align: center;
   margin: auto auto;
}

#myImageFlow img {
 text-align: center !important;
 margin: auto auto;
}