/*! 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: 'Amsi pro condbold'; src: local('Amsi pro condbold'), local('Amsi-pro-condbold'), url(/_assets/_fonts/amsipro/amsiprocond-bold-webfont.woff2) format('woff2'), url(/_assets/_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(/_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; }


/*********

Te Rangi Hiroa College CSS

*********/

body {
    background: url(gfx/background-2022.png) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/banner-2022.jpg) right 0px no-repeat;
}
.titleinner img {
    display: none;
}
header#global_intro h1 {
	font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, arial, sans-serif;
	font-size: 23px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
header#global_intro h1.global_intro_maori {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: 5px;
  padding-bottom: 14px;
}
.heading-translation {
	color: #888888;
	font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 35px;
	margin-top: -21px;
	padding-left: 23px;
}
#title h1 {
	background: url(gfx/title-b-2022.png) 0 130px no-repeat;
/*     background-size: 482px; */
    color: #525f66;
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    -webkit-font-variant-ligatures: normal;
    font-size: 60px;
  font-variant-ligatures: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
	margin: 0 0 0 23px;
    max-width: 650px;
    padding: 400px 0 14px 0px;
    position: static;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
#title h1.notopimage {
    margin-bottom: 7px;
    max-width: 100%;
}
#content {
    box-sizing: border-box;
    width: 100%;
}
#content h2 {
	margin: 14px 0 14px 0;
    text-rendering: optimizeLegibility;
    border-bottom: none;
    color: #847c73;
    font-family: 'Amsi pro condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
    font-size: 35px;
    line-height: 1.25;
    margin-bottom: 28px;
}
#content  h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#content h3 {
    color: #727272;
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}
#content p,
#content ul,
#content ol,
#content li,
#content table,
#content dl,
#content dt,
#content dd,
#content form,
#content fieldset,
#content legend,
#content label,
#content select,
#content option,
#content textarea,
#content input,
#content button,
#right p,
#right li,
#right dt,
#right dd,
#content p.fullwidthimage {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
#content p,
#content ul,
#content ol,
#content li,
#content dl,
#content dt,
#content dd,
#content label,
#content select,
#content option,
#content textarea,
#content input,
#content button {
  font-size: 16px;
}
#content ul {
    margin-left: 16px;
}
#right {
	background-image: none;
}
#right .rightwidget {
    clear: both;
}
#content {
    font-weight: 300;
}
#content p img {
    border: none;
    display: block;
    padding: 0;
}
.line-sep {
    width: 90px;
    height: 3px;
    background-color: #00a6af;
    margin-bottom: 15px;
    display: block;
}
#content p .nice-button {
    background-color: #48b9be;
    border-bottom: 0;
    border-radius: 50px;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    padding: 10px 28px;
    margin-bottom: 21px;
    margin-top: 14px;
}
#content p .nice-button:hover {
    background-color: #44A6AA;
    border-bottom: none;
}
center {
    margin-bottom: 35px;
}
#content p:empty {
  margin-bottom: 0;
}
#content p:empty + h2 {
  margin-top: 0;
}
#content p.fullwidthimage.nocaption img {
  width: 100%;
}
#content ul.pagesubnav li {
  list-style-position: outside;
  margin-left: 10px;
}
#content ul.pagesubnav {
  background-color: #f9f9f9;
  border: 1px solid #dddddd;
  font-size: 9px !important;
  margin: 0 0 49px 0;
  padding: 14px 7px 14px 14px;
}
#content ul.pagesubnav li {
  margin-bottom: 3px;
}
#content ul.pagesubnav li a {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}


/* Gallery */

.n5287 #content p {
    display: flex;
    flex-wrap: wrap;
}
.n5287 #content p .player img {
    border: none;
    height: 100%;
    margin: 0 0 0px 14px;
    padding: 0px;
    transition: all 0.3s ease;
    width: 100%;
}
.n5287 #content p .player img:hover {
  box-shadow: 0 0px 0px 4px #F9C000;
}
.n5287 #content p a.player {
    border-bottom: none;
    display: block;
    margin-right: 1%;
    margin-bottom: 1%;
    object-fit: cover;
    width: 32%;
}

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



body.frontpage #content hr {
	margin: 0px 0 14px 0;
    padding: 0;
	border-top: 1px solid #e4e4e4;
}
body.frontpage #content {
    box-sizing: border-box;
    min-height: 250px;
    width: 100%;
}
/* body.frontpage #content h2 {
    color: #444444;
    font-size: 30px;
	margin: 21px 0 21px 0;
} */
body.frontpage #content h2:first-of-type {
    margin-top: 0;
}
body.frontpage #content .grid_third:nth-of-type(3n) {
    margin-right: 0;
}
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 .grid1 ul {
    margin-left: 0;
}
body.frontpage #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}
body.frontpage #content .arrow {
    /* background: url(gfx/arrow.png) no-repeat 0 3px;
    padding-left: 14px; */
    font-size: 13px;
}
body.frontpage #content h2 a,
body.frontpage #content h3 a {
    border-bottom: none;
}
#content .notice {
    border: 1px solid #dddddd;
    margin-top: 35px;
}
body.frontpage #right {
    float: none !important;
    padding: 0px !important;
}

@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) and (min-width: 701px) {
  #title h1 {
    background-image: url(gfx/title-b-2022@2x.png);
    background-size: 445px;
  }
}

/* MEDIA QUERIES ************/
@media only screen and (max-width: 1660px) {
    
/*     #title h1 {
        background-size: 430px;
    } */
    #wrapper {
        background-position: right -160px top 0;
    }
}

@media only screen and (max-width: 1350px) {
    #wrapper {
        background-size: 1150px;
    }
    body {
        background-size: 9.2px;
    }
    #title h1 {
        padding-top: 300px;
        background-position: 0 50px;
        background-size: 375px;
    }
}

@media only screen and (max-width: 1050px) {
    #wrapper {
        background-size: 1000px;
    }
    body {
        background-size: 8px;
    }
    #title h1 {
        background-size: 300px;
    }
}
    

@media only screen and (min-width: 1025px) and (max-width: 1160px) {
    #contentwrapper {
         padding-left: 0;
        padding-right: 0;
    }
}


@media only screen and (min-width: 770px) and (max-width: 925px) {
    #contentwrapper {
         padding-left: 0;
        padding-right: 0;
    }
}
@media only screen and (min-width: 701px) and (max-width: 1160px) {
  #contentwrapper, .topnavinner, .titleinner, footer.wrapper, div.footer_wrapper {
    box-sizing: border-box;
    width: 100%;
  }
  #contentwrapper, .topnavinner, footer.wrapper, div.footer_wrapper {
    max-width: 1114px;
  }
  ul#breadcrumbs {
    box-sizing: border-box;
    margin-left: 0;
    max-width: 70%;
    overflow: hidden;
    padding-left: 232px;
    width: 100%;
  }
  #contentwrapper {
    margin: 0;
    padding: 0;
    width: 98%;
  }
  div#nav_holder {
    max-width: 100%;
    width: 100%;
  }
  .titleinner {
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 252px;
  }
  div#nav_wrapper {
    left: 23px;
  }
  #title h1.notopimage {
      margin-left: 0;
  }
  #title ul#breadcrumbs {
    margin-left: 0;      
  }
  #content {
    box-sizing: border-box;      
    max-width: 100%;
    padding: 12px 0px 46px 252px;
    width: 100%;
  }
}

@media only screen and (min-width: 701px) and (max-width: 768px) {
   div#nav_holder {
    left: 0;
   }
   #title h1.notopimage {
     max-width: 100%;
   }
   #wrapper {
     width: 100%;
    }
}


/* iPad landscape > */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
	body.frontpage #title h1.notopimage {
		max-width: 650px;
	}
    body.frontpage #content .grid4 .grid1,
    .features article {
        width: 150px;
        margin-right: 16px;
    }
    body.frontpage .feature-box-container,
    .features {
        background-size: 100%;
    }
    body.frontpage #content .grid4 .grid_third.feature-box {
        width: 184px;
        min-height: 205px;
    }
    body.frontpage .feature-box:hover:after {
        left: 27%;
    }
    .news article .articletext {
        width: auto;
        float: none;
    }
    body.frontpage #content .grid2 {
        width: 100%;
    }
    body.frontpage #content .grid4 .grid1 img {
        max-width: 100%;
    }
    #features {
        width: 650px;
        margin: 0px 0px 0px 232px;
    }
}

@media only screen and (max-width: 1024px) {
    #wrapper {
        background-position: right -100px top 0;
    }
    #title h1 {
        padding-top: 250px;
        font-size: 46px;
/*         background-size: 210px; */
    }
}
@media only screen and (max-width: 930px) {
    #title h1 {
        background-size: 230px;
    }
}

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

Portrait tablet ^

********/

@media only screen and (max-width: 768px) {
/* 	#wrapper {
        background-position: -400px 0;
    } */
    body.frontpage #title h1 {
		width: auto;
	}
/*     #title h1.notopimage {
        background-position: 0 200px;
        background-size: 350px;
        max-width: 100%;
    } */
    body.frontpage {
        background: none;    
    }
	body.frontpage #content {
        padding-top: 0;
    }
    body.frontpage #content h2 {
        font-size: 30px;
    }
    body.frontpage #content .grid4 .grid_third.feature-box {
		width: 62.5%;
	}
    body.frontpage #content .grid4 .grid_third.feature-box:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;                                
    }
    #features .features {
        margin-bottom: 42px;
        margin-left: 232px;
    }
    .news article .articletext {
        width: 100%;
        float: none;
    }
    body.frontpage .feature-box-container,
    .features {
        background-size: 100%;
    }
    body.frontpage #content h3 {
        padding-bottom: 7px;
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.frontpage #right {
		border-top: none;
		width: 186px;
	}
}


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


@media only screen and (max-width: 700px) {                         
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
/*         background-position: -250px 0; */
        background-repeat: repeat-x;
        background-size: 900px;
        width: 100%;
    }
    .titleinner {
        width: 92%;
    }
    #title h1.notopimage {
        background-position: 0 30px;
        font-size: 40px;
        margin-left: 0;
        padding-top: 220px;
        width: 100%;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    #content {
        max-width: 97%;
    }
    #content h2 {
        font-size: 30px;
    }
    body.frontpage #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.frontpage #content img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    body.frontpage #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    #features .features {
        margin-left: 0px;
    }
    body.frontpage #content .grid4 .grid_third.feature-box {
        width: auto;
        max-width: 350px;
    }
    .titleinner .line-sep {
        margin-left: 0px;
    }
    .OTAGO070061 #content img {
        float: none;
        max-width: 100%;
    }
    body.OTAGO051667 #content h2+p img {
        max-width: 30%;
        padding-left: 15px;
        float: right;
    }
}

@media only screen and (max-width: 580px) {
    #wrapper {
        background-size: 660px;
        background-position: right -70px top 0;
    }
    #title h1.notopimage {
        background-size: 200px;
        padding-top: 140px;
/*         background-position: 0 20px; */
    }
}

@media only screen and (max-width: 465px) {
    #wrapper {
        background-size: 630px;
        background-position: right -130px top 5px;
    }
    #title h1.notopimage {
        font-size: 35px;
        padding-top: 140px;
        background-position: 0 15px;
    }
    #content h2,
    body.frontpage #content h2{
        font-size: 28px;
    }
}