/*
* Theme Name: Base 2026
* Author: Tracta
* Author URI: https://tracta.co.nz
* Description: Wordpress theme designed and developed by Tracta.
* Text Domain: tracta_theme
* © Tracta Ltd. All rights reserved.
* Version: 2.0.0
*/

/*
==================================
BASE							   
==================================
*/

@font-face {
  font-family: 'IPF SOIL';
  src:
    url('./assets/fonts/IPFSOILRegular.woff2') format('woff2'),
    url('./assets/fonts/IPFSOILRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background-color: #ffffff;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

html.menu-open,
html.lightbox-open {
  overflow-y: hidden;
}

body {
  position: relative;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

header,
main,
footer,
section,
article {
  position: relative;
  float: left;
  clear: both;
  width: 100%;
}

.container-fluid {
  position: relative;
  width: 100%;
  height: 100%;
}

.container {
  max-width: 100%;
  height: 100%;
  padding-left: 50px;
  padding-right: 50px;
  margin: 0 auto;
}

.container-inner {
  max-width: 1180px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 auto;
  position: relative;
}

/*
==================================
FONT STYLES						   
==================================
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-family: 'IPF SOIL', sans-serif;
  font-weight: 100;
  font-style: normal;
  letter-spacing: 0px;
  text-transform: uppercase;
  margin: 0;
  -webkit-margin-before: 0;
  margin-block-start: 0;
  -webkit-margin-after: 0;
  margin-block-end: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: 0;
  margin-inline-end: 0;
}

h1 {
  font-size: 140px;
  line-height: 0.85;
}

h2 {
  font-size: 54px;
  line-height: 0.85;
}

h3 {
  font-size: 32px;
  line-height: 0.85;
}

h4 {
  font-size: 22px;
  line-height: 0.85;
}

h5 {
  font-size: 20px;
  line-height: 0.85;
}

h6 {
  font-size: 18px;
  line-height: 0.85;
}

body,
p,
a,
p a span,
ul,
ol,
ul li,
ol li,
span,
label,
em,
p em,
a em,
p a span em,
ul em,
ol em,
ul li em,
ol li em,
span em,
table,
tr,
td {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-style: normal;
}

em,
p em,
a em,
p a span em,
ul em,
ol em,
ul li em,
ol li em,
span em {
  font-style: italic;
}

p {
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.5px;
  padding-bottom: 24px;
  -webkit-margin-before: 0;
  margin-block-start: 0;
  -webkit-margin-after: 0;
  margin-block-end: 0;
}

p a {
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

ul {
  -webkit-margin-before: 0;
  margin-block-start: 0;
  -webkit-margin-after: 0;
  margin-block-end: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: 0;
  margin-inline-end: 0;
  -webkit-padding-start: 0;
  padding-inline-start: 0;
}

ul li a,
ol li a {
  color: #000000;
}

p a:hover,
ul li a:hover,
ol li a:hover {
  color: #000000;
}

strong,
p strong,
p strong a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  text-decoration: none;
}

sup {
  font-size: 65%;
  top: -0.4em;
}

/*
==================================
HEADER STYLES						   
==================================
*/

header {
  position: absolute;
  z-index: 9999;
  padding: 20px 0;
}

header .menu-col {
  height: 70px;
  line-height: 70px;
  flex-grow: 1;
}

header .menu-col a.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header #menu-main-navigation {
  text-align: center;
}

header #menu-main-navigation li {
  margin: 0 15px;
}

header .menu-col a.logo img {
  max-height: 70px;
}

header .menu-col:nth-of-type(2) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

ul.nav-menu li a {
  color: #000000;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  position: relative;
}

ul.nav-menu li a::before {
  content: ' ';
  display: block;
  width: 100%;
  height: 2px;
  background-color: transparent;
  position: absolute;
  top: -5px;
  -webkit-transition: background-color ease-in-out 250ms;
  -o-transition: background-color ease-in-out 250ms;
  transition: background-color ease-in-out 250ms;
}

ul.nav-menu li.current_page_item a {
  font-weight: 600;
}

ul.nav-menu li a:hover::before,
ul.nav-menu li.current_page_item a::before {
  background-color: #c3dd89;
}

ul.nav-menu li.sugar a:hover::before,
ul.nav-menu li.current_page_item.sugar a::before {
  background-color: #c3dd89;
}

ul.nav-menu li.hort a:hover::before,
ul.nav-menu li.current_page_item.hort a::before {
  background-color: #802b7c;
}

ul.nav-menu li.sugar a:hover::before,
ul.nav-menu li.current_page_item.sugar a::before {
  background-color: #8cc63f;
}

header .menu-col:nth-of-type(3) {
  display: none;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* -- Mobile Menu -- */

nav#mobile-menu {
  display: block;
  width: 400px;
  height: 100%;
  position: absolute;
  z-index: 9998;
  background-color: #383436;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  will-change: transform;
  -webkit-transition: -webkit-transform ease-in-out 250ms;
  transition: -webkit-transform ease-in-out 250ms;
  -o-transition: transform ease-in-out 250ms;
  transition: transform ease-in-out 250ms;
  transition:
    transform ease-in-out 250ms,
    -webkit-transform ease-in-out 250ms;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

html.menu-open nav#mobile-menu {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
}

nav#mobile-menu .mobile-menu-inner {
  padding: 150px 50px 0 50px;
}

nav#mobile-menu .mobile-menu-inner ul {
  list-style-type: none;
}

nav#mobile-menu .mobile-menu-inner ul li {
  margin-bottom: 20px;
}

nav#mobile-menu .mobile-menu-inner ul li a {
  color: #ffffff;
}

#mobile-menu-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

#mobile-menu-button .menu-text {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 100;
  line-height: 18px;
  padding-right: 10px;
  margin-top: 2px;
  -webkit-transition: color ease-in-out 250ms;
  -o-transition: color ease-in-out 250ms;
  transition: color ease-in-out 250ms;
}

html.menu-open #mobile-menu-button .menu-text {
  color: #ffffff;
}

#mobile-menu-button .burger-wrap span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px 0;
  background-color: #fff;
  -webkit-transition:
    background-color ease-in-out 250ms,
    width ease-in-out 250ms,
    -webkit-transform ease-in-out 250ms;
  transition:
    background-color ease-in-out 250ms,
    width ease-in-out 250ms,
    -webkit-transform ease-in-out 250ms;
  -o-transition:
    background-color ease-in-out 250ms,
    width ease-in-out 250ms,
    transform ease-in-out 250ms;
  transition:
    background-color ease-in-out 250ms,
    width ease-in-out 250ms,
    transform ease-in-out 250ms;
  transition:
    background-color ease-in-out 250ms,
    width ease-in-out 250ms,
    transform ease-in-out 250ms,
    -webkit-transform ease-in-out 250ms;
  -webkit-transform-origin: center top;
  -ms-transform-origin: center top;
  transform-origin: center top;
  -webkit-user-select: none;
  user-select: none;
}

#mobile-menu-button .burger-wrap span:first-of-type {
  margin-top: 0;
}

#mobile-menu-button .burger-wrap span:last-of-type {
  margin-bottom: 0;
}

html.menu-open header #mobile-menu-button .burger-wrap span {
  background-color: transparent;
}

html.menu-open #mobile-menu-button .burger-wrap span:first-of-type {
  width: 30px;
  background-color: #ffffff;
  margin: 0;
  -webkit-transform: translate(0px, 8px) rotate(45deg);
  -ms-transform: translate(0px, 8px) rotate(45deg);
  transform: translate(0px, 8px) rotate(45deg);
}

html.menu-open #mobile-menu-button .burger-wrap span:last-of-type {
  width: 30px;
  background-color: #ffffff;
  margin: 0;
  -webkit-transform: translate(-1px, -8px) rotate(-45deg);
  -ms-transform: translate(-1px, -8px) rotate(-45deg);
  transform: translate(-1px, -8px) rotate(-45deg);
}

/* -- Mobile Menu End -- */

/*
==================================
GENERAL STYLES				
==================================
*/

:focus {
  outline: none !important;
}

a.btn {
  display: inline-block;
  color: #000000;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid #000000;
  padding: 12px 35px;
  border-radius: 4px;
  font-weight: 600;
  -webkit-transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
  -o-transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
  transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
}

a.btn:hover {
  color: #ffffff;
  background-color: #000000;
}

a.btn.green {
  color: #ffffff;
  border-color: rgba(120, 163, 52, 1);
  background-color: rgba(120, 163, 52, 1);
}

a.btn.green:hover {
  border-color: rgba(120, 163, 52, 0.8);
  background-color: rgba(120, 163, 52, 0.8);
}

a.btn.alt-green {
  color: rgba(120, 163, 52, 1);
  border-color: rgba(120, 163, 52, 1);
  background-color: transparent;
}

a.btn.alt-green:hover {
  color: #ffffff;
  background-color: rgba(120, 163, 52, 1);
}

a.btn.purple {
  color: #ffffff;
  border-color: rgba(128, 43, 124, 1);
  background-color: rgba(128, 43, 124, 1);
}

a.btn.purple:hover {
  border-color: rgba(128, 43, 124, 0.8);
  background-color: rgba(128, 43, 124, 0.8);
}

a.btn.alt-purple:hover {
  color: #ffffff;
  border-color: rgba(128, 43, 124, 0.8);
  background-color: rgba(128, 43, 124, 0.8);
}

/* -- Lightbox Styles -- */

.html5-image {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  scrollbar-width: auto;
  scrollbar-color: #888888 #f5f5f5; /* scroll thumb and track */
}

.html5-image::-webkit-scrollbar {
  width: 5px !important;
}

.html5-image::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.html5-image::-webkit-scrollbar-thumb {
  background-color: #888888;
  border-radius: 0;
  border: none;
}

/* -- Lightbox Styles End -- */

/* -- Form Styles -- */

.wpcf7-spinner {
  margin: 10px 24px 0;
}

form .form-section,
form .form-row {
  display: block;
  width: 100%;
  float: left;
  position: relative;
  clear: both;
}

form .form-row {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

form .form-column {
  position: relative;
  width: 50%;
  float: left;
  text-align: left;
}

form .form-row.full-row div.form-column {
  width: 100%;
}

form .form-row div.form-column > label span {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 5px 10px;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
  padding: 14px;
  border-bottom: none;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

form .form-column .wpcf7-form-control-wrap {
  margin: 0 0 0 10px;
}

form .form-column:first-of-type .wpcf7-form-control-wrap {
  margin: 0 10px 0 0;
}

.popup-form-container .form-column.privacy .wpcf7-form-control-wrap {
  text-align: left;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  margin: 0;
  padding: 0;
}

.popup-form-container .form-column.privacy .wpcf7-form-control-wrap .wpcf7-list-item {
  margin: 0;
}

form .form-column input {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  background-color: transparent;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}

form .form-column input,
form .form-column select {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000000;
  background-color: transparent;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}

.popup-form-container .form-column.privacy label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.popup-form-container .form-column.privacy input {
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}

.popup-form-container .form-column.privacy label .wpcf7-list-item-label {
  color: #000000;
  font-size: 18px;
  padding-left: 10px;
}

.popup-form-container .form-column.privacy label .wpcf7-list-item-label a {
  color: #000000;
  text-decoration: underline;
}

form .form-column input::-webkit-input-placeholder {
  color: #000000;
  font-weight: 300;
}

form .form-column input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000000;
  font-weight: 300;
}

form .form-column input::-moz-placeholder {
  color: #000000;
  font-weight: 300;
}

form .form-column input::-ms-input-placeholder {
  color: #000000;
  font-weight: 300;
}

form .form-column input::placeholder {
  color: #000000;
  font-weight: 300;
}

.form-row.submit {
  margin-top: 30px;
}

form .submit input[type='submit'] {
  display: block;
  width: auto;
  margin: auto;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid #ffffff;
  padding: 12px 35px;
  border-radius: 4px;
  font-weight: 600;
  -webkit-transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
  -o-transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
  transition:
    background-color ease-in-out 250ms,
    color ease-in-out 250ms,
    border-color ease-in-out 250ms;
}

form .submit input[type='submit']:hover {
  color: #ffffff;
  border-color: #78a334;
  background-color: #78a334;
}

form div.wpcf7 .ajax-loader {
  display: inline-block;
}

form .form-row div.form-column span.wpcf7-not-valid-tip {
  color: #ff0000;
  display: block;
  font-size: 12px;
  margin: 0;
  position: absolute;
  bottom: -20px;
  background-color: transparent;
}

.wpcf7 form.sent .wpcf7-response-output {
  font-family: 'Open Sans', sans-serif;
  color: #ffffff;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  max-width: 550px;
  background-color: #78a334;
  border-color: #78a334;
  margin: 50px auto 0;
  float: none;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

form.invalid .wpcf7-response-output {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  background-color: transparent;
  margin: 0 auto;
  padding: 0 30px 30px;
  border: none !important;
  width: 100%;
  display: block;
  border-radius: none;
}

form.wpcf7-form.sent .form-container {
  display: none;
}

form.wpcf7 form.sent .wpcf7-response-output {
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
  border-color: transparent;
  float: none;
  margin: 0;
  padding: 0;
}

/* -- Form Styles End -- */

/* -- ERROR 404 Styles -- */

section.error {
  text-align: center;
  padding-top: calc((100vh / 2) - 80px);
}

.error-content h1,
.error-content p {
  color: #000000;
}

.error-content p a.btn {
  display: inline-block;
  margin-top: 30px;
}

/* -- Error 404 Styles End-- */

/* -- Footer Styles -- */

.footer-content-inner {
  margin: 60px auto;
}

.footer-content-inner:after {
  content: ' ';
  display: block;
  width: 50px;
  height: 56px;
  background-image: url(./assets/img/ipf-fertcare-logo-dark.png);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: -65px;
  right: auto;
  bottom: auto;
}

.footer-content p {
  color: #707070;
  font-size: 14px;
  line-height: 1.15;
}

.footer-content p:last-of-type {
  padding-bottom: 0;
}

/*
==================================
RESPONSIVE STYLES				
==================================
*/

@media all and (max-width: 1679px) {
}

@media all and (max-width: 1600px) {
  /*aligned with div.container */
  p.false-header {
    margin-bottom: 0;
  }
}

@media all and (max-width: 1440px) {
  h1 {
    font-size: 120px;
  }
}

@media all and (max-width: 1280px) {
  h1 {
    font-size: 100px;
  }

  h2 {
    font-size: 44px;
  }
}

@media all and (max-width: 1279px) {
  .footer-content p {
    padding-left: 70px;
  }

  .footer-content-inner:after {
    left: 0;
  }
}

@media all and (max-width: 1024px) {
  div.container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media all and (max-width: 1023px) {
  h1 {
    font-size: 80px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }

  a.btn {
    font-size: 16px;
  }

  form.invalid .wpcf7-response-output {
    font-size: 16px;
  }
}

@media all and (max-width: 768px) {
  form .form-row {
    margin-bottom: 0;
  }

  form .form-column {
    width: 100%;
    margin-bottom: 20px;
  }

  form .form-column .wpcf7-form-control-wrap,
  form .form-column:first-of-type .wpcf7-form-control-wrap {
    margin: 0;
  }

  form .form-column label {
    left: 0;
  }

  form .wpcf7-list-item.first,
  form .wpcf7-list-item,
  form .wpcf7-list-item.last {
    margin: 0 0 10px;
    width: 100%;
  }

  .wpcf7-form-control-wrap {
    background-color: rgba(255, 255, 255, 0.85);
  }
}

@media all and (max-width: 767px) {
  div.container {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 70px;
  }

  h3 {
    font-size: 24px;
  }

  article.page-content {
    background-color: #f9f4f8;
  }

  nav#mobile-menu .mobile-menu-inner {
    padding: 150px 30px 0 30px;
  }

  .footer-content-inner:after {
    top: 0;
    bottom: auto;
  }

  .footer-content p {
    font-size: 12px;
    padding-left: 0;
  }

  .footer-content-inner:after {
    display: none;
  }

  .footer-content-inner {
    margin: 40px auto;
  }
}

@media all and (max-width: 550px) {
  nav#mobile-menu {
    width: 100%;
  }
}

@media all and (max-width: 413px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 30px;
  }

  header .menu-col a.logo img {
    max-height: 60px;
  }
}

@media all and (orientation: landscape) and (max-height: 500px) {
  nav#mobile-menu {
    overflow-y: scroll;
  }

  nav#mobile-menu .mobile-menu-inner {
    height: 100%;
  }
}
