/*! 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; }

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

Hands on at Otago BASECAMP+ CSS

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

body {
    text-rendering: optimizeLegibility;
    background: url(gfx/background.png) 0 0 repeat-x;
}
header#global_intro h1 {
	font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, 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;
}
#title h1 {
    background: url(gfx/title@2x.png) 24px 145px no-repeat;
    background-size: 300px;
    color: #00508F;
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
	font-size: 60px;
    letter-spacing: -0.01em;
	line-height: 1;
	max-width: 100%;
    opacity: 1;
    padding: 420px 43px 28px 23px;
    position: static;   
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    max-width: 100%;
}

.titleinner img {
    display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#wrapper {
    background: url(gfx/banner-2021.jpg) right 0px no-repeat; 
}
#content {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}
#content h2 {
	border-bottom: none;
    border-top : 5px dotted #dddddd;
    color: #1269b6;
	font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
	font-size: 42px;
	line-height: 1.15;
    margin-bottom: 21px;
    margin-top: 0;
	padding-bottom: 0;
	padding-top: 28px;
	text-rendering: optimizeLegibility;
}
#content p + h2,
#content ul + h2,
#content ol + h2,
#content table + h2,
#content dl + h2,
#content form + h2,
#content div + h2,
#content p + h2:first-of-type {
	margin-top: 42px;
}
#content > .grid4:first-of-type > h2 {
    border-top: 0;
    padding-top: 0;
}
#content h3 {
  color: #1F4A8C;
  font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  line-height: 1.3;
  margin-top: 21px;
  margin-bottom: 14px;
  font-size: 24px;
}
#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;
    font-size: 16px;
    line-height: 1.55; 
}
#content table td,
#content table td p,
#content table td li {
    font-size: 13px;
    line-height: 1.5;
}
#content ul {
    margin-left: 16px;
}
#content ul li {
    margin-bottom: 4px;
}
#content p img {
    border: 0;
    padding: 0;
}
#content .content-button.content-next a {
    border-radius: 20px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 700;
    margin-top: 7px;
    padding-right: 35px;
}
#content ul,
#content li,
#right ul li {
	margin-left: 7px;
	list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 16px;
    padding-bottom: 8px;
}

/* 4 grid layout */

body.frontpage #content,
#content .grid4 {
    box-sizing: border-box;
    float: none;
    max-width: 100%;
    width: 100%;
}
body.frontpage #content .grid1,
#content .grid4 .grid1 {
    width: 186px;
    margin-bottom: 14px;
}
#content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
#content .grid4 .grid1 h2 {
    font-size: 21px;
    border-bottom: none;
    margin-bottom: 7px;
}
#content .grid4 .grid1 a {
    border-bottom: none;
}
#content .grid4 .grid1 p img {
    padding: 0;
    margin: 0;
    border: none;
}
#content .grid4 .grid1 img {
    max-width: 100%;
    margin-bottom: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 0 0px #ffffff;
}
#content .grid4 .grid1 img:hover {
    box-shadow: 0 0 20px #cccccc;
}
#content .grid4 .grid1:before {
    content: "";
    display: block;
    width: 0%;
    height: 5px;
    background: none;
    top: 0;
    left: 0;
    z-index: 100;
    position: absolute;
    transition: all 0.4s ease;
}
#content .grid4 .grid1:hover:before {
    width: 100%;
    background: #4a6ebf;
}
.OTAGO088027 #content .grid4 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 21px;
}
.OTAGO088027 #content .grid4 .grid1 {
    box-shadow: 0 0 10px #e4e4e4;
    padding: 7px;
    margin-bottom: 35px;
    box-sizing: border-box;
    min-height: auto;
    border: 1px solid #dddddd;
    border-radius: 3px;
    width: 21%;
    margin-right: 5.3%;
}
#content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
.OTAGO088027 #content .grid4 h2 {
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    margin-bottom: 10px;
}
.OTAGO088027 #right {
    float: none;
    clear: both;
    padding-left: 0;
    background: none;
}

/*--------------------------

Frontpage

*/

body.frontpage #title h1 {
    font-size: 65px;
}
body.frontpage #content {
    box-sizing: border-box;
/*     display: flex; */
    flex-wrap: wrap;
    width: 100%;
}
body.frontpage #content h2 {
    font-size: 36px;
    width: 100%;
}
body.frontpage #content .grid4:nth-of-type(2) {
    margin-top: 42px;
}
/* body.frontpage #content p a {
    border-bottom: none;
} */
body.frontpage #content a.call-to-action {
    background: #078cdb;
    border: 1px solid #078cdb;
    border-radius: 20px;
    color: white;
    display: inline-block;
    margin-bottom: 14px;
    margin-top: 14px;
    padding: 5px 15px;
    transition: all 0.2s ease-out;
}
/* body.frontpage #content a:hover {
    background: #f5f5f5;
    color: #078cdb;
} */
body.frontpage #content .grid_third {
    margin-bottom: 46px;
    margin-right: 7%;
    margin-top: 14px;
    width: 28.5%;
}
/* body.frontpage #content p.caption232 {
    border-bottom: none;
    margin: 0px;
    clear: both;
    display: block;
    float: none;
    background: red;
    width: 400px;
} */
body.frontpage #content .logo img {
    display: block;
    float: none;
    margin: 0 0 10px 0;
}
body.frontpage #content .logo {
    padding-top: 20px;
    width: 300px;
}
body.frontpage #content .logo p {
   font-size: 13px;
}

/* RIGHT */

#right {
    background-size: 26px 100%;
}
body.OTAGO089015 #right,
body.OTAGO089016 #right,
body.OTAGO089017 #right {
    float: none;
    clear: both;
    padding-left: 0;
    background: none;
}


/*  FRONTPAGE  */

body.frontpage .notice {
    margin-bottom: 21px;
}
body.frontpage #content .grid4 .grid1 {
    width: 21%;
    margin-right: 5.3%;
}
body.frontpage #content .grid4 .grid1 {
    margin-bottom: 35px;
}
body.frontpage #content .grid4 .grid1 p {
    margin-bottom: 0;
}
body.frontpage #content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #right {
    float: none;
    clear: both;
    padding-left: 0;
}
/* body.frontpage #content .content-button a {
    display:block;
} */
    
 /* Tablet styles */
    
    @media only screen and (min-width: 769px) and (max-width: 1024px) {
    #wrapper {
        background-position: -300px 30px;
    }
    #features {
        width: 650px;
    }
    #content .grid4 .grid1:nth-of-type(4n) {
        margin-right: 46px;
    }
    #content .grid4 .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
    body.frontpage #content .grid4 .grid1 {
        width: 20.5%;
    }
    .OTAGO088027 #content .grid4 .grid1 {
        margin-right: 4%;
    }
}
@media only screen and (max-width: 1830px) {
	#wrapper {
        background-position: 400px 0px;
    }
@media only screen and (max-width: 1530px) {
	#wrapper {
        background-position: 200px 0px;
    }
@media only screen and (max-width: 1250px) {
	#wrapper {
        background-position: 50px 0px;
    }

@media only screen and (max-width: 1100px) {
	#wrapper {
        background-position: 150px 30px;
        background-size: 1000px;
    }
    body {
        background: none;
    }
    #title h1 {
        padding-right: 0;
        padding-top: 300px
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
/*     #content .grid4 .grid1:nth-of-type(4n) {
       margin-right: 46px;
    }
    #content .grid4 .grid1:nth-of-type(2n) {
       margin-right: 0;
    } */
     body.frontpage #content .grid4 .grid1 {
        width: 21.0%;
        margin-bottom: 14px;
    }
    body.frontpage #content .grid4 .grid1:nth-of-type(4n) {
       margin-right: 5.3%;
    }
    .OTAGO088027 #content .grid4 .grid1 {
        width: 30.6%;
        margin-bottom: 21px;
        margin-right: 4%;
    }
    .OTAGO088027 #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 4%;
    }
    .OTAGO088027 #content .grid4 .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
     body.OTAGO087882 #content .grid4 .grid1 {
        width: 46%;
        margin-bottom: 21px;
        margin-right: 4%;
    }
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    #wrapper {
        background: url(gfx/banner-2021.jpg) 0 0 no-repeat;
        background-size: 700px;
    }
    body.frontpage {
        background: none;
        width: 92%;
    }
    .titleinner h1 {
        max-width: 100% !important;
    }
    #title h1 {
        background-position: 0 45px;
        background-size: 240px;
        font-size: 45px;
        margin-bottom: 28px;
        padding: 160px 0px 0px 0px;
    }
    body.frontpage #title h1 {
        font-size: 45px;
    }
    #content {
        max-width: 97%;
    }
    #content h2,
    body.frontpage #content h2 {
        font-size: 32px;
    }
    #content img, #content p img, #content p img[align="right"] {
        margin-left: 14px;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
/*     #content .grid4 .grid1 {
        width: 30%;
        margin-right: 5%
    }
    #content .grid4 .grid1:nth-of-type(2n) {
       margin-right: 5%;
    }
    #content .grid4 .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
    #content .grid4 .grid1:nth-of-type(3n+1) {
        clear: left;
    }
    body.frontpage #content .grid4 .grid1:nth-of-type(3n+1) {
        clear: none;
    } */
    .OTAGO088027 #content .grid4 .grid1 {
        width: 30.6%;
        margin-right: 4%;
    }
    body {
        background: none;
    }
    body.frontpage #content {
        max-width: 97%;
    }
/*      body.OTAGO087882 #content .grid4 .grid1 {
        width: 40%;
        margin-right: 4%;
    } */
/*     body.OTAGO087882 #content .grid4 .grid1.last {
        border: solid red 2px
    }
    body.OTAGO087882 #content .grid4 .grid1:nth-of-type(2),
    body.OTAGO087882 #content .grid4 .grid1:nth-of-type(5){
        margin-left: 0%;
    }
     body.OTAGO087882 #content .grid4 .grid1:nth-of-type(3),
    body.OTAGO087882 #content .grid4 .grid1:nth-of-type(6){
        margin-right: 0%;
    } */
}



@media only screen and (max-width: 480px) {
    #wrapper {
        background-position: -55px 0px;
    }
    #title h1 {
    background: url(gfx/title@2x.png) 4px 40px no-repeat;
        background-size: 190px;
}
/*     #content .grid4 .grid1 {
        width: 47.5%;
        margin-right: 5%;
    }   
    #content .grid4 .grid1:nth-of-type(3n+1) {
        clear: none;
    }
    #content .grid4 .grid1:nth-of-type(3n) {
        margin-right: 5%;
    }
    #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0%;
    }
    .OTAGO088027 #content .grid4 .grid1 {
        width: 30.6%;
        margin-right: 4%;
    } */
    body.frontpage #content .grid_third {
        width: 100%;
        margin-right: 0;
    }
}