/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/*MY CODE*/
* {
  text-decoration: none;
}

header {
  width: 100%;
  background-color: #fff;
}

header .header-brand {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

#logo {
  width: 95px;
  margin: 0 auto;
  /* align-items: center; */
  padding: 10px 0;
}

#text {
  width: 225px;
  margin: 0 auto;
  /* align-items: center; */
  padding: 10px 20px;
}

.sticky-nav {
  background-color: #fff;
  box-shadow: 0px 3px 6px #fff;
  height: 30px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 99;
}

nav ul {
  padding-top: 10px;
  display: block;
  margin: 10px auto;
  width: fit-content;
}

nav ul li {
  display: inline-block;
  float: left;
  list-style: none;
  position: relative;
}

nav ul li ul {
  display: none;
}

nav ul li a {
  padding: 7px 16px;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 600;
  color: #0B77BA;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}

#down-arrow {
  display: none;
}

@media only screen and (min-width: 1000px) {
  main {
    padding-top: 78px;
    padding-bottom: 160px;
  }

  header {
    position: fixed;
    height: 78px;
    box-shadow: 0px 3px 6px #fff;
    z-index: 99;
  }

  header .header-brand {
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 60%;
    position: absolute;
  }

  .logo-header .header-brand {
    float: left;
  }

  #logo {
    width: 50px;
    padding: 10px 0 10px 40px;
    margin: 0;
    float: left;
  }

  #text {
    height: 40px;
    padding: 20px 20px;
    margin: 0;
    float: left;
  }

  .sticky-nav {
    width: 100%;
    position: fixed;
    height: 0;
    float: right;
    margin-top: 7px;
    z-index: 99;
  }

  nav ul {
    padding-right: 10%;
    margin: 22px auto;
    padding-top: 0;
    float: right;
    display: inline-block;
  }

  nav ul li {
    position: relative;
    padding: 0 25px;
  }

  nav ul li a {
    padding: 5px 5px 0;
    display: table;
    border: 1px solid #F6ED24;
    border-spacing: 5px;
  }

  nav ul li ul {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0px 0px 4px 4px;
    display: block;
    margin: 0;
    /* hover effect for website*/
    height: 0px;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
    -webkit-transition: height 0.5s ease-in-out;
    -moz-transition: height 0.5s ease-in-out;
    -o-transition: height 0.5s ease-in-out;
  }

  nav ul li:hover ul {
    display: block;
    height: 115px;
    padding-top: 20px;
  }

  nav ul li ul li {
    width: 120px;
    border-radius: 4px;
  }

  nav ul li ul li a {
    padding: 10px 0;
    border: none;
  }

  nav ul li ul li:hover a {
    text-decoration: underline;
  }

  #down-arrow {
    display: block;
    width: 20px;
    margin: 6px auto;
  }
}

/* INDEX*/

.index-banner {
  width: 100%;
  height: 150px;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
}


.vertical-center {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 40px;
}

.vertical-center h1 {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  line-height: 20px;
  color: #F6ED24;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
}

.vertical-center h2 {
  font-family: Garamond;
  font-size: 14px;
  font-weight: 300;
  color: #F6ED24;
  text-align: center;
  line-height: 18px;
  margin-top: 20px;
  text-shadow: 1px 1px 1px #000;
}

.vertical-center h4 {
  font-family: Roboto;
  font-size: 10px;
  font-weight: 300;
  color: #F6ED24;
  text-align: center;
  line-height: 20px;
  text-shadow: 1px 1px 0.5px #000;
  padding-top: 5px;
}

.instruction p {
  font-family: Roboto;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  line-height: 5px;
  margin-top: 10px;
  color: #0B77BA;
  text-align: center;
}

/* PRODUCT LINKS IMAGES */
.product-links {
  padding-top: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.product-links-h3 {
  font-family: Garamond;
  font-size: 18px;
  font-weight: 600;
  color: #0B77BA;
  font-style: italic;
  margin-left: 15%;
  margin-bottom: 20px;
}

.link-text {
  display: none;
}

.product-link {
  width: 100%;
  margin: 20px;
  height: 175px;
}

.product-link-image {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.agriculture {
  background-image: url(img/agriculture.jpg);
}

.construction {
  background-image: url(img/construction.jpg);
}

.aquaculture {
  background-image: url(img/aquaculture.jpg);
}

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

  .index-banner {
    height: 260px;
  }

  .vertical-center {
    padding-top: 80px;
    width: 70%;
  }

  .vertical-center h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .vertical-center h2 {
    font-size: 18px;
    line-height: 22px;
    margin-top: 50px;
  }

  .vertical-center h4 {
    font-size: 12px;
    line-height: 20px;
  }

  .product-link {
    height: 200px;
  }
}

@media only screen and (min-width: 1000px) {
  .wrapper {
    width: 80%;
    margin: 0 auto;
  }

  .index-banner {
    height: 400px;
  }

  .vertical-center {
    padding-top: 140px;
    width: 70%;
  }

  .vertical-center h1 {
    font-size: 34px;
    line-height: 52px;
  }

  .vertical-center h2 {
    font-size: 24px;
    line-height: 36px;
    margin-top: 60px;
  }

  .vertical-center h4 {
    font-size: 18px;
    line-height: 20px;
  }

  .instruction p {
    font-size: 18px;
    line-height: 24px;
    margin-top: 120px;
  }

  .product-links-h3 {
    display: none;
  }

  /* ZOOM HOVER IMAGE EFFECT */
  .product-links {
    padding-top: 40px;
  }

  .product-link {
    height: 400px;
    overflow: hidden;
    position: relative;
    float: left;
    display: inline-block;
    cursor: pointer;
  }

  .product-link-image {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }

  /* PRODUCT LINKs IMAGES */
  .link-text {
    display: none;
    font-family: Garamond;
    font-size: 40px;
    font-weight: 600;
    color: #0B77BA;
    font-style: italic;
    text-align: center;
    margin: auto;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
  }

  .product-link:hover .product-link-image, .product-link:focus .product-link-image {
    transform: scale(1.1);
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
  }

  .product-link:hover .product-link-image:before, .product-link:focus .product-link-image:before {
    display: block;
  }

  .product-link:hover .link-text, .product-link:focus .link-text {
    display: block;
  }

  .product-link-image:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.75);
  }
}

/* FOOTER */
.footer-line {
  border-bottom: 1px solid #F6ED24;
  display: block;
  margin: 0 auto;
  width: 90%;
  margin-top: 20px;
}

footer {
  width: 100%;
  background-color: #fff;
  /* display: block; */
}

.quick-contact-footer {
  padding: 20px 0;
  width: 240px;
  height: auto;
  margin: 0 auto;
  position: relative;
}

.contact-info {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.contact-info h3 {
  padding-bottom: 5px;
  font-family: Garamond;
  font-size: 24px;
  font-weight: 300;
  color: #0B77BA;
  line-height: 30px;
}

.contact-info h4 {
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  color: #0B77BA;
  line-height: 30px;
  flex-basis: 20%;
}

.contact-info a {
  font-family: Roboto;
  font-size: 14px;
  font-weight: 300;
  color: #0B77BA;
  line-height: 30px;
  flex-shrink: 1;
  text-decoration: none;
  padding-left: 20px;
}

.footer-banner {
  display: none;
}

@media only screen and (min-width: 1000px) {
  .footer-line {
    display: none;
  }

  .contact-info {
    display: none;
  }

  .footer-banner {
    width: 100%;
    height: 400px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0) 100%), url('img/footer-image.jpg');
    background-image: -moz-linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0) 100%), url('img/footer-image.jpg');
    background-image: -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0) 100%), url('img/footer-image.jpg');
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: block;
  }
}
