@@font-face { font-family: 'Abril Fatface'; font-style: normal; font-weight: 400; src: local('Abril Fatface'), local('AbrilFatface-Regular'), url(/_assets/_fonts/abrilfatface/abrilfatface-regular.woff2) format('woff2'), url(/_assets/_fonts/abrilfatface/abrilfatface-regular.woff) format('woff'); font-display: swap; }

/* Otago Magazine issue 43 specific CSS */

.titleinner {
    width: 100%;
    padding: 55px 0px 0px 0px;
    margin: 0px 0;
	overflow: hidden;
}
.titleinner img {
	margin-left: auto;
	margin-right: auto;
	display: block;
    margin-top: -262px;
}
body.OTAGO121038 .titleinner img { padding-left: 186px; }
#title h1 {
    background-image: url("gfx/title-updated.png");
    background-repeat: no-repeat;
    background-position: 243px bottom;
    text-indent: -9999px;
    font-size: 12px;
	width: 1114px;
	max-width: 1114px;
	margin: 0 auto !important;
	position: relative;
    padding-bottom: 150px;
    opacity: 1;
}
body.OTAGO618408 #title h1,
body.OTAGO618407 #title h1,
body.OTAGO618411 #title h1,
body.OTAGO618414 #title h1 {
    background-image: url("gfx/title.png");
    background-repeat: no-repeat;
    background-position: -42px center;
}
#content {
	box-sizing: border-box;
	width: 100%;
}
#content h2 {
    font-size: 90px;
    line-height: 1;
    background-image: none;
    text-rendering: optimizeLegibility;
}
#content h3 {
    color: #000000;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 23px;
}
#content h2:after { display: none; }
/* Frontpage styles */
body.OTAGO618404 .feature-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
body.OTAGO618404 #content .feature-container .grid1.introbox.titleonly,
#content .grid1.introbox { min-height: auto; }
body.OTAGO618404 #content .frontpage h2 {
    font-size: 30px;
    line-height: 1.6;
    padding-bottom: 0;
    padding-top: 0;
}
body.OTAGO618404 #content .frontpage h2 a { font-size: 90px; }
#content .grid1.introbox.titleonly { min-height: 250px; }
body.OTAGO618404 #content .grid1.introbox.titleonly { min-height: 190px; }
body.OTAGO618408 #content h2,
body.OTAGO618407 #content h2,
body.OTAGO618411 #content h2,
body.OTAGO618414 #content h2 {
    font-size: 60px;
    margin-bottom: 35px;
}
#content p,
#content li {
    font-size: 17px;
    line-height: 1.65;
    font-family: Georgia, Times New Roman, serif;
}
#content p { margin-bottom: 21px; }
#content .grid1.magazine-intro {
    width: 100%;
    margin-right: 0;
    margin-bottom: 21px;
}
#content .magazine-intro ul.pagesubnav {
    border-bottom: none;
    border-radius: 3px;
    margin-top: 28px;
    padding-top: 21px;
    border: 1px solid #e4e4e4;
    margin-bottom: 14px;
}
#content .magazine-intro ul.pagesubnav li { margin-bottom: 7px; }
#content .magazine-intro ul.pagesubnav li { background-image: none; }
#content .grid3 {
    width: 100%;
    margin-right: 0;
}
#content .grid1 h3,
body.OTAGO121089 #content h3,
body.OTAGO121091 #content h3,
body.OTAGO592609 #content h3 {
    margin-bottom: 7px;
    font-size: 18px;
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.45;
}
#content .grid1.magazine-intro h3,
body.OTAGO121089 #content h3,
body.OTAGO121091 #content h3,
body.OTAGO592609 #content h3 {
    margin-top: 21px;
    font-size: 22px;
}
#content .grid1.introbox h3 {
    margin-bottom: 14px;
    line-height: 1.25;
}
#content .grid-third {
    width: 263px;
    float: left;
    margin-right: 46px;
    margin-bottom: 21px;
    position: relative;
}
#content  a.player img { width: 100%; }
#content a.player:after {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: url(gfx/expand-icon.png) no-repeat;
    background-size: 20px;
    position: absolute;
    top: 80px;
    right: 15px;
    transition: all 0.2s ease;
}
#content a.player:hover:after { transform: scale(1.2); }
#content a.player img {
    width: 100%;
    transition: all 0.2s ease-in-out;
}
#content a.player img:hover { box-shadow: 0 0 20px #cccccc; }
#content .grid-third:nth-of-type(3n) {  margin-right: 0; }
body.OTAGO592606 #content h2 {  width: 100%; }
body.OTAGO618408 .grid4,
body.OTAGO618407 .grid4,
body.OTAGO618411 .grid4,
body.OTAGO618414 .grid4 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 35px;
}
#content .grid1.introbox { min-height: auto; }
#content .grid1 a.player,
#content .grid_third a.player {
    border-bottom: none;
}
#content .grid1.introbox p {
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}
/* Hocken gallery */
.OTAGO618417 .grid3 {
    display: flex;
    flex-wrap: wrap;
}
.grid1.gallery-grid {
    box-shadow: 0 0 10px #e4e4e4;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    margin-bottom: 35px;
}
#content .grid1.gallery-grid img {
    padding: 0;
    border: none;
    margin: 0;
    border-radius: 3px;
}
#content .grid1.gallery-grid p:nth-of-type(2n+1) {
    margin-bottom: 7px;
}
#content .grid1.gallery-grid p:nth-of-type(2n) {
    padding: 0 14px;
    font-size: 11px;
    line-height: 1.5;
    font-style: italic;
}
.date-circle {
    background: #f9c000;
    display: block;
    border-radius: 50%;
    width: 46px;
    height: 37px;
    padding: 16px 5px 0px 5px;
    text-align: center;
    vertical-align: middle;
    border: 3px solid #333333;
    font-style: normal;
    font-family: "Abril fatface", Georgia, Times New Roman;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 7px;
    margin-top: -35px;
    z-index: 999;
    position: relative;
}
/* Medicine bottle OTAGO620868 */
.pill-bottle {
    background: url(/cs/groups/public/@otagomarketingservices/documents/webcontent/otago623686.jpg) no-repeat center 0;
    background-size: 300px;
    height: 380px;
    padding-top: 300px;
    width: 310px;
    float: right;
    margin-left: 14px;
    overflow: hidden;
}
#content .pill-bottle p {
    font-family: "Abril fatface","Open Sans", Helvetica, Arial, sans-serif;
    text-align: center;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
}
#content .pill-bottle p strong { color: #cc0000; }
#content .pill-bottle .monitoring-programme {
    font-size: 23px;
    line-height: 1.3;
}
#content .pill-bottle.visible .monitoring-programme {
    -webkit-animation: move-in 1s ease forwards;
    animation: move-in 1s ease forwards;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}
#content .pill-bottle .annual-reports {
    font-size: 26px;
}
#content .pill-bottle.visible .annual-reports {
    -webkit-animation: move-in-right 1s ease forwards;
    animation: move-in-right 1s ease forwards;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
#content .pill-bottle .total-reports {
    font-size: 26px;
}
#content .pill-bottle.visible .total-reports {
    -webkit-animation: move-in 1s ease forwards;
    animation: move-in 1s ease forwards;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}
#content .pill-bottle .countries-involved {
    font-size: 25px;
}
#content .pill-bottle.visible .countries-involved {
    -webkit-animation: move-in-right 1s ease forwards;
    animation: move-in-right 1s ease forwards;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}
@-webkit-keyframes move-in {
    from { -webkit-transform: translate(-100%); transform: translate(-100%); opacity: 0; }
    to { -webkit-transform: translate(0); transform: translate(0); opacity: 1; }
}
@keyframes move-in {
    from { -webkit-transform: translate(-100%); transform: translate(-100%); opacity: 0; }
    to { -webkit-transform: translate(0); transform: translate(0); opacity: 1; }
}
@-webkit-keyframes move-in-right {
    from { -webkit-transform: translate(100%); transform: translate(100%); opacity: 0; }
    to { -webkit-transform: translate(0); transform: translate(0); opacity: 1; }
}
@keyframes move-in-right {
    from { -webkit-transform: translate(100%); transform: translate(100%); opacity: 0; }
    to { -webkit-transform: translate(0); transform: translate(0); opacity: 1; }
}

/* Next previous */
#content .next-prev { border-top: none; }
#content .next-prev .prev {
    position: absolute;
    top: 280px;
    left: -202px;
    width: 180px;
    text-align: right;
    font-family: 'Abril fatface', Georgia, Times New Roman, serif;
    text-transform: uppercase;
    color: #999999;
    letter-spacing: 3px;
    font-size: 14px;
    line-height: 1.3;
}
#content .next-prev .prev a {
    transform-origin: right;
}
#content .next-prev .prev a,
#content .next-prev .next a {
    transform: scale(1);
    transition: all 0.1s ease;
}
#content .next-prev .prev a:hover {
	background-color: #ffffff;
	padding: 7px 0px 7px 20px;
	border-radius: 4px;
	background-position: 0px 3px;
    transform: scale(1.1);
}
#content .next-prev .next {
    position: absolute;
    top: 280px;
    right: -194px;
    width: 180px;
    text-align: left;
    font-family: 'Abril fatface', Georgia, Times New Roman, serif;
    text-transform: uppercase;
    color: #999999;
    letter-spacing: 3px;
    font-size: 14px;
    line-height: 1.3;
}
#content .next-prev .next a {
    background: #ffffff url("gfx/simple-arrows-sprite.png") no-repeat 165px -335px;
    transform-origin: left;
}
#content .next-prev .next a:hover {
	background-color: #ffffff;
	padding: 7px 20px 7px 0px;
	border-radius: 4px;
	background-position: 165px -335px;
    transform: scale(1.1);
}
#content blockquote {
    background: #f9f9f9;
    box-shadow: 0 0 10px #eeeeee;
    padding: 31px 21px;
    margin: 42px 0;
    border: 1px solid #e4e4e4;
}
#content blockquote p {
    font-size: 22px;
    line-height: 1.45;
    font-style: italic;
    font-family: Georgia, Times New Roman, serif;
    margin-bottom: 0;
    -moz-osx-font-smoothing: grayscale;
}
#content p.fullwidthimage img {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: none;
}

.feature-box-yellow {
    background: #ffea95;
    box-sizing: border-box;
    padding: 28px;
    overflow: hidden;
}
#content .feature-box-yellow h3 {
    font-family: 'Open sans' Helvetica, Arial, sans-serif;
    font-weight: 300;
}
#content .grid-half {
    width: 47.5%;
    margin-right: 5.0%;
    float: left;
}
#content .grid-half:nth-of-type(2n) { margin-right: 0; }
#content hr {
    clear: both;
    border-top: 5px dotted #ffffff;
}
body.OTAGO618404 #content hr {
    clear: both;
    border-top: 5px dotted #e4e4e4;
}

#right { padding: 0; }


/* Media queries */

/* @2x */

@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-updated@2x.png) 243px bottom no-repeat;
                background-size: 320px;
            }
}

@media only screen and (max-width: 1500px) {
    .titleinner img { max-width: 100%; }
    #content .grid4 {
        width: 100%;
        max-width: 882px;
    }
}


@media only screen and (max-width: 1024px) {
    .titleinner img {
        margin-left: 0px;
        max-width: 100%;
    }
    #title h1 {
        background-position: 42% bottom;
        width: 94%;
    }
    #content h2 {
       -webkit-hyphens: auto;
       -moz-hyphens: auto;
        hyphens: auto;
    }
    #content .grid3 {
        width: 78%;
        margin-right: 0px;
    }
    #content .grid-third {
        width: 30%;
        margin-right: 3% !important;
    }
    #content .grid-third:nth-of-type(3n) {
        margin-right: 0;
    }
    #content .grid-half {
        width: 100%;
        margin-right: 0;
    }
    #content .grid-half:nth-child(16) {
       border-right: none;
       width: 100%;
        border-bottom: 5px dotted #ffffff;
        margin-bottom: 28px;
    }
    /* Grid gallery */
    body.OTAGO598495 #content .grid1 {
       width: 29.7%;
    }
    body.OTAGO598495 #content .grid1:nth-of-type(4n) {
        clear: none;
        margin-right: 5.5%;
    }
    body.OTAGO598495 #content .grid1:nth-of-type(3n) { margin-right: 0; }
}

@media only screen and (max-width: 768px) {
    #title h1 { background-position: 72% 0px; }
    #content h2 {
        font-size: 50px;
        padding-top: 14px;
        padding-bottom: 7px;
    }
    #content { padding: 12px 0px 46px 125px; }
    #title .titleinner img {
        width: 150%;
        margin-left: 0;
    }
    #content .grid3 {
        width: 100%;
    }    #content .next-prev .next {
        right: -145px;
        width: 125px;
    }
    #content .next-prev .next a { background-position: 109px -335px; }
    #content .next-prev .prev a { background-position: 30px 3px; }
    /* Grid gallery */
    body.OTAGO598495 #content .grid1:nth-of-type(5n) { clear: none; }
}

@media only screen and (max-width: 700px) {
    #title .titleinner img {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }
    body.OTAGO618408 #title .titleinner,
    body.OTAGO618407 #title .titleinner,
    body.OTAGO618411 #title .titleinner,
    body.OTAGO618414 #title .titleinner { padding-top: 110px; }
    #title .titleinner:after {
        content: '';
        display: block;
        height: 150px;
        width: 150px;
        background: url(gfx/title-updated.png) no-repeat;
        background-size: 155px;
        top: 60px;
        left: 10px;
        position: absolute;
    }
    body.OTAGO618408 #title .titleinner:after,
    body.OTAGO618407 #title .titleinner:after,
    body.OTAGO618411 #title .titleinner:after,
    body.OTAGO618414 #title .titleinner:after {
        background: url(gfx/title.png) no-repeat -24px 0;
        background-size: 190px;
    }
    .titleinner { padding-top: 0; }
    #title h1 {
        padding-bottom: 0px;
        padding-top: 0;
        line-height: 0;
    }
    #content .grid1.introbox,
    #content .grid1.introbox.titleonly {
        min-height: auto;
        margin-bottom: 14px;
    }
    #content .grid1.introbox:nth-of-type(3n) { margin-right: 0; }
    #content .grid-half:nth-child(16) {
        margin-right: 0;
        padding: 0;
    }
    #content .next-prev .prev,
    #content .next-prev .next { position: static; }
    #content .next-prev .next { width: 35%; }
    #content .next-prev .next a { background-position: right -335px; }
    #content .next-prev .prev { width: 35%; }
    #content .next-prev .prev a {
        background-position: left 3px;
    }
    #content { padding-left: 0; }
    body.OTAGO598495 #content .grid1,
    body.OTAGO598495 #content .grid1:nth-of-type(3n) {
       width: 47.5%;
        margin-right: 5%;
        float: left;
    }
    body.OTAGO598495 #content .grid1:nth-of-type(2n) { margin-right: 0; }
    .pill-bottle {
        float: none;
        margin-left: 0;
    }
}


@media only screen and (max-width: 380px) {
    #content .grid1.introbox img,
    #content .grid1.introbox.titleonly img {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-bottom: 7px;
    }
}
