/*   
Theme Name: Sancomaio
Theme URI: http://www.sancomaio.it/
Description: Custom Theme for sancomaio.it.
Author: Raffaele Villanova
Author URI: 
Version: 1.0
.
General comments/License Statement if any.
.
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}


/* reset end */
/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}


/* struttura #e1dfe0 */
body {
	background-color: #FFF;;
}

#wrapper {
	width: 1191px;
	margin: 0 0 200px 0;
	background: #fff;
	background-image: url(images/wrapper_bkg.png);
	background-repeat: repeat-y;
}

#main_col {
	width: 1055px;
	float: left;
}

#side_col {
	width: 136px;
	float: left;
	background: #000;
}




#side_col_top {
	margin-top: 207px;
	padding: 0 5px;
	color: #5c5c5c;
}

#side_col_top a {
	color: #fff;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

#side_col_top a:hover {
	color: #5c5c5c;
}




.side_col_mid {
	margin: 277px 0 30px 0;
	padding: 0 5px;
	color: #808b92;
}


.side_col_mid span {
	color: #125eac;
}

.side_col_mid a:link, .side_col_mid a:visited {
	color: #fff;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

.side_col_mid a:hover {
	color: #5c5c5c;
}

a.minimail:link, a.minimail:visited {
	font-size: 10px;
	margin-left: 15px;
}


#logo {
	width: 328px;
	float: left;
}

#testa {
	width: 727px;
	float: left;
	background-image: url(images/testa_bkg.png);
	background-repeat: no-repeat;
}

#navigation {
	width: 1055px;
	background-image: url(images/navigation.png);
	background-repeat: repeat-x;
	background-position: 0 -6px;
}

ul#menu {
	margin: 0 0 0 328px;
}

ul#menu li {
	float: left;
	padding: 0;
	margin-right: 4px;
	height: 39px;
	 text-indent: -9999px;
	cursor: pointer;
}

ul#menu li a { display: block; background: url(images/menu/menu.png) top left no-repeat; height: 39px; padding: 0; border: none; }

ul#menu li.home a { background-position: 0 0; width: 57px;}
ul#menu li.azienda a { background-position: -60px 0; width: 77px;}
ul#menu li.news a { background-position: -140px 0; width: 57px;}
ul#menu li.territorio a { background-position: -200px 0; width: 82px;}
ul#menu li.prodotti a { background-position: -285px 0; width: 81px;}
ul#menu li.altri_prod a { background-position: -369px 0; width: 112px;}
ul#menu li.ricono a { background-position: -484px 0; width: 133px;}

ul#menu li.home a:hover { background-position: 0 -49px;}
ul#menu li.azienda a:hover { background-position: -60px -49px;}
ul#menu li.news a:hover { background-position: -140px -49px;}
ul#menu li.territorio a:hover { background-position: -200px -49px;}
ul#menu li.prodotti a:hover { background-position: -285px -49px;}
ul#menu li.altri_prod a:hover { background-position: -369px -49px;}
ul#menu li.ricono a:hover { background-position: -484px -49px;}






ul#subnav {
	margin: 10px 92px 0 0;
}

ul#subnav li {
	float: right;
	margin-right: 15px;
}

ul#subnav li a:link, ul#subnav li a:visited {
	display: block;
	background-image: url(images/menu/ring.png);
	background-repeat: no-repeat;
	background-position: 0 50%;
	padding: 0 0 0 14px;
}

ul#subnav li a:hover {
	background-image: url(images/menu/ring_h.png);
}

ul#subnav li a.active {
	color: #000;
}

#display {
	width: 1055px;
	margin: 0;
	background: #000;
}
.riga {
	width:  1055px;
	margin: 0;
}

.barra {
	background-image: url(images/barra.png);
	margin: 0;
	width:  1009px;
	padding: 0 0 0 46px;
}

.barra img {
	float: left;
}

.middle {	
	background-image: url(images/bottom_bkg.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

.left_col {
	width: 355px;
	float: left;
	padding: 30px 0 20px 58px;
	position: relative;
}

.data {
	font-size: 12px;
	color: #666;
	margin: 0 0 5px 0;
}

a.btn {
	color: #FFF;
	text-decoration: none;
	display: block;
	width: 60px;
	height: 18px;
	font-size: 11px;
	padding: 1px 0 0 10px;
	background-image: url(images/btn.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	float: right;
	margin-right: 20px;
}

a.btn:hover {
	background-position: 0 -19px;
	}

.mid_col {
	width: 326px;
	float: left;
}

.right_col {
	width: 316px;
	float: left;
}

.griga {
}

.strillo {
	padding: 30px 0 0 0;
}

img.cartina {
	margin-top: -35px;
}

.marchi {
	float: left;
	margin: 0;
	padding: 0;
}

.blu {
	background-image: url(images/blu.png);
	background-repeat: repeat-y;
	width: 642px;
	float: left;
}

.blu_01 {
}

.blu_01 img {
	border-bottom: 2px solid #cecece;
}

.blu_02 {
}

.blu_02 img {
	border-left: 1px solid #FFF;
	border-bottom: 2px solid #e8e8e8;
}

.blu_nav {
	margin: 0;
	text-align: right;
	margin: 10px 30px;
}

.blu_cita {
	background-image:;
	background-repeat: no-repeat;
	background-position: 80px 12px;
	}

.bottom {
	background-image: url(images/grigia_bkg.png);
	background-repeat: repeat-x;
}

#bottom_nav {
	width: 1055px;
	background-color: #dbdbdb;
}

.bottom_nav_col {
	float: left;
	border-left: 1px solid #b0b0b0;
	margin: 20px 0 0 0;
	padding: 0 0 0 10px;
	height: 140px;
}

#bottom_nav, #bottom_nav a {
	color: #222;
	font-size: 11px;
	text-decoration: none;
}

#bottom_nav a:hover {
	text-decoration: underline;
}

#footer {
	width: 1055px;
	background-color: #dbdbdb;
}

#credits {
	border-bottom: 5px solid #386f9c;
	float: right;
	padding: 15px 25px 10px 60px;
}



/* struttura fine */

/* tipografia */
body {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	line-height: 16px;
}

h1, h1 a {
	color: #b6101d;
	font-size: 16px;
	line-height: 20px;
	margin: 0 0 5px 0;
	font-weight: bold;
	text-decoration: none;
}

h1 a:hover {
	color: #333;
}

h2, h2 a {
	color: #000;
	font-size: 14px;
	line-height: 20px;
	margin: 0 0 5px 0;
	font-weight: bold;
}

h6, h6 a {
	color: #b6101d;
	margin: 0 0 10px 0;
}

p {
	margin: 0 0 10px 0;
	padding: 0 30px 0 0;
}

ul#menu a {
	color: #000;
	font-size: 14px;
	text-decoration: none;
}

ul#menu a:hover {
	color: #fff;
}


ul#subnav li a {
	color: #666;
	font-size: 10px;
	text-decoration:none;
	}
	
ul#subnav li a:hover {
	color: #000;
	}


.blu p, .blu_02 p {
	color: #FFF;
	padding: 10px 20px;
	margin: 0;
	font-size: 10px;
	line-height: 14px;
	}

.blu_nav a {
	color: #5ec5ed;
	font-size: 12px;
	text-decoration: none;
}

.blu_nav, .blu_nav a:hover {
	color: #fff;
}

.blu_nav {
	font-size: 14px;
}

.blu_cita {
	color: #000;
	padding: 10px 20px 20px 100px;
	margin: 0;
	font-size: 10px;
	line-height: 14px;
	}
	
.strillo p {
	color: #1f6aae;
}

#credits {
	color: #333;
	font-size: 9px;
	text-decoration: none;
	text-transform: uppercase;
}

#credits span {
	color: #b6101d;
}



/* tipografia fine */

/* Search form
========================================== */
form#search-form {
	height: 50px;
	padding: 0;
	margin: 0;
	position: relative;
}

form#search-form input.text,
form#search-form label.overlabel-apply {
	font-size: 12px;
}

form#search-form input.text {
	position: absolute;
	top: 3px;
	right: 180px;
	width: 150px;
	height: 17px;
	padding: 2px;
	margin: 0;
	z-index: 0;
	background: #fff;
	border: none;
}
form#search-form input.button-search {
	position: absolute;
	top: 3px;
	right: 110px;
	margin: 0px;
	display: block;
	line-height: 100%;
}
form#search-form label.overlabel {
	position: absolute;
	top: 25px;
	left: 394px;
	font-size: 9px;
	color: #848484;
}
form#search-form label.overlabel-apply {
	display: block;
	color: #666;
	position: absolute;
	top: 25px;
	left: 394px;
	margin: 0;
	z-index: 1;
	cursor: text;
	line-height: 100%;
	font-size: 100%;
}

img.flags {
	position: absolute;
	top: 3px;
	right: 350px;
}