/*! Generated by Fontspring (https://www.fontspring.com) on May 12, 2019 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-2019 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: 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; }
/*****************

RECREATION SERVICES CSS

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

body {
	background: url(gfx/background-frontpage.png) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/banner-frontpage.jpg) center 0px no-repeat;
}
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;
}
#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 dt,
#right dd{
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
#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 table td,
#content table td p {
  font-size: 15px;
  line-height: 1.6;
}
#content th,
#content td,
#right p,
#right li {
  font-size: 13px;
}
/* #wrapper:before {
  background: url(/_assets/_gfx/tessellations-content-white.png) 0 0 no-repeat;
  content: '';
  display: block;
  height: 466px;
  left: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
} */
#title h1 {
	background: url(gfx/title-2021.png) 0 100px no-repeat;
	color: #0e244b;
	color: #1f4a8c;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 50px;
  font-variant-ligatures: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
	margin: 0 0 21px 23px;
  max-width: 650px;
	opacity: 1;
	padding: 460px 0 0 0;
	position: static;
}
#title p.heading-translation {
	color: #888888;
	font-family: 'Amsi pro condlight', Helvetica, Arial, sans-serif;
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 35px;
	margin-top: -14px;
	padding-left: 23px;
}
#content h2 {
	border: none;
	color: #333333;
	font-family: 'Amsi Pro Condlight', 'Open Sans', 'Helvetica Neue', Helvetica, arial, sans-serif;
	font-size: 35px;
	font-weight: 300;
	line-height: 1.2;
  margin: 0px 0 14px 0;
	text-rendering: optimizeLegibility;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#content h3 {
	color: #555555;
	font-family: 'Amsi Pro Condbold',"Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}
#content h4 {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #0e244b;
}
#content .ui-tabs div {
    border: none;
    padding: 0;
}
#content #google .ui-tabs-panel {
    margin: 0;
}
#content hr {
    border-top: none;
    border-bottom: 5px dotted #dddddd;
    margin-top: 21px;
}
#content ul.pagesubnav {
	border: 1px solid #dddddd;
	padding-bottom: 7px;
	padding-top: 14px;
	
}
#content ul.pagesubnav li {
	list-style-position: outside;
	margin-bottom: 7px;
	margin-left: 10px;
}
#content ul.pagesubnav li a {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
}
/* Fix table draw table */
.n3145 #content .ui-tabs table th,
.n6251 #content .ui-tabs table th {
	width: auto;
}

/* Trips and courses */

.OTAGO059824 #content {
	width: 100%;
	max-width: 882px;
}
.OTAGO059824 #content table tr {
	transition: all 0.3s ease;
}
.OTAGO059824 #content table tr:hover {
	background-color: #fbfbfb;
}
.OTAGO059824 #content table th {
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.05em;
	padding: 14px 14px 14px 0px;
	color: #666666;
}
.OTAGO059824 #content table th:nth-of-type(1) {
	border-left: 1px solid #f1f4f8;
	padding-left: 5px;
}
.OTAGO059824 #content table th:nth-of-type(6) {
	border-right: 1px solid #f1f4f8;
}
.OTAGO059824 #content table td {
	padding: 10px 14px 6px 0px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.3;
}
.OTAGO059824 #content table td a {
	border-bottom: none;
}
.OTAGO059824 #content table td em {
	color: #888888;
    font-style: normal;
    font-size: 12px;
}
.OTAGO059824 #content table td strong {
	font-size: 12px;
}
.OTAGO059824 #content table td:nth-of-type(1) {
	padding-left: 7px;
	border-left: 1px solid #e4e4e4;
	width: 60px;
}
.OTAGO059824 #content table td:nth-of-type(4) {
	position: relative;
    width: 17%;
    padding-left: 10px;
}
.OTAGO059824 #content table td:last-of-type {
	border-right: 1px solid #dddddd;
}
.OTAGO059824 #content table td:nth-of-type(4):before {
	content: "+";
	position: absolute;
	left: -2px;
	font-weight: 700;
	color: #f9c000;
	transition: 0.3s all ease;
}
.OTAGO059824 #content table td:nth-of-type(4):hover:before {
	color: #416ebf;
}
.OTAGO059824 #right {
    padding-left: 0;
}
.OTAGO059824 #content table td:nth-of-type(6) {
	border-right: 1px solid #e4e4e4;
}
.OTAGO063624 #content .fullwidthimage {
	padding: 0;
	border-bottom: 0;
	overflow: visible;
}
.n4589 #content .fullwidthimage img {
	padding: 0;
  border: none;
	box-shadow: 0 0 0px 1px #e4e4e4;
}
#content table.trip-table {
	border: 1px solid #e4e4e4;
}
#content table.trip-table th,
#content table.trip-table td {
	padding: 14px;
}
#content table.trip-table th {
	background: #fff;
	text-align: right;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.05em;
	border-right: 1px solid #e4e4e4;
	background: #fdfdfd;
	color: #888888;
	width: 23%;
}
#content table.trip-table tr {
	border-bottom: none;
}
#content table.trip-table tr:nth-of-type(1) {
	background: #416ebf;
}
#content table.trip-table tr:nth-of-type(1) td {
	color: #ffffff;
	background: url(gfx/icon-calendar.png) no-repeat 10px 14px;
	background-size: 14px;
	padding-left: 30px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
}
.OTAGO059824 #content table td[colspan="4"] {
	background: #f9f9f9;
	padding-top: 7px;
}
.OTAGO059824 #content table h3 {
	font-size: 16px;
	margin: 0 0 0 0;
}

/* Landing page block styles */

#content .landing-block {
    background: #416ebf;
    text-align: center;
    box-shadow: 0 0 30px #e1e1e1;
    transition: box-shadow 0.15s ease-out;
    position: relative;
}
#content .landing-block:hover {
    box-shadow: 0 0 0px 14px #375b9e;
    background: #375b9e;
}
#content .landing-block.grid_half {
	margin-bottom: 42px;
}
#content .landing-block.grid_half:nth-of-type(2n) {
	margin-right: 0;
}
#content .landing-block h2,
#content .landing-block p {
	margin: 0;
	padding: 0;
}
#content .landing-block p + h2:first-of-type {
	margin-top: 0;
}
#content .landing-block p img {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}
#content .landing-block p img {
	transition: all 0.2 ease-in;
}
#content .landing-block a {
	border-bottom: none;
}
#content .landing-block a h2 {
	color: #ffffff;
    font-size: 23px;
	font-weight: 300;
	padding: 7px 7px 14px 7px;
}
#content .landing-block h2 a {
    color: #ffffff;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    display: block;
    padding-top: 7px;
    padding-bottom: 14px;
    border-bottom: none;
}
body.OTAGO059810 #content table tr td {
    width: 33%;
}

#map_canvas {
    width: 100%;
    height: 450px;
}
#right {
	margin-top: 0;
	position: relative;
	z-index: 9999;
	background-image: none;
}

/* Buy now */
#right p.buy-now {
    border-bottom: none;
    margin-bottom: 14px;
}
#right .buy-now a {
    color: #333333;
    font-size: 14px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
    padding: 4px 45px 4px 36px;
    background: url(/_assets/_gfx/next-arrow.png) no-repeat right 6px, #ffcd23;
    text-align: center;
    border: 2px solid #dfa000;
    border-radius: 16px;
    display: inline-block;
    transition: all 0.2s ease;
}
#right .buy-now a:hover {
    background-color: #dfa000;
	color: #ffffff;
    border: 2px solid #dfa000;
}

/* Contact widget */

#right .contacts-widget p { border-bottom: none; }
#right .contacts-widget h2 {
	font-size: 15px;
	line-height: 1.5;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
	color: #000000;
	margin-bottom: 14px;
	position: relative;
}
#right .contacts-widget h2:after {
	content: "";
	display: block;
	height: 3px;
	background: #f9c000;
	width: 50px;
	margin-top: 7px;
}
#right .contacts-widget h2.clock-icon {
	background: url(gfx/icon-clock.png) no-repeat right center;
}
#right .contacts-widget h2.phone-icon {
	background: url(gfx/icon-phone.png) no-repeat right center;
}
#right .contacts-widget dl {
	margin-bottom: 21px;
	clear: both;
	overflow: hidden;
}
#right .contacts-widget dt {
	font-weight: bold;
	color: #333;
}
#right .contacts-widget dt,
#right .contacts-widget dd {
	border-bottom: 1px solid #e4e4e4;
	width: 50%;
	float: left;
	padding: 4px 0;
}
#right .contacts-widget dt:last-of-type {
	border-bottom: none;
}

#right .contacts-widget dd:last-of-type {
	border-bottom: none;
}
body.OTAGO049175 #right .contacts-widget {
    display: none;
}

/* Gallery */

.OTAGO059827 #content .grid-third {
	width: 28.6%;
	float: left;
	margin-right: 7.1%;
	margin-bottom: 46px;
}
.OTAGO059827 #content .grid-third:nth-of-type(3n) {
	margin-right: 0;
}
.OTAGO059827 #content .grid-third a {
	border-bottom: none;
	line-height: 0;
	display: block;
	-webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.OTAGO059827 #content .grid-third a:hover {
	-webkit-transform: scale(1.05);
    transform: scale(1.05);
}

ul#social_media {
	height: 280px;
}

/* Animation styles */

@-webkit-keyframes bounce {
  0% {
    opacity: 0;
    -webkit-transform: translate(-25px, 0px);
            transform: translate(-25px, 0px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0px, 0px);
            transform: translate(0px);
  }
}
@keyframes bounce {
  0% {
    opacity: 0;
    -ms-transform: translate(-25px, 0px);
        transform: translate(-25px, 0px);
  }
  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
  }
}


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

FRONTPAGE

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


body.frontpage #title h1 {
	font-size: 41px;
	line-height: 1.2;
	max-width: 100%;
}
body.frontpage #content {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
body.frontpage #content #box2,
body.frontpage #content .emag-region {
	width: 100%;
}
body.frontpage #content h2 {
    margin-bottom: 14px;
    padding-bottom: 14px;
    margin-top: 0;
}
body.frontpage #content h3 {
	font-size: 24px;
	margin-bottom: 14px;
}
body.frontpage #content .grid_third p img,
body.frontpage #content .grid-third p img {
	border: none;
	border-radius: 2px 2px 0 0;
	margin: 0;
	max-width: 100%;
	padding: 0;
}
body.frontpage a[href*="facebook.com"] {
    background-position: -292px -60px;
}
body.frontpage #content .top-section .grid_third {
	position: relative;
	z-index: 99;
}
body.frontpage #content .top-section .grid_third:nth-of-type(3) {
	margin-right: 0;
}

/* Three feature boxes */
body.frontpage #content .grid_third {
	width: 263px;
}
body.frontpage #content .grid-third {
	border: 1px solid #dddddd;
	border-radius: 3px;
	box-sizing: border-box;
	box-shadow: 0 10px 20px #f5f5f5;
	padding-bottom: 14px;
	width: 29.8%;
}
body.frontpage #content #box3,
body.frontpage #content #box4 {
	margin-right: 5.3%;
}
body.frontpage #content .grid-third h3 {
	font-size: 26px;
	margin-left: 14px;
	margin-right: 14px;
	margin-top: 0;
}
body.frontpage #content .grid-third h3:after {
	background: #f9c000;
	content: '';
	display: block;
	height: 3px;
	margin-top: 14px;
	width: 37px;
	
}
/* body.frontpage #content .grid_third.who-can {
	background: url(gfx/icon-tick.png) no-repeat right 10px;
    transition: all 1.0s ease-in;
    -webkit-animation-name: bounce;
            animation-name: bounce;
    -webkit-animation-duration: 1.0s;
            animation-duration: 1.0s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
}
body.frontpage #content .grid_third.hours-info {
	background: url(gfx/icon-clock.png) no-repeat right 10px;
    transition: all 1.0s ease-in;
    -webkit-animation-name: bounce;
            animation-name: bounce;
    -webkit-animation-duration: 1.0s;
            animation-duration: 1.0s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
    -webkit-animation-delay: 0.8s;
            animation-delay: 0.8s;
}
body.frontpage #content .grid_third.contact-info {
	background: url(gfx/icon-phone.png) no-repeat right 10px;
    transition: all 1.0s ease-in;
    -webkit-animation-name: bounce;
            animation-name: bounce;
    -webkit-animation-duration: 1.0s;
            animation-duration: 1.0s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
    -webkit-animation-delay: 1.1s;
            animation-delay: 1.1s;
} */
body.frontpage #content .grid_third.hours-info dl {
    margin-bottom: 0px;
}
#content .sport img {
	margin-bottom: 14px;
}
body.frontpage #content h2.whats-on {
	border-top: 5px dotted #dddddd;
	margin-top: 35px;
	padding-top: 35px;
}
body.frontpage #content h2.whats-on span strong {
	font-weight: 700;
	color: #888888;
}
body.frontpage .shadow-box {
	box-shadow: 0 0 10px #e4e4e4;
	border: 1px solid #dddddd;
	border-radius: 3px;
	display: block;
	min-height: 360px;
	margin-bottom: 35px;
	transition: all 0.3s ease-out;
}
body.frontpage .shadow-box:hover {
	box-shadow: 0 0 2px #e4e4e4;
}
body.frontpage #content .grid-third a {
	border-bottom: none;
}
body.frontpage #content .shadow-box a:hover {
  border-bottom: 1px solid #c9dcff;
}
body.frontpage #content .grid-third ul {
	list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
	margin-left: 30px;
  margin-right: 14px;
  margin-bottom: 7px;
}
body.frontpage #content .recreation .shadow-box ul {
	margin-top: 14px;
}
body.frontpage #content .fitness {
	margin-right: 0;
}
body.frontpage #content .recreation .shadow-box ul li ul,
body.frontpage #content .fitness .shadow-box ul li ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	list-style-image: url(gfx/dash.png);
  margin-left: 14px;
}
body.frontpage #content .shadow-box ul.calendar-icon {
	margin-left: 30px;
	padding: 0;
}
body.frontpage #content .shadow-box li {
	margin-bottom: 3px;
	padding-left: 3px;
	font-size: 15px;
}
body.frontpage #content .fitness ul,
body.frontpage #content .fitness ul li {
	margin-bottom: 0;
}
body.frontpage #content .fitness li.calendar-icon {
	background: url(gfx/icon-calendar.png) no-repeat 0px 10px;
	padding: 10px 14px 7px 24px;
	margin-left: -20px;
	margin-top: 4px;
	margin-bottom: 0px;
	list-style-image: none;
	list-style-type: none;
	font-size: 15px;
}
body.frontpage #content .shadow-box li {
	margin-bottom: 3px;
	padding-left: 3px;
	font-size: 15px;
}
body.frontpage #content .calendar-icon {
	background: url(gfx/icon-calendar.png) no-repeat 10px center;
	padding: 10px 14px 7px 34px;
	margin-top: 4px;
	margin-bottom: 0px;
	font-size: 15px;
}
body.frontpage #content .tick-icon {
	background: url(gfx/icon-plus.png) no-repeat 10px center;
	padding: 7px 14px 7px 35px;
	margin-bottom: 21px;
}

/* Profiles */

body.frontpage .alumni-profile {
  clear: both;
}
body.frontpage #slides .otagoprofile {
	clear: both;
}
body.frontpage #slides .otagoprofile div {
	width: 100%;
	margin: 0px;
	padding: 1px 0 0 1px;
	float: none;
	background: #f9f9f9;
	border: 1px solid #efefef;
	box-sizing: border-box;
	overflow: hidden;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
	font-weight: 300;
}
body.frontpage #content #slides p {
	float: left;
	font-size: 16px;
	line-height: 1.0;
	margin-bottom: 0;
	padding-bottom: 0;
}
body.frontpage #content #slides p:nth-child(2) {
	padding: 35px;
	width: 500px;
    line-height: 1.5;
}
body.frontpage #content #slides p:nth-child(2) a {
	background: url(gfx/arrow-yellow.png) right 21px no-repeat;
	padding-right: 15px;
	border-bottom: 0;
	font-weight: 700;
    padding-top: 14px;
    display: inline-block;
}
body.frontpage #content #slides p img {
	margin: 0 0 0px 0px;
	padding: 0px;
	border: none;
}
body.frontpage #content .alumni-profile article {
	border: 1px solid #dddddd;
	box-sizing: border-box;
	background: url(gfx/arrow-yellow.png) 290px 46px no-repeat #f9f9f9;
	margin: 0;
	padding: 0;
	border-radius: 3px;
}
body.frontpage #content .alumni-profile article a {
	border-bottom: none;
}
body.frontpage #content .alumni-profile h3 {
	text-align: left;
	float: right;
	width: 571px;
	padding-top: 35px;
	margin-bottom: 14px;
}
body.frontpage #content .alumni-profile p {
	margin-bottom: 0;
	margin-right: 14px;
	padding-bottom: 0;
}
body.frontpage #content .alumni-profile p:nth-child(4) {
	float:right;
	width: 535px;
	padding-right: 35px;
}
body.frontpage #content .alumni-profile p.caption186 {
	float: left;
	margin: 0 46px 0 0;
	width: 263px;
	height: 161px
}
body.frontpage #content .alumni-profile p.caption186 img {
	border:none;
	margin: 0;
	padding: 0;
    width: 100%;
}
body.frontpage #slides .otagoprofile a:first-child {
	max-height: 163px;
	display: inline;
	border-bottom: none;
}

body.frontpage #content .emag-region {
	margin-top: 70px;
}
body.frontpage #content .emag-region div {
	border: 1px solid #dddddd;
	overflow: auto;
	border-radius: 3px;
}
body.frontpage #content .emag-region img {
	margin-left: 0;
	margin-bottom: 0;
	margin-right: 46px;
	padding: 0;
	border: none;
	width: 262px;
	float: left;
}
body.frontpage #content .emag-region h3 {
	margin-top: 35px;
	margin-bottom: 14px;
	text-align: left;
}
body.frontpage #content .emag-region p:nth-of-type(1) {

	line-height: 1;
	margin-bottom: 0;
}
body.frontpage #content .emag-region a {
	border: none;
}


/*========

Right

========*/

body.frontpage #right {
    margin-top: 0px;
    padding-left: 0;
    margin-left: 0;
    background: none;
    position: absolute;
    top: 700px;
}
body.frontpage #right img{
    display: none;
}
body.frontpage #right p.smalltag {
    text-transform: none;
    padding-left: 20px;
}
body.frontpage #pagemetadata {
    clear: both;
    padding-left: 0;
    margin-left: 0;
}

@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.notopimage, #title h1.notopimage {
               background-image: url(gfx/title-2021@2x.png);
               background-size: 360px;
           }
}


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

MEDIA QUERIES

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

/* iPad landscape */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	body.frontpage #content {
    width: 650px;
  }
  body.frontpage #content .top-section {
    background-size: contain;
  }
	body.frontpage #content.otgx {
    width: 650px;
	}
  body.frontpage #content .grid_third {
    width: 30%;
    margin-right: 5.0%;
  }
	body.frontpage #content .fitness.grid_third {
		margin-right: 0;
	}
  body.frontpage #content .grid_third h2 {
  	font-size: 21px;
  }
  body.frontpage .shadow-box {
		min-height: 410px;
	}
  #content .landing-block.grid_half,
  #content .landing-block.grid_half img {
		width: 186px;
	}
	body.frontpage #content .alumni-profile h3 {
    width: 339px;
  }
	body.frontpage #content .alumni-profile p:nth-child(4) {
		width: 304px;
	}
  body.frontpage #content #slides p:nth-child(2) {
    padding: 25px;
    width: 314px;
  }
	body.frontpage #right {
    position: static;
    top: auto;
  }
  .OTAGO059824 #content {
		max-width: 650px;
	}
}


/* iPad portrait */

@media only screen and (max-width: 768px) {
	body.frontpage #content {
    width: 418px;
  }
	body.frontpage  #content .shadow-box {
    background-size: contain;
	}
	body.frontpage .titleinner h1 {
		max-width: 418px;
	}
/*     body.frontpage #title h1 {
		font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
		padding: 0px 0 21px 0px;
		font-size: 28px;
	} */
	body.frontpage #content.otgx {
		width: 418px;
	}
	body.frontpage #content .top-section {
		background: url(gfx/shadow-horizontal.png) no-repeat 0 bottom;
		background-size: contain;
		padding-bottom: 52px;
	}
	body.frontpage #content .grid_third {
		width: 100%;
	}
	body.frontpage #content .top-section .grid_third {
		margin-right: 0;
	}
	body.frontpage #content .top-section .grid_third:nth-child(2),
	body.frontpage #content .top-section .grid_third:nth-child(3) {
		width: 45%;
		margin-bottom: 21px
	}
	body.frontpage #content .top-section .grid_third:nth-child(2) {
		margin-right: 10%;
	}
	body.frontpage #content .top-section .grid_third:nth-child(2):before,
	body.frontpage #content .top-section .grid_third:nth-child(3):before {
		background: none;
	}
	body.frontpage #content .grid_third.contact-info {
		width: 100%;
	}
	body.frontpage #content .grid_third img {
    max-width: 90%;
    width: 100%;
    padding: 5% 5% 0 5%;
    float: none;
    margin-left: 0;
    }
  body.frontpage .shadow-box {
		padding-bottom: 7px;
		margin-bottom: 21px;
	}
  #content .landing-block.grid_half,
  #content .landing-block.grid_half img {
		width: 186px;
	}
  body.frontpage #content #slides p {
    float: none;
  }
  body.frontpage #slides .otagoprofile a:first-child {
    max-height: 100%;
    display: block;
  }
	body.frontpage #content .alumni-profile h3 {
    width: 90%;
		float: none;
		margin-left: 5%;
  }
	body.frontpage #content .alumni-profile p.caption186 {
		width: 90%;
		margin-left: 5%;
		margin-bottom: 14px;
		float: none;
	}
	body.frontpage #content .alumni-profile p.caption186 img {
		width: 100%;
		height: auto;
	}
	body.frontpage #content .alumni-profile p:nth-child(4) {
		width: 90%;
		margin-left: 5%;
		margin-bottom: 14px;
		float: none;
	}
	body.frontpage #content .alumni-profile article {
		background-position: right 14px top 25px;
	}
	body.frontpage #content .alumni-profile h3 {
		padding-top: 14px;
	}
	body.frontpage #content .alumni-profile p:nth-of-type(2) {
		margin-left: 14px;
		margin-bottom: 14px;
	}
	body.frontpage #content .emag-region img {
		float: none;
		margin: 0;
		padding: 14px;
    width: 100%;
		box-sizing: border-box;
	}
	body.frontpage #content .emag-region h3 {
		margin: 0px 21px 14px 21px;
	}
	body.frontpage #content .emag-region p:nth-of-type(3) {
		margin-left: 21px;
	}
  body.frontpage #content #slides p:nth-child(2) {
    padding: 0 4% 4% 4%;
    width: 92%;
  }
  body.frontpage #content #slides p img {
    padding: 4%;
    width: 92%;
  }
	#right {
    border-top: 1px solid #e4e4e4;
    margin: 0px 0px 0px 232px;
    width: 418px;
	}
	#right p {
    border-bottom: none;
  }
  body.frontpage #right {
    position: static;
    top: auto;
    margin: 0px 0px 0px 232px;
  }
  #right #pagemetadata {
    width: 362px;
  }
  .OTAGO059824 #content {
		max-width: 418px;
	}
	.OTAGO059824 #content table th {
		font-size: 10px;
	}
	.OTAGO059824 #content table td {
		font-size: 12px;
	}
	.OTAGO059824 #content table td:nth-of-type(1) {
    width: 50px;
  }
	.OTAGO059824 #content table td:nth-of-type(4) {
    width: 25%;
  }
}


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

@media only screen and (min-width: 530px) and (max-width: 700px) {
    body.frontpage #content .grid_third {
        width: 33%;
        float: left;
        margin-right: 0%;
        overflow: visible;
    }
	 body.frontpage #content.otgx {
		 width: 97%;
	 }
    body.frontpage #content .grid_third:nth-of-type(3n) {
        margin-right: none;
    }
}

@media only screen and (max-width: 700px) {
	body {
		background: none;
	}
/* 	.titleinner {
    width: 93%;
    padding-top: 215px;
    background-size: 240px;
    background-position: 0 44px;
	}
	.titleinner h1 {
  	max-width: 100% !important;
  } */
	#wrapper {
	  background-size: 1100px;
		background-position: -260px 30px;
  }
/*  #title h1 {
      background-size: 235px;
      background-position: 0 95px;
      font-size: 40px;
      padding: 380px 0 0 0;
      margin-left: 0;
    } */
	  #title h1.notopimage,
    body.frontpage #title h1.notopimage {
      background-position: 0 40px;
      background-size: 250px;
      margin-left: 0;
      padding-top: 260px;
			font-size: 40px;
    }
  #title h1.notopimage {
    margin-bottom: 21px;
  }
	#title p.heading-translation {
		font-size: 28px;
		padding-left: 0;
	}
  #content {
    padding: 0;
  }
   #content h2 {
    font-size: 21px;
  }
  #content h3 {
    font-size: 16px;
  }
  #content .landing-block.grid_half {
		width: 47.5%;
		margin-right: 5%;
		margin-bottom: 5%;
	}
	#content .landing-block.grid_half img {
		float: none;
    width: 100%;
		max-width: 100%;
		margin: 0;
	}
  #content .ui-tabs li {
    width: 12%;
  }
	.ui-tabs .ui-tabs-nav li a {
    padding: .6em 3% !important;
    font-size: 14px;
  }
  #content .ui-tabs .ui-tabs-nav li a {
    border-bottom: none;
    text-align: center;
  }
  #content .ui-tabs .ui-tabs-nav li {
    text-align: center;
  }
  #content .ui-tabs dt,
  #content .ui-tabs dd {
    border-top: none;
  }
  a.ui-tabs-anchor {
    border-bottom: none;
  }
  .ui-tabs .ui-tabs-panel {
    padding: 0 !important;
  }
  #right {
		border-top: none;
		width: 100%;
		margin: 0;
	}
	body.frontpage {
		background: none;
	}
/* 	body.frontpage #wrapper {
		background-size: 1200px;
		background-position: -400px 0;
  } */
/* 	body.frontpage .titleinner {
    padding-top: 270px;
    background-size: 300px;
    background-position: 5% 42px;
  }
  body.frontpage #title h1 {
		padding: 0px 0 21px 0px;
		font-size: 26px;
		line-height: 1.35;
		margin: 0 0 0px 0px;
	} */
	body.frontpage #content.otgx {
		 width: 97%;
	}
  body.frontpage #content .top-section .grid_third:nth-child(1),
	body.frontpage #content .top-section .grid_third:nth-child(2),
	body.frontpage #content .top-section .grid_third:nth-child(3) {
		width: 100%;
		float: left;
		margin-top: 14px;
		margin-bottom: 0px;
	}
	body.frontpage #content .top-section .grid_third:nth-child(2) {
		margin-right: 6%;
	}
	body.frontpage .shadow-box {
		width: 93%;
		margin: 0 auto 21px auto;
	}
  body.frontpage #content h2.whats-on span {
		padding: 0 14px;
	}
  body.frontpage #content {
    width: 97%;
    padding: 0;
  }
  body.frontpage #right {
	  width: 96%;
    margin: 10px 0 0 0;
	}
  body.frontpage #content #slides p {
		width: 50%;
		float: left;
	}
	body.frontpage #content .alumni-profile h3 {
		float: none;
		margin-left: 14px;
  }
	body.frontpage #content .alumni-profile p.caption186 {
		width: 100%;
		margin-left: 0%;
		margin-bottom: 0px;
		float: none;
		height: auto;
	}
	body.frontpage #content .alumni-profile p.caption186 img {
		width: 100%;
		height: auto;
		float: none;
		max-width: 100%;
		padding: 14px;
		box-sizing: border-box;
	}
	body.frontpage #content p.caption186 img {
		background: none;
	}
	body.frontpage #content .alumni-profile p:nth-child(4) {
		width: 90%;
		margin-left: 5%;
		margin-bottom: 14px;
		float: none;
	}
	body.frontpage #content .emag-region img {
		float: none;
		max-width: 100%;
	}
	body.frontpage #content #slides p a:nth-of-type(2) {
		padding: 0;
	}
	body.frontpage #content #slides p:nth-child(2) {
		width: 45%;
		padding: 2.5% 2.5% 0 2.5%;
	}
	body.frontpage #content #slides p img {
		max-width: 100%;
		padding: 0;
		margin: 0;
		float: none
	}
  .OTAGO059824 #content {
		max-width: 97%;
	}
	#right {
		box-sizing: border-box;
		width: 95%
	}
	.OTAGO059824 #content img {
		max-width: 100%;
		float: none;
		margin: 0;
	}
  .OTAGO059824 #content table td {
    padding: 10px 7px 7px 0px;
	}
}
@media only screen and (max-width: 450px) {
    	#wrapper {
	  background-size: 900px;
  }
	#title h1.notopimage,
    body.frontpage #title h1.notopimage {
      background-position: 0 20px;
      background-size: 200px;
      padding-top: 220px;
			font-size: 30px;
    }
	body.frontpage #content .grid-third {
		width: 100%;
		margin-bottom: 30px;
	}
	body.frontpage #content #box3,
	body.frontpage #content #box4,
	body.frontpage #content #box5 {
/* 		border: solid 3px red; */
		margin-right: 0;
	}
	body.frontpage #content .grid-third img {
		width: 100%;
	}
}