/*! Generated by Fontspring (https://www.fontspring.com) on August 27, 2018. Fully installable fonts can be purchased at http://www.fontspring.com. The fonts included in this stylesheet are subject to the End User License you purchased from Fontspring. The fonts are protected under domestic and international trademark and copyright law. You are prohibited from modifying, reverse engineering, duplicating, or distributing this font software. (c) 2010-2018 Fontspring */
@font-face { font-family: 'Amsi pro condlight'; src: url(https://static.otago.ac.nz/fonts/amsipro/amsiprocond-light-webfont.woff2) format('woff2'), url(https://static.otago.ac.nz/fonts/amsipro/amsiprocond-light-webfont.woff) format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amsi pro condbold'; src: local('Amsi pro condbold'), local('Amsi-pro-condbold'), url(https://static.otago.ac.nz/fonts/amsipro/amsiprocond-bold-webfont.woff2) format('woff2'), url(https://static.otago.ac.nz/fonts/amsipro/amsiprocond-bold-webfont.woff) format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://static.otago.ac.nz/fonts/opensans/opensans-regular.woff2) format('woff2'), url(https://static.otago.ac.nz/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 Semibold'), local('OpenSans-semibold'), url(https://static.otago.ac.nz/fonts/opensans/opensans-bold.woff2) format('woff2'), url(https://static.otago.ac.nz/fonts/opensans/opensans-bold.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(https://static.otago.ac.nz/fonts/opensans/opensans-light.woff2) format('woff2'), url(https://static.otago.ac.nz/fonts/opensans/opensans-light.woff) format('woff'); font-display: swap; }


html {
    scroll-behavior: smooth;
}
body {
    border-top: 8px solid #f9c000;
    line-height: 1.5;
}
body#otago-theme {
    background: #f9f9f9;
}
h1, .h1 {
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 55px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.05;
}
h2 {
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 35px;
    margin-top: 0;
}
#otago-theme h2 {
    color: #444444;
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.15;
}
#otago-theme h3 {
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.0rem;
}
#otago-theme h4 {
    color: #333333;
    font-family: 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
#otago-theme .col-md-12 ul li,
#otago-theme .col-md-12 ol li {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 7px;
    margin-left: 0;
}
#otago-theme .col-md-12 ul li ul,
#otago-theme .col-md-12 ol li ul {
    margin-left: 18px;
    margin-top: 0.5rem;
}
#otago-theme .col-md-12 ul {
    margin-left: 16px;
    padding-left: 0;
    list-style-position: outside;
    list-style-type: circle;
}
#otago-theme a {
    color: #416ebf;
}
#otago-theme .content-button.content-next a {
    background: #f9c000;
    border: 2px solid #dfa000;
    color: #333333;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 21px;
    padding: 4px 15px;
    transition: all 0.3s ease-out;
}
#otago-theme .content-button.content-next a:hover {
    background: #dfa000;
    color: #ffffff;
    text-decoration: none;
}
#otago-theme .content-button.ghost-button a {
    border: 2px solid #cccccc;
    border-radius: 20px;
    font-weight: bold;
    padding: 5px 15px;
    transition: all 0.3s ease-out;
}
#otago-theme .content-button.ghost-button a:hover {
    background: #f5f5f5;
    border: 2px solid #aaaaaa;
    text-decoration: none;
}
h1 + p,
h1 + h2,
p + h2,
ul + h2,
ol + h2,
table + h2 {
    margin-top: 35px;
}
.content-area p {
    font-size: 1.2rem;
    font-style: normal;
    line-height: 1.6;
    margin-top: 0;
}
.navbar-brand {
    display: none;
}
.nav {
    justify-content: space-between;
}
#otago-theme table {
    margin-bottom: 3rem;
    table-layout: fixed;
    width: 100%;
}
#otago-theme .is-content-800 {
    max-width: 950px !important;
    padding-left: 0;
    padding-right: 0;
}
#otago-theme .is-content-800 .ea-data-Agenda {
    margin-left: 0;
    margin-right: 0;
}
#otago-theme table tr {
    border-bottom: 1px solid #dddddd;
}
#otago-theme table tr th {
    border-bottom: 1px solid #f9c000;
    color: #1F4A8C;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px;
    vertical-align: text-bottom;
}
#otago-theme table tr td {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 15px;
    vertical-align: text-bottom;
}
#otago-theme table tr td p {
    line-height: 1.6;
}
#otago-theme table:not(.programme) td:nth-of-type(1),
#otago-theme table:not(.programme) th:nth-of-type(1),
#otago-theme div[class*="Agenda"] table td {
    padding-left: 0;
}
#otago-theme div[class*="Agenda"] table td:nth-of-type(1) {
    padding: 15px;
}
#otago-theme .ea-data-Agenda {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -30px;
}
#otago-theme div[class*="Agenda"] .nav-link,
#otago-theme div[class*="Agenda"]  .nav-link.active,
#otago-theme div[class*="Agenda"]  .nav-link.show {
    color: #416ebf !important;
    font-weight: 400;
}
#otago-theme div[class*="Agenda"] table td:nth-of-type(1) {
    padding: 15px;
}
#otago-theme div[class*="Agenda"] table {
    border: none !important;
}
#otago-theme div[class*="Agenda"] table th {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-sizing: border-box;
}
#otago-theme div[class*="Agenda"] table th:nth-of-type(1) {
    max-width: 30% !important;
    width: 30% !important;
}
#otago-theme div[class*="Agenda"] table th:nth-of-type(2) {
    max-width: 70% !important;
    width: 70% !important;
}
#otago-theme div[class*="Agenda"] table th:first-child:nth-last-child(n + 3) ~ th {
    width: 33% !important;
}
#otago-theme div[class*="Agenda"] table td {
    box-sizing: border-box;
    line-height: 1.6 !important;
    padding: 15px;
    text-align: left !important;
}
#otago-theme div[class*="Agenda"] table td {
    color: #333333 !important;
    background-color: #ffffff !important;
}
#otago-theme div[class*="Agenda"] table td:nth-of-type(2) {
    background-color: #fafafa !important;
}
#otago-theme .ea-data-Agenda .link {
    color: #416ebf;
    display: inline;
    border-bottom: 1px solid hsla(219, 66%, 75%, 0.4);
    text-decoration: none !important;
    transition: all 0.3s ease-out;
}
#otago-theme .ea-data-Agenda .link:hover {
    color: hsla(219, 66%, 25%, 1);
    border-bottom: 1px solid hsla(219, 66%, 75%, 1);
}
#otago-theme table.programme {
    border-left: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
}
#otago-theme table.programme td,
#otago-theme table.programme th {
    border-right: 1px solid #dddddd;
}
#otago-theme hr {
    border-top: 4px dotted #dddddd;
}
#otago-theme ul.pagesubnav {
    background: #f9f9f9;
    border: 1px solid #dddddd;
    border-radius: 3px;
    list-style-position: outside;
    margin-bottom: 3rem;
    margin-top: 2rem;
    margin-left: 0;
    padding: 15px;
}
#otago-theme ul.pagesubnav li {
    margin-left: 20px;
}
#otago-theme ul.pagesubnav li:last-of-type {
    margin-bottom: 0;
}
#otago-theme .topofpage {
    border: 1px solid #dddddd;
    border-radius: 16px;
    color: #f9c000;
    display: inline-block;
    float: right;
    font-size: 1rem;
    margin-bottom: 3rem;
    padding: 3px 15px;
    text-align: right;
    transition: all 0.3s ease-out;
}
#otago-theme .topofpage:hover {
    background: #f9f9f9;
}
#otago-theme .embed-responsive {
    margin-bottom: 40px;
}

/* Table border colours */

#otago-theme div table td[style*="background: #00B0F0"]:nth-of-type(1n) {
    border-left: 10px solid #00B0F0;
}
#otago-theme div table td[style*="background: #1AE3BB"]:nth-of-type(1n) {
    border-left: 10px solid #1ae3bb;
}
#otago-theme div table td[style*="background: #CCCCCC"]:nth-of-type(1n) {
    background: #eeeeee !important;
    border-left: 10px solid #cccccc/*#00B0F0*/;
}
#otago-theme div table td[style*="background: #BCDBFF"]:nth-of-type(1n) {
    border-left: 10px solid #BCDBFF;
}
#otago-theme div table td[style*="background: #3472BE"]:nth-of-type(1n) {
    border-left: 10px solid #3472be;
}
#otago-theme .ea-data-Agenda .track-border {
    background: none !important;
    text-align: left;
}


#otago-theme header {
    background: url(https://www.otago.ac.nz/_assets/_gfx/crest-line-left.svg) no-repeat 0 -34px #00508F;
    background-size: 200px;
}
#otago-theme header .header-inner {
    background: url(https://www.otago.ac.nz/_assets/_gfx/logo@2x.png) no-repeat 0 center;
    background-size: 160px 80px;
    box-sizing: border-box;
    margin: auto;
    max-width: 940px;
    padding-left: 200px;
    padding-bottom: 20px;
    padding-top: 15px;
}
#otago-theme header h1 {
    color: #f9c000;
    font-size: 35px;
    line-height: 1;
    margin: 0;
    padding: 0;
}
#otago-theme header h1 span {
    color: #ffffff;
    display: inline-block;
    font-size: 24px;
    position: relative;
}
#otago-theme header h1 span:before {
    background: #f9c000;
    content: '';
    display: block;
    height: 3px;
    margin-top: -10px;
    position: absolute;
    width: 37px;
}
#otago-theme .header-inner.alternative-header h1 {
    color: #ffffff;
    padding-top: 10px;
}
#otago-theme header h1 span {
    color: #ffffff;
    display: inline-block;
    font-size: 24px;
    position: relative;
}
#otago-theme header .alternative-header h1 span {
    color: #f9c000;
    display: inline-block;
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, arial, sans-serif;
    font-weight: 300;
    font-size: 30px;
    position: relative;
}
#otago-theme header .alternative-header h1 span:before {
    display: none;
}
#otago-theme header .alternative-header h1:before {
    background: #f9c000;
    content: '';
    display: block;
    height: 3px;
    margin-top: -8px;
    position: absolute;
    width: 37px;
}

#otago-theme .is-wrapper .nav-brand {
    border-top: 1px solid rgba(0,0,0,0.2);
    padding-left: 0;
    padding-right: 0;
}
#otago-theme .is-wrapper .nav-brand .container {
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, arial, sans-serif;
    font-weight: 300;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    width: 100%;
}
#otago-theme .is-wrapper .nav-brand .container .nav-link {
    font-size: 21px;
    letter-spacing: 0;
    opacity: 0.9;
    padding-left: 1rem;
    padding-right: 1rem;
}
#otago-theme .is-wrapper .nav-brand .container .nav-link.active {
    color: #f9c000 !important;
}

#otago-theme .col-md-12 {
    padding: 0;
}
#otago-theme .col-md-12 .content-area {
    padding-bottom: 50px;
}

#otago-theme .row .col-md-12 img {
    margin: 2.5rem 0 1rem;
}
#otago-theme .row .col-md-12 img[align=right] {
    margin-left: 1rem;
    margin-top: 5px;
}

#otago-theme p + .embed-container {
    margin-bottom: 3rem;
    margin-top: 3rem;
}
/* Modal fix */
#otago-theme.modal-open .modal-title.d-inline-block + .agenda-track {
    background: #ffffff !important;
    color: #1F4A8C !important;
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.0rem;
    padding: 0;
    vertical-align: top;
    display: none !important;
}
.modal-body {
    font-weight: 400;
}



#otago-theme footer {
    background: url(https://www.otago.ac.nz/_assets/_gfx/kowhaiwhai-head.png) no-repeat right -110px top -150px #f9f9f9;
    border-top: 1px solid #dddddd;
    clear: both;
    margin-bottom: 0;
    padding-bottom: 50px;
}
#otago-theme footer .footer-inner {
    background: url(https://www.otago.ac.nz/_assets/_gfx/crest-bw.png) no-repeat 0 20px;
    background-size: 34px;
    display: flex;
    justify-content: space-between;
    margin: 0px auto;
    max-width: 960px;
    padding-top: 90px;
    width: 100%;
}
#otago-theme footer .footer-inner p {
    color: #777777;
    font-size: 0.8rem;
    margin-right: 30px;
    margin-top: 0;
}
#otago-theme footer .footer-inner ul {
    display: flex;
    list-style-type: none;
}
#otago-theme footer .footer-inner ul li {
    font-size: 0.8rem;
    font-weight: 400;
}
#otago-theme footer .footer-inner ul li a {
    border-left: 1px solid #dddddd;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Postponement box */

#otago-theme .postponement-box {
    background: #ffda5c;
    border-bottom: 15px solid #333333;
    margin-top: 30px;
    padding: 30px 40px;
}
#otago-theme .postponement-box h2 {
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}
#otago-theme .postponement-box p:last-of-type {
    margin-bottom: 0;
}


@media only screen and (max-width: 990px) {
   #otago-theme .is-wrapper .is-box .is-container,
   #otago-theme footer .footer-inner {
        margin-left: 5%;
        margin-right: 5%;
        padding: 0;
    }
    #otago-theme .is-wrapper .nav-brand  {
        padding-left: 4%;
        padding-right: 4%;
    }
    #otago-theme header .header-inner {
        margin-left: 5%;
        margin-right: 5%;
        padding-left: 180px;
    }
    #otago-theme header h1 {
        font-size: 35px;
    }
    #otago-theme header h1 span {
        font-size: 21px;
    }
    #otago-theme .row {
        margin: 0;
    }
    #otago-theme .navbar-brand {
        margin: 0;
    }
    #otago-theme .is-wrapper .nav-brand .container .nav-link {
        font-size: 20px;
        padding-left: 0.5rem;
        padding-right: 0.5em;
    }
    #otago-theme footer .footer-inner {
        padding-top: 90px;
        width: 90%;
    }
    #otago-theme .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.4);
        padding-left: 5px;
        padding-right: 10px;
        transition: all 0.3s ease-out
    }
    #otago-theme .navbar-toggler:hover {
        background: rgba(0,0,0,0.3);
    }
    /*#otago-theme .navbar-toggler.collapsed:after {
        color: #ffffff;
        content: 'Menu';
        display: inline-block;
        font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
        font-size: 15px;
        font-weight: 700;
        padding-left: 5px;
        padding-top: 4px;
    }*/
    #otago-theme .navbar-toggler:after {
        color: #ffffff;
        content: 'Menu';
        display: inline-block;
        font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
        font-size: 15px;
        font-weight: 700;
        padding-left: 5px;
        padding-top: 4px;
        transition: all 0.3s ease-out;
    }
    #otago-theme .row .col-md-12 img:not([align=right]) {
        margin: 1rem 0 0rem 0;
    }
    #otago-theme .col-md-12 ul li {
        font-size: 1.1rem;
    }
    #otago-theme .ea-data-Agenda {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: -30px;
    }
}


@media only screen and (max-width: 820px) {
    #otago-theme footer .footer-inner ul {
        display: block;
    }
    #otago-theme footer .footer-inner ul li {
        margin-bottom: 1rem;
    }
    #otago-theme footer .footer-inner ul li a {
        border: none;
    }
}



@media only screen and (max-width: 768px) {
    #otago-theme .is-wrapper .nav-brand  {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media only screen and (max-width: 430px) {
    #otago-theme header .header-inner {
        background: url(https://www.otago.ac.nz/_assets/_gfx/otago-crest@2x.png) no-repeat 0 0;
        background-size: 73px;
        padding-left: 90px;
    }
    #otago-theme h1 {
        font-size: 2.6rem;
        line-height: 1.1;
    }
    #otago-theme h2 {
        font-size: 2.2rem;
    }
    #otago-theme .row .col-md-12 img[align=right] {
        margin-left: 0;
        width: 100%;
    }
}