/* COLORS */
:root {
    --main-light-blue: #62cffc;
    --secondary-light-blue: #38c0f6;
    --main-extra-light-blue: #f4fcff;
    --secondary-extra-light-blue: #eaf9ff;
    --main-dark-blue: #003a70;
    --main-dark-blue-opacity: rgb(19, 58, 127, .4);
    --main-light-grey: #f6f6f6;
    --main-mid-grey: #b5b5b5;
    --main-dark-grey: #777777;
    --main-mid-red: #f91a49;
    --main-mid-green: #76bc21;
    --main-dark-green: #456d14;
    --main-mid-yellow: #ffc629;
    --main-white: white;
}

* {
    margin: auto;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

*:focus, *:active {
    outline: none;
}

body {
    overflow-x: hidden;
    background-color: var(--main-extra-light-blue);
}

.container {
    display: block;
    width: 100%;
    min-height: 100vh;
}

.row {
    width: 100%;
    padding: 0 15%;
}
[class*="col-"] {
    float: left;
}

.scoot-row {
    width: 100%;
    padding: 0 15%;
    display: table; /* Make the container element behave like a table */
}
.scoot-col {
    padding: 0 5%;
    display: table-cell; /* Make elements inside the container behave like table cells */
}
.scoot-col-less-padding {
    padding: 0;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
}
.flex-row::after {
    content: "";
    flex: auto;
  }
.flex-col {
    width: auto;
}

.grid-row-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, 33%);
    justify-content: space-between;
    grid-gap: 0.5%;
}

.col-5 {
    width: 5%;
}

.col-10 {
    width: 10%;
}

.col-12 {
    width: 12%;
}

.col-14 {
    width: 14%;
}

.col-15 {
    width: 15%;
}

.col-17 {
    width: 17%;
}

.col-18 {
    width: 18%;
}

.col-20 {
    width: 20%;
}

.col-22 {
    width: 22%;
}

.col-25 {
    width: 25%;
}

.col-26 {
    width: 26%;
}

.col-30 {
    width: 30%;
}

.col-31 {
    width: 31%;
}

.col-32 {
    width: 33%;
}

.col-33 {
    width: 33%;
}

.col-36 {
    width: 36%;
}

.col-40 {
    width: 40%;
}

.col-50 {
    width: 50%;
}

.col-60 {
    width: 60%;
}

.col-65 {
    width: 65%;
}

.col-70 {
    width: 70%;
}
.col-75 {
    width: 75%;
}
.col-80 {
    width: 80%;
}

.col-85 {
    width: 85%;
}

.col-88 {
    width: 88%;
}

.col-90 {
    width: 90%;
}

.col-95 {
    width: 95%;
}

.col-100 {
    width: 100%;
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
.text-left {
    text-align: left!important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right!important;
}
.text-top {
    vertical-align: top!important; /* Make sure this (span) is wrapped in a div not paragraph */
}
.bold {
    font-weight: bold;
}

.text-white {
    color: var(--main-white) !important;
}
.text-light-blue{
    color: var(--main-light-blue) !important;
}
.text-dark-blue{
    color: var(--main-dark-blue) !important;
}
.text-light-grey p, li {
    color: #9a9a9b;
}


button {
    padding: 0.6em 1.5em;
    border-radius: 0.3em;
    color: var(--main-light-blue);
    background-color: var(--main-white);
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
button:hover, button:focus, .btn-light-blue:hover, .btn-light-blue:focus {
    background-color: var(--main-dark-blue);
    color: var(--main-white);
}

h1, h2.homepage-banner {
    font-size: 3.5rem;
    color: var(--main-white);
    margin: 245px 15% 15px 20%; /* Top margin must be 140px or more */
    line-height: 1.1em;
    word-break: break-word;
}
h1.generic {
    color: var(--main-white);
    text-align: center;
    margin: 0px 5% 25px 5%; /* Top margin must be 140px or more */
}
h2 {
    font-size: 1.5rem;
    color: var(--main-dark-blue);
    margin: 60px 5% 30px 5%;
}
h1.section-header, h2.section-header, h3.section-header {
    font-size: 1.9rem;
    color: var(--main-dark-blue);
    margin: 0px 5% 15px 5%;
    text-align: center;
}
.section-preheader {
    text-align: center;
    margin: 60px 5% 0px 5%;
    color: var(--main-light-blue);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.3em;
}
.section-preheader.less-margin {
    margin: 10px 5% 0px 5%;
}
.section-subheader {
    text-align: center;
    margin: 0px 5% 15px 5%;
    color: var(--main-white);
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.3em;

}
h3 {
    font-size: 1.2rem;
    color: var(--main-light-blue);
    margin: 30px 5% 15px 5%;
}
h3.generic {
    color: var(--main-dark-blue);
    font-size: 1.2rem;
    font-weight: normal;
    height: auto;
    margin: 30px 5% 0px 5%;
}
h4, h5 {
    margin: 10px 5% 10px 5%;
}
h4.generic {
    margin: 30px 5% 0px 5%;
    color: var(--main-dark-blue);
}
p {
    margin: 20px 5%;
    color: var(--main-dark-grey);
    line-height: 1.3em;
}

a {
    color: var(--main-light-blue);
    text-decoration: none;
    font-weight: bold;
}
a.underlined {
    color: var(--main-light-blue);
    display: inline-block;
    font-weight: normal;
    padding: 0 2px 1px 2px;
    text-decoration: none;
    border-bottom: 1px solid var(--main-light-blue);
}
a.underlined:hover {
    border-bottom: 1px solid var(--main-dark-blue);
}
a:hover, a:focus {
    color: var(--main-dark-blue);
}


/* HEADER SECTION */
.header-container {
  position: relative;
}
.header {
    position: absolute;
    top:0px;
    left:0px;
    background-color: transparent;
    color: var(--main-white);
    max-height: 135px;
    padding-bottom: 5px;
    z-index: 100 !important;
}
.logo {
    width: 233px;
    padding-top: 30px;
}


/* HERO BANNER SECTION */
.banner-section {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height:100vh;
    padding-bottom: 10%;
    background-image: url("../img/Rural Manawatu ManawatuNZ-large.jpg");
    padding-bottom: 200px !important;
}
.banner-button-section {
    margin: 1em 20% 30px 20%;
    text-align: center;
    color: var(--main-white);
}
.banner-button {
    color: var(--main-white);
    background-color: var(--main-dark-blue);
    padding: 10px 16px !important;
    border-radius: 0.3em;
    font-weight: bold;
    border-bottom: 1px solid transparent !important;
    cursor: pointer;
}
    .banner-button:hover {
        color: var(--main-dark-blue);
        background-color: var(--main-white);
    }

.banner-pretext-generic {
    color: var(--main-white);
    text-align: center;
    margin: 215px 20% 15px 20%; /* Top margin must be 140px or more */
    font-size: 1.1rem;
}
.banner-subtext-generic {
    color: var(--main-white);
    text-align: center;
    margin: 0px 10% 30px 10%;
    font-size: 1.1rem;
}
.banner-subtext-generic a {
    color: var(--main-dark-blue);
    display: inline-block;
    font-weight: normal;
    padding: 0 2px 1px 2px;
    text-decoration: none;
    border-bottom: 1px solid var(--main-dark-blue);
}
.banner-subtext-generic a:hover, .banner-subtext-generic a:focus {
    color: var(--main-white);
    border-bottom: 1px solid var(--main-white);
}
.banner-subtext-generic-with-background-image a {
    color: var(--main-light-blue);
    border-bottom: 1px solid var(--main-light-blue);
}
.banner-subtext-generic-with-background-image a.text-white {
    color: var(--main-white);
    border-bottom: 1px solid var(--main-white);
}
.banner-subtext {
    color: var(--main-white);
    margin: 15px 0 30px 20%;
    font-size: 1.8rem;
    line-height: 1.3em;
}
.banner-small_print {
    color: var(--main-white);
    margin: 1em 0 100px 20%;
    font-size: 0.8rem;
}
