/*! Generated by Fontspring (https://www.fontspring.com) on August 27, 2018. 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-2018 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-weight: 700; font-style: normal; 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; }


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

Otago BASECAMP CSS

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

#wrapper {
  background: url(gfx/banner-2022.jpg) right 30px no-repeat;
}
body {
    text-rendering: optimizeLegibility;
    background: url(gfx/background-2022.png) 0 0 repeat-x;
    background-size: 12.9px;
}
/* body:before {
    background: #ededeb;
    content: '';
    display: block;
    height: 553px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -999;
} */

:root {
  --first-color: #3993b7;
  --second-color: #898780;
  --third-color: #3993b7;
  --fourth-color: #898780;
  --fifth-color: #898780;
  --otago-dark-blue: #163568;
  --otago-light-blue: #00508f;
  --otago-link-blue: #416ebf;
  --otago-yellow: #f9c013;
  --otago-pg-blue: #0c385a;
  --otago-light-grey: #888888;
  --otago-dark-grey: #555555;
  --otago-background-grey1: #f5f5f5;
  --otago-background-grey2: #f1f1f7;
  --otago-background-grey3: #dddddd;
}


#title h1, body.frontpage #title h1.notopimage, #title h1.notopimage {
    background: url(gfx/title-2022.png) 0px 65px no-repeat;
    color: var(--first-color);
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 60px;
    font-weight: normal;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0px 0 28px 23px;
    max-width: 882px;
    padding: 430px 0 0 0;
    position: static;
    text-rendering: optimizeLegibility;
}
#content h2 {
      border-bottom: none;
      color: var(--second-color);
      font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 42px;
      font-weight: 300;
      line-height: 1.25;
      padding-bottom: 10px;
      text-rendering: optimizeLegibility;
}
#content h3 {
      color: var(--third-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 23px;
      line-height: 1.3;
      margin-top: 21px;
}
#content h4 {
      color: var(--fourth-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 20px;
      letter-spacing: .4px;
      line-height: 1.3;
      margin-top: 21px;
}
#content h5 {
      color: var(--fifth-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 19px;
      letter-spacing: .4px;
      line-height: 1.3;
      margin-top: 21px;
}
#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 {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}


#title h1.notopimage {
    max-width: 650px;
}


#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#right {
    background-size: 26px 100%;
}
#content ul,
#content ul li,
#right ul li {
	list-style-image: url(/_assets/_gfx/arrow-pale-green-forward.svg);
	list-style-position: outside;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 16px;
    padding-bottom: 10px;
    list-style-position: outside;
    margin-left: 7px;
}
#content ol li {
    font-size: 16px;
    padding-bottom: 10px;
}
#content .grid-third ul {
  margin-left: 22px;
}
#content ol li::marker  {
	color: grey;
	font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-size: 18px;
}
#content ol li {
	padding-left: 4px;
	margin-left: -7px
}
#content ol li ul li {
	padding-left: 4px;
	margin-left: 0px;
}
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;
}
#content ul.pagesubnav li a {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
#content ul.pagesubnav li {
    list-style-position: outside;
    margin-left: 10px;
    padding-left: 5px;
}
#content ul.pagesubnav {
   background-color: var(--otago-background-grey2);
   border: solid var(--otago-background-grey3) .5px;
}
#content ul.pagesubnav strong {
    color: var(--first-color);
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 18px;
    letter-spacing: .4px;
}

/*  FRONTPAGE  */

body.frontpage #content h2.intro {
    color: var(--second-color);
    font-size: 40px;
}
#title h1, body.frontpage #title h1.notopimage, #title h1.notopimage {
    margin-bottom: 10px;
}

#content .tile-box-shadow-container {
	margin-top: 30px;
}
body.frontpage #content #content .tile-box-shadow-thumbnail-no-description.grid-half h2 a {
      border-bottom: none;
      color: var(--first-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 26px;
}
#content #content .tile-box-shadow-thumbnail-no-description.grid-half h2 a:hover {
   box-shadow: 0 10px 20px silver;
   transform: translateY(-1px);
   transition: all 0.3s ease-out;
}
#content #content .tile-box-shadow-thumbnail-no-description.grid-half {
    box-shadow: 0 5px 20px #f5f5f5,
                0 2px 6px #e4e4e4;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 55px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
#content .tile-box-shadow-container .grid-half a h2 {
    color: var(--first-color);
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 23px;
}
#content .tile-box-shadow-container .grid-half:hover {
    box-shadow: 0 10px 20px silver;
   transform: translateY(-1px);
   transition: all 0.3s ease-out;
}
#content .tile-box-shadow-container .grid-half {
    box-shadow: 0 5px 20px #f5f5f5,
                0 2px 6px #e4e4e4;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 55px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Feature Video */

body.frontpage #content .video-container {
    background: #00508F;
    border-top: 21px solid #f9c000;
    border-radius: 3px;
    margin-bottom: 49px;
    padding: 14px 14px 40px 14px;
}
body.frontpage #content .video-container h2 {
    border: 0;
    color: #ffffff;
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 14px;
    padding-top: 0;
}
body.frontpage #content .video-container h2 strong {
    color: #f9c000;
}
body.frontpage #content .video-container h3,
body.frontpage #content .video-container p {
    color: #ffffff;
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 14px;
}
body.frontpage #content .video-container p:first-of-type {
    color: #f9c000;
}
body.frontpage #content .video-container p:last-of-type {
    margin-bottom: 42px;
}
body.frontpage #content .video-box {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}
body.frontpage #content .video-box iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Removing header duplication on News page */
body.OTAGO0242486 #content h1 {
    display: none;
}



@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) and (min-width: 701px) {
  #title h1, body.frontpage #title h1.notopimage, #title h1.notopimage {
    background-image: url(gfx/title-2022@2x.png);
    background-size: 326px;
  }
}

/* Tablet styles */

@media only screen and (min-width: 1025px) and (max-width: 1160px) {
  #contentwrapper {
    padding-left: 0;
    padding-right: 0;
    }
}
@media only screen and (min-width: 701px) and (max-width: 1160px) {
  #contentwrapper, .topnavinner, .titleinner, footer.wrapper, div.footer_wrapper {
    box-sizing: border-box;
    width: 100%;
  }
  #contentwrapper, .topnavinner, footer.wrapper, div.footer_wrapper {
    max-width: 1114px;
  }
  ul#breadcrumbs {
    box-sizing: border-box;
    margin-left: 0;
    max-width: 70%;
    overflow: hidden;
    padding-left: 232px;
    width: 100%;
  }
  #contentwrapper {
    margin: 0;
    padding: 0;
    width: 98%;
  }
  div#nav_holder {
    max-width: 100%;
    width: 100%;
  }
  .titleinner {
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 252px;
  }
  div#nav_wrapper {
    left: 23px;
  }
  #title h1.notopimage {
      margin-left: 0;
  }
  #title ul#breadcrumbs {
    margin-left: 0;      
  }
  #content {
    box-sizing: border-box;      
    max-width: 100%;
    padding: 12px 0px 46px 252px;
    width: 100%;
  }
}

@media only screen and (min-width: 770px) and (max-width: 925px) {
  #contentwrapper {
    padding-left: 0;
    padding-right: 0;
    }
}


@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
}

@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    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;
    }
}
@media only screen and (min-width: 701px) and (max-width: 768px) {
   div#nav_holder {
    left: 0;
   }
   #title h1.notopimage {
     max-width: 100%;
   }
   #wrapper {
     width: 100%;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 1500px) {
    #wrapper {
        background-size: 1200px;
    }
    #title h1.notopimage, body.frontpage #title h1.notopimage {
        padding-top: 350px;
    } 
    body {
        background-size: 10.5px;
    }
}
@media only screen and (max-width: 1200px) {
    #wrapper {
        background-size: 900px;
    }
    #title h1.notopimage, body.frontpage #title h1.notopimage {
        background-size: 250px;
        background-position: 0 30px;
        padding-top: 260px;
        margin-left: 0;
    } 
    body {
        background-size: 8.1px;
    }
}
@media only screen and (max-width: 950px) {
     #wrapper {
        background-size: 700px;
        background-position: right -60px top 30px;
    }
    #title h1.notopimage, body.frontpage #title h1.notopimage {
        background-size: 200px;
        background-position: 0 30px;
        padding-top: 200px;
        font-size: 50px;
        margin-bottom: 0;
    }
    #content h2 {
        font-size: 35px;
    }
    body {
        background-size: 6.5px;
    }
}

@media only screen and (max-width: 700px) {
    #content {
        width: 97%;
    }
    #title h1.notopimage, body.frontpage #title h1.notopimage {
        background-size: 240px;
        background-position: 0 10px;
        padding-top: 200px;
        font-size: 50px;
        margin-bottom: 5px;
    }
    #wrapper {
        background-size: 750px;
    }
    #content h2 {
        font-size: 30px;
    }
    #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;
    }
}
@media only screen and (max-width: 550px) {
    #title h1.notopimage, body.frontpage #title h1.notopimage {
        background-size: 160px;
        background-position: 0 0px;
        padding-top: 130px;
        font-size: 40px;
        margin-bottom: 5px;
    }
    #wrapper {
        background-size: 480px;
    }
    body {
        background-size: 4.72px;
    }
    #content h2, body.frontpage #content h2.intro {
        font-size: 30px;
    }
}

@media only screen and (max-width: 420px) {
    body.OTAGO0233266 .tile-box-shadow-thumbnail-no-description, 
    body.OTAGO0233273 .tile-box-shadow-thumbnail-no-description,
    body.OTAGO0233274 .tile-box-shadow-thumbnail-no-description{
        margin-right: 6%;
    }
}