/*
Theme Name: Averill Creek
Theme URI:
Author: Impact Visual Communications
Author URI: http://www.impactvisual.ca/
Description: A custom theme for the Averill Creek Wineries website.
Version: 1.0
License:
License URI:
Tags:
Text Domain: averillcreek
*/


/**
 * Table of Contents:
 *
 *  1.0 - Repeatable Patterns
 *  2.0 - Basic Structure
 *  3.0 - Header
 *    3.1 - Branding
 *  4.0 - Navigation
 *    4.1 - Header Navigation
 *    4.2 - Main Navigation
 *    4.3 - Secondary Navigation
 *    4.4 - Social Navigation
 *  5.0 - Slideshow
 *    5.1 - Overlay: Homepage
 *    5.2 - Overlay: Our Wine
 *    5.3 - Overlay: WooCommerce Extra
 *  6.0 - CTAs
 *  7.0 - Latest News
 *  8.0 - Team Bios
 *  9.0 - Our Wine
 * 10.0 - Where to Buy
 * 11.0 - Footer
 * 12.0 - WooCommerce Overrides
 * 13.0 - The Events Calendar Overrides
 * 14.0 - Blog / Sidebar
 * 15.0 - MailChimp
 * 16.0 - Gallery
 * 17.0 - Book Your Event
 *
 * File Tips: responsive versions of each
 *            are located at the bottom of their section

 * ----------------------------------------------------------------------------
 */
@import url("css/reset.css");
@import url("css/fonts.css");



/**
 * 1.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */
 
.genericon:before,
.menu-toggle:after,
.featured-post:before,
.date a:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.tags-links a:first-child:before,
.categories-links a:first-child:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor > .comment-body .fn:before,
.error404 .page-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	vertical-align: text-bottom;
}

/* Clearing floats */
.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
	clear: both;
}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
	content: "";
	display: table;
}

/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Form fields, general styles first. */
label {
	display:block;	
}

button,
input,
textarea {
	border: 1px solid #bebdbb;
	font-family: inherit;
	padding: 5px;
	border-radius:2px;
}

input,
textarea {
	color: #141412;
}

input:focus,
textarea:focus {
	border: 1px solid #c3c0ab;
	outline: 0;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #4f6c7e;
	border: none;
	color: #fff;
	display: inline-block;
	padding: 5px 24px 5px;
	text-decoration: none;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	background: #4f6c7e;
	outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	background: #4f6c7e;
}

.post-password-required input[type="submit"] {
	padding: 7px 24px 4px;
	vertical-align: bottom;
}

.post-password-required input[type="submit"]:active {
	padding: 5px 24px 6px;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #7d7b6d;
}

:-moz-placeholder {
	color: #7d7b6d;
}

::-moz-placeholder {
	color: #7d7b6d;
}

:-ms-input-placeholder {
	color: #7d7b6d;
}

/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */
.entry-content img,
.entry-summary img,
.comment-content img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}
iframe {
	background: none repeat scroll 0 0 #FFFFFF;
	box-shadow: 0 0 1px 1px #CCCCCC;
	padding: 5px;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important;
}

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

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #220e10;
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol  {
	list-style-position: inside;
}

.icon.plus {
  background-color: #000000;
  border-radius: 9px 9px 9px 9px;
  color: #FFFFFF;
  display: block;
  float: left;
  font-family: "pt_sansregular";
  font-weight: normal;
  height: 17px;
  line-height: 1em;
  margin: 0px 10px 0 0;
  text-align: center;
  width: 17px;	
}
.entry-thumbnail {
	float: left;
	margin-bottom: 40px;
	margin-right: 20px;
	width: 45%;
}
.entry-thumbnail img {
	width:100%;
}

	/* This is for case-club Table */
	.entry-content tr {border: 1px solid #7d7b6d;}
	.entry-content td {border: 1px solid #7d7b6d; padding-left:10px;}
	.entry-content th {border: 1px solid #7d7b6d; padding-left:10px;}
@media screen and (max-width: 768px) {
	.entry-thumbnail {
		width: 100%;
	}
}

/* Blog Posts */
.post h1.entry-title {
	margin:0;	
}
.post h1.entry-title,
.post h1.entry-title a {
	font:600 17px/1.6em 'myriad-pro', Verdana, Geneva, sans-serif;
	color: #000;
	text-transform:none;	
}
.post .entry-header  h2 {
	text-transform:none;	
}
.post .entry-meta, .post .entry-meta a, .post .post-edit-link {
	line-height:1em;
	color: #51728b !important;
	font:600 14px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
}
.post .entry-content p {
	margin:15px 0;	
	line-height:1.2em;
}
.post .entry-content a {
	font-weight:600;
}
.post .entry-content p,
.post .entry-content a {
	color: #464e53;
}
article.post {
	margin-bottom:15px;	
}
.post .post-navigation .nav-links a:last-child {
	float:right;	
}

/* Visual Aids */
.hide {
	position:absolute;
	left:-9999px;	
}


/**
 * 2.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

.site {
	background-color: #fff;
	width: 100%;
}

.site-main {
	position: relative;
	line-height:1.65em;	
	background:url(images/content-bg.jpg) left top repeat;
}

.site-main .sidebar-container {
	height: 0;
	position: absolute;
	top: 40px;
	width: 100%;
	z-index: 1;
}

.site-main .sidebar-inner {
	margin: 0 auto;
	width:100%;
}

#primary {
	position: relative;
	width:100%;
	height:100%;
	margin:0;
	background:url(images/content-lower-bg-full.png) right bottom no-repeat;
}
.site-content {
	position:relative;
	max-width:1024px;
	margin:0 auto;	
/*	padding:0px 0px 120px;*/
	padding:50px 0px 120px;
	min-height:500px;
}
@media screen and (min-width: 960px) {
	.page-id-4 .site-content {
		padding: 0px 0px 120px;
	}
}
.site-content > article > header > h1,
.entry-content h1 {
	margin-top:0px;	
}
#page > header .wrapper,
#page > footer .wrapper {
	position: relative;
	max-width:1024px;
	height:100%;
	margin:0px auto;
}

/* homepage */
.home .home-content {
	padding-right:30%;
	position: relative;
	padding-top:42px;
height: 230px;
}
.home-content h1{ margin-bottom:3px;}
.home #hours {
	position:absolute;
	right:0px;
	top:66px;
	/*top:45px;*/
	width:25%;
}
.map-bottom-content{ padding-top:35px;}
.site-content.float-ctas.map-bottom-content #averillcreek-ctas{ top:0px!important;}
.home #hours h3 {
	margin:0;
	padding:0;
	margin-bottom:10px;
	color:#7da3b6;
	font:700 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	text-decoration:none;
}

/****************************
 *      769px - 1024px      *
 ****************************/
@media screen and (min-width: 769px) and (max-width: 1024px) {
	.site-content, #page > footer {
		padding-right:20px;
		padding-left:20px;
	}
}

/*******************
 *      768px      *
 *******************/

/* @media screen for tablet*/
@media screen and (min-width: 640px) and (max-width: 960px) {
	
	.site-content.float-ctas > article#post-48,.site-content.float-ctas > article#post-20{ max-width:61.0352%!important;}
	.site-content.float-ctas > article#post-48 #averillcreek-ctas,.site-content.float-ctas > article#post-20 #averillcreek-ctas{ display:block!important; position:absolute!important;}
	}
/*@media screen and (max-width: 768px) {*/

@media screen and (max-width: 960px) {
.site-content.float-ctas > article{ max-width:100%!important;}
	.site{
		margin:0;
		overflow:hidden;
		/*max-width:768px;*/
		width:100%
	}
	.site-main .sidebar-inner {
		max-width:768px;
		max-width:100%;
	}
	.site-content {
		padding:35px 40px 90px;	
	}
	#primary,
	#page > header .wrapper,
	#page > footer .wrapper {
		position: relative;
		/*max-width:768px;*/
		max-width:960px;
		margin:0;
	}
	
	/* homepage */
	.home .home-content {
		padding-right:35%;
		position: relative;
	}
	.home #hours {
		position:absolute;
		width:33%;
	}
	
	/* our wine */
	.site-content.float-ctas.our-wine { min-height:500px }
	.site-content.float-ctas.our-wine > article { max-width:768px; }
	
	/* out team */
	.site-content.float-ctas.events > article,
	.site-content.float-ctas.visit-us > article,
	.site-content.float-ctas.our-team > article {
		max-width:100%;	
	}
	
}

/*******************
 *      480px      *
 *******************/
@media screen and (min-width: 481px) {
	/* CTAs in sidebar */
	.site-content.float-ctas { min-height:900px }
	.site-content.float-ctas > article { max-width:61.03515625%; /*625px*/ }
}
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
	.averillcreek-cta header h1{ font-size:38px;}
	.site{
		min-width:639px;
		width:100%;
	}
	.site-content {
		max-width:639px;
		padding:35px 30px 80px;	
	}
	#primary,
	#page > header .wrapper,
	#page > footer .wrapper {
		max-width:639px;
	}
	
	/* homepage */
	.home .home-content {
		padding-right:0;
		position: relative;
height: 320px;
	}
	.home #hours {
		position:relative;
		right:0;
		top:0;
		width:100%;
	}

	.site-header .site-title{ width:57%!important; max-width:360px; background-size:100% auto!important; /*height:auto!important;*/}
}

	
/**
 * 3.0 Header
 * ----------------------------------------------------------------------------
 */

.site-header {
	position: relative;
	z-index:99999;
	background:#FFFFFF url('images/header-bg.jpg') right top no-repeat;
	height:114px;
}

/**
 * 3.1 Branding
 * ----------------------------------------------------------------------------
 */

.site-header .site-title {
	position: relative;
	z-index: 9999999;
	background:url('images/logo.png') left top no-repeat;
	width:360px;
	height:140px;
	margin: 0;
	padding: 0px;
}

.site-header .home-link {
	display: block;
	text-decoration: none;
	height:100%;
	width: 100%;
}
.site-header .home-link span {
	position: relative;
	left: -9999px;
}
.site-description {
	position: absolute;
	left: 375px;
	top: 25px;
	font: italic 14px "myriad-pro", Verdana, Geneva, sans-serif;
	margin: 0;
	color: #51728b;
	float:left;
}

/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	.site-header {
		height: 124px;
		margin-bottom:56px;
		background-image:url('images/header-bg-768.jpg');
		background-size:100% 100%;
	}
	.site-description {
		left:-9999px;
	}
	.site-header .site-title {
		margin-left: 40px;
	}
	#menu-header-menu.nav-menu li a{ padding-left:7px!important; padding-right:7px!important;/*padding-left:9px!important; padding-right:9px!important;*/ display:block;  height:100%; margin-right:0px!important;}
	#footer-boxes{ min-height:220px!important;}
}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {

	.site-header {
		margin-bottom:106px;
	}
	.site-header .site-title {
		margin: 0 auto;
	}
	

}
@media screen and (max-width: 480px) {
	/* This is for case-club Table */
	.entry-content td { font-size:12px;}
	.entry-content th { font-size:12px;}
}
/**
 * 4.0 Navigation
 * ----------------------------------------------------------------------------
 */
 
ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0;
	width:100%; display:block;
}

.nav-menu li {
	display: block;
	position: relative;
}
.nav-menu > li {
	float: left;
}
.nav-menu li a {
	color: #000000;
	display: block;
	padding: 0px 10px 0.2em 10px;
	text-decoration: none;
	font: 700 15px/1.4em "myriad-pro", Verdana, Geneva, sans-serif;
}
.nav-menu li:hover > a,
.nav-menu li a:hover {
	color: #688195;
	background:#e8eae9;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #FFFFFF;
	border-top: 0;
	display: none;
	padding: 0px;
	position: absolute;
	z-index: 99999;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}
.nav-menu .sub-menu li,
.nav-menu .children li {
	padding:0px;
}
.nav-menu .sub-menu li:last-child,
.nav-menu .children li:last-child {
	padding-bottom:0;
}
ul.nav-menu ul a,
.nav-menu ul ul a {
	margin: 0;
	padding:0.2em 10px 0.4em;
	width: 160px;
	color: #81817f;
	font-weight:normal;
	text-transform:none;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
	color:#688195;
	background:#e8eae9;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul {
	display: block;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #688195;
	background:#e8eae9;
	/*text-shadow: 0px 0px 2px #535354;*/
}
.nav-menu ul .current_page_item > a,
.nav-menu ul .current_page_ancestor > a,
.nav-menu ul .current-menu-item > a,
.nav-menu ul .current-menu-ancestor > a {
	background:#e8eae9;
}
.menu-toggle {
	display: none;
}
.navbar a, .psuedo-link {
	text-transform:uppercase;
}

/**
 * 4.1 Header Navigation
 * ----------------------------------------------------------------------------
 */
 
#header-navbar {
	position:absolute;
	left:365px;
	top:55px;
	clear: both;
	max-width: 649px;
}
#header-navbar .hide {
	position:relative;
	left:auto;
}

/**
 * 4.2 Main Navigation
 * ----------------------------------------------------------------------------
 */
#site-navigation {
	position:relative;
	height:30px;
}

/**
 * 4.3 Secondary Navigation
 * ----------------------------------------------------------------------------
 */
#site-sub-navigation  {
	margin-left:15px;
	clear:both;
}
#site-sub-navigation ul {
	margin-right:10px;
	padding:0;
}
#site-sub-navigation li {
	border-right:1px solid black;
	padding:0;
	padding-right:10px;
	margin-right:10px;
}
#site-sub-navigation li:first-child {
	padding-left:0px;
}
#site-sub-navigation a, .psuedo-link {
	font: 600 14px/1em "myriad-pro", Verdana, Geneva, sans-serif;
	transform : scale(1.07,1);
	-webkit-transform:scale(1.07,1); /* Safari and Chrome */
	-moz-transform:scale(1.07,1); /* Firefox */
	-ms-transform:scale(1.07,1); /* IE 9+ */
	-o-transform:scale(1.07,1); /* Opera */
	margin:0;
	padding:0;
	text-decoration:#FFF;
}

#site-sub-navigation .current_page_item > a,
#site-sub-navigation .current_page_ancestor > a,
#site-sub-navigation .current-menu-item > a,
#site-sub-navigation .current-menu-ancestor > a,
#site-sub-navigation a:hover {
	background:none;
}
.psuedo-link {
	padding:0;
	float:left;
}

/**
 * 4.4 Social Navigation
 * ----------------------------------------------------------------------------
 */
#social-navigation {
	position: absolute;
	
    top: 23px;
    left: 775px;
	margin:0px 10px;
}
 /* So not valid, but resolved a placement issue in Firefox */
 @-moz-document url-prefix() {
	 #social-navigation {
		/*top:15px; left: 765px;*/
		 left:774px;
	 }
 }
#social-navigation ul,
#social-navigation li {
	margin:0px;
	padding:0px
}
#social-navigation li {
	float:left;
	color:#51728b;
    height: 22px;
    width: 22px;
	margin-right:5px;
}
#social-navigation li a {
	display: block;
	height: 22px;
	width: 22px;
	left: 0;
	position: relative;
	top: 0px;
}
.icon:before {
	float:left;
	height:22px;
	width:22px;
}


@media screen and (max-width:1000px) {
	.nav-menu li a {
		line-height:1.0em;
	}
}

/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {

	/* header navigation */
	#header-navbar {
		position: absolute;
		top: 124px;
		left: 0px;
		width:100%;
		max-width:100%;
		height: 56px;
		padding:0;
		background-color:#51728b;
	}
	
	/* main navigation */
	#site-navigation {
		height:56px;
		padding: 0 0 0 35px;
	}
	#site-navigation li {
		height:56px;	
		
	}
	#site-navigation li a {
		line-height:1.0em;
		height:56px;
		padding-top:25px;
		background:transparent;
		display:block;
	}
	#site-navigation li > a {
		color: #FFF;
	}
	#site-navigation .current_page_item > a,
	#site-navigation .current_page_ancestor > a,
	#site-navigation .current-menu-item > a,
	#site-navigation .current-menu-ancestor > a {
		background:#7094aa;
	}
	#site-navigation ul ul li {
		height:35px;	
	}
	#site-navigation ul ul a {
		height:35px;
		padding:10px;
		color:#81817f;
		background:#FFF;
	}
	#site-navigation ul ul a:hover {
		color:#688195;
		background:#e8eae9;
	}
	#site-navigation ul ul .current_page_item > a,
	#site-navigation ul ul .current_page_ancestor > a,
	#site-navigation ul ul .current-menu-item > a,
	#site-navigation ul ul .current-menu-ancestor > a {
		color: #688195;
		background:#e8eae9;
	}

	/* secondary navigation */
	.psuedo-link {
		display: block;
		text-align: right;
		padding-left:0;
		margin-right:3px;
	}
	#site-sub-navigation {
		position: absolute;
		right: 40px; /* transform on text affects this */
		top: -90px;
	}
	#site-sub-navigation a, .psuedo-link {
		font-size: 17px;
		line-height:1.63em;
	}
	#site-sub-navigation ul {
		margin: 0;
	}
	#site-sub-navigation li {
		display:block;
		padding: 0;
		text-align: right;
		border: none;
		float:none;
		margin-right:3px;
	}
	
	/* social navigation */
	#social-navigation {
		position: absolute;
		left: auto;
		right: 30px !important;
		top: 5px;
		margin:0px;
	}


}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {

	/* header navigation */
	#header-navbar {
		height:106px;
		padding:0px;
	}
	#header-navbar .hide {
		position:absolute;
		left:-9999px;
	}
	
	/* main navigation */
	#site-navigation .menu-header-menu-container {
		display:none;	
	}
	#site-navigation {
		top:56px;
		left:0px;
		width:100%;
		height:50px;
		padding:0;
		border-top:1px solid #FFF;
		background-color: #464e53;
	}
	#site-navigation h3 {
		display:block;
		width:100%;
		height:100%;
		margin:0;
		padding:0;	
		text-align:center;
		padding-top:12px;
		color:#FFF;
		font: 700 18px "myriad-pro", Verdana, Geneva, sans-serif;
	}
	#site-navigation a {
		font-size:18px;
	}
	#site-navigation li {
		height:auto;
		float:none;
		width:100%;
	}
	#site-navigation li a {
		height:40px;
		padding-top:10px;
		padding-left:40px;	
		color:#81817f;
		font-weight:normal;
		text-transform:none;
		background:#FFF;
		width:100%;
	}
	#site-navigation li a:hover {
		color:#688195;
		background:#e8eae9;
	}
	#site-navigation .current_page_item > a,
	#site-navigation .current_page_ancestor > a,
	#site-navigation .current-menu-item > a,
	#site-navigation .current-menu-ancestor > a {
		color: #688195;
		background:#E8EAE9;
	}
	#site-navigation li ul {
		display:block;	
		position:relative;
	}
	#site-navigation ul ul a {
		height:40px;
		padding-left:60px;
	}
	#site-navigation ul ul li,
	#site-navigation li li a {
		height:40px;
	}

	/* secondary navigation */
	#site-sub-navigation {
		position: absolute;
		left: 0px;
		top: 0px;
		width:100%;
		padding-top:25px;
		padding-left:35px;
	}
	#site-sub-navigation li {
		float:left;
	}

	#site-sub-navigation a, .psuedo-link {
		color: #FFF;
		text-align:left;
		padding:0;
		margin:0;
		font-size:18px;
		line-height:1em;
		text-decoration:none;
	}
	#site-sub-navigation li, .psuedo-link {
		border-right:1px solid #fff;
		padding-right:12px;
		margin-right:12px;
	}
	.psuedo-link {
		margin-left:5px;	
	}
	#site-sub-navigation .menu-header-extra-menu-container, .psuedo-link {
		float:left;	
	}

	
	/* social navigation */
	#social-navigation {
		position: absolute;
		left: auto;
		right: 28px !important;
		top: 147px; /* this doesn't display well in the browser, but works on the mobile... hmm */
		margin: 0 10px;
	}
	#social-navigation li {
		color:#FFF;
	}
	.icon:before {
	  font-size: 32px;
	  height: 32px;
	  width: 32px;
	}
	
}

/**
 * 5.0 Slideshow
 * ----------------------------------------------------------------------------
 */
#averillcreek-slideshow {
	position:relative;
	z-index:9999;
	margin:0; padding:0;
	height:528px;
}
#averillcreek-inner-slideshow{
	position:relative;
	z-index:9999;
	margin:0; padding:0;
	height:396px;

}
#averillcreek-inner-slideshow #averillcreek-slideshow-images {
	height:auto;
	max-height:386px;
	max-width:100%;
	overflow:hidden;
	border-top:2px solid #51728b;
	border-bottom:10px solid  #51728b;
}
#location-map{border-top:2px solid #51728b;border-bottom:10px solid  #51728b;}
#averillcreek-inner-slideshow #averillcreek-slideshow-menu li{ top:190px;}
#averillcreek-slideshow-menu {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:99991;
	width:100%;
	height:0;
}
#averillcreek-slideshow-menu li {
	display: block;
	position:absolute;
	top:210px;
	height:65px;
	width:65px;
	left:0;
}
#averillcreek-slideshow-menu a {
	display:block;
	width:100%;
	height:100%;
	color: transparent;
}
#averillcreek-slideshow-menu .next-btn {
	left:auto;
	right:0;
}
#averillcreek-slideshow-menu .next-btn a {
	background:url('images/sprite.png') -62px top no-repeat;
}
#averillcreek-slideshow-menu .prev-btn a {
	background:url('images/sprite.png') -2px top no-repeat;
}
#averillcreek-slideshow-images {
	height:528px;
	max-height:528px;
	max-width:100%;
	overflow:hidden;
	border-top:2px solid #51728b;
	border-bottom:10px solid  #51728b;
}

#averillcreek-slideshow-images img {
	height:auto;
	width:100%;
	min-height:100%;
}

/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	#averillcreek-slideshow {
		/*height:325px*/
		height:383px;
	}
	#averillcreek-slideshow-images {
		/*height:325px*/
		height:383px;
		border-top:none;
	}
	#averillcreek-slideshow-menu li {
	  left:-9999px;
	}
	#averillcreek-slideshow-menu {
		display:none;	
	}
}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
	#averillcreek-slideshow-images {
		max-height:380px;
	}
}


/**
 * 5.1 Overlay: Homepage
 * ----------------------------------------------------------------------------
 */
.trans-bg {
	background: transparent url('images/trans-bg.png') top left repeat;
}
#slideshow-overlay {
	position:relative;
	z-index:99990;
	top:-528px;
	max-width:1024px;
	height:518px;
	margin:0 auto;
}
.woocommerce #slideshow-overlay {
	/*overflow:hidden;*/
}
.img-div{  height: 519px;
    overflow: hidden;
    width: 495px;}
#slideshow-overlay #store-cart{/* position:absolute; right:0px; top:0px;*/ z-index:9;}
#store-cart {
	position: relative;
right: 0px;
top: 528px !important;
width: 200px;
height: 35px;
float: right;
}
.trans-bg.inner-store {top: 143px !important;}
#store-cart, #store-cart a {
	font: 700 14px 'myriad-pro', Verdana, Geneva, sans-serif;
}
#store-cart a {
	color: #FFFFFF;
	display: block;
	height: 100%;
	/*width: 100%;*/ width:96%;
	padding: 7px 0 0 20px;
	text-align: left;
	text-decoration: none;
	transform : scale(1.07,1);
	-webkit-transform:scale(1.07,1); /* Safari and Chrome */
	-moz-transform:scale(1.07,1); /* Firefox */
	-ms-transform:scale(1.07,1); /* IE 9+ */
	-o-transform:scale(1.07,1); /* Opera */	
}
#discover-overlay-cta {
	position: absolute;
	bottom:-40px;
	left:60px;
	width:760px;
	height:516px;
}
#discover-overlay-cta-img {
	position:absolute;
	right:0;
	/*width:380px;*/ width:50%;
	height:516px;
	background: url('images/bottles.png') right 115px no-repeat;1
}
#discover-overlay-cta .overlay-details {
  bottom: 40px;
  left: 0;
  padding: 0px 75px 0 35px;
  position: absolute;
  width: 450px;
  min-height:195px;
}
#discover-overlay-cta h5 {
	text-transform:uppercase;
	margin:30px 0 5px 0;
	font: 24px "pt_sansbold", Helvetica, sans-serif;
	color: #161213;
}
#discover-overlay-cta p {
	font: 15px/1.2em "pt_sansregular", Helvetica, sans-serif;
	color: #FFF;
	margin-bottom:12px;
}
#discover-overlay-cta a {
	text-transform:uppercase;
	text-decoration: none;
	font: 16px "pt_sansbold", Helvetica, sans-serif;
	color: #000;
	display:inline-block;
}

#gallery-link {
	position: absolute;
	right: 0px;
	bottom: 0px;
	width:190px;
	height:55px;

}
#gallery-link h5,
#gallery-link a {
	font-size: 12px;
	color:#FFF;
}
#gallery-link h5 {
	font-weight:normal;
	font: 14px/0.8em "pt_sansitalic", Helvetica, sans-serif;

}
#gallery-link a {
	display:block;
	padding: 15px 0 0 20px;
	width:100%;
	height:100%;
	text-decoration:none;
	font: 14px "pt_sansbold", Helvetica, sans-serif;
}
#gallery-link h5,
#gallery-link p {
	margin:0;
	padding:0;
}
#gallery-link p {
	text-transform:uppercase;
}

/* purchase online page */
.variations{ margin-bottom:0px;}
.variations td{ width:90%; display:block; padding-top:0px; padding-bottom:0px;}
.single_variation .price .amount{ font-weight:bold;}

/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
	@media screen and (max-width: 960px) {
	#slideshow-overlay {top:-325px;height:315px;}
	#discover-overlay-cta {left:-9999px;	background:none;}
	.home #discover-overlay-cta {left:30px;width:90%;}
	.home #discover-overlay-cta .overlay-details {width:64.8%;bottom:65px;}
	.home #discover-overlay-cta-img {background:url("images/bottles-720.png") no-repeat right bottom;}
	.home #gallery-link {position:absolute;/*left:0px;top:0px;*/}
    .img-div {height: 318px;overflow: hidden;width: 495px;}
	#woocommerce-ss-extra {left: 0;margin-top: 10px !important;}
    #store-cart{/*top:325px !important;*//* top:0px!important;*/}
	#discover-overlay-cta p{ font-size:17px;}
	#footer-twitter.footer-box p.fulltextnode{ display:block!important;}
	#footer-twitter.footer-box p.shorttextnode{ display:none!important;}
	.float-ctas #averillcreek-ctas{ display:none;}
	.site-content.float-ctas #averillcreek-ctas{ right:4px;}

	
}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
    #woocommerce-ss-extra {
    left: 0;
    margin-top: 68px !important;
}
	#averillcreek-slideshow #slideshow-overlay {
		/*top:-330px;*/
		/*top:-380px;
		height:320px;*/
	}
	#store-cart {
		width:118px;
		height:45px;
	}
	#store-cart a {
		font-size:20px;
		font-weight:600;
		transform : scale(1.07,1);
		-webkit-transform:scale(1.07,1); /* Safari and Chrome */
		-moz-transform:scale(1.07,1); /* Firefox */
		-ms-transform:scale(1.07,1); /* IE 9+ */
		-o-transform:scale(1.07,1); /* Opera */	
	}
	.home #discover-overlay-cta {
		left:0px;
		width:100%;
		height:330px;
		background:none;
	}
	.home #discover-overlay-cta-img {
		background: url('images/bottles-480.png') right 40px no-repeat;
	}
	.home #discover-overlay-cta h5 {
		margin-top:15px;	
	}
	.home #discover-overlay-cta .overlay-details {
		height:175px;
		width:100%;
		/*bottom:40px;*/
		bottom:-10px;
		padding-right:150px;
	}
	#discover-overlay-cta-img{ height:333px; bottom:-53px;}
	#store-cart{ width:auto; height:auto; min-width:113px; min-height:54px;}
	.averill-cart-total {
		position:absolute;
		left:-9999px;	
	}
	.site{ max-width:639px; min-width:inherit;}
	#site-sub-navigation{ padding-left:0px;}
	#site-sub-navigation li, .psuedo-link{ margin-right:9px; padding-right:9px;}
	#site-sub-navigation a, .psuedo-link{ font-size:13px;}
	#social-navigation{ right:0px!important;}
	.averillcreek-gallery-frame ul li:first-child{ margin-right:3.083%!important;}
	.averillcreek-gallery-frame ul li{ margin-bottom:2.976563%;}
	.our-wine .downloadtasting{ float:left;}
	.float-ctas #averillcreek-ctas{ display:block!important;} 
	
}
@media screen and (max-width: 410px) {
	#discover-overlay-cta h5{ font-size:20px;}
	#discover-overlay-cta .overlay-details{ padding-left:20px;}
	#discover-overlay-cta p{ font-size:14px;}
	.home #discover-overlay-cta .overlay-details{ bottom:0px; height:232px;}
	/*Purchase online page */
	.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img{ width:100%;}
	.averillcreek-cta header h1{ font-size:26px!important;}
	.averillcreek-cta-content h2{ font-size:21px!important;}
	.averillcreek-cta footer a{ font-size:15px!important;}
	.the-wine{ padding-left:0px!important;}
	.the-wine .entry-thumbnail{ position:relative!important; float:none;}
	}
/**
 * 5.2 Overlay: Our Wine
 * ----------------------------------------------------------------------------
 */


.hoverscroll {
	position:relative;
	margin:0 auto;
	background:none;
	border:none;
}

/* List container */
div.hoverscroll div.listcontainer {
	overflow:hidden;
}
div.hoverscroll div.fixed-listcontainer {
    overflow: hidden;
    float: left;
}

/* Actual list containing items */
div.hoverscroll ul.list {
	list-style:none;
	margin:0;
	padding:0;
}

/* Items contained in the list */
div.hoverscroll ul.list li.item {
	display:block;
	padding:0;
}
div.hoverscroll.horizontal ul.list li.item {
	float:left;
}
div.hoverscroll.horizontal.rtl ul.list li.item {
	float: right;
}
#wine-scroller {
	position:absolute;
	left:0;
	bottom:-40px;
	width:100%;
	overflow:hidden;
	display:none; /* works in tendem with fadeIn to prevent stack flicker from being seen at load */
}
#wine-list li {
	width:95px;
	height:340px;
	overflow:hidden;
}
#wine-list li a {
	display:block;	
}
#wine-list li a img {
	margin-top:20px;
	height:auto;
}
#wine-list li a:hover img {
	margin-top:10px;
	margin-left:-5px;
	height:320px;
}
div.hoverscroll div.arrow {
	display:none;
}

/*@media screen and (max-width:768px) {*/
@media screen and (max-width:960px) {
	
	/* Arrows */
	div.hoverscroll div.arrow {
		position:absolute;
		float:none;
		background-color:#ccc;
		background-position:center;
		background-repeat:no-repeat;
		opacity:0.8;
		filter:alpha(opacity=80);
	}
	div.hoverscroll div.fixed-arrow {
		display: block;
		float: left;
		background-color: #ccc;
		background-position: center;
		background-repeat: no-repeat;
	}
	
	div.hoverscroll div.arrow.left,
	div.hoverscroll div.arrow.right,
	div.hoverscroll div.fixed-arrow.left,
	div.hoverscroll div.fixed-arrow.right {
		top:0px;
		width:60px;
		height:100%;
	}
	div.hoverscroll div.arrow.left,
	div.hoverscroll div.fixed-arrow.left {
		left:0px;
		background:url("images/sprite.png") no-repeat scroll -2px bottom rgba(0, 0, 0, 0);
		background-position:0 50%;
	}
	div.hoverscroll div.arrow.right,
	div.hoverscroll div.fixed-arrow.right {
		right:0px;
		background:url('images/sprite.png') no-repeat scroll -62px bottom rgba(0, 0, 0, 0);
		background-position:0 50%;
	}
	
	div.hoverscroll div.arrow.top,
	div.hoverscroll div.arrow.bottom,
	div.hoverscroll div.fixed-arrow.top,
	div.hoverscroll div.fixed-arrow.bottom {
		left:0px;
		width:100%;
		height:40px;
	}
	div.hoverscroll div.arrow.top,
	div.hoverscroll div.fixed-arrow.top {
		top:0px;
		background-image:url('gfx/arrow-up-small.png');
		
	}
	div.hoverscroll div.arrow.bottom,
	div.hoverscroll div.fixed-arrow.bottom {
		bottom:0px;
		background-image:url('gfx/arrow-down-small.png');
	}
}



/**
 * 5.3 WooCommerce Extra
 * ----------------------------------------------------------------------------
 */
#woocommerce-ss-extra {
/*	bottom: -41px;
	left: 0;
	position: absolute;
	z-index: 10000000;*/
left: 0;
    margin-top: 210px;
    max-width: inherit;
    z-index: 10000000;
}

/*@media screen and (max-width:480px) {*/
@media screen and (max-width:639px) {
	#woocommerce-ss-extra {width:80%;}
    #averillcreek-inner-slideshow{height:267px;}
	#averillcreek-inner-slideshow #averillcreek-slideshow-images,#averillcreek-inner-slideshow #averillcreek-slideshow-images img{ min-height:267px;}
}

/**
 * 6.0 CTAs
 * ----------------------------------------------------------------------------
 */
 
#averillcreek-ctas {
	position:relative;
	z-index:1000; 
	/*padding-left: 15px;*/
	/*margin-top:30px;*/
	
	margin-top:10px;
}

.averillcreek-cta {
	position:relative;
	width:32.35677045%;
	height:235px;
	max-height:235px;
	padding:25px 35px 60px; 
	margin:0px 0.97656255% 10px 0px;
	overflow:hidden;
	float:left;
}
.averillcreek-cta h1,
.averillcreek-cta h2 {
	font-family:'myriad-pro', Verdana, Geneva, sans-serif;
}

.averillcreek-cta header h1 {
	margin:0px 0px 10px;
	font-size:26px;
	font-weight:normal;
	text-transform:uppercase;
	padding-right:17%;
}
.averillcreek-cta-image {
	position:absolute;
	right:0; top:0;
	width:50%;
	height:100%;
	overflow:hidden;
	z-index:3000;
}
.averillcreek-cta-content h2 {
	margin:0;
	padding-right:25%;
	font-size:16px;
	font-weight:600;
	color:#51728b;
	text-transform:uppercase;
}
.averillcreek-cta-content p {
	font-size:16px;
	padding-right:25%;
	line-height:1.2em;
}
.averillcreek-cta footer {
	position:absolute;
	left:0;
	bottom:0;
	height:35px;
	width:100%;	
	z-index:2000;
}
.averillcreek-cta footer a {
	position:relative;
	display:block;
	height:100%;
	width:100%;
	padding:3px 40px 5px 65px;
	font-size:14px;
	font-weight:600;
	text-transform:uppercase;
	color:#000;
	text-decoration:none;
}
.averillcreek-cta footer .link-icon {
	background-color: #000000;
    border-radius: 10px 10px 10px 10px;
    color: #FFFFFF;
    content: "+";
    display: block;
    position:absolute;
	left:35px;
	top:7px;
    font-weight: 700;
    height: 20px;
    line-height: 1em;
    text-align: center;
    width: 20px;
	padding-top:1px;
}
	
#averillcreek-cta-shop {
	background:#fbd3aa url(images/ctas/cta-bg-shop.jpg) left top no-repeat;
}
#averillcreek-cta-shop .averillcreek-cta-image  {
	background:transparent url(images/ctas/cta-fg-shop.png) right top no-repeat;
}
.single-product #averillcreek-cta-shop {
	display:none;
}

#averillcreek-cta-events {
	background:#e9e8e3 url(images/ctas/cta-bg-events.jpg) left top no-repeat;
}
#averillcreek-cta-events .averillcreek-cta-image  {
	background:transparent url(images/ctas/cta-fg-events.png) right top no-repeat;
}

#averillcreek-cta-tours {
	background:#e6e5e4 url(images/ctas/cta-bg-tours.jpg) left top no-repeat;
}
#averillcreek-cta-tours .averillcreek-cta-image  {
	background:transparent url(images/ctas/cta-fg-tours.png) 120% top no-repeat;
}

#averillcreek-cta-club {
	display:none;	
}
#averillcreek-cta-club p {
	padding-right:24%;	
}
.woocommerce-page #averillcreek-cta-shop {
	display:none;
}
.woocommerce-page #averillcreek-cta-club {
	display:block;
	background:#e6e5e4 url(images/ctas/cta-bg-club.jpg) left top no-repeat;
}
.woocommerce-page #averillcreek-cta-club .averillcreek-cta-image  {
	background:transparent url(images/ctas/cta-fg-club.png) 140% top no-repeat;
}



@media screen and (min-width: 1025px) {
	/* CTAs in sidebar */
	.site-content.float-ctas #averillcreek-ctas {
		/*top:20px !important;*/
		right:0px !important;
	}
}
/*@media screen and (min-width: 769px) and (max-width: 1024px) {*/
@media screen and (min-width: 961px) and (max-width: 1024px) {
	/* CTAs in sidebar */
	.site-content.float-ctas #averillcreek-ctas {top:20px !important;}
	#averillcreek-inner-slideshow{height:323px;}
	#averillcreek-inner-slideshow #averillcreek-slideshow-images {max-height:323px;}

}
/*@media screen and (min-width: 768px) and (max-width: 999px) {*/
@media screen and (min-width: 961px) and (max-width: 999px) {
	.entry-content .gform_wrapper .top_label .gfield_label{ font-size:16px; line-height:16px;}
	.nav-menu li a{ padding-left:8px; padding-right:8px;}
	}

 /*******************
 *      768px      *
 *******************/
@media screen and (min-width: 768px) {
	/*#averillcreek-ctas {
		position:absolute;
		right:0px;
		top:10px;
		padding:0;
	}
	.home #averillcreek-ctas {
		position:relative;
		top:0px;
	}
	.averillcreek-cta {
		position:relative;
		width:335px;
		margin:0px 0px 10px 0px;
		overflow:hidden;
		float:none;
	}
	.home .averillcreek-cta {
		float:left;
		width:32%;
		margin:0px 10px 0px 0px;
	}*/

}
/*@media screen and (max-width: 768px) {*/
	@media screen and (max-width: 960px) {
	#averillcreek-ctas {
		left:-20px;
		position: relative;
		width: 110%;
		z-index: 1000;
		padding:0;
	}
	.averillcreek-cta {
		width:31%;
		height:198px;
		max-height:198px;	
	}
	.averillcreek-cta {
		padding:25px 85px 35px 25px; 
	}
	.averillcreek-cta header h1 {
		font-size:24px;
		font-weight:none;
	}
	.averillcreek-cta-content p {
		position:absolute;
		left:-9999px;	
	}
	.averillcreek-cta-image img  {
		width:55%;
	}
	
	.averillcreek-cta footer a {
	  padding-left:50px;
	}
	.averillcreek-cta footer .link-icon {
	  left: 25px;
	}
	
	#averillcreek-cta-shop {
		background:#fbd3aa url(images/ctas/cta-bg-shop-720.jpg) left top no-repeat;
	}
	#averillcreek-cta-shop .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-shop-720.png) right top no-repeat;
	}
	
	#averillcreek-cta-events {
		background:#e9e8e3 url(images/ctas/cta-bg-events-720.jpg) left top no-repeat;
	}
	#averillcreek-cta-events .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-events-720.png) right top no-repeat;
	}
	
	#averillcreek-cta-tours {
		background:#e6e5e4 url(images/ctas/cta-bg-tours-720.jpg) left top no-repeat;
	}
	#averillcreek-cta-tours .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-tours-720.png) right top no-repeat;
	}
	
	#averillcreek-cta-club {
		background:#e6e5e4 url(images/ctas/cta-bg-club-720.jpg) left top no-repeat;
	}
	#averillcreek-cta-club .averillcreek-cta-club  {
		background:transparent url(images/ctas/cta-fg-tours-720.png) right top no-repeat;
	}
	

	/* our wine */
	.site-content.our-wine #averillcreek-ctas { 
		display:none;
	}
	
	/* our team */
	.site-content.float-ctas.events  #averillcreek-ctas,
	.site-content.float-ctas.visit-us  #averillcreek-ctas,
	.site-content.float-ctas.our-team  #averillcreek-ctas {
		position:relative;	
		width:106%;
		right:auto;
		top:0px;
		left:-20px;
		border-top:1px solid #bebdba;
		padding-top:15px;
		margin-bottom:40px;
	}
	.site-content.float-ctas.events .averillcreek-cta,
	.site-content.float-ctas.visit-us .averillcreek-cta,
	.site-content.float-ctas.our-team .averillcreek-cta {
		float:left;
		width:32.6%;
	}
	.site-content.float-ctas.events  #averillcreek-cta-tours,
	.site-content.float-ctas.visit-us  #averillcreek-cta-tours,
	.site-content.float-ctas.our-team  #averillcreek-cta-tours {
		margin-right:0px;
	}
	#averillcreek-inner-slideshow{height:267px;}
	#averillcreek-inner-slideshow #averillcreek-slideshow-images {max-height:267px;}
	.entry-content .gform_wrapper .top_label .gfield_label{ font-size:15px; line-height:15px;}
	.content-area #averillcreek-ctas{ position:relative!important;}
	
}
@media screen and (min-width: 481px) and (max-width: 767px) {
	.entry-content #gform_fields_2 li#field_2_9 {margin-top: -443px!important;}
	.entry-content #gform_fields_2 li#field_2_10 {margin-top: -420px!important;}
	.entry-content #gform_fields_2 li#field_2_11 {margin-top: -359px!important;}
	.entry-content #gform_fields_2 li#field_2_12 {margin-top: -299px!important;}
	.entry-content #gform_fields_2 li#field_2_13 {margin-top: -243px!important;}
	.entry-content #gform_fields_2 li#field_2_14 {margin-top: -166px!important;}
	.entry-content #gform_fields_2 li#field_2_15 {margin-top: -103px!important;}

	}
/*******************
 *      480px      *
 *******************/
@media screen and (min-width: 481px) {
	/* CTAs in sidebar */
	.site-content.float-ctas #averillcreek-ctas {
		position:absolute;
		left:auto;
		right:20px;
/*		top:-10px;*/
		top: 40px;
		width:32%; /* Exact: 32.7148% */
	}
	.site-content.float-ctas .averillcreek-cta {
		float:none;	
		width:100%;
	}
}
@media screen and (max-width: 639px) {
/*@media screen and (max-width: 480px) {*/
	#averillcreek-ctas {
		left:0px !important;
		width:100% !important;
		border:none !important;
	}
	.averillcreek-cta {
		float:none;
		width:100%;
		/*max-width:420px;*/
		max-width:639px;
		min-height:160px;
		/*max-height:160px;	*/
		padding-top:20px;
		padding-right:35px;
	}
	.averillcreek-cta header h1 {
		font-size:40px;
		margin:0;
	}
	.averillcreek-cta-content h2 {
		/*font-size:30px;*/
		 font-size:26px;
	}
	.averillcreek-cta{ background-size:100% 100%!important;}
	.averillcreek-cta footer {
		height:40px;
	}
	.averillcreek-cta footer a {
		font-size:22px;
		padding-top:4px;
		padding-left:60px;
	}
	.averillcreek-cta footer .link-icon {
		top:10px;
		left:25px;
		line-height:0.7em;
	}
	#averillcreek-cta-shop {
		background:#fbd3aa url(images/ctas/cta-bg-shop-480.jpg) left top no-repeat;
	}
	#averillcreek-cta-shop .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-shop-480.png) right top no-repeat;
	}
	
	#averillcreek-cta-events {
		background:#e9e8e3 url(images/ctas/cta-bg-events-480.jpg) left top no-repeat;
	}
	#averillcreek-cta-events .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-events-480.png) right top no-repeat;
	}
	
	#averillcreek-cta-tours {
		background:#e6e5e4 url(images/ctas/cta-bg-tours-480.jpg) left top no-repeat;
	}
	#averillcreek-cta-tours .averillcreek-cta-image  {
		background:transparent url(images/ctas/cta-fg-tours-480.png) right top no-repeat;
	}
	#averillcreek-cta-club {
		background:#e6e5e4 url(images/ctas/cta-bg-club-480.jpg) left top no-repeat;
	}
	#averillcreek-cta-club .averillcreek-cta-club  {
		background:transparent url(images/ctas/cta-fg-tours-480.png) right top no-repeat;
	}
	
	
	/* CTAs at content bottom */
	.site-content.float-ctas #averillcreek-ctas {
		top:0px;
		right:0px;
	}
	
	/* pages */
	.site-content.our-wine {
		padding-bottom:115px;	
	}
	.site-content.our-wine #averillcreek-ctas { 
		position:relative;
		display:block; 
		width:110%;
		top:0px;
	}
	.site-content.float-ctas.events .averillcreek-cta,
	.site-content.float-ctas.visit-us .averillcreek-cta,
	.site-content.float-ctas.our-team .averillcreek-cta {
		width:100%;
	}

	.site-content.gallery #averillcreek-ctas {
		display:none;	
	}
	
	 .trans-bg.inner-store {
    top: 20% !important;
}
	
}


/**
 * 7.0 Latest News
 * ----------------------------------------------------------------------------
 */
#latest-news {
	height:auto;
	margin-top:38px;
	margin-bottom:20px;
	/*margin-top:50px;*/
}
#latest-news ul {
	list-style:none;
	height:100%;
	margin:0; padding:0;
}
#latest-news ul li {
	float:left;
	height:100%;
	width:30%;
	padding:0 5% 0 0;
	margin:0 5% 0 0;
	border-right:1px solid #656a6d;	
}
#latest-news ul li:last-child {
	border-right:0;
	padding:0;
	margin:0;
}
#latest-news li h3 {
	margin:0;
	padding:0;
}
#latest-news li h3 a {
	margin-bottom:10px;
	color:#7da3b6;
	font:700 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	text-decoration:none;
}
#latest-news li p {
	font-size:15px;
	line-height:1.4em;
	color:#464e53;
	margin-bottom:20px;
}
#latest-news ul li{ height:auto!important;}

.page-template-templatesabout-php #latest-news {
	border-top:2px solid #c6c6c4;	
	height:auto;
	margin:0;
	padding-top:10px;
}
.page-template-templatesabout-php #latest-news li {
	float:none;
	border:none;
	width:100%;
	height:auto;
}

/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	#latest-news {margin-top: 30px;margin-bottom: 60px;}
	#page > footer{/* min-height:325px!important;*/ min-height:417px!important;}
}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
	#latest-news,
	#latest-news ul,
	#latest-news ul li {
		height:auto;
	}
	#latest-news {
		margin-bottom:100px;	
	}
	#latest-news ul li {
		float:none;
		width:100%;
		border-right:none;	
	}
	#post-20 #latest-news {
		display:none;	
	}
}

/**
 * 8.0 Team Bios
 * ----------------------------------------------------------------------------
 */
#averillcreek_team_bios {
	list-style:none;
	margin:0; padding:0;
}
#averillcreek_team_bios h2 {
	color: #51728b;
	font: 600 17px/1.56em "myriad-pro", Verdana, Geneva, sans-serif;
	text-transform:capitalize;
	margin:0; padding:0;
	margin-bottom:10px;
}
#averillcreek_team_bios li img {
	float:right;
	border:6px solid #FFFFFF;
	margin-left:20px;
	width:305px;
	-moz-box-shadow:    0 0 4px 0 #333333;
	-webkit-box-shadow: 0 0 4px 0 #333333;
	box-shadow:         0 0 4px 0 #333333;
}


/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
	@media screen and (max-width: 639px) {
	#averillcreek_team_bios li img {
		width:100%;
		margin-bottom:15px;	
	}
}

/**
 * 9.0 Our Wine
 * ----------------------------------------------------------------------------
 */
.the-wine {
	position:relative;
	padding-left:220px;
	margin-bottom:20px;
}
.the-wine a, .the-wine a:hover {
	font:600 15.8px/1em 'myriad-pro', Verdana, Geneva, sans-serif;	
	color:#000;
	text-decoration:none;
}
.the-wine .entry-thumbnail {
	width:200px;
	overflow:hidden;
	position:absolute;
	left:0;
	top:0;
}
.the-wine .entry-thumbnail img {
	position:relative;
}
.the-wine img.size-full, 
.the-wine img.size-large, 
.the-wine img.wp-post-image,
.the-wine .entry-content img, 
.the-wine .entry-summary img, 
.the-wine .comment-content img,
.the-wine .widget img, 
.the-wine .wp-caption {
	height:600px;
	width:auto;
}



/**
 * 10.0 Where to Buy
 * ----------------------------------------------------------------------------
 */
.entry-where-to-buy {
	
}
.entry-where-to-buy h2,
.entry-where-to-buy h3,
.entry-where-to-buy h4 {
	font-family: 'myriad-pro',Verdana,Geneva,sans-serif;
}

/* province */
.entry-where-to-buy h2 {
	border-bottom:2px solid #cececc;
	padding-bottom:10px;
	font-size:1.4em;
}
/* city */
.entry-where-to-buy h3 {
}
/* store name */
.entry-where-to-buy h4 {
	margin-bottom:5px;
}


/* store address */
.entry-where-to-buy p {
}

/* lists */
.entry-where-to-buy ul {
	list-style:none;	
	margin:0;
	padding:0;
}
.entry-where-to-buy ul ul {
	margin-left:30px;
}


/**
 * 11.0 Footer
 * ----------------------------------------------------------------------------
 */
 
#page > footer {
	position:relative;
	min-height:260px;
	background:#4e6c81 url(images/footer-bg.jpg) left top repeat;
	border-top:12px solid #b2aca9;
	-moz-border-image:url(images/footer-border-bg.jpg) 25 30 10 20 repeat;
    -webkit-border-image:url(images/footer-border-bg.jpg) 25 30 10 20 repeat;
    border-image:url(images/footer-border-bg.jpg) 25 30 10 20 repeat;
}
#page > footer,
#page > footer a {
	color: #FFFFFF;	
}
#page > footer address {
	font-style:normal;
	margin:2px 0 0;	
}
.footer-box {
	float:left;
	color:#FFF;
	font:14px/1.4em "pt_sansregular", Helvetica, sans-serif;
}
.footer-box:last-child {
	padding-right:0px;
}
.footer-box a {
	text-decoration:none;
}
.footer-box p {
	margin:0;
}
.footer-box h3 {
	margin:20px 0px 0px;
	padding-bottom:6px;
	font:17px "pt_sansbold", Helvetica, sans-serif;
	text-transform:uppercase;
	text-shadow: 1px 1px 4px #4A4A7B;
	color:#FFF;
}

#footer-boxes {
	width: 100%;
	/*height:166px;*/
	min-height:190px;
	border-bottom:2px solid #657e91;
}
#footer-contact {
	/*width:28.3203125%;*/ /* 290 / 1024 */
        width:25%;
}
#footer-contact a span,
#footer-contact .phone-number {
	font:15px "pt_sansbold", Helvetica, sans-serif;
}
#footer-contact .phone-number {
	font-size:17px;
	margin:0;
}
#footer-newsletter {
	/*width:33.59375%;*/ /* 344 / 1024 */
	padding-right:8.30078125%; /* 85 / 1024 */
        width: 25%;
}
#footer-twitter {
	/*width:27.34375%;*/ /* 280 / 1024 */
        width: 25%;
}
#footer-twitter h3 {
	background:url(images/twitter-bird-dark-bgs.png) 120px top no-repeat;
}
#footer-tripadvisor{ width: 25%;}
#footer-tripadvisor ul{ list-style: none; padding-left: 10px;}
#CDSWIDPER{margin: 0 auto;}
.averillwidget-twitter ul {
	list-style:none;
	margin:0;
	padding:0;
}
.averillwidget-twitter ul li {
	padding:0;
}
.averillwidget-twitter .twitter-follow a span {
	text-transform:uppercase;
	font-weight:bold;	
}

#footer-navbar {
	max-width:100%;	
	padding:6px 0;
	margin-left:-10px;
}
#footer-navbar li a {
	font:14px "pt_sans_captionregular", Helvetica, sans-serif;
}
.site-info > div {
	float:left;	
}
#footer-copy,
.menu-footer-extra-menu-container li a {
	border-right:1px solid #FFF;
	padding: 0 5px;
	font:14px "pt_sansregular", Helvetica, sans-serif;
}
#footer-copy {
	padding-left:0;
}
.menu-footer-extra-menu-container li:last-child a {
	border-right:none;
}
#footer-navbar li a:hover,
#footer-navbar .nav-menu .current_page_item > a, 
#footer-navbar .nav-menu .current_page_ancestor > a, 
#footer-navbar .nav-menu .current-menu-item > a, 
#footer-navbar .nav-menu .current-menu-ancestor > a,
.site-info li a:hover,
.site-info .nav-menu .current_page_item > a, 
.site-info .nav-menu .current_page_ancestor > a, 
.site-info .nav-menu .current-menu-item > a, 
.site-info .nav-menu .current-menu-ancestor > a {
	background:none;	
}

#back-to-top {
	position:absolute;
	right:0px;
/*	top:-12px; */
	top: -30px;
	width:150px;
	height:35px;
	background-color:#7da3b6;
	-moz-box-shadow:    0 0 4px 0 #333333;
	-webkit-box-shadow: 0 0 4px 0 #333333;
	box-shadow:         0 0 4px 0 #333333;
}
#back-to-top a {
    display: block;
    padding-top: 5px;
    width: 100%;
	height: 100%;
	text-align:center;
	font:17px "pt_sansbold", Helvetica, sans-serif;
	text-decoration: none;
	text-transform:uppercase;
}


/*******************
 *      768px      *
 *******************/
/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	#page > footer {
		padding-top:30px;
		/*height:275px;*/
		height:auto;
	}
	#footer-boxes {
		padding:0px 40px;
	}
	#footer-contact {
		/*width:38%;*/
                width:25%;
	}
	#footer-contact address .num-street {
		display:block;
		clear:right;
	}
	#footer-contact address .address-divider {
		display:none;
	}
	#footer-twitter {
		/*width:27%;*/
                width:25%;
	}
	#footer-newsletter {
		/*width:35%;*/
                width:25%;
		padding-right:3%;
	}
	#footer-newsletter .fullnewstext {
		display:none;		
	}
	#footer-newsletter .shortnewstext {
		display:block !important;
	}
	#footer-navbar {
		padding:10px 30px 5px;
		margin-left:4px;
	}
	#footer-navbar li a {
		font-size:12px;	
		padding:0 5px 0.2em;
	}
	#footer-copy {
		padding-bottom:5px;	
	}
	#footer-copy,
	.menu-footer-extra-menu-container li a {
		font-size:13px;
	}
	.site-info{
		padding:0 40px;	
	}
	.site-info .nav-menu {
		margin: 0 auto; width:auto;
		/*width: 270px;*/
	}
	#back-to-top {
		right:39.58333333333333%; /* 720 / 2 = 360 - (150 / 2) = 285 / 720 = 39.58333333333333% */
		top:-42px;	
	}
	
}

/*******************
 *      480px      *
 *******************/
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
	#page > footer {
		height:260px;
		padding-top:20px;
	}
	#footer-boxes {
		padding:0px 30px;
                clear: both;
                min-height: 304px!important; 
	}
	#footer-contact {
		width:50%;	
	}
	#footer-newsletter {
		width:50%;
		padding-right:0%;
	}
	#footer-twitter {
		/*display:none;	*/
                clear: left;
	}
	#footer-navbar {
		display:none;
	}
	.site-info {
		padding-top:10px;
	}
	.site-info > div {
		float:none;
	}
	#footer-copy {
		text-align:center;
		border:none;	
	}
	#back-to-top {
		right:34.375%; /* 480 / 2 = 240 - (150 / 2) = 165 / 480 = 34.375% */
		top:-32px;	
	}
	.site-info .nav-menu{ display:table;}
	.site-info{ padding-left:0px; padding-right:0px;}
	.site-header .site-title{ /*max-height:140px; height:auto;*/}
	.product.type-product .images{ float:none!important;}
        .product.type-product .summary{ float:none!important;}
        
        /* footer boxes */
        #footer-contact{ width: 50%; }
        #footer-newsletter{ width: 50%; }
        #footer-twitter{ width: 50%;}
        #footer-tripadvisor{ width: 50%;}
}
@media screen and (max-width: 400px) {
    #page > footer{ min-height: 490px!important;}
    #footer-boxes{ min-height: 378px!important;}
    #footer-twitter h3{ background-position: right top;}
    .footer-box h3{ font-size: 16px;}
}
 /**
 * 12.0 WooCommerce Overrides
 * ----------------------------------------------------------------------------
 */
 
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last {
	overflow:hidden;
}
 
.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
	box-shadow:none;
	width:auto;
	height:350px;
}
.woocommerce img.size-full, .woocommerce img.size-large, .woocommerce img.wp-post-image {
	max-width:350px;	
}
.woocommerce-custom-ordering {
	list-style:none;
	padding:0;
}
.woocommerce-order-heading {
	text-transform:uppercase;
}
.woocommerce-custom-ordering li {
	display:inline-block;
	padding-right:10px;
	margin-right:10px;
	border-right:1px solid #464e53;
}
.woocommerce-custom-ordering li:last-child {
	border-right:none;
}
.woocommerce-custom-ordering li,
.woocommerce-custom-ordering li a {
	font-weight:600;
	line-height:1em;
	color: #464e53;
}
.woocommerce-custom-ordering li.current a {
	color: #51728b;
}
.woocommerce-custom-ordering li a:hover {
	text-decoration:none;
}


/* ARCHIVE PRODUCTS */

.woocommerce .products a,
.woocommerce .products h3 {
	font:600 14.8px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	text-transform:none;
	text-decoration:none;
	color:#000;	
}
.woocommerce .products a:hover { color:#000; }
.woocommerce .products .price .amount { color:#51728b;}
.woocommerce .products .stock  { display:none; }
.woocommerce .products .stock.out-of-stock{display: block;}
.woocommerce .products .quantity-wrapper {
	margin-bottom:5px;	
}
.woocommerce .products .quantity-wrapper .quantity { 
	margin:0 !important; 
}
.woocommerce .products .quantity-wrapper label { 
	float: left;
    text-transform: uppercase;
    width: 80px;
	font:600 15.8px/1.8em 'myriad-pro', Verdana, Geneva, sans-serif;
}

.woocommerce a.button.alt, .woocommerce a.button.alt:hover, 
.woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, 
.woocommerce button.button.alt, .woocommerce button.button.alt:hover, 
.woocommerce-page button.button.alt, .woocommerce-page button.button.alt:hover, 
.woocommerce input.button.alt, .woocommerce input.button.alt:hover, 
.woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, 
.woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, 
.woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, 
.woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, 
.woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover {
	padding:0;
	border:none;
	background:none;	
	text-shadow:none;
	box-shadow:none;
	color:#000;
	font:600 15.8px/1.6em 'myriad-pro', Verdana, Geneva, sans-serif;
}

.woocommerce ul.products li.product a:hover img, 
.woocommerce-page ul.products li.product a:hover img {
	box-shadow:none;
}


/* SINGLE PRODUCTS */
.woocommerce.single-product > h1 {
	margin-bottom:30px;	
}
.woocommerce div.product, .woocommerce-page div.product, .woocommerce #content div.product, .woocommerce-page #content div.product {
	max-width: 61.0352%;
}
.woocommerce div.product div.images, .woocommerce-page div.product div.images, .woocommerce #content div.product div.images, .woocommerce-page #content div.product div.images {
	width:40%;
}
.woocommerce div.product div.summary, .woocommerce-page div.product div.summary, .woocommerce #content div.product div.summary, .woocommerce-page #content div.product div.summary {
	width:60%;	
}
.woocommerce div.product div.images img, .woocommerce-page div.product div.images img, .woocommerce #content div.product div.images img, .woocommerce-page #content div.product div.images img {
	width:auto;	
	box-shadow:none;
}
.woocommerce div.product .product_title, .woocommerce-page div.product .product_title, .woocommerce #content div.product .product_title, .woocommerce-page #content div.product .product_title {
	font:600 20px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	color:#000;	
}

.woocommerce div.product .entry-details {
	padding:20px 0;
	border-top:1px solid #c6c7c6;
	border-bottom:1px solid #c6c7c6;	
}
.woocommerce div.product .entry-details form {
	margin-bottom:0 !important;
}
.woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price,
.woocommerce div.product p.stock, .woocommerce-page div.product p.stock, .woocommerce #content div.product p.stock, .woocommerce-page #content div.product p.stock {
	font:600 18px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	color:#51728b;
	display:inline-block;
	margin-bottom:0;
}
.woocommerce div.product p.stock, .woocommerce-page div.product p.stock, .woocommerce #content div.product p.stock, .woocommerce-page #content div.product p.stock {
	clear:right;
}
.woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price {
	margin-right:5px;
	padding-right:10px;
	border-right:1px solid #51728b;
}
.woocommerce div.product .quantity-wrapper  {
	clear:both;	
	height:30px;
	margin-bottom:10px;
}
.woocommerce div.product .quantity-wrapper label {
	text-transform:uppercase;	
	font:600 18px/1.5em 'myriad-pro', Verdana, Geneva, sans-serif;
	margin-right:5px;
	color:#000;
}
.woocommerce div.product .quantity-wrapper label,
.woocommerce div.product .quantity-wrapper .quantity.buttons_added {
	float:left;
}

#averillcreek-shipping-info h3, #averillcreek-refunds-returns h3 {
	font:700 21px/1.2em 'myriad-pro', Verdana, Geneva, sans-serif;
	color:#7da3b6;
	margin-bottom:0;
}
#averillcreek-shipping-info p, #averillcreek-refunds-returns p,
#averillcreek-shipping-info a, #averillcreek-refunds-returns a {
	font-size:16px;
	line-height:1.4em;
	margin-bottom:0;
}
#averillcreek-shipping-info a, #averillcreek-refunds-returns a {
	text-decoration:none;
	font-weight:600;	
}


/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	.woocommerce div.product, .woocommerce-page div.product, .woocommerce #content div.product, .woocommerce-page #content div.product {
		width:100%;	
		max-width:100%;	
	}
	.woocommerce.single-product #averillcreek-ctas {
		display:none;
	}
        #member-login #loginform p {
    box-sizing: border-box;
    float: left;
    margin-right: 1%;
    width: 30% !important;
}
#member-login {
    width: 100% !important;
}
}

/*@media screen and (max-width:480px) {*/
@media screen and (max-width:639px) {
	.woocommerce .page-description hr {
		height:0;
		background:none;
	}
	
	.woocommerce div.product div.images img, .woocommerce-page div.product div.images img, .woocommerce #content div.product div.images img, .woocommerce-page #content div.product div.images img {
		height:475px;	
	}
	.woocommerce div.product .entry-details {
		border-top:none;	
	}
	.woocommerce.single-product #averillcreek-ctas,
	.woocommerce.single-product #averillcreek-cta-club {
		display:block;
	}
	.woocommerce.single-product #averillcreek-cta-shop,
	.woocommerce.single-product #averillcreek-cta-events,
	.woocommerce.single-product #averillcreek-cta-tours {
		display:none;
	}
	.woocommerce nav.woocommerce-pagination, .woocommerce-page nav.woocommerce-pagination, .woocommerce #content nav.woocommerce-pagination, .woocommerce-page #content nav.woocommerce-pagination {
		position:relative;
		top:-20px;	
	}
	.woocommerce .woocommerce-custom-ordering {
		border-bottom: 1px solid #CCCCCC;
		margin-top: 0;
		margin-bottom:20px;
		padding-bottom: 10px;
	}
	.woocommerce .woocommerce-custom-ordering li {
		border-right:none;
		padding-right:12%;
	}
	.woocommerce .woocommerce-custom-ordering .woocommerce-order-heading {
		position:absolute;
		left:-9999px;
	}
}

/**
 * 13.0 The Events Calendar Overrides
 * ----------------------------------------------------------------------------
 */
 
/* Main Calendar Page */
h2.tribe-events-page-title, #tribe-geo-results h2.tribe-events-page-title {
	color:#51728b;	
	font:600 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	margin:0 0 20px 0;
	padding:0;
	text-align:left;
	text-transform:none;
}
#tribe-events-footer {
  margin: 0;
}
#tribe-events-footer a {
	background:none;	
	color:#000;
}
#tribe-events-header .tribe-events-sub-nav, #tribe-events-footer .tribe-events-sub-nav {
	padding:0 22px;	
	text-transform:uppercase;
	font:700 11px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	transform : scale(1.07,1);
	-webkit-transform:scale(1.07,1); /* Safari and Chrome */
	-moz-transform:scale(1.07,1); /* Firefox */
	-ms-transform:scale(1.07,1); /* IE 9+ */
	-o-transform:scale(1.07,1); /* Opera */	
}
.tribe-events-list-event-title.summary a {
	color:#7DA3B6;
}

.tribe-events-loop .tribe-events-event-meta {
	margin-bottom:10px !important;	
}

/* Calendar Grid */
.tribe-events-calendar thead th {
	background-color: #51728b;
	border-left: 1px solid #51728b;
	border-right: 1px solid #51728b;
	color: #FFFFFF;
	font-weight: bold;
	letter-spacing: 0;
	padding:0;
	font:600 11px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
}
.tribe-events-calendar th {
	height: 30px;
	text-align: center;
	text-transform: uppercase;
	width: 250px;
}
#tribe-events-content {
	margin-bottom:0px;	
}
#tribe-events-content .tribe-events-calendar td {
  height: 90px;
  background:#F9F9F9; 
}
.tribe-events-calendar div[id*="tribe-events-daynum-"], .tribe-events-calendar div[id*="tribe-events-daynum-"] a {
  background-color: #A1A8AD;
}
.tribe-events-calendar .tribe-events-has-events div[id*="tribe-events-daynum-"], .tribe-events-calendar .tribe-events-has-events div[id*="tribe-events-daynum-"] a {
  background-color: #7da3b6;
}

#tribe-events-content .tribe-events-tooltip h4 {
	font:700 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;	
}

/* Calendar List */
.tribe-events-loop {
	margin:30px 0 0;	
}
.tribe-events-loop div[id*="post-"] {
	margin-bottom:20px;	
}
.tribe-events-loop .tribe-events-list-event-title,
.tribe-events-loop .tribe-events-content,
.tribe-events-loop .tribe-events-event-meta  {
	float:none;
	margin:0;	
	padding:0;
	width:100%;
}
.tribe-events-loop .tribe-events-list-event-title a,
.tribe-events-loop .time-details {
	font:600 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	text-transform:none;
}

/* Single Event */
.single-tribe_events h2.tribe-events-single-event-title {
	color:#51728b;	
	font:600 22px 'myriad-pro', Verdana, Geneva, sans-serif;
	margin:0;
	padding:0;
}
.tribe-events-single .tribe-events-schedule {
	margin:0 0 20px 0;
	padding:0;	
}
.tribe-events-single .tribe-events-schedule h3 {
	font:700 15px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
}
.single-tribe_events .tribe-events-event-meta  {
	margin-top:0;
}
.tribe-events-event-meta .tribe-events-meta-group, .tribe-events-event-meta .column {
  margin: 0 0 20px;
  padding: 0 20px;
  width: 100%;
}
/*@media screen and (max-width:480px) {*/
@media screen and (max-width:639px) {
	h2.tribe-events-page-title, #tribe-geo-results h2.tribe-events-page-title {
		position:absolute;
		top:60px;
		font-size:22px;
	}
	#tribe-events-footer {
		top:0px;
		padding:0 0 5px;
		margin-bottom:20px;	
		width:100%;
		border-bottom:2px solid #c7c6c4;
	}
	#tribe-events-header .tribe-events-sub-nav, #tribe-events-footer .tribe-events-sub-nav {
		padding:0;	
	}

	#tribe-events-content table.tribe-events-calendar {
		display:none;	
	}
	#tribe-events-footer a, ul.tribe-events-sub-nav a, .tribe-events-back a, .tribe-events-list-widget .tribe-events-widget-link a, .tribe-events-adv-list-widget .tribe-events-widget-link a {
		text-transform:none;
		color:#51728b;
		font:600 18px/1.2em  'myriad-pro', Verdana, Geneva, sans-serif;
	}
	
}

/**
 * 14.0 Blog / Sidebar
 * ----------------------------------------------------------------------------
 */

.blog.site-content .entry-content-main {
	max-width:66.0352%;
	float:left;
}
#averillcreek-blog-sidebar {
	float:right;
	width: 22.7148%;
	position:relative;
	top:-30px;
}
.averillcreek-sidebar-section h2 {
	font-size:17px;
	color:#7da3b6;
	margin:0;
}
#averillcreek-sidebar-latest-news h2 {
	margin:0 0 10px 0;
}
.averillcreek-sidebar-section h3 {
	font:600 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	text-transform:none;
	color:#000;
	margin:0 0 5px 0;
}
.averillcreek-sidebar-section h3 a {
	color:#000;	
}
.averillcreek-sidebar-section ul {
	list-style:none;
	margin:0 0 30px;
	padding:0;
}
.averillcreek-sidebar-section ul li {
	margin:0;	
}
.averillcreek-sidebar-section ul li > a {
	color:#000;	
}
#averillcreek-sidebar-latest-news ul li {
	margin-bottom:25px;	
}
.averillcreek-sidebar-section .entry-date {
	font:600 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	color:#797b7c;
}
@media screen and (min-width: 481px) {
	.blog.site-content #averillcreek-ctas {
		display:none;}
/*.averillcreek-gallery-frame li a:hover span {display: none !important;}
.averillcreek-gallery-frame li a:hover {
    border-color: rgba(0, 0, 0, 0) !important;
}*/
}
/*@media screen and (max-width: 480px) {*/
@media screen and (max-width: 639px) {
    #member-login #loginform p {
	box-sizing: border-box;
	width: 100% !important;
	float: none !important;
        margin: 0 !important;
}

#member-login #loginform .login-remember {
	display: none;
}

#member-login #loginform .login-submit {
	margin-top: 10px !important;
        margin-bottom: 15px !important;
}
	.blog.site-content .entry-content-main {
		width:100%;	
		max-width:100%;	
		float:none;
	}
	.blog.site-content #averillcreek-blog-sidebar,
	.site-content .post-48 #averillcreek-ctas,
	.archive.woocommerce #averillcreek-ctas,
	.archive.woocommerce .averillcreek-archive-extra  {
		display:none;	
	}
/*.averillcreek-gallery-frame li a:hover span {display: none !important;}
.averillcreek-gallery-frame li a:hover {
    border-color: rgba(0, 0, 0, 0) !important;
}*/
.entry-content #gform_fields_2 li{ width:100%!important;}
.entry-content #gform_fields_2 input.medium{ width:100%!important;}
.entry-content #gform_fields_2 li#field_2_9{ float:none!important; margin-top:auto!important;}
.entry-content #gform_fields_2 li#field_2_10{ float:none!important; margin-top:auto!important; width:100%!important;}
.entry-content #gform_fields_2 li#field_2_11{ float:none!important; margin-top:auto!important; width:100%!important;}
.entry-content #gform_fields_2 li#field_2_12{ float:none!important; margin-top:auto!important; width:100%!important;}
.entry-content #gform_fields_2 li#field_2_13{ float:none!important; margin-top:auto!important; width:100%!important;}
.entry-content #gform_fields_2 li#field_2_14{ float:none!important;  margin-top:auto!important; width:100%!important;}
.entry-content #gform_fields_2 li#field_2_15{ float:none!important;  margin-top:auto!important;width:100%!important; }
.entry-content .gform_footer{ margin-top:15px;}

}

/**
 * 15.0 MailChimp
 * ----------------------------------------------------------------------------
 */
#averillcreek-newsletter {
	height:165px;	
	margin-top:20px;
	paddinG-top:20px;
	border-top:1px solid #c8cac8;
}
#mc_signup_form .mc_input {
	width:25%;
	color:#AAAAAA;	
	height:24px;
	border:none;
	border-radius:0;
	-moz-box-shadow:    0 0 2px 0 #333333;
	-webkit-box-shadow: 0 0 2px 0 #333333;
	box-shadow:         0 0 2px 0 #333333;
}
#mc_signup_form .mc_signup_submit input[type="submit"] {
	height: 25px;
	background:#51728b url(images/submit-arrow.jpg) no-repeat 70px 4px;
	border-radius:0;
	padding: 3px 30px 5px 10px;
	margin-left:10px;
    text-align: left;
}
#mc_signup_form .mc_input,
#mc_signup_form .mc_signup_submit {
	float:left;
	font-size:14px;
	line-height:1em;
}
 
#mc_signup_form label,
#mc_signup_form .mergeRow,
footer #mc_signup_form .mc_signup_submit {
	position:absolute;
	left:-9999px;	
}
.mc_merge_var{ width: 60%;float: left;}
.mc_form_inside .mc_signup_submit{position: relative!important; width: 24px; height: 25px;   left: 0px!important; top: 5px;}
.mc_form_inside .mc_signup_submit input[type="submit"]{position: relative!important; width: 24px!important; height: 25px!important; text-indent: -999px; background:url(images/newsletter-input.jpg) no-repeat right top!important; left: 0px!important; cursor: pointer; margin: 0!important; padding: 0px!important; babackground-size: 100% 100%;}
.mc_success_msg{ color: #fff;}
footer #mc_signup_form .mc_input {
	float:none;
	/*width:75%;*/ width: 100%;
	margin-top:5px;
	padding-right:28px;
	/*background:#FFF url(images/newsletter-input.jpg) no-repeat right top;*/
        background:#FFF;
}
.mc_error_msg {
  color: #FF6666;
}

/*@media screen and (max-width: 768px) {*/
@media screen and (max-width: 960px) {
	#averillcreek-newsletter {
		display:none;	
	}
        
.averillcreek-gallery-frame li a:hover span {display: none !important;}
.averillcreek-gallery-frame li a:hover {
    border-color: #FFFFFF !important;
}
#store-cart{ top:325px!important;}
	

}
@media screen and (min-width:768px) and (max-width: 960px) {
	.ui-widget-content.hoverscroll.horizontal{ /*max-width:80%!important;*/}
	}
@media screen and (min-width:640px) and (max-width: 960px) {
	.product.type-product .images{ float:left!important;}
.product.type-product .summary{ float:right!important;}


	}

/**
 * 16.0 Gallery
 * ----------------------------------------------------------------------------
 */
.gallery article .entry-content {
	margin-bottom:20px;	
}
.averillcreek-gallery-frame ul {
	list-style:none;
	margin:0;
	padding:0;	
}
.averillcreek-gallery-frame li {
	position:relative;
	float:left;
	width:32.68229166666666%;
	height:auto;
	margin:0px 10px 0.9765625% 0px;
	-moz-box-shadow:    0 0 2px 0 #CCCCCC;
	-webkit-box-shadow: 0 0 2px 0 #CCCCCC;
	box-shadow:         0 0 2px 0 #CCCCCC;
}
.averillcreek-gallery-frame li:last-child {
	margin-right:0;	
}
.averillcreek-gallery-frame li a span {
	background: none repeat scroll 0 0 #51728B;
	bottom: 0;
	color: #FFFFFF;
	display: none;
	font-size: 1.4em;
	font-weight: 600;
	height: 45px;
	padding-top: 6px;
	position: absolute;
	right: 0;
	text-align: center;
	width: 50px;
}
.averillcreek-gallery-frame li a {
	display:block;
	width:100%;
	height:100%;
	border:	6px solid #FFFFFF;
}
.averillcreek-gallery-frame li a:hover {
	border-color:#51728b;
}
.averillcreek-gallery-frame li a:hover span {
	display:block;
}
.averillcreek-gallery-frame a img {
	width:100%;
}

#averillgallery-switch-view {
	list-style:none;
	margin:0 0 10px 0;
	padding:0;	
	height:25px;
	clear:both;
}
#averillgallery-switch-view li {
	float:left;
	padding-right:10px;
	margin-right:10px;
	border-right:1px solid #51728b;
	line-height: 1em;
	cursor:pointer;
}
#averillgallery-switch-view li:last-child {
	border:none;
}
#averillgallery-switch-view li.current {
	font-weight:600;	
}
#averillgallery-video {
	display:none;	
}

/* hide fullscreen control */
.pp_pic_holder.pp_woocommerce .pp_expand {
	display:none !important;	
}

@media screen and (max-width: 1024px) {
	
	.averillcreek-gallery-frame li {

		/*
		; fullWidth = totalWidth / numLIsPerRow
		328 = 984 / 3
		; boxWidth = (fullWidth / totalWidth) * 100 
		33.333333333333333333333333333333% = (328 / 984) * 100
		; generalMargin = (rightMargin / totalWidth) * 100 
		0.9765625% = (10 / 984) * 100
		; extraBoxWidth = generalMargin / numLIsPerRow		-- generalMargin only applies for 1 less the numLIsPerRow
		0.32552083333333333333333333333333% = 0.9765625 / 3
		; boxWidth - generalMargin + extraBoxWidth = trueBoxWidth;
		32.03125% = 33.333333333333333333333333333333% - 0.9765625% - 0.32552083333333333333333333333333%
		*/
		
		width:32.03125%;
		margin-right:0.9765625%;
	}
	
}

/**
 * 17.0 Book Your Event
 * ----------------------------------------------------------------------------
 */
.gform_heading h3 {
	font:600 17px/1em 'myriad-pro', Verdana, Geneva, sans-serif;
	color:#51728b;	
}
.averill-form-booking_wrapper  li {
	margin-bottom:10px;	
}
.averill-form-booking_wrapper .datepicker {
	background:#FFF url(images/booking-arrow.jpg) no-repeat right top;
	height:24px;
}
.gform_wrapper .datepicker {
  width: 180px !important;
}
.averill-form-booking_wrapper .averill-form-date {
	width:51%;	
}
.averill-form-booking_wrapper .averill-form-people .ginput_container  select {
	position:relative;
	top:-5px;
	background: transparent;
	width: 75px;
	max-width:150%;
	padding: 0 0 0 3px;
	margin:0 !important;
	font-size: 16px;
	line-height: 1;
	border: 0;
	border-radius: 0;
	height: 24px;
	-webkit-appearance: none;
}

.averill-form-booking_wrapper .averill-form-people .ginput_container {
   width: 50px;
   height: 24px;
   overflow: hidden;
   background:#FFF url(images/booking-arrow.jpg) no-repeat right top;
   border: 1px solid #ccc;
   margin-top:4px;
}

.averill-form-booking_wrapper .averill-form-phone {
	width:50.5%;
	margin-right:0.5%;	
}
.averill-form-booking_wrapper .averill-form-email {
	width:48.5%;	
}
.averill-form-booking_wrapper .averill-form-phone input, .averill-form-booking_wrapper .averill-form-phone label {
	width:94% !important;	
}
.averill-form-booking_wrapper .averill-form-email input, .averill-form-booking_wrapper .averill-form-email label {
	width:95% !important;
}
.averill-form-booking_wrapper .averill-form-phone, .averill-form-booking_wrapper .averill-form-email,
.averill-form-booking_wrapper .averill-form-date, .averill-form-booking_wrapper .averill-form-people {
	float:left;	
	clear:none !important;
}

.averill-form-booking_wrapper .averill-form-booking-type .gfield_label {
	margin:5px 0 10px;
}
.averill-form-booking_wrapper .gfield_checkbox li {
	height: 40px;
	width:  auto;
	float:left;
}
.averill-form-booking_wrapper .averill-form-name span {
	min-height:30px !important;	
}
.averill-form-booking_wrapper .averill-form-name span label {
	display:none;	
}

.gform_wrapper ul.gfield_checkbox li input[type="checkbox"], .gform_wrapper ul.gfield_radio li input[type="radio"] {
	
	 margin-left: 7px;
    margin-top: 8px;
}

.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
	margin: 0 8px 0 31px;
}

.gform_wrapper .gform_footer  {
	margin:0 0 10px 0;
	padding:0;	
}
.purchaselink{float: left;}
.downloadtasting{float: right;}

.purchaselink span,.downloadtasting span{ margin-top: 0px!important;}


.gform_wrapper button, 
.gform_wrapper input[type="submit"], 
.gform_wrapper input[type="button"], 
.gform_wrapper input[type="reset"] {
	background:#51728b url(images/submit-arrow.jpg) no-repeat 70px 4px !important;
	border: none;
	border-radius:0;
	color: #FFFFFF;
	display: inline-block;
	height: 25px;
	padding: 0 30px 0 15px;
	margin:0;
	text-align: left;
	text-decoration: none;
	font-size:14px;
	line-height:1em;
}
.ui-datepicker {
	width:224px;
}

#member-login {
	width: 70%;
}

#member-login #loginform p {
	box-sizing: border-box;
	width: 31%;
	float: left;
        margin-right: 1%;
}

#member-login #loginform .login-remember {
	display: none;
}

#member-login #loginform .login-submit {
	margin-top: 30px;
        
}

#case-club-member-form {
	text-align: center;
}

#case-club-member-form button {
	font-size: 180%;
}
.products .quantity {
    float: right !important;
    margin-right: 65px !important;
}
.purchase-link{float:left;}
 .fancybox-overlay-fixed {
z-index: 9999 !important;
}
.fancybox-skin{top:20px;}
.scrollcontent { 
    /*height: 700px;*/
    overflow: auto;
}
.entry-content #gform_fields_2 li#field_2_9{ float:right; margin-top:-460px;}
.entry-content #gform_fields_2 li#field_2_9 > label{ display:none;}
.entry-content #gform_fields_2 li#field_2_10{ float:right; margin-top:-393px; width:47%;}
.entry-content #gform_fields_2 li#field_2_10 input.medium{ width:100%;} 
.entry-content #gform_fields_2 li#field_2_11{ float:right; margin-top:-324px; width:47%;}
.entry-content #gform_fields_2 li#field_2_11 input.medium{ width:100%;}
.entry-content #gform_fields_2 li#field_2_12{ float:right; margin-top:-260px; width:47%;}
.entry-content #gform_fields_2 li#field_2_12 input.medium{ width:100%;}
.entry-content #gform_fields_2 li#field_2_13{ float:right; margin-top:-195px; width:47%;}
.entry-content #gform_fields_2 li#field_2_13 input.medium{ width:100%;}
.entry-content #gform_fields_2 li#field_2_14{ float:right; width:47%; margin-top:-130px; }
.entry-content #gform_fields_2 li#field_2_14 input.medium{ width:100%;}
.entry-content #gform_fields_2 li#field_2_15{ float:right; width:47%; margin-top:-63px; }
.entry-content #gform_fields_2 li#field_2_15 input.medium{ width:100%;}
.entry-content .gform_footer{ margin-top:15px;}
/* Purchange online inner page */
.product.type-product a {text-decoration: none;font: 16px "pt_sansbold", Helvetica, sans-serif;
	color: #000;display:inline-block;}
.product.type-product .entry-details button{text-decoration: none;font: 16px "pt_sansbold", Helvetica, sans-serif;
	color: #000;display:inline-block;}
.product.type-product .entry-details button:hover{ line-height:21px;}

@media screen and (max-width: 460px) {
	.ui-widget-content{ width:100%!important;}
	.fixed-listcontainer{ width:62%!important;}
	}
.form-allowed-tags {display: none;}
#gform_wrapper_3 input {width:100% !important;}
#gform_wrapper_3 input[type="checkbox"]{width:auto !important;}
#gform_wrapper_3 input[type="radio"]{width:auto !important;}
 #gform_wrapper_3 input[type="submit"] {
   background-position: 88px 3px !important;
   color: #ffffff !important;
   padding: 3px 28px 3px 15px !important;
   width: auto !important;
}
.entry-where-to-buy h2 { color: #51728b; }

.gallery-item { margin: 10px 0px 0px 0px; }
.gallery-icon img { border: 6px solid #FFFFFF !important; -moz-box-shadow: 0 0 2px 0 #CCCCCC; -webkit-box-shadow: 0 0 2px 0 #CCCCCC; box-shadow: 0 0 2px 0 #CCCCCC; }
#tribe-events-content table.tribe-events-calendar{table-layout: auto !important;}

#latest-tweet .user{ display: none !important; }