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

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

Oceanography BASECAMP+ CSS

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

#title h1 {
  padding: 190px 0px 14px 23px;
  font-size: 38px;
  line-height: 1.2;
  background: url(gfx/title.png) 5px 7px no-repeat;
  opacity: 1;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  color: #78a4c1;
  position: static;
	margin-top: 3px;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  font-display: swap;
}
#title h1.notopimage {
  max-width: 650px;
}
.titleinner {
  background: url(gfx/banner-inner.jpg) center 0px no-repeat;
  padding-top: 3px;
}
.titleinner img {
  display: none;
}
.titleinner h1 {
  margin-top: 0px;
}
#content h1 {
  display: none;
}
#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;
  font-display: swap;
  border-bottom: none;
}
#content h2:first-of-type {
  margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
#right {
  background-size: 26px 100%;
}
#content p.content-button {
  margin-top: 28px;
  margin-bottom: 28px;
}
body.OTAGO636534 #content.otgx {
  display: flex;
  flex-wrap: wrap;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description {
    transition: all 0.2s ease-out;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description:hover {
    box-shadow: 0 0 2px #e4e4e4;
    border: 1px solid #cccccc;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description h2 {
    font-size: 17px;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description h2:before {
    width: 45px;
    height: 3px;
    content: '';
    background-color: #f9c000;
    display: block;
    content: '';
    margin-top: 0px;
    margin-bottom: 14px;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description h2 a:hover {
    border-bottom: none;
    display: block;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description h2:after {
    display: none;
}
body.OTAGO636534 #content .tile-box-shadow-thumbnail-description img {
    border-radius: 2px 2px 0 0;
}
/* Our people */
.OTAGO636536 .person { width: 100%; height: auto; }

.OTAGO636536 #content h3,
.OTAGO655467 #content h3 {
    clear: both;
    border-top: 1px solid #dddddd;
    padding-top: 21px;
    margin-bottom: 7px;
}
.OTAGO636536 #content dl,
.OTAGO655467 #content dl {
    width: 75%;
    clear: left;
}
.OTAGO636536 #content dt,
.OTAGO655467 #content dt {
    border-top: none;
    padding: 0 0 4px 0;
    font-family: Georgia, Times New Roman, serif;
    font-weight: normal;
    color: #888888;
    width: 17%;
}
.OTAGO636536 #content dd,
.OTAGO655467 #content dd {
    border-top: none;
    padding: 0 0 4px 0;
    width: 82%;
}
.OTAGO636536 #content h3 img,
.OTAGO655467 #content h3 img {
    margin-bottom: 21px;
    max-width: 114px;
}
.OTAGO636536 #content p.smalltag,
.OTAGO655467 #content p.smalltag {
    letter-spacing: 0.05em;
    color: #888888;
    margin-bottom: 21px;
}
.OTAGO636538 #right p.smalltag + p {
    display: none;
}

/*  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: 260px 0px 0px 23px;
    font-size: 35px;
    line-height: 1.2;
    background: url(gfx/title.png) 5px 35px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #content article {
    width: 186px;
    margin-right: 46px;
    float: left;
}
body.frontpage #content article a {
    border-bottom: none;
}
body.frontpage #content article:nth-of-type(3n) {
    margin-right: 0;
}
body.frontpage #content article h3 {
    font-size: 16px;
    line-height: 1.3;
}
body.frontpage #content article h3 a {
    border-bottom: none;
}

/*  Research  */

.tile-box-shadow-thumbnail-description:nth-of-type(3n) {
    margin-right: 46px;
}
.tile-box-shadow-thumbnail-description:nth-of-type(3n+1) {
    margin-right: 0;
}

/* Tablet styles */

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

    /* Research (why does the above have precedence over a specific media query?) */

    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(3n) {
        margin-right: 4%;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description {
        width: 48%;
        margin-right: 4%;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.frontpage #content article:nth-of-type(3n) {
        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;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }

    /* Research */

    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(3n) {
        margin-right: 4%;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description {
        width: 48%;
        margin-right: 4%;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(2n+1) {
        margin-right: 0;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body.frontpage .titleinner,
    .titleinner {
        background: url(gfx/banner-inner.jpg) -500px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 200px 0px 0px 0px;
        background: url(gfx/title.png) 14px 35px no-repeat;
        background-size: 240px;
        font-size: 25px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title.png) 14px 22px no-repeat;
        background-size: 240px;
        font-size: 25px;
    }
    #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;
    }
    body.frontpage #content article img {
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {

    /* Research */

    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(3n) {
        margin-right: 0;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.OTAGO636534 .tile-box-shadow-thumbnail-description {
        width: 100%;
        margin-right: 0;
    }
    .OTAGO636536 #content dl,
    .OTAGO655467 #content dl {
        width: 50%;
        clear: left;
    }
    .OTAGO636536 #content dt,
    .OTAGO655467 #content dt {
        width: 100%;
    }
    .OTAGO636536 #content dd,
    .OTAGO655467 #content dd {
        width: 100%;
        hyphens: auto;
    }

    body.frontpage #content article img {
        max-width: 100%;
        width: 100%;
    }
}
