/*! 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; }

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

College of Education CSS

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

body {
  background: url(gfx/background-2022.png) repeat-x 0 0;
}
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;
}
#wrapper {
  background: url(gfx/banner-2022.jpg) no-repeat right 0;
}

:root {
  --first-color: #8caaad;
  --second-color: #e4ab6e;
  --third-color: #8caaad;
  --fourth-color: #e4ab6e;
  --fifth-color: #e4ab6e;
  --otago-dark-blue: #163568;
  --otago-light-blue: #00508f;
  --otago-link-blue: #416ebf;
  --otago-yellow: #f9c013;
  --otago-pg-blue: #0c385a;
  --otago-light-grey: #888888;
  --otago-dark-grey: #555555;
  --otago-background-grey1: #f5f5f5;
  --otago-background-grey2: #f1f1f7;
  --otago-background-grey3: #dddddd;
}


#title h1,
body.frontpage #title h1  {
  background: url(gfx/title-2022.png) 15px 75px no-repeat;
  background-size: 185px;
  color: var(--first-color);
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 60px;
  font-variant-ligatures: normal;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
  padding: 390px 43px 21px 23px;
  position: static;
  opacity: 1;
  text-rendering: optimizeLegibility;
}
/* #title h1.notopimage {
    max-width: 650px;
} */
.titleinner img {
  display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
/* #content h2 {
    border: 0;
    font-family: 'Amsi pro condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.15;
    margin-top: 28px;
    padding-bottom: 7px;
    text-rendering: optimizeLegibility;
}
#content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: bold;
    line-height: 1.4;
} */
#content h2 {
      border-bottom: none;
      color: var(--second-color);
      font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 42px;
      font-weight: 300;
      line-height: 1.25;
/*! padding-bottom: 10px; */
      text-rendering: optimizeLegibility;
}
#content h3 {
      color: var(--third-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 23px;
      line-height: 1.3;
      margin-top: 21px;
}
#content h4 {
      color: var(--fourth-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 20px;
      letter-spacing: .4px;
      line-height: 1.3;
      margin-top: 21px;
}
#content h5 {
      color: var(--fifth-color);
      font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
      font-size: 19px;
      letter-spacing: .4px;
      line-height: 1.3;
      margin-top: 21px;
}
#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;
    font-size: 16px;
    line-height: 1.55;
}
#content table td p,
#content table td{
	font-size: 14px;
	line-height: 1.4;
}
#content table th {
	font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
	font-size: 18px;
	padding-bottom: 12px;
	padding-top: 12px;
	color: var(--first-color);
    background-color: var(--otago-background-grey2);
}
#content table td em {
    font-style: normal;
}
#right {
  background: none;
}
ul#social_media {
  padding-bottom: 100px;
}
.OTAGO022556 #content table th:nth-last-of-type(2n) {
  width: 60%;
}
/* .OTAGO022556 #content table th {
  font-size: 12px;
} */
.n1552 .smalltag img {
  float: right;
}
body.n6507 #content h1 {
  display: none;
}
#content p.caption_232, #content p.caption232, #content p.caption226 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}

#content,
#title h1.notopimage {
  max-width: 882px;
  position: relative;
  width: 100%;
}
#content p.fullwidthimage img,
#content p img,
#content h3 img{
    border: none;
}

#content ul,
#content ul li,
#right ul li {
	list-style-image: url(/_assets/_gfx/arrow-pale-green-forward.svg);
	list-style-position: outside;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 16px;
    padding-bottom: 10px;
    list-style-position: outside;
    margin-left: 7px;
}
#content ol li {
    font-size: 16px;
    padding-bottom: 10px;
}
#content .grid-third ul {
  margin-left: 22px;
}
#content ol li::marker  {
	color: grey;
	font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-size: 18px;
}
#content ol li {
	padding-left: 4px;
	margin-left: -7px
}
#content ol li ul li {
	padding-left: 4px;
	margin-left: 0px;
}
#content ul.pagesubnav li a {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
#content ul.pagesubnav li {
    list-style-position: outside;
    margin-left: 10px;
    padding-left: 5px;
}
#content ul.pagesubnav {
   background-color: var(--otago-background-grey2);
   border: solid var(--otago-background-grey3) .5px;
}
#content ul.pagesubnav strong {
    color: var(--first-color);
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 18px;
    letter-spacing: .4px;
}
#right {
    background: none;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: 232px;
    width: 100%;
}
#right .rightcontentwysiwyg {
    background-color: #f2f2f2;
    padding: 20px 20px 20px 30px;
    border-radius: 5px;
}
#right h2 {
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 20px;
    letter-spacing: 0.01em;
    padding-bottom: 10px;
    text-transform: none;
}
body.OTAGO839707 p.disclaimer,
body.OTAGO839695 p.disclaimer {
    display: none;
}

body.OTAGO839707 #content p.content-button {
    margin-top: 60px;
    padding-bottom: 60px;
    border-bottom: 4px dotted #dddddd;
}
body.OTAGO839707 #content p.content-button a {
    font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
    font-size: 21px;
    padding-bottom: 9px;
    border-radius: 30px;
}




/*----------------------------

FRONTPAGE

----------------------------*/

/* body.frontpage #title h1 {
    font-size: 51px;
    margin-bottom: 14px;
} */
body.frontpage #title h1.notopimage {
    max-width: 882px;
}
body.frontpage #content.otgx {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
}
#content.otgx .grid-third {
    box-sizing: border-box;
    float: left;
    margin-bottom: 46px;
    margin-right: 5%;
    margin-top: 21px;
    width: 30%;
}
body.frontpage #content .grid-third:not(:last-of-type) {
    margin-right: 5%;
    width: 21.2%;
}
body.frontpage #content .grid-third:nth-of-type(5) {
    margin-right: 0;
}
#content.otgx .grid-third.shadow-box {
    border-radius: 3px;
    border: 1px solid #dddddd;
    box-shadow: 0 5px 20px #f5f5f5;
    padding-bottom: 14px;
}
#content.otgx .grid-third.shadow-box h2,
#content.otgx .grid-third.shadow-box p {
    font-size: 13px;
    margin-left: 14px;
    margin-right: 14px;
}
#content.otgx .grid-third.shadow-box p:first-of-type {
    margin-left: 0;
    margin-right: 0;
}
#content.otgx .grid-third.shadow-box h2 {
    color: #163568;
    font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 21px;

    font-size: 27px;
    position: relative;
}
#content.otgx .grid-third.shadow-box h2:after {
    content: '';
    width: 40px;
    height: 3px;
    background: #f9c000;
    position: absolute;
    left: 0;
    bottom: -9px;
}
#content.otgx .grid-third:nth-of-type(3n+1) {
    margin-right: 0;
}
#content.otgx .grid-third img {
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 2px 2px 0 0;
    padding: 0;
    margin: 0;
}
#content.otgx .grid-third.news-region h2,
#content.otgx .grid-third.events-region h2,
#content.otgx .grid-third.profile-region h2 {
    font-family: 'Amsi pro condlight', Helvetica, Arial, Geneva, sans-serif;
    border-bottom: none;
    margin-bottom: 7px;
}
#content.otgx .grid-third.news-region h2 {
    background: url(gfx/news.svg) no-repeat right 5px;
    background-size: 20px;
}
#content.otgx .grid-third.events-region h2 {
    background: url(gfx/calendar.svg) no-repeat right 4px;
    background-size: 20px;
}
#content.otgx .grid-third.profile-region h2 {
    background: url(gfx/profile.svg) no-repeat right 2px;
    background-size: 24px;
}
#content.otgx .grid-third.news-region h3,
#content.otgx .grid-third.events-region h3,
#content.otgx .grid-third.profile-region h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    font-size: 15px;
}
#content.otgx .grid-third.profile-region article > a {
    border-bottom: none;
}
#content.otgx .grid-third .smalltag {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-style: normal;
    line-height: 1.5
}
body.frontpage #content ul li {
    list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
    margin-bottom: 7px;
    margin-left: 5px;
    margin-right: 14px;
}
body.frontpage #right p,
body.frontpage #right ul {
    border-bottom: none;
}
body.frontpage .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description{
    width: 22%;
    margin-right:0;
}
body.frontpage .tile-box-shadow-container {
    justify-content: space-between;
    margin-top: 15px;
}
body.frontpage #content .tile-box-shadow-container h2 {
      border-bottom: none;
      color: var(--first-color);
      font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
      font-size: 26px;
      font-weight: 300;
      line-height: 1.15;
      padding-bottom: 15px;
      text-rendering: optimizeLegibility;
}
body.frontpage .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description:hover {
    box-shadow: 0 15px 10px rgba(0,0,0,0.1),
              0 25px 18px rgba(0,0,0,0.02);
    transform: translateY(-3px);
    transition: all 0.3s ease-out;
}
body.frontpage .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description {
      background-color: #ffffff;
      border: 1px solid #dddddd;
      border-radius: 6px;
      box-shadow: 0 4px 4px rgba(0,0,0,0.05),
                  0 15px 14px rgba(0,0,0,0.03);
      box-sizing: border-box;
      margin-bottom: 46px;
      transform: translateY(0px);
      transition: all 0.3s ease-out;
}

/* Education Support Services

body.OTAGO022561 #content .grid1 {
    box-shadow: 0 0 6px #f0f0f0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
    box-sizing: border-box;
    min-height: 225px;
    margin-bottom: 35px;
}
body.OTAGO022561 #content .grid1:nth-of-type(3n) {
    margin-right: 0;
}
body.OTAGO022561 #content .grid1:hover {
    box-shadow: 0px 0px 0 7px #ffffff, 0 0 0px 8px #dddddd;
    border: 1px solid #fff;
    border-radius: 0px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
body.OTAGO022561 #content .grid1 a {
    float: left;
    border-bottom: none;
}
body.OTAGO022561 #content .grid1 img {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid #e9e9e9;
}
body.OTAGO022561 #content .grid1 h3 {
    float: left;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    text-align: center;
    padding: 0 14px;
    width: 100%;
    box-sizing: border-box;
}

*/

/* Education Support Services - Client revision #3 (always make sure they sign shit off) */

body.OTAGO022561 #content.otgx {
    width: 100%;
    max-width: 882px;
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
}
body.OTAGO022561 #content .grid1 {
    border: 1px solid #dddddd;
    border-radius: 3px;
    box-shadow: 0 10px 20px #f5f5f5;
    box-sizing: border-box;
    margin-bottom: 46px;
    margin-right: 5%;
    padding: 14px 14px 28px 14px;
    transition: all 0.3s ease;
    width: 30%;
}
body.OTAGO022561 #content .grid1:nth-of-type(3n+1) {
    margin-right: 0;
}
body.OTAGO022561 #content .grid1:hover {
    box-shadow: 0 0 2px #e4e4e4;
    border: 1px solid #cccccc;
}
body.OTAGO022561 #content .grid1 h2 {
    border-bottom: none;
    font-family: 'Amsi pro condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
}
body.OTAGO022561 #content a:hover {
    border-bottom: none;
}
body.OTAGO022561 .teaching-learning-box a,
body.OTAGO022561 .partner-box a,
body.OTAGO022561 .mentor-box a,
body.OTAGO022561 .workshop-box a,
body.OTAGO022561 .facilitators-box a,
body.OTAGO022561 .school-leavers-box a {
    padding-top: 114px;
    display: block;
}
body.OTAGO022561 .teaching-learning-box a { background: url(gfx/teaching-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 .partner-box a { background: url(gfx/partner-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 .mentor-box a { background: url(gfx/mentor-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 .workshop-box a { background: url(gfx/workshop-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 .facilitators-box a { background: url(gfx/facilitators-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 .school-leavers-box a { background: url(gfx/icons/graduate-icon.png) no-repeat center 0; background-size: 100px; }
body.OTAGO022561 #right {
    padding-left: 0;
    background: none;
}
body.OTAGO022561 #box8 {
    margin-top: 35px;
}

/* More icons */

body.OTAGO039670 #content .grid-container {
    display: flex;
    flex-wrap: wrap;
}
body.OTAGO039670 #content .grid-third {
    border: 1px solid #dddddd;
    border-radius: 3px;
    box-shadow: 0 3px 5px #e4e4e4, 0 20px 20px #f9f9f9;
    box-sizing: border-box;
    margin-bottom: 35px;
    margin-right: 5.3%;
    padding: 14px 14px 21px 14px;
    transition: all 0.3s ease;
    width: 29.8%;
}
body.OTAGO039670 #content .grid-third:hover {
    box-shadow: 0 0px 0px #e4e4e4, 0 5px 5px #f9f9f9;
}
body.OTAGO039670 #content .grid-third h3 {
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 22px;
    line-height: 1.1;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
}
body.OTAGO039670 #content .grid-third h3 a {
    border-bottom: none;
}
body.OTAGO039670 #content .grid-third h3 a:hover {
    border-bottom: none;
}
body.OTAGO039670 #content .grid-third:nth-of-type(3n) {
    margin-right: 0;
}
body.OTAGO039670 .english-medium a,
body.OTAGO039670 .maori-medium a,
body.OTAGO039670 .overseas-trained-teachers a,
body.OTAGO039670 .online-support a,
body.OTAGO039670 .facilitators a {
    padding-top: 0;
    display: block;
}
body.OTAGO039670 #content .grid-third img {
    border: none;
    margin: 7px 0 7px 0;
    max-width: 60%;
}



@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-2022@2x.png);
      background-size: 185px;
    }
}



/* Tablet styles */

@media only screen and (max-width: 1300px){
    #wrapper {
      background-position: right -150px top 0;
    }
}
@media only screen and (max-width: 1050px){
    #wrapper {
        background-size: 1200px;
    }
    body{
        background: none;
    }
    #title h1,
    body.frontpage #title h1 {
        background-size: 150px;
        background-position: 0px 60px;
        padding: 300px 0 21px;
        font-size: 45px;
    }
}

@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: 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: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
    body.frontpage #content.otgx .grid-third h2 {
        font-size: 20px;
    }

    /* Education Support Services */

    body.OTAGO022561 #content.otgx {
        width: 650px;
    }
    body.OTAGO022561 #content.otgx .grid1 h2 {
        padding: 7px;
    }
    body.OTAGO022561 #content.otgx .grid1 h2 {
        font-size: 15px;
    }
    body.OTAGO022561 .grid1 a {
        background-size: 90px;
        padding-top: 107px;
    }
    /* SLD */
    body.OTAGO022561 #content.otgx {
        max-width: 650px;
    }
}

@media only screen and (max-width: 1000px){
    body.frontpage #content .tile-box-shadow-container h2{
       font-size: 21px;
    }
}

@media only screen and (max-width: 875px){
    #wrapper {
        background-size: 1000px;
    }
    #title h1,
    body.frontpage #title h1 {
        background-size: 120px;
        background-position: 15px 40px;
        padding-top: 250px;
        font-size: 37px;
    }
     body.frontpage #content .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description{
       width: 47%;
    }
}


@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    body.frontpage #content.otgx .grid-third {
        width: 100%;
        margin-bottom: 14px;
        margin-right: 0;
    }
/*     body.frontpage #content.otgx .grid-third img {
        width: auto;
        max-width: 186px;
        margin: 14px;
        float: right;
    } */
    body.frontpage #content.otgx .grid-third {
        width: 45%;
    }
    body.frontpage #content.otgx .grid-third:nth-of-type(2n) {
        margin-right: 5%;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }

    /* Education Support Services */

    body.OTAGO022561 #content.otgx {
        width: 418px;
    }
    body.OTAGO022561 #content.otgx .grid1 {
        width: 47.3%;
        margin-bottom: 23px;
    }
    body.OTAGO022561 #content.otgx .grid1:nth-of-type(3n+1) {
        margin-right: 5%;
    }
    body.OTAGO022561 #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    /* SLD */
    body.OTAGO022561 #content.otgx {
        max-width: 418px;
    }
    body.OTAGO022561 #content .grid1-content {
        width: 47.3%;
    }
    body.OTAGO022561 #content .grid1-content:nth-of-type(2n) {
        margin-right: 0;
    }
    #right {
        border-top: 1px solid #e4e4e4;
    }

}

@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%;
    }
}


/* Mobile styles */

@media only screen and (max-width: 700px) {
/*     body,
    body.frontpage {
        background: none;
    }
    #wrapper,
    body.frontpage #wrapper {
        background-image: url(gfx/banner.jpg);
        background-size: 1200px;
        background-position: -200px 0;
        width: 100%;
    }
    .titleinner,
    body.frontpage .titleinner {
        width: 100%;
        box-sizing: border-box;
    }
    #title h1,
    body.frontpage #title h1 {
        padding: 200px 4% 14px 4%;
        background-position: 21px 50px;
        background-size: 240px;
        font-size: 40px;
    } */
   
    #title h1,
    body.frontpage #title h1 {
        background-size: 120px;
        background-position: 0 40px;
        padding: 230px 0 20px 0;
        font-size: 34px;
    }
    #content h2 {
        font-size: 27px;
        margin-bottom: 0;
    }
    #content h3 {
        font-size: 20px;
    }
    #title ul#breadcrumbs {
        margin-left: 4%;
    }
    body.frontpage #content.otgx {
        max-width: 97%;
    }
    #content p.caption232 img {
        float: none;
        width: 100%;
        max-width: 100%;
    }
    #content iframe {
        width: 100%;
        height: auto;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
    #content img {
        box-sizing: border-box;
    }
    
    body.OTAGO039670 #content .grid-third img {
        float: none;
        margin-left: 0;
        max-width: 80%;
    }

    /* Education Support Services */

    body.OTAGO022561 #content.otgx {
        max-width: 97%;
        width: 100%;
    }
    body.OTAGO022561 #content.otgx .grid1 {
        margin-right: 4%;
        width: 47.9%;
    }
    body.OTAGO022561 #content.otgx .grid1:nth-of-type(3n+1) {
        margin-right: 4%;
    }
    body.OTAGO022561 #content.otgx .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.OTAGO022561 #content.otgx .grid1 h2 {
        font-size: 17px;
        hyphens: auto;
    }
    /* SLD */
    body.OTAGO022561 #content.otgx {
        max-width: 97%;
        padding-top: 28px;
    }
    body.OTAGO022561 #content .grid1-content {
        margin-bottom: 21px;
    }
    #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-size: 15px;
        line-height: 1.5;
    }
    #right {
        border-top: 0;
    }
    #right {
        padding-left: 0px;
	    width: 97%
    }
        #content {
        width: 97%;
    }
#content img, #content p img {
        float: none;
        margin-left: 0;
        max-width: 100%;
    }
}

@media only screen and (max-width: 550px){
    #wrapper {
        background-size: 800px;
        background-position: right -80px top 0;
    }
    #title h1,
    body.frontpage #title h1 {
        background-size: 100px;
        background-position: 0 10px;
        padding-top: 175px;
        font-size: 33px;
    }
    #content table tr td a {
        word-wrap: break-word;
        font-size: 13px;
    }
}

@media only screen and (max-width: 460px) {
    #wrapper {
        background-size: 700px;
        background-position: right -125px top 0;
    }
    #title h1,
    body.frontpage #title h1 {
        background-position: 0 0px;
        padding-top: 150px;
        font-size: 30px;
    }
}




@media only screen and (max-width: 400px) {
    body.frontpage #content.otgx .grid-third img {
        max-width: 100%;
        width: 100%;
        float: none;
        margin: 0;
        border-radius: 2px 2px 0 0;
    }
    .OTAGO039670 #content .grid-container .grid-third {
        margin-bottom: 21px;
        margin-right: 5%;
        width: 47%;
    }
    .OTAGO039670 #content .grid-container .grid-third:nth-of-type(3n) {
        margin-right: 5%;
    }
    .OTAGO039670 #content .grid-container .grid-third:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description{
       margin-bottom: 20px;
    }
    body.frontpage #content .tile-box-shadow-container .tile-box-shadow-thumbnail-no-description h2{
        font-size: 19px;    }
}
