@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; }
@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 Bold'), local('OpenSans-Bold'), url(/_assets/_fonts/opensans/opensans-bold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-bold.woff) format('woff'); font-display: swap; }
/*****************

Agriculture at Otago summit CSS

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

body {
  background: url(gfx/background.png) repeat-x center 0;
}
#content p,
#content ul,
#content ol,
#content table,
#content td,
#content li,
#content dl,
#content label,
#right p,
#right li {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
#content th,
#content td,
#right p,
#right li {
  font-size: 13px;
}
#content a {
  transition: all 0.3s ease-out;
}
#wrapper {
    background: url(gfx/banner.jpg) no-repeat center 0;
}
#title h1 {
    background: url(gfx/title-updated.png) -32px 105px no-repeat;
    color: #868136;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 3px;
    max-width: 627px;
    opacity: 1;
    padding: 450px 0px 21px 23px;
    position: static;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
	max-width: 650px;
}
#title p.heading-translation {
    color: #888888;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    font-weight: 300;
    margin-bottom: 28px;
    margin-top: -7px;
    padding-left: 22px;
}
.titleinner img {
	display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#content h2 {
    border-bottom: none;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 26px;
    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 h2 a:hover {
  border-bottom: none;
}
#content h3,
#content h4 {
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}
#content h4 {
  font-size: 16px;
  color: #777777;
}
#content hr {
  margin-top: 35px;
  margin-bottom: 35px;
}
/* Staff */
.OTAGO578416 #content h3,
.OTAGO578416 #content h4 {
    margin-top: 35px;
}
.OTAGO578416 #content .smalltag {
    margin-bottom: 7px;
}

#content .heading-translation {
    color: #888888;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 35px;
    margin-top: -21px;
}

#right {
    background: none;
}
#right h2 {
    margin-top: 7px;
    margin-bottom: 7px;
    padding-right: 0;
}
#right p {
  border-bottom: none;
}
#right hr {
    border: none;
    border-top: 1px solid #dddddd;
}

/*  Frontpage  */

body.frontpage #title h1.notopimage,
body.frontpage #content {
    max-width: 882px;
    width: 100%;
}
body.frontpage #content h2 {
    margin-top: 35px;
}
body.frontpage #content ul {
    margin-left: 0px;
    margin-bottom: 35px;
    overflow: hidden;
    border-bottom: 5px dotted #eeeeee;
}
body.frontpage #content ul li {
    list-style-image: url(/_assets/_gfx/yellow-arrow-small.svg);
    width: 29.8%;
    float: left;
    margin-left: 0;
    margin-right: 5.3%;
    margin-bottom: 35px;
    padding-left: 0;
    list-style-position: inside;
}
body.frontpage #content ul li:nth-child(3) {
    margin-right: 0;
}
body.frontpage article:last-of-type {
    margin-right: 0;
}
body.frontpage #content #box2 {
    display: flex;
    flex-wrap: wrap;
}
body.frontpage #content #box2 h2 {
    width: 100%;
}
body.frontpage #content article {
    width: 29.8%;
    margin-right: 5.3%;
    float: left;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    border-radius: 3px;
}
body.frontpage #content article:nth-of-type(3n) {
    margin-right: 0;
}
body.frontpage #content article h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 14px 7px 14px;
}
body.frontpage #content article p {
    margin: 0 14px 14px 14px;
}
body.frontpage #content article a {
    border-bottom: none;
}
body.frontpage #content article img {
    width: 100%;
    margin-bottom: 7px;
    max-width: 100%;
    border-radius: 2px 2px 0 0;
}
body.frontpage #content article .smalltag,
.OTAGO578415 #content article .smalltag {
    font-style: normal;
    text-transform: uppercase;
    font-size: 9px;
	letter-spacing: 0.05em;
    color: #888888;
    padding-left: 18px;
    background: url(/_assets/_gfx/calendar-icon-grey.svg) no-repeat 0 2px;
}
body.frontpage #right {
    margin-left: 226px;
    padding-left: 0;
    width: calc(100% - 226px);
    box-sizing: border-box;
}
body.frontpage #right p {
    border-bottom: none;
}


/* News & events */

.OTAGO578415 #content article {
    margin-bottom: 35px;
}
.OTAGO578415 #content article h2 {
    margin-bottom: 7px;
}

/* Tablet styles */

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

@media only screen and (max-width: 768px) {
	body.frontpage #title h1,
    #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;
    }
    body.frontpage #content {
        max-width: 418px;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
        background-size: 1100px;
    }
    body.frontpage .titleinner,
    .titleinner {
        width: 92%;
    }
    #title h1 {
        padding: 180px 0px 14px 0px;
        background: url(gfx/title-updated.png) -25px 22px no-repeat;
        background-size: 240px;
        font-size: 30px;
        line-height: 1.35;
    }
    #title p.heading-translation {
        padding-left: 0;
    }
    .titleinner h1 {
        max-width: 97% !important;
    }
    body.frontpage #content {
        max-width: 96.5%;
    }
    body.frontpage #content ul li {
        float: none;
        width: 100%;
        margin-bottom: 21px;
    }
    body.frontpage #right {
        margin-left: 0;
        width: 95%;
         border-top: 5px dotted #eeeeee;
    }
    body.frontpage #right h2 {
        padding-top: 21px;
    }
    body.frontpage #content article h3 {
        margin: 0 7px 7px 7px;
    }
    body.frontpage #content article p {
        margin: 0 7px 14px 7px;
    }
    body.frontpage #content article img {
        float: none;
        margin-left: 0;
    }
    #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;
    }
}

@media only screen and (max-width: 450px) {
    body.frontpage #content article {
        width: 100%;
        margin-right: 0;
        margin-bottom: 21px;
    }
}
