/*Theme Name: Ravioli
*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
/* Body */
* {
	margin: 0;
	padding: 0;
}
body {
	background: #DAEEF5 url('images/bg.gif') top left repeat-x;
	color: #212526;
	font: normal 12px Arial, Verdana, Tahoma, sans-serif;
}
body.hp {
	background: #DAEEF5 url('images/bg_hp.gif') top left repeat-x;
	color: #212526;
	font: normal 12px Arial, Verdana, Tahoma, sans-serif;
}
#wrap {
	color: #212526;
	margin: 0 auto;
	width: 954px;
	position: relative;
}
/* Links */
a {
	color: #212526;
	text-decoration: underline;
}

a:hover {
	color: #1D515E;
	text-decoration: underline;
}
/* Header */
#header.hp {
   position: absolute;
   top: 30px;
   left: 0px;
	margin: 0px;
	background: url('images/header_hp.jpg') top right no-repeat;
	height: 416px;
	width: 954px;
	display: none;
}
#header.hp_en {
   position: absolute;
   top: 30px;
   left: 0px;
	margin: 0px;
	background: url('images/header_hp_en.jpg') top right no-repeat;
	height: 416px;
	width: 954px;
	display: none;
}

#header {
   position: absolute;
   top: 30px;
   left: 0px;
	margin: 0px;
	background: url('images/header.jpg') top right no-repeat;
	height: 120px;
	width: 954px;
	display: none;
}

#randomimg {
position: absolute;
	top: 0px;
	left: 0px;
	width: 367px;
	height: 289px;
	display: none;
}

#menu {
      position: absolute;
   top: 0px;
   left: 0px;
   margin: 0px;
	background: #FFD42F;
	height: 30px;
	width: 954px;
	z-index: 100;

	display: none;
}

#menu_famiglie_hp {
 position: absolute;
   top: 289px;
   left: 0px;
   margin: 0px;
	height: 127px;
	display: none;
}

#menu_famiglie_hp a{
   margin: 0px;
   margin-top: 1px;
	float: left;
	width: 122px;
	height: 120px;
	border-top: 3px solid #1C4A59;
   border-bottom: 3px solid #1C4A59;
	text-decoration: none;
	text-align: center;
	color: #FDC903;
	font: normal 12px Arial, Verdana;
	padding: 0px 7px;
}

#menu_famiglie_hp a:hover{
	border-top: 3px solid #FDC903;
	border-bottom: 3px solid #FDC903;
	text-decoration: none;
}


#menu_famiglie {
 position: absolute;
   top: 6px;
   right: 0px;
   margin: 0px;
	height: 100px;
	display: none;
}

#menu_famiglie a{
   margin: 0px;
   margin-top: 1px;
	float: left;
	width: 98px;
	height: 98px;
	border: 1px solid #1C4A59;
	border-color:transparent;
	text-decoration: none;
	text-align: center;
	color: #FDC903;
	font: normal 11px Arial, Verdana;
	padding: 3px 1px;
	display: none;
}

#menu_famiglie a:hover{
	border: 1px solid #FDC903;
	text-decoration: none;
}
/* Content */
#content_hp {
position: absolute;
top: 446px;
left: 0px;
width: 954px;
}

#content {
position: absolute;
top: 30px;
left: 0px;
width: 954px;
}
/* Sidebars */
#colsx {
	float: left;
	padding: 0;
	margin: 0px;
	width: 250px;
	padding: 15px 0px;
	display: none;

}

#colcenter {
	width: 98%;
	text-align: justify;
	background: #E5F6FA;
	line-height: 17px;
	padding: 10px;
	border: 1px solid #666;
	float: left;
}

#coldx {
	float: left;
	padding: 0;
	margin: 0px;
	width: 250px;
	padding: 15px 0px;
	display: none;
}


/* Footer */
#footer {
	width: 90%;
	text-align: justify;
	background: #E5F6FA;
	line-height: 17px;
	padding: 15px;
	border: 1px solid #666;
	position: absolute;
	bottom: 0px;
   left: 0px;
   display: none;
}
#footer p {
	margin: 0;
	padding: 0;
}
#footer a {
	color: #212526;
	font-weight: normal;
	text-decoration: none;
}
#footer a:hover {
	color: #000;
	text-decoration: underline;
}


/* Forms */
#s, #submit {
	background-color: #ffffff;
	border: 1px solid #cccccc;
	color: #336633;
	font-size: 0.9em;
	margin: 0 0 16px;
	padding: 4px;
	width: 130px;
}

/* WP image align classes */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
/* Various classes */
.left {
	border: 1px solid #cccccc;
	float: left;
	margin: 10px 15px 10px 0;
}
.right {
	border: 1px solid #cccccc;
	float: right;
	margin: 10px 0 5px 10px;
}
.center {
	border: 1px solid #aaaaaa;
	margin: 5px auto 12px;
	text-align: center;
}
.textright {
	text-align: right;
}
.small {
	font-size: 0.8em;
}
.bold {
	font-weight: bold;
}
.hide {
	display: none;
}

/******************* DROP DOWN MENU*********************************/

#cssdropdown, #cssdropdown ul {
padding: 0;
margin: 0;
list-style: none;
}

#cssdropdown li {
float: left;
position: relative;
padding: 0;
margin: 0;
}


.mainitems{
}


.mainitems a{
  text-decoration: none;
  display: block;
  padding: 0 12px;
  margin:  0px;
  color: #0B1F20;
  text-decoration: none;
  font: normal 12px Arial, Verdana;
  text-transform: uppercase;
  line-height: 30px;
  border-right: 1px solid #163640;
}


.mainitems a:hover{
  text-decoration: none;
  color: #FFD42F;
  background: #163640;
  line-height: 30px;
}

.subuls{
display: none;
color: #FFD42F;
width: 210px;
position: absolute;
top: 30px;
left: 0;
background-color: #163640;
padding-top: 10px;
margin-left: -1px;
border-bottom: 3px solid #FFD42F;
}



.subuls li{
width: 95%;

}

#current {
background-color: yellow;
}



.subuls li a{
  text-decoration: none;
  color: #FFD42F;
  line-height: 13px;
  font: normal 11px Arial, Verdana;
  padding: 2px 8px;
  border: 1px solid #163640;
  margin-left: 5px;
}

.subuls li a:hover{
  text-decoration: none;
  color: #FFD42F;
  line-height: 13px;
  font: normal 11px Arial, Verdana;
  padding: 2px 8px;
  border: 1px solid #FFD42F;
}
/* to override */
.subuls li li a, .subuls li li a:hover{ /* Nasconde le pagine di 3 livello */
  display: none;
  line-height: 0px;
}
li:hover ul, li.over ul{ display: block;}

#cssdropdown li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
top: 30px;
left: auto;
padding-top: 5px;
padding-bottom: 5px;
margin-left: -1px;
}

#cssdropdown li:hover ul, li.over
{ /* lists nested under hovered list items */
display: block;
}

#restofcontent { /*wrap rest of content of the page inside this div*/
clear: left;
}
/******************* FINE DROP DOWN MENU*********************************/

#boxgiallo {
background: #E0BF42;
padding: 10px;
display: block;
color: #272007;
font-size: 12px;

}

#boxgiallo input{
border: 1px solid #79671F;
display: inline;
color: #fff;
margin: 0px;
padding: 1px;
font-size: 11px;
background: #79671F;

}

#boxbordoazzurro {
background: #CEE7EE;
color: #272007;
font-size: 12px;
margin-bottom: 15px;
border: 1px solid #A5C9D3;
position: relative;
}

#boxazzurro {
background: #CEE7EE;
color: #272007;
font-size: 12px;
margin-bottom: 15px;
border: 1px solid #A5C9D3;
position: relative;
}

#boxazzurro p {
padding: 10px;
}

#boxazzurro #title{
background: #A5C9D3;
padding: 6px 10px;
display: block;
color: #0D1E23;
font-size: 14px;
border: 1px solid #A5C9D3;
margin: 0px;
}

#boxazzurro #title{
text-decoration: none;
}

p.the_post_ticker a {
display: block;
margin: 3px 0px 6px 0px;
padding-left: 0px;
font-weight: bold;
text-decoration: none;
background: url('images/arrow.gif') center right no-repeat;
}

#colcenter li {
list-style-type: disc;
margin: 3px;
margin-left: 15px;

}

#colsx li {
list-style-type: none;
	display: block;
   margin: 0px;
   padding: 0px;
	font-size: 12px;
	padding-right: 15px;
	text-transform: uppercase
}

li.archivio {
list-style-type: none;
	display: block;
   margin: 0px;
   padding: 0px;
	font-size: 12px;
	padding-right: 15px;
	text-transform: uppercase
}

#colsx li a{
text-decoration: none;
}

h1 {
font: bold 14px Arial, Verdana, Tahoma, sans-serif;
margin: 0px;
padding: 0px;
}

div#hr {
display: block;
border-bottom: 1px dotted #A4C9D2;
margin: 0px;
padding: 0px;
padding-bottom: 15px;
}

#boxgiallo .ricerca {
font-size: 11px;
margin: 0px;

border: none;
border: 0px solid #fff;
background: none;

}

#famiglia_prodotto {
display: block;
float: left;
width: 46%;
margin: 2px;
padding: 3px;
}

h1.famiglia_prodotto {

margin-bottom: 5px;
color: #fff;
}

a.famiglia_prodotto {
display: block;
color: #212526;
float: left;
width: 100%;
height: 100%;
text-decoration: none;
}

a.famiglia_prodotto:hover {
display: block;
color: #212526;
background: #CEE7EE;
float: left;
width: 100%;
height: 100%;
text-decoration: none;
}

a img {
border: none;
}


a[href$='.pdf'] {
display:inline-block;
padding-left:25px;
line-height:18px;
background:transparent url(images/pdf.gif) center left no-repeat;
color: #212526;
text-decoration: none;
margin-bottom: 5px;
}

a.mail {
display:inline-block;
padding-left:25px;
line-height:18px;
background:transparent url(images/mail.gif) center left no-repeat;
color: #212526;
text-decoration: none;
margin-bottom: 5px;
}

a[href$='.pdf']:hover, a.mail:hover {
text-decoration: underline;
}

/* Style the list element */
.current_page_item{
background: url('images/arrow_azz.gif') center left no-repeat;
}

/* Style the link element */
.current_page_item a{
text-decoration:underline;
}

#recent-posts li {
margin-left:6em;
padding-left:3em;
margin-bottom:0;
list-style:none;
}

#recent-posts li p {
margin-left:-3em;
padding-right:0em;
display: inline
}

#recent-posts li.year, #recent-posts li.month {
margin:0;
padding:0;
font-weight:bold;
}

#recent-posts li.month, #recent-posts li.month-day {
padding-left:3em;
margin: 0;

font-weight:normal;
}

#recent-posts li.month-day {

font-weight:normal;
color:#59171B;
margin-top:1.5em;
}

#recent-posts li.day {
margin: 0;
padding-left:3em;
}

#colcenter table.interna {
background: #CEE7EE;
border-left: 1px solid #A5C9D3;
border-top: 1px solid #A5C9D3;
}

#colcenter table.interna td{
padding: 3px;
text-align: left;
font-size: 12px;
border-right: 1px solid #A5C9D3;
border-bottom: 1px solid #A5C9D3;
}

table.oo td select{
border: 1px solid #B19C49;
color: #272007;
margin: 0px;
background: #FCF2CD;
}

#indirizzostampa {
	border: 1px solid #666;
	width: 98%;
	margin-bottom: 20px;
	padding: 10px;
	display: none;
}