/* BASE CSS */
* {
	margin: 0px;
	padding: 0px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	background-color: #FFFFFF;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: "Century Gothic W01", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.4em;
}

body.editor, body.short_editor {
	background-image: none;
	min-height: 500px;
	transition: none;
}

body.short_editor {
	min-height: 200px;
}

body.editor, .cke_panel_block {
	background-color: #FFFFFF;
}

table {
	border-collapse:collapse;
	border-spacing: 0px;
	border: 0px;
}

table.data_table {
	width: 100%;
}

table td {
	vertical-align: top;
}

p {
	margin-bottom: 1em;
}

ul {
	padding-left: 15px;
}

#content ul, #content ol, .editor ul, .editor ol {
	padding-left: 15px;
	margin-bottom: 10px;
}

h1 {
	font-size: 18px;
	line-height: 1em;
	font-weight: normal;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 2.5em;
}

h2 {
	font-size: 16px;
	line-height: 1em;
	font-weight: bold;
	margin-bottom: .25em;
}

hr {
	border: 0px;
	height: 1px;
	margin: 20px auto;
	color: #000000;
	background-color: #000000;
}

img {
	border: none;
}

#content img, .editor img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	outline: none;
	cursor: pointer;
	color: #000000;
}

blockquote {
	margin: 10px 0px 10px 15px;
}

.cl {
	clear: left;
}

.cr {
	clear: right;
}

.cb {
	clear: both;
}

.cf:before, .cf:after {
	content: "";
	display: table;
}

.cf:after {
	clear: both;
}

.cf {
	zoom: 1;
}

.stretch {
	text-align: justify;
	-ms-text-justify: distribute-all-lines;
	text-justify: distribute-all-lines;
}

.stretch:after {
	content: "";
	display: inline-block;
	width: 100%;
}

#content .embed_container, #page_blocks .embed_container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0px;
	overflow: hidden;
	max-width: 100%;
	margin-bottom: 20px;
}

#content .embed_container iframe, #content .embed_container object, #content .embed_container embed,
#page_blocks .embed_container iframe, #page_blocks .embed_container object, #page_blocks .embed_container embed {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.table_container {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}


.right_photo {
	float: right;
	margin: 5px 0px 40px 40px;
	display: inline;
	max-width: 50%;
}

.left_photo {
	float: left;
	margin: 5px 40px 40px 0px;
	display: inline;
	max-width: 50%;
}

@media only screen and (max-width: 599px) {

	.right_photo, .left_photo {
		float: none;
		margin: 0px auto 20px auto;
		display: block;
	}

}

/* FORM CSS */

fieldset {
	border: 0px;
}

legend {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 5px;
}

label, .label {
	white-space: nowrap;
}

fieldset td {
	padding: 2px 4px;
}

input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 18px;
	padding: 2px 5px;
	border: 0px;
	-webkit-border-radius: 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: 0px
}

select {
	line-height: 16px;
	padding: 0px 5px;
}

input:focus, select:focus, textarea:focus {
        outline: 0px; 
}

.button, input[type="button"], input[type="submit"], input[type="reset"] {
	border: 0px;
	background-color: #000000;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 4px;
	-webkit-appearance: none;
	cursor: pointer;
}

.alert, .red {
	color: #FF0000;
}

/* LAYOUT CSS */

.container {
	width: 100%;
	max-width: 1020px;
	margin: 0px auto;
	padding: 0px 30px;
	position: relative;
}

header {
	position: relative;
}

#header_inner {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	max-width: none;
	height: 100%;
	z-index: 500;
}

#header_inner .container {
	max-width: none;
}

#logo {
	position: absolute;
	top: 70px;
	left: 125px;
	width: calc(100% - 250px);
	text-align: center;
	z-index: 600;
}

.layout4 #logo {
	position: relative;
	top: 0px;
	padding-top: 70px;
	z-index: 900;
}

#logo img {
	width: 100%;
	max-width: 400px;
	display: inline-block;
	margin-bottom: 5px;
}

#logo div {
	color: #B8A231;
	font-style: italic;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: .1em;
	//text-shadow: 0px 0px 1px rgba(1, 1, 1, 1);
	//text-shadow: rgb(1, 1, 1) 1px 0px 0px, rgb(1, 1, 1) 0.540302px 0.841471px 0px, rgb(1, 1, 1) -0.416147px 0.909297px 0px, rgb(1, 1, 1) -0.989993px 0.14112px 0px, rgb(1, 1, 1) -0.653644px -0.756803px 0px, rgb(1, 1, 1) 0.283662px -0.958924px 0px, rgb(1, 1, 1) 0.96017px -0.279416px 0px;
	//text-shadow: rgb(1, 1, 1) 2px 0px 0px, rgb(1, 1, 1) 1.75517px 0.958851px 0px, rgb(1, 1, 1) 1.0806px 1.68294px 0px, rgb(1, 1, 1) 0.141474px 1.99499px 0px, rgb(1, 1, 1) -0.832294px 1.81859px 0px, rgb(1, 1, 1) -1.60229px 1.19694px 0px, rgb(1, 1, 1) -1.97999px 0.28224px 0px, rgb(1, 1, 1) -1.87291px -0.701566px 0px, rgb(1, 1, 1) -1.30729px -1.51361px 0px, rgb(1, 1, 1) -0.421592px -1.95506px 0px, rgb(1, 1, 1) 0.567324px -1.91785px 0px, rgb(1, 1, 1) 1.41734px -1.41108px 0px, rgb(1, 1, 1) 1.92034px -0.558831px 0px;
	//text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
}

.mobile_nav #logo div {
	display: none;
}

@media only screen and (max-width: 1150px) {

	#logo div {
		max-width: 480px;
		margin: 0px auto;
	}

}

@media only screen and (max-width: 700px) {

	#logo div {
		max-width: 350px;
	}

}

@media only screen and (max-width: 600px) {

	#logo div {
		max-width: 250px;
	}

}

@media only screen and (max-width: 500px) {

	#logo div {
		max-width: 200px;
	}

}

#signup_button {
	border: 0px;
	background-color: #BBA320;
	font-size: 20px;
	line-height: 20px;
	color: #FFFFFF;
	padding: 5px 12px 9px 12px;
	-webkit-appearance: none;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	display: inline-block;
	margin-top: 1.5em;
}

@media only screen and (max-width: 750px) {

	#signup_button {
		margin-top: 1em;
	}

}

@media only screen and (max-width: 450px) {

	#signup_button {
		font-size: 18px;
		line-height: 18px;
		padding: 4px 10px 6px 10px;
		margin-top: .5em;
	}

}

@media only screen and (max-width: 350px) {

	#signup_button {
		font-size: 16px;
		line-height: 16px;
		padding: 4px 6px 6px 6px;
	}

}

#home_content {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	padding: 0px 20px;
	/*
	left: calc(175px);
	width: calc(100% - 350px);
	*/
	left: 0px;
	z-index: 500;
	display: none;
}

.mobile_nav #home_content {
	display: block;
}

#home_content_inner {
	background-color: rgba(65,65,65,.89);
	max-width: 600px;
	margin: 0px auto;
	padding: 30px 30px 15px 30px;
	color: #FFFFFF;
	text-align: center;
}

#header_photo img {
	display: block;
	width: 100%;
}

#down_arrow {
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -25px;
	z-index: 500;
}

#down_arrow img {
	width: 50px;
	height: 37px;
}

@media only screen and (max-width: 799px) {

	#header_photo {
		height: 200px;
		overflow: hidden;
	}

	#header_photo img {
		width: 800px;
	}

	#header_photo.center img {
		position: relative;
		left: 50%;
		margin-left: -400px;
	}

	#header_photo.right img {
		float: right;
	}

	#header_photo.left_center img {
		position: relative;
		left: 25%;
		margin-left: -200px;
	}

	#header_photo.right_center img {
		position: relative;
		left: 75%;
		margin-left: -600px;
	}

}

.layout3 #content_box {
	position: absolute;
	top: 267px;
	left: 0px;
	width: 100%;
	z-index: 500;
}

.layout3 #content {
	padding-top: 0px;
}

#ctas {
	margin-left: -10px;
}

.cta {
	width: calc(33.333333333333333% - 10px);
	float: left;
	margin-left: 10px;
	position: relative;
}

.cta img {
	width: 100%;
	height: auto;
}

.cta a {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.cta a span {
	display: block;
	width: 100%;
	text-align: center;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

footer {
	background-color: #1E1E1E;
	padding: 13px 0px;
	text-align: center;
}

footer .container {
	max-width: none;
}

body .userway.userway_p3 {
	bottom: 15px !important;
}

#footer_right {
	float: right;
}

#footer_right br {
	display: none;
}

#footer_right a.mailinglist {
	text-transform: uppercase;
	font-weight: bold;
	font-style: italic;
	color: #FFFFFF;
	float: left;
	display: block;
	margin: 10px 20px 0px 0px;
}

#social {
	float: right;
	padding: 2px 0px 0px 0px;
	margin-right: 50px;
	display: inline;
}

#social li {
	list-style: none;
	display: inline-block;
	margin: 0px 15px;
}

#social li a {
	display: block;
	width: 39px;
	height: 39px;
	background-repeat: no-repeat;
	background-size: 39px 39px;
	text-indent: 110%;
	overflow: hidden;
}

#social li.facebook a {
	background-image: url('../images/icon-facebook.png');
}

#social li.instagram a {
	background-image: url('../images/icon-instagram.png');
}

#social li.twitter a {
	background-image: url('../images/icon-twitter.png');
}

#social li.youtube a {
	background-image: url('../images/icon-youtube.png');
}

#footer_nav {
	padding: 0px;
	float: left;
	padding-top: 10px;
}

#footer_nav li {
	list-style: none;
	margin: 0px 5px;
	border-left: 2px solid #FFFFFF;
	padding-left: 12px;
	display: inline;
	line-height: 15px;
	text-transform: lowercase;
}

#footer_nav li:first-child {
	border-left: 0px;
	margin-left: 0px;
}

#footer_nav li a {
	color: #FFFFFF;
	white-space: nowrap;
}

@media only screen and (max-width: 1849px) {

	#footer_nav {
		float: none;
		margin: 0px 0px 20px 0px;
	}

	#footer_right {
		float: none;
		margin: 0px auto;
		width: 480px;
	}

	#social {
		margin: 0px;
	}

}

@media only screen and (max-width: 699px) {

	#footer_right {
		width: 288px;
	}

	#footer_right a.mailinglist {
		float: none;
		margin: 0px 0px 15px 0px;
	}

	#footer_right br {
		display: block;
	}

	#social {
		float: none;
		display: block;
	}

}

@media only screen and (max-width: 399px) {

	#social li {
		margin: 0px 10px;
	}

	#social li a {
		width: 35px;
		height: 35px;
		background-size: 35px 35px;
	}

}

/* NAVIGATION CSS */

#nav ul, #top_nav {
	padding: 0px;
}

#nav li, #top_nav li {
	list-style: none;
	position: relative;
	text-transform: lowercase;
}

#subnav {
	text-align: center;
	margin-bottom: 3em;
}

#subnav ul {
	padding: 0px !important;
}

#subnav li {
	display: inline;
	margin: 0px 10px;
	white-space: nowrap;
	font-size: 18px;
	border-left: 2px solid #B8A231;
	padding-left: 20px;
}

#subnav li:first-child {
	border-left: 0px;
	padding-left: 0px;
}

#subnav li a {
	color: #B8A231;
}

#section_title {
	display: none;
}


#subnav li {
	list-style: none;
	text-transform: lowercase;
}

/* PAGE BLOCK CSS */

.block.padding_top {
	padding-top: 60px;
}

.block.padding_bottom {
	padding-bottom: 60px;
}

.block.border_top {
	border-top: 1px solid #DDDDDD;
}

.block_photo {
	max-width: none;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.block_photo img {
	width: 100%;
	display: block;
}

.block_content_photo .photo img {
	width: 100%;
}

@media only screen and (min-width: 768px) {

	.block_content_photo .container {
		display: flex;
		align-items: center;
	}

	.block_content_photo.right .container {
		flex-direction: row-reverse; 
	}

	.block_content_photo .photo {
		width: 50%;
	}

	.block_content_photo .content {
		width: 50%;
	}

	.block_content_photo.left .content {
		padding-left: 5%;
	}

	.block_content_photo.right .content {
		padding-right: 5%;
	}

}

.block_box {
	margin-bottom: 40px;
}

.block_box img {
	width: 100%;
}

@media only screen and (min-width: 768px) {

	.block_boxes .container{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.block_box {
		width: calc(50% - 20px);
	}
}

@media only screen and (max-width: 767px) {

	.block.padding_top {
		padding-top: 30px;
	}

	.block.padding_bottom {
		padding-bottom: 30px;
	}

}

/* HOME CSS */

.block_slideshow {
	margin: 0px;
	padding: 0px;
	position: relative;
	width: 100%;
	height: 100vh;
}

.block_slideshow li {
	list-style: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-repeat: no-repeat;
	background-position: center top;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.block_slideshow li:first-child {
	display: block;
	float: left;
	opacity: 1;
}

.block_slideshow li img {
	width: 100%;
	float: left;
}

.block_slideshow .content {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
}

.block_slideshow .content_inner {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.rslides_tabs {
	padding: 0px;
	text-align: center;
	position: absolute;
	bottom: 1%;
	left: 0px;
	width: 100%;
	z-index: 100;
}

.rslides_tabs li {
	list-style: none;
	display: inline-block;
	margin: 0px 3px;
	width: 14px;
	height: 14px;
	position: relative;
}

.rslides_tabs li a {
	display: block;
	width: 14px;
	height: 14px;
	overflow: hidden;
	text-indent: 105%;
	cursor: pointer;
}

.rslides_tabs li a:before {
	position: absolute;
	top: 0px;
	left: 0px;
	content: "\f10C";
	font-family: FontAwesome;
	font-size: 14px;
	line-height: 14px;
	color: #FFFFFF;
	text-indent: 0px;
}

.rslides_tabs li.rslides_here a:before {
	content: "\f111";
}

.rslides_nav {
	display: none;
}

@media only screen and (max-width: 899px) {

	#home_slideshow_wrapper {
		height: 400px;
		overflow: hidden;
	}

	#home_slideshow {
		width: 900px;
		position: relative;
		left: 50%;
		margin-left: -450px;
	}

	#home_slideshow li img {
		width: 900px;
	}

}

/* GALLERY CSS */

#content .gallery {
	padding: 0px;
	margin: 20px 0px 20px -2%;
}

.gallery li {
	list-style: none;
	width: 23%;
	float: left;
	display: inline;
	text-align: center;
	margin: 0px 0px 20px 2%;
	line-height: 16px;
}

.gallery li img {
	background-color: #DDDDDD;
	padding: 3%;
	margin-bottom: 5px;
	width: 100%;
}

@media only screen and (max-width: 599px) {

	.gallery li {
		width: 31.3333%;
	}

}

@media only screen and (max-width: 450px) {

	.gallery li {
		width: 48%;
	}
}

#nav_trigger {
	cursor: pointer;
	display: block;
	position: absolute;
	top: 70px;
	right: 15px;
	z-index: 600;
}

#nav_trigger span {
	display: block;
	width: 25px;
	height: 3px;
	margin-bottom: 6px;
	background-color: #B9A329;
	transition: transform 500ms ease, margin-top 500ms ease;
}

.mobile_nav #nav_trigger span:first-child {
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin-top: 8px;
}

.mobile_nav #nav_trigger span:last-child {
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin-top: -18px;
}

.mobile_nav #nav_trigger span:nth-child(even) {
	opacity:0;
}

@media only screen and (min-width: 700px) {

	#nav_trigger span {
		width: 40px;
		height: 6px;
		margin-bottom: 10px;
	}

	.mobile_nav #nav_trigger span:first-child {
		margin-top: 16px;
	}

	.mobile_nav #nav_trigger span:last-child {
		margin-top: -32px;
	}

}

#nav_close {
	font-size: 25px;
	line-height: 25px;
}

.mobile_nav #header_inner {
	height: 100vh;
	overflow-y: scroll;
	position: fixed;
	z-index: 100;
}

#nav {
	width: 100%;
	height: 100vh;
	position: absolute;
	left: 0px;
	top: 0px;
	background-color: #FFFFFF;
	background-color: rgba(255,255,255,.76);
	padding-top: 50px;
	z-index: 500;
	overflow-x: hidden;
	overflow-y: scroll;
	opacity: 0;
	transition: opacity 500ms ease;
}

.mobile_nav #nav {
	opacity: 1;
}

#nav.closed {
	height: 0px;
}

#main_nav {
	position: absolute;
	right: 20px;
	top: 160px;
	z-index: 501;
}

#top_nav {
	position: absolute;
	left: 20px;
	top: 67px;
	z-index: 1000;
}

#nav li, #top_nav li {
	display: block;
	font-size: 18px;
	line-height: 20px;
	text-align: right;
	text-transform: lowercase;
}

#top_nav li {
	text-align: left;
}

#nav li a {
	display: block;
	padding: 1px 0px;
	color: #B9A329;
}

#nav li a:hover {
	color: #646464;
}

#nav li ul {
	padding: 0px;
	max-height: 0px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0,1,0,1);
	position: absolute;
	right: 130px;
	top: 0px;
}

#nav li.nav2 ul, #nav li.nav22 ul {
	top: 4px;
}

#nav li.expanded > ul {
	max-height: 499px;
	transition: all 0.4s cubic-bezier(1,0,1,0);
}

#nav li li {
	font-size: 16px;
	font-style: italic;
	white-space: nowrap;
}

#top_nav li a {
	color: #B9A329;
}

#nav li li.nav2 a, #nav li li.nav22 a, #nav li li.nav27 a, #nav li li.nav32 a {
	display: inline-block;
	background-image: url('../images/villa-creek-maha-nav-logo.png');
	background-size: 241px 40px;
	background-repeat: no-repeat;
	width: 136px;
	height: 20px;
	text-indent: 110%;
	overflow: hidden;
}

#nav li li.nav27 a, #nav li li.nav32 a {
	background-position: -136px 0px;
	width: 105px;
}

#nav li li.nav2 a:hover, #nav li li.nav22 a:hover {
	background-position: 0px -20px;
}

#nav li li.nav27 a:hover, #nav li li.nav32 a:hover {
	background-position: -136px -20px;
}

form.feedback {
	width: 100%;
	max-width: 800px;
	margin: 0px auto;
}

div.col2 {
	width: 48%;
	float: left;
	margin-bottom: 27px;
}

div.col2.right {
	float: right;
}

div.col2 input {
	width: 100%;
	height: 22px;
	color: #00000F;
}

::placeholder {
	color: #00000F;
	opacity: 1;
}

.feedback input {
	font-family: "Century Gothic W01", Arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	padding: 2px 5px;
	border: 0px;
	-webkit-border-radius: 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: 0px;
}

.feedback .button {
	border: 0px;
	background-color: #BBA320;
	font-weight: normal;
	font-size: 20px;
	line-height: 20px;
	color: #FFFFFF;
	padding: 5px 12px 9px 12px;
	-webkit-appearance: none;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

@media only screen and (max-width: 699px) {

	.feedback .button {
		font-size: 18px;
		padding: 4px 10px 7px 10px;
	}

}

#content .instagram_feed {
	margin-left: -1.5%;
	padding: 0px;
}

.instagram_feed li {
	list-style: none;
	float: left;
	width: 31.8333333333%;
	margin-left: 1.5%;
	margin-bottom: 1.5%;
}

.instagram_feed a {
	display: block;
	width: 100%;
	height: 0px;
	padding-bottom: 100%;
	position: relative;
	overflow: hidden;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	transition: all 0.6s ease;
	-webkit-backface-visibility: hidden;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.instagram_feed a:hover {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.instagram_feed a span {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(35,31,32,.3);
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.instagram_feed a:hover span {
	background-color: transparent;
}

#wines_new {
	text-align: center;
}

.wine, #journal a {
	/*float: left;
	width: 33.3333%;*/
	width: 33%;
	padding: 0px 7%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	font-size: 20px;
	line-height: 26px;
	color: #333333;
	margin-bottom: 50px;
	display: inline-block; /*may need to be removed when multiple*/
	vertical-align: top;
}

#journal {
	margin-left: -1.5%;
}

#journal a {
	float: left;
	width: 31.8333333333%;
	margin-left: 1.5%;
	display: inline;
	padding: 0px;
}


.wine .photo, #journal .photo {
	position: relative;
	min-height: 300px;
	display: table-cell;
}

.wine img, #journal img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
	margin-bottom: 20px;
/*
	position: relative;
	top: 50%;
	transform: translateY(-50%);
*/
}

@media only screen and (min-width: 960px) {

	.wine .overlay, #journal div.overlay {
		display: none;
	}

	.wine:hover .overlay, #journal a:hover div.overlay {
		display: block;
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		padding-bottom: 46px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	.wine:hover img, #journal a:hover img {
		opacity: 0.2;
		filter: alpha(opacity=20);
	}

	.wine:hover .overlay div, #journal a:hover .overlay div {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		padding: 0px 10%;
	}
}

.wine:hover a div {
	cursor: pointer;
}

#wines_new .wine:nth-child(3n+1) {
	clear: left;
}

@media only screen and (max-width: 959px) {

	.wine {
		padding: 0px 5%;
	}

	.wine .overlay {
		margin-top: 5px;
		font-size: 18px;
	}

}

@media only screen and (max-width: 800px) {

	.wine {
		width: 32.5%;
	}

}

@media only screen and (max-width: 650px) {

	.wine, #journal a {
		width: 49%;
	}

}

@media only screen and (max-width: 500px) {

	#journal a {
		width: 100%;
		float: none;
		display: block;
		max-width: 320px;
		margin: 0px auto 30px auto;
	}

	#journal img {
		margin-bottom: 10px;
	}

}


@media only screen and (max-width: 365px) {

	.wine {
		width: 100%;
	}

}

.wine_bottle {
	float: right;
	margin-bottom: 20px;
	text-align: center;
}

@media only screen and (max-width: 600px) {

	.wine_bottle {
		float: none;
	}

}

@media only screen and (min-width: 1250px) {

	#nav_trigger {
		right: 45px;
	}

	#main_nav {
		right: 50px;
	}

	#top_nav {
		left: 50px;
	}

}

@media only screen and (max-width: 1249px) {

	#logo, #nav_trigger, #top_nav {
		top: 50px;
	}

	#main_nav {
		top: 140px;
	}

}

@media only screen and (max-width: 899px) {

	#nav_trigger, #top_nav, #logo {
		top: 40px;
	}

	.layout4 #logo {
		padding-top: 40px;
	}

	#main_nav {
		top: 120px;
	}

}

@media only screen and (max-width: 799px) {

	#main_nav {
		top: 110px;
	}

}

/*
@media only screen and (max-width: 767px) {

	#subnav {
		padding: 0px;
		margin: 0px 0px 20px 0px;
		height: 42px;
		position: relative;
	}

	#section_title {
		padding: 0px 15px;
		font-size: 16px;
		line-height: 38px;
		font-weight: bold;
		font-style: italic;
		border: 2px solid #DDDDDD;
		text-align: center;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}

	#section_title:after {
		padding-left: 10px;
		content: '\f0d7';
		font-family: FontAwesome;
		font-size: 20px;
		font-weight: normal;
		font-style: normal;
	}

	#subnav.expanded #section_title:after {
		content: '\f0d8';
	}

	#subnav ul {
		position: absolute;
		top: 40px;
		left: 0px;
		width: 100%;
		max-height: 0px;
		overflow: hidden;
		background-color: #DDDDDD;
		z-index: 300;
		transition: all 0.4s cubic-bezier(0,1,0,1);
	}

	#subnav.expanded ul {
		max-height: 499px;
		overflow: auto;
		transition: all 0.4s cubic-bezier(1,0,1,0);
	}

	#subnav li {
		margin: 0px;
		display: block;
		border-top: 1px solid #FFFFFF;
	}

	#subnav li.first {
		border: 0px;
	}

	#subnav li a {
		display: block;
		padding: 12px 15px;
	}

}
*/

@media only screen and (max-width: 699px) {

	#nav_trigger, #logo {
		top: 30px;
	}

	#top_nav {
		top: 25px;
	}

	.layout4 #logo {
		padding-top: 30px;
	}

	#logo {
		left: 65px;
		width: calc(100% - 130px);
	}

	#top_nav li {
		font-size: 14px;
	}

	footer {
		font-size: 14px;
	}

}

@media only screen and (max-width: 649px) {

	#main_nav {
		top: 100px;
	}

}

@media only screen and (max-width: 549px) {

	#main_nav {
		top: 90px;
	}

}

@media only screen and (max-width: 399px) {

	#main_nav {
		top: 85px;
	}

	#home_content_inner {
		padding: 15px 15px 5px 15px;
	}

}
