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

/*********

Course Advice CSS

*********/

body {
  background: url(gfx/background-2020.png) 0 0 repeat-x;
}
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-2020.jpg) right 0px no-repeat;
}
.titleinner img {
  display: none;
}
#title h1 {
  background: url(gfx/title-2020.png) 0 100px no-repeat;
  color: #163568;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
	font-size: 60px;
  -webkit-font-variant-ligatures: normal;
  font-variant-ligatures: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
	line-height: 1.05;
	margin: 0 0 0 23px;
  opacity: 1;
  padding: 360px 0 21px 0px;
  position: static;
	max-width: 627px;
  text-rendering: optimizeLegibility;
}
#title h1.notopimage {
  margin-bottom: 0px;
}
#content h2 {
    border-bottom: none;
    color: #333333;
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 28px 0;
    text-rendering: optimizeLegibility;
}
#content p + h2,
#content table + h2,
#content ul + h2,
#content ol + h2,
#content dl + h2,
#content form + h2,
#content div + 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,
#content button,
#content .content-button a,
#right p,
#right li,
#right input {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
#content table td,
#content table td p {
 font-size: 15px;
 line-height: 1.6;
}
#content th,
#content td,
#right p,
#right li {
 font-size: 13px;
}
#right p,
#right ul {
 margin-bottom: 14px;
}
#content {
  box-sizing: border-box;
  width: 100%;
}
#content a {
  transition: all 0.3s ease-out;
}
#content .content-button a {
  font-weight: 700;
}
#content .content-button.content-next a {
  line-height: 1.4;
  margin-bottom: 21px;
  margin-top: 21px;
  padding-left: 14px;
  padding-right: 35px;
}
#content .content-button.content-next a:hover {
  box-shadow: -2px -2px 0px #e4e4e4;
}
p {
  line-height: 1.5;
}
#content ul li {
  margin-bottom: 7px;
}
#content h3 {
    color: #163568;
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    margin-top: 28px;
}
#content p img {
    border: 0;
    padding: 0;
}
#content p.fullwidthimage {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}
#right {
    background-image: none;
}
#content .notice {
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-top: 21px;
    padding-bottom: 21px;
    padding-top: 14px;
}
.no-margin {
  margin-bottom: 0px !important;
}
.grid2.topmargin {
	margin-top: 48px;
}
body.frontpage #content .grid_third {
  margin-right: 46px;
  width: 263px;
}
body.frontpage #content .grid_third:nth-of-type(3n) {
  margin-right: 0px;
}
body.frontpage #content .intro {
  margin-top: 21px;
}
body.frontpage #content .intro p,
body.frontpage #content .intro li {
  font-size: 16px;
}
#content p img {
    border: 0;
    padding: 0;
}

/*========

Slider styles

========*/

.slideup, .slidedown {
  max-height: 0;
  overflow-y: hidden;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.slideup {
  opacity: 0;
}
.slidedown {
  opacity: 1;
}
#content .grid4 {
  min-height: 0;
}

body.frontpage #content ul {
    list-style-image: url(/_assets/_gfx/arrow-yellow-forward.svg);
}
body.frontpage #content ul li {
    margin-bottom: 14px;
}

/* //////////// Hide Mobile Buttons /////////////// */
.mobile {
	display: none;
}

/* //////////// Tab Information /////////////// */
#content .tab-info {
    text-align: center !important;
    color: #626262;
    font-size: 12px !important;
    line-height: 18px !important;
    padding: 7px 21px;
    font-style: italic;
    transition: all 0.3s ease-in;
}
#content .tabs:hover .tab-info {
    color: #ffffff !important;
    transition: all 0.3s ease-in;
}
#content .tabs-big:hover .tab-info {
    color: #ffffff !important;
    transition: all 0.3s ease-in;
}

/* //////////// Tab Numbers /////////////// */
#content .tab-number-container {
    width: 55px;
    height: 55px;
    border-radius: 50px;
    background-color: #ffffff;
    border: 1px solid #dadada;
    text-align: center;
    font-size: 28px !important;
    color: #b3b3b3;
    margin: 0 auto;
    margin-top: -29px;
    margin-bottom: -29px;
    z-index: 9;
    transition: all 0.3s ease-in;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
#content .tab-number {
    padding-top: 17px;
}
#content .tabs:hover .tab-number-container {
    border: 1px solid #4484eb;
    color: #4484eb !important;
    transition: all 0.3s ease-in;
}

/* //////////// Tabs /////////////// */
#content .tabs {
    /*width: 263px;*/
    height: 210px;
    font-size: 30px !important;
    font-weight: 300;
    border: 1px solid #dadada;
    text-align: center !important;
    transition: all 0.5s;
    cursor: pointer;
    margin-top: 35px;
    margin-bottom: 35px;
}
#content .tabs:hover {
    background-color: #1a8bf5;
    color: #ffffff !important;
    border: 1px solid #0e62ea;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in;
}


.OTAGO705512 #content #box4 {
  display: flex;
  flex-wrap: wrap;
}
.OTAGO705512 #content .grid1 {
  border: 1px solid #dddddd;
  border-radius: 3px;
  box-sizing: border-box;
  margin-bottom: 46px;
  margin-right: 5.3%;
  width: 21%;
}
.OTAGO705512 #content .grid1:nth-of-type(4n) {
  margin-right: 0;
}
.OTAGO705512 #content .grid1 img {
  border: 2px 2px 0 0;
}
.OTAGO705512 #content .grid1 h4 {
  font-family: 'Amsi Pro Condbold', Helvetica, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.1;
  margin: 14px 14px 14px 14px;
}
.OTAGO705512 #content .grid1 h4:before {
  background: #f9c000;
  content: '';
  display: block;
  height: 3px;
  margin-bottom: 7px;
  width: 37px;
}
.OTAGO705512 #content .feature-box {
  display: none;
}
.OTAGO705512 #content h2 {
  margin-bottom: 21px;
  margin-top: 0; 
}

.OTAGO705512 #content #box1,
.OTAGO705512 #content #box2 {
  display: none;
}
.OTAGO705512 #content #box3 {
  width: 100%;
}

body.frontpage #content .course-advice-content h3,
body.frontpage #content .course-plan-content h3,
body.frontpage #content .course-event-content h3 {
    padding-top: 21px;
}
body.frontpage #content .course-event-content article:nth-of-type(2n){
	margin-right: 0;
}
body.frontpage #content .course-event-content article h3 {
	margin-bottom: 0;
	font-size: 18px;
	line-height: 1.3;
	background: url(/_assets/_gfx/calendar-icon.png) no-repeat -39px -6px;
	padding-left: 25px;
    padding-bottom: 0;
}
body.frontpage #content .course-event-content p.smalltag {
	color: #999999;
	margin-bottom: 0;
	padding-left: 25px;
}
.tabs:hover.line-sep {
  background-color: #f9c000 !important;
  transition: all 0.3s ease-in;
}
.tile {
  border: 1px solid #dadada;
  cursor: pointer;
  margin-bottom: 46px;
  transition: all 0.3s ease-in;
}

#content .grid1.tile {
  width: 184px;
}
#content a .tile p {
  color: #333333;
}
#content .grid1.tile:nth-of-type(4n) {
  margin-right: 0;
}
#content .grid1.tile:nth-of-type(4n+1) {
clear: left;
}
#content .grid1.tile img {
  width: 100%;
}
#content .grid1.tile h3 {
  color: #1a8bf5;
  padding-left: 14px;
  padding-right: 14px;
}
#content .grid1.tile p {
  padding-left: 14px;
  padding-right: 14px;
}
.secondary-tile-block {
  overflow: hidden;
}
.tile:hover {
  box-shadow: 0px 7px 14px 0px #f5f5f5;
  transition: all 0.3s ease-in;
}
.tile img {
  float: left !important;
  padding: 21px;
}
#content .image-background {
  padding: 0px;
  padding-bottom: 7px;
}
#content .title-image h3 {
  color: #416ebf;
  font-size: 18px;
  margin-top: 8px;
}
#content h2.tile-header,
body.frontpage #content h2.tile-header {
  font-size: 21px;
  color: #416ebf;
  font-weight: 300;
  margin-top: 14px;
  margin-bottom: 0;
  background: url(gfx/title-stroke-grey.png) no-repeat 167px bottom;
  padding-bottom: 21px;
  margin-bottom: 21px;
}
#content .grid2 h2.tile-header {
  padding-right: 14px;
}
.tile .line-sep {
   background-color: #e4e4e4;
   margin: 7px 0px;
   transition: all 0.3s ease-in;
   width: 100%;
}
.tile:hover .line-sep {
   background-color: #416ebf;
   transition: all 0.3s;
}
.tile-info {
   padding: 21px;
   color: #626262;
   padding-top: 7px;
}
.grid2 p.tile-text {
    padding-right: 14px;
}
.group-photo {
    margin-right: 0px !important;
}

.right {
    margin-right: 0px !important;
}

/* //////////// Planning your study - Staff profile styles /////////////// */
.OTAGO081032 #content .slidedown > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.no-flexbox body.OTAGO081032 #content .staff-profile.full-width-grid .staff-profile.grid_third {
    min-height: 170px;
}
body.OTAGO081032 .staff-profile.full-width-grid {
    background: #fbfbfb;
    border: 1px solid #dddddd;
    margin-bottom: 35px;
    box-sizing: border-box;
}
#content .course-category-content h3 {
    width: 100%;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-info {
    border-bottom: none;
    width: 47%;
    height: auto;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .picture-container {
    width: 38.2%;
    height: auto;
    margin-bottom: 0;
    padding: 0;
    margin-right: 7px;

}
body.OTAGO081032 #content .staff-profile.full-width-grid .picture-container img {
    width: 100%;
    margin-top: 7px;
}
body.OTAGO081032 #content .staff-profile.full-width-grid > .staff-contact {
    width: 100%;
    border-top: none;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 21px;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-bio {
    padding-top: 0;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-bio p {
    font-size: 13px;
}
body.OTAGO081032 #content .staff-profile.full-width-grid h3 {
    padding-bottom: 7px;
    color: #333333;
}
body.OTAGO081032 #content .staff-profile.full-width-grid h4 {
    line-height: 1.4;
    color: #888888;
}
body.OTAGO081032 #content .staff-profile.full-width-grid {
    display: flex;
    flex-wrap: wrap;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-profile.grid_third {
    background: #ffffff;
    width: 28.8%;
    margin-right: 4%;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .grid_third:nth-of-type(3n+1) {
    margin-left: 2.5%;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .grid_third:nth-of-type(3n+3) {
    margin-right: 0;
}
#content .staff-profiles-container .grid_third:nth-of-type(3n) {
    margin-right: 0;
}
body.OTAGO081032 #content .staff-profile:nth-of-type(6) {
    margin-right: 46px;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-info-nopic {
    border-bottom: none;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-bio {
    border-bottom: none;
    padding-bottom: 0;
}
body.OTAGO081032 #content .staff-profile.full-width-grid .staff-contact {
    padding-bottom: 21px;
}
/*body.OTAGO081032 #content .staff-profile:nth-of-type(7) {
    margin-right: 0;
}
body.OTAGO081032 #content .staff-profile:nth-of-type(9) {
    margin-right: 46px;
}
body.OTAGO081032 #content .staff-profile:nth-of-type(10) {
    margin-right: 0;
}*/

/* //////////// Staff Profiles /////////////// */
#content .staff-profile.grid_third {
    background-color: #fbfbfb;
    border: 1px solid #dddddd;
    width: 261px;
    margin-bottom: 35px;
}
#content .staff-profile.grid_third h3 {
    font-size: 18px;
}
#content .staff-profile.grid_third h4 {
    color: #555555;
    font-size: 13px;
}
.staff-info {
    float: left;
    padding: 14px;
    height: 138px;
    width: 102px;
    border-bottom: 1px solid #dddddd;
}
.line-sep {
    background-color: #f6bd36;
    width: 70px;
    margin-bottom: 14px;
}
.picture-container {
    float: right;
    height: 167px;
}
.staff-contact {
    float: left;
    width: 235px;
    padding: 7px 14px;
}
.staff-more {
    font-style: italic;
    font-size: 12px;
}
.staff-email,
.staff-number {
    margin-bottom: 0px !important;
    font-size: 12px !important;
}

/* //////////// No Picture Staff Profiles /////////////// */
.staff-info-nopic {
    padding: 14px;
    height: auto;
    border-bottom: 1px solid #dddddd;
}
.staff-info-nopic h4 {
    margin-bottom: 0px !important;
}
.staff-bio {
    padding: 14px;
    font-size: 12px;
    color: #626262;
    border-bottom: 1px solid #dddddd;
    height: auto;
    float: left;
}
.staff-contact-nopic {
    width: 235px;
    padding: 7px 14px;
    float: left;
}

/* //////////// Course category styles /////////////// */
#content .course-categories .grid2:nth-of-type(2n) {
    margin-right: 0;
}
#content .grid2.course-category-container {
    background-color: #fafafa;
    border: 1px solid #c8c8c8;
    padding: 21px 14px;
    width: 388px;
    margin-bottom: 35px;
    cursor: pointer;
    transition: all 0.3s ease-in;
    min-height: 80px;
}
.course-category-container:hover {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in;
}
#content h3.course-name {
    text-align: center;
    color: #1a8bf5;
}
#content .grid2.course-category-container.trigger.active {
    background: #1a8bf5;
}
#content .grid2.course-category-container.trigger.active h3.course-name,
#content .grid2.course-category-container.trigger.active p.course-description {
    color: #ffffff;
}
.course-category-container .line-sep {
    background-color: #bcbcbc;
    text-align: center;
    margin: 7px auto !important;
}
.course-description {
    text-align: center;
    font-size: 12px !important;
    font-style: italic;
    margin-bottom: 0px !important;
}

/* //////////// Icons /////////////// */
.icon-advice {
    background-image: url('gfx/icon-advice.png');
    width: 48px;
    height: 48px;
    margin: 0 auto;
    margin-top: 45px;
    transition: all 0.3s ease-in;
}
.tabs:hover .icon-advice {
    background-position: 0 -48px;
    transition: all 0.3s ease-in;
}
.icon-plan {
    background-image: url('gfx/icon-plan.png');
    width: 49px;
    height: 49px;
    margin: 0 auto;
    margin-top: 45px;
    transition: all 0.3s ease-in;
}
.tabs:hover .icon-plan {
    background-position: 0 -49px;
    transition: all 0.3s ease-in;
}
.icon-event {
    background-image: url('gfx/icon-event.png');
    width: 48px;
    height: 48px;
    margin: 0 auto;
    margin-top: 45px;
    transition: all 0.3s ease-in;
}
.tabs:hover .icon-event {
    background-position: 0 -48px;
    transition: all 0.3s ease-in;
}
.icon-advisers {
    background-image: url('gfx/icon-advisers.png');
    width: 48px;
    height: 48px;
    margin: 0 auto;
    margin-top: 45px;
    transition: all 0.3s ease-in;
}
.tabs-big:hover .icon-advisers {
    background-position: 0 -48px;
    transition: all 0.3s ease-in;
}
.icon-service {
    background-image: url('gfx/icon-service.png');
    width: 48px;
    height: 48px;
    margin: 0 auto;
    margin-top: 45px;
    transition: all 0.3s ease-in;
}
.tabs-big:hover .icon-service {
    background-position: 0 -48px;
    transition: all 0.3s ease-in;
}

/* Active styles */

.grid_third.trigger.active .tabs {
    background: #1a8bf5;
}
body.frontpage #content .grid_third.trigger.active h2.tab-text,
body.frontpage #content .grid_third.trigger.active .tab-info {
    color: #ffffff;
}
body.frontpage #content .grid_third.trigger.active .tabs .icon-advice {
    background-position: 0 -48px;
    transition: all 0.3s ease-in;
}
body.frontpage #content .grid_third.trigger.active .tabs .icon-event {
    background-position: 0 -48px;
}
body.frontpage #content .grid_third.trigger.active .tabs .icon-plan {
    background-position: 0 -49px;
}

/* //////////// Nth of type /////////////// */
#content .plan-study-page .grid1:nth-of-type(4n),
#content .support-services .grid1:nth-of-type(4n),
#content .other-support-services .grid1:nth-of-type(4n),
#content .course-category-content .grid_third:nth-of-type(3n) {
    margin-right: 0;
}

/* //////////// Fix float issue on service page /////////////// */

#content .course-category-content h3 { clear: both;
}
body.OTAGO081032 #content h2,
#content .course-category-content h3 {
    padding-bottom: 7px;
    position: relative;
}
body.OTAGO081032 #content h2 { margin-bottom: 21px; }
body.OTAGO081032 #content h2:after,
#content .course-category-content div div div h3:after {
    content: '';
    width: 57px;
    height: 2px;
    background: #f9c000;
    display: block;
    bottom: -3px;
    left: 0;
    position: absolute;
}
#content .course-category-content div div div h3:after { bottom: -1px; }
#content .course-category-content h3 { width: 100%; }

/* //////////// Stuff /////////////// */
.profile {
    padding: 21px;
    margin-bottom: 28px;
    background-color: #fcfcfc;
    border: 1px solid #dadada;
    width: 606px !important;
}
.profile img {
    float: right;
    margin-top: 50px;
    padding-left: 21px;
}

/* //////////// Metadata Box /////////////// */

body.frontpage #right,
body.OTAGO081033 #right,
body.OTAGO081032 #right {
    float: none !important;
    padding: 0;
    margin-top: 14px;
    position: absolute;
}
body.frontpage #pagemetadata,
body.OTAGO081033 #pagemetadata,
body.OTAGO081032 #pagemetadata {
    clear: both;
}
body.OTAGO081033 #right,
body.OTAGO081032 #right {
    padding: 0px;
}

/*==========

Form styles

==========*/

#content form fieldset {
    background: #ffffff;
    padding: 28px 43px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    margin: 14px 0 21px 0px;
    box-shadow: 0 0 14px #f1f1f1;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    display: block;
       width: 100%;
}
#content form fieldset fieldset.leftright {
    box-shadow: none;
}
#content form fieldset legend {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    font-size: 22px;
    display: block !important;
    float: none;
    padding: 10px;
    padding: 0;
    background: #ffffff;
}
#content form fieldset fieldset.leftright legend {
    width: 200px;
    font-weight: normal;
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 14px 0;
}
#content form fieldset label {
    float: none;
    font-size: 15px;
    line-height: 1.4;
    width: 100%;
    margin: 0 0 7px 0;
    padding: 0px 0 0 0;
    font-weight: normal;
    min-height: 21px;
    box-sizing: border-box;
}
#content input {
    width: 95%;
    line-height: 1.3;
    min-height: 10px;
    margin: 0 0 21px 0;
    padding: 5px 5px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    background: #f9f9f9;
}
#content input:focus {
    background: #ffffff;
    box-shadow: 0 0 10px #f1f1f1;
}
#content input[type=radio] {
    margin-top: 4px;
    margin-right: 0;
}
#content form fieldset fieldset.leftright label {
    margin-right: 21px;
    width: auto;
}
#content textarea {
    width: 95%;
    background: #f9f9f9;
    padding: 0 5px;
    margin: 0 0 10px 0;
    border: 1px solid #dddddd;
    height: 70px;
}
#content select {
    width: 97%;
    height: 25px;
    border: 1px solid #dddddd;
    margin: 0 0 14px 0;
}
#content input[type=email] {
    min-height: 10px;
}
#content input[required] {
    border: 1px solid #dddddd;
}
#content form button.submit {
    width: auto;
    text-align: center;
    padding: 5px 25px 5px 35px;
    float: right;
    margin: 0 0 14px 0;
    transition: all 0.3s ease-in;
    background: url(/_assets/_gfx/button-sprite.png) no-repeat -57px -246px #86b239;
}
#content form button.submit:hover {
    background: url(/_assets/_gfx/button-sprite.png) no-repeat -57px -246px #799933;
}
#content form .help {
    width: 46px;
    top: -46px !important;
    left: 548px;
}
#content form .help a {
    background: url(/_assets/_gfx/button-sprite.png) 331px -307px #ffcd23;
    padding: 5px 2px 6px 22px;
    border-radius: 2px;
    border: 1px solid #e2b417;
    color: #555555;
    transition: all 0.3s ease-in;
}

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




body.frontpage #title h1.notopimage {
	
  max-width: 100%;
}
body.frontpage #content hr {
  border-top: 5px dotted #dddddd;
  margin: 42px 0 28px 0;
  padding: 0;
}
body.frontpage #content {
  margin-bottom: 21px;
  margin-top: 0;
  min-height: 250px;
  padding-bottom: 0px;
  padding-top: 0;
}
.features.news h2 {
  font-size: 33px;
  color: #555553;
  line-height: 1.35;
	margin: 21px 0 21px 0;
  text-rendering: optimizeLegibility;
}
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(3n) {
    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 .arrow a {
    /* background: url(gfx/arrow.png) no-repeat 0 3px;
    padding-left: 14px; */
    font-size: 14px;
}
body.frontpage #content h2 a,
body.frontpage #content h3 a {
    border-bottom: none;
}
body.frontpage #content .grid-third:nth-of-type(3n) {
    margin-right: 0;
}

/* Grid styles */

#content.parent_grid-quarter, #content.parent_grid-third, #content.parent_grid-fifth, .OTAGO000801 #content #box2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.grid-quarter, .grid-third, .grid-fifth {
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 46px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #ffffff;
  -webkit-transition: -webkit-box-shadow 0.3s ease-out;
  transition: -webkit-box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
}
.grid-quarter:hover, .grid-third:hover, .grid-fifth:hover {
  -webkit-box-shadow: 0 0 4px #e4e4e4;
  box-shadow: 0 0 4px #e4e4e4;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in;
  transition: -webkit-box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in, -webkit-box-shadow 0.3s ease-in;
}
.grid-third {
  width: 29.8%;
  margin-right: 5.3%;
  float: left;
}
.grid-quarter {
  width: 21%;
  float: left;
  margin-right: 5.3%;
}
.grid-fifth {
  width: 17.9%;
  margin-right: 2.6%;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
#content .grid-quarter h3, #content .grid-third h3, #content .grid-fifth h3 {
  margin: 0px 14px 7px 14px;
  font-family: "Amsi pro condbold", Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 23px;
  line-height: 1.15;
}
#content .grid-quarter h3:after, #content .grid-third h3:after, #content .grid-fifth h3:after {
  content: '';
  width: 37px;
  height: 3px;
  display: block;
  background: #f9c000;
  margin-top: 14px;
}
#content .grid-quarter h3 a, #content .grid-third h3 a, #content .grid-fifth h3 a {
  display: block;
}
#content .grid-quarter p, #content .grid-third p, #content .grid-fifth p {
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
}
#content .grid-quarter p, #content .grid-fifth p {
  margin-bottom: 7px;
}
#content .grid-quarter p:not(:first-child), #content .grid-third p:not(:first-child), #content .grid-fifth p:not(:first-child) {
  margin: 0px 14px 14px 14px;
}
#content .grid-quarter img, #content .grid-third img, #content .grid-fifth img {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 100%;
  width: 100%;
  border-radius: 2px 2px 0 0;
}
#content .grid-quarter a, #content .grid-third a, #content .grid-fifth a {
  border-bottom: none;
}





/* Accordion */

body.frontpage #content #box2 .slideup, .slidedown {
    max-height: 0;
    overflow-y: hidden;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
body.frontpage #content #box2 .slideup {
    opacity: 0;
}
body.frontpage #content #box2 .slidedown {
    opacity: 1;
    max-height: 3000px !important;
    padding-bottom: 21px;
}
body.frontpage #content #box2 .accordion {
  border: 1px solid #dddddd;
  margin-bottom: 55px;
  margin-top: 35px;
}
body.frontpage #content #box2 .trigger {
    padding: 14px;
    background-size: 10px;
    border-bottom: 1px solid #dddddd;
    background-color: #fcfcfc;
}
body.frontpage #content #box2 .trigger3 {
    border-bottom: none;
}
body.frontpage #content #box2 .trigger h2 {
    margin: 0;
    font-size: 22px;
    color: #626262;
    margin-left: 56px;
}
body.frontpage #content #box2 .trigger span {
    clear: both;
    font-size: 16px;
    display: block;
    margin-left: 30px;
    color: #416ebf;
}
body.frontpage #content #box2 .trigger:hover {
    background: #f1f4f8;
    cursor: pointer;
}
body.frontpage #content #box2 .trigger h2:before {
    content: '';
    transition: all 0.2s ease;
    margin-right: 14px;
    font-weight: 700;
    border: 2px solid #dadada;
    border-radius: 100%;
    padding: 4px 13px;
    color: #416ebf;
    margin-top: 5px;
    position: absolute;
    margin-left: -56px;
    height: 31px;
    padding-top: 4px;
}
body.frontpage #content #box2 .trigger1 h2:before {
    content: '1';
}
body.frontpage #content #box2 .trigger2 h2:before {
    content: '2';
}
body.frontpage #content #box2 .trigger3 h2:before {
    content: '3';
}
body.frontpage #content #box2 .trigger.active h2:before {
    content: '–';
    transition: all 0.2s ease;
    color: #4d6678;
}
body.frontpage #content #box2 .trigger h2:after {
    content: 'Show';
    display: block;
    color: #416ebf;
    font-size: 16px;
}
body.frontpage #content #box2 .trigger.active h2:after {
    content: 'Hide';
}
body.frontpage #content #box2 .trigger h2 a {
    border-bottom: none;
}
body.frontpage #content #box2 .trigger.active {
    border-bottom: none;
}
body.frontpage #content #box2 .slideup,
body.frontpage #content #box2 .slidedown {
    padding-left: 40px;
}
body.frontpage #content #box2 .slidedown {
    border-bottom: 1px solid #dddddd;
    padding: 70px;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Active */

body.frontpage #content #box2 .trigger.active,
body.frontpage #content #box2 .slidedown {
    background-color: #f1f4f8;
}

/* Margin fixes */

body.OTAGO081032 #title h1.notopimage {
    max-width: 882px;
}
body.OTAGO081032 #content {
    max-width: 882px;
    position: relative;
    width: 100%;
}
.OTAGO081032 #content .grid-third:nth-of-type(3n+1) {
  margin-right: 0;
}

/* //////////// Staff page styles /////////////// */

body.OTAGO704640 #content .grid1:nth-of-type(3n)  {
    margin-right: 0;
}
body.OTAGO704640 #content .grid1:nth-of-type(3n+1)  {
    clear: left;
}
body.OTAGO704640 #content .staff-profile h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    color: #333;
}
body.OTAGO704640 #content .staff-profile p {
    margin-bottom: 0;
}
body.OTAGO704640 #content .staff-profile {
    margin-bottom: 35px;
    word-wrap: break-word;
}
body.OTAGO704640 #content .staff-profile .staff-title {
    font-style: italic;
}
body.OTAGO704640 #content h2 {
    clear: both;
}

/* Plan your study */

#content .grid-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 35px;
}
body.OTAGO081033 #content .grid-quarter:nth-of-type(4n) {
    margin-right: 0;
}
body.OTAGO081033 #content h2.clearFix {
    float: left;
    width: 100%;
}




/* Retina styles */


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

@media only screen and (min-width: 1024px) and (max-width: 1230px) {
  #wrapper {
    background-position: -550px 0;
  }
}



@media only screen and (min-width: 1024px) and (max-width: 1500px) {
  #wrapper {
    background-position: -450px 0;
  }
}




/* MEDIA QUERIES ************/

/* iPad landscape > */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#wrapper {
        background-position: -800px 0;
    }
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    #content {
        background-size: 420px;
    }
    #contentwrapper {
        width: 879px;
    }
	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: 325px;
    }
    body.OTAGO081032 #content .grid2 {
        width: 650px;
        margin-right: 0;
    }
    body.OTAGO081032 #content .grid2.course-category-container {
        width: 275px;
        margin-right: 23px;
        min-height: 105px;
    }
    body.OTAGO081032 #content .grid2.course-category-container:nth-of-type(2n) {
        margin-right: 0;
    }
    #content .staff-profiles-container .grid_third:nth-of-type(3n) {
        margin-right: 0px;
    }
    #content .grid4 .grid_third {
        width: 186px;
        margin-right: 43px;
    }
    body.frontpage #content .grid_third {
        width: 186px;
        margin-right: 43px;
    }
    body.frontpage #content #box3 .grid2 .tile {
        min-height: 200px;
    }
    body.OTAGO081032 #content .course-categories .staff-profiles-container .grid_third {
        width: 300px;
    }
    body.OTAGO081032 #content .course-categories .staff-profile.grid_third {
        width: 194px;
        margin-right: 23px;
    }
    body.OTAGO081032 #content .course-categories .staff-profile.grid_third:nth-of-type(3n) {
    	margin-right: 0;
    }
    body.OTAGO081032 #content .course-categories .staff-profile.grid_third:nth-of-type(3n+1) {
    	clear: left;
    }
    body.OTAGO081032 #content .course-categories .staff-profile.grid_third .picture-container {
		float: none;
		height: auto;
		margin-left: 14px;
	}
    body.OTAGO081032 #content .grid4 .staff-profile.grid_third {
        width: 185px;
    }
    body.OTAGO081032 #content .staff-contact-nopic {
        width: auto;
    }
	body.OTAGO081032 #content .course-categories .staff-profile.grid_third .staff-info {
		float: left;
		padding: 14px;
		height: auto;
		width: auto;
		border-bottom: none;
	}
    body.OTAGO081032 .staff-info {
        width: 100%;
        box-sizing: border-box;
    }
    body.OTAGO081032 .picture-container {
        height: auto;
        width: 100%;
    }
    body.OTAGO081032 .picture-container img {
        width: 100%;
        max-width: 100%;
    }
    body.OTAGO081032 #content .course-categories .staff-contact {
		-ms-word-break: break-all;
     	word-break: break-all;
    	word-break: break-word;
		-webkit-hyphens: auto;
   		-moz-hyphens: auto;
        hyphens: auto;
        width: auto;
	}
    body.OTAGO081032 .tile {
        height: auto;
    }
    #content .grid1.tile:nth-of-type(4n) {
        margin-right: 46px;
    }
    #content .grid1.tile:nth-of-type(4n+1) {
        clear: none;
    }
    #content .grid1.tile:nth-of-type(3n) {
        margin-right: 0;
    }
    #content .grid1.tile:nth-of-type(3n+1) {
        clear: left;
    }
    body.OTAGO081033 #content .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
    body.OTAGO081032 #content .support-services .grid1:nth-of-type(3n) {
        margin-right: 0;
    }
    #content .tabs {
        height: 260px !important;
    }
    body.frontpage #content .grid4 .grid1 img {
        max-width: 100%;
    }
    #features {
        width: 650px;
        margin: 0px 0px 0px 232px;
    }
    /* Custom Styles */
    body.frontpage #content .grid2 {
        width: 100%;
    }
    body.frontpage #content .grid2 .tabs {
        width: 100%;
    }
    .tab-desktop {
        display: none;
    }
    .tab-mobile {
        display: block !important;
    }
    #content input {
        width: 92%;
    }
    #content textarea {
        width: 92%;
    }
    #content select {
        width: 94%;
    }
    #content button {
        width: 94%;
        margin-left: 20px;
    }
    #content form fieldset legend {
        width: auto;
    }
    #content select {
        width: 98%;
        height: 40px;
    }
    #content form fieldset textarea {
        margin-bottom: 21px;
        width: 95%;
    }
    #content input[type=email] {
        min-height: 30px;
    }
    #content form .help {
        width: 46px;
        top: -51px !important;
        left: 474px;
    }
    #content form div.help:hover div {
        left: -120px;
        top: -3px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage #content .topmargin:nth-of-type(2n) {
        margin-top: 0px;
    }
}

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

Portrait tablet ^

********/

@media only screen and (max-width: 768px) {
	body {
        background: none;
    }
    #wrapper {
        background-position: -900px 0;
    }
    .titleinner {
	    padding-bottom: 0;
    }
    body.frontpage #title h1 {
		width: auto;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    body.frontpage #content .grid4 .grid_third {
        width: 130px;
        margin-right: 14px;
    }
    body.frontpage #content .grid4 .grid_third:nth-of-type(3n) {
        margin-right: 0px;
    }
    body.frontpage .tabs {
        height: 310px;
    }
    #content {
        background-size: 420px;
    }
	body.frontpage #content {
        padding-top: 0;
    }
    body.frontpage #content h2 {
        font-size: 24px;
    }
    body.frontpage #content .grid4 .grid_third.feature-box {
		width: 62.5%;
	}
    body.frontpage #content .grid4 .grid_third.feature-box:nth-of-type(4n) {
        margin-right: 0;
    }
    body.frontpage #content .grid4 .grid1:nth-of-type(2n+1) {
        margin-right: 0;
    }
    body.frontpage #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;
    }
    body.OTAGO081033 #content .grid1:nth-of-type(3n) {
        margin-right: 46px;
    }
    body.OTAGO081033 #content .grid1:nth-of-type(2n) {
        margin-right: 0;
    }

    /* Services pages */
    body.OTAGO081032 #content .staff-profile.grid_third {
        width: 194px;
        margin-right: 23px;
    }
    body.OTAGO081032 #content .staff-profile.grid_third:nth-of-type(2n) {
    	margin-right: 0;
    }
    body.OTAGO081032 #content .grid2.course-category-container {
        width: 166px;
        margin-right: 23px;
        min-height: 126px;
    }
    body.OTAGO081032 #content .grid2.course-category-container:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO081032 .staff-info {
        width: 100%;
        float: none;
        height: auto;
    }
    body.OTAGO081032 .staff-info h3 {
        width: 100%;
    }
    body.OTAGO081032 #content .course-categories .staff-profile.grid_third .picture-container {
		float: none;
		height: auto;
		margin-left: 14px;
	}
    body.OTAGO081032 #content .staff-contact-nopic {
        width: auto;
    }
	body.OTAGO081032 #content .course-categories .staff-profile.grid_third .staff-info {
		float: left;
		padding: 14px;
		height: auto;
		width: 100%;
		border-bottom: none;
	}
    body.OTAGO081032 #content .course-categories .staff-contact {
		-ms-word-break: break-all;
     	word-break: break-all;
    	word-break: break-word;
		-webkit-hyphens: auto;
   		-moz-hyphens: auto;
        hyphens: auto;
        width: auto;
	}
    body.frontpage #content #box3 .grid2 .tile {
        min-height: 200px;
    }
    body.OTAGO081032 .tile {
        height: auto;
    }
    #content .grid1.tile:nth-of-type(2n) {
    	margin-right: 0;
	}
	#content .grid1.tile:nth-of-type(2n+1) {
		clear: left;
	}

    #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;
	}
    /* Custom Styles */
    .grid2 .tile {
        width: 100%;
        overflow: hidden;
    }
    .tab-desktop {
        display: none;
    }
    .tab-mobile {
        display: block !important;
    }
    #content form fieldset legend, #content form fieldset fieldset legend {
        width: auto;
    }
    #content input[type=email] {
        min-height: 10px;
    }
    #content form fieldset fieldset.leftright legend {
        width: 100%;
    }
    #content form fieldset fieldset.leftright label {
        width: 90%;
    }
    #content form .help {
        width: 46px;
        top: -46px !important;
        left: 334px;
    }
    #content form div.help:hover div {
        left: -82px;
        top: -3px;
    }
    body.frontpage #right,
    body.OTAGO081033 #right,
    body.OTAGO081032 #right {
        margin-top: 60px;
        position: absolute;
        border-top: none;
    }
    #right #pagemetadata {
        margin-right: 0;
        padding-right: 0;
    }
    body.frontpage #content.otgx {
        width: 418px;
    }
    body.frontpage #content .grid_third {
        width: 130px;
        margin-right: 14px;
    }
    #content .tabs {
        height: 310px !important;
    }
    #content .tabs {
        height: 310px !important;
    }
    body.frontpage #content .topmargin:nth-of-type(2n) {
        margin-top: 0px;
    }
  
  body.OTAGO081033 #content .grid-quarter {
    margin-bottom: 23px;
    width: 29.8%;
  }
  body.OTAGO081033 #content .grid-quarter:nth-of-type(4n) {
    margin-right: 5.3%;
  }
  body.OTAGO081033 #content .grid-quarter:nth-of-type(3n) {
    margin-right: 0;
  }
}


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

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {  
        background-position: -280px 0;
        background-size: 1000px;
        background-repeat: repeat-x;
      width: 100%;
    }
    #content {
      width: 97%;
    }
    body.frontpage #content {
        background: none;
    }
    .titleinner{
        width: 92%;
    }
    #title h1,
    body.frontpage #title h1 {
        background-position: 2px 18px;
      background-size: 180px;
      font-size: 45px;
      padding-bottom: 7px;
      margin-left: 0;      
        padding-top: 155px;
      width: 97%;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage .grid2.topmargin {
        margin-top: 21px;
    }
    body.frontpage .tile {
        margin-bottom: 21px;
    }
    body.frontpage #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.frontpage #content img {
        float: none;
        max-width: 100%;
        margin-left: 0;
    }
    body.frontpage #content .grid1 p img {
        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;
    }
    body.frontpage #content .grid4 .grid_third {
        width: 100%;
        margin-right: 0;
    }
    /* Custom Styles */
    body.frontpage .tabs,
    body.frontpage .tile {
        height: auto;
    }
    body.frontpage .tile {
        overflow: hidden;
    }
    body.OTAGO081032 #content .tile img {
        max-width: 100%;
        margin-left: 0;
    }
    body.OTAGO081032 #content .grid1.tile {
        width: 100%;
        margin-right: 0;
    }
    /* Google map*/
    iframe {
        max-width: 100%;
    }
    body.frontpage .tabs {
        width: 99.5%;
        height: auto;
    }
    .desktop {
    	display: none;
    }
    .mobile {
    	display: block;
    }
    .profile {
        width: 93% !important;
    }
    /* Course Advice Services Webpage */
    .course-category-container {
        width: 95% !important;
    }
    body.OTAGO081032 #content .grid2.course-category-container {
        min-height: 50px;
    }
    #content .grid1.staff-profile {
        margin-bottom: 23px;
        width: 47%;
    }
    #content .grid1.staff-profile:nth-of-type(2n) {
        margin-right: 0;
    }
    #content .staff-profile img {
    float: none;
    max-width: 100%;
    }
    .staff-info-nopic {
        width: 100%;
    }
    .support-services .tile,
    .other-support-services .tile {
        height: auto;
    }
    body.OTAGO081035 #content form fieldset textarea {
        width: 95%;
    }
    body.OTAGO081035 #content form fieldset select {
        width: 97.5%;
    }
    body.OTAGO081033 #content .tile {
        overflow: hidden;
    }
    body.OTAGO081033 #content .image-background {
        padding: 10px 5px;
    }
    #content form .help {
        left: 34px;
    }
    body.OTAGO081032 #content .grid_third img { max-width: 100%; }
    body.OTAGO081032 #content .staff-profile.grid_third { margin-right: 0; }
    body.frontpage #right,
    body.OTAGO081033 #right,
    body.OTAGO081032 #right {
        margin-top: 0px;
        position: static;
    }
    body.OTAGO081032 #content .grid2 {
        clear: both;
    }
    body.frontpage #content.otgx {
        width: 97%;
    }
    body.frontpage #content .grid_third {
        width: 100%;
    }
    body.frontpage #content .tabs {
        height: auto !important;
    }
    #content .grid-quarter img {
        float: none;
    }
    #content .grid1 img {
        width: 100%;
    }
    #right {
        border-top: 0;
    }
}




@media only screen and (max-width: 600px) { 
  #wrapper {
    background-position: -400px 0;
  }
}




@media only screen and (max-width: 500px) {
    body.OTAGO081033 #content .grid1 img {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    body.OTAGO081033 #content .image-background {
        padding: 0;
    }
    #content form fieldset fieldset.leftright label {
        width: 82%;
    }
}



@media only screen and (max-width: 450px) {
  #wrapper {
    background-position: -500px 0;
  }
  body.OTAGO081033 #content .grid-quarter {
    margin-right: 5.3%;
    width: 47%;
  }
  body.OTAGO081033 #content .grid-quarter:nth-of-type(3n) {
    margin-right: 5.3%;
  }
  body.OTAGO081033 #content .grid-quarter:nth-of-type(2n) {
    margin-right: 0;
  }
}
