/*  
Theme Name: Shelburne Vineyard
Theme URI: http://shelburnevineyard.com
Description: 
Version: 1.0
Author: Morgan Newcomb
Author URI: http://www.unionstreetmedia.com/

*/



.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; }
.alignright { float: right; }

/* Self-clearing elements
   http://www.positioniseverything.net/easyclearing.html] */
#wordpresscontent .navigation { display: inline-block; }   
#wordpresscontent .navigation:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html #wordpresscontent .navigation { height: 1%; }
#wordpresscontent .navigation { display: block; }

#wordpresscontent .navigation .alignleft {
	width: 47%;
}

#wordpresscontent .navigation .alignright {
	width: 47%;
	text-align: right;
}

/* Begin Typography & Colors */
.postmetadata {
	clear: both;
}

blockquote {
	margin: 10px 0;
	border-left: 10px solid #ccc;
	padding: 0 20px 0 10px 
}
/* End Typography & Colors */

/* Begin Comments*/
li.authorcomment {
	background: #eee;
}
.commentlist cite {
	font-style:normal;
	font-weight: bold;
}
/* End Comments */

/* widget sidebar */
#wp-sidebar {

}
#wp-sidebar ul {
	margin-left: 0px;
}
#wp-sidebar ul ul {
	margin-left: 20px;
	margin-bottom: 1em;
}
li.widget {
	list-style: none;
}
li.widget ul {
	list-style: disc;
}
li.widget ul ul {
	list-style: circle;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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;
	clear: right;
	}

.alignleft {
	float: left;
	clear: left;
	}
/* End Images */


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 9px;
	line-height: 15px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */














/*
	SITE BUILD
	----------
*/

html { min-height: 100%; margin-bottom: 1px; }

body {
	font: 0.85em/1.5 Georgia, "Times New Roman", serif;
	margin: 0; padding: 0;
	text-align:center;
/*	background: #e1e4cc url("i/bg-body.gif") repeat-x left top;*/
	background: #e1e4cc;
	color: #4d4c4c;
}

html, body {
	/* google chrome not rendering background color */
    width: 100%;
    height: 100%;
}

div {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	margin:0;
	padding:0;
}

h1, h2, h3, h4, h5, p, ul, ol, li, blockquote, form, img {
	margin-top: 0;
	padding: 0;
}

h1 {
	font-size: 2.1em;
	color:#4d4c4c;
	line-height: normal;
	font-weight: normal;
}

h2 {
	font-size: 1.3em;
	color:#557b38;
	line-height: normal;
	font-weight: normal;
	margin: 0 0 10px 0;
	padding: 0;
	clear: both;
}

h3 {
	font-size: 1.0em;
	color:#557b38;
	line-height: normal;
	margin: 0 0 10px 0;
	padding: 0;
	clear: both;
}

h4,
h4 a {
	color: #4d4c4c;
}

p {
	margin: 14px 0;
}

a {
	text-decoration: none;
	color: #557b38;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}


a img {
	border: 0;
}

#leftbar a {

}


table {
	margin: 20px auto;
}

th {
	background: #333;
	color: #fff;
	padding: 4px;
}

td {
	vertical-align: top;
	padding: 4px;
}

ul li {
	margin-bottom: 8px;
}


.clearboth {
	clear: both;
}

.redtext {
	color: #c00;
	font-weight: bold;
}

.smaller {
	font-size: 80%;
	display: block;
}



/*
	TEMPLATE
	--------
*/

#ow {
	width: 998px;
	margin: 0 auto;
	background: transparent url("i/ds.png") repeat-y left top;
	text-align: left;
	position: relative;
}

body.home #iw {
	background: transparent url("i/background.jpg") no-repeat center 132px;
}

.sitewrapper {
	width: 928px;
	margin: 0 auto;
}

#ds-top {
	width: 998px;
	height: 21px;
	background: transparent url("i/ds-ends.png") repeat-y left top;	
}

#ds-base {
	width: 998px;
	height: 38px;
	background: transparent url("i/ds-ends.png") repeat-y left bottom;	
}



/*
	MASTHEAD
	--------
*/
#masthead {
	width: 945px;
	height: 125px;
	margin: 0 auto;
	position: absolute;
	left: 19px;
	top: 22px;
	background: transparent url("i/background.png") no-repeat left top;
}

#sitename {
	margin: 0;
	padding: 0;
	position: absolute;
}
#sitename a {
	display: block;
	width: 140px;
	height: 70px;
	position: absolute;
	left: 155px;
	top: 30px;
	text-indent: -999em;
}

/*
	NAVBAR
	------
*/

#navbar {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 614px;
	height: 30px;
	z-index: 300;
	position: absolute;
	left: 320px;
	top: 67px;
	background: transparent url("i/background.png") no-repeat 5px -140px;
}

#navbar li {
	list-style: none;
	position: absolute;
	top: 0;
	z-index: 200;
}

ul#navbar li,
#navbar a {
	height: 30px;
	display: block;
	margin: 0;
	padding: 0;
}

ul#navbar li a {
	text-indent: -9999px;
	text-decoration: none;
	outline: none;
	color: #fff;
	background-image: url("i/background.png");
}

#nb0 a { background-position: 5px -190px;}
#nb1 a { background-position: -47px -190px;}
#nb2 a { background-position: -105px -190px;}
#nb3 a { background-position: -243px -190px;}
#nb4 a { background-position: -364px -190px;}
#nb5 a { background-position: -414px -190px;}
#nb6 a { background-position: -535px -190px;}
#nb7 a { background-position: 5px -290px;}
#nb8 a { background-position: 5px -607px;}
#nb9 a { background-position: 5px -700px;}

#nb0 { left: 0; width: 50px;}
#nb1 { left: 52px; width: 56px;}
#nb2 { left: 110px; width: 137px;}
#nb3 { left: 248px; width: 119px;}
#nb4 { left: 369px; width: 49px;}
#nb5 { left: 419px; width: 119px;}
#nb6 { left: 540px; width: 77px;}
#nb7 { top: -44px !important; left: 390px; width: 100px;}
#nb8 { top: -44px !important; left: 340px; width: 50px;}
#nb9 { top: -44px !important; left: 160px; width: 170px;}

#nb0:hover a, #nb0 a:hover { background-position: 5px -240px; }
#nb1:hover a, #nb1 a:hover { background-position: -47px -240px; }
#nb2:hover a, #nb2 a:hover { background-position: -105px -240px; }
#nb3:hover a, #nb3 a:hover { background-position: -243px -240px; }
#nb4:hover a, #nb4 a:hover { background-position: -364px -240px; }
#nb5:hover a, #nb5 a:hover { background-position: -414px -240px; }
#nb6:hover a, #nb6 a:hover { background-position: -535px -240px; }
#nb7:hover a, #nb7 a:hover { background-position: 5px -340px; }
#nb8:hover a, #nb8 a:hover { background-position: 5px -650px; }
#nb9:hover a, #nb9 a:hover { background-position: 5px -740px; }

/* dropdowns */
ul#navbar li ul {
	font-size: 90%;
	position: absolute;
	left: -9999px;
	width: 180px;
	margin: 0;
	background: #403c38;
	opacity: .9;
	filter: alpha(opacity=90);
	padding: 12px 3px 6px;
	border: 3px solid #403c38;
	z-index: 125;
}

ul#navbar li ul ul {
	display: none;
}

ul#navbar li:hover ul, 
ul#navbar li.sfhover ul {
	left: 5px;
	z-index: 150;
}

ul#navbar li#nb6:hover ul, 
ul#navbar li.sfhover ul.sub-aboutus {
left: -107px;
	z-index: 150;
}


ul#navbar li ul li {
	position: relative;
	height:auto;
	top: 6px;
	padding: 0;
line-height: normal;
margin: 0 0 6px 0;
}


ul#navbar li ul li a {
	text-indent: 0px;
	color: #fff;
	font-weight: bold;
	text-indent: 0px;
	background: transparent;
	display: block;
	min-height: 20px;
	padding: 0 2px;
}

ul#navbar li ul li a {
  height: auto !important;
  height: 20px;
}

ul#navbar li ul li a:hover { color:#403c38; background:#fff; }

/* for crappy browsers */
* html ul#navbar li ul li, * html ul#navbar li ul li a {  

}


/*
	SIDEBAR
	--------
*/

.widget {
margin: 20px 0;
}
.widget h4 {
text-transform: uppercase;
margin: 0 0 2px 0;
padding: 0;
font-weight: normal;
}

.widget p {
margin: 0 0 8px 0;
}

img.attachment-large {
	padding: 0 0 10px 0;
}




/*
	CONTENT AREA
	------------
*/

#contentarea {
	/*margin: 370px 0 0;*/
	padding: 130px 0 0;
	height: auto;
	overflow: hidden;
}

.home #contentarea {
	padding: 440px 0 0;
}

.l {
	width: 530px;
	float: left;
	margin: 20px;
	display: inline;
}

body.home .l {
	width: 590px;
}

.l .ico {
	display: block;
	width: 14px;
	height: 14px;
	background: transparent url("i/background.png") no-repeat left -400px;
	position: absolute;
	left: -20px;
	top: 10px;
}

.r {
	width: 312px;
	float: right;
	margin: 20px;
	display: inline;
	overflow: hidden;
/*	background: transparent url("i/sidebar.jpg") no-repeat left top;*/
/*	min-height: 488px;
	height: auto !important;
	height:488px;*/
}

body.home .r {
	width: 228px;
	background: transparent;
/*	min-height: 160px;
	height: auto !important;
	height:160px;*/
}

/*
	EVENT CALENDAR SIDEBAR
	----------------------
*/

.hdr-event-calendar {
margin: 0 0 8px 0;
padding: 0;
}
.event-calendar-list {
list-style: none;
margin: 0;
padding: 0;
}

.event-calendar-list li {
margin: 0 0 8px 0;
padding: 0;
}

.lnk-view-all-events {
font-size: .85em;
text-align: right;
font-style: italic;
}


/*
	FOOTER
	------
*/

#f {
	background: #403c38;
	border-top: 2px solid #587d38;
	color: #fefcfc;
	text-align: center;
	padding: 2px 0;
	position: relative;
}

#f .ico {
	display: block;
	width: 80px;
	height: 80px;
	background: transparent url("i/background.png") no-repeat left -500px;
	position: absolute;
	right: 5%;
	top: -12px;
}

#f .tasting-hours,
#f .address {
	margin: 4px auto;
	padding: 0;
	width: 65%;
}

#usmtag {
	width: 270px;
	height: 20px;
	margin: 0 auto;
}

#usmtag a {
	display: block;
	width: 270px;
	height: 20px;
	background: transparent url("i/background.png") no-repeat left -445px;
	text-indent: -999em;
}



/*
	SOCIAL MEDIA LINKS
	------------------
*/
#nb-social {
    height: 32px;
    list-style: none outside none;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    right: 35px;
    top: 42px;
}

#nb-social li {
	background-size: 26px;
	float: left;
	width: 26px;
	margin-left: 7px;
	height: 26px;
}

#nb-social li a {
	display: block;
	width: 32px;
	height: 32px;
	text-indent: -9999em;
}

#lnk-facebook {
	background: transparent url("i/facebook.png") no-repeat left top;
}
#lnk-twitter {
	background: transparent url("i/twitter.png") no-repeat left top;
}
#lnk-flickr {
	background: transparent url("i/flickr.png") no-repeat left top;
}
#lnk-youtube {
	background: transparent url("i/youtube.png") no-repeat left top;	
}

/*
	BLOG OVERRIDES
	==============
*/

.clear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clear {
	display: inline-block;
}
.clear {
	clear: both;
	display: block;
}

body.blog .l,
body.archive .l{
	width: 615px;
}
body.blog .r,
body.archive .r{
	width: 230px;
}
.entry{
	float: right;
	width: 400px;
}
.thumbnail{
	float: left;
	max-height: 200px;
	overflow: hidden;
	width: 200px;
}
.thumbnail img{
	max-height: 300px;
}
