/*
  Theme Name: Kauri Academy
  Description: Kauri Academy
  Version: 1.0.0
  Tags: Blank, HTML5, CSS3
  License: MIT
  License URI: http://opensource.org/licenses/mit-license.php
*/
/* typography */
html, body, input, textarea {
  font-size: 14px;
  line-height: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #56666e;
}

h1, h2, h3, h4, h5 {
  font-style: normal;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
}

h1 {
  font-size: 60px;
  line-height: 70px;
}

h2 {
  font-size: 40px;
  line-height: 50px;
}

h3 {
  font-size: 25px;
  line-height: 38px;
}

.purple-h4 h4 {
  color: #5147b2;
 font-weight: 600;
  margin-bottom: 0px;
}

h5 {
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 5px;
  font-weight: 500;
}

p {
  margin: 0 0 1.5em;
}

a {
  text-decoration: underline;
  color: #56666e;
  transition: 0.2s all linear;
}

a:hover {
  color: #ec7501;
  transition: 0.2s all linear;
}


strong {
  font-weight: 600;
}

ul {
  list-style-type: circle;
}

/* common */
.purple {
  color: #5147b2;
}

.btn {
  display: inline-block;
  line-height: 2.5;
  padding: 0.25em 2em;
  border: 1px solid;
  border-radius: 0.75em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  border-color: #b8b8b8;
}

.btn:hover {
  color: #fff;
  background: #ec7501;
  border: 1px solid #ec7501;
}

a.btn {
  text-decoration: none;
  color: inherit;
}

.btn.-inquire {
  border-color: #ec7501;
  color: #ec7501;
}

.btn.-enrol {
  background: #fff;
  border-color: #4da957;
  color: #4da957;
  position: relative;
}

.btn.-more-programme {
  background: #fff;
}

.btn.-enrol + .btn.-more-programme {
  margin-left: -2em;
  padding-left: 3em;
}

.btn.-inquire:hover, .btn.-enrol:hover, .btn.-more-programme:hover, #menu-main li:last-child a:hover {
  background-color: #ec7501;
  border-color: #ec7501;
  color: #fff !important;
}

/* layout */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* header */
header {
  display: flex;
  width: calc(100% * 10 / 12);
  padding: 2rem 0;
  position: absolute;
  z-index: 999;
}

header > div {
  width: 50%;
}

.header-logo img {
  width: calc(100% * 3 / 5);
  margin: 2% 0;
}

.home .header-logo img {
  margin: 0;
}

.header-menu {
  text-align: right;
}

#menu-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 12px;
}

#menu-main {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#menu-main a {
  text-decoration: none;
}

#menu-main li:last-child a {
display: inline-block;
    line-height: 2.5;
    padding: 0.25em 2em;
    border: 1px solid;
    border-radius: 0.75em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    border-color: #b8b8b8;
    border-color: #ec7501;
    color: #ec7501;
}

.-gray {
  background-color: #f9f9f9;
}

header.-home {
  position: absolute;
  top: 0;
  left: calc(100% * 1 / 12);
  z-index: 10;
}

/* home-hero */
.home-hero {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  background: #f9f9f9;
}

.home-hero > .hero-image {
  width: 55%;
  position: relative;
}

.home-hero > .hero-content {
  padding: 5rem 5rem 0 3rem;
  width: calc(50% * 5 / 6);
}

.hero-image > img.border {
  position: absolute;
  top: 0;
  right: -1px;
  height: 102%;
}

.hero-image > img:not(.border) {
  object-fit: cover;
  width: 100%;
  height: 50rem;
}

/* home-programmes */
#home-programmes {
  background: url(images/programme-image.png) no-repeat right 5rem;
  background-size: 60%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15rem;
  padding-bottom: 2rem;
}

#home-programmes > .programmes-intro {
  padding-bottom: 5rem;
  padding-left: calc(100% * 1 / 12);
  width: calc(100% * 6 / 12);
  align-self: flex-start;
}

.programmes-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: calc(100% * 6 / 7);
}

.programmes-list > .home-programme {
  width: calc(100% * 2 / 6 );
  padding: 2rem;
  margin-bottom: 5rem;
}

.programmes-list > .home-programme:nth-child(2) {
  width: calc(100% * 4 / 6);
  padding-right: calc(100% * 2 / 6 + 20px);
}

.programmes-list > .home-programme:nth-child(n+6) {
  background: #f9f9f9;
}

.home-programme h3:nth-world(2) {
  color: red;
}

.home-programme > .desc {
  min-height: 7.5rem;
}

/* cta-block */
.cta-block {
  text-align: center;
  padding: 8rem 20rem;
  width: 100%;
  background: #f9f9f9;
}

.cta-block > h2 {
  font-weight: normal;
}

/* why-nz */
.why-nz {
  width: 100%;
  padding: 5rem 0 0;
  display: flex;
  flex-wrap: wrap;
}

.why-intro {
  text-align: center;
  padding: 2rem;
  width: 100%;
}

.why-intro > h2 {
  font-weight: normal;
}

.why-reason {
  width: calc(100% * 1 / 4);
  height: 30rem;
  position: relative;
}

.why-reason > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.why-reason > h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 600;
  text-align: center;
  text-shadow: 0px 1px 4px #787878;
  width: 90%;
  font-size: 2vw;
  line-height: 3vw;
}

.why-reason > .reason-text {
  position: absolute;
  background: white;
  top: 3rem;
  right: 2rem;
  bottom: 3rem;
  left: 2rem;
  display: none;
  border-radius: 1em;
  padding: 3rem;
  line-height: 24px;
}

.why-reason:hover > .reason-text {
  display: flex;
}

.reason-text {
  align-items: center;
  padding: 1rem;
}

/* footer */
footer {
  width: 100%;
  padding: 2rem 3rem;
  color: white;
  background: linear-gradient(to right, #ffa802 0%,#cf9039 50%,#4da957 100%);
}

.footer-logo {
  border-bottom: 1px solid;
  padding-bottom: 1rem;
}

.footer-logo > img {
  width: calc(100% * 1 / 4);
  margin-left: -0.5rem;
}

.footer-text {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  line-height: 24px;
  align-items: flex-start;
}

.footer-text > p {
  width: calc(100% * 1 / 5);
}

.footer-text > .accreditation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.accreditation img {
  height: 100px;
  float: right;
}

.container {
    width: calc(100% * 6 / 8);
}

#prog-hero {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    margin-top: 115px;
    display: flex;
    align-items: center;
}

#prog-hero > div {
  padding-left: calc(100% * 1 / 12);
  width: calc(100% * 6 / 12);
}

#page-content img {
  width: 100%;
  height: auto;
}

#page-content, #prog-content {
  display: flex;
  justify-content: space-between;
  padding: 5rem 0;
}

#page-content.-top {
  padding: 5rem 0 0;
}

#page-content > div:first-child, #prog-content > div:first-child {
  width: 65%;
  margin-right: 10%;
}

#page-content.-form {
  padding: 4rem 8rem;
  margin-top: 2rem;
}
#page-content.-form > div:first-child {
  width: 100%;
}

#page-content.-contact > div {
  width: 50%;
  margin-right: 10%;
}


#facilities-content img {
  width: 100%;
}

hr {
    border-top: 1px solid #fffbfb;
    border-left: 0px;
}

#page-title {
    margin-top: 250px;
    padding-left: calc(100% * 1 / 12);
    width: calc(100% * 6 / 8);
    align-self: flex-start;
}

#page-title.subs {
  margin-top: 100px;
}

#image {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7rem;
}

.page-template .row > div {
  width: 45%;
  padding-right: calc(100% * 1 / 12);
}

.page-template .row:nth-child(even) {
  flex-direction: row-reverse;
} 

.page-template .row:nth-child(even) > div {
  width: 45%;
  padding-left: calc(100% * 1 / 12);
  padding-right: 0;
}

.row > img {
  width: 50%;
  height: 100%;
}

.row.reverse {
  flex-direction: row-reverse;
}

div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
  max-width: 80% !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
  font-size: 14px;
}

.wpforms-confirmation-container-full {
  color: inherit;
    margin: 0 0 24px 0;
    background: #fff;
    border: none;
    padding: 15px 15px;
}

div.wpforms-container-full .wpforms-form button[type=submit] {
      display: inline-block;
    line-height: 2.5;
    padding: 0.25em 2em;
    border: 1px solid;
    border-radius: 0.75em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
        border-color: #ec7501;
    color: #ec7501;
    background-color: #fff;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    color: #fff;
    background-color: #ec7501;
        border-color: #ec7501;
}


  .inquire .container iframe {
    display: inline-block;
    width: 49%;
}

.-mobile {
  display: none;
}

.wpforms-confirmation-container-full {
  background: none !important;
}

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

  .programmes-list > .home-programme,
  .programmes-list > .home-programme:nth-child(2) {
      width: calc(100% * 2 / 4 );
  }

  .programmes-list > .home-programme:nth-child(2) {
    padding-right: 0;
  }

  .why-reason {
    width: calc(100% * 1 / 2);
    height: 14rem;
  }

  .home-hero > .hero-content {
    width: 55%;
  }

  #home-programmes {
    background-size: 55%;
  }

  .cta-block {
    padding: 8rem 12rem;
  }

  footer {
    text-align: center;
  }

  .footer-text {
    display: block;
  }

  .footer-text > p {
    width: 100%;
  }

  .footer-text > .accreditation {
    justify-content: center;
	  display: grid;
  }


}

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

  #page-content:not(.-contact), #prog-content, .row {
    display: block;
  }

  #page-content > div:first-child, #prog-content > div:first-child, .row > img,
  .page-template .row > div, .page-template .row:nth-child(even) > div {
    width: 100%;
  }


  .row > img {
    margin-bottom: 50px;
  }

  .page-template .row > div {
    padding-right: calc(100% * 1/12) !important;
    padding-left: calc(100% * 1/12) !important;
  }

  #prog-hero > div {
    width: 100%;
  }

  .home-hero {
    display: block;
  }

  .home-hero > .hero-image,
  .home-hero > .hero-content {
    width: 100%;
  }

  .home-hero > .hero-content {
    padding: 5rem 5rem 3rem 3rem;
  }

  .hero-image > img:not(.border) {
    height: 30rem;
    object-position: top;
  }

  #home-programmes > .programmes-intro {
    width: calc(100% * 6 / 10);
  }

  header > div {
    width: 80%;
  }

  .-mobile {
    display: block;
  }

  #prog-hero > div {
    display: none;
  }

  .container {
    width: calc(100% * 6 / 7);
  }

}

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

  #page-content.-contact {
    display: block;
  }

  .inquire .container iframe {  
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
  }

  .why-reason {
    width: 100%;
  }

  .why-reason > h3 {
    font-size: 3.5vw;
    line-height: 4.5vw;
  } 

  .cta-block {
    padding: 8rem 4rem;
  }

  #page-content.-form {
      padding: 4rem 2rem;
  }

  #home-programmes > .programmes-intro, .programmes-list > .home-programme, .programmes-list > .home-programme:nth-child(2) {
    width: 100%;
    padding: 2rem;
  }

  .programmes-list > .home-programme {
    margin-bottom: 1rem;
  }

  #home-programmes {
    background: none;
    padding-top: 6rem;
  }

  .hero-content a {
    margin-bottom: 5px;
  }



}
