/*! Generated by Fontspring (https://www.fontspring.com) on May 12, 2019 Fully installable fonts can be purchased at http://www.fontspring.com The fonts included in this stylesheet are subject to the End User License you purchased from Fontspring. The fonts are protected under domestic and international trademark and copyright law. You are prohibited from modifying, reverse engineering, duplicating, or distributing this font software. (c) 2010-2019 Fontspring */
@font-face { font-family: 'Amsi pro condlight'; src: url(/_assets/_fonts/amsipro/amsiprocond-light-webfont.woff2) format('woff2'), url(/_assets/_fonts/amsipro/amsiprocond-light-webfont.woff) format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amsi pro condbold'; src: url(/_assets/_fonts/amsipro/amsiprocond-bold-webfont.woff2) format('woff2'), url(/_assets/_fonts/amsipro/amsiprocond-bold-webfont.woff) format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/_assets/_fonts/opensans/opensans-regular.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-regular.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Semibold'), local('OpenSans-semibold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(/_assets/_fonts/opensans/opensans-light.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-light.woff) format('woff'); font-display: swap; }



/*****************

SPAR BASECAMP CSS

*****************/

body {
  background: url(gfx/background-inner.png) center 0px repeat-x;
}
header#global_intro h1 {
	font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, arial, sans-serif;
	font-size: 23px;
	letter-spacing: 0.01em;
	line-height: 1.1;
}
header#global_intro h1.global_intro_maori {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.25;
	margin-top: 5px;
	padding-bottom: 14px;
}
#wrapper {
  background: url(gfx/banner-inner.png) center 0px no-repeat;
}
.titleinner {
  background: url(gfx/title.png) 190px 50px no-repeat;
  margin-top: 0px;
  padding-top: 320px;
}
.titleinner img {
    display: none;
}
#title h1 {
    background: none;
    color: #597e9f;
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 50px;
    font-variant-ligatures: normal;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0 0 0 23px;
    padding: 5px 0 14px 0px;
    position: static;
    text-rendering: optimizeLegibility;
}
.titleinner h1 {
    margin-top: 0px;
}
#content h2 {
    border-bottom: 0;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 0;
    text-rendering: optimizeLegibility;
}
#content p + h2,
#content table + h2,
#content ul + h2,
#content ol + h2,
#content dl + h2,
#content form + h2 { margin-top: 35px; }
#content p,
#content ul,
#content ol,
#content table,
#content dl,
#content dt,
#content dd,
#content form,
#content fieldset,
#content legend,
#content label,
#content select,
#content option,
#content textarea,
#content input,
#right p,
#right li,
#right input {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
}
#content table td,
#content table td p {
    font-size: 15px;
    line-height: 1.6;
}
#content th,
#content td,
#right p,
#right li {
    font-size: 13px;
}
#right p,
#right ul {
    margin-bottom: 14px;
}
#content a {
    transition: all 0.3s ease-out;
}
#right {
    background: none;
}

/*  FRONTPAGE  */

body.frontpage {
    background: url(gfx/background.png) center 0px repeat-x;
}
body.frontpage #wrapper {
    background: url(gfx/banner.png) center 0px no-repeat;
}
body.frontpage .titleinner {
    background: url(gfx/title.png) 190px 95px no-repeat;
    padding-top: 430px;
}
body.frontpage #title h1.notopimage {
    max-width: 100%;
    padding-right: 0;
}
body.frontpage #content.otgx,
body.OTAGO719439 #content {
    box-sizing: border-box;
    width: 100%;
}
body.frontpage #content #box1 {
    margin-bottom: 28px;
}
body.frontpage #content #box1 p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}
body.frontpage #content article h3 {
    font-size: 18px;
}
body.frontpage #content article h3 a {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 15px;
    font-weight: 400;
}
body.frontpage #content .grid-quarter:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #content article {
    float: left;
    margin-right: 5.2%;
    width: 21%;
}
body.frontpage #content article img {
    max-width: 100%;
}
body.frontpage #content article a {
    border-bottom: none;
    display: block;
}
body.frontpage #content article:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #content .grid-quarter {
    transition: all 0.3s ease-out;
}
body.frontpage #content .grid-quarter h2 {
    border-bottom: none;
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 26px;
    font-weight: 700;
    hyphens: none;
    margin-left: 14px;
    margin-top: 0;
}
body.frontpage #content .grid-quarter:hover {
    transform: scale(0.99);
}
body.frontpage #content .grid-quarter h2:before {
    background: #f9c000;
    content: '';
    display: block;
    height: 3px;
    margin-bottom: 7px;
    margin-top: 14px;
    width: 37px;
}
body.frontpage #content .grid-quarter h2 a {
    border-bottom: none;
    display: block;
}


/* New styles */

#content.parent_grid-quarter, #content.parent_grid-third, #content.parent_grid-fifth, .OTAGO000801 #content #box2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.grid-quarter, .grid-third, .grid-fifth {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 3px;
  -webkit-box-shadow: 0 5px 14px #f5f5f5;
  box-shadow: 0 5px 14px #f5f5f5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 46px;
  -webkit-transition: -webkit-box-shadow 0.3s ease-out;
  transition: -webkit-box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
}
.grid-quarter:hover, .grid-third:hover, .grid-fifth:hover {
  -webkit-box-shadow: 0 0 4px #e4e4e4;
  box-shadow: 0 0 4px #e4e4e4;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in;
  transition: -webkit-box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in, -webkit-box-shadow 0.3s ease-in;
}
.grid-third {
  width: 29.8%;
  margin-right: 5.3%;
}
.grid-quarter {
  width: 21%;
  float: left;
  margin-right: 5.3%;
}
.grid-fifth {
  width: 17.9%;
  margin-right: 2.6%;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
#content .grid-quarter h3, #content .grid-third h3, #content .grid-fifth h3 {
  margin: 0 14px 7px 14px;
  font-family: "Amsi pro condbold", "Open sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.15;
}
#content .grid-quarter h3:after, #content .grid-third h3:after, #content .grid-fifth h3:after {
  content: '';
  width: 37px;
  height: 3px;
  display: block;
  background: #f9c000;
  margin-top: 7px;
}
#content .grid-quarter h3 a, #content .grid-third h3 a, #content .grid-fifth h3 a {
  display: block;
}
#content .grid-quarter p, #content .grid-third p, #content .grid-fifth p {
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
}
#content .grid-quarter p, #content .grid-fifth p {
  margin-bottom: 7px;
}
#content .grid-quarter p:not(:first-child), #content .grid-third p:not(:first-child), #content .grid-fifth p:not(:first-child) {
  margin: 0px 14px 14px 14px;
}
#content .grid-quarter img, #content .grid-third img, #content .grid-fifth img {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 100%;
  width: 100%;
  border-radius: 2px 2px 0 0;
}
#content .grid-quarter a, #content .grid-third a, #content .grid-fifth a {
  border-bottom: none;
}




/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    body.frontpage #wrapper {
        background: url(gfx/banner-inner.png) -180px 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/banner-inner.png) -200px 0px no-repeat;
    }
    .titleinner {
        padding-top: 310px;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    #content {
        background-size: 420px;
    }
    #contentwrapper {
        width: 879px;
    }
    body.frontpage #title h1.notopimage {
        max-width: 650px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage {
        background: none;
    }
    body.frontpage .titleinner {
        padding-top: 320px;
        background: url(gfx/title.png) 190px 55px no-repeat;
    }


    body.frontpage #content.otgx,
    body.frontpage #content {
        width: 650px;
    }
    body.frontpage #content .grid-quarter {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content .grid-quarter:nth-of-type(2n) {
        margin-right: 0;
    }

}

@media only screen and (max-width: 768px) {
    #wrapper {
        background-position: -400px 0;
        width: 753px;
    }
    .titleinner {
        padding-top: 325px;
        padding-bottom: 0;
        background: url(gfx/title.png) 190px 50px no-repeat;
    }
    body.frontpage #title h1 {
        width: auto;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.2;
    }
    body.frontpage {
        background: none;
    }
    body.frontpage #wrapper {
        background: url(gfx/banner-inner.png) -155px 0px no-repeat;
        background-size: 1200px;
    }
    body.frontpage .titleinner {
        padding-top: 250px;
        background: url(gfx/title.png) 202px 45px no-repeat;
        background-size: 350px;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
        font-size: 36px;
    }
    #content {
        background-size: 420px;
    }
    body.frontpage #content {
        padding-top: 0;
    }
    body.frontpage #content h2 {
        font-size: 24px;
    }
    body.frontpage #content.otgx {
        width: 418px;
    }

    body.frontpage #content.otgx,
    body.frontpage #content {
        width: 418px;
    }
        body.frontpage #content .grid-quarter {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content .grid-quarter:nth-of-type(2n) {
        margin-right: 0;
    }

    body.frontpage #content article {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content article:nth-of-type(2n) {
        margin-right: 0;
    }


}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
        width: 100%;
        background-position: -350px 0;
        background-size: 900px;
        background-repeat: repeat-x;
    }
    body.frontpage #wrapper {
        width: 100%;
        background-size: 1100px;
        background-position: -460px 0;
    }
    #content {
        background-size: contain;
    }
    body.frontpage #content {
        background: none;
    }
    .titleinner{
        background-position: -30px 10px;
        padding-top: 180px;
        width: 92%;
        background-size: 350px;
    }
    body.frontpage .titleinner {
        padding-top: 225px;
        background-size: 350px;
        background-position: -28px 35px;
    }
    #title h1 {
        font-size: 28px;
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
        font-size: 28px;
    }
    body.frontpage #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.frontpage #content.otgx {
        width: 97%;
    }
    body.frontpage #right {
        position: relative;
        top: 0;
    }
    body.frontpage #content.otgx,
    body.frontpage #content {
        width: 97%;
    }
    body.frontpage #content article {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #content .grid-quarter {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content .grid-quarter:nth-of-type(2n) {
        margin-right: 0;
    }
}
