@import url('https://fonts.googleapis.com/css?family=Rubik:300,500&subset=latin-ext');

/* He Kitenga 2016 CSS */

.titleinner { padding-bottom: 110px; }
body.OTAGO629577 .titleinner,
body.OTAGO629552 .titleinner,
body.OTAGO629559 .titleinner,
body.OTAGO629476 .titleinner,
body.OTAGO629402 .titleinner,
body.OTAGO628516 .titleinner,
body.OTAGO629512 .titleinner {
    padding-bottom: 170px;
}
body.OTAGO628516 .titleinner {
    padding-bottom: 35px;
}
#title h1 {
    padding-top: 765px;
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 60px;
    color: #ff7175;
    text-transform: none;
    letter-spacing: -0.03em;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures, contextual;
    -moz-font-feature-settings: "kern", "liga", "clig", "calt";
    -ms-font-feature-settings: "kern", "liga", "clig", "alt";
    -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
    font-feature-settings: "kern", "liga", "clig", "calt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url(../gfx/title-2016.png) 0px 320px no-repeat;
}
#title ul#breadcrumbs {
    display: none;
}
body.OTAGO629552 #title h1,
body.OTAGO629512 #title h1 { font-size: 57px; }
#content h2,
#content h2.title-stroke {
    border-bottom: 1px solid #e4e4e4;
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    background: none;
    line-height: 1.3;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 35px;
}
#content h2.title-stroke {
    margin-bottom: 35px;
}
#content h3 {
    margin-top: 28px;
    margin-bottom: 21px;
    font-size: 22px;
}
#content h3,
#right h3 {
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: #ff7175;
}
#content h4 {
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    line-height: 1.5;
    font-weight: 300;
    font-size: 20px;
    margin-bottom: 14px;
    -moz-osx-font-smoothing: grayscale;
}
#content p {
    line-height: 1.6;
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #444444;
}
#content blockquote {
    border: none;
    background: url(../gfx/quotemarks.svg) no-repeat 0 0 #ffffff;
    background-size: 100px;
    margin-bottom: 35px;
    border-left: none;
    padding: 0 0 0 115px;
}
#content blockquote p {
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ff7175;
}
#content p strong {
    font-weight: 500;
}
#content blockquote p strong {
    color: #444444;
    font-weight: normal;
}
#content ul {
    margin-left: 14px;
}
#content li {
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
}
#content ul.pagesubnav {
    background: #f1f1f1;
    border: 1px solid #dddddd;
    border-radius: 3px;
}
#content ul.pagesubnav li a {
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
}
#content hr {
    margin-top: 35px;
    margin-bottom: 35px;
    border-top: 1px solid #e4e4e4;
}
#content p.circle-border img {
    padding: 0;
    margin: 0 0 14px 21px;
    border-radius: 50%;
    border: 14px solid #ff7175;
    float: right;
    max-width: 186px;
}
#content .next-item a,
#content .previous-item a {
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 1px;
    padding-top: 76px;
}
#content .next-item a:hover,
#content .previous-item a:hover {
    border-bottom: none;
}
.funding {
    background: #f1f1f1;
    padding: 7px 14px 14px 14px;
    margin-top: 35px;
    margin-bottom: 21px;
}
#content .funding h3,
#content .funding h4 {
    margin: 14px 0 7px 0;
}
#right h3 {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 7px;
}
#right p,
#right ul {
    border-bottom: none;
}


/* Frontpage */

body.OTAGO628516 #title h1 {
    font-size: 55px;
    max-width: 850px;
}
body.OTAGO628516 #content {
    padding-top: 21px;
}
body.OTAGO628516 #content h2 em {
    color: #ff7175;
}
#content .grid4 {
    display: flex;
    flex-wrap: wrap;
}
#content .grid4 a.grid1 {
    box-shadow: 0 0 10px #e4e4e4;
    text-align: center;
    font-family: 'Rubik', 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    padding: 7px 7px 14px 7px;
    margin-bottom: 46px;
    border-radius: 4px;
    border: 1px solid #dddddd;
    box-sizing: border-box;
}
#content .grid4 a.grid1:hover {
    box-shadow: 0 0 5px #e4e4e4;
}
#content .grid1 img {
    margin-bottom: 7px;
    border-radius: 2px;
}
body.OTAGO628516 #right {
    float: none;
    margin-top: -130px;
    margin-left: 0;
    padding-left: 0;
    clear: both;
    position: absolute;
}
body.OTAGO628516 #content .grid1:before {
    display: block;
    content: '';
    width: 92.5%;
    height: 0px;
    background: #ff7175;
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 999;
    transition: height 0.3s ease;
}
body.OTAGO628516 #content .grid1:hover:before {
    height: 4px;
}
.no-flexbox body.OTAGO628516 #content .grid4 { display: block; }
.no-flexbox body.OTAGO628516 #content .grid1 { min-height: 195px; }




@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-2016@2x.png) 0px 320px no-repeat;
                background-size: 367px;
            }
}


@media only screen and (min-width: 1024px) and (max-width: 1160px) {
    .titleinner,
    div#nav_holder,
    .topnavinner,
    footer.wrapper, div.footer_wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    .titleinner {
        max-width: 1160px;
        padding-top: 68%;
    }

    .titleinner img {
        position: absolute;
        top: 0;
    }
    body.individualprofile #title:after {
        content: '';
        color: white;
        display: block;
        width: 370px;
        height: 90px;
        background: none;
        position: absolute;
        top: 300px;
        left: 232px;
        background: url(../gfx/title-2016@2x.png) 0 0 no-repeat;
        background-size: 367px;
    }
    #title h1 {
        padding-top: 0;
    }
    #contentwrapper {
        max-width: 1114px;
        width: 100%;
        box-sizing: border-box;
    }
    #content {
        max-width: 540px;
        width: 100%;
    }
    #content .grid4 {
        width: 143%;
    }
    img {
        max-width: 100%;
    }
    /* Frontpage */
    body.OTAGO628516 #content .grid1 {
        width: 20.53%
    }
}





@media only screen and (max-width: 1024px) {
    #content .content-inner {
        max-width: 90%;
        margin: 100px 5% 50px 5%;
    }
    .titleinner,
    div#nav_holder,
    .topnavinner,
    footer.wrapper, div.footer_wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    div#nav_holder {
        width: 90%;
    }
    #title h1.notopimage {
        max-width: 100%;
        box-sizing: border-box;
    }
    body.OTAGO440802 .titleinner img {
        position: absolute;
        top: 0;
        max-width: 100%;
    }
    body.OTAGO629577 .titleinner,
    body.OTAGO629552 .titleinner,
    body.OTAGO629559 .titleinner,
    body.OTAGO629476 .titleinner,
    body.OTAGO629402 .titleinner,
    body.OTAGO628516 .titleinner,
    body.OTAGO629512 .titleinner {
       padding-bottom: 0px;
    }
    .titleinner {
        padding-bottom: 0px;
        max-width: 100%;
        padding-top: 67%;
    }
    #title h1 {
        padding-top: 0;
        font-size: 64px;
        font-size: 57px;
        position: relative;
    }
     body.individualprofile #title:after {
        content: '';
        display: block;
        width: 370px;
        height: 140px;
        background: url(../gfx/title-2016@2x.png) 0 0 no-repeat;
        background-size: 367px;
        position: absolute;
        top: 270px;
        left: 260px;
    }
    #contentwrapper {
       width: 100%;
        box-sizing: border-box;
    }
    #content {
        padding-left: 238px;
        float: none;
        width: 90%;
        box-sizing: border-box;
    }
    #content .grid4 {
        width: 100%;
    }
    #content .next-item {
        right: -90px;
    }
    #content .previous-item {
        background-size: 140px;
    }
    #content .previous-item:hover {
        background: url(../gfx/arrows.png) -1px -95px no-repeat;
        background-size: 140px;
    }
    #content .next-item {
        background: url(../gfx/arrows.png) -50px 0 no-repeat;
        background-size: 140px;
    }
    #content .next-item:hover {
        background: url(../gfx/arrows.png) -50px -95px no-repeat;
        background-size: 140px;
    }
    #content .previous-item a:hover,
    #content .next-item a:hover {
        border-bottom: none;
    }
    #right {
        float: none;
        width: 95%;
    }
    /* Frontpage */
    body.OTAGO628516 #title h1 {
        font-size: 45px;
        margin-bottom: 21px;
    }
    body.OTAGO628516 #content .grid1 {
        width: 31.6%;
        margin-right: 2.5%;
        margin-bottom: 21px;
    }
    body.OTAGO628516 #content .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
    body.OTAGO628516 #right {
        margin-top: 0px;
        position: static;
    }
}



@media only screen and (max-width: 768px) {
    #wrapper {
        width: 100%;
    }
    body.individualprofile #title img {
        max-width: 100%;
    }
    #title h1 {
        width: 85%;
        margin: 0 0 0 65px;
        box-sizing: border-box;
        font-size: 50px;
    }
    body.OTAGO440802 #title h1 {
        margin-left: 25px;
    }
    .titleinner h1 {
       max-width: 100% !important;
    }
    #content {
       padding-left: 18px;
        margin-left: 0px;
    }
    body.OTAGO440802 #content {
        width: 100%;
    }
    body.OTAGO440802 #content {
        padding-left: 0px;
    }
    #contentwrapper {
        width: 92%;
    }
    #content .next-item {
        background: url(../gfx/arrows.png) -80px 0 no-repeat;
        background-size: 140px;
    }
    #content .next-item:hover {
        background: url(../gfx/arrows.png) -80px -95px no-repeat;
        background-size: 140px;
    }
    #right {
        background: none;
    }
}



@media only screen and (max-width: 700px) {
    body.individualprofile #title img {
        margin-left: 0;
        top: 0;
    }
    body.individualprofile #title:after {
        top: 180px;
        left: 32px;
        background-size: 220px;
    }
    body.OTAGO440802 #title img {
        display: block;
    }
    body.OTAGO440802 #title:after {
        top: 10%;
        left: 4%;
        background-size: 250px;
    }
    body.OTAGO440802 #title h1 {
        font-size: 40px;
    }
    body.OTAGO628516 #title h1 {
        background: none;
    }
    #title h1 {
        padding-left: 0;
        margin-left: 42px;
        margin-bottom: 42px;
        font-size: 40px;
    }
    #content {
        width: 99%;
        margin-right: 0;
    }
    #content .previous-item {
        left: -3%;
        top: 0%;
        background: url(../gfx/arrows.png) 0px 0 no-repeat;
        background-size: 60px;
        height: 40px;
    }
    #content .previous-item:hover {
        background: url(../gfx/arrows.png) 0px -41px no-repeat;
        background-size: 60px;
        height: 40px;
    }
    #content .next-item {
        right: -4%;
        top: 0%;
        background: url(../gfx/arrows.png) -30px 0 no-repeat;
        background-size: 60px;
        height: 40px;
    }
    #content .next-item:hover {
        background: url(../gfx/arrows.png) -30px -41px no-repeat;
        background-size: 60px;
        height: 40px;
    }
    #content .grid4 {
        width: 100%;
    }
    body.OTAGO440802 #content .grid1:before {
        width: 89%;
    }
}
@media only screen and (max-width: 400px) {
    body.OTAGO440802 #title h1 {
        background: none;
    }
    body.OTAGO440802 #title::after {
        width: 250px;
    }
    #title h1 {
        background: none;
        font-size: 40px;
        margin-left: 30px;
        margin-bottom: 30px;
    }
    #content h2.title-stroke {
        font-size: 22px;
    }
    body.individualprofile #title:after {
        top: 90px;
        left: 23px;
        background-size: 200px;
        width: 200px;
    }
    body.OTAGO488003 #title h1,
    body.OTAGO476801 #title h1,
    body.OTAGO493401 #title h1,
    body.OTAGO480402 #title h1,
    body.OTAGO488003 #title h1 {
       background: none;
    }
    #content .previous-item,
    #content .next-item {
        top: -2%;
    }
    #content blockquote {
        background-size: 60px;
        padding-left: 70px;
    }
    #content blockquote p {
        font-size: 19px;
    }
}
