﻿@font-face { font-family: 'Amsi pro condlight'; src: url(/_assets/_fonts/amsipro/amsiprocond-light-webfont.woff2) format('woff2'), url(/_assets/_fonts/amsipro/amsiprocond-light-webfont.woff) format('woff'); font-weight: normal; font-style: normal; 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-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: normal; font-weight: 600; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.woff) format('woff'); }
#content p + h2,
#content table + h2,
#content ul + h2,
#content ol + h2,
#content dl + h2,
#content form + h2 { margin-top: 35px; }
#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 input {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
}
#content table td,
#content table td p {
 font-size: 15px;
 line-height: 1.6;
}
#content th,
#content td,
#right p,
#right li {
 font-size: 13px;
}
#right p,
#right ul {
 margin-bottom: 14px;
}
#content a {
 transition: all 0.3s ease-out;
}

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

Otago BASECAMP CSS

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

body {
    background: url(gfx/background-inner.png) center 0px repeat-x;
}
#wrapper {
    background: url(gfx/banner-inner.png) center 0px no-repeat;
}
.titleinner {
    padding-top: 330px;
    margin-top: 0px;
    background: url(gfx/title.png) 233px 65px no-repeat;
}
.titleinner img {
    display: none;
}
#title h1 {
    padding: 5px 0 14px 0px;
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 0 23px;
    background: none;
    color: #6a8e01;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: static;
    max-width: 627px;
    margin-top: 3px;
    font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
    font-size: 80px;
    font-variant-ligatures: normal;
    font-weight: normal;
    letter-spacing: -0.01em;
    line-height: 1.05;
}
#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;
}
#right {
    background-size: 26px 100%;
}

/*  FRONTPAGE  */

body.frontpage {
    background: url(gfx/background.png) center 0px repeat-x;
}
body.frontpage #wrapper {
    background: url(gfx/banner.png) center 0px no-repeat;
}
body.frontpage .titleinner {
    padding-top: 475px;
    background: url(gfx/title.png) 233px 125px no-repeat;
}
body.frontpage #title h1 {
    line-height: 1.1;
}
body.frontpage #title h1.notopimage {
    max-width: 882px;
    padding-right: 0;
    margin-bottom: 0px;
}
body.frontpage #content hr {
    margin: 0px 0 14px 0;
    padding: 0;
    border-top: 1px solid #e4e4e4;
}
body.frontpage #content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0px;
    min-height: 250px;
}
body.frontpage #content h2 {
    font-weight: 300;
    font-size: 28px;
    line-height: 1.3;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 21px 0 14px 0;
    -webkit-font-smoothing: antialiased;
    color: #000000;
    border-bottom: none;
}
body.frontpage #content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #7a9f76;
    text-rendering: optimizeLegibility;
    padding: 21px 0 21px 0;
}
body.frontpage #content.otgx {
    width: 882px;
}
body.frontpage #content .grid2 {
    min-height: 10px;
    margin-top: 28px;
    margin-bottom: 28px;
}
body.frontpage #content .grid2:nth-of-type(2n) {
    margin-right: 0;
}
body.frontpage #content.otgx .grid1 {
    box-shadow: 0px 1px 21px #e1e1e1;
    margin-top: 35px;
    margin-bottom: 35px;
    min-height: 425px;
    border: 1px solid #dddddd;
    box-sizing: border-box;
}
body.frontpage #content.otgx .grid1 img {
    padding: 0;
    margin: 0;
}
body.frontpage #content.otgx .grid1 h2 {
    text-align: center;
    font-size: 22px;
    padding: 0 14px 0px 14px;
    margin: 0;
    background: url(gfx/stroke.png) center bottom no-repeat;
}
body.frontpage #content.otgx .grid1 p {
    padding: 14px 14px 0 14px;
    margin-bottom: 7px;
}
body.frontpage #content.otgx .grid1 p img {
    border: none;
}
body.frontpage #content.otgx .grid1:nth-of-type(4n+1) {
    margin-right: 0;
}
html.no-boxshadow body.frontpage #content.otgx .grid1 {
    border: 1px solid #e4e4e4;
}
body.frontpage #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}
body.frontpage #content p.bordertop {
    border-top: 1px solid #e4e4e4;
}
body.frontpage #content p.list-arrow {
    background: url(gfx/arrow.png) right 3px no-repeat;
    padding-right: 40px;
}
body.frontpage #right {
    background-image: none;
    clear: both;
    margin: -250px 0 0 0;
    padding: 0;
}

/* Tablet styles */

@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
    .titleinner,
    body.frontpage .titleinner {
      background-image: url(gfx/title@2x.png);
      background-size: 263px;
    }
}

/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
    body.frontpage #title h1.notopimage {
        max-width: 650px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage #content .grid2 {
        width: 302px;
    }
    body.frontpage #content.otgx .grid1 {
        width: 150px;
        margin-right: 16px;
    }
    body.frontpage #content.otgx .grid1 h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    body.frontpage #content.otgx .grid1 img {
        max-width: 100%;
    }
}

@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;
    }
    body.frontpage #content.otgx {
        width: 418px;
    }
    body.frontpage #content .grid2 {
        margin-top: 14px;
        margin-bottom: 7px;
    }
    body.frontpage #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.frontpage #content .grid2:nth-of-type(2n) {
        margin-bottom: 28px;
    }
    body.frontpage #content.otgx .grid_third {
        width: 100%;
    }
    body.frontpage #content.otgx .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;
        min-height: 400px;
        margin-bottom: 14px;
    }
    body.frontpage #right {
        border: none;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
        width: 100%;
        background-position: -445px 0;
        background-size: 1200px;
        background-repeat: repeat-x;
    }
    body.frontpage #wrapper {
        width: 100%;
        background-size: 1100px;
        background-position: -330px 0;
    }
    #content {
        background-size: contain;
    }
    body.frontpage #content {
        background: none;
    }
    .titleinner{
        background-position: 0px 85px;
        padding-top: 320px;
        width: 92%;
        background-size: 210px;
    }
    body.frontpage .titleinner {
        padding-top: 300px;
        background-position: 0px 65px;
    }
    #title h1 {
        font-size: 49px;
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    #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.otgx {
        width: 96%;
    }
    body.frontpage #content.otgx .grid1 {
        width: 46%;
        margin-right: 7%;
        margin-bottom: 0;
    }
    body.frontpage #content .grid2 {
        width: 100%;
        float: none;
    }
    body.frontpage #content.otgx .grid1 h2 {
        font-size: 20px;
        padding-left: 3px;
        padding-right: 3px;
        line-height: 1.2;
    }
    body.frontpage #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    body.frontpage #right {
        margin-top: 0;
    }
}
}