/*! 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: local('Amsi pro condbold'), local('Amsi-pro-condbold'), 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; }

/*********

CSAFE CSS

*********/

body {
	background: url(gfx/background.png) 0 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;
}
.titleinner {
	margin-top: 0px;
}
#title img {
	display: none;
	/*height: 0px;
	overflow: hidden;
	margin-bottom: 91px;*/
}
#wrapper:before {
	background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.3);
	background-size: 100%;
	content: '';
	display: block;
	height: 300px;
	left: 0;
	position: absolute;
	top: 360px;
	width: 100%;
	z-index: 0;
}
#title h1 {
	background: url(gfx/title.png) 0px 120px no-repeat;
	font-size: 55px;
	line-height: 1.05;
	color: hsl(86, 100%, 35%);
	font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 700;
	opacity: 1;
	margin-bottom: 21px;
	margin-left: 3px;
	margin-top: 3px;
	min-width: 650px;
	padding: 350px 0 0px 20px;
	position: static;
	text-rendering: optimizeLegibility;
	text-shadow: 0px 4px 5px rgba(255,255,255,0.3);
}
#title h1.notopimage {
	max-width: 650px;
}
#content h1 {
	display: none;
	padding-bottom: 70px;
}
#title p.heading-translation {
	color: hsl(86, 100%, 24%);
	font-family: 'Amsi pro condlight', 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 30px;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin-bottom: 28px;
	margin-top: -14px;
	padding-left: 23px;
}
#content {
	position: relative;
	z-index: 1;
}
#content h2 {
	border-bottom: none;
	color: #5ba000;
	font-family: 'Amsi pro condlight', 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 35px;
	font-weight: 500;
	line-height: 1.1;
	margin: 0px 0 21px 0;
	text-rendering: optimizeLegibility;
}
#content p + h2,
#content table + h2,
#content ul + h2,
#content ol + h2,
#content dl + h2,
#content form + h2 { margin-top: 35px; }
#content h3 {
	color: #777777;
	font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.25;
	margin-bottom: 21px;
}
#content h4 {
	font-size: 16px;
	font-weight: bold;
}
#content p,
#content ul li,
#content ul.pagesubnav li a,
#content ol li,
#content table th,
#content table td,
#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;
}
#content p,
#content ul li,
#content ol li,
#content dl,
#content dt,
#content dd,
#content label,
#content textarea,
#content input {
	font-size: 15px;
	line-height: 1.6;
}
#content a {
  transition: all 0.3s ease-out;
}
nav#global_nav a span.maori-hover {
  display: none;
}
nav#global_nav a:hover span.english-hover {
  display: none;
}
nav#global_nav a:hover span.maori-hover {
  display: block;
}
#content ul.pagesubnav {
	border: 1px solid rgba(0,0,0,0.1);
	padding-bottom: 14px;
	padding-top: 14px;
}
.features article h3 {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 400;
}
.features article p.smalltag {
	font-weight: 400;
	letter-spacing: 0.03em;
}
#right {
	background-image: none;
	margin-top: 0px;
	position: relative;
	z-index: 1;
}
#right h2 {
	margin-bottom: 14px;
}

.otago827617 #content {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}
.otago827617 #content .tile-box-shadow-container {
	margin-top: 42px;
}
.otago827617 #box2 {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.otago827617 #box2 h2 {
	width: 100%;
}
.otago827617 #content .tile-box-shadow-thumbnail-description p + h2:first-of-type {
	font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
	line-height: 1.2;
  letter-spacing: 0.01em;
}
.otago827617 .tile-box-shadow-thumbnail-description,
.otago827617 #box2 article {
	width: 29.8%;
}
.otago827617 #box2 article:not(:last-of-type),
.otago827617 .tile-box-shadow-thumbnail-description:not(:last-of-type) {
	margin-right: 5.3%;
}
.otago827617 #box2 article a {
	border-bottom: none;
}
.otago827617 #box2 article p.smalltag {
	font-style: normal;
}
.otago827617 #box2 article img {
	width: 100%;
}
.otago827617 #box2 article h3 {
	margin-bottom: 14px;
}


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

body.OTAGO036899 {
	background: url(gfx/background.png) 0 0px repeat-x;
}
body.OTAGO036899 #wrapper {
	background: url(gfx/frontpage-banner.jpg) center 0px no-repeat;
}
body.OTAGO036899 #content hr {
	margin: 35px 0 35px 0;
	border-top: 1px solid #e4e4e4;
}
body.OTAGO036899 #title h1.notopimage {
	max-width: 100%;
}
body.OTAGO036899 #content .grid4 {
	padding-top: 14px;
}
body.OTAGO036899 #content .grid4 .grid1 a {
	border-bottom: none;
}
body.OTAGO036899 #content .grid4 .grid1 a img {
	-moz-transition: 0.3s all;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
}
body.OTAGO036899 #content .grid4 .grid1 a img:hover {
	box-shadow: 0px 0px 14px #e4e4e4;
}
body.OTAGO036899 #content h2 {
	border-bottom: none;
	color: #5ba000;
	font-family: 'Amsi pro condlight', 'Open Sans', "Helvetica Neue", Helvetica, arial, sans-serif;
	font-size: 30px;
	font-weight: 300;
	line-height: 1.05;
	margin: 0 0 28px 0;
}
body.OTAGO036899 #content h2 span {
	color: #cccccc;
}
body.OTAGO036899 #content .welcome p {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
	text-rendering: optimizeLegibility;
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 35px;
}
body.OTAGO036899 #content .welcome h2 {
	background-color: #f3f8ec;
	border-left: 1px solid #e3f0d2;
	padding: 6px 21px 7px 14px;
	margin-bottom: 0;
	display: inline-block;
}
body.OTAGO036899 #content .welcome h2 span {
	color: #5ba000;
}
body.OTAGO036899 #content .welcome img {
	margin-bottom: 7px;
}
body.OTAGO036899 #content .mihi {
	background-color: #f3f8ec;
	border-left: 1px solid #e3f0d2;
	/*border-top: 1px solid #e3f0d2;*/
	border-bottom: 1px solid #e3f0d2;
	border-right: 1px solid #e3f0d2;
	padding: 14px 14px 7px 14px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
	text-rendering: optimizeLegibility;
	font-style: italic;
	color: #666666;
}
body.OTAGO036899 #content p.mihi {
	color: hsl(86,50%,30%);
	font-size: 14px;
	line-height: 1.6;
	padding-top: 14px;
	padding-bottom: 14px;
}
body.OTAGO036899 #content .featurebox-news {
	background: url("/_assets/_gfx/sprite-widget.png") no-repeat -179px -337px;
}
body.OTAGO036899 #content .featurebox-seminars {
	background: url("/_assets/_gfx/sprite-widget.png") no-repeat -628px -792px;
}
body.OTAGO036899 #content .featurebox-people {
	background: url("/_assets/_gfx/sprite-widget.png") no-repeat -3px -165px;
}
body.OTAGO036899 #content .featurebox-research {
	background: url("gfx/research-icon.png") no-repeat 167px 0;
}
body.OTAGO036899 #content ul {
	margin-top: 0;
	margin-left: 16px;
}
body.frontpage .features h2 {
	color: hsl(86,100%,31%);
	font-family: 'Amsi pro condlight', 'Open Sans', "Helvetica Neue", Helvetica, arial, sans-serif;
	font-size: 30px;
	margin-bottom: 28px;
}
body.OTAGO036899 .features {
	margin-bottom: 70px;
}
body.OTAGO036899 #right {
	background-image: none;
	clear: both;
	margin: -250px 0 0 0;
	padding: 0;
}
ul#social_media {
	height: 280px;
}

/* News page */

body.OTAGO036947 #right h2 {
	font-weight: bold;
	color: #444444;
	text-shadow: 0 0 4px #ffffff;
	margin-top: 7px;

}


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


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


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


/* iPad landscape */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	body.OTAGO036899 hr {
		margin-top: 300px;
		clear: both;
	}
	body.OTAGO036899 #content .grid2 {
		max-width: 290px;
	}
	body.OTAGO036899 #content .grid2.welcome img {
		max-width: 290px;
	}
	body.OTAGO036899 #content .grid2 h2 {
		margin-bottom: 21px;
	}
}




@media only screen and (max-width: 768px) {
	body {
		background: url(gfx/background-inside.png) 0 0px repeat-x;
	}
	body.OTAGO036899 #content .mihi {
		margin-bottom: 35px;
	}
	body.OTAGO036899 #content .mobilelast {
		margin-right: 0;
	}
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.OTAGO036899 #right {
		border-top: none;
		width: 186px;
	}
	#right .rightwidget {
		padding-right: 0px;
	}
}



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

@media only screen and (max-width: 700px) {
	body, body.OTAGO036899 {
    	background: none;
	}
	#wrapper {
    	background: url("gfx/frontpage-banner.jpg") no-repeat right 0px;
    	background-size: 800px;
	}
	#wrapper:before {
		top: 190px;
	}
	.titleinner {
		width: 92%;
	}
	#title h1,
	body.OTAGO036899 #title h1 {
		background-position: 0 30px;
		background-size: 260px;
		font-size: 45px;
		margin-left: 0px;
		margin-bottom: 14px;
		padding-left: 0;
		padding-top: 120px;
	}
	body.OTAGO036899 #title h1 {
		padding-top: 170px;
	}
	#title p.heading-translation {
		padding-left: 0;
	}
	body.OTAGO036899 #wrapper {
	    background-size: 1100px;
	}
	body.OTAGO036899 #content .grid4 .grid1 img {
		float: none;
		margin-left: 0;
		max-width: 100%;
	}
	body.OTAGO036899 #content .grid1 {
    margin-right: 5%;
		width: 47.5%;
  }
  body.OTAGO036899 #content .grid1:nth-of-type(2n) {
    margin-right: 0;
  }
	body.OTAGO036899 #content .featurebox-news,
	body.OTAGO036899 #content .featurebox-seminars,
	body.OTAGO036899 #content .featurebox-people,
	body.OTAGO036899 #content .featurebox-research {
		background: none;
	}
	body.OTAGO036899 #right {
		margin: 0px 0px 0px 0px;
		width: 96%;
	}
	#content {
		max-width: 97%;
		min-height: 100px;
		float: none;
		width: 100%;
	}
	#content p a {
		word-break: break-word;
		-webkit-hyphens: auto;
	   -moz-hyphens: auto;
        hyphens: auto;
	}
	#content p#map_canvas {
		max-width: 90%;
		max-height: 300px;
	}
	.otago827617 #content {
		max-width: 97%;
	}
	.otago827617 #content .tile-box-shadow-thumbnail-description {
		margin-right: 0;
		width: 100%;
	}
	#content .tile-box-shadow-thumbnail-description h2 a {
		display: block;
		padding-top: 21px;
	}
	#content .tile-box-shadow-thumbnail-description p:nth-child(1) {
		float: right;
		margin-bottom: 0;
		width: 45%;
	}
	.otago827617 #content .tile-box-shadow-thumbnail-description img {
		display: block;
		object-fit: contain;
		padding: 0;	
	}
	.otago827617 #content article,
	.otago827617 #box2 article:not(:last-of-type) {
		margin-bottom: 21px;
		margin-right: 0;
		width: 100%;
	}
	.otago827617 #content article h3 {
		font-family: 'Open sans', Helvetica, Arial, sans-serif;
		font-size: 15px;
		font-weight: normal;
		line-height: 1.5;
		margin-bottom: 14px;
	}
	.otago827617 #content article img {
		max-width: 45%;
	}
}
