@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: italic; font-weight: 400; src: local('Open Sans Italic'), local('OpenSans-italic'), url(/_assets/_fonts/opensans/opensans-italic.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-italic.woff) format('woff'); }
@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-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'); }

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

Centre for Protein Research BASECAMP+ CSS

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

#title h1 {
    padding: 210px 0px 21px 23px;
    font-size: 38px;
    line-height: 1.2;
    background: url(gfx/title.png) 23px 34px 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;
    letter-spacing: -0.01em;
}
#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 {
    padding-bottom: 7px;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 35px;
    text-rendering: optimizeLegibility;
    border-bottom: none;
    letter-spacing: -0.01em;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 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;
    font-display: swap;
}
#content p,
#content ul,
#content ol {
  line-height: 1.6;
}
#content .grid_half {
    width: 46.4%;
    margin-bottom: 46px;
    margin-right: 7.2%;
}
.OTAGO653790 #content .tile-box-shadow-thumbnail-description p:nth-of-type(1) a {
    border-bottom: none;
}
iframe {
    max-width: 100%;
}
#right {
    background-size: 26px 100%;
}


/*  FRONTPAGE  */

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.png) 24px 60px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 650px;
}

/* Expertise profiles */

body.n9956 #title h1.notopimage {
	text-indent: -9999px;
	height: 0;
}
body.n9956 #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;
}

/* Metadatabox */

body.frontpage #right {
    background: none;
}

/* Link arrow */

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


/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    body.frontpage .titleinner {
        background: url(gfx/banner.jpg) 50px 0px no-repeat;
    }
    .titleinner {
        background: url(gfx/banner-inner.jpg) 50px 0px no-repeat;
    }
    #features {
        width: 650px;
    }
}

@media only screen and (max-width: 768px) {
    body.frontpage .titleinner {
        background: url(gfx/banner.jpg) 25px 0px no-repeat;
    }
    .titleinner {
        background: url(gfx/banner-inner.jpg) 25px 0px no-repeat;
    }
	#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: 100%;
    }
    #title h1,
    body.frontpage #title h1 {
        padding: 200px 4% 21px 4%;
        background: url(gfx/title.png) 21px 40px no-repeat;
        background-size: 240px;
        font-size: 34px;
    }
    #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;
    }
}
