/*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in IE and iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  /* line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}
@charset "UTF-8";

/* Colours
==================================================
  Red: #A7191D
  Light Green: #76A835
  Dark Green: #313B10
  Orange: #EF9F19
  Grey: #636466
================================================== */

/* #Basic Styles
================================================== */
::-webkit-input-placeholder { color: black; }
:-ms-input-placeholder { color: black; }
::-moz-placeholder { color: black;opacity: 1; }
:-moz-placeholder { color: black;opacity: 1; }

body {
  background: white;
  font-size: 16px;
  line-height:21px;
  font-family: "Open Sans", "Arial", sans-serif;
  color: #636466;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  width:100%;
}

a, a:active { color:#313B10; }
a:visited { color:#76A835; }
a:hover, a:focus { color:#3A4B00; }

/* {{{ Header */
header {
  width:100%;
  /* max-width:1200px; */
  margin:0;
  padding: 20px 20px 10px;
  box-sizing: border-box;
  background-color: white;
  position: fixed;
  z-index: 999;
  top:0;
  box-shadow: 0 3px 10px 0 rgba(75, 79, 84, 0.3);
}
header .header-content {
  width:100%;
  max-width:1600px;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-logo {
  width:12%;
  height:3%;
  min-width: 200px;
  max-width: 232px;
}
#header-logo img { width:100%; }


#header-home-nav { display: block; text-align: center; }
@media only screen and (max-width: 800px) {
  #header-home-nav { display:none;}
}
#header-home-nav ul, #header-home-nav li {
  margin:0;
  padding:0;
  list-style-type: none;
}
#header-home-nav li {
  display: inline-block;
}
#header-home-nav a { text-decoration: none; font-weight: 700; color:#76A835;}
#header-home-nav a:hover, #header-home-nav a:focus { color:#F7941E; }
/* }}} Header */

/* {{{ Slide in Animations */
.slide-left, .slide-right, .slide-bottom {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  transition: all 500ms linear;
}
.slide-left {
  -moz-transform: translate3d(-90%, 0px, 0px);
  -webkit-transform: translate3d(-90%, 0px, 0px);
  -ms-transform: translate(-90%, 0px);
  transform: translate3d(-90%, 0px, 0px);
}
.slide-right {
  -moz-transform: translate3d(90%, 0px, 0px);
  -webkit-transform: translate3d(90%, 0px, 0px);
  -ms-transform: translate(90%, 0px);
  transform: translate3d(90%, 0px, 0px);
}
.slide-bottom {
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200px, 0px);
}
.slide-right.in-view,
.slide-left.in-view,
.slide-bottom.in-view
{
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}
/* }}} Slide in Animations */

/* {{{ Footer */
footer {
  clear:both;
  padding: 5px 0;
  font-size:12px;
  text-align:center;
}
/* }}} Footer */

#content404 { width: 100%; max-width: 1200px; margin: 140px auto 0; }

/* Use clearfix class on parent to clear nested columns */
.clearfix:before,
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.clearfix:after {  clear: both; }
.clearfix { zoom: 1; }
@charset "UTF-8";

/* Colours
==================================================
  Red: #A7191D
  Light Green: #76A835
  Dark Green: #313B10
  Orange: EF9F19
  Grey: #636466
================================================== */

/* {{{ Hero*/
#home-hero {
  width:100%;
  height: 100vh;
  margin:0 0 10px 0;
  position:relative;
}

/* {{{ background */
#home-hero .background {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-image: url('/assets/img/placeholder/2000x1200.png');
  background-size:cover;
  background-position:center center;
  opacity:0;

  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}
#home-hero .background.active {opacity:1;}
#home-hero .background.bg1 { background-image: url('/assets/img/home-hero/bg-1.jpg?v=2');}
#home-hero .background.bg2 { background-image: url('/assets/img/home-hero/bg-2.jpg?v=2');}
#home-hero .background.bg3 { background-image: url('/assets/img/home-hero/bg-3.jpg?v=2');}
#home-hero .background.bg4 { background-image: url('/assets/img/home-hero/bg-4.jpg?v=2');}
#home-hero .background.bg5 { background-image: url('/assets/img/home-hero/bg-5.jpg?v=2');}


#home-hero .background .credit {
    position: absolute;
    bottom: 120px;
    right: 10px;
    color: white;
    font-size: 12px;
    width: 150px;
    text-align: right;
    line-height: 14px;
}
@media only screen and (max-width: 800px) {
  #home-hero .background .credit { bottom: 200px; }
}
/* }}} background */

/* {{{ logo */
#hero-logo {
  z-index:99;
  position:absolute;
  top:102px;
  width:100%;
  height:50vh;
  text-align:center;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0.6+0,0+80 */
  background: -moz-linear-gradient(top,  rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,0.6) 0%,rgba(255,255,255,0) 80%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(255,255,255,0.6) 0%,rgba(255,255,255,0) 80%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}
#hero-logo img { width:40%; margin-top:5vh;}

@media only screen and (max-width: 800px) {
  #hero-logo img { width:60%;}
}
/* }}} logo */

/* {{{ message */
#home-hero .home-hero-message {
  position:absolute;
  width:100%;
  bottom:0px;
  z-index:99;
  padding-top:2em;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#313B10+0,313B10+100&0+0,1+50 */
  background: -moz-linear-gradient(top,  transparent 0%, rgba(86,109,43,1) 70%, rgba(86,109,43,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  transparent 0%,rgba(86,109,43,1) 70%,rgba(86,109,43,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  transparent 0%,rgba(86,109,43,1) 70%,rgba(86,109,43,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00313B10', endColorstr='#313B10',GradientType=0 ); /* IE6-9 */
}

@media only screen and (max-width: 600px) {
  #home-hero {height: 101vh;}
}
#home-hero h1, #home-hero h2 {
  text-align: center;
  color:white;
  z-index: 10;
}
#home-hero h1 {
  text-transform: uppercase;
  margin-top:0;
  font-size:	40px;
  margin: 20px 0 0;
  line-height: 42px;
}
#home-hero h2 {
  margin: .5em 0 1em;
  font-size:20px;
  line-height: 30px;
  font-weight:400;
}
/* }}} message */

/* }}} */

/* {{{ push-tiles */
#conent-push { margin: 0 0 10px 0; }
.push-tiles {
  width:100%;
  /*max-width:1600px;*/
  margin:0 auto;
  padding:0;
}

a.tile, div.tile {
  display:block;
  background-image: url('/assets/img/placeholder/2000x400.png');
  background-size: 101%;
  background-repeat:no-repeat;
  background-position:center center;
  color:white;
  float:left;
  width:100%;
  margin:0;
  padding:0 0 20% 0;
  position: relative;
  box-sizing: border-box;

  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
a.tile:hover { background-size: 111%; }

div.tile a { color:white; }
div.tile a:hover { color:#EF9F19; }

.tile.cols2 {
  width:50%;
  margin:0;
  padding:0 0 22.5% 0;
  background-image: url('/assets/img/placeholder/1000x450.png');
}

@media only screen and (max-width: 800px) {
    .tile {
      padding:0 0 30% 0;
      background-size: auto 101%;
      -moz-transition: all 0.3s ease-in-out;
      -webkit-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    }
    .tile:hover { background-size: auto 111%; }

  .tile.cols2 {
    width:100%;
    padding:0 0 45% 0;
  }
}

.tile .tile-content,
.tile.cols2 .tile-content {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  padding:4% 15% 0;
  text-align:center;
  /* background:rgba(58, 75, 0, .15); */
  background:rgba(0, 0, 0, .3);
}

.tile.cols2 .tile-content { padding:20px 10% 20px; display: flex; flex-direction: column; justify-content: center; }
.tile .tile-content h3 { font-size:36px; }
.tile .tile-content h3.img{ margin: 1em 0 .5em; }
.tile .tile-content h3.img img { width:80% }
.tile .tile-content h3.real-dirt-logo{ margin: 0.5em 0 .5em; }
.tile .tile-content h3.real-dirt-logo img { height: 120px; }
.tile .tile-content h3.farmphoto-logo img { width:50%; }
.tile .tile-content p { font-size:22px; }


.tile.about .tile-content p { font-size:18px; }
.tile.about .tile-content h3 { margin-top:0; }

@media only screen and (max-width: 1024px) {
  .tile .tile-content p { font-size:18px; }
  .tile .tile-content, .tile.cols2 .tile-content { padding:0 5% 0%; }
  .tile.about .tile-content h3 { margin-top:1em; }
  .tile .tile-content h3.real-dirt-logo img { height: 80px; }
}


@media only screen and (max-width: 800px) {
  .tile .tile-content h3 { font-size:24px; margin: 0.5em 0 0;}
  .tile .tile-content p { font-size:16px; margin: 0.5em 0 0;}
}

.push-tiles .farm-food{ background-image: url('/assets/img/tiles/farm-food.jpg'); }
.push-tiles .real-dirt{ background-image: url('/assets/img/tiles/real-dirt.jpg'); }
.push-tiles .did-you-know{ background-image: url('/assets/img/tiles/did-you-know.jpg'); }
.push-tiles .event-calendar{ background-image: url('/assets/img/tiles/event-calendar.jpg?v=20170617'); }
.push-tiles .farmphotos{ background-image: url('/assets/img/tiles/farm_photos_bg.jpg'); }
.push-tiles .event-resources{ background-image: url('/assets/img/tiles/event-resources.jpg'); }
.push-tiles .about{ background-image: url('/assets/img/tiles/about.jpg'); }
.push-tiles .contact{ background-image: url('/assets/img/tiles/contact.jpg?v=20170617'); }

.push-tiles .facebehind {
  width: 100%;
  background-image: url(/assets/img/tiles/faces-behind-food-v2.jpg);
  background-position: center 20%;
}

#conent-push .facebehind .tile-content {flex-direction: row; align-items: center; }
.tile .tile-content h3.img.facebehind-logo { margin: 1em 0 0; }
.tile .tile-content h3.img.facebehind-logo img {
  margin: 0 auto;
  display: block;
  max-height: 150px;
  object-fit: contain;
}

@media only screen and (max-width: 800px) {
  #conent-push .facebehind .tile-content {flex-direction: column; align-items: center; }
  .tile .tile-content h3.img.facebehind-logo img { max-height: 75px; }
}

/* }}} push-tiles */

/* {{{ provinces */
#provinces {
  overflow:hidden;
  width:100%;
  position: relative;

  background-image: url('/assets/img/province-row.jpg');
  background-size:cover;
  background-position:center center;

  margin:0 0 10px 0;
}
#provinces .overlay {
  background:rgba(58, 75, 0, .15);
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
#provinces h3 {
  color:white;
  position:absolute;
  top:70%;
  width:100%;
  text-align:center;
  font-size:50px;
  z-index:1;
}

.province {
  float:left;
  width:23%;
  margin:0 5%;
  text-align:center;
  position:relative;
}
.province img, .province h4  {
  -moz-transition: all .2s linear;
  -webkit-transition: all .2s linear;
  -ms-transition: all .2s linear;
  transition: all .2s linear;
}
.province img {
  max-height: 400px;
  margin: 30px 0;
}

.province a:hover img,
.province a:hover ~ h4 {
  transform: scale(.8, .8);
}

.province h4 {
  pointer-events: none;
  position:absolute;
  top:40%;
  width:100%;
  text-align:center;
  color:white;
  font-size:30px;
}

@media only screen and (max-width: 800px) {
  .province.pei {
    margin-top:-100px;
  }
  #provinces h3 {
    position:static;
    font-size:40px;
    margin: .5em 0 0;
  }
  .province {
    width:80%;
  }
}
/* }}} provinces */
