@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 Free Radical Research

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

/*
*
* Base styles
*
*/

#title h1 {
  background: url(gfx/title-2023.png) 24px 31px no-repeat;
  color: #1b568c;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 3px;
  max-width: 627px;
  padding: 200px 0px 14px 23px;
  position: static;
  opacity: 1;
  text-rendering: optimizeLegibility;
}
#title h1.notopimage {
   max-width: 650px;
}
.titleinner {
  background: url(gfx/banner-inner.jpg) center 0px no-repeat;
  padding-top: 3px;
  padding-bottom: 0px;
}
.titleinner img {
  display: none;
}
.titleinner h1 {
  margin-top: 0px;
}
#content h2 {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 28px;
  padding-bottom: 7px;
  text-rendering: optimizeLegibility;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#content p,
#content ul,
#content ol,
#content table,
#content table td,
#content th,
#content td p,
#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;
    line-height: 1.5;
}
#right {
    background: none;
}

/* Our People */

.OTAGO500415 #content div:not(.grid1) {
  clear: both;
  width: 100%;
  display: block;
}
.OTAGO500415 #content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.OTAGO500415 #content .grid1 {
  box-shadow: 0 0 10px #e4e4e4;
  border: 1px solid #dddddd;
  box-sizing: border-box;
  margin-bottom: 35px;
  min-height: 190px;
  border-radius: 3px;
  width: 28.6%;
  margin-right: 7.1%;
  transition: all 0.3s ease-out;
}
.OTAGO500415 #content .grid1:hover {
  box-shadow: 0 0 2px #e4e4e4;
}
.OTAGO500415 #content .grid1:nth-of-type(3n+1) {
  margin-right: 0;
}
.OTAGO500415 #content .grid1 h3 {
  font-size: 17px;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  padding-left: 14px;
  padding-right: 14px;
  margin-top: 7px;
  margin-bottom: 14px;
  position: relative;
  font-display: swap;
}
.OTAGO500415 #content .grid1 h3:before {
  content: '';
  background: #ffffff;
  width: 0%;
  height: 3px;
  position: absolute;
  top: -14px;
  left: 0;
  transition: all 0.3s ease-out;
}
.OTAGO500415 #content .grid1:hover h3:before {
  content: '';
  background: #f9c000;
  width: 100%;
  height: 3px;
  position: absolute;
  top: -14px;
  left: 0;
}
.OTAGO500415 #content .grid1 p {
    margin-bottom: 0;
}
.OTAGO500415 #content .grid1 a {
    border-bottom: none;
}
.OTAGO500415 #content .grid1 img {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 2px 2px 0 0;
}
.OTAGO500415 #content .grid1.noshadow {
    border: none;
    box-shadow: none;
    min-height: 0;
}
.OTAGO500415 #content .grid1.hide {
    box-shadow: none;
    min-height: 0;
    border: none;
    overflow: hidden;
}

/* Profile box */

#content .profile-box {
    background: #dae4ea;
    border: 1px solid #c0d1dc;
    overflow: hidden;
    padding: 14px;
    margin-bottom: 21px;
}
#content .profile-box p img {
    margin-bottom: 0;
    max-width: 140px;
}
#content .profile-box p.smalltag {
    margin-bottom: 35px;
    font-family: Georgia, "Times New Roman", Times, serif;
    letter-spacing: 0.05em;
}
#content .page_subtitle {
    font-size: 18px;
    line-height: 21px;
    margin: 0 0 7px 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(51, 51, 51);
}

/*
*
* Frontpage styles
*
*/

body.frontpage {
    background-position: center top;
}
body.frontpage .titleinner {
    background: url(gfx/banner.jpg) center 0px no-repeat;
    padding-top: 14px;
    padding-bottom: 21px;
}
body.frontpage #title h1 {
    padding: 270px 0px 0px 23px;
    font-size: 34px;
    line-height: 1.2;
    background: url(gfx/title-2023.png) 23px 56px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 650px;
}
.profile-hide {
    display: none;
}

/*
*
* Tablet styles
*
*/

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
}

@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
}

/*
*
* Mobile styles
*
*/

@media only screen and (max-width: 700px) {
    body.frontpage .titleinner,
    .titleinner {
        background: url(gfx/banner-inner.jpg) -200px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 200px 0px 0px 0px;
        background: url(gfx/title-2023.png) 14px 42px no-repeat;
        background-size: 200px;
        font-size: 36px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title-2023.png) 14px 28px no-repeat;
        background-size: 200px;
        font-size: 36px;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
    .OTAGO500415 #content .grid1 {
        min-height: 150px;
    }
    .OTAGO500415 #content .grid1 img {
        margin-left: 0;
        float: none;
        max-width: 100%;
    }
    .OTAGO500415 #content .grid1 h3 {
        font-size: 14px;
        padding: 0 7px;
    }
}

/*
*
* Retina styles
*
*/

@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-2023@2x.png) 23px 28px no-repeat;
        background-size: 350px;
    }
    body.frontpage #title h1 {
        background: url(gfx/title-2023@2x.png) 23px 55px no-repeat;
        background-size: 350px;
    }
}

@media only screen and (max-width: 650px) {
    #title h1,
    body.frontpage #title h1 {
        background: url(gfx/title-2023.png) 14px 42px no-repeat;
        background-size: 250px;
    }
}
