/*
Theme Name: Olio Niccu
Theme URI: http://www.olio-niccu.it/
Description: Theme per il sito internet di ecommerce di Olio Niccu - F.lli Elia
Author: Raffaele Ciapponi
Version: 1.0
Tags: two columns, e-commerce, shop, cart, widgets, gravatars
*/

@import url('./style-reset.css');
@import url('./style-common.css');

/* Default fonts and colors
========================================== */
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea,select { 
	/*color: #375362;*/
	color: #3e480a;
	font-family: "Tahoma", "Verdana", "Lucida Fax", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
/*	color: #666;*/
	color: #3e480a;
	font-family: "Tahoma", "Century Schoolbook", "Century", Georgia, "Times New Roman", serif;
	font-weight: normal;
}

/* LAYOUT
========================================== */
body {
	font-size: 16px;
/*	font-size:   70%; */
	line-height: 150%;
	background:  url('img/background.jpg') no-repeat center top #FFFFFF;
	background-attachment:fixed;
	z-index:0;
}

div#page {
	width: 760px;
	margin: 0 auto;
/*	background:#ecede7; */
	background:transparent;
}

div.container {
	width: 760px;
	margin: 0 auto;
	height: 100%;
	overflow: auto;
}

div.small {
	width: 182px;
	float: left;
}

div.large {
	width: 572px;
	float: right;
}

div.full {
	width: 100%;
	float: left;
}

#content div.container.body .large {
	padding-top: 16px;
	padding-bottom: 20px;
}

/* HEADER
========================================== */
#header {
	width: 100%;
	margin: 0 auto;
	margin-top:30px;
	height:127px;
	background: #3e480a;
	overflow:visible;
	position:relative;
}

#header .bg-image {
	height:146px;
	width:782px;
	background: url('img/H-bg.png') no-repeat left top transparent ;
	
	position:relative;
	left:-8px;
	top:0px;
}

#header .container {
	height:127px;
	position:relative;
	overflow:visible;
}

#header #logo-left {
	background: url('img/H-logo-l.png');
	height:144px;
	width:242px;
	position:absolute;
	top: 13px;
	left:23px;
}
#header #logo-right {
	background: url('img/H-logo-r.png');
	height:103px;
	width:190px;
	position:absolute;
	top: 16px;
	left:568px;
}
#header #logo-center {
	background: url('img/H-logo-c.png');
	height:84px;
	width:158px;
	position:absolute;
	top: 72px;
	left:304px;
	z-index:9000;
}
#header h1,
#header h4 {
	text-transform: none;
}

/* per layout non vedenti e motori di ricerca */
#header h1, #header h4 {
	float: left;
	margin-left:-9999px;
}


/* SUB HEADER
========================================== */
/*
#sub-header {
	clear: both;
	width: 100%;
	margin: 0 auto;
	background-color: #DA424E;
}
#sub-header ul {
	padding: 6px 70px 6px 12px;
	height: 100%;
	overflow: auto;
	color: #fff;
	font-weight: bold;
}
#sub-header ul li {
	display: block;
	float: left;
	white-space: nowrap;
	padding: 0;
}
#sub-header ul li.first {
	border-left: 0;
}
#sub-header ul li a {
	color: #ddd;
	display: block;
	line-height: 100%;
	float: left;
	padding: 5px 10px 5px;
}
#sub-header ul li a:hover {
	color: #fff;
	text-decoration: none;
}
#sub-header ul li.current-cat a {
	color: #fff;
	text-shadow: none;
}
#sub-header ul li ul {
	display: none;
}
*/
/* MAIN NAVIGATION
========================================== */
#navigation {
	clear: both;
	width: 100%;
	margin: 0 auto;
	margin-top:21px;
	background: #ebe4be;

}
#navigation .container {
	height: 37px;
	overflow: visible;
}
#nav {
	position: relative;
	float: left;
	z-index: 100;
	text-align: center;
	line-height: 100%;
	list-style:none;
	padding: 0 0 0 10px;
}
/* lista esterna */
#nav li {
	position: relative;
	float: left;
	height: 37px;
	line-height:37px;
	font-size: 95%;
/*	background: url('img/btn-n-grd.png') top right no-repeat;
	list-style-type: square;
	list-style-image:url('img/btn-n-sx.png');
	list-style-position:inside;*/
}

#nav li a {
	display:block;
	float:left;
	padding:0;
	color: #3e480a;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	text-align: center;
}

#nav li a div {
	display:block;
	float:left;
}
#nav li a  .pre { background: url('img/btn-n-sx.png') left top no-repeat; width:34px; }
#nav li a  .post { background: url('img/btn-n-dx.png') left top no-repeat; width:11px; }
#nav li a  .txt { background: url('img/btn-n-grd.png') left top repeat-x; }
#nav li a .pre_h { background: url('img/btn-h-sx.png') left top no-repeat; }
#nav li a .post_h { background: url('img/btn-h-dx.png') left top no-repeat; }
#nav li a .txt_h { background: url('img/btn-h-grd.png') left top repeat-x; }

#nav li:hover,
#nav ul li:hover,
#nav li.current_page_item,
#nav li.current_page_parent {
}

/* lista di secondo livello */
#nav li ul {
	position: absolute;
	visibility: hidden;
	float: none;
	top: 37px;
	left: 0px;
	width: 150px;
	margin: 0;
	padding: 5px 10px 6px 10px;
	z-index: 10000;
	border: 1px solid #C0ACB2;
	border-bottom-width: 2px;
	border-bottom-color: #AF9DA3;
	border-top: 0;
	background-color: #fff;
	
}

#nav li:hover ul,
#nav li.iehover ul {
	visibility: visible;
	background-color: #fff;
}
#nav ul li{
	display: block;
	float: left;
	clear: both;
	width: 100%;
	
	font-size: 100%;
	line-height: 100%;
	overflow: hidden;
	white-space: normal;
	margin: 3px 0 0 3px;
	/*
	
	padding: 0;
	

	border-bottom: 1px dotted #E1DAB7;
	border-left:none;
	border-right:none;
	background:#fff;*/
}

#nav ul li:last-child {
	border-bottom: 0;
}

#nav ul li a {
	display: block;
	width: auto;
	height: auto;
	float: none;
	font-weight: normal;
	background-image: none;
	padding: 6px 0;
	white-space: normal;
	color: #666;
}

#nav ul li a .pre, #nav ul li a .post {
	display: none;
}
#nav ul li a .txt {
	display:block;
	background:transparent;
	margin: 3px 0 0 3px;
	padding: 0;
	width: 100%;
	height: auto;
	font-size: 100%;
	line-height: 100%;
	overflow: hidden;
	white-space: normal;
	border-bottom: 1px dotted #E1DAB7;
	border-left:none;
	border-right:none;
	background:transparent;
}

#nav li.current_page_item ul li a,
#nav li.current_page_parent ul li a {
	color: #666;
}

#nav li.current_page_item ul li a,
#nav li.current_page_parent ul li a {
	color: #666;
}
#nav li ul li a:hover,
#nav li.current_page_item ul li a:hover,
#nav li ul li.current_page_item a {
	color: #DA444F;
}

#nav li ul li.current_page_item {
	color: #DA444F;
	background: transparent;
}
#nav li ul li:hover {
	
}






/* CONTENT
========================================== */
#content {
	clear: both;
	width: 760px;
	margin: 0 auto;
	background: #3e480a;
}

/*fixes other content inside content box*/
#content #content {
	background: transparent;
	width: auto;
	padding: 20px;
	margin: 0;
	border: 0;
}

#content .container {
	background:#ecede7;
	width: 754px;
	margin: 0 3px;
}


#content h1 {
	color: #503D43;
}
#content h2 {
	padding: 0px 0 6px;
}
#content h2 a, #content h2 a:link, #content h2 a:visited,
#content h3 a, #content h3 a:link, #content h3 a:visited {
	color: #666;
	text-decoration: none;
}
#content h2 a:hover,
#content h3 a:hover {
	color: #DA444F;
	text-decoration: none;
}

#content h3 {
	padding: 6px 0 12px;
}

#content h4 a,
#content h4 a:visited {
	color: #666;
}

#content ul {
	list-style-type: none;
}
#content ul, #content ol {
	padding: 0 0 20px;
}
#content ul li,
#content ol li {
	background: url('images/bullet.gif') no-repeat 16px 9px;
	padding: 3px 0 3px 30px;
}
#content ul li a { font-weight: normal; text-decoration: none }
#content ul li a:hover { text-decoration: underline }

#content ul ul {
	padding: 0;
}
#content ol { 
	margin-left: 30px;
}
#content ol li {
	padding-left: 0;
	background-image: none;
}

img.right,
img.align-right,
img.alignright {
	float: right;
	margin: 0 0 6px 12px;
	display: inline;
}
img.left,
img.align-left,
img.alignleft {
	float: left;
	margin: 0 12px 6px 0;
	display: inline;
}

img.centered { display: block; margin: 0 auto 6px; }
img.wp-smiley { border: none; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* POST
========================================== */
#content .post,
#content .post-nav,
#content #comments {
	clear: both;
	padding: 0 20px 0 20px;
	height: 100%;
	overflow: auto;
}

#content .post-content img {
	max-width: 460px;
}

#content .post a.more-link {
	padding-right: 15px;
	background: url('images/icon-more.png') no-repeat right center;
}

#content .post-title h2 {
	margin-bottom: 12px;
	padding-bottom: 11px;
	border-bottom: 1px dotted #DCC49A;
}

#content .post-footer h4 {
	font-size: 110%;
	padding: 0 0 12px;
	text-transform: uppercase;
}

#content .post-footer h4,
#content .post-footer h4 a,
#content .post-footer h4 a:link,
#content .post-footer h4 a:visited {
	color: #999;
}
#content .post-footer h4 a:hover,
#content .post-footer h4 a:active {
	color: #DA444F;
}

#content .post-footer span {
	padding-right: 4px;
	padding-left: 19px;
	background: url('images/icon-post.png') no-repeat left center;
}
#content .post-footer span.post-comments {
	background-image: url('images/icon-comment.png');
}
#content .post-footer span.post-date {
	background-image: url('images/icon-date.png');
}
#content .post-footer span.post-category {
	padding-right: 3px;
}

#content .post table {
/*	background-color: #fff; */
	border-collapse: collapse;
/*	border: 0px solid #EAEAEA;
	border-width: 1px 0px 1px 1px;
	border-left-width: 3px;*/
	border:none;
}
#content .post table th {
	border: 1px solid blue;
	border-width: 0px 0px 1px 0px;
	padding: 0 2px 0 2px;
}
#content .post table td {
	border: 1px solid blue;
	border-width: 0px 0px 1px 0px;
	padding: 0 2px 0 2px;
}

/* Next and Previous Post Navigation
========================================== */
#content .post-nav {
	clear: both;
	text-align: right;
	padding-bottom: 20px;
}
#content .post-nav,
#content .post-nav a,
#content .post-nav a:link,
#content .post-nav a:visited {
	color: #999;
}
#content .post-nav .previous {
	text-align: left;
	float: left;
}
#content .post-nav .next {
	text-align: right;
}

/* Post Pages Navigation
========================================== */
#content p.pagenav {
	clear: both;
}
#content p.pagenav,
#content .pagenav a,
#content .pagenav a:link,
#content .pagenav a:visited {
	color: #666;
}

#content .pagenav a,
#content .pagenav span {
	border: 1px solid #EAEAEA;
	margin: 0 2px 0;
	padding: 3px 6px 4px;
	display: inline;
}
#content .pagenav span.extend {
	border: 0;
	padding: 0;
}

#content .pagenav a {
	text-transform: lowercase;
	background-color: #F3F3F3;
	text-decoration: none;
	line-height: 50%;
}
#content .pagenav a:hover {
	border-color: #BDAEB4;
}
#content .pagenav span.current {
	background-color: #fff;
}

/* COMMENTS
========================================== */
#comments #comment_form {
	margin-left: 0px;
	margin-bottom: 0px;
	padding: 0px;
}
#comments .comment-wrap {
	height: 100%;
	overflow: auto;
	margin: 0 0 12px 0;
	padding: 0 12px 0;
	clear: both;
	background-color: #fff;
	border: 1px solid #EAEAEA;
}

#comments h3 {
	padding-top: 0;
}
#comments h3#respond {
	padding-top: 8px;
}

#comments .comment-wrap img.avatar {
	margin: 0;
	margin-bottom: 12px;
	padding: 2px;
	background-color: #fff;
	border: 1px solid #E8E8E8;
}

#comments .comment-wrap .left {
	width: 65px;
	padding-top: 12px;
	float: left;
}

#comments .comment-wrap .right {
	width: 457px;
	float: left;
	padding: 12px 0 6px 12px;
}

#comments .comment-wrap .right a {
	text-decoration: none;
}

#comments .comment-wrap .right a:hover {
	text-decoration: none;
}

#comments .comment-wrap .right cite {
	margin: 0;
	padding: 0;
	font-style: normal;
	display: block;
	height: 100%;
	overflow: auto;
}
#comments .comment-wrap .right cite b {
	float: left;
}
#comments .comment-wrap .right cite b a {
	
}
#comments .comment-wrap .right cite small {
	font-size: 90%;
	float: right;
}

#comments .comment-wrap .right p {
	padding: 12px 0;
	clear: both;
}

#comments .comment-wrap .right blockquote,
#comments .comment-wrap .right code,
#comments .comment-wrap .right pre {
	margin: 6px 0;
	clear: both;
}

#comments .alt {
	background-color: #F6F6F6;
}

#comments .author {
	background-color: #F7F8E8;
	border-color: #E1DAB7;
}

/* MAIN SIDEBAR
========================================== */

#content .sidebar {
	width:170px;
	display:inline-block;
	overflow:hidden;
	vertical-align:top;
/*	color: #2C2C29;*/
/*	color: #3e480a; */
    font-size: 11px;
    margin:0 0 0 12px;}
    		
/*    		
#content .small h4 {
	padding: 0;
}

#content .small p {
	padding-right: 0;
	padding-bottom: 6px;
	margin: 0;
	color: #666;
}
  */
  
#content .sidebar p {
    font-size: 1.2em;
    margin: 10px 0 15px 6px;}
    		
#content .sidebar a {
/*			color: #3e480a;*/
			text-decoration: underline;}
#content .sidebar a:hover {
			color: #000033;
			text-decoration: none;}
			
#content .sidebar input {
			padding:3px;
			margin-bottom:2px;}
		
#content .sidebar h3 {
			margin:14px 0 0 0;
			padding:0 0 0 13px;
			width:157px;
			display:block;
			background:url(img/sidebar-main.png) top left no-repeat transparent;
			height:34px;
			line-height:34px;
			font-weight:bold;
			font-size:130%;
			color: #3e480a;}
#content .sidebar h3 a, 
#content .sidebar h3 a:link {
			text-decoration:none;
			color:#2C2C29;
			line-height:13px;}
#content .sidebar h3 a img {
			border-collapse:collapse;
			border:none;}

#content .sidebar ul{
			padding:0;
			margin:0;
			list-style:none;
			width:100%;
			background: #F5F5F5;}

* html .sidebar ul{width:170px;}
#content .sidebar ul li {
			display:block;
			color:#2C2C29;
/*			line-height:16px;*/
			padding:4px 0 4px 6px;
			border-bottom:1px solid #eee;
			width: 164px;
			background:none;
			list-style:none;}
#content .sidebar li a:hover,
#content .sidebar li a:active {
	text-decoration: none;
	font-weight: bold;
}
#content .sidebar ul li a:link,
#content .sidebar ul li a:visited {
	text-decoration: none;}


#content .sidebar ul ul {
/*	min-height:16px;*/
	padding: 0;
	margin:0;}		
#content .sidebar ul ul li {
	border:0;
	padding:0 0 0 14px;
	width:100%;}
#content .sidebar li a { font-size: 14px; }
#content .sidebar li li a { font-size: 14px; }
#content .sidebar li li li a { font-size: 14px; }
#content .sidebar li li li li a { font-size: 11px; }
	
#content .shopping-cart-wrapper .shoppingcart {
    padding: 0;}
   
#content .sidebar table{
	margin:0 0 0 0;
}
#content .sidebar table tbody td{					
	border-bottom:2px solid #fff;
	padding:0.9em 0.4em 0.2em 0.2em;
	font-family:Tahoma;}

#content .sidebar table th{
	border-bottom:2px solid #fff;
	background-color:#F5F5F5;
	text-align:center;
	text-transform:uppercase;
	line-height:1.2em;
	font-weight:bold;}

#content .sidebar table tbody td.product-name {
    max-width: 100px;
    width:100px;}
#content .sidebar table tbody td.product-name a {
    text-decoration: none;
    line-height:120%;}
#content .sidebar table tfoot td,
#content .sidebar table tfoot th {
    padding: 2px 0.8em;
    text-align: left;
    line-height:120%;
    font-weight:normal;
}
#content .sidebar table td{background-color:#f5f5f5; vertical-align:top; }
#content .sidebar table th a{color:#d6f325; }
#content .sidebar table td a{color:#807D7A; }
#content .sidebar table tr.even td{background-color:#eee;}
#content .sidebar table.nostyle td,table.nostyle th,table.nostyle tr.even td,table.nostyle tr:hover td{border:0;background:none;background-color:transparent;}


/* CREDITS
========================================== */
#credits {
	clear: both;
	width: 760px;
	height:56px;
	background: url('img/footer.png') left top no-repeat;
}
#credits .container {
	width: 100%;
}

#credits .full {
	padding: 25px 0 0 22px;
	width: 630px;
}



#credits p {
/*	padding: 0 20px 12px 0;*/
	margin: 0;
	color: #BDAEB4;
	font-size: 90%;
}

#credits a,
#credits a:visited {
	color: #d0ae08;
}

#credits a:hover,
#credits a:active {
	color: #DA444F;
}

/* Footer Credits
========================================== */

#credits ul.nav li {
	
	margin: 0;
	display: inline;
}

#credits ul.nav li a {
/*	display: inline;
	margin: 0;*/
	color: #d0ae08;
	font-size:95%;
	padding: 0px 6px 0px 4px;
	border-right: 1px solid #BDAEB4;
	font-weight:bold;
}
#credits ul.nav li a,
#credits ul.nav li a:visited {
	
}
#credits ul.nav li a:hover,
#credits ul.nav li a:active {
	color: #4461eb;
}
#credits ul.nav li a.top {
	border: 0;
	padding-right: 0;
}

/* WIDGETS AND PLUGINS */
/* Search form
========================================== */
form#search-form {
	height: 25px;
	padding: 3px;
	background-color: #F5F5F5;
	border: 1px solid #DCC49A;
	border-width: 0 1px 1px 0;
	margin: 0;
	margin-top:12px;
	position: relative;
}

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

form#search-form input.text {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 100px;
	height: 15px;
	padding: 4px 3px 4px 4px;
	margin: 0;
	z-index: 0;
	background: #FEFEFE;
}
form#search-form input.button-search {
	position: absolute;
	top: 0px;
	right: 1px;
	margin: 0px;
	display: block;
	line-height: 100%;
	width: 50px;
	height: 25px;
}
form#search-form label.overlabel {
	display: none;
	position: absolute;
	z-index:100;
	top: 0;
	left: 0;
}
form#search-form label.overlabel-apply {
	display: block;
	color: #666;
	position: absolute;
	top: 10px;
	left: 9px;
	margin: 0;
	z-index: 1;
	cursor: text;
	line-height: 100%;
	font-size: 100%;
}

/* Calendar
========================================== */
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #666;
	text-align: right;
}
#wp-calendar th {
	color: #666;
	font-size: 80%;
	padding-left: 0;
	padding-right: 0;
}
#wp-calendar a {
	font-weight: bold;
}

#wp-calendar tfoot td {
	text-align: left;
}
#wp-calendar tfoot td#next {
	text-align: right;
}
#wp-calendar td#today {
	background-color: #f3f3f3;
}

/* Shopping Cart Buttons
========================================== */
input.wpsc_buy_button {
	width: 115px;
	height: 33px;
}
input.make_purchase {
	width: 138px;
	height: 33px;
}

/* Shopping Cart
========================================== */
#checkout_page_container,
#single_product_page_container {
    width: 532px !important;
}


#content #checkout_page_container table.checkout_cart tr.product_row td, #content #checkout_page_container table.checkout_cart tr.product_row {
    line-height: 1;
    margin: 0;
    padding: 5px 2px 5px 2px !important;
}


	
#content #checkout_page_container input {
	font-size: 80% !important;
}

.wpsc_product_quantity {
	width:7em;
	}
	
.wpsc_email_address p {
	padding:10px 0 0 0;
	display:inline-block;
	}
	
	
#checkout_page_container .wpsc_make_purchase {
	float:none !important;
    padding:40px 0 0 200px;
}


.wpsc_checkout_form_2,
.wpsc_checkout_form_11 {
	width:150px;	
}

.shipping_header, .total_tax {
	display:none;	
}
