/*
Theme Name: Waratah Farms
Author: E9
Author URI: http://www.e9.co.nz
Version: 1.0
Description: Custom website theme designed by Bettle and Associates, programmed by E9.
*/

@font-face {
    font-family: 'franchise-bold';
    src: url('fonts/franchise-bold-webfont.eot');
    src: url('fonts/franchise-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/franchise-bold-webfont.woff') format('woff'),
         url('fonts/franchise-bold-webfont.tff') format('truetype'),
         url('fonts/franchise-bold-webfont.svg#franchise-bold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'minionpro-regular';
    src: url('fonts/minionpro-regular-webfont.eot');
    src: url('fonts/minionpro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/minionpro-regular-webfont.woff') format('woff'),
         url('fonts/minionpro-regular-webfont.tff') format('truetype'),
         url('fonts/minionpro-regular-webfont.svg#minionpro-regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'minionpro-bold';
    src: url('fonts/minionpro-bold-webfont.eot');
    src: url('fonts/minionpro-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/minionpro-bold-webfont.woff') format('woff'),
         url('fonts/minionpro-bold-webfont.tff') format('truetype'),
         url('fonts/minionpro-bold-webfont.svg#minionpro-bold') format('svg');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'minionpro-semibold';
    src: url('fonts/minionpro-semibold-webfont.eot');
    src: url('fonts/minionpro-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/minionpro-semibold-webfont.woff') format('woff'),
         url('fonts/minionpro-semibold-webfont.tff') format('truetype'),
         url('fonts/minionpro-semibold-webfont.svg#minionpro-semibold') format('svg');
    font-weight: 300;
    font-style: normal;
}

body {
	font-family: 'minionpro-regular', georgia, sans-serif;	
	margin:0px;
	padding:0px;
	background: url('images/bg_image.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
b, strong {
    font-family: 'minionpro-semibold', georgia, sans-serif;	
}
h1#taste {
	font-family: 'franchise-bold';
	font-weight: normal;
	font-size: 4.5em;
	overflow: hidden;
	text-transform: uppercase;
	color: #57414d;
	border-bottom: 10px solid #57414d;
	border-top: 10px solid #57414d;
	padding: 12px 0;
}
h1#logo {
	float:left;
	width: 162px;
	height: 27px;
	margin: 0.3em 0;
}
h1#logo a{
	background-image:url('images/logo.png');
	background-repeat: no-repeat;
	text-indent: -999px;
	width: 162px;
	height: 27px;
	display: block;
}
h2 {
	font-size:2.5em;
}
h2, h3  {
	color:#412634;
	margin-top:0.3em;
	margin-bottom:0.5em;
	font-family: 'franchise-bold';
	text-transform: uppercase;
	font-weight: normal;
	overflow: hidden;
}
body.home h2 {
	margin-bottom:0px;
}
h3 {
	margin-top:0.8em;
	font-size:1.5em;
}
h4 {
	font-size: 1em;
	margin: 0.5em 0;
}
h4, h5 {
	font-family: 'minionpro-semibold', georgia, sans-serif;	
	font-weight: normal;
	color: #412634;
}
p,li {
	font-size: 0.85em;
	color: #412634;
}
a {
	color: #412634;
	text-decoration: none;
}
body .vc_row-fluid [class*="vc_span"]:first-child {
	margin-left: auto;
}
.container {
	width: 960px;
	margin: 0 auto;
}
#content {
	background: white;
	width:920px;
	padding:20px;
}
#content.error404 {
	text-align: center;
	min-height: 250px;
	padding:120px 3% 20px;
}
body .wpb_content_element.wpb_single_image img{
	margin: 0;
}
body .where-to-find.wpb_row {
	position: relative;
}
body .where-to-find.wpb_row img {
	max-width: none;
	position: absolute;
	right:-50px;
	top:10px;
}
header {
	margin-top: 50px;
	background:white;
	width: 920px;
	padding:20px;
	overflow: hidden;
	margin-bottom: 10px;
}
header nav {
	float:right;
	margin-top: 1.2em;
}
header nav ol,
header nav ul {
	margin:0px;
	padding-right:20px;
}
header nav ul li {
	display: inline;
	text-transform: lowercase;
	margin-left:2em;
}
header nav ul li a {
	color:grey;
}
header nav ul li.current_page_item a {
	font-family: 'minionpro-bold', georgia, sans-serif;	
}
.home-banner{
/* 	border-bottom: 3px solid #6d6d6d; */
	margin-bottom: 15px;
}
.home-banner-footer {
	position: relative;
	top:-35px;
}
.home-banner .flex-control-nav {
	display: none;
}
.home-banner .flexslider {
	border: none;
			box-shadow: none;
	-webkit-box-shadow: none;
 	   -moz-box-shadow: none;
	margin:0px;
/* 	height: 240px; */
}
.home-banner .flexslider .slides img {
	height: auto;
}
.home-banner ul.flex-direction-nav {
	display: none;
}
.home-banner > div > div > div {
	margin-bottom: 5px;
}
body.home #content {
	padding-bottom: 0px;
}
body .wpb_content_element, ul.wpb_thumbnails-fluid > li, .last_toggle_el_margin, .wpb_button{
	margin-bottom: 10px;
}
.wpb_content_element.wpb_single_image img{
	margin: 10px 10px;
}
.wpb_content_element.logo2{
	margin-bottom: 0;
}
footer {
	min-height: 200px;
}
input[type="submit"] {
	background:#b2b8a5;
	padding:0.3em 2em;
	color:#412634;
	font-size: 1.1em;
	text-align: center;
	width: auto;
}
input[type="submit"],
form {
	font-family: 'minionpro-semibold', georgia, sans-serif;
}
textarea,
input {
	width:97%;
}
textarea {
	height:150px;
}
input,
textarea {
	border:1px solid #ccc;
	color:#412634;
	font-size:1.1em;
	font-family: 'minionpro-regular', georgia, sans-serif;
}
div span.wpcf7-not-valid-tip,
body div.wpcf7-response-output {
	border:none;	
	margin:0;
	padding:0.3em 0.5em;
	font-size:1em;
}
body div.wpcf7-mail-sent-ok {
	background:#83aa6d;
	color:white;
}
div.wpcf7-validation-errors {
	background:#caa736;
	color:white;
}
div span.wpcf7-not-valid-tip {
	background:#ca5a58;
	color:white;
	display: block;
	position: static;
	width: auto;
	
}
@media screen and (max-width: 960px){
	
	h1#logo {
		float: none;
		margin-left:auto;
		margin-right:auto;
	}
	.container {
		width:90%;
		padding:5%;
	}
	header,
	#content {
		width: 94%;
		padding:3%;
		margin:0px 0px 10px;
	}
	header nav {
		width: 100%;
		text-align: center;
		margin-top:0.5em;
	}
	header nav ul {
		margin:0px;
		padding:0px;
	}
	body .where-to-find.wpb_row img {
		max-width: 100%;
		position: static;
	}

}
@media screen and (max-width: 480px){

	.home-banner {
		display: none;
	}
	img {
		max-width: 100%;
	}
	header nav {
		margin-top:0px;
	}
	header nav ul li {
		display: block;
		list-style: none;
		margin:0px;
		padding:0.25em;
	}
	textarea,
	input {
		max-width:100%;
	}
	.wpb_content_element.wpb_single_image img {
		width: 100%;
	}

	
}
