/*! 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: url(/_assets/_fonts/amsipro/amsiprocond-bold-webfont.woff2) format('woff2'), url(/_assets/_fonts/amsipro/amsiprocond-bold-webfont.woff) format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/_assets/_fonts/opensans/opensans-regular.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-regular.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Semibold'), local('OpenSans-semibold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(/_assets/_fonts/opensans/opensans-light.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-light.woff) format('woff'); font-display: swap; }



/*********

Department of Food Science CSS

*********/

body {
	background: url(gfx/background2020.jpg) 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/banner2020.jpg) right 0px no-repeat;
}
#title h1 {
	background: url(gfx/title2020.png) 0px 110px no-repeat;
/* 	color: #efad00; */
  color: #6ba2a5;
/*   color: #e58a2f; */
	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 28px 23px;
	max-width: 650px;
	opacity: 1;
  padding: 400px 0 0px 0px;
  position: static;
}
#content h2 {
  border-bottom: none;
  color: #e59444;
  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: #6ba2a5;
  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: #e59444;
  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  h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
#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;
}

#right {
	background-image: none;
}
#content {
  box-sizing: border-box;
  max-width: 100%;
  position: relative;
  width: 100%;
}
#title h1.notopimage {
  width: 100%;
  max-width: 882px;
}
#content ul,
#content li,
#right ul li {
	margin-left: 0;
	list-style-image: url(/_assets/_gfx/arrow-grey-forward.svg);
	list-style-position: outside;
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 16px;
  padding-bottom: 8px;
	margin-left: 7px;
}
#content li {
	padding-bottom: 8px;
}
#content p img {
  border: none;
  padding: 0;
}
#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;
}
/* #content table th {
  background-color: #f1f4f8;
  padding: 7px;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 16px; 
} */
#content table td {
  font-size: 15px;
  line-height: 1.5; 
}
#content table td p {
  font-size: 15px;
  line-height: 1.5;  
}
#content table td:nth-of-type(1) {
  width: 25%;
}
#content table td:nth-of-type(2) {
  width: 35%;
}
#content ul.pagesubnav li a {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
#content ul.pagesubnav{
	border: none;
	padding: 15px;
}

/*--------

Frontpage styles

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

/* body.frontpage .titleinner {
  padding-top: 295px;
} */

body.frontpage #content hr {
	margin: 0px 0 21px 0;
  padding: 0;
	border-top: 1px solid #e4e4e4;
}
body.frontpage #content {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
}
body.frontpage #content h2,
.features.news h2 {
 color: #6ba2a5;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 30px;
	margin: 0px 0 21px 0;
}
body.frontpage #content h3 {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
  padding: 0px 0 0px 0;
  margin-top: 0;
}
.features article h3 a {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}
body.frontpage #content .grid_third.text:nth-of-type(3n+1) {
  margin-right: 0;
}
body.frontpage #content .grid_third.feature:nth-of-type(3n+2) {
  margin-right: 0;
}
body.frontpage #content .grid_third {
  width: 263px;
  margin-right: 46px;
  border-radius: 3px;
}
body.frontpage #content.otgx #box1 {
  font-size: 17px;
  margin-bottom: 28px;
}
body.frontpage #content.otgx .feature img {
  border-bottom: 1px solid #dddddd;
  border-radius: 2px 2px 0 0;
}
body.frontpage #content .feature-content h2 {
  margin-bottom: 14px;
  position: relative;
}
body.frontpage #content .feature-content h2:after {
  content: '';
  display: block;
  width: 47px;
  height: 3px;
  background: #f9c000;
  margin-top: 9px;
}
body.frontpage #content.otgx p.fullwidthimage.nocaption {
  margin-bottom: 0;
}
body.frontpage #content .grid_third.feature {
  box-shadow: 0px 0px 14px 0px #e4e4e4;
  border: 1px solid #dddddd;
  margin-bottom: 49px;
  box-sizing: border-box;
}
body.frontpage #content .feature-content {
  margin: 0px 14px 28px 14px;
}
body.frontpage #content .grid_third.feature .feature-image {
  width: 100%;
  max-width: 100%;
}
body.frontpage #content ul {
  margin-left: 16px;
}
body.frontpage #content li {
  margin-bottom: 3px;
}
body.frontpage #content p.clearall {
  line-height: 0;
  margin-bottom: 0;
}
#content .grid_half {
  width: 302px;
}

.news-section article {
  width: 29.7%;
  float: left;
  margin-right: 5.4%;
}
.news-section article:nth-of-type(3) {
  margin-right: 0;
}
#content .news-section article h3 {
  font-size: 17px;
}
#content .news-section article p {
  font-style: normal;
  color: #999999;
  padding-left: 18px;
  background: url(/_assets/_gfx/calendar-icon-grey.svg) no-repeat 0 2px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}
body.OTAGO742128 .tile-box-shadow-thumbnail-description {
  margin-top: 30px;
}

body.OTAGO742128 .tile-box-shadow-thumbnail-description:hover {
   box-shadow: 0 10px 20px silver;
   transform: translateY(-1px)
}
body.OTAGO742128 .tile-box-shadow-thumbnail-description {
    box-shadow: 0 5px 20px #f5f5f5,
                0 2px 6px #e4e4e4;
    margin-bottom: 55px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.3s ease;
}
body.OTAGO742128 .tile-box-shadow-thumbnail-description a p {
    color: #333333;
}

/*========

Right

========*/

body.frontpage #right {
  margin-top: 0px;
  padding-left: 0;
  margin-left: 0;
  background: none;
  position: absolute;
  top: 600px;
}
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;
}


/* Orange Arrow Down */
body.otago077782 #content .grid1.box-container-grid {
  background: transparent url(gfx/arrow-down.jpg) no-repeat scroll center 0;
  background-position: center bottom;
}
body.otago077782 #content .feature-content p {
  padding-bottom: 42px;
}

/* Reusable classes */

body #content .grid_half.feature {
  border: 1px solid #dddddd;
  box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.05);
  margin-bottom: 49px;
  border-radius: 7px;
}
body #content .grid_half.feature .feature-content {
  padding: 0 14px;
  padding-top: 7px;
  border-radius: 7px;
}
body.OTAGO077757 #content .grid_half.feature .feature-content {
  min-height: 123px;
}
body.OTAGO077757 #content .grid_half.feature .feature-content h2 {
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 25px;
}
body #content .grid_half.feature img {
  border-radius: 7px 7px 0 0;
  width: 100%;
}
.flexbox #content .grid-container {
  display: flex;
  flex-wrap: wrap;
}
.OTAGO077767 #content .flowchart-container {
  text-align: center;
}
.OTAGO077767 #content .button {
  text-align: center;
}


/* Grid modules */
body #content p img.box-img {
  margin: 0;
  padding: 0;
  border-radius: 7px 7px 0 0;
}
body #content div.grid1 .feature-content {
  padding: 0 14px;
}
body #content .grid1.box-container-grid {
  border: 1px solid #dddddd;
  border-radius: 6px;
  box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin-bottom: 28px;
}
#content .grid1.box-container-grid h2 {
  font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 26px;
  margin-bottom: 14px;
  padding-bottom: 0;
}
body #content .grid1.box-container-grid:hover {
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.5);
}
body #content .grid1.box-container-grid:nth-of-type(3n) {
  margin-right: 0;
}
body.otago077782 #content .grid1.box-container-grid:nth-of-type(4n) {
  margin-right: 0;
}
body.otago077782 #content .grid1.box-container-grid:nth-of-type(3n) {
  margin-right: 46px;
}
body #content div.grid1 .feature-content a {
  float: left;
  margin-bottom: 14px;
}
body.OTAGO077545 #content h2 {
  font-size: 21px;
}
body.OTAGO742128 #content .tile-box-shadow-thumbnail-description h2 a{
  color: #6ba2a5;
  font-family: 'Amsi pro condbold', Helvetica, Arial, Geneva, sans-serif;
  font-size: 26px;
}

/* -------Video-------- */

body.OTAGO742128 #content .video-container {
    background: #00508F;
    border-top: 21px solid #f9c000;
    border-radius: 3px;
    margin-bottom: 49px;
    padding: 14px 14px 40px 14px;
}
body.OTAGO742128 #content .video-container h2{
    border: 0;
    color: #ffffff;
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 14px;
    padding-top: 0;
}
body.OTAGO742128 #content .video-container h2 strong {
    color: #f9c000;
}
body.OTAGO742128 #content .video-container h3,
body.OTAGO742128 #content .video-container p {
    color: #ffffff;
    font-family: 'Amsi Pro Condlight', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 14px;
}
body.OTAGO742128 #content .video-container p:first-of-type {
    color: #f9c000;
}
body.OTAGO742128 #content .video-container p:last-of-type {
    margin-bottom: 42px;
}
body.OTAGO742128 #content .video-box {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}
body.OTAGO742128 #content .video-box iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
body.OTAGO742128 #content .tile-box-shadow-thumbnail-description h2 {
	  font-size: 26px;
    font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}


/* New box styles */
.box-style {
  padding: 14px;
  box-sizing: border-box;
  margin-bottom: 21px;
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  border-radius: 7px;
}
#content .box-style h2 {
	  font-family: 'Amsi Pro Condbold', 'Open Sans', Helvetica, Arial, sans-serif;
	  font-size: 25px;
    padding-bottom: 0;
}

/* Food Science Research */
body.OTAGO077544 #content .grid1:nth-of-type(3) {
  margin-right: 0px;
}

/* Current research */
.grid1.feature-sub {
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  padding: 14px;
  margin-bottom: 21px;
  transition: box-shadow ease 0.2s;
}
.grid1.feature-sub:hover {
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  transition: box-shadow ease 0.3s;
}
#content .grid1.feature-sub:nth-of-type(3n) {
  margin-right: 0;
}
#content .grid1.feature-sub h2 {
    font-size: 21px;
}
.grid1.feature-sub a img {
    width: 100%;
    border-bottom: none;
}
.grid1.feature-sub a {
    border-bottom: none !important;
}
.grid1.feature-sub a:hover {
    border-bottom: none !important;
}
.grid1.feature-sub a p {
    color: #333333;
}
.grid1.feature-sub a:hover p {
    color: #333333;
}

/* Current research */
#content .feature-content h2 {
    font-size: 21px;
}
body.otago077782 #content .feature-content h2 {
    color: #426fbf;
}
#content .box-container-grid p {
    color: #333333;
}

/* Inpage Subnavigation */
#content ul.in-page-navigation {
    margin: 21px 0 0 0;
    display: flex;
    flex-wrap: wrap;
}
#content .in-page-navigation li {
    list-style-type: none;
    box-sizing: border-box;
    margin: 0;
    margin-right: 4%;
    margin-bottom: 14px;
    padding: 0%;
    width: 22%;
    float: left;
}
#content .in-page-navigation li:nth-of-type(4n) {
    margin-right: 0;
}
#content .in-page-navigation li a {
    padding: 21px 14px 21px 42px;
    display: block;
    border-bottom: none;
    background: #fff5df;
    background-size: 24px;
    border: 1px solid #ffaf00;
    border-radius: 4px;
    box-shadow: 0 0 10px #f8edd7;
    transition: all 0.2s ease;
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
    font-weight: 300;
    position: relative;
}
#content .in-page-navigation li a::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 7px;
    top: 33%;
    background: url(gfx/arrow-circle.svg) no-repeat 0px center;
    background-size: 24px;
    transition: all 0.6s ease;
}
.no-svg #content .in-page-navigation li a::before {
    background: url(gfx/arrow-circle.png) no-repeat 0px center;
}
#content .in-page-navigation li:hover a::before {
    transform: rotate(90deg);
}
#content .in-page-navigation li a:hover {
    background-color: #ffffff;
    transform: scale(0.95);
    box-shadow: 0 0 5px #e6edf6;
}

body.OTAGO081290 #content .in-page-navigation {
    margin: 0;
}

/* Top of pages (Our people) */
body.n5675 #content .topofpage {
    background: #416ebf;
    display: inline-block;
    float: right;
    border-radius: 16px;
    padding: 3px 16px;
    margin-top: 21px;
    margin-bottom: 42px;
    color: #f9c000;
    transition: background 0.2s ease;
    transform: scale(1);
}
body.n5675 #content .topofpage a {
    color: #ffffff;
    display: inline-block;
}
body.n5675 #content .topofpage a:hover {
    border-bottom: none;
}
body.n5675 #content .topofpage:hover {
    background: #2f559a;
    color: #aecbff;
}
body.n5675 #content .topofpage:active {
    transform: scale(0.95);
}

/* Food Science Research Themes */

body.OTAGO077544 #content .grid_whole {
    width: 100%;
}
body.OTAGO077544 #content .grid_whole .grid_half {
    padding: 21px 0 0 21px;
    margin-right: 0;
    box-sizing: border-box;
}
body.OTAGO077544 #content .box-style {
    padding: 0;
}
body.OTAGO077544 #content .img-container {
    width: 450px;
    float: right;
}
body.OTAGO077544 #content .img-container p {
    margin: 0;
    line-height: 0;
}
body.OTAGO077544 #content .img-container p img {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 7px 7px 0;
}

/* Food Science - BSc (Fix RHC) */

body.OTAGO077762 #right .widget.applynow h2:nth-of-type(2),
body.OTAGO077762 #right .widget.applynow h2:last-of-type {
    display: none;
}
body.OTAGO077762 #right .widget.applynow a:nth-of-type(2),
body.OTAGO077762 #right .widget.applynow a:last-of-type {
    display: none;
}

.link-full-height {
    min-height: 424px;
    float: left;
    border-bottom: none !important;
}

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

        
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
    #title h1,
  body.OTAGO742128 #title h1{
      background-image: url(gfx/title2020@2x.png);
      background-size: 286px;
    } 
}
        
        
        
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	body {
	   background: url(gfx/background2020.png) 0 0 repeat-x;
  }
  #wrapper {
      background-size: 1000px;
			background-position: right 8px top 30px;
   }
   body.frontpage #wrapper {
    background-position: 0 30px;
   }
	 #title h1.notopimage {
        background-size: 230px;
        background-position: 0px 60px;
        padding: 300px 0 0 0;
    }
    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.frontpage #content .grid4 .grid1 img {
        max-width: 100%;
    }
    #features {
        width: 650px;
        margin: 0px 0px 0px 232px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
    body.frontpage #content .grid_third {
        width: 186px;
    }
    body.frontpage #content.otgx .feature img {
        width: 186px;
    }
    body.frontpage #content.otgx .feature h2 {
        font-size: 24px;
    }
    /* Careers page (content layout) */
    body.OTAGO077781 #content {
        width: 650px;
    }
    /* Undergraduate page (content layout) */
    body.OTAGO077757 #content {
        width: 650px;
    }
    /* Community outreach */
    body.OTAGO077792 #content {
        width: 650px;
    }
    body.OTAGO077792 #content .grid1 {
        margin-right: 46px;
    }
    /* For industry */
    body.OTAGO077545 #content {
        width: 650px;
    }
    body.OTAGO077545 #content .grid1 {
        margin-right: 46px;
    }
    body.OTAGO077545 #content .feature-content h2 {
        font-size: 21px;
    }
    /* Food Science Research */
    body.OTAGO077544 #content .grid1:nth-of-type(3) {
        margin-right: 46px;
    }
    body.OTAGO077544 #content .grid1:nth-of-type(2n) {
        margin-right: 0px;
    }
    /* Current research */
    #content .grid1.feature-sub:nth-of-type(3n) {
        margin-right: 46px;
    }
    #content .grid1.feature-sub:nth-of-type(2n) {
        margin-right: 0;
    }
    body.otago077782 #content .grid1.box-container-grid:nth-of-type(3n) {
        margin-right: 46px;
    }
    body.otago077782 #content .grid1.box-container-grid:nth-of-type(2n) {
        margin-right: 0;
    }
    /* Food science research areas */
    body.OTAGO077544 #content {
        width: 650px;
    }
    body.OTAGO077544 #content .grid_half {
        width: 302px;
    }
    /* Staff pages */
    body.n5675 #content .in-page-navigation li {
        width: 100%;
        margin-right: 0;
    }

}

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

Portrait tablet ^

********/

@media only screen and (max-width: 768px) {
  body {
    background: none;
  }
	#wrapper {
      background-size: 1000px;
			background-position: right -150px top 30px;
    }
  body.frontpage #wrapper {
    background-position: 0 30px;
  }
  body.frontpage #title h1 {
		width: auto;
	}
  #title h1.notopimage {
    background-position: 0 70px;
      background-size: 200px;
    font-size: 44px;
      max-width: 100%;
      padding-right: 0;
      padding-top: 280px;
  }
  #title h1 {
    background-position: 0 0;
    background-size: 200px;
  }
    body.frontpage {
        background: none;
    }
/* 	body.frontpage #wrapper {
        background: url(gfx/banner-frontpage.jpg) -70px 0px no-repeat;
        background-size: 1200px;
    } */
/*     body.frontpage .titleinner {
        padding-top: 285px;
        background: url(gfx/title.png) 227px 58px no-repeat;
    } */
	  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(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;
    }
    #features .features {
        margin-bottom: 42px;
        margin-left: 232px;
    }
    .news article .articletext {
        width: 100%;
        float: none;
    }
    body.frontpage .feature-box-container,
    .features {
        background-size: 100%;
    }
    body.frontpage #content h3 {
        padding-bottom: 7px;
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.frontpage #right {
		border-top: none;
		width: 186px;
	}
    body.frontpage #content.otgx {
        width: 418px;
    }
    body.frontpage #content .grid_third.feature {
        width: 31.3%;
        min-height: auto;
        margin-right: 3%;
    }
    body.frontpage #content .grid_third.feature:nth-of-type(5) {
        margin-right: 0;
    }
    body.frontpage #content ul {
        margin-left: 5px;
    }
    body.frontpage #content.otgx .feature img {
        width: 100%;
    }
    /* Careers page (content layout) */
    body.OTAGO077781 #content .grid_half {
        width: 100%;
    }
    /* Undergraduate page (content layout) */
    body.OTAGO077757 #content .grid_half {
        width: 100%;
    }
    /* Community outreach */
    body.OTAGO077792 #content .grid1 {
        width: 100%;
        margin-bottom: 46px;
    }
    /* For industry */
    body.OTAGO077545 #content .grid1 {
        width: 100%;
        margin-bottom: 46px;
    }
    /* Food Science Research */
    body.OTAGO077544 #content .grid1:nth-of-type(3) {
        margin-right: 46px;
    }
    body.OTAGO077544 #content .grid1:nth-of-type(2n) {
        margin-right: 0px;
    }
    /* Current research */
    #content .grid1.feature-sub:nth-of-type(3n) {
        margin-right: 46px;
    }
    #content .grid1.feature-sub:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #right .rightwidget {
        padding-right: 0;
    }
    body.OTAGO077757 #content .grid_half.feature .feature-content {
        min-height: initial;
    }
    body.otago077782 #content .grid1.box-container-grid:nth-of-type(3n) {
        margin-right: 46px;
    }
    body.otago077782 #content .grid1.box-container-grid:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO077545 #content p img.box-img {
        width: 100% !important;
    }
    /* Food science research areas */
    body.OTAGO077544 #content .grid_half {
        width: 100%;
        margin-right: 0;
    }
    body.OTAGO077544 #content .img-container p img {
        border-radius: 7px 7px 0 0;
    }
    body.OTAGO077544 #content .img-container {
        width: 100%;
    }
    body.OTAGO077544 #content .grid_whole .grid_half {
        padding: 21px;
    }
    /* Staff pages */
    body.n5675 #content .in-page-navigation li {
        width: 100%;
        margin-right: 0;
    }
}


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

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper,
    body.frontpage #wrapper {
      background-image: url(gfx/banner2020.jpg);
        background-position: -210px 0;
        background-size: 900px;
        background-repeat: repeat-x;
    }
    .titleinner {
      width: 92%;
    }
    #title h1.notopimage,
    body.frontpage #title h1.notopimage {
      background-position: 0 40px;
      background-size: 200px;
      margin-left: 0;
      padding-top: 220px;
    }
    body.frontpage #title h1.notopimage {
        font-size: 45px;
    }
    #content,
    body.frontpage #content {
      max-width: 97%;
    }
    body.frontpage #content h2 {
        font-size: 26px;
        text-align: left;
    }
    body.frontpage #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.frontpage #content img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    body.frontpage #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    #features .features {
        margin-left: 0px;
    }
    body.frontpage #content .grid4 .grid_third.feature-box {
        width: auto;
        max-width: 350px;
    }
    body.frontpage #content.otgx {
         width: 97%;
    }
    body.frontpage #right {
        position: relative;
        top: 0;
    }
    body.OTAGO077781 #content .grid_half {
        width: 46%;
        margin-right: 4%;
    }
  body.OTAGO742128 .tile-box-shadow-thumbnail-description {
    margin-top: 0;
  }
  body.OTAGO742128 .tile-box-shadow-container {
    margin-top: 35px;
  }
    /* Community outreach */
    body.OTAGO077792 #content .grid1 p img.box-img {
        max-width: 100%;
        width: 100%;
        margin-bottom: 14px;
    }
    /* For industry */
    body.OTAGO077545 #content .grid1 p img.box-img {
        max-width: 100%;
        width: 100%;
        margin-bottom: 14px;
    }
    /* Current research */
    #content .grid1.feature-sub:nth-of-type(3n) {
        margin-right: 46px;
    }
    #content .grid1.feature-sub:nth-of-type(2n) {
        margin-right: 0;
    }
    .grid1.feature-sub a img {
        max-width: 100%;
        margin-bottom: 14px;
        border-bottom: none;
    }
    body.otago077782 #content .grid1.box-container-grid {
        margin-right: 0 !important;
    }
    body.otago077782 #content p img.box-img {
        width: 100%;
        max-width: 100%;
        margin-top: -14px;
        margin-bottom: 14px;
    }
    body.OTAGO077545 #content .grid1 {
        margin-right: 0 !important;
    }
    body.OTAGO077792 #content .grid1 {
        margin-right: 0 !important;
    }
    /* Food science research areas */
    body.OTAGO077544 #content .grid_half {
        width: 48%;
        margin-right: 4%;
    }
    body.OTAGO077544 #content .img-container p img {
        max-width: 100%;
    }
    body.OTAGO077544 #content .grid_whole .grid_half {
        padding: 21px;
    }
    /* Staff pages */
    body.n5675 #content .in-page-navigation li {
        width: 100%;
        margin-right: 0;
    }
  #features .news article {
    margin-bottom: 35px;
  }
  .news article img {
    width: 100%;
  }
    #right {
      padding-left: 0px;
      max-width: 97%;
    }
}



@media only screen and (max-width: 500px) {
    body.OTAGO077781 #content .grid_half {
        width: 100%;
        margin-right: 0;
    }
    body.OTAGO077757 #content .grid_half {
        width: 100%;
        margin-right: 0;
    }
    body.OTAGO077757 #content .grid_half.feature .feature-content {
        padding: 0 14px;
        padding-top: 7px;
        border-radius: 7px;
        float: left;
        width: 100%;
        box-sizing: border-box;
    }
    body #content .grid_half.feature img {
        border-radius: 7px 7px 0 0;
        width: 100%;
        float: left;
        max-width: 100%;
        margin-left: 0;
    }
    body.OTAGO077757 #content .grid_half.feature .feature-content {
        min-height: initial;
    }
    /* Food science research areas */
    body.OTAGO077544 #content .grid_half {
        width: 100%;
        margin-right: 0;
    }
}




@media only screen and (max-width: 450px) {
    body.frontpage #content .grid_third.feature,
    body.frontpage article {
        margin-right: 0;
        width: 100%;
        margin-bottom: 21px;
    }
    body.frontpage #content .news-section h2 {
        margin-top: 21px;
    }
    #wrapper,
    body.frontpage #wrapper {
        background-position: -260px 0;
        background-size: 750px;
    }
    #title h1.notopimage,
    body.frontpage #title h1.notopimage {    
	    background-size: 160px;
      background-position: 0 35px;
      padding: 170px 0 0px 0px;
    }
    #content img, #content p img, #content p img[align="right"] {
      float: none;
      margin-left: 0;
      max-width: 100%;
      width: 100%;
    }
}
