@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-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-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/_assets/_fonts/opensans/opensans-bold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-bold.woff) format('woff'); }

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

Department of Biochemistry

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

/*
*
* Base styles
*
*/

body {
/*     background: url(gfx/background-inner.png) center 0px repeat-x; */
}
#wrapper {
    background: url(gfx/banner-inner.jpg) center 0px no-repeat;
}
.titleinner {
    padding-top: 230px;
    margin-top: 0px;
    background: url(gfx/title.png) 233px 60px no-repeat;
}
.titleinner img {
    display: none;
}
#title h1 {
    padding: 5px 0 14px 0px;
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 0 23px;
    background: none;
    color: #296c8f;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: static;
    max-width: 627px;
    margin-top: 3px;
    letter-spacing: -0.01em;
}
#content h2 {
    margin: 28px 0 14px 0;
    text-rendering: optimizeLegibility;
    border-bottom: none;
    color: #32424e;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 1.25;
}
#content  h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
    margin-top: 28px;
}
#content h3 {
    font-family: "Minion Pro", Minion, Georgia, serif;
    margin-bottom: 14px;
}
#content hr {
    border-top: 1px solid #dddddd;
    clear: both;
    margin-top: 35px;
    margin-bottom: 35px;
}
#content p,
#content ul,
#content ol,
#content table,
#content dl,
#right p,
#right li {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 15px;
    text-rendering: optimizeLegibility;

}
#content tr th,
#content tr td,
#right p,
#right li {
    font-size: 15px;
    line-height: 1.5;
}
#content tr th {
    color: #666666;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 700;
}
#content li {
    margin-bottom: 7px;
}
#content ul {
	margin-left: 14px;
}
#content ol {
    margin-left: 16px;
}
#content dt,
#content dd {
    box-sizing: border-box;
}
#content .grid-half {
    width: 46.1%;
    margin-right: 7.8%;
    float: left;
    margin-bottom: 23px;
}
#right {
    background-image: none;
}
a.link-arrow {
    font-size: 14px;
    background: url(/_assets/_gfx/yellow-arrow-small.svg) no-repeat 0 center #ffffff;
    padding: 0 7px 0 14px;
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
}
p.link-arrow a {
    font-size: 14px;
    background: url(/_assets/_gfx/yellow-arrow-small.svg) no-repeat 0 center #ffffff;
    padding: 0 7px 0 14px;
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
}

/*
*
* Frontpage styles
*
*/

body.frontpage {
    background: url(gfx/background-frontpage.png) center 0px repeat-x;
}
body.frontpage #wrapper {
    background: url(gfx/banner-frontpage.jpg) center 0px no-repeat;
}
body.frontpage .titleinner {
    padding-top: 330px;
    padding-bottom: 14px;
    background: url(gfx/title.png) 233px 114px no-repeat;
}
body.frontpage #title h1 {
    line-height: 1.3;
}
body.frontpage #title h1.notopimage {
    max-width: 882px;
    font-size: 40px;
    padding-right: 0;
}
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.otgx {
    width: 882px;
}
body.frontpage #content .tile-box-shadow-thumbnail-description h2 a:hover {
    border-bottom: none;
}
body.frontpage #content .tile-box-shadow-thumbnail-description h2:after {
    transition: all 0.3s ease-out;
    width: 47px;
}
body.frontpage #content .tile-box-shadow-thumbnail-description h2:hover:after {
    width: 50%;
}
body.frontpage #content .tile-box-shadow-thumbnail-description p,
body.frontpage #content .tile-box-shadow-thumbnail-description li {
    font-size: 14px;
}
body.frontpage #content .tile-box-shadow-thumbnail-description ul {
    margin-left: 28px;
}
body.frontpage #content .next-step {
    float: none;
    text-align: left;
    margin-bottom: 21px;
}
body.frontpage #content .next-step a {
    padding: 1px 35px 1px 14px;
    background-position: right 0 top 4px;
}
body.frontpage #content article h3 {
    margin-bottom: 3px;
}
body.frontpage #content article .smalltag {
    font-style: normal;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #999999;
}
body.frontpage #content article a {
    border-bottom: none;
}
body.frontpage #content article a img {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 7px;
}
a[href*="facebook.com"] {
    background: url(/_assets/_gfx/sprite-socialmedia-icons.png) no-repeat -292px -60px;
}

/* Latest news */

body.frontpage #box2 article .articletext h3 {
    font-size: 16px;
}
body.frontpage #box2 article:nth-of-type(3n) {
    margin-right: 0;
}

/* Latest news */

body.n5367 #title h1 {
    position: static;
    max-width: 882px;
    width: 100%;
    margin-top: 3px;
}

/* Upcoming events */

body.frontpage #box3.events {
    float: left;
    width: 35%;
    margin-right: 5%;
}
body.frontpage #box3.events article {
    background: none;
}
body.frontpage #box3.events article:hover {
    background: none;
}
body.frontpage #box3.events h3 {
    font-size: 16px;
}

/* Related sites */

body.frontpage #box4 {
    float: left;
    width: 60%;
}
body.frontpage #content #box2,
body.frontpage #content #box3,
body.frontpage #content #box4,
body.frontpage #content #box5 {
    width: 28.6%;
    margin-right: 7.1%;
    float: left;
}
body.frontpage #content #box2 {
    width: 100%;
    margin-right: 0;
}
body.frontpage #content #box2 article {
    width: 30%;
    margin-right: 5%;
    float: left;
}
body.frontpage #content #box2 article:last-of-type {
    margin-right: 0;
}
body.frontpage #content #box2 .content-link-button.content-forward {
    float: right;
}
body.frontpage #content #box5 {
    margin-right: 0;
}

/* Begin - Our people styles */

body.OTAGO644310 #content {
    display: flex;
    flex-wrap: wrap;
    width: 696px;
}
body.OTAGO644310 #content .subnav {
    width: 650px;
    float: left;
}
body.OTAGO644310 #content .heading {
    width: 650px;
    float: left;
}
body.OTAGO644310 #right {
    position: absolute;
    padding-left: 0;
    margin-top: 270px;
}
body.OTAGO644310 .heading {
    width: 100%;
    float: left;
}
body.OTAGO644310 #content .grid1 {
    margin-bottom: 35px;
}
body.OTAGO644310 #content .grid1 p img {
    border: none;
    margin: 0;
    padding: 0;
}
body.OTAGO644310 #content .grid1 .staff-title {
    font-style: italic;
}
body.OTAGO644310 #content .grid1 .staff-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    margin: 7px 0;
    background: #f9c000;
}
body.OTAGO644310 #content .grid1 h3.staff-name {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    color: #333;
}
body.OTAGO644310 #content .grid1 h4 {
    font-family: Helvetica, Arial, Geneva, sans-serif;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}
body.OTAGO644310 #content .grid1 p {
    margin-bottom: 7px;
}
body.OTAGO644310 #content .floating-nav {
    position: absolute;
    width: 186px;
    margin-left: 696px;
}
body.OTAGO644310 #content .floating-nav h2 {
    color: #888888;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 16px;
    margin: 0;
    margin-top: 0px;
    padding: 7px 30px 0 0;
    padding-bottom: 0px;
    font-family: 'Open sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    border-bottom: none;
}
body.OTAGO644310 #content .floating-nav ul {
    margin-left: 0;
    margin-top: 7px;
}
body.OTAGO644310 #content .floating-nav li {
    font-size: 12px;
    line-height: 16px;
    color: #666666;
    margin: 0 0 0 16px;
    padding: 0 0 5px 0;
    list-style-position: outside;
}

/* End - Our people styles */

/* Begin - Our people styles */

body.OTAGO158203 #content {
    display: flex;
    flex-wrap: wrap;
    width: 696px;
}
body.OTAGO158203 #content .subnav {
    width: 650px;
    float: left;
}
body.OTAGO158203 #content .heading {
    width: 650px;
    float: left;
}
body.OTAGO158203 #right {
    position: absolute;
    padding-left: 0;
    margin-top: 270px;
}
body.OTAGO158203 .heading {
    width: 100%;
    float: left;
}
body.OTAGO158203 #content .grid1 {
    margin-bottom: 35px;
}
body.OTAGO158203 #content .grid1 p img {
    border: none;
    margin: 0;
    padding: 0;
}
body.OTAGO158203 #content .grid1 .staff-title {
    font-style: italic;
}
body.OTAGO158203 #content .grid1 .staff-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    margin: 7px 0;
    background: #f9c000;
}
body.OTAGO158203 #content .grid1 h3.staff-name {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    color: #333;
}
body.OTAGO158203 #content .grid1 h4 {
    font-family: Helvetica, Arial, Geneva, sans-serif;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}
body.OTAGO158203 #content .grid1 p {
    margin-bottom: 7px;
}
body.OTAGO158203 #content .floating-nav {
    position: absolute;
    width: 186px;
    margin-left: 696px;
}
body.OTAGO158203 #content .floating-nav h2 {
    color: #888888;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 16px;
    margin: 0;
    margin-top: 0px;
    padding: 7px 30px 0 0;
    padding-bottom: 0px;
    font-family: 'Open sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    border-bottom: none;
}
body.OTAGO158203 #content .floating-nav ul {
    margin-left: 0;
    margin-top: 7px;
}
body.OTAGO158203 #content .floating-nav li {
    font-size: 12px;
    line-height: 16px;
    color: #666666;
    margin: 0 0 0 16px;
    padding: 0 0 5px 0;
    list-style-position: outside;
}

/* End - Our people styles */

/* Research profiles */
body.n6097 #title h1.notopimage {
	text-indent: -9999px;
	height: 0;
}
body.n6097 #content h1 {
	font-size: 38px;
  line-height: 1.2;
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  line-height: 1.2;
	padding-bottom: 28px;
	color: #1b568c;
}



.OTAGO071608 #content table {
    border: 1px solid #dddddd;
    margin-bottom: 42px;
}


/* Tablet styles */

@media only screen and (max-width: 1024px) and (min-width: 769px) {
    body.frontpage #wrapper {
        background: url(gfx/banner-frontpage.jpg) -100px 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/banner-inner.jpg) -100px 0px no-repeat;
    }
    .titleinner {
        padding-top: 230px;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    #content {
        background-size: 420px;
    }
    #contentwrapper {
        width: 882px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage #title h1.notopimage {
        max-width: 650px;
    }
    #content .grid4 .grid_half {
        width: 302px;
    }
    body.frontpage #box2 article:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #box2 article:nth-of-type(3n) {
        margin-right: 46px;
    }
    body.frontpage #box3.events,
    body.frontpage #box4 {
        width: 100%;
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    body.frontpage #right {
        margin: 0;
    }
    body.frontpage #content .tile-box-shadow-thumbnail-description {
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
    #wrapper {
        background-position: -100px 0;
        width: 753px;
    }
    .titleinner {
        padding-top: 230px;
        padding-bottom: 0;
        background: url(gfx/title.png) 227px 70px no-repeat;
    }
    body.frontpage #title h1 {
        width: auto;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.2;
    }
    body.frontpage {
        background: none;
    }
    body.frontpage #wrapper {
        background: url(gfx/banner-frontpage.jpg) -155px 0px no-repeat;
        background-size: 1200px;
    }
    body.frontpage .titleinner {
        padding-top: 305px;
        background: url(gfx/title.png) 227px 100px no-repeat;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
        font-size: 36px;
    }
    #content {
        background-size: 420px;
    }
    body.frontpage #content.otgx {
        width: initial;
    }
    body.frontpage #content .tile-box-shadow-thumbnail-description {
        width: 100%;
    }
    body.frontpage #content #box2,
    body.frontpage #content #box3,
    body.frontpage #content #box4,
    body.frontpage #content #box5 {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #box2 article:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #box2 article:nth-of-type(3n) {
        margin-right: 46px;
    }
    body.frontpage #box3.events,
    body.frontpage #box4 {
        width: 100%;
        margin-right: 0;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
        width: 100%;
        background-position: -250px 0;
        background-size: 900px;
        background-repeat: repeat-x;
    }
    body.frontpage #wrapper {
        width: 100%;
        background-size: 800px;
        background-position: -280px 0;
    }
    #content {
        background-size: contain;
    }
    body.frontpage #content {
        background: none;
    }
    .titleinner{
        background-position: 0px 53px;
        padding-top: 180px;
        width: 92%;
        background-size: 180px;
    }
    body.frontpage .titleinner {
        padding-top: 275px;
        background-size: 200px;
        background-position: 0px 90px;
    }
    #title h1 {
        font-size: 28px;
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
        font-size: 28px;
    }
    body.frontpage #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.frontpage #content.otgx {
        width: 97%;
    }
    body.frontpage #content #box2 article img {
        max-width: 100%;
    }
    body.frontpage #box2 article {
        width: 100%;
    }
    body.frontpage #content .tile-box-shadow-thumbnail-description {
        width: 47.5%;
        margin-right: 5%;
    }
    body.frontpage #content .tile-box-shadow-thumbnail-description:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 450px) {
    body.frontpage #content .tile-box-shadow-thumbnail-description {
        width: 100%;
        margin-right: 0%;
    }
    body.frontpage #content .tile-box-shadow-thumbnail-description:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content h2 {
        margin-top: 35px;
    }
}
