@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; }

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

Cardiovascular Research at Otago

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

/*
*
* Base styles
*
*/

#title h1 {
  padding: 200px 0px 14px 23px;
  font-size: 38px;
  line-height: 1.25;
  background: url(gfx/title.png) 23px 12px no-repeat;
  opacity: 1;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  color: #1b568c;
  position: static;
  max-width: 627px;
  margin-top: 3px;
  text-rendering: optimizeLegibility;
}
#title h1.notopimage {
  max-width: 650px;
}
#title p.heading-translation {
  color: #777777;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 21px;
  font-weight: 300;
  margin-bottom: 21px;
  padding-left: 23px;
  margin-top: -7px;
}
.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 {
  padding-bottom: 7px;
  font-size: 28px;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 28px;
  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 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 h3,
#right input {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 400;
}
#content .heading-translation {
  color: #888888;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  font-size: 21px;
  font-style: italic;
  margin-top: -28px;
  margin-bottom: 35px;
}
#right {
  background: none;
}
#right h2 {
  margin-bottom: 14px;
}
#right h3 {
  line-height: 1.5;
  margin-bottom: 7px;
}
#right p.smalltag {
  color: #777777;
  font-size: 10px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

/*
*
* Frontpage styles
*
*/

body.frontpage {
  background-position: center top;
}
body.frontpage .titleinner {
  background: url(gfx/banner-frontpage.jpg) center 0px no-repeat;
  padding-top: 14px;
  padding-bottom: 21px;
}
body.frontpage #title h1 {
  padding: 270px 0px 0px 23px;
  font-size: 31px;
  line-height: 1.25;
  background: url(gfx/title.png) 24px 42px no-repeat;
  opacity: 1;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
}
body.frontpage #title h1.notopimage {
  max-width: 650px;
}
body.frontpage #content .tile-box-shadow-container:nth-of-type(1) {
  margin-top: 35px;
}
body.frontpage #content .tile-box-shadow-thumbnail-description h2:after {
  display: none;
}
body.frontpage #content .tile-box-shadow-thumbnail-description h2:before {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  background: #f9c000;
  margin-top: 14px;
  margin-bottom: 7px;
}

/*
*
* 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) -400px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 195px 0px 0px 0px;
        background: url(gfx/title.png) 14px 30px no-repeat;
        background-size: 240px;
        font-size: 30px;
    }
    body.frontpage #title h1 {
        padding: 185px 0px 0px 0px;
        background: url(gfx/title.png) 14px 19px no-repeat;
        background-size: 240px;
        font-size: 30px;
    }
    #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;
    }
}

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