/*! 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(/_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: 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 Semibold'), local('OpenSans-semibold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.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(/_assets/_fonts/opensans/opensans-light.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-light.woff) format('woff'); font-display: swap; }


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

THEOLOGY CSS

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

body {
    background: url(gfx/frontpage-background.png) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/frontpage-banner.jpg) center 0px no-repeat;
}
#title h1 {
  background: url(gfx/title.png) 0px 160px no-repeat;
  font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
  font-size: 68px;
  font-variant-ligatures: normal;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0 23px;
  max-width: 650px;
  padding: 470px 0 14px 0px;
  position: static;
  opacity: 1;
  text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    margin-bottom: 21px;
    max-width: 100%;
    padding-right: 165px;
}
.titleinner img {
	display: none;
}
#content h2 {
	border-bottom: none;
  color: #163568;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 31px;
	font-weight: 300;
  line-height: 1.3;
  margin: 35px 0 14px 0;
  text-rendering: optimizeLegibility;
}
#content h2 img {
    padding: 1px;
    border: 1px solid #e4e4e4;
}
#content h3 {
}
#content h4 {
    font-size: 17px;
}
#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 ul {
	margin-left: 16px;
}
#content ul li {
	margin-bottom: 5px;
}
#content table td {
	font-size: 13px;
}
#content ul.pagesubnav {
	background: #f9f9f9;
	border: 1px solid #dddddd;
	border-radius: 3px;
    margin-top: 14px;
	padding-top: 14px;
	padding-bottom: 21px;
}
#content ul.pagesubnav li a {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 400;
}
#content ul.pagesubnav li {
    list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
    list-style-position: outside;
    margin-bottom: 7px;
    margin-left: 10px;
    padding-left: 3px;
    padding-right: 14px;
}



#content p.topofpage {
    margin-bottom: 21px;
}
#right {
	background-image: none;
}


/* //////////// Frontpage styles /////////////// */


body.frontpage #title h1 {
	font-size: 45px;
}
body.frontpage #title h1.notopimage {
    font-size: 40px;
    line-height: 1.25;
    max-width: 100%;
    padding-right: 0;
    padding-top: 450px;
}
body.frontpage #content hr {
	margin: 0px 0 28px 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid #f1f1f1;
}
body.frontpage #content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0px;
    min-height: 250px;
}
body.frontpage #content h2 {
    font-size: 30px;
    line-height: 1.2;
    padding-top: 0px;
    padding-bottom: 7px;
    margin: 0px 0 21px 0;
}
body.frontpage #content h2 span {
}
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 .grid2 {
    min-height: 10px;
}
body.frontpage #content .grid2:nth-of-type(2n) {
    margin-right: 0;
}
body.frontpage #content .grid1 {
    padding-top: 21px;
}
body.frontpage #content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
body.frontpage #content ul {
    margin-top: 14px;
}
body.frontpage #content li {
    list-style-image: url(gfx/arrow-icon.png);
    padding-bottom: 14px;
}
body.frontpage #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}
body.frontpage #content .news-title h2,
body.frontpage #content .events-title h2 {
    border: none;
    margin-top: 42px;
    margin-bottom: 7px;
    padding: 0;
    background: url(gfx/stroke.gif) repeat-x 0 center;
}
body.frontpage #content .news-title h2 span,
body.frontpage #content .events-title h2 span {
    background: #fff;
    padding-right: 14px;
}
.event-hidden {
    display: none;
}
body.frontpage #features {
    margin: 0 0 112px 232px;
    overflow: hidden;
}
body.frontpage .features.news {
    width: 418px;
    float: left;
}
body.frontpage .features.news h2 {
    display: none;
}

.news article:hover {
    background-color: #ffffff;
}
body.frontpage .features.events {
    width: 418px;
    float: right;
}
.events article {
    margin-top: 0px;
    padding: 0px 0px 14px 0px;
}

/*
*
* New Frontpage styles
*
*/

body.frontpage #content.otgx {
    width: 882px;
}
body.frontpage #box1 {
    margin-bottom: 35px;
}
body.frontpage #content.otgx .grid1 {
    box-sizing: border-box;
    color: #555555;
    float: left;
    margin-bottom: 42px;
    margin-right: 5.2%;
    min-height: 296px;
    width: 21.05%;
}
body.frontpage #content.otgx .grid1 p a {
    color: #555555;
    font-weight: 400;
}
body.frontpage #content.otgx .grid1:nth-of-type(6n+1) {
    margin-right: 0;
}
/* Hide Eews and Events */
body.frontpage #content.otgx #box8,
body.frontpage #content.otgx #box9 {
    display: none;
}
body.frontpage #content.otgx .intro h2 {
    color: #888888;
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 35px;
    border-bottom: none;
}
body.frontpage #content.otgx .grid1 a {
    border-bottom: none;
}
body.frontpage #content.otgx .grid1 img {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}
body.frontpage #content.otgx .grid1 h3 {
    font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
    font-size: 26px;
    letter-spacing: 0.01em;
    padding: 0 14px;
    margin-bottom: 14px;
}
body.frontpage #content.otgx .grid1 h3:after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    margin: 14px 0 14px 0;
    background: #f9c000;
    transition: all 0.3s ease-out;
}
body.frontpage #content.otgx .grid1:hover h3:after {
    width: 50%;
    background: #7dabff;
    transition: all 0.3s ease-out;
}
body.frontpage #content.otgx .grid1 p {
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    color: #555555;
}
body.frontpage #content.otgx .grid1.shadow-box {
    padding-top: 0;
    padding-bottom: 14px;
}
#content .shadow-box,
#content.otgx .shadow-box {
    box-shadow: 0 0 6px #f0f0f0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 35px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
body.frontpage #content.otgx .news,
body.frontpage #content.otgx .events,
body.frontpage #content.otgx .faith {
    float: left;
}
body.frontpage #content.otgx .news {
    width: 186px;
    margin-right: 46px;
}
body.frontpage #content .news img {
    margin-bottom: 14px;
}
body.frontpage #content.otgx .news article h3 {
    font-size: 14px;


}
body.frontpage #content.otgx .events {
    width: 418px;
    margin-right: 46px;
}
body.frontpage #content.otgx .faith {
    width: 186px;
    margin-right: 0;
}
body.frontpage #content.otgx .faith p img {
    padding: 0;
    margin: 0;
    float: none;
}
body.frontpage #content.otgx .faith a {
    border-bottom: none;
}
body.frontpage #content.otgx .faith h3 {
    padding-top: 0;
    padding-bottom: 7px;
}

body.frontpage #content.otgx .news article {
    width: 186px;
    margin-right: 46px;
    float: left;
}
body.frontpage #content.otgx .news article:nth-of-type(2n) {
    margin-right: 0;
}
body.frontpage #content.otgx .news article h3,
body.frontpage #content.otgx .events article h3 {
    padding-top: 0;
    padding-bottom: 7px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}
body.frontpage #content.otgx .news article h3 a,
body.frontpage #content.otgx .events article h3 a {
    border-bottom: none;
}
body.frontpage #content.otgx .news article p:last-child {
    display: none;
}
body.frontpage #content.otgx .news article p.smalltag {
    font-style: normal;
}
body.frontpage #content.otgx .events article {
    background: none;
    width: 186px;
    float: left;
    margin-right: 46px;
}
body.frontpage #content.otgx .events article:nth-of-type(2n) {
    margin-right: 0;
}

body.frontpage #content.otgx .news h2,
body.frontpage #content.otgx .events h2,
body.frontpage #content.otgx .faith h2 {
    margin-bottom: 0;
}
body.frontpage #content.otgx .video-container h2 {
    margin-bottom: 0;
    margin-top: 42px;
}
body.frontpage #content.otgx .video-container .video-box {
    margin-top: 0;
}
body.frontpage #content.otgx .news h2::after,
body.frontpage #content.otgx .events h2::after,
body.frontpage #content.otgx .faith h2::after,
body.frontpage #content.otgx .video-container h2:after {
    content: '';
    display: block;
    height: 3px;
    width: 56px;
    margin: 14px 0;
    background: #c8c9d9;
}
.video-container {
    width: 100%;
    clear: both;
}
.video-container .video-box {
    border: 1px solid #dddddd;
    box-shadow: 0 5px 20px #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 28px;
    margin-bottom: 28px;
    clear: both;
}
.video-container .video-box p:first-of-type {
    float: left;
    max-width: 50%;
}
.video-container .video-box p:not(first-of-type) {
    float: right;
    max-width: 45%;
}
.jwplayer {
    float: left;
    margin-right: 46px;
}
#content .video-container .video-box p {
    font-size: 16px;
    font-weight: 300;
    padding: 3% 28px;
}
#content .video-container .video-box p:nth-of-type(1) {
    margin: 0;
    width: 100%;
    float: left;
    padding: 0;
    line-height: 0;
}
#content .video-container .video-box p:nth-of-type(2) {
    position: relative;
    width: 100%;
    float: left;
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
}
#content .video-container .video-box p:nth-of-type(3) {
    width: 100%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 0;
}
#content .video-container .video-box p span {
    font-variant: small-caps;
    color: #999999;
    font-weight: 400;
    padding-left: 2px;
}
#content .video-container .video-box p:nth-of-type(2):after {
    background: #f9c000;
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    display: block;
    bottom: 0px;
    margin-top: 21px;
}
#content .video-container .video-box p img {
    padding: 0;
    border: none;
    margin: 0 28px 0 0;
    float: left;
}



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

Media queries

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


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






/* iPad landscape */

@media only screen and (min-width: 768px) and (max-width: 1160px) {
	#contentwrapper {
		padding-left: 0;
		padding-right: 0;
	}
	footer.wrapper,
	div.footer_wrapper,
	#topnav,
	.topnavinner,
	div#nav_holder  {
		box-sizing: border-box;
		max-width: 100%;
	}
	.titleinner {
		max-width: 79.8%;
		overflow: hidden;
		position: relative;
	}
	#title h1 {
		box-sizing: border-box;
	}
}




@media only screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        background: none;
    }
    #wrapper {
        background: url(gfx/banner.jpg) -50px 0px no-repeat;
    }
    #title h1.notopimage {
        background-position: 0 110px;
        max-width: 100%;
        padding-right: 0;
        padding-top: 365px;
    }


	body.OTAGO013587 #title h1.notopimage {
		max-width: 650px;
        padding-top: 370px;
	}
    body.OTAGO013587 #content h2 {
        font-size: 26px;
    }
	body.OTAGO013587 #content .grid2 {
        width: 302px;
    }
	body.OTAGO013587 #content .grid2 img {
		max-width: 302px;
	}
    body.OTAGO013587 #content .grid4 .grid1 {
        width: 150px;
        margin-right: 16px;
    }
    body.OTAGO013587 #content .grid4 .grid1 img {
        max-width: 100%;
    }
    #features {
        width: 650px;
    }
    body.OTAGO013587 .features article {
        margin-right: 23px;
        width: 139px;
    }
    body.OTAGO013587 .features article:nth-of-type(2n) {
        margin-right: 0;
    }
    .news article .articletext {
        width: 100%;
    }
    body.OTAGO013587 .features.news {
        width: 302px;
        margin-right: 46px;
    }
    body.OTAGO013587 .features.events {
        width: 302px;
        float: left;
    }

    /* Frontpage styles */

    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage #content.otgx .grid1 {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.frontpage #content.otgx .news {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 28px;
    }
    body.frontpage #content.otgx .news article {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #content.otgx .news article:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content.otgx .events {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #content.otgx .faith {
        width: 48%;
    }
    .video-container {
        margin-top: 28px;
    }
    body.frontpage #content.otgx .events article {
        width: 48%;
        margin-right: 4%;
    }
}




/* Portrait tablet ^ */

@media only screen and (max-width: 768px) {
	body {
        background: none;
    }
    #wrapper,
    body.frontpage #wrapper {
        background-position: -250px 0;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
	body.OTAGO013587 #content {
        padding-top: 0;
    }
    body.OTAGO013587 #content h2 {
        font-size: 24px;
    }
    body.OTAGO013587 #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO013587 #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;
    }
    body.OTAGO013587 #content ul {
        margin: 0 0 0 23px;
    }
    #features {
        width: 418px;
    }
    body.OTAGO013587 .features article {
        margin-right: 0;
        width: 100%;
    }
    body.OTAGO013587 .features article:nth-of-type(2n) {
        margin-right: 0;
    }
    .news article .articletext {
        width: 100%;
    }
    body.OTAGO013587 .features.news {
        width: 302px;
        margin-right: 0px;
    }
    body.OTAGO013587 .features.events {
        width: 100%;
        float: none;
    }
    #features .events {
        width: 100%;
        float: none;
        padding-left: 0;
        border-left: none;
    }
    .events article {
        padding: 0;
        margin: 0;
        background: none;
    }
    .events-title {
        display: none;
    }
    .event-hidden {
        display: inline-block;
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.OTAGO013587 #right {
		border-top: none;
		width: 186px;
	}
    body.OTAGO013587 {
        background: url(gfx/background.png) center 0px repeat-x;
    }

    /* Frontpage styles */

    body.frontpage #content.otgx {
        width: 418px;
    }
    body.frontpage #content.otgx .grid1 {
        width: 47%;
        margin-right: 5%;
    }
    body.frontpage #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    .video-container {
        width: 100%;
    }

}




/* Mobile styles (phone and small tablet) media query */

@media only screen and (max-width: 700px) {
    body,
    body.OTAGO013587 {
        background: none;
    }
    #wrapper,
    body.OTAGO013587 #wrapper {
        background: url(gfx/banner.jpg) -230px 14px no-repeat;
        background-size: 900px;
        width: 100%;
    }
    .titleinner {
        width: 92%;
    }
    #content {
        padding-top: 0;
    }
    #title h1,
    body.frontpage #title h1.notopimage {
        background-position: 0 30px;
        background-size: 150px;
        font-size: 48px;
        margin-left: 0;
        padding-top: 190px;
        width: 100%;
    }
    body.frontpage #title h1.notopimage {
        font-size: 35px;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }

    body.OTAGO013587 #content {
        padding-bottom: 48px;
    }
    body.OTAGO013587 #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.OTAGO013587 #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.OTAGO013587 #content .grid2 {
        width: 100%;
        float: none;
    }
    body.OTAGO013587 #content div.grid2.frontpage-boxes {
        width: auto;
        max-width: 100%;
        min-height: 10px;
    }
    body.OTAGO013587 #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    body.OTAGO013587 #content .info-icon a,
    body.OTAGO013587 #content .requirements-icon a,
    body.OTAGO013587 #content .submission-icon a,
    body.OTAGO013587 #content .nzgl-icon a {
        padding: 56px 10px 14px 10px;
    }
    body.OTAGO013587 #features,
    #features {
        width: 100%;
        margin: 0;
    }
    body.OTAGO013587 .features article {
        margin-right: 0;
        width: 100%;
    }
    body.OTAGO013587 .features article:nth-of-type(2n) {
        margin-right: 0;
    }
    .news article .articletext {
        width: 100%;
    }
    body.OTAGO013587 .features.news {
        width: 302px;
        margin-right: 0px;
    }
    body.OTAGO013587 .features.events {
        width: 100%;
        float: none;
    }
    #features .events {
        width: 100%;
        float: none;
        padding-left: 0;
        border-left: none;
    }
    .events article {
        padding: 0;
        margin: 0;
        background: none;
    }
    .events-title {
        display: none;
    }
    .event-hidden {
        display: inline-block;
    }
    body.OTAGO013587 #right {
        margin: 0;
    }

    /* Frontpage styles */

    body.frontpage #content.otgx {
        width: 97%;
    }
    body.frontpage #content.otgx .grid1 {
        width: 48%;
        margin-right: 4%;
    }
    body.frontpage #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.frontpage #content.otgx .grid1 img {
        max-width: 100%;
    }
    body.frontpage #content.otgx .news {
        width: 100%;
    }
    body.frontpage #content.otgx .news article {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #content.otgx .events {
        width: 100%;
        margin-right: 0;
    }
    body.frontpage #content.otgx .events article {
        width: 100%;
    }
    body.frontpage #content.otgx .faith {
        width: 100%;
    }
    body.frontpage #content.otgx .faith img {
        max-width: 100%;
    }
    body.frontpage #content.otgx .news,
    body.frontpage #content.otgx .events,
    body.frontpage #content.otgx .faith {
        clear: both;
        float: none;
    }
}
