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

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

Centre for Translational Physiology CSS

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

body {
  background: url(gfx/frontpage-background.png) center 0 repeat-x;
	background-position-y;
}
#wrapper {
	background: url(gfx/frontpage-banner.jpg) center 0 no-repeat;
}
/* .titleinner {
	padding-top: 300px;
	margin-top: 0px;
  background: url(gfx/title.png) 213px 40px no-repeat;
} */
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;
}
 #title h1, body.frontpage #title h1.notopimage {
    background: url(gfx/title-2023.png) -5px 85px no-repeat;
    color: #5ba9cf;
    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: 400px 0 0 0;
    position: static;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
  max-width: 100%;
  margin-bottom: 7px;
}
#title p.heading-translation {
    color: #888888;
    font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
    font-size: 30px;
	font-weight: 300;
    line-height: 1.2;
    margin-bottom: 35px;
    margin-top: -14px;
    padding-left: 23px;
}
/* .titleinner img {
	display: none;
} */
#content h2 {
      border-bottom: none;
      color: #c3a976;
      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: #5ba9cf;
      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: grey;
      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 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 ul li {
	margin-bottom: 3px;
}
#content ul.pagesubnav {
	border: 1px solid #dddddd;
	padding-bottom: 14px;
	padding-top: 14px;
}
#right .rightcontentwysiwyg img {
	border: 1px solid #b3b5ba;
}
#right .rightcontentwysiwyg p {
	border-bottom: none;
}
#right .rightcontentwysiwyg p:last-child {
	border-bottom: 1px solid #ededed;
}
#content {
  max-width: 882px;
  position: relative;
  width: 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 p.fullwidthimage img {
    border: none;
}
#content p img {
    border: none;
}
#content ul.pagesubnav li a {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 2;
}
#content ul.pagesubnav li {
    list-style-position: outside;
    margin-left: 10px;
    padding-left: 5px;
}
#content ul.pagesubnav {
   background-color: #f9f9f9;
}


/* Facilities page */
.OTAGO058878 #content {
	width: 100%;
	max-width: 882px;
}
#content .grid-third {
	background: #ffffff;
	border: 1px solid #dddddd;
	width: 28.6%;
	margin-right: 7.1%;
	box-sizing: border-box;
	float: left;
	border-radius: 3px;
	box-shadow: 0 0 10px #e4e4e4;
	margin-bottom: 46px;
}
#content .grid-quarter {
	background: #ffffff;
	border: 1px solid #dddddd;
	width: 21.1%;
	margin-right: 5.2%;
	box-sizing: border-box;
	float:  left;
	border-radius: 3px;
	box-shadow: 0 0 10px #e4e4e4;
	margin-bottom: 46px;
}
#content .grid-third h2,
#content .grid-quarter h2 {
	font-weight: 300;
	font-size: 22px;
	margin-top: 21px;
	margin-left: 14px;
	margin-right: 14px;
	position: relative;
	border-bottom: none;
}
#content .grid-third H2+p {
	margin-left: 14px;
}
#content .grid-quarter h2:before,
#content .grid-third h2:before {
	content: '';
	width: 37px;
	height: 3px;
	background: #f9c000;
	position: absolute;
	display: block;
	top: -14px;
}
.OTAGO058878 #content .grid-quarter:nth-of-type(4),
.OTAGO642837 #content .grid-third:nth-of-type(3n) {
	margin-right: 0;
}
#content .grid-third a {
	border: none !important;
}
#content .grid-third img,
#content .grid-quarter img {
	border-radius: 2px 2px 0px 0;
	border: none;
	padding: 0;
	margin: 0;
	width: 100%;
}
.OTAGO058878 #content .player {
	width: 21.1%;
	display: inline-block;
	margin-right: 4.7%;
	padding: 0;
	margin-bottom: 46px;
}
.OTAGO058878 #content a.player {
	border-bottom: none;
	line-height: 0;
}
.OTAGO058878 #content a.player img:hover {
	box-shadow: 0 10px 30px #ccc;
}
.OTAGO058878 #content .player img {
	border: none;
	transition: all 0.2s ease-in;
	margin: 0;
	padding: 0;
	width: 100%;
}
.OTAGO058878 #content .player:nth-of-type(4n) {
	margin-right: 0;
}
.frontpage #content #box2 {
	display: flex;
	flex-wrap: wrap;
}
.frontpage #content #box2 .grid-quarter {
	box-shadow: 0 10px 20px #f9f9f9;
	margin-top: 28px;
}
.frontpage #content #box2 .grid-quarter h2 {
	margin-bottom: 0;
	margin-top: 28px;
}
.frontpage #content #box2 .grid-quarter p:not(:first-of-type) {
	margin-left: 14px;
	margin-right: 14px;
}

/* Our People */

body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description p:not(:first-of-type) {
	margin-left: 14px;
	margin-right: 14px;
}
body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description h2 {
	font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-size: 24px;
	font-weight: 300;
}
body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description h2,
body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description p,
body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description ul {
	word-break: normal;
}


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

/* body.OTAGO051503 {
  background: url(gfx/frontpage-background.png) center 0 repeat-x;
}
body.OTAGO051503 #wrapper {
	background-image: url(gfx/frontpage-banner.jpg);
} */
/* body.OTAGO051503 .titleinner {
	padding-top: 350px;
	margin-top: 0px;
  background: url(gfx/title.png) 213px 90px no-repeat;
} */

body.OTAGO051503 #content {
	width: 882px;
}
body.OTAGO051503 #content .intro p {
	font-size: 55px;
	line-height: 1.1;
	margin: 21px 0 25px 0;
	color: #1f9bfa;
	font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 700;
}
body.OTAGO051503 #content .news {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-webkit-box-shadow:  0px 0px 35px -3px rgba(0,0,0,.17);
	-moz-box-shadow:  0px 0px 35px -3px rgba(0,0,0,.17);
	box-shadow:  0px 0px 35px -3px rgba(0,0,0,.17);
	border: none;
	padding: 14px;
	width: 158px;
}
body.OTAGO051503 #content .news article:hover {
	background: none;
}
body.OTAGO051503 #content .news .articletext {
	width: auto;
	float: none;
	border-bottom: #e9e9e9 solid 1px;
	padding: 7px 0;
}
body.OTAGO051503 #content .news article:last-child .articletext {
	border-bottom: none;
}
body.OTAGO051503 #content .news h2 {
	border-bottom: none;
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 14px 0;
	padding-bottom: 0;
	font-weight: 400;
}
body.OTAGO051503 #content .news h3 {
	font-family: Helvetica, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	margin: 7px 0;
}
body.OTAGO051503 #content .news p.smalltag {
	color: #999999;
	text-transform:uppercase;
	font-style: normal;
	margin-bottom: 7px;
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
	font-size: 11px;
	line-height: 1.4;
}
body.OTAGO051503 .news article img {
	max-width: 100%;
	margin-bottom: 7px;
}
body.frontpage #content p.caption232.nocaption {
  border-bottom: none;
}
body.frontpage #content #box2 {
	float: none;
	margin-right: 0;
	width: 100%;
}
body.frontpage #content #box3 {
	display: flex;
	flex-wrap: wrap;
	float: none;
}
body.frontpage #content #box3 h2 {
	border-bottom: none;
	border-top: 4px dotted #dddddd;
	color: #c3a976;
	padding-top: 28px;
	width: 100%;
}
body.frontpage #content #box3 article {
	width: 21%;
}
body.frontpage #content #box3 article h3 {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 7px;
}
body.frontpage #content #box3 article .smalltag {
	font-style: normal;
}
body.frontpage #content #box3 article a {
	border-bottom: 0;
	
}
body.frontpage #content #box3 article img {
	margin-bottom: 0;
	max-width: 100%;
	width: 100%;
}
body.frontpage #content #box3 article:not(:last-of-type) {
	margin-right: 5.3%;
}
body.OTAGO051503 #right {
	background: none;
	margin-left: 0;
	padding-left: 0;
	margin-top: -250px;
}
#content .grid-third p img {
		max-width: 100%;
		height: auto;
		float: none;
	}

/* Staff page */

body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description:nth-of-type(3n) {
	margin-right: 0;
}
body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description  {
	word-break: break-all;
}

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

/* iPad landscape */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#wrapper {
		background-position: 63% 0
	}
	body.OTAGO051503 #content {
		width: 650px;
	}
	body.OTAGO051503 #content .grid3 {
		width: 418px;
		margin-right: 46px;
	}
	.OTAGO058878 #content {
		max-width: 650px;
	}
	.OTAGO058878 #content .player {
		width: 21%;
	}

	/* Staff page */

	body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description {
		width: 48%;
		margin-right: 4%;
	}
	body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description:nth-of-type(2n) {
		margin-right: 0;
	}
}

@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.notopimage {
               background-image: url(gfx/title-2023@2x.png);
               background-size: 499px;
           }


@media only screen and (max-width: 768px) {
	#wrapper {
		background-position: 75% 0;
	}
	body.OTAGO051503 #content {
		width: 418px;
	}
	body.OTAGO051503 #content .grid3,
	body.OTAGO051503 #content .grid1 {
		width: auto;
		margin-right: 0;
		float: none;
	}
	body.OTAGO051503 #right {
		margin-top: 0;
	}

	/* Staff page */

	body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description {
		width: 48%;
		margin-right: 4%;
	}
	body.OTAGO051509 #content .tile-box-shadow-thumbnail-no-description:nth-of-type(2n) {
		margin-right: 0;
	}
}

@media only screen and (min-width: 701px) and (max-width: 768px) {
	.OTAGO058878 #content {
	 max-width: 418px;
  }
	.OTAGO058878 #content .grid-quarter {
		width: 47%;
		margin-bottom: 23px;
	}
	.OTAGO058878 #content .grid-quarter:nth-of-type(2n) {
		margin-right: 0;
	}
	.OTAGO058878 #content .player {
		width: 29.2%;
		margin-bottom: 23px;
	}
	.OTAGO058878 #content .player:nth-of-type(4n) {
		margin-right: 5%;
	}
	.OTAGO058878 #content .player:nth-of-type(3n) {
		margin-right: 0;
	}
	body.frontpage #content #box2 .grid-quarter,
	body.frontpage #content #box3 article {
		margin-bottom: 0;
		width: 47.4%;
	}
	body.frontpage #content #box3 article:not(:last-of-type) {
		margin-right: 5%;
	}
	body.frontpage #content #box2 .grid-quarter:nth-of-type(2n),
	body.frontpage #content #box3 article:nth-of-type(2n) {
		margin-right: 0;
	}
	body.frontpage #content #box3 {
		margin-top: 28px;
	}
}




@media only screen and (max-width: 700px) {
/* 	.titleinner {
		background-position: 0 36px;
		background-size: 275px;
		padding-top: 210px;
	} */
	#title h1, body.frontpage #title h1.notopimage  {
      background-size: 450px;
      background-position: 0 40px;
      font-size: 40px;
      padding: 220px 0 0 0;
      margin-left: 0;
		  margin-bottom: 0px;
    }
	body {
		background: none;
	}
	#wrapper {
		background-size: auto 300px;
	}
/* 	body.OTAGO051503 .titleinner {
		background-position: 0 36px;
		background-size: 275px;
		padding-top: 196px;
	} */
	body.OTAGO051503 {
		background: none;
	}
	body.OTAGO051503 #wrapper {
		background-size: auto 300px;
	}
	body.OTAGO051503 #content {
		width: 95%;
	}
	body.OTAGO058878 #content {
		width: 97%;
	}
	.OTAGO058878 #content .player {
		width: 20.9%;
		margin-bottom: 23px;
	}
	#content .grid-quarter img,
	.OTAGO058878 #content .player img {
		float: none;
		max-width: 100%;
	}
  body.frontpage #content p.caption232 {
		width: 100%;
	}
	body.frontpage #content p.caption232 img {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}
	body.frontpage .news article {
		clear: both;
		overflow: hidden;
		margin-bottom: 14px;
	}
	body.OTAGO051503 #content .news .articletext {
		border-bottom: none;
	}
	body.frontpage #content #box2 .grid-quarter,
	body.frontpage #content #box3 article {
		margin-bottom: 0;
		width: 47.4%;
	}
	body.frontpage #content #box3 article:not(:last-of-type) {
		margin-right: 5%;
	}
	body.frontpage #content #box2 .grid-quarter:nth-of-type(2n),
	body.frontpage #content #box3 article:nth-of-type(2n) {
		margin-right: 0;
	}
	body.frontpage #content #box3 {
		margin-top: 28px;
	}
}




@media only screen and (max-width: 540px) {
	.OTAGO058878 #content .grid-quarter h2 {
		margin-left: 7px;
	}
	.OTAGO058878 #content .player {
		width: 20.8%;
	}
	#title h1, body.frontpage #title h1.notopimage {
      background-size: 300px;
      background-position: 0 45px;
    }
	}


@media only screen and (max-width: 450px) {
	.OTAGO058878 #content .grid-quarter {
		width: 47%;
		margin-bottom: 23px;
	}
	.OTAGO058878 #content .grid-quarter:nth-of-type(2n) {
		margin-right: 0;
	}
	.OTAGO058878 #content .player {
		width: 46%;
	}
	.OTAGO058878 #content .player:nth-of-type(2n) {
		margin-right: 0;
	}
}



@media only screen and (max-width: 400px) {
	.OTAGO058878 #content .grid-third {
		width: 46.4%;
		margin-bottom: 21px;
	}
	.OTAGO058878 #content .grid-third:nth-of-type(3n),
  .OTAGO642837 #content .grid-third:nth-of-type(3n) {
		margin-right: 7.1%;
	}
	.OTAGO058878 #content .grid-third:nth-of-type(2n),
  .OTAGO642837 #content .grid-third:nth-of-type(2n) {
		margin-right: 0;
	}
}
