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

Politics CSS

*********/

body {
    background: url(gfx/frontpage-background.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/frontpage-banner.jpg) center 0px no-repeat;
}
#title h1 {
  background: url(gfx/title.png) 0px 130px no-repeat;
  color: #584f40;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 57px;
  font-variant-ligatures: normal;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0 23px;
  max-width: 650px;
  padding: 402px 0 21px 0px;
  position: static;
  opacity: 1;
  text-rendering: optimizeLegibility;
}
body.n4244  #title h1 {
	position: relative;
}
#title img {
	display: none;
}
body.frontpage #title h1.notopimage {
    max-width: 100%;
    margin-bottom: 21px;
}
#title h1.notopimage {
    max-width: 100%;
}
#content h2 {
  border-bottom: none;
  color: #607046;
  font-size: 42px;
  line-height: 1.25;
  font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  margin: 0 0 25px 0;
  text-rendering: optimizeLegibility;
}
#content h3 {
  color: #b87d53;
  font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  line-height: 1.3;
  margin-top: 21px;
  margin-bottom: 14px;
  font-size: 23px;
}
#content h4 {
  color: #607046;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 20px;
  letter-spacing: 0.01em;
}
#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 {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
}
#right p,
#right li,
#right input {
    font-size: 14px;
}
#content ul {
	margin-left: 16px;
}
#content ul li {
	margin-bottom: 5px;
}
#content table td {
	font-size: 14px;
    line-height: 1.5em
}
#content .grid1 h3 {
	font-size: 18px;
	line-height: 1.4;
}
#content .grid1 p img {
	margin: 0 0 0px 0px;
	max-width: 100%;
}
#content ul.pagesubnav {
	background: #f9f9f9;
	border: 1px solid #dddddd;
	border-radius: 3px;
    margin-top: 14px;
	padding-top: 14px;
	padding-bottom: 21px;
}
#content ul.pagesubnav li a {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
}
#content ul.pagesubnav li {
    list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
    list-style-position: outside;
    margin-bottom: 7px;
    margin-left: 10px;
    padding-left: 3px;
    padding-right: 14px;
}
#right {
	background-image: none;
}
#right h2 {
    color: #607046;
    font-size: 19px;
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    letter-spacing: .009em;
    line-height: 1.25;
    padding-bottom: 10px;text-transform: none;
}
ul#social_media {
	padding: 40px 15px 107px 15px;
}
#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;
    line-height: 22px;
}
#content {
  max-width: 882px;
  position: relative;
  width: 100%;
}

/* Right side content moved to bottom */

#content p.fullwidthimage img {
    border: none;
}

#content p img {
    border: none;
}
#right {
    background: none;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: 232px;
    width: 100%;
}
#right .rightcontentwysiwyg {
    background-color: #f2f2f2;
    padding: 30px 30px 30px 30px;
    border-radius: 5px;
}
#right h2 {
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 20px;
    letter-spacing: 0.01em;
    padding-bottom: 10px;
    text-transform: none;
}


/* Profile grids */

.OTAGO109258 #content.otgx {
    width: 100%;
    max-width: 882px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#content .grid-quarter-content {
    width: 21%;
    margin-right: 5.3%;
    margin-bottom: 46px;
    float: left;
    box-shadow: 0 0 20px #f1f1f1;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 3px;
    transition: 0.3s all ease;
    padding-bottom: 14px;
}
#content .grid-quarter-content:hover {
    border: 1px solid #cccccc;
    box-shadow: 0 0 3px #f1f1f1;
}
#content .grid-quarter-content:nth-of-type(4n) {
    margin-right: 0;
}
#content .grid-quarter-content h2:first-of-type {
    margin: 0 0 14px 0;
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
    font-size: 20px;
    padding: 7px 14px;
    position: relative;
}
#content .grid-quarter-content h2:after {
    content: '';
    width: 37px;
    height: 3px;
    background: #f9c000;
    position: absolute;
    left: 14px;
    bottom: -5px;
    transition: all 0.2s ease;
}
#content .grid-quarter-content p {
    margin: 0;
    padding: 0;
    padding: 0px 14px;
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
}
#content .grid-quarter-content p:first-of-type {
    padding: 0;
}
#content .grid-quarter-content p.smalltag {
    font-style: normal;
    font-family: Georgia, 'Times New Roman', serif;
    margin-top: 2px;
    color: #888888;
    line-height: 1.5;
}
#content .grid-quarter-content a {
    border-bottom: none;
}
#content .grid-quarter-content img {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 2px 2px 0 0;
}

body.frontpage #content .grid_third {
    width: 263px;
    margin-right: 46px;
}

body.frontpage #content .frontpage .news-title h2,
body.frontpage #content .frontpage .events-title h2,
body.frontpage #content .frontpage .profile-title h2 {
    border: none;
    margin-top: 42px;
    margin-bottom: 7px;
    padding: 0;
    background: url(gfx/stroke.gif) repeat-x 0 center;
}

body.frontpage #content .frontpage .news-title h3 {
    font-family: Helvetica,Arial,Geneva,sans-serif;
    font-size: 14px;
    padding-bottom: 0;
}

body.frontpage #content .frontpage .profile-title h2 {
    border: none;
    margin-top: 42px;
    margin-bottom: 7px;
    padding: 0;
    background: url(gfx/stroke.gif) repeat-x 0 center;
}
/* Department of Politics research */
.flexbox body.OTAGO052467 #content .grid3 {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
}
body.OTAGO052467 #content .grid3 .grid1 {
    box-shadow: 0 0 10px #e4e4e4,
                inset 0 0px 1px #999;
    margin-bottom: 28px;
    border-radius: 4px;
}
body.OTAGO052467 #content .grid1 p {
    padding-left: 14px;
    padding-right: 14px;
}
body.OTAGO052467 #content .grid1 p:first-of-type {
    padding: 0;
}
body.OTAGO052467 #content .grid1:nth-of-type(3n+1) {
    clear: left;
}
body.OTAGO052467 #content .grid1 img {
    max-width: 100%;
    border: none;
    padding: 0;
}


/* //////////// Frontpage styles /////////////// */


}
body.frontpage #title h1.notopimage {
    font-size: 57px;
    max-width: 100%;
}
body.frontpage #content hr {
	margin: 0px 0 14px 0;
    padding: 0;
	border-top: 1px solid #e4e4e4;
}
body.frontpage #content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0px;
    min-height: 250px;
}
body.frontpage #content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-display: swap;
	font-weight: 300;
    color: #7a9f76;
    text-rendering: optimizeLegibility;
    padding: 21px 0 21px 0;
}
body.frontpage #content .grid2 {
    min-height: 10px;
}
body.frontpage #content .grid2:nth-of-type(2n+1) {
    margin-right: 0;
}
body.frontpage #content .grid_third:nth-of-type(3n) {
	margin-right: 0;
}
body.frontpage #content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #content .grid1 ul {
    margin-left: 0;
}
body.frontpage #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}
body.frontpage #content .news-title h2,
body.frontpage #content .quick-title h2,
body.frontpage #content .profile-title h2 {
    border: none;
    margin-top: 42px;
    margin-bottom: 7px;
    padding: 0;
    background: url(gfx/stroke.gif) repeat-x 0 center;
}
body.frontpage #content .news-title h2 span,
body.frontpage #content .quick-title h2 span,
body.frontpage #content .profile-title h2 span {
    background: #fff;
    padding-right: 14px;
}
.event-hidden {
    display: none;
}
body.frontpage #features {
    margin: 0 0 112px 232px;
    overflow: hidden;
}
body.frontpage .features.news,
body.frontpage .features.events {
    width: 264px;
    float: left;
}
body.frontpage .features.news {
    margin-right: 46px;
}
body.frontpage .features.news h2 {
    display: none;
}
.features article {
    width: 100%;
}
.features article:nth-of-type(2),
.features article:nth-of-type(3) {
	display: none;
}
.features article p {
    color: #555555;
}
.news article:hover {
    background-color: #ffffff;
}
.events article {
    margin-top: 0px;
    padding: 0px 0px 14px 0px;
    background: none;
}
.events article:hover {
    background: none;
}
#slides {
	width: 264px;
    float: right;
}
#slides .otagoprofile {
	margin: 7px 0;
}
#slides .otagoprofile div {
	width: 100%;
	margin-right: 0;
}
#slides .otagoprofile div:nth-of-type(2n),
#slides .otagoprofile div:nth-of-type(3n) {
	display: none;
}
#slides .otagoprofile h2 {
	display: none;
}
#slides .otagoprofile p:first-of-type {
	display: none;
}
body.frontpage #right {
	background-image: none;
	clear: both;
	margin: 0px 0 0 0;
	padding: 0;
}
body.frontpage #right .rightwidget {
	position: absolute;
	width: 177px;
	margin-top: -400px !important;
}
body.frontpage #content.otgx {
    width: 882px;
}
body.frontpage #content .grid_third {
    width: 263px;
    margin-right: 46px;
}
.body.frontpage #content .news-items article h3 {
    font-family: Helvetica, Arial, Geneva, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    margin: 7px 0 0 0;
    padding-bottom: 3px;
    padding-top: 3px;
}
body.frontpage #content .news-items article:first-of-type,
body.frontpage #content .quick-title ul {
    margin-top: 21px;
}
.body.frontpage #content .news-items article h3 a {
    color: #416EBF;
    text-decoration: none;
    font-weight: normal;
}
.body.frontpage #content .news-items article p {
    font-size: 12px;
    line-height: 15px;
    margin-top: 7px;
    color: #888;
}
.body.frontpage #content .news-items article p.smalltag {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: normal;
    font-display: swap;
    font-size: 11px;
    line-height: 14px;
    color: #888;
    font-style: normal;
    text-transform: uppercase;
}

/* Hide profile extras */
body.frontpage #content .frontpage .profile-title div h2,
body.frontpage #content .frontpage .profile-title div p:first-of-type {
    display: none;
}






/* alternative styles */

body.frontpage #content .grid1.feature-box {
    box-shadow: 0 5px 14px #f5f5f5;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 35px;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
body.frontpage #content .grid1.feature-box:hover {
    box-shadow: 0px 0px 0 0 #f5f5f5;
}
body.frontpage #content .grid1.feature-box:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #content .grid1.feature-box h3 {
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 28px;
    color: #584f40;
}
body.frontpage #content .grid1.feature-box h3:after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    margin: 14px 0 7px 0;
    background: #f9c000;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
body.frontpage #content .grid1.feature-box:hover h3:after {
    width: 50%;
    background: #f9c000;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Feature article */
body.frontpage #content .article-headpost {
    width: 100%;
    float: left;
    margin: 21px 0px;
    margin-bottom: 35px;
}
body.frontpage #content .article-headpost h2 {
    border: none;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    color: #333333;
    font-size: 30px;
    background-color: #ffffff;
}
body.frontpage #content .article-headpost h2::after {
    content: '';
    display: block;
    height: 1px;
    width: 73%;
    margin-left: auto;
    background-color: #dadada;
    margin-top: -14px;
}
body.frontpage #content .grid_half.feature-article:nth-of-type(2n+1) {
    margin-right: 0;
}

body.frontpage #content .grid_half.feature-misc {
    width: 100%;
    margin-right: 6%;
    margin-top: 42px;
}
body.frontpage #content .grid_half.feature-misc h2 span {
    border-bottom: none;
  color: #607046;
  font-size: 42px;
  line-height: 1.25;
  font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  margin: 0 0 25px 0;
  text-rendering: optimizeLegibility;
    
}
body.frontpage #content .grid_half.feature-misc img {
    max-width: 100%;
}
body.frontpage #content .grid_half.feature-misc:nth-of-type(2n+1) {
    margin-right: 0;
}
body.frontpage #content .grid_half.feature-misc article {
    float: left;
    width: 184px;
    margin-right: 5.5%;
}
body.frontpage #content .grid_half.feature-misc article:nth-of-type(4n) {
    margin-right: 0;
}
/* body.frontpage #content article.clearFix {
    width: 45%;
} */

/* Frontpage feature boxes */

body.frontpage #content .grid1.feature-box img {
    padding: 0;
    border: none;
    width: 100%;
    border-radius: 2px 2px 0px 0;
}
body.frontpage #content .grid1.feature-box h3 {
    padding: 7px 0;
    margin-top: 0;
    margin-bottom: 0;
}
body.frontpage #content article h3 {
    margin-bottom: 0;
    padding-top: 0;
}
body.frontpage #content .grid1.feature-box .feature-box-content {
    padding: 0 14px;
}
body.frontpage #content .grid_half.feature-misc img {
    float: none;
    margin-left: 0;
    width: 100%;
}

/* Frontpage feature boxes */

body.frontpage #content .feature-button a {
    color: #416EBF;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
/*     background: #ffcd23; */
    text-align: center;
    border: 2px solid #f9c000;
    border-radius: 16px;
    display: inline-block;
    transition: all 0.2s ease;
    padding: 2px 14px;
}
body.frontpage #content .feature-button:hover a {
    background-color: #dfa000;
    color: #ffffff;
    border: 2px solid #dfa000;
}

/* Frontpage featured article */

body.frontpage #content .grid_half.feature-article {
    width: 48%;
    margin-right: 4%;
    box-shadow: 0 0 6px #f0f0f0;
    border: 1px solid #dddddd;
    box-sizing: border-box;
}
body.frontpage #content .grid_half.feature-article h3 {
    color: #555555;
    font-size: 20px;
    margin-bottom: 0;
    padding-top: 14px;
    padding-bottom: 7px;
}
body.frontpage #content .feature-article .feature-article-image {
    float: left;
    margin: 0;
    padding: 0;
    width: 46%;
    margin-right: 4%;
    line-height: 0;
}
body.frontpage #content .feature-article .feature-article-image img {
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
}
body.frontpage #content .feature-article .feature-article-content {
    float: left;
    width: 48%;
    padding: 0 2%;
    box-sizing: border-box;
}
body.frontpage #content .feature-article .feature-article-content .article-author {
    font-family: 'Minion Pro', Georgia, serif;
    font-size: 16px;
}
body.frontpage #content .feature-article .feature-article-content .article-author span {
    font-style: italic;
}
body.frontpage #content .feature-article .feature-article-content .article-author::after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    margin: 10px 0;
    margin-bottom: 7px;
    background: #f9c000;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* News and events */

body.frontpage #content .grid_half.feature-misc article h3 {
    font-size: 18px;
    padding-bottom: 7px;
}
body.frontpage #content .grid_half.feature-misc article p {
    display: none;
}
body.frontpage #content .grid_half.feature-misc article p.smalltag {
    display: block;
    font-style: normal;
}
body.frontpage #content .grid_half.feature-misc article h3 a {
    border-bottom: none;
    font-size: 14px;
    font-weight: 400;
}
body.frontpage #content .grid_half.feature-misc h2 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    color: #333333;
    font-size: 30px;
}

/* Video player */

body.frontpage #content .grid_half.feature-misc p iframe {
    margin-top: 14px;
}

body.frontpage #content .grid_half.feature-misc p iframe,
body.frontpage #content .grid_half.feature-misc .video-text {
    box-shadow: 0 0 10px #e4e4e4;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    border-radius: 3px;
    transition: box-shadow 0.2s ease;
}
body.frontpage #content .grid_half.feature-misc .video-text {
    border-radius: 0 0 3px 3px;
    height: 101px;
    margin-top: -8px;
    background: url(gfx/video-tessellations.png) no-repeat right 0;
}
body.frontpage #content .grid_half.feature-misc .video-text p {
    padding: 14px 21px;
    font-size: 16px
}
body.frontpage #content .grid_half.feature-misc .video-text p:first-of-type::after {
    content: '';
    display: block;
    height: 3px;
    width: 42px;
    margin-top: 14px;
    background-color: #f9c000;
}
body.frontpage #content .grid_half.feature-misc .video-text p:first-of-type {
    padding-bottom: 0;
}
body.frontpage #content .grid_half.feature-misc .video-text p:last-of-type {
    padding-top: 0;
}
body.frontpage #content .grid_half.feature-misc .video-text p:last-of-type span {
    color: #999999;
    text-transform: uppercase;
    font-size: 12px;
    font-style: normal;
}
body.frontpage #content .grid_half.feature-misc .video-text span {
    font-style: italic;
}

/* Line */

body.frontpage #content .grid_half.feature-misc h2::after {
    /*content: '';*/
    display: block;
    height: 1px;
    width: 72%;
    margin-left: auto;
    background-color: #dadada;
    margin-top: -14px;
    margin-bottom: 28px;
}
body.frontpage #content .grid_half.feature-misc h2.video-header::after {
    content: '';
    display: block;
    height: 1px;
    width: 62%;
    margin-left: auto;
    background-color: #dadada;
    margin-top: -14px;
}

/* New */

body.frontpage #content.otgx {
    width: 100%;
    max-width: 882px;
    display: flex;
    flex-wrap: wrap;
}

/* MEDIA QUERIES ************/


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



/* iPad landscape > */

@media only screen and (min-width: 768px) and (max-width: 1160px) {
	#contentwrapper {
		padding-left: 0;
		padding-right: 0;
	}
	footer.wrapper,
	div.footer_wrapper,
	#topnav,
	.topnavinner,
	div#nav_holder  {
		box-sizing: border-box;
		max-width: 100%;
	}
	.titleinner {
		max-width: 79.8%;
		overflow: hidden;
		position: relative;
	}
	#title h1 {
		box-sizing: border-box;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  #content .grid1:nth-of-type(3n) {
		margin-right: 46px;
	}
	#content .grid1:nth-of-type(2n) {
		margin-right: 0px;
		clear: right;
	}
	body.frontpage #title h1.notopimage {
		max-width: 650px;
	}
  body.frontpage #content h2 {
    font-size: 26px;
  }
	body.frontpage #content .grid2 {
    width: 302px;
  }
	body.frontpage #content .grid2 img {
		max-width: 302px;
	}
  body.frontpage #content .grid4 .grid1 {
    width: 150px;
    margin-right: 16px;
  }
  body.frontpage #content .grid4 .grid1 img {
      max-width: 100%;
  }
  #content .grid4 .grid_third {
      width: 186px;
  }
  #features {
      width: 650px;
  }
  body.frontpage .features.news {
      width: 186px;
  }
  body.frontpage .features article {
      margin-right: 0;
      width: 100%;
  }
  body.frontpage .features article:nth-of-type(2n) {
      margin-right: 0;
  }
  .news article .articletext {
      width: 100%;
  }
  body.frontpage .features.news {
      width: 186px;
      margin-right: 46px;
  }
  body.frontpage .features.events {
      width: 186px;
      float: left;
  }
  #slides {
      width: 186px;
  }
  body.frontpage #content.otgx {
      width: 650px;
  }
  body.frontpage #content .grid_third {
      width: 100%;
  }

    /* Profile grids */

    .OTAGO109258 #content.otgx {
        max-width: 650px;
    }
    #content .grid-quarter-content h2:first-of-type {
        font-size: 17px;
        hyphens: auto;
    }

    /* Frontpage feature boxes */

    body.frontpage #content #title h1.notopimage {
        max-width: 882px;
        font-size: 35px;
    }

    /* Frontpage feature boxes */

    body.frontpage #content .grid1.feature-box {
        width: 302px;
    }

    /* Frontpage feature boxes */

    body.frontpage #content .article-headpost h2::after {
        width: 63%;
    }

    body.frontpage #content .grid_half.feature-misc article {
        width: 100%;
        margin-right: 46px;
        float: left;
    }

    /* Last features line */

    body.frontpage #content .grid_half.feature-misc h2::after {
        width: 61%;
    }
    body.frontpage #content .grid_half.feature-misc h2.video-header::after {
        width: 50%;
    }

    body.frontpage {
        background: none;
    }

    body.frontpage #content .grid_half.feature-misc .video-text {
    	background: none;
    	height: initial;
    }

}

/* Portrait tablet ^ */
@media only screen and (max-width: 768px) {
    #content .grid1:nth-of-type(3n) {
		margin-right: 46px;
	}
	#content .grid1:nth-of-type(2n) {
		margin-right: 0px;
		clear: right;
	}
    body.frontpage #title h1 {
		width: auto;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
	body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) -150px 0px no-repeat;
    }
	body.frontpage #content {
        padding-top: 0;
    }
    body.frontpage #content .grid_third {
		width: 100%;
	}
    body.frontpage #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;
    }
    body.frontpage #right {
		background-image: none;
		clear: both;
		margin: 0px 0 0 0;
		padding: 0;
	}
	body.frontpage #right .rightwidget {
		position: absolute;
		width: 177px;
		margin-top: -100px !important;
	}
    #features {
        width: 418px;
    }
    body.frontpage .features article {
        margin-right: 0;
        width: 100%;
    }
    body.frontpage .features article:nth-of-type(2n) {
        margin-right: 0;
    }
    .news article .articletext {
        width: 100%;
    }
    body.frontpage .features.news {
        width: 100%;
        margin-right: 0px;
    }
    body.frontpage #features .news,
    body.frontpage .features.events {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    #features .events {
        width: 100%;
        float: none;
        padding-left: 0;
        border-left: none;
    }
    .events article {
        padding: 0;
        margin: 0;
        background: none;
    }
    .events-title {
        display: none;
    }
    .event-hidden {
        display: none;
    }
    body.frontpage .features.news:before {
		content: "News";
		font-weight: normal;
		line-height: 1.2;
		-webkit-font-smoothing: antialiased;
		font-size: 24px;
		font-family: 'Minion Pro', Georgia, serif;
		color: #000000;
		display: block;
		clear: both;
		margin: 21px 0;
	}
	body.frontpage .features.events:before {
		content: "Events";
		font-weight: normal;
		line-height: 1.2;
		-webkit-font-smoothing: antialiased;
		font-size: 24px;
		font-family: 'Minion Pro', Georgia, serif;
		color: #000000;
		display: block;
		clear: both;
		margin: 21px 0;
	}
	body.frontpage #slides:before {
		content: "Profiles";
		font-weight: normal;
		line-height: 1.2;
		-webkit-font-smoothing: antialiased;
		font-size: 24px;
		font-family: 'Minion Pro', Georgia, serif;
		color: #000000;
		display: block;
		clear: both;
		margin: 21px 0;
	}
    body.frontpage #features .features article:nth-of-type(2),
	body.frontpage #features .features article:nth-of-type(3),
	body.frontpage #features .news article:nth-of-type(2),
	body.frontpage #features .news article:nth-of-type(3) {
		display: none;
	}
    body.frontpage #slides {
        width: 100%;
        float: left;
    }
    body.frontpage .features.news {
        width: 100%;
        margin-right: 0px;
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.frontpage #right {
		border-top: none;
		width: 186px;
	}
	body.frontpage #right #pagemetadata {
		width: 177px;
		float: none;
		margin-right: 0;
	}
	body.frontpage #right .rightwidget {
		padding: 13px 10px 0px 0px;
	}
    body.frontpage #content.otgx {
        width: 418px;
    }

    /* Profile grids */

    .OTAGO109258 #content.otgx {
        max-width: 418px;
        hyphens: auto;
    }
    #content .grid-quarter-content {
        width: 47.3%;
    }
    #content .grid-quarter-content:nth-of-type(4n) {
        margin-right: 5.3%;
    }
    #content .grid-quarter-content:nth-of-type(2n) {
        margin-right: 0;
    }
    #content .grid-quarter-content h2:first-of-type {
        font-size: 17px;
    }
    #content .grid-quarter-content img {
        max-width: 100%;
        width: 100%;
    }

    /* Frontpage feature boxes */

    body.frontpage #content .grid1.feature-box {
        width: 44.5%;
    }

    /* Features articles by staff */

    body.frontpage #content .article-headpost h2::after {
        display: none;
    }
    body.frontpage #content .grid_half.feature-article {
        width: 100%;
    }
    body.frontpage #content #box6.grid_half.feature-article {
        margin-bottom: 35px;
        margin-right: 0;
    }
    body.frontpage #content .article-headpost {
        margin-bottom: 21px;
    }

    /* Strikethrough */

    body.frontpage #content .grid_half.feature-misc h2::after,
    body.frontpage #content .grid_half.feature-misc h2.video-header::after {
        display: none;
    }

    /* Feature misc */

    body.frontpage #content .grid_half.feature-misc {
        width: 100%;
        margin-right: 0;
    }

    body.frontpage {
        background: none;
    }

    body.frontpage #content .grid_half.feature-misc article {
        width: 100%;
        margin-right: 0;
        float: left;
    }

}



/* Mobile styles (phone and small tablet) media query */

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper,
    body.frontpage #wrapper {
        background: url(gfx/banner.jpg) -150px 0px no-repeat;
        background-size: 1000px;
        width: 100%;
    }
    #content {
        padding-top: 0;
    }
    body.OTAGO052467 #content .grid1 {
    	margin-bottom: 21px;
    }
    .titleinner,
    body.frontpage .titleinner {
        width: 92%;
    }
    #title h1,
    body.frontpage #title h1 {
        background-position: 2px 30px;
        background-size: 120px;
        font-size: 45px;
        margin-left: 0;
        padding-top: 180px;
        width: 97%;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
    }
    body.frontpage #title h1.notopimage {
        font-size: 36px;
        line-height: 1.2;
    }
    body.frontpage #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.frontpage #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.frontpage #content .grid2 {
        width: 100%;
        float: none;
    }
    body.frontpage #content div.grid2.frontpage-boxes {
        width: auto;
        max-width: 100%;
        min-height: 10px;
    }
    body.frontpage #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    body.frontpage #right {
		width: 92%;
	}
    body.frontpage #right #pagemetadata {
		width: 91%;
    }
    body.frontpage #right .rightwidget {
		position: static;
		width: 100%;
		margin-top: 0px !important;
	}
    body.frontpage #features,
    #features {
        width: 100%;
        margin: 0;
    }
    body.frontpage .features article {
        margin-right: 0;
        width: 100%;
    }
    body.frontpage .features article:nth-of-type(2n) {
        margin-right: 0;
    }
    .news article .articletext {
        width: 100%;
    }
    body.frontpage .features.news {
        width: 302px;
        margin-right: 0px;
    }
    body.frontpage .features.events {
        width: 100%;
        float: none;
    }
    #features .events {
        width: 100%;
        float: none;
        padding-left: 0;
        border-left: none;
    }
    .events article {
        padding: 0;
        margin: 0;
        background: none;
    }
    .events-title {
        display: none;
    }
    .event-hidden {
        display: inline-block;
    }
    body.frontpage #content.otgx {
        width: 97%;
    }
    /* Department of Politics research */
    body.OTAGO052467 #content .grid3 .grid1 {
       width: 47.5%;
        float: left;
        margin-right: 5%;
    }
    body.OTAGO052467 #content .grid3 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO052467 #content .grid1:nth-of-type(3n+1) {
        clear: left;
    }
    body.OTAGO052467 #content .grid1 img {
        max-width: 100%;
        float: none;
        margin-right: 21px;
        width: 100%;
    }
    .OTAGO052529 #right {
    padding-left: 0;
    width: 97%;
}
    /* Profile grid */
    .OTAGO109258 #content.otgx {
       max-width: 97%;
    }
    #content .grid-quarter-content {
        margin-bottom: 28px;
    }
    #content .grid-quarter-content img {
        float: none;
    }

    /* Feature boxes */

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

    /* Featured articles */

    body.frontpage #content .article-headpost {
        margin-bottom: 0;
    }
    body.frontpage #content .article-headpost h2::after {
        display: none;
    }
    body.frontpage #content .grid_half.feature-article {
        width: 100%;
        margin-right: 0;
        margin-bottom: 28px;
    }
    body.frontpage #content .feature-article .feature-article-image {

    }
    body.frontpage #content .feature-article .feature-article-image img {
        max-width: 100%;
    }

    /* Featured misc */

    body.frontpage #content .grid_half.feature-misc {
        width: 100%;
    }
}
