@font-face { font-family: 'Abril Fatface'; font-style: normal; font-weight: 400; src: local('Abril Fatface'), local('AbrilFatface-Regular'), url(/_assets/_fonts/abrilfatface/abrilfatface-regular.woff2) format('woff2'), url(/_assets/_fonts/abrilfatface/abrilfatface-regular.woff) format('woff'); font-display: swap; }

/* Otago Magazine issue 45 specific CSS */

.titleinner {
  width: 100%;
  padding: 55px 0px 0px 0px;
  margin: 0px 0;
	overflow: hidden;
}
.titleinner img {
	margin-left: auto;
	margin-right: auto;
	display: block;
  margin-top: -262px;
}
#title h1 {
  background-image: url("gfx/title-updated.png");
  background-repeat: no-repeat;
  background-position: 243px bottom;
  text-indent: -9999px;
  font-size: 12px;
  width: 1114px;
  max-width: 1114px;
  margin: 0 auto !important;
  position: relative;
  padding-bottom: 150px;
  opacity: 1;
}
body.OTAGO661848 #title h1,
body.OTAGO661858 #title h1,
body.OTAGO661854 #title h1,
body.OTAGO661861 #title h1 {
  background-image: url("gfx/title.png");
  background-repeat: no-repeat;
  background-position: -42px center;
}
#content {
	box-sizing: border-box;
	width: 100%;
}
#content h2 {
  font-size: 90px;
  line-height: 1;
  background-image: none;
  text-rendering: optimizeLegibility;
}
#content h3 {
  color: #000000;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 23px;
}
#content h3:first-of-type {
  margin-top: 28px;
  margin-bottom: 28px;
}
body.OTAGO661860 #content h3,
body.OTAGO661866 #content h3,
body.OTAGO661864 #content h3 {
  font-size: 27px;
  margin-bottom: 21px;
}
#content h2:after { display: none; }
.OTAGO661866 #content h4 {
  font-family: "Abril Fatface", Georgia, Times New Roman, serif;
  font-size: 20px;
  line-height: 1.4;
  color: #444444;
}
.OTAGO661866 #content h5 {
  font-style: italic;
  color: #777777;
}
#content img {
  box-sizing: border-box;
}
body.OTAGO661866 #content .featurebox_yellow h3 {
  font-size: 20px;
  line-height: 1.6;
}
#content div.featurebox_yellow {
  background: #ffea95;
  box-sizing: border-box;
  padding: 28px;
  overflow: hidden;
}
.orange-text {
  color: #f36c2c;
}
.green-text {
  color: #52b957;
}
#content .responsive-embed-container {
  margin-top: 52px;
  margin-bottom: 21px;
}

/* Next previous */
#content .next-prev { border-top: none; }
#content .next-prev .prev {
  position: absolute;
  top: 280px;
  left: -202px;
  width: 180px;
  text-align: right;
  font-family: 'Abril fatface', Georgia, Times New Roman, serif;
  text-transform: uppercase;
  color: #999999;
  letter-spacing: 3px;
  font-size: 14px;
  line-height: 1.3;
}
#content .next-prev .prev a {
  transform-origin: right;
}
#content .next-prev .prev a,
#content .next-prev .next a {
  transform: scale(1);
  transition: all 0.1s ease;
}
#content .next-prev .prev a:hover {
	background-color: #ffffff;
	padding: 7px 0px 7px 20px;
	border-radius: 4px;
	background-position: 0px 3px;
  transform: scale(1.1);
}
#content .next-prev .next {
  position: absolute;
  top: 280px;
  right: -194px;
  width: 180px;
  text-align: left;
  font-family: 'Abril fatface', Georgia, Times New Roman, serif;
  text-transform: uppercase;
  color: #999999;
  letter-spacing: 3px;
  font-size: 14px;
  line-height: 1.3;
}
#content .next-prev .next a {
  background: #ffffff url("gfx/simple-arrows-sprite.png") no-repeat 165px -335px;
  transform-origin: left;
}
#content .next-prev .next a:hover {
	background-color: #ffffff;
	padding: 7px 20px 7px 0px;
	border-radius: 4px;
	background-position: 165px -335px;
  transform: scale(1.1);
}
#content blockquote {
  background: #f9f9f9;
  box-shadow: 0 0 10px #eeeeee;
  padding: 31px 21px;
  margin: 42px 0;
  border: 1px solid #e4e4e4;
}
#content blockquote p {
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
  font-family: "Minion Pro", Georgia, Times New Roman, serif;
  margin-bottom: 0;
  -moz-osx-font-smoothing: grayscale;
}
#content p.fullwidthimage {
  font-size: 14px;
}
#content p.fullwidthimage img {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: none;
}
#content hr {
  clear: both;
  border-top: 5px dotted #dddddd;
  margin-top: 56px;
}
#content .grid1.introbox p {
  font-family: 'Open sans', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}
a[href*="youtube.com"] {
  background: url(/_assets/_gfx/sprite-socialmedia-icons.png) no-repeat -324px -28px;
}

/* Frontpage */
.feature-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
body.OTAGO663781 #content .frontpage h2 {
  font-size: 30px;
  line-height: 1.6;
  padding-bottom: 0;
  padding-top: 0;
  margin-top: -150px;
  max-width: 700px;
  color: #cccccc;
}
body.OTAGO663781 #content .frontpage h2 a { font-size: 60px; line-height: 0.7; }
body.OTAGO663781 #content .grid1.introbox.titleonly { min-height: 250px; }
body.OTAGO663781 #content .grid1.introbox.titleonly { min-height: 190px; }
body.OTAGO663781 #content h2 {
    font-size: 60px;
    margin-bottom: 35px;
}
#content p,
#content li {
    font-size: 17px;
    line-height: 1.65;
    font-family: Georgia, Times New Roman, serif;
}
#content p { margin-bottom: 21px; }
#content .grid1.magazine-intro {
    width: 100%;
    margin-right: 0;
    margin-bottom: 21px;
}
#content .magazine-intro ul.pagesubnav {
    border-bottom: none;
    border-radius: 3px;
    margin-top: 28px;
    padding-top: 21px;
    border: 1px solid #e4e4e4;
    margin-bottom: 14px;
}
#content .magazine-intro ul.pagesubnav li { margin-bottom: 7px; }
#content .magazine-intro ul.pagesubnav li { background-image: none; }
#content .grid3 {
    width: 100%;
    margin-right: 0;
}
body.OTAGO663781 #content hr {
    clear: both;
    border-top: 5px dotted #dddddd;
}
body.OTAGO663781 #content .grid1 {
  border: 1px solid #dddddd;
  transition: all 0.3s ease-out;
}
body.OTAGO663781 #content .grid1:hover {
  border: 1px solid #cccccc;
}
#content .grid1.introbox:hover {
    box-shadow: 0 0 2px #e4e4e4;
}
body.OTAGO663781 #content .grid1 h3 {
  position: relative;
}
body.OTAGO663781 #content .grid1 h3 a {
  display: block;
}
body.OTAGO663781 #content .grid1 h3:after {
  content: '';
  display: block;
  width: 37px;
  height: 3px;
  background: #f9c000;
  margin-top: 14px;
  margin-bottom: 14px;
  transition: all 0.3s ease-out;
}
body.OTAGO663781 #content .grid1 h3:hover:after {
  width: 50%;
}
#content .grid1 img {
    margin-left: 0;
    margin-bottom: 0;
}
#content .grid1.introbox h3 {
    margin-top: 7px;
    margin-bottom: 14px;
    line-height: 1.25;
}
#content  a.player img { width: 100%; }
#content a.player:after {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: url(gfx/expand-icon.png) no-repeat;
    background-size: 20px;
    position: absolute;
    top: 80px;
    right: 15px;
    transition: all 0.2s ease;
}
#content a.player:hover:after { transform: scale(1.2); }
#content a.player img {
    width: 100%;
    transition: all 0.2s ease-in-out;
}
#content a.player img:hover { box-shadow: 0 0 20px #cccccc; }
#content .grid-third:nth-of-type(3n) {  margin-right: 0; }

/* Infographic */
#content .infographic-container {
  background: #fff8e3;
  overflow: hidden;
  padding: 21px 14px;
}
#content .infographic-container p {
  font-family: 'Open sans', Helvetica, Arial, sans-serif;
  padding-top: 40px;
  padding-left: 140px;
  background-size: 100px;
  line-height: 1.55;
  min-height: 110px;
  box-sizing: border-box;
}
#content .infographic-container p span {
  color: #e2a700;
}
.born-elsewhere {
  background: url(gfx/icons/25-percent.svg) no-repeat 10px 0;
}
.ethnic-groups {
  background: url(gfx/icons/200.svg) no-repeat 10px 0;
}
#content .infographic-container .displaced {
  background: url(gfx/icons/65600000.svg) no-repeat 10px 0;
  padding-top: 30px;
}
.ww2 {
  background: url(gfx/icons/165000000.svg) no-repeat 10px 0;
}
#content .infographic-container .outside-country {
  background: url(gfx/icons/3-percent.svg) no-repeat 10px center;
  padding-top: 30px;
}

/* Media queries */

/* @2x */

@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-updated@2x.png) 243px bottom no-repeat;
              background-size: 320px;
            }
}

@media only screen and (max-width: 1500px) {
    .titleinner img { max-width: 100%; }
    #content .grid4 {
      width: 100%;
      max-width: 882px;
    }
    #content .next-prev .prev,
    #content .next-prev .next {
      position: static;
    }
}

@media only screen and (max-width: 1024px) {
    .titleinner img {
      margin-left: 0px;
      max-width: 100%;
    }
    #title h1 {
      background-position: 42% bottom;
      width: 94%;
    }
    #content h2 {
      -webkit-hyphens: auto;
      -moz-hyphens: auto;
      hyphens: auto;
    }
    #content .grid3 {
      width: 78%;
      margin-right: 0px;
    }
    #content .grid-third {
      width: 30%;
      margin-right: 3% !important;
    }
    #content .grid-third:nth-of-type(3n) {
      margin-right: 0;
    }
    #content .grid-half {
      width: 100%;
      margin-right: 0;
    }
    #content .grid-half:nth-child(16) {
      border-right: none;
      width: 100%;
      border-bottom: 5px dotted #ffffff;
      margin-bottom: 28px;
    }
    body.OTAGO663781 #title h1 {
      background-position: 285px 0px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  body.OTAGO661848 #title h1,
  body.OTAGO661858 #title h1,
  body.OTAGO661854 #title h1 {
    background-image: url("gfx/title.png");
    background-repeat: no-repeat;
    background-position: 182px center;
    margin-left: 0 !important;
  }
  body.OTAGO663781 #title h1 {
    background-position: 226px 0;
    background-size: 220px;
  }
  body.OTAGO663781 #content .frontpage h2 {
    margin-top: -180px;
    line-height: 1.3;
    max-width: 700px;
  }
  body.OTAGO663781 #content .frontpage h2 a {
    font-size: 50px;
  }
  body.OTAGO663781 #content .grid1.introbox,
  #content .grid1 {
    width: 30%;
    margin-right: 5%;
  }
  body.OTAGO663781 #content .grid1.introbox:nth-of-type(3n) {
    margin-right: 0;
  }
  body.OTAGO661858 #content div.grid1:nth-of-type(4n) {
    margin-right: 5%;
    clear: none;
  }
  body.OTAGO661858 #content .grid1:nth-of-type(4n+1) {
    clear: none;
  }
  body.OTAGO661858 #content div.grid1:nth-of-type(3n) {
    margin-right: 0;
  }
  #content {
    padding: 12px 0px 46px 212px;
  }
  #contentwrapper,
  .topnavinner,
  div#nav_holder,
  div.footer_wrapper,
  footer.wrapper {
    width: 100%;
    box-sizing: border-box;
  }
  #features {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
    #title h1 {
      background-position: 275px 120px;
      background-size: 230px;
    }
    body.OTAGO663781 #title h1 {
      background-position: 275px 100px;
      background-size: 230px;
    }
    body.OTAGO661848 #title h1,
    body.OTAGO661858 #title h1,
    body.OTAGO661854 #title h1,
    body.OTAGO661861 #title h1 {
      background-image: url("gfx/title.png");
      background-repeat: no-repeat;
      background-position: 242px center;
    }
    #content h2 {
      font-size: 50px;
      padding-top: 14px;
      padding-bottom: 7px;
    }
    #content { padding: 12px 0px 46px 223px; box-sizing: border-box; }
    #title .titleinner img {
      width: 150%;
      margin-left: 0;
    }
    #content .grid3 {
      width: 100%;
    }
    #content .next-prev .next {
      right: -145px;
      width: 125px;
    }
    #content .next-prev .next a { background-position: 109px -335px; }
    #content .next-prev .prev a { background-position: 30px 3px; }
    /* Grid gallery */
    body.OTAGO598495 #content .grid1:nth-of-type(5n) { clear: none; }
    body.OTAGO663781 #content .frontpage h2 {
      margin-top: 14px;
      margin-bottom: 0;
      padding-bottom: 0;
      line-height: 1.2;
      color: #999999;
      text-shadow: none;
    }
    body.OTAGO663781 #content .frontpage h2 a {
      color: #416ebf;
      font-size: 40px;
      line-height: 1.1;
      text-shadow: none;
    }
}


@media only screen and (max-width: 700px) {
    #title .titleinner img {
      width: 100%;
      margin-top: 0;
      margin-left: 0;
    }
    body.OTAGO661858 #title .titleinner,
    body.OTAGO661854 #title .titleinner,
    body.OTAGO661848 #title .titleinner,
    body.OTAGO661861 #title .titleinner,
    body.OTAGO618407 #title .titleinner,
    body.OTAGO618411 #title .titleinner,
    body.OTAGO618414 #title .titleinner { padding-top: 110px; }
    #title .titleinner:after {
      content: '';
      display: block;
      height: 150px;
      width: 150px;
      background: url(gfx/title-updated.png) no-repeat;
      background-size: 155px;
      top: 40px;
      left: 10px;
      position: absolute;
    }
    body.OTAGO661858 #title .titleinner:after,
    body.OTAGO661854 #title .titleinner:after,
    body.OTAGO661848 #title .titleinner::after,
    body.OTAGO661861 #title .titleinner::after,
    body.OTAGO618407 #title .titleinner:after,
    body.OTAGO618411 #title .titleinner:after,
    body.OTAGO618414 #title .titleinner:after {
        background: url(gfx/title.png) no-repeat -24px 0;
        background-size: 190px;
    }
    #content,
    body.OTAGO663781 #content.otgx {
        max-width: 96.5%;
    }
    body.OTAGO663781 #content .grid4 .grid_half {
        width: 100%;
        margin-right: 0;
    }
    body.OTAGO663781 #content.otgx .grid1 img {
        max-width: 100%;
        width: 100%;
    }
    body.OTAGO663781 #content.otgx .grid1 {
        margin-right: 5%;
        margin-bottom: 21px;
    }
    body.OTAGO663781 #content.otgx .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO663781 #content .grid1.introbox.titleonly h3 {
        margin-bottom: 7px;
    }
    body.OTAGO663781 #content p {
        margin-bottom: 14px;
    }
    body.OTAGO663781 #content .frontpage h2 {
        margin-top: 14px;
        margin-bottom: 0;
        padding-bottom: 0;
        line-height: 1.2;
        color: #999999;
    }
    body.OTAGO663781 #content .frontpage h2 a {
        color: #416ebf;
        font-size: 40px;
        line-height: 1.1;
    }
    .titleinner { padding-top: 0; }
    #title h1 {
        padding-bottom: 0px;
        padding-top: 0;
        line-height: 0;
    }
    #content .grid1.introbox,
    #content .grid1.introbox.titleonly {
        min-height: auto;
        margin-bottom: 14px;
    }
    #content .grid1.introbox:nth-of-type(3n) { margin-right: 0; }
    #content .grid-half:nth-child(16) {
        margin-right: 0;
        padding: 0;
    }
    #content .next-prev .prev,
    #content .next-prev .next { position: static; }
    #content .next-prev .next { width: 35%; }
    #content .next-prev .next a { background-position: right -335px; }
    #content .next-prev .prev { width: 35%; }
    #content .next-prev .prev a {
        background-position: left 3px;
    }
    #content { padding-left: 0; }
    /*body.OTAGO598495 #content .grid1,
    body.OTAGO598495 #content .grid1:nth-of-type(3n) {
       width: 47.5%;
        margin-right: 5%;
        float: left;
    }
    body.OTAGO598495 #content .grid1:nth-of-type(2n) { margin-right: 0; }*/
}
@media only screen and (max-width: 400px) {
  body.OTAGO661858 #content .grid4,
  body.OTAGO661854 #content .grid4,
  body.OTAGO661848 #content .grid4,
  body.OTAGO661861 #content .grid4 {
    display: flex;
    flex-wrap: wrap;
  }
  body.OTAGO661858 #content div.grid1,
  body.OTAGO661854 #content div.grid1,
  body.OTAGO661848 #content div.grid1,
  body.OTAGO661861 #content div.grid1 {
    width: 47.5%;
    margin-right: 5%;
    float: left;
  }
  body.OTAGO661858 #content .grid1:nth-of-type(3n),
  body.OTAGO661854 #content .grid1:nth-of-type(3n),
  body.OTAGO661848 #content .grid1:nth-of-type(3n),
  body.OTAGO661861 #content .grid1:nth-of-type(3n) {
    margin-right: 5%;
  }
  body.OTAGO661858 #content div.grid1:nth-of-type(2n),
  body.OTAGO661854 #content div.grid1:nth-of-type(2n),
  body.OTAGO661848 #content div.grid1:nth-of-type(2n),
  body.OTAGO661861 #content div.grid1:nth-of-type(2n) {
    margin-right: 0;
  }
  body.OTAGO661858 #content div.grid1 img,
  body.OTAGO661854 #content div.grid1 img,
  body.OTAGO661848 #content div.grid1 img,
  body.OTAGO661861 #content div.grid1 img {
    float: none;
    width: 100%;
  }
}
