.bp-icon:after
{
	font-family: 'bpicons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	text-align: center;
	color: #585252;
	-webkit-font-smoothing: antialiased;
}

.container > header nav .bp-icon:after
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	line-height: 2;
	text-indent: 0;
}

.container > header nav a:hover:after
{
	color: #fff;
}

.bp-icon-next:after
{
	content: "\e000";
}

.bp-icon-drop:after
{
	content: "\e001";
}

.bp-icon-archive:after
{
	content: "\e002";
}

.bp-icon-about:after
{
	content: "\e003";
}

.bp-icon-prev:after
{
	content: "\e004";
}

/* Main menu wrapper */
.wine-ptflo-menu-wrapper
{
	position: relative;
	margin-top: -1px;
	max-height: 70px; /* remove when search bar added back */
	width: 100%; /* remove when search bar added back */
}

/* Common style for all lists */
.wine-ptflo-menu-wrapper ul
{
	list-style: none;
	padding: 0;
	margin: 0 auto;
}

/* 100% width bar for menu */
.cbp-hsinner
{
	background: #c4bdad;
	/*position: relative;*/
	z-index: 100;
	margin-top: -1px;
	text-align: center;
	width: 100%;
	display: inline-block;
	position: absolute;
	top: 3px;
	left: 0;
	z-index: 1;
}

/* Main menu style */
.wine-ptflo-menu-wrapper .wine-ptflo-menu
{
	display: inline;
	margin: 0 auto 0 0;
	padding: 0 1.875em 0 0;
	margin-left: -100px; /* offsets cart icon */
}

.wine-ptflo-menu > li
{
	display: inline-block;
}

/* Main menu link style */
.wine-ptflo-menu > li > a
{
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-family: 'neuton-regular';
	font-weight: normal;
	line-height: 4.25em; 
	display: inline-block;
	position: relative;
	z-index: 10000;
	outline: none;
	border-right: solid #fff 2px;
	padding-right: 1.5em;
	border-left: solid #fff 2px;
	padding-left: 1.5em;
}

.wine-ptflo-menu > li.cbp-hsitem-open,
.wine-ptflo-menu > li
{
	padding-bottom: 0;
}

.no-touch .wine-ptflo-menu > li > a:hover,
.no-touch .wine-ptflo-menu > li > a:focus,
.wine-ptflo-menu > li.cbp-hsitem-open > a
{
	color: #585252;
	background: #c4bdad;
	background: -moz-radial-gradient(center, ellipse cover,  #d3cdbc 15%, #c4bdad 96%);
	background: -webkit-radial-gradient(center, ellipse cover,  #d3cdbc 15%,#c4bdad 96%);
	background: radial-gradient(ellipse at center,  #d3cdbc 15%,#c4bdad 96%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3cdbc', endColorstr='#c4bdad',GradientType=1 );
		-webkit-transition: all .35s;
		-moz-transition: all .35s;
		transition: all .35s;
}

/* Add an arrow to the main menu link if it has a submenu (not the only child) */
.wine-ptflo-menu > li > a:not(:only-child):before
{
	display: inline-block;
	font-family: 'fontawesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	content: "\f039";
	font-size: 90%;
	margin-right: 0.85em;
	padding-bottom: 0.2em;
	opacity: 0.4;
	vertical-align: middle;
}

.wine-ptflo-menu > li > a:not(:only-child)::after
{
	display: inline-block;
	font-family: 'fontawesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	content: "\f0d7";
	font-size: 100%;
	margin-left: 0.75em;
	padding-bottom: 0.2em;
	opacity: 0.4;
	vertical-align: middle;
}

.wine-ptflo-menu > li.cbp-hsitem-open > a:not(:only-child):before
{
	content: "\f0d8";
	margin-left: 0;
	margin-right: .65em;
	font-size: 1.5em;
	/*	-webkit-transition:all 400ms;
		-moz-transition:all 400ms;
		-o-transition:all 400ms;
		transition:all 400ms; */;
}

/* Add a triangle to currently open menu item link */
.wine-ptflo-menu > li.cbp-hsitem-open > a:after
{
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: transparent;
	border-top-color: #c4bdad;
	border-width: 10px;
	left: 50%;
	margin-left: -10px;
}

/* Submenu style */
.cbp-hssubmenu
{
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	z-index: 0;
	text-align: center;
 /* for aligning the sub items */
	visibility: hidden;
}

.cbp-hssubmenu:before, 
.cbp-hssubmenu:after
{
	content: " ";
	display: table;
}

.cbp-hssubmenu:after
{
	clear: both;
}

/* Let's allow 6 item in a row */
.cbp-hssubmenu > li {
	width: 16.2%;
	display: inline-block;
	vertical-align: top;
	box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
	opacity: 0;
	-webkit-transition: opacity 0.1s 0s;
	-moz-transition: opacity 0.1s 0s;
	transition: opacity 0.1s 0s;
}

/* First 6 items don't have upper box shadow */
.cbp-hssubmenu > li:nth-child(-n+6)
{
	box-shadow: -28px 0 0 -27px #ddd;
} 

/* Every 7th item does not have a left box shadow */
.cbp-hssubmenu > li:nth-child(6n+1)
{
	box-shadow: 0 -28px 0 -27px #ddd;
}

/* the first one does not have any box shadow */
.cbp-hssubmenu > li:first-child
{
	box-shadow: none;
}

.cbp-hssubmenu > li a
{
	display: block;
	text-align: center;
	color: #585252;
	outline: none;
	padding: 2em 1em 1em 1em;
}

.no-touch .cbp-hssubmenu > li a:hover,
.no-touch .cbp-hssubmenu > li a:focus
{
	color: #8A8A50;
	text-decoration: none;
		-webkit-transition: color 0.2s;
		-moz-transition: color 0.2s;
		transition: color 0.2s;
}

.cbp-hssubmenu > li a img
{
	border: none;
	outline: none;
	display: inline-block;
	margin: 0;
	max-width: 100%;
	max-height: 16em;
	opacity: .85;
		-webkit-transition: opacity 0.2s;
		-moz-transition: opacity 0.2s;
		transition: opacity 0.2s;
}

.no-touch .cbp-hssubmenu > li a:hover img
{
	opacity: 1;
}

.cbp-hssubmenu > li a span
{
	display: block;
	min-height: 3em;
	margin-top: 1em;
	font-family: 'neuton-regular';
}

.wine-ptflo-menu > li.cbp-hsitem-open .cbp-hssubmenu
{
	z-index: 1000;
	visibility: visible;
	display: inline-table;
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
}

.wine-ptflo-menu > li.cbp-hsitem-open .cbp-hssubmenu > li
{
	opacity: 1;
	-webkit-transition: all 0.5s 0.1s;
	-moz-transition: all 0.5s 0.1s;
	transition: all 0.5s 0.1s;
}

/* helper div for animating the background */
.wine-ptflo-menubg
{
	background: #f7f7f7;
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	z-index: 0;
	height: 0px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.no-touch .wine-ptflo-menubg
{
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

@media screen and (max-width: 65em)
{
	.wine-ptflo-menu-wrapper
	{
		font-size: 80%;
	};
}

@media screen and (max-width: 51.4375em)
{
	.wine-ptflo-menu-wrapper
	{
		font-size: 100%;
		height: 3em;
	}

	.wine-ptflo-menu-wrapper .wine-ptflo-menu
	{
		padding: 0;
		max-width: none;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.wine-ptflo-menu > li
	{
		border-top: 1px solid rgba(255,255,255,0.5);
		text-align: center;
		margin: 0 auto;
		display: block;
	}

	.wine-ptflo-menu > li:first-child
	{
		border-top: none;
	}

	.wine-ptflo-menu > li > a
	{
		display: block;
		border-right: none;
		border-left: none;
		border-bottom: 1px solid #ffffff;
		line-height: 3em;
	}

	.wine-ptflo-menu > li > a:not(:only-child)::after
	{
		display: none;
	}

	.wine-ptflo-menu > li > a:not(:only-child):before
	{
		line-height: 2em;
		right: 0;
		position: absolute;
		font-size: 170%;
		content: "\f0d7";
	}

	.wine-ptflo-menubg
	{
		display: none;
	}

	#search-cart
	{
		display: none; /* removes search bar from mobile, replace with inline-block to make visible */
		width: 100%;
	}

	.searchbar
	{
		width: 50%;
	}
	
	.v65-search {
		max-width: 100%;
		margin-bottom: inherit;
		margin-left: -20px;
	}

	.cart-link
	{
		display: inline-block;
	}

	.cbp-hssubmenu
	{
		background: #f7f7f7;
		position: relative;
		overflow: hidden;
		height: 0;
	}

	.wine-ptflo-menu > li.cbp-hsitem-open .cbp-hssubmenu
	{
		height: auto;
	}

	/* Let's only allow 3 item in a row now */
	.cbp-hssubmenu > li {
		width: 30%;
	}

	/* Reset box shadows for the 6 items in row case */
	.cbp-hssubmenu > li:nth-child(-n+6),
	.cbp-hssubmenu > li:nth-child(6n+1) {
		box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
	}

	/* First 4 items don't have upper box shadow */
	.cbp-hssubmenu > li:nth-child(-n+3)
	{
		box-shadow: -28px 0 0 -27px #ddd;
	} 

	/* Every 5th item does not have a left box shadow */
	.cbp-hssubmenu > li:nth-child(3n+1)
	{
		box-shadow: 0 -28px 0 -27px #ddd;
	};
}

@media screen and (max-width: 25em)
{
	/* Let's only allow 1 item in a row now */
	.cbp-hssubmenu > li {
		width: 100%;
		display: block;
	}
	
	/* .cbp-hsinner {
		margin-top: -12px;
	} */

	.wine-ptflo-menu-wrapper .cbp-hssubmenu > li {
		box-shadow: 0 1px #cecece;
		text-align: left;
		min-height: 4em;
	}

	.cbp-hssubmenu > li a {
		text-align: left;
		line-height: 50px;
		padding: 0.4em 1em;
	}

	.cbp-hssubmenu > li a img {
		float: left;
		margin: 0 1em 0 .5em;
		max-height: 50px;
	}

	.cbp-hssubmenu > li a span {
		min-height: 0;
		/* margin: 0; */
		line-height: 1.3em;
	}
}