@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-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-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'); }

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

Design Services BASECAMP+ CSS

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

body {
    background: url(gfx/background.png) repeat-x 0 0;
}
#wrapper {
    background: url(gfx/banner.jpg) no-repeat center 0;
}
#content p,
#content ul,
#content ol,
#content table,
#content dl,
#right {
    font-family: "Open sans", Helvetica, Arial, sans-serif;
    font-weight: normal;
    line-height: 1.6;
}
#content table,
#content dl,
#right {
    line-height: 1.5;
}
#title h1 {
    padding: 470px 0px 14px 23px;
    font-size: 38px;
    line-height: 1.2;
    background: url(gfx/title.png) 24px 100px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #1f4a8c;
    position: relative;
	margin-top: 3px;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    max-width: 650px;
    position: relative;
}
#title h1:after {
    width: 600px;
    height: 500px;
    display: block;
    content: '';
    background: url(gfx/tessellations.png) no-repeat -3px 0;
    background-size: 550px;
    top: -6px;
    left: -23px;
    position: absolute;
    z-index: -1;
    opacity: 0.3;
}
.titleinner {
    padding-top: 3px;
    padding-bottom: 0px;
}
.titleinner img {
    display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#content h2 {
    padding-bottom: 7px;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 35px;
    margin-bottom: 14px;
    text-rendering: optimizeLegibility;
    border-bottom: none;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
#content hr {
    border-top: 1px solid #dddddd;
    clear: both;
    margin-bottom: 28px;
    display: block;
}
#right {
    background: none;
}

/* Campus gallery */

.OTAGO654117 #content .grid-quarter:nth-of-type(4n) {
    margin-right: 0;
}
.OTAGO654117 #content {
    min-height: auto;
}
.OTAGO654117 #content .grid-quarter {
    padding: 0;
}
.OTAGO654117 #content .grid-quarter:hover {
    box-shadow: 0 0 21px #ccc;
}
.OTAGO654117 #content .grid-quarter p,
.OTAGO654117 #content .grid-quarter p img,
.OTAGO654117 #content .grid-quarter a {
    margin: 0;
    padding: 0;
    line-height: 0;
}
.OTAGO654117 #content .grid-quarter p img {
    border-radius: 2px;
}
.OTAGO654117 #content .grid-quarter a {
    position: relative;
}
.OTAGO654117 #content .grid-quarter a:after {
    background: url(/_assets/_gfx/expand-image-icon.svg) no-repeat center center;
    width: 26px;
    height: 20px;
    display: block;
    content: '';
    position: absolute;
    bottom: 10px;
    right: 5px;
    z-index: 999;
    transform: scale(1);
    transition: all 0.2s ease-out;
}
.OTAGO654117 #content .grid-quarter a:hover:after {
    transform: scale(0.9);
}

/* Our people */

.OTAGO642473 #content h2 {
    margin-bottom: 0;
}
.OTAGO642473 #content h3 {
    font-family: "Minion Pro", Minion, Georgia, Times New Roman, serif;
    color: #888888;
    font-style: italic;
    margin-bottom: 21px;
}

/*  FRONTPAGE  */

body.frontpage {
    background-position: center top;
}
body.frontpage #title h1 {
    font-size: 34px;
    line-height: 1.2;
    background: url(gfx/title.png) 24px 174px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 882px;
}
#content.otgx {
    max-width: 882px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
#content .grid-quarter {
    width: 21%;
    margin-right: 5.3%;
    margin-bottom: 46px;
    padding-bottom: 14px;
    box-shadow: 0 0 10px #e4e4e4;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    border-radius: 3px;
    transition: all 0.3s ease;
}
#content .grid-quarter:hover {
    box-shadow: 0 0 3px #e4e4e4;
    border: 1px solid #cccccc;
    transition: all 0.3s ease;
}
body.frontpage #content .grid-quarter {
    margin-top: 28px;
}
body.frontpage #content .grid-quarter:nth-of-type(5) {
    margin-right: 0;
}
#content .grid-quarter a {
    border-bottom: none;
}
#content .grid-quarter p {
    margin-bottom: 0;
}
#content .grid-quarter img {
    margin-left: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}
body.frontpage #content .uo-brand {
    background: url(gfx/brand-icons.svg) no-repeat center 21px;
    background-size: 100px;
}
body.frontpage #content .image-library {
    background: url(gfx/gallery-icon.svg) no-repeat center 21px;
    background-size: 90px;
}
body.frontpage #content .design-resources {
    background: url(gfx/design-resources-icon.svg) no-repeat center 14px;
    background-size: 96px;
}
body.frontpage #content .request-a-job {
    background: url(gfx/job-request-icon.svg) no-repeat center 14px;
    background-size: 96px;
}
body.frontpage #content .grid-quarter p {
    padding-left: 14px;
    padding-right: 14px;
    color: #777777;
    font-size: 13px;
}
body.frontpage #content h2 {
    font-size: 24px;
    font-family: 'Minion Pro', Minion, Georgia, Times New Roman, serif;
}
body.frontpage #content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    position: relative;
    padding: 0 7px 0 14px;
    font-size: 20px;
    letter-spacing: -0.01em;
}
body.frontpage #content h3:after {
    width: 40px;
    height: 3px;
    content: '';
    display: block;
    background: #f9c000;
    margin-top: 14px;
    margin-bottom: 10px;
}
body.frontpage #content h3 a {
    padding-top: 130px;
    display: block;
}
body.frontpage .full-width {
    width: 100%;
}
body.frontpage #content ul {
    margin-left: 0;
}
body.frontpage #content li {
    display: inline-block;
    margin-right: 3.2%;
    padding: 7px 5.0% 7px 18px;
    border-right: 1px solid #dddddd;
    box-sizing: border-box;
    background: url(/_assets/_gfx/yellow-arrow-small.svg) no-repeat 0 center;
}
body.frontpage #content li:last-of-type {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
body.frontpage #content li a {
    border-bottom: none;
    display: block;
}
body.frontpage #content #box6 {
    margin-top: 28px;
}


/* Hi-res logo */

@media (-webkit-min-device-pixel-ratio: 1.5),
      (min--moz-device-pixel-ratio: 1.5),
      (min-resolution: 1.5dppx),
      (min-resolution: 192dpi) {
          #title h1,
          body.frontpage #title h1 {
             background: url(gfx/title@2x.png) 20px 178px no-repeat;
             background-size: 243px;
          }
}


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

Breakpoint media query: 701-1160px */

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


@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
    body.frontpage #content li {
        margin-right: 1.2%;
        padding-right: 1.5%;
        padding-top: 0;
        padding-bottom: 0;
    }
}


@media only screen and (max-width: 768px) {
	.topnavinner {
        max-width: 98%;
    }
    #globalsearch form input.searchinput {
        width: 80%;
    }
    #wrapper {
        width: 100%;
    }
    #title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
    #right {
        border-top: none;
    }
    #right .relatedinfo,
    #right .rightwidget {
        width: 100%;
        box-sizing: border-box;
        margin-right: 0;
        padding-right: 14px;
    }
    #right .relatedinfo ul li {
        width: auto;
        float: none;
    }
    #right form,
    #right fieldset,
    #right .search {
        width: 100%;
        box-sizing: border-box;
        margin-right: 0;
    }
    div#nav_holder {
    	max-width: 100%;
    	width: 100%;
	}
    body.frontpage #content li {
        margin-right: 1.2%;
        margin-bottom: 14px;
        padding-right: 1.5%;
        padding-top: 3px;
        padding-bottom: 3px;
    }
}

@media only screen and (min-width: 701px) and (max-width: 768px) {
    div#nav_holder { left: 0; }
    body.frontpage #content .grid-quarter h3,
    body.frontpage #content .grid-quarter p:nth-of-type(2) {
        padding-left: 7px;
    }
    body.frontpage #content .grid-quarter h3 {
        margin: 0;
    }
}


@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    body.frontpage .titleinner,
    .titleinner {
        width: 100%;
    }
    #wrapper {
        background-size: 900px;
    }
    nav#global_nav {
    	width: 80%;
    }
    #title h1,
    body.frontpage #title h1 {
        padding: 200px 4% 21px 4%;
        background: url(gfx/title.png) 28px 49px no-repeat;
        background-size: 200px;
        font-size: 36px;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
    #content.otgx {
        max-width: 97%;
    }
    #content .grid-quarter img {
        max-width: 100%;
        float: none;
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    #content .grid-quarter {
        width: 47%;
        margin-top: 0;
        margin-bottom: 21px;
    }
    body.frontpage #content .grid-quarter {
        margin-top: 0;
    }
    body.frontpage #content .grid-quarter:nth-of-type(2n+1) {
        margin-right: 0;
    }
    .OTAGO654117 #content .grid-quarter:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content li {
        display: block;
        border-right: none;
    }
}
