/*@import url('https://fonts.googleapis.com/css?family=Montserrat:400,900&subset=latin-ext');*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,800&subset=latin-ext');

/* He Kitenga 150 CSS */

html {
  scroll-behavior: smooth;
}
.titleinner {
  position: relative;
  padding-bottom: 21px;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}
.titleinner img {
  position: absolute;
  top: 0;
  z-index: -1;
}
#title h1 {
  background: url(../gfx/title-2018.png) 0px 300px no-repeat;
  background-size: 271px;
  color: #333333;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 70px;
  font-weight: 800;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures, contextual;
  -moz-font-feature-settings: "kern", "liga", "clig", "calt";
  -ms-font-feature-settings: "kern", "liga", "clig", "alt";
  -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
  font-feature-settings: "kern", "liga", "clig", "calt";
  letter-spacing: -0.02em;
  line-height: 1.05;
  padding-bottom: 24px;
  padding-top: 765px;
  position: relative;
  text-rendering: optimizeLegibility;
  text-transform: none;
}
.OTAGO703628 #title h1,
.OTAGO703629 #title h1,
.OTAGO703632 #title h1,
.OTAGO703637 #title h1,
.OTAGO703638 #title h1,
.OTAGO703617 #title h1,
.OTAGO703645 #title h1,
.OTAGO703648 #title h1 {
  background-image: url(../gfx/title-2018-white.png);
}
.OTAGO704953 #title h1,
.OTAGO703651 #title h1 {
  background-image: url(../gfx/title-2018-black.png);
}
#title img {
  border-bottom: 1px solid #dddddd;
}
#contentwrapper {
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}
#content {
  padding-top: 0px;
}
#content h2,
#content h2.title-stroke {
  border-bottom: 5px dotted #e4e4e4;
  font-family: 'Minion Pro', Minion, Georgia, 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 30px;
  background: none;
  line-height: 1.25;
  padding-bottom: 35px;
  font-display: swap;
}
#content h2.title-stroke {
  margin-bottom: 35px;
}
#content h3 {
  color: #727ab9;
  font-size: 32px;
  margin-bottom: 28px;
  margin-top: 35px;
}
#content h3,
#right h3 {
  color: #333333;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.4;
}
#content h4 {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 21px;
  margin-top: 28px;
}
#content p {
  font-family: 'Minion Pro', Minion, Georgia, Times New Roman, serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 19px;
}
#content p strong {
  font-weight: 800;
}
#content blockquote {
  border: none;
  background: url(../gfx/quotemarks-white.svg) no-repeat 14px 20px #333333;
  background-size: 90px;
  margin-bottom: 35px;
  border-left: none;
  padding: 21px 21px 21px 120px;
}
#content blockquote p {
  color: #ffffff;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 21px;
  font-style: normal;
  line-height: 1.5;
}
#content blockquote p img {
  border: 0;
  margin-left: 0;
  padding: 0;
}
#content .topofpage {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-weight: 300;
}

.OTAGO703628 #title h1 {
  color: #8dc2d0;
}
.OTAGO703629 #title h1,
.OTAGO704953 #title h1 {
  color: #ef5c6c;
}
.OTAGO703632 #title h1 {
  color: #f8a774;
}
.OTAGO703637 #title h1,
.OTAGO703648 #title h1 {
  color: #9fabc7;
}
.OTAGO703638 #title h1,
.OTAGO703645 #title h1 {
  color: #b8cf92;
}
.OTAGO703617 #title h1,
.OTAGO703651 #title h1 {
  color: #f4c300;
}

#content h2:first-of-type {
  border-top: 3px solid #333333;
  border-bottom: 0;
  font-size: 26px;
  font-style: italic;
  padding: 21px;
}
#content h2:first-of-type strong {
  color: #ffffff;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.OTAGO703628 #content h2:first-of-type {
  background-color: #8dc2d0;
}
.OTAGO703629 #content h2:first-of-type,
.OTAGO704953 #content h2:first-of-type {
  background-color: #ef5c6c;
}
.OTAGO703632 #content h2:first-of-type {
  background-color: #f8a774;
}
.OTAGO703637 #content h2:first-of-type,
.OTAGO703648 #content h2:first-of-type {
  background-color: #9fabc7;
}
.OTAGO703638 #content h2:first-of-type,
.OTAGO703645 #content h2:first-of-type {
  background-color: #b8cf92;
}
.OTAGO703617 #content h2:first-of-type,
.OTAGO703651 #content h2:first-of-type {
  background-color: #f4c300;
}

.OTAGO703632 #content h4 strong {
  color: #f8a774;
}
.OTAGO703629 #content h4 strong {
  color: #ef5c6c;
}
.OTAGO703637 #content h4 strong,
.OTAGO703648 #content h4 strong {
  color: #9fabc7;
}
.OTAGO703638 #content h4 strong,
.OTAGO703645 #content h4 strong {
  color: #b8cf92;
}
.OTAGO703617 #content h4 strong,
.OTAGO703651 #content h4 strong {
  color: #f4c300;
}

.OTAGO703628 #content blockquote {
  border-top: 7px solid #8dc2d0;
}
.OTAGO703629 #content blockquote {
  border-top: 7px solid #ef5c6c;
}
.OTAGO703632 #content blockquote {
  border-top: 7px solid #f8a774;
}
.OTAGO703638 #content blockquote,
.OTAGO703645 #content blockquote {
  border-top: 7px solid #b8cf92;
}
.OTAGO703637 #content blockquote,
.OTAGO703648 #content blockquote {
  border-top: 7px solid #9fabc7;
}
.OTAGO703617 #content blockquote,
.OTAGO703651 #content blockquote {
  border-top: 7px solid #f4c300;
}

.OTAGO703632 #content .funding {
  border-top: 7px solid #f8a774;
}
.OTAGO703629 #content .funding {
  border-top: 7px solid #ef5c6c;
}
.OTAGO703637 #content .funding,
.OTAGO703648 #content .funding {
  border-top: 7px solid #9fabc7;
}
.OTAGO703638 #content .funding,
.OTAGO703645 #content .funding {
  border-top: 7px solid #b8cf92;
}
.OTAGO703617 #content .funding,
.OTAGO703651 #content .funding {
  border-top: 7px solid #f4c300;
}


.story-navigation-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 35px;
}
.story-navigation-box {
  border-right: 1px solid #333333;
  flex-basis: 23%;
  margin-top: 21px;
  padding-top: 0;
}
.OTAGO703632 .story-navigation-box {
  flex-basis: 19%;
}
.OTAGO703637 .story-navigation-box {
  flex-basis: 30%;
}
#content .story-navigation-box p {
  font-size: 16px;
  line-height: 1.45;
  margin-right: 14px;
  margin-bottom: 0;
}
.OTAGO703632 #content .story-navigation-box p {
  margin-right: 7px;
}
#content .story-navigation-box p:first-of-type {
  font-family: 'Minion Pro', Minion, Georgia, Times New Roman, serif;
  font-size: 60px;
  margin-bottom: 0;
}
#content .story-navigation-box p a {
  border-bottom: 0;
  display: block;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-top: 14px;
}
.OTAGO703628 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #8dc2d0;
}
.OTAGO703629 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #ef5c6c;
}
.OTAGO703632 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #f8a774;
}
.OTAGO703638 #content .story-navigation-box p:first-of-type,
.OTAGO703645 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #b8cf92;
}
.OTAGO703637 #content .story-navigation-box p:first-of-type,
.OTAGO703648 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #9fabc7;
}
.OTAGO703617 #content .story-navigation-box p:first-of-type,
.OTAGO703651 #content .story-navigation-box p:first-of-type {
  border-top: 7px solid #f4c300;
}
#content .story-number {
  background: #dddddd;
  box-sizing: border-box;
  color: #ffffff;
  border-radius: 100%;
  display: inline-block;
  font-size: 40px;
  height: 60px;
  margin-top: 49px;
  padding-top: 2px;
  text-align: center;
  width: 60px;
}
.OTAGO703632 #content .story-number {
  background-color: #f8a774;
}
.OTAGO703628 #content .story-number {
  background-color: #8dc2d0;
}
.OTAGO703629 #content .story-number {
  background-color: #ef5c6c;
}
.OTAGO703638 #content .story-number,
.OTAGO703645 #content .story-number {
  background-color: #b8cf92;
}
.OTAGO703637 #content .story-number,
.OTAGO703648 #content .story-number {
  background-color: #9fabc7;
}
.OTAGO703617 #content .story-number,
.OTAGO703651 #content .story-number {
  background-color: #f4c300;
}


#content blockquote p strong {
  color: #444444;
  font-weight: normal;
}
#content ul {
  margin-left: 14px;
}
#content li {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
}
#content ul.pagesubnav {
  background: #f1f1f1;
  border: 1px solid #dddddd;
  border-radius: 3px;
}
#content ul.pagesubnav li a {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-weight: 300;
}
#content hr {
  border-top: 1px solid #dddddd;
  clear: both;
  margin-bottom: 35px;
  margin-top: 35px;
}
#content p.circle-border img {
    padding: 0;
    margin: 0 0 14px 21px;
    border-radius: 50%;
    border: 14px solid #ff7175;
    float: right;
    max-width: 186px;
}
/* Page navigation */
#content .next-item {
  background: url(/_assets/_gfx/no-circle-arrow-blue-forward.svg) right 0 no-repeat;
  background-size: 35px;
  height: auto;
  width: 86px;
}
#content .previous-item {
  background: url(/_assets/_gfx/no-circle-arrow-blue-back.svg) 0 0 no-repeat;
  background-size: 35px;
  height: auto;
  width: 86px;
}
#content .next-item:hover {
	background: url(/_assets/_gfx/no-circle-arrow-blue-forward.svg) right 0 no-repeat;
    background-size: 35px;
	height: 200px;
}
#content .previous-item:hover {
	background: url(/_assets/_gfx/no-circle-arrow-blue-back.svg) 0 0 no-repeat;
    background-size: 35px;
    height: 200px;
}
#content .next-item a,
#content .previous-item a {
    opacity: 0;
    transition: all 0.3s ease-out;
    border-bottom: none;
}
#content .next-item a:hover,
#content .previous-item a:hover {
    opacity: 1;
}
#content .next-item a:active,
#content .previous-item a:active {
    border-bottom: none;
}
#content .next-item:active {
    background: url(/_assets/_gfx/no-circle-arrow-blue-forward.svg) right 5px no-repeat;
    background-size: 35px;
}
#content .previous-item:active {
    background: url(/_assets/_gfx/no-circle-arrow-blue-back.svg) 0 5px no-repeat;
    background-size: 35px;
}
#content .next-item a,
#content .previous-item a {
    font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0;
  line-height: 1.5;
    padding-top: 76px;
  opacity: 1;
  text-transform: none;
}
#content .next-item a:hover,
#content .previous-item a:hover {
  border-bottom: none;
}
.funding {
  border: 1px solid #dddddd;
  padding: 14px 14px 7px 14px;
  margin-top: 7px;
  margin-bottom: 21px;
}
#content .funding h3,
#content .funding h4 {
  margin: 14px 0 7px 0;
}

/* Full width caption */
#content p.fullwidthimage {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
}

/* Welcome */

body.OTAGO703606 #title h1 {
  color: #304a80;
}

body.OTAGO704953 #content img,
body.OTAGO703606 #content p img:first-of-type {
  border: 50px solid #ef5c6c;
  border-radius: 100%;
  max-height: 140px;
  max-width: 140px;
  padding: 0;
}
body.OTAGO703606 #content p img:first-of-type {
  border: 50px solid #f5f5f5;
}
body.OTAGO703606 #content .introduction {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 300;
  margin-bottom: 42px;
}
body.OTAGO703606 #content .introduction em {
  color: #304a80;
}
body.OTAGO703606 #content h2:first-of-type {
  padding-left: 0;
  padding-right: 0;
  padding-top: 35px;
}
body.OTAGO703606 #content h2:first-of-type strong {
  color: #304a80;
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-weight: 800;
}

/* Research awards */

body.OTAGO703660 #title h1 {
  color: #304a80;
}
body.OTAGO703660 #content img {
  border: 20px solid #304a80;
  border-radius: 100%;
  max-height: 140px;
  max-width: 140px;
  padding: 0;
}
body.OTAGO703660 #content h2:first-of-type {
  font-family: 'Montserrat', 'Open Sans', Helvetica, sans-serif;
  font-style: normal;
  padding: 42px 0 0 0;
}


/* Right */

#right h3 {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 7px;
}
#right p,
#right ul {
    border-bottom: none;
}


/* Frontpage */

body.OTAGO672218 #title h1 {
  font-size: 65px;
  max-width: 850px;
}
body.OTAGO672218 #content h2 em {
  color: #727ab9;
}
#content .grid4 {
  display: flex;
  flex-wrap: wrap;
  margin-top: 42px;
  max-width: 650px;
  width: 100%;
}
#content .grid4 a.grid1 {
  border-radius: 4px;
  border: 1px solid #dddddd;
  box-shadow: 0 5px 15px #f5f5f5;
  box-sizing: border-box;
  font-family: 'Minion Pro', Minion, Georgia, Times New Roman, serif;
  font-size: 20px;
  line-height: 1.2;
  padding: 7px 7px 14px 7px;
  margin-bottom: 46px;
  margin-right: 7%;
  min-height: 200px;
  text-align: center;
  transition: all 0.3s ease-out;
  width: 28.6%;
}
#content .grid4 a.grid1:nth-of-type(4) {
  margin-right: 7%;
}
#content .grid4 a.grid1:nth-of-type(3n) {
  margin-right: 0;
}
#content .grid4 a.grid1:hover {
  box-shadow: 0 0 20px #e4e4e4;
  transform: translate3d(0, -4px, 0);
}
#content .grid1 img {
  margin-bottom: 14px;
  border-radius: 2px;
}
.OTAGO703606 #content .grid1:nth-of-type(1) img,
.OTAGO703606 #content .grid1:nth-of-type(3) img {
  border-bottom: 5px solid #ef5c6c;
}
.OTAGO703606 #content .grid1:nth-of-type(2) img {
  border-bottom: 5px solid #8dc2d0;
}
.OTAGO703606 #content .grid1:nth-of-type(4) img {
  border-bottom: 5px solid #f8a774;
}
.OTAGO703606 #content .grid1:nth-of-type(5) img,
.OTAGO703606 #content .grid1:nth-of-type(9) img {
  border-bottom: 5px solid #9fabc7;
}
.OTAGO703606 #content .grid1:nth-of-type(6) img,
.OTAGO703606 #content .grid1:nth-of-type(8) img {
  border-bottom: 5px solid #b8cf92;
}
.OTAGO703606 #content .grid1:nth-of-type(7) img,
.OTAGO703606 #content .grid1:nth-of-type(10) img {
  border-bottom: 5px solid #f4c300;
}
.OTAGO703606 #content .grid1:nth-of-type(11) img {
  border-bottom: 5px solid #304a80;
}
body.OTAGO672218 #right {
  float: none;
  margin-top: -130px;
  margin-left: 0;
  padding-left: 0;
  clear: both;
  position: absolute;
}
body.OTAGO672218 #content .grid1:before {
  display: block;
  content: '';
  width: 92.5%;
  height: 0px;
  background: #727ab9;
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 999;
  transition: height 0.3s ease;
}
body.OTAGO672218 #content .grid1:hover:before {
    height: 4px;
}
.no-flexbox body.OTAGO672218 #content .grid4 { display: block; }
.no-flexbox body.OTAGO672218 #content .grid1 { min-height: 195px; }




@media (-webkit-min-device-pixel-ratio: 2),
       (min--moz-device-pixel-ratio: 2),
       (min-resolution: 2dppx),
       (min-resolution: 192dpi) {
            #title h1 {
                background: url(../gfx/title-2018.png) 0px 300px no-repeat;
                background-size: 271px;
            }
}


@media only screen and (min-width: 1024px) and (max-width: 1160px) {
  .titleinner,
  div#nav_holder,
  .topnavinner,
  #contentwrapper,
  footer.wrapper, div.footer_wrapper {
    width: 100%;
    box-sizing: border-box;
  }
  div#nav_wrapper {
    left: 23px;
  }
  .titleinner {
    overflow: hidden;
  }
  body.individualprofile #title img {
    max-width: 2000px;
    width: 1160px;
  }
  #content .previous-item {
    left: 114px;
  }
  #content .next-item {
    right: -114px;
  }
  /* Frontpage */
  body.OTAGO672218 #content .grid1 {
    width: 20.53%
  }
  body.OTAGO672218 #content {
    width: 100%;
    box-sizing: border-box;
  }
  body.OTAGO672218  #title h1 {
    padding-bottom: 21px;
  }
  body.OTAGO672218 #content .grid4 {
    width: 100%;
    margin-right: 0;
  }
}





@media only screen and (max-width: 1024px) {
  #content .content-inner {
    max-width: 90%;
    margin: 100px 5% 50px 5%;
  }
  .titleinner,
  div#nav_holder,
  .topnavinner,
  footer.wrapper, div.footer_wrapper {
    width: 100%;
    box-sizing: border-box;
  }
  .titleinner {
    max-width: 100%;
  }
  div#nav_holder {
    width: 90%;
  }
  div#nav_wrapper {
    left: -23px;
  }
  #title h1.notopimage {
    max-width: 100%;
    box-sizing: border-box;
  }
  #title h1 {
    padding-top: 690px;
  }
  .titleinner {
    overflow: hidden;
  }
  body.individualprofile #title h1 {
    background-position: 0 250px;
  }
  body.individualprofile #title img {
    max-width: 2000px;
    width: 1024px;
  }
  #contentwrapper {
    width: 100%;
    box-sizing: border-box;
  }
  #content {
    padding-left: 238px;
    float: none;
    width: 90%;
    box-sizing: border-box;
  }
  #content .grid4 {
    width: 100%;
  }
  #content .next-item {
    right: -90px;
  }
  #right {
    float: none;
    width: 95%;
  }
  /* Frontpage */
  body.OTAGO672218 #content .grid1 {
    width: 31.6%;
    margin-right: 2.5%;
    margin-bottom: 21px;
  }
  body.OTAGO672218 #content .grid1:nth-of-type(3n) {
    margin-right: 0;
  }
  body.OTAGO672218 #right {
    margin-top: 0px;
    position: static;
  }
  .OTAGO672678 #content blockquote.teng {
    background-position: right 0;
    padding: 14px;
  }
  .OTAGO672678 #content blockquote.teng p {
    max-width: 35%;
  }
}




@media only screen and (max-width: 768px) {
  #wrapper {
    width: 100%;
  }
  #title h1 {
    padding-top: 530px;
    width: 87%;
    box-sizing: border-box;
  }
  .titleinner {
    overflow: hidden;
  }
  #contentwrapper,
  .titleinner {
    border-left: none;
    border-right: none;
  }
  body.individualprofile #title h1 {
    background-position: 186px 180px;
    background-size: 200px;
  }
  body.individualprofile #title img {
    max-width: 2000px;
    width: 768px;
  }
  #title h1 {
    margin: 0 0 0 69px;
    box-sizing: border-box;
  }
  .titleinner h1 {
    max-width: 100% !important;
  }
  #content {
   padding-left: 18px;
   margin-left: 0px;
  }
  #contentwrapper {
    width: 92%;
  }
  #content .previous-item {
    top: -80px;
  }
  #content .next-item {
    top: -80px;
    right: -100px;
  }
  #right {
    background: none;
  }
}



@media only screen and (max-width: 700px) {
  div#nav_holder.active { left: 24px; }
  body.individualprofile #title img {
    margin-left: 0;
    top: 0;
    max-width: 700px;
    width: 700px;
  }
  #title h1 {
    padding-left: 0;
    margin-left: 42px;
    margin-bottom: 14px;
    padding-top: 470px;
  }
  body.individualprofile #title h1 {
    background-position: 0px 180px;
    background-size: 200px;
  }
  #content {
    width: 99%;
    margin-right: 0;
  }
  #content .previous-item {
    left: -3%;
    top: 0%;
    background-size: 20px;
    height: 40px;
  }
  #content .previous-item:hover {
    background-size: 18px;
    height: 40px;
  }
  #content .next-item {
    right: -4%;
    top: 0%;
    background-size: 20px;
    height: 40px;
  }
  #content .next-item:hover {
    background-size: 18px;
    height: 40px;
  }
  #content .grid4 {
    width: 100%;
  }
  body.OTAGO440802 #content .grid1:before {
    width: 89%;
  }
  #right {
    border-top: none;
  }
}


@media only screen and (max-width: 600px) {
  body.individualprofile #title img {
    max-width: 600px;
    width: 600px;
  }
  #title h1 {
    padding-top: 420px;
    background-position: 0 150px !important;
    padding-right: 21px;
  }
  body.OTAGO672218 #title h1 {
    font-size: 50px;
  }
  #content blockquote {
    padding-left: 20px;
  }
}


@media only screen and (max-width: 450px) {
  body.OTAGO672218 #title h1 {
    font-size: 40px;
  }
  body.OTAGO672218 #content .grid1 {
    width: 48%;
    margin-right: 4%;
  }
  body.OTAGO672218 #content .grid1:nth-of-type(3n) {
    margin-right: 4%;
  }
  body.OTAGO672218 #content .grid1:nth-of-type(2n) {
    margin-right: 0;
  }
}


@media only screen and (max-width: 400px) {
  body.individualprofile #title img {
    max-width: 400px;
  }
  #title h1 {
    padding-top: 280px;
    font-size: 45px;
    margin-left: 35px;
    background-position: 0 100px !important;
    background-size: 150px !important;
  }
  #content h2 {
    font-size: 25px;
  }
}
