/*
Theme Name: Hudson Valley Fresh
Theme URI: http://
Description: Custom theme for Hudson Valley Fresh
Version: 1.0
Author: Keith Solomon
Author URL: http://solowebdesigns.net

	Unless otherwise noted, all code in this theme complies with the GNU GPL 2.0 license.
	For a copy, please refer to the following link: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('css/reset.css');
@import url('css/wp.css');

body {
	background: #fff;
	color: #000;
	font: 24px/34px Georgia;
	text-align: left;
}

/** Preload hover images */
	body:after{
		display: none;
		content: url(images/ig-icon-hover.png) url(images/fb-icon-hover.png) url(images/custom-sub-hover.png) url(images/cart-btn-hover.png) url(images/prodlink-hover.png) url(images/buy-btn-hover.png);
	}

#wrapper {
	margin: 0 auto;
	/*max-width: 1260px;*/
	width: 100%;
	display: -ms-flexbox;
	display: -webkit-flex;
	-js-display: flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

#cont-wrap {
	float: left;
	margin: 80px 115px 0;
	width: 100%;
}

/** LINKS */
	a:link, a:visited, a:active {
		color: #00aced;
		text-decoration: none;
	}

	a:hover {
		color: #01834e;
	}

	a.more-link {
		display: block;
		margin-top: 1.5em;
	}

/** HEADER */
	#header {
		background: url(images/header-bg.png) repeat-x;
		font-family: 'Bebas Neue W01', sans-serif;
		line-height: 1.6875;
		margin: 0;
		/*min-height: 964px;*/
		padding: 10px 64px 0 54px;
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
	}

	#header-int {
		background: url(images/header-bg.png) repeat-x;
		font-family: 'Bebas Neue W01', sans-serif;
		line-height: 1.6875;
		margin: 0;
		/*min-height: none;*/
		padding: 10px 64px 10px 54px;
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
	}

	#bg {
		height: auto;
		width: 100%;
	}

	/** LOGO */
		#logo {
			float: left;
			height: 175px;
			margin-bottom: 0;
			width: 175px;
		}

		#logo h1 a:link, #logo h1 a:visited, #logo h1 a:active {
			background: transparent url(images/logo.png) no-repeat;
			background-size: 100% auto;
			display: block;
			float: left;
			line-height: 175px; /* height of the image */
			margin: 0;
			text-indent: -1000em;
			overflow: hidden;
			width: 175px; /* width of the image */
		}

	/** NAVIGATION */
		#st-trigger-effects {
			display: none;
		}

		/** MOBILE NAV ICONS */
			.st-menu li.social {
				border: none !important;
				display: block;
				float: left;
				height: 20px; /* height of the image */
				margin: 0 0 20px 10px;
				text-align: center;
				width: 20%; /* width of the image */
			}

			.st-menu li.social a {
				border: none !important;
				display: block;
				float: left;
				line-height: 20px; /* height of the image */
				margin: 0;
				text-indent: -1000em;
				overflow: hidden;
				width: 20px; /* width of the image */
			}

			.st-menu li.fb a {
				background: transparent url(images/fb-icon.png) no-repeat;
				background-size: 100% auto;
			}

			.st-menu li.tw a {
				background: transparent url(images/tw-icon.png) no-repeat;
				background-size: 100% auto;
			}

			.st-menu li.ig a {
				background: transparent url(images/ig-icon.png) no-repeat;
				background-size: 100% auto;
			}

			.st-menu li.ks a {
				background: transparent url(images/kosher-logo.png) no-repeat;
				background-size: 100% auto;
			}

		#topnav {
			float: right;
			padding: 0 10px;
			width: 35%;
		}

		#topnav a {
			color: #fff;
			display: inline-block;
			float: left;
			font-family: 'Bebas Neue W01', sans-serif;
			font-size: 28px;
			line-height: 28px; /* height of the image */
			margin: 10px 0 0 15px;
			text-transform: uppercase;
		}

		#topnav .socicons {
			float: right;
		}

		#topnav .socicons img {
			float: left;
			height: 46px;
			margin: 0 0 0 15px;
			width: auto; /* width of the image */
		}

		#topnav .socicons img:first-of-type {
			margin: 0 0 0 45px;
		}

		#topnav .socicons img#nys {
			height: 53px;
		}

		#topnav a.social {
			text-indent: -1000em;
			overflow: hidden;
			margin-top: 10px;
			width: 28px; /* width of the image */
		}

		#topnav a#fb {
			background: transparent url(images/fb-icon.png) no-repeat;
			background-size: 100% auto;
		}

		#topnav a#tw {
			background: transparent url(images/tw-icon.png) no-repeat;
			background-size: 100% auto;
		}

		#topnav a#ig {
			background: transparent url(images/ig-icon.png) no-repeat;
			background-size: 100% auto;
		}

		#nav ul {
			border: 1px solid #666;
			border-left: none;
			border-right: none;
			display: -ms-flexbox;
			display: -webkit-flex;
			-js-display: flex;
			display: flex;
			-webkit-flex-wrap: wrap;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap;
			-webkit-justify-content: space-around;
			-ms-flex-pack: space-around;
			justify-content: space-around;
			font-size: 34px;
			margin: 60px 0 0;
			padding: 0;
		}

		#nav li {
			border-left: 1px solid #666;
			/*padding: 0px 75px;*/
			text-align: center;
			width: 20%;
		}

		#nav li:first-child {
			border-left: none;
		}

		#nav li a:link, #nav li a:visited, #nav li a:active {
			align-items: center;
			color: #fff;
			font-family: 'Bebas Neue W01', sans-serif;
			font-weight: normal;
			line-height: 1.6875;
			padding-bottom: 5px;
			text-decoration: none;
			/*width: 100%;*/
		}

		#nav li a:hover, #nav li.current_page_item a, #nav li.current_page_ancestor a {
			border-bottom: 5px solid #fff;
			padding-bottom: 0;
			color: #fff;
		}

		/** SUCKERFISH DROPDOWNS */
			#nav li ul { /* second-level lists */
				background: url(images/header-bg.png) repeat;
				border: none;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
				margin: 0 !important;
				padding: 0 0 10px;
				position: absolute;
				width: 10em;
				z-index: 111;
			}

			#nav li ul li  {
				border: none;
				padding: 0 10px;
				text-align: left;
				width: 100%;
			}

			#nav li ul li a:link, #nav li ul li a:visited, #nav li ul li a:active {
				background: transparent;
				display: block;
				font-size: 32px;
				height: auto !important;
				line-height: 1.30;
				padding: 0;
				width: 100%;
			}

			#nav li.current_page_item ul li a {
				border: none;
			}

			#nav li ul li a:hover {
				border-bottom: 5px solid #fff;
				padding-bottom: 0;
				color: #fff;
			}

			#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
				left: auto;
			}

/** CONTENT */
	/** HOMEPAGE CONTENT */
		#random-img {
			float: left;
			max-width: 966px;
			width: 57.6%;
		}

		#random-img img {
			height: auto;
			width: 100%;
		}

		#info-srch {
			float: right;
			margin-bottom: 50px;
			width: 40%;
		}

		#info-srch .widget_text {
			background: #f0f0ef;
			padding: 18px 0;
			text-align: center;
			width: 100%;
		}

		#info-srch #zipsearch {
			border: 1px solid #ccc;
			border-radius: 10px;
			color: #0bb0ee;
			font-size: 31px;
			height: 116px;
			text-align: center;
			text-transform: uppercase;
			width: 462px;
		}

		#slider {
			background: #ebebe8;
			border-top: 25px solid #00aced;
			float: left !important;
			padding: 36px 24px;
			width: 100% !important;
		}

		#cont-jump {
			margin-top: 700px;
		}

		#header-int #cont-jump {
			margin-top: 324px;
		}

	#content {
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		margin-top: -96px;
		width: 100%;
	}

	#content.content-home {
		margin-top: 0;
	}

	#content.products {
		margin-top: -92px;
	}

	#cont-sb {
		-webkit-flex: 0 1 70%;
		-ms-flex: 0 1 70%;
		flex: 0 1 70%;
		width: 70%;
	}

	.content-int #slider {
		background: #ebebe8;
		border-top: 25px solid #00aced;
		float: left !important;
		margin-top: 50px;
		padding: 36px 24px;
		width: 100% !important;
	}

	.content .post { margin-bottom: 1.5em; }

	.content .postmeta {
		font: 22px 'Bebas Neue W01', sans-serif;
		line-height: 1em;
		margin-bottom: 1em;
		padding: 0;
	}

	.navigation {
		float: left;
		padding: 1em;
		width: 100%;
	}

	.content p { margin-bottom: 1.5em; }

	img.howfresh {
		margin-top: -10px;
	}

	img.howfresh:first-of-type {
		margin-top: 5px;
	}

	/** FARMER QUOTE STYLES */
		#quote {
			border-bottom: 27px solid #00743b;
			float: left;
			margin: 0 0 50px;
			padding: 0;
			width: 100%;
		}

		#quotetxt {
			color: #666;
			float: left;
			font: 30px/40px Georgia;
			font-style: italic;
			padding: 0 50px 0 0;
			text-align: right;
			width: 60%;
		}

		#quoteimg {
			float: right;
			width: 40%;
		}

		#quote p, #quote img {
			margin: 0 !important;
			padding: 0 !important;
		}

		#quote img {
			height: auto;
			width: 100%;
		}

	/** FARM STATS STYLES */
		#stats {
			color: #fff;
			font: 48px 'Bebas Neue W01', sans-serif;
			/*min-height: 980px;*/
			padding: 36px 74px;
			width: 100%;
		}

		#stats h3 {
			font-size: 95px;
			font-weight: lighter;
		}

		#stats h4 {
			font-size: 85px;
			font-weight: lighter;
			margin: 0;
			padding: 0;
		}

		#stats table {
			border: 4px solid #fff;
			width: 100%;
		}

		#stats table td {
			border: 4px solid #fff;
			border-collapse: collapse;
			padding: 10px;
			text-align: center;
		}

		#stats table tbody td {
			width: 50%;
		}

	/** LOCATOR STYLES */
		#hclc_list {
			display: flex;
			flex-wrap: wrap;
			height: auto !important;
			overflow: hidden;
		}

		#hclc_list>div {
			display: flex;
			float: left;
			margin: 0 0 5px;
			padding: 0;
			width: calc(100% / 4 - 5px);
		}

		.hc-border {
			border: none !important;
		}

	/** FORM STYLES */
		div.wpcf7 {
			background: url(images/contact-bg.gif) no-repeat bottom left;
			border-bottom: 27px solid #00aced;
			color: #666;
			float: right;
			padding: 0 42px 0 0;
			width: 100%;
		}

		.wpcf7-form {
			color: #666;
			float: right;
			padding: 0 42px 50px 0;
			width: 54%;
		}

		.wpcf7-form p {

		}

		.wpcf7-form p br {
			height: 1px;
			line-height: 1px;
		}

		.wpcf7-form label {
			font: 64px 'Bebas Neue W01', sans-serif;
			line-height: 1;
			margin: 0;
			padding: 0;
			text-transform: uppercase;
		}

		.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
			border: 1px solid #666;
			color: #666;
			font: 64px 'Bebas Neue W01', sans-serif;
			height: 126px;
			padding: 0 10px;
			text-transform: none;
			width: 100%;
		}

		.wpcf7-form textarea {
			font-size: 26px;
			padding-top: 10px;
			height: 210px;
		}

		.wpcf7-form input[type="submit"] {
			border: none;
			background: #00aced;
			color: #fff;
			display: inline-block;
			float: right;
			font: 61px 'Bebas Neue W01', sans-serif;
			height: 96px;
			padding: 0 10px;
			text-align: center;
			width: 329px;
		}

	/** PRODUCTS STYLES */
		table.product {
			border-bottom: 25px solid #00aced;
			border-collapse: separate;
			border-spacing: 0 60px;
			width: 100%;
		}

		table.product tr.product-row {
		}

		table.product tr.product-row td {
			border: 1px solid #666;
			border-left: none;
			border-right: none;
			color: #666;
			font: 36px 'Bebas Neue W01', sans-serif;
			padding: 40px 0;
			vertical-align: top;
			width: 33%;
		}

		table.product tr.product-row td.prod-img {
			padding: 20px 218px 20px 90px;
		}

		table.product tr.product-row td:first-child {
			border-left: 1px solid #666;
		}

		table.product tr.product-row td:last-child {
			border-right: 1px solid #666;
		}

	/** NEWS STYLES */
		.first-post {
			float: left;
			width: 100%;
		}

		.entry-content {
			float: right;
			width: calc(100% - 680px);
		}

		#grid-cont, #grid-cont-int {
			border: 1px solid #fff;
			display: flex;
			flex-basis: 50%;
			flex-flow: row wrap;
			flex-wrap: wrap;
			/*float: left;*/
			height: auto !important;
			justify-content: space-around;
			margin: 225px auto 0;
			max-width: 1280px;
			overflow: hidden;
			width: 100%;
		}

		#grid-cont-int {
			margin: 0 auto 0;
		}

		#grid-cont .grid, #grid-cont-int .grid {
			background: #ebebeb;
			border: 3px solid #666;
			display: flex;
			/*float: left;*/
			flex-wrap: wrap;
			margin: 0 0 50px;
			padding: 0;
			width: 600px;
		}

		#grid-cont .grid-sec, #grid-cont-int .grid-sec {
			float: left;
			width: 100% !important;
		}

		#grid-cont .grid-img img, #grid-cont-int .grid-img img {
			height: auto;
			width: 100%;
		}

		#grid-cont .grid-text, #grid-cont-int .grid-text {
			padding: 50px;
		}

	/** RESPONSIVE EMBEDS */
		.embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
		.embed iframe, .embed object, .embed embed, .embed video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

	/** GALLERY STYLES */
		.content img.attachment-thumbnail {
			border: none;
			height: 92px;
			margin: 0;
			padding: 0;
			width: 92px;
		}

		.gallery {
			margin: auto;
			/* gallery clearing */
			overflow: hidden;
			width: 100%;
		}

		.gallery .gallery-item {
			float: left;
			margin-top: 10px;
			text-align: center;
		}

		.gallery img { border: 2px solid #cfcfcf; }

		.gallery .gallery-caption { margin-left: 0; }

		.gallery br { clear: both }

		/* Available Columns */
		.col-2 { width: 50% }
		.col-3 { width: 33.333% }
		.col-4 { width: 25% }
		.col-5 { width: 20% }
		.col-6 { width: 16.666% }
		.col-7 { width: 14.285% }
		.col-8 { width: 12.5% }
		.col-9 { width: 11.111% }

	/** PAGE BAR NAV STYLING */
		.pb-nav { clear: both; text-align: center; }

		.pb-nav a, .pb-nav span {
			text-decoration: none;
			padding: 3px 5px;
			margin: 2px;
		}

		.pb-nav a:hover, .pb-nav span.current { border-color: #000; }

		.pb-nav span.current { font-weight: bold; }

	/** HEADING STYLES */
		h1, h2, h3, h4, h5, h6 { font-family: 'Bebas Neue W01', sans-serif; }

		.content h1 { font-size: 2rem; }

		.content h2 { font-size: 1.8rem; }

		.content h2.huge {
			font: 65px 'Bebas Neue W01', sans-serif;
			font-weight: lighter;
		}

		.content h2#slidetitle {
			font-size: 65px;
			line-height: 65px;
			margin: 0 0 50px;
			padding: 0;
			text-transform: uppercase;
		}

		.content h2.hometitle {
			font-size: 65px;
			font-weight: bold;
			margin-bottom: 30px;
		}

			.content h2.pagetitle {
				margin: 70px;
				text-indent: -1000em;
				overflow: hidden;

				/*color: #fff;
				font-size: 145px;
				font-weight: normal;
				line-height: 1;
				margin: 0 0 50px;
				padding: 0;*/
			}

			#entry-err h2.pagetitle {
				color: #000;
				font-size: 70px;
				margin: 0 0 20px;
				padding-top: 100px;
				text-indent: 0;
				/* overflow: hidden; */

				/*color: #fff;
				font-size: 145px;
				font-weight: normal;
				line-height: 1;
				margin: 0 0 50px;
				padding: 0;*/
			}

		.content h2.posttitle, .content h2.posttitle a {
			color: #000;
			font-size: 80px;
			font-weight: normal;
			line-height: 1;
			margin: 0;
			padding: 0;
		}

		.content h2.pagetitle a:link, .content h2.pagetitle a:visited, .content h2.pagetitle a:active { text-decoration: none; }

		.content h2.pagetitle a:hover { }

		.content h3 {
			font-size: 1.5rem;
			font-weight: bold;
		}

		h3.prod {
			color: #01834d;
			font-size: 95px;
			font-weight: lighter;
			line-height: 95px !important;
			margin-bottom: 0px;
		}

		h3.homewidgettitle {
			color: #01834e;
			font-size: 60px;
			margin-bottom: 25px;
			text-transform: uppercase;
		}

		.content h4 {
			font-size: 1.4rem;
			font-weight: bold;
		}

		.content h5 {
			font-size: 1.3rem;
			font-weight: bold;
		}

		.content h6 {
			font-size: 1.2rem;
			font-weight: bold;
		}

	/** QUOTES & LISTS */
		.content blockquote {
			font-style: italic;
			line-height: 1.4em;
			margin-bottom: 1.8em;
			padding: 0 1.5em;
		}

		.content ul, .content ol { margin: 0 0 1.5em 3em; }

		.content li {
			/*font-size: 1rem;*/
			line-height: 1.4em;
			margin-bottom: .5em;
		}

		.content ul li { list-style-type: disc; }

		.content ol li { list-style-type: decimal; }

		.content li ul { margin-bottom: 0; }

		.content li li { font-size: 1em; }

/** SIDEBAR */
	#sidebar {
		-webkit-flex: 0 1 100%;
		-ms-flex: 0 1 100%;
		flex: 0 1 100%;
		margin-top: 30px;
		/*padding-right: 25px;*/
		width: 100%;
	}

	.sidebar a:link, .sidebar a:visited, .sidebar a:active { text-decoration: none; }

	.sidebar a:hover { }

	.sidebar .widgetblock { margin-bottom: 1.5em; }

	.sidebar h3 {
		color: #01834e;
		font-size: 60px;
		margin-bottom: 20px;
		text-transform: uppercase;
	}

	.sidebar .widget_text {
		background: #f0f0ef;
		float: right;
		padding: 18px 0;
		text-align: center;
		width: 602px;
	}

	.sidebar #zipsearch {
		background: #f0f0ef;
		border: 1px solid #ccc;
		border-radius: 10px;
		color: #0bb0ee;
		font-size: 34px;
		height: 116px;
		text-align: center;
		text-transform: uppercase;
		width: 462px;
	}

/** FOOTER */
	#footer {
		background: #01834e;
		color: #000;
		font: 20px/30px 'Bebas Neue W01', sans-serif;
		font-weight: lighter;
		min-height: 214px;
		margin-top: 3em;
		padding: 30px 56px 0 115px;
		width: 100%;
	}

	#footer a:link, #footer a:visited, #footer a:active { color: #fff; text-decoration: none; }

	#footer a:hover { }

	#foot-left {
		float: left;
		font: 18px/28px 'Bebas Neue W01', sans-serif;
		font-weight: lighter;
		width: 20%;
	}

	#foot-right {
		float: right;
		margin-right: 13px;
		width: 50%;
	}

	#footer ul {
		display: inline-block;
		margin-bottom: 0;
		width: 100%;
	}

	#footer li {
		border-left: 1px solid #fff;
		display: block;
		float: left;
		line-height: 1.2em;
		margin: 0;
		padding: 0 15px;
	}

	#footer li:first-child {
		border-left: none;
		padding-left: 0;
	}

	#footer li a {
		font-size: 35px;
	}

	#footer li ul {
		margin: 10px 0 0 20px;
		padding: 0;
	}

	#footer li li {
		display: block;
		float: none;
		width: 70%;
	}

	#footer li li a {
		font-size: 20px;
	}

	ul#foot-soc {
		float: right;
		margin-right: 7px;
		width: 200px;
	}

	#foot-soc li {
		border: none;
		margin: 0 20px 0 0;
		padding: 0;
	}

	#foot-soc li:last-child {
		margin: 0;
	}

	#foot-soc a {
		display: block;
		float: left;
		line-height: 39px; /* height of the image */
		margin: 0;
		text-indent: -1000em;
		overflow: hidden;
		width: 40px; /* width of the image */
	}

	#foot-soc a#fb {
		background: transparent url(images/fb-foot.png) no-repeat;
		background-size: 100% auto;
	}

	#foot-soc a#tw {
		background: transparent url(images/tw-foot.png) no-repeat;
		background-size: 100% auto;
	}

	#foot-soc a#ig {
		background: transparent url(images/ig-foot.png) no-repeat;
		background-size: 100% auto;
	}

	.footwidget {
		/*width: 70%;*/
		margin-bottom: 22px;
	}

	.links {
		/*width: 20%;*/
	}

	#footer h3.widgettitle {
		color: #fff;
		font-size: 35px;
		font-weight: lighter;
		letter-spacing: 1px;
		margin-bottom: 8px;
	}

	#footer #zipsearch {
		background: #f0f0ef;
		border: 1px solid #ccc;
		border-radius: 10px;
		color: #0bb0ee;
		font-size: 25px;
		height: 87px;
		text-align: center;
		text-transform: uppercase;
		width: 100%;
	}

