/*  
Theme Name: Corzano e Paterno
Description: Custom theme for Fattorio Corzano e Paterno.
Version: 0.2
Author: Tom Godber
Author URI:http://www.masochismtango.com/
*/

body { margin:0; padding:0; background:#dde2cc url(images/back.gif) top left repeat-x; }
body, p, table, td, th, div, ul, ol, li { font-family:Garamond, Times, Serif; /*Verdana, Helvetica, Arial, sans-serif;*/ }
input[type=submit],label,select,.pointer    { cursor:pointer; }
input  { -moz-border-radius:10px; -webkit-border-radius:10px; }

#page, #header, #footer, #content { width:774px; clear:both; }
#page {	margin:0 auto; text-align:left; position:relative; }

#header { height:150px; position:relative; margin:0; padding:0; }
#header ul { position:absolute; bottom:0; left:0; margin:0 9px; padding:0; width:756px; }
#header li { list-style-type:none; list-style-image:none; }
#header li a { display:block; min-width:40px; float:left; width:125px; border-right:1px solid #cddd5c; margin-top:4px; border-bottom:0;
				background:#e2ed91 url(images/navBack.gif) bottom left repeat-x; text-decoration:none; color:#505616; line-height:1em;
				font-family:Garamond, Times, Serif; font-size:20px; z-index:100; padding:19px 0 0 0; height:37px; text-align:center; }
.wine #header li.page-item-5 a, .cheese #header li.page-item-39 a, .guest_house #header li.page-item-74 a, .news #header li.page-item-97 a,
#header li a:hover, #header li.current_page_parent a, #header li.current_page_ancestor a, #header li.current_page_item a,
 .newsmain #header li.page-item-165 a, .in_the_news #header li.page-item-165 a, .latest_info #header li.page-item-165 a
  { background:#eaf2af none; color:#000; border-bottom:0; }
.wine #header li.page-item-5 a:hover, .cheese #header li.page-item-39 a:hover, .guest_house #header li.page-item-74 a:hover, .news #header li.page-item-97 a:hover,
#header li.current_page_item a, #header li.current_page_ancestor a:hover, .newsmain #header li.news a
  { margin:0; padding-top:20px; padding-bottom:3px; }

#header li ul { visibility:hidden; top:59px; width:232px; z-index:999; border-top:1px solid #993; margin:0; }
#header li:hover ul { visibility:visible; }
#header li ul li a { min-width:225px; border:1px solid #993 !important; border-top-width:0 !important; background-color:#e2ed91 !important; background-image:none; margin:0; padding:1px 0 1px 5px !important; height:auto !important; text-align:left; opacity:0.9; filter:alpha(opacity=90); font-size:95%; }
#header li ul li a:hover { background-color:#eaf2af !important; border-bottom:1px solid #993; opacity:1.0; filter:alpha(opacity=100);  }
#header li.page-item-39 ul { left:125px; }
#header li.page-item-74 ul { left:250px; }
#header li.page-item-85 ul { left:375px; }
#header li.page-item-98 ul { left:500px; }
#header li.page-item-165 ul { left:630px; }

#header h1 { position:absolute; top:12px; left:-58px; margin:0; padding:0; }
#header h1 a { display:block; width:425px; height:83px; background:transparent url(images/logo.gif) top left no-repeat; font-size:1px; font-weight:normal; text-decoration:none; color:#b1b69b; }
#header h1 a:hover { border-bottom:0; }

#sidebar { position:absolute; top:72px; left:695px; margin:0; padding:0; z-index:800; }
#sidebar ul, #sidebar li { display:inline; margin:0; padding:0 3px; list-style-type:none; list-style-image:none; }
#sidebar li { float:left; }
#sidebar li.active { opacity:0.25; }

#content { background:#eaf2af url(images/news.jpg) top left no-repeat; float:left; width:734px; margin:0; min-height:350px; padding:170px 20px 20px 20px; border-top:1px solid #993; position:relative; }

#footer { text-align:center; padding:10px 0; background:#e2ed91 url(images/ftrBack.gif) top left repeat-x; border:1px solid #993; border-width:1px 0; }
#footer p { font-size:smaller; }
#footer a, #footer a:visited { color:#993; text-decoration:none; border-bottom:none; }
#footer a:hover { color:#cc6; }
.wine #footer a.wineEmail, .agriturismo #footer a.agriturismoEmail { display:inline !important; }
.wine #footer a.normalEmail, .agriturismo #footer a.normalEmail { display:none; }

#shadowL, #shadowR { position:absolute; top:105px; z-index:-1; width:46px; height:637px; }
#shadowL { background:url(images/shadowL.png) top right no-repeat; left:-33px; }
#shadowR { background:url(images/shadowR.png) top left no-repeat; right:-33px; }

.centre { text-align:center; }
.break {margin:0; padding:0; clear:both; line-height:0px; width:100%; visibility:hidden; }

h2, h3, h4 { font-family:Garamond, Times, Serif; font-weight:normal; font-style:normal; }
h1 a, h2 a, h3 a, h4 a { text-decoration:none; border-width:0; }
h2 a:hover, h3 a:hover, h4 a:hover { text-decoration:underline; border-width:0; }
h2 { font-size:28px; border-bottom:1px solid #993; padding:0; position:relative; }
h3 { font-size:22px; margin-left:3px; color:#993; border-bottom:1px solid #aa5; margin-bottom:5px; }
h4 { font-size:20px; margin-left:6px; }
h2 .breadcrumbs { font-size:60%; color:#993; }
h2 .breadcrumbs  a, h2 .breadcrumbs  a:visited { color:#993; }
.breadcrumbs { margin-left:25px; }

a { color:#993; text-decoration:none; border-bottom:1px dotted #993; }
a:hover { border-bottom:1px solid #993; }
a:visited { color:#444; }

#content p { margin-left:8px; }

blockquote, blockquote cite { margin:0px 15px 0 0;	padding:20px 0px 20px 33px;	background:url(images/quote-arial.gif) 0px 15px no-repeat; font-style:italic; color:#993; }
blockquote cite { display:block; }
blockquote p { margin:0; padding:0; }

textarea { width:95%; }

acronym, abbr { cursor:help; border-bottom:1px dotted; }
hr { display: none; }
a img { border: none; }

a[href^="mailto:"] { display:inline-block; padding-left:19px; line-height:18px; background:transparent url(images/email.gif) center left no-repeat; }
a[href^="callto:"] { display:inline-block; padding-left:14px; line-height:18px; background:transparent url(images/phone.gif) center left no-repeat; }

.cheese div#content { background-image:url(images/cheese.jpg); }
.wine #content { background-image:url(images/wine.jpg); }
.agriturismo #content { background-image:url(images/agriturismo.jpg); }
.history #content { background-image:url(images/history.jpg); }
.front #content { background-image:url(images/front.jpg); }
.oliveoil div#content { background-image:url(images/oliveoil.jpg) !important; }
.find div#content { padding-top:20px; background-image:none; }
.find iframe { border-top:1px solid #993; border-bottom:1px solid #993; }

.wine .album { background-image:url(images/winePhotos.jpg) !important; }
.cheese .album { background-image:url(images/cheesePhotos.jpg) !important; }
.agriturismo .album { background-image:url(images/agriturismoPhotos.jpg) !important; }
.history .album { background-image:url(images/farmPhotos.jpg) !important; }

.news .postmetadata { margin-top:-19px; }
.news p.more { text-align:right; margin-top:-8px; padding-top:0; font-size:smaller; }
.postmetadata { font-size:smaller; text-align:right; margin-top:-19px; padding-top:0; color:#993; display:none; }
.news .postmetadata, .newsmain .postmetadata { display:block; }
.newsmain .post { padding-bottom:56px; margin-bottom:30px; background:transparent url(images/postSep.gif) bottom center no-repeat; }
p.back { text-align:right; margin-right:20px; margin-top:24px; padding-right:24px; padding-top:8px; background:transparent url(images/postSep.gif) center right no-repeat; height:28px; clear:both; }

.archive ul.pages { margin:0 5px; width:100%; }
ul.pages { margin:66px 0 10px 0; padding:0; list-style:none; width:320px; float:right; }
ul.pages li { float:left; margin:4px; list-style:none; }
ul.pages li, ul.pages li a { width:150px; display:block; padding:0; text-align:center; min-height:170px; }
.wine ul.pages li, .wine ul.pages li a { min-height:170px; }
ul.pages img { padding:0; margin:0; border:1px solid #993; }
ul.framed li a img { background:url(images/frame.png) no-repeat top center; width:125px; height:125px; padding:0; margin:0; border:0; }
ul.pages li a { margin:0; border:0; text-decoration:none; }
ul.pages li a:hover { text-decoration:underline; border:0; }
ul.pages li a:hover img { text-decoration:none; }
ul.pages li.archive a { margin-top:70px; }
.agriturismo ul.pages li a { min-height:155px; }
.front ul.pages { margin-top:-6px; margin-right:15px; width:170px; float:left; }
/*.agriturismo ul.pages li { margin-left:50px; }*/
/*.agriturismo ul.pages li { float:right; }*/

p.doc { text-align:center }

p.thumbnail { float:right; margin:3px 10px 5px 5px; }
div.big { float:right; margin:5px; }
div.big img { border:1px solid #e2ed91; }

p#album { position:absolute; padding:0; margin:0; text-align:right; right:8px; top:162px; }
p#album a { display:block; padding:7px 32px 0 0; background:url(images/historyAlbum.png) no-repeat top right; height:19px; vertical-align:bottom; }
.cheese p#album a { background-image:url(images/cheeseAlbum.png); }
.wine p#album a { background-image:url(images/wineAlbum.png); }
.agriturismo p#album a { background-image:url(images/agriturismoAlbum.png); }

.album td a { padding:0; border:1px solid #eaf2af; }
.album td { padding-bottom:10px; }
.album td a  img { padding:1px; border:1px solid #eaf2af; }
.album td a img:hover  { border:1px solid #993; background:#e2ed91;}
.album td p { margin:0; padding:0; }

#content table.grapes { margin-left:30px; }
#content table.grapes td { text-align:right; padding:1px 0 1px 10px; }
.label, .bottle { float:right; padding:0; margin:4px 4px 4px 12px; }
.label img, .bottle img { margin:0; padding:1px; background-color:#e2ed91; border:1px solid #993; }
.label a, .bottle a { border-width:0; }

.metalist { width:48%; float:left; margin-right:8px; }

.wine .map { text-align:right; padding-right:50px; }

p.excerpt { margin-top:0; }
p.excerpt a { border-width:0; text-decoration:none; color:#000; }
p.excerpt a:hover { text-decoration:underline; }

h2 span.more { position:absolute; font-size:12px; bottom:4px; right:2px; }

ul.older li .date { color:#993; font-size:12px; padding-right:12px; }

ul.blogroll { margin-left:2px; padding-left:2px; }
ul.blogroll > li { list-style:none; display:block; margin:2px; padding:7px; border-bottom:1px dotted #aa7 }
ul.publications > li { list-style-image:url("images/publication.png"); margin-bottom:3px; }
ul.newslist > li, ul.publications li.news { list-style-image:url("images/news.png"); margin-bottom:3px; }