/*
Theme Name: NZ Digital
Author: NZ Digital
Author URI: http://nzdigital.co.nz/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Cera Pro";
  src: url("./assets/fonts/CeraPro-Regular/CeraPro-Regular.eot"),
    url("./assets/fonts/CeraPro-Regular/CeraPro-Regular.woff"),
    url("./assets/fonts/CeraPro-Regular/CeraPro-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cera Pro";
  src: url("./assets/fonts/CeraPro-Light/CeraPro-Light.eot"),
    url("./assets/fonts/CeraPro-Light/CeraPro-Light.woff"),
    url("./assets/fonts/CeraPro-Light/CeraPro-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Cera Pro";
  src: url("./assets/fonts/CeraPro-Bold/CeraPro-Bold.eot"),
    url("./assets/fonts/CeraPro-Bold/CeraPro-Bold.woff"),
    url("./assets/fonts/CeraPro-Bold/CeraPro-Bold.ttf");
  font-weight: 600;
  font-style: normal;
}

/* // Blocks */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

/* // Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

/* // List */
ul {
  list-style: none;
}

/* // Form */
button,
input,
select,
textarea {
  margin: 0;
}

/* // Box sizing */
html {
  box-sizing: border-box;
}

/* * {
  &,
  &::before,
  &::after {
    box-sizing: inherit;
  }
} */

/* // Media */
img,
video {
  height: auto;
  max-width: 100%;
}

/* // Iframe */
iframe {
  border: 0;
}

/* // Table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* td,
th {
  padding: 0;
  &:not([align]) {
    text-align: left;
  }
} */


.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 30px;
}

body {
  background-color: white;
  margin: auto;
}

.vc_row.vc_row-flex > .vc_column_container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 15px;
}

h1 {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: #203D51;
  line-height: 48px !important;
  text-align: left;
  padding-bottom: 17px!important;
}

h2 {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 25px !important;
  color: #203D51 !important;
  line-height: 48px !important;
  text-align: left;
  display: block;
}

h1.white {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: white;
  line-height: 48px !important;
  text-align: left;
  text-transform: uppercase;
}

.outline-text-white {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: #fff;
  -webkit-text-stroke-width: 1.2px;
  line-height: 48px !important;
  text-align: left;
  text-transform: uppercase;
}

h1.white-header {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: white;
  line-height: 51px !important;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  font-family: "Cera Pro";
    font-weight: bold;
    font-size: 19px;
    color: red;
    line-height: 4px;
    text-align: left;
    margin: 0px;
}

h3 {
  font-family: "Cera Pro";
  font-weight: bold!important;
  font-size: 19px!important;
  color: #203D51!important;
  line-height: 22px!important;
  text-align: left!important;
  margin: 0px!important;
  padding-bottom: 6px!important;
}

.outline-text-white-header {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: #fff;
  -webkit-text-stroke-width: 1.2px;
  line-height: 48px !important;
  text-align: center;
  text-transform: uppercase;
}

.outline-text-blue {
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 51px !important;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: #203D51;
  -webkit-text-stroke-width: 1.2px;
  line-height: 48px !important;
  text-align: center;
  text-transform: uppercase;
}

p {
  font-family: "Cera Pro";
  font-weight: normal;
  font-size: 15px;
  color: #203D51;
  line-height: 22px;
  text-align: left;
  padding-bottom: 15px!important;
}

p.phone a {
  font-family: "Cera Pro";
  font-weight: normal;
  font-size: 15px;
  color: white;
  text-decoration: none;
}

p.email a {
  font-family: "Cera Pro";
  font-weight: normal;
  font-size: 15px;
  color: white;
  text-decoration: none;
}

p.address {
  font-family: "Cera Pro";
  font-weight: normal;
  font-size: 15px;
  color: white;
  text-decoration: none;
}

p.phone a::before {
  content: url("/wp-content/uploads/icon-phone-20.svg");
  padding-right: 15px;
}

p.email a::before {
  content: url("/wp-content/uploads/icon-email-20.svg");
  padding-right: 15px;
}

p.address::before {
  content: url("/wp-content/uploads/icon-location-20.svg");
  padding-right: 15px;
}

a.line-link {
  font-family: "Cera Pro";
    font-weight: normal;
    font-size: 15px;
    color: #203D51;
    line-height: 28px;
    text-align: left;
    text-decoration: none;
}

a.line-link:hover {
    border-bottom: 1px solid #203D51;
    padding-bottom: 5px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s ease-out;
}

.blue-box-one {
  background-color: #203D51;
  padding: 60px 80px 60px 80px;
  position: relative;
  margin-bottom: -69px!important;
  z-index: 1;
}

.blue-box-two {
  background-color: #203D51;
  padding: 60px 80px 60px 80px;
  position: relative;
  margin-bottom: -69px!important;
  z-index: 1;
}

.button-white {
  background: transparent;
  color: #203D51;
  border: 1px solid #203D51;
  padding: 15px 30px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  margin: 10px 0px;
  font-size: 15px;
  font-family: 'Cera Pro';
}

.button-white:hover{
  background-color: #203D51;
  color: #fff;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.6s;
}

.header-icon {
  max-width: 100%;
}

.header-section-padding {
  padding-top:200px;
  padding-bottom:200px;
}

.header-sub-section-padding {
    padding-top: 190px;
    padding-bottom: 190px;
}

.full-image-section-padding {
  padding-top:350px;
  padding-bottom:350px;
}

.large-row-padding {
  padding-top: 85px !important;
  padding-bottom: 75px !important;
}

.reverse-row {
    display: flex;
}

.hide-on-desktop {
  display: none;
}

.overlap-row {
  margin-bottom: -200px;
}

.page-header-overlay {
  background-color: black;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: -830px;
  right: 0;
  bottom: 0;
  width: 340vw;
  height: 100vh;
  margin: auto;
}

.arrow {
  padding-top: 40px;
}

.arrow:hover {
  transform: translate(10px,0);
  transition: transform .2s ease-in-out;
}


/* GRAVITY FORMS  */

input {
  border: none!important;
  border-bottom: 1px solid #203D51!important;
}

body .gform_wrapper .top_label div.ginput_container {
  font-family: "Cera Pro";
}

.gform_wrapper textarea {
  border: none!important;
  border-bottom: 1px solid #203D51!important;
  border-radius: 0px!important;
  font-family: 'Cera Pro'!important;
  font-size: 13.5px!important;
  padding: 17px 4px!important;
}

@media only screen and (min-width: 641px) {
.gform_wrapper textarea.small {
  height: 52px!important;
  margin-top: 40px!important;
  }
}

@media only screen and (min-width: 641px) {
.gform_wrapper .top_label input.large {
  margin-bottom: 20px;
  }
}

#gform_wrapper_1 .gform_fields .gfield input::placeholder{ /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #203D51!important;
}

#gform_wrapper_1 textarea::placeholder {
  color: #203D51!important;
}

#gform_wrapper_1 input[type=text] {
  color: #203D51;
}

#gform_wrapper_2 .gform_fields .gfield input::placeholder{ /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff!important;
  opacity: 1; /* Firefox */
}

#gform_wrapper_2 .gform_fields .gfield input { 
  border-bottom: 1px solid #fff!important;
}

#gform_wrapper_2 input[type=text] {
  color: #fff;
}



/* GRAVITY FORMS */

h2.newsletter-text{
  font-family: "Cera Pro";
  font-weight: 600 !important;
  font-size: 25px !important;
  text-transform: uppercase;
  color: #fff !important;
  line-height: 48px !important;
  text-align: left;
  display: block;
}



/* LINE ANIMATION */

.hscroll-line {
  bottom: 118px;
  right: 40%;
  height: 1px;
  position: absolute;
  overflow: hidden;
  width: 20%;
  transform: rotate(90deg);
}

.hscroll-line::before,
.hscroll-line::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
}

.hscroll-line:before {
  background: #b6c2d2;
}

.hscroll-line::after {
  background: white;
  animation: move 3s infinite;
}

@keyframes move {
  0% {
    transform: translate3d(-200%, 0, 0);
  }
  60% {
    transform: translate3d(100%, 0, 0);
  }
  100% {
    transform: translate3d(100%, 0, 0);
  }
}


/* DESKTOP */

@media (max-width: 1150px) {
  .nav {
    width: calc(100% - 45px);
    padding: 30px 45px 15px 0px;
    position: fixed;
    z-index: 1;
  }
  h1 {
    font-size: 40px !important;
  }
  h1.white-header {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  .outline-text-white-header {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  .outline-text-blue {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  .outline-text-white {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  h1.white {
    font-size: 40px!important;
    line-height: 42px !important;
  }
}

@media (max-width: 950px) {
  .blue-box-one {
    padding: 50px 70px 70px 50px;
  }
}

@media (max-width: 950px) {
  .blue-box-two {
    padding: 50px 70px 70px 50px;
  }
}

@media (max-width: 835px) {
  .blue-box-one {
    padding: 40px 60px 60px 40px;
  }

  @media (max-width: 835px) {
    .blue-box-two {
      padding: 40px 60px 60px 40px;
    }

  .hscroll-line {
    bottom: 100px;
  }
}

/* IPAD */

@media (max-width: 768px) {
  h1 {
    font-size: 40px !important;
    line-height: 43px !important;
  }
  h1.white-header {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  .outline-text-white-header {
    font-size: 40px!important;
    line-height: 42px !important;
  }
  .outline-text-blue {
    font-size: 40px!important;
    line-height: 43px !important;
  }
  .outline-text-white {
    font-size: 40px!important;
    line-height: 43px !important;
  }
  h1.white {
    font-size: 40px!important;
    line-height: 43px !important;
  }
  .blue-box-one {
    padding: 50px 70px 70px 50px;
    margin-bottom: 24px!important;
  }
  .full-image-section-padding {
    padding-top: 290px;
    padding-bottom: 290px;
  }
  .hide-on-desktop {
    display: block;
  }
  .reverse-row {
    flex-direction: column-reverse;
  }
}

/* MOBILE */

@media (max-width: 550px) {
  h1 {
    font-size: 40px !important;
    line-height: 34px !important;
    margin-top: 0px !important;
  }
  h1.white-header {
    font-size: 34px!important;
    line-height: 35px !important;
    text-align: left;
  }
  .outline-text-white-header {
    font-size: 34px!important;
    line-height: 35px !important;
    text-align: left;
  }
  .nav {
    display: grid;
    position: absolute;
  }
  .nav__logo {
    float: none;
    height: 40px;
    margin: 0 auto;
  }
  .nav__menu {
    padding-top: 40px;
    float: none;
    margin: 0 auto;
  }
  .hscroll-line {
    bottom: 80px;
  }
  .full-image-section-padding {
    padding-top: 200px;
    padding-bottom: 200px;
  }
  .header-sub-section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .header-section-padding {
    padding-top:100px;
    padding-bottom:100px;
  }
  .header-icon {
    max-width: 60px;
  }
  .blue-box-one {
    padding: 50px 50px 45px 25px;
    margin-bottom: 24px!important;
    }
    .blue-box-two {
      padding: 50px 50px 45px 25px;
      margin-bottom: -55px!important;
    }
  }

  @media (max-width: 410px) {
    .outline-text-white {
      font-size: 35px!important;
    }
    h1.white {
      font-size: 35px!important;
    }
  }
}

