@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; }


/*********

Otago Genomics Facility CSS

*********/

body {
    background: url(gfx/background.jpg) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/banner.jpg) center 0px no-repeat;
}
.titleinner {
	padding-top: 250px;
	margin-top: 0px;
    background: url(gfx/title.png) 230px 90px no-repeat;
}
#title h1 {
  /*background: url(gfx/header-gradient.png) center bottom no-repeat;*/
  background: none;
  color: #366791;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 0 23px;
  padding: 5px 0 0 0px;
  text-rendering: optimizeLegibility;
}
#title h1.notopimage {
  padding-right: 165px;
  max-width: 100%;
  margin-bottom: 21px;
}
#content h2 {
  border-bottom: none;
  color: #366791;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 700;
  margin: 35px 0 14px 0;
  text-rendering: optimizeLegibility;
}
#content  h2:first-of-type {
  margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
#content h3 {
  line-height: 1.4;
}
#content p,
#content ul,
#content ol,
#content li,
#content table,
#content td,
#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;
}
#right {
	background-image: none;
}
.ui-widget-content {
	background: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
	background: #f1f4f8;
}
#content .pricing-table th {
	padding-top: 14px;
	padding-bottom: 14px;
}
#content .pricing-table td {
	padding-top: 10px;
	padding-bottom: 10px;
}
#content .pricing-table td:nth-of-type(2) {
	background: #f9f9f9;
}
#content .heading-translation {
  color: #888888;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 35px;
  margin-top: -21px;
}


/* //////////// Frontpage styles /////////////// */

body.frontpage {
  background: url(gfx/frontpage-background.jpg) center 0px repeat-x;
}
body.frontpage #wrapper {
	background: url(gfx/frontpage-banner.jpg) 70% 0px no-repeat;
}
body.frontpage .titleinner {
  padding-top: 290px;
}
body.frontpage #title h1.notopimage {
	font-size: 33px;
  line-height: 1.25;
  max-width: 800px;
}
body.frontpage #content hr {
  border-top: 1px solid #e4e4e4;
	margin: 0px 0 14px 0;
  padding: 0;
}
body.frontpage #content {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 105px;
}
body.frontpage #content h2 {
	font-weight: 300;
  font-size: 26px;
  line-height: 1.4;
	padding-top: 21px;
	padding-bottom: 28px;
	border-top: none;
	border-bottom: none;
  margin: 0px;
  text-rendering: optimizeLegibility;
}
body.frontpage #content h3 {
  color: #366791;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 22px;
	font-weight: 300;
  padding: 21px 0 21px 0;
}
body.frontpage #content div.grid2.frontpage-boxes {
    background: #edf8f6;
    min-height: 240px;
    padding: 28px;
    margin-top: 28px;
    margin-bottom: 28px;
    width: 362px;
    min-height: 336px;
}
body.frontpage #content .grid2:nth-of-type(2n+1) {
    margin-right: 0;
}
body.frontpage #content .grid1 {
    padding-top: 21px;
}
body.frontpage #content .grid4 .grid1:nth-of-type(4n) {
    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 .shadow {
    background: url(gfx/header-gradient.png) 0 bottom no-repeat;
    overflow: hidden;
    margin: 0 0 21px 0;
}
body.frontpage #content .info-icon,
body.frontpage #content .requirements-icon,
body.frontpage #content .submission-icon,
body.frontpage #content .nzgl-icon,
body.frontpage #content .ns-icon {
    text-align: center;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
}
body.frontpage #content .info-icon a,
body.frontpage #content .requirements-icon a,
body.frontpage #content .submission-icon a,
body.frontpage #content .nzgl-icon a,
body.frontpage #content .ns-icon a {
    padding: 56px 0 42px 0;
    display: block;
    border-bottom: none;
    transition: 0.3s all ease;
}
body.frontpage #content .info-icon a:hover,
body.frontpage #content .requirements-icon a:hover,
body.frontpage #content .submission-icon a:hover,
body.frontpage #content .nzgl-icon a:hover,
body.frontpage #content .ns-icon a:hover {
    background-position: center 5px;
    text-shadow: 0px 0px 5px #ffffff;
}
body.frontpage #content .info-icon a {
    background: url(gfx/icon-i.svg) center 0 no-repeat;
}
html.no-svg body.frontpage #content .info-icon a {
    background: url(gfx/icon-i.png) center 0 no-repeat;
}
body.frontpage #content .requirements-icon a {
    background: url(gfx/icon-r.svg) center 0 no-repeat;
}
html.no-svg body.frontpage #content .requirements-icon a {
    background: url(gfx/icon-r.png) center 0 no-repeat;
}
body.frontpage #content .submission-icon a {
    background: url(gfx/icon-s.svg) center 0 no-repeat;
}
html.no-svg body.frontpage #content .submission-icon a {
    background: url(gfx/icon-s.png) center 0 no-repeat;
}
body.frontpage #content .nzgl-icon a {
    background: url(gfx/icon-nzgl.svg) center 0 no-repeat;
}
html.no-svg body.frontpage #content .nzgl-icon a {
    background: url(gfx/icon-nzgl.png) center 0 no-repeat;
}
body.frontpage #content .ns-icon a {
    background: url(gfx/icon-ns.svg) center 0 no-repeat;
}
html.no-svg body.frontpage #content .ns-icon a {
    background: url(gfx/icon-ns.png) center 0 no-repeat;
}
body.frontpage #right {
	background-image: none;
	clear: both;
	margin: -250px 0 0 0;
	padding: 0;
}


@media (-webkit-min-device-pixel-ratio: 2),
      (min--moz-device-pixel-ratio: 2),
      (min-resolution: 2dppx),
      (min-resolution: 192dpi) {
           .titleinner {
               background-image: url(gfx/title@2x.png);
               background-size: 267px;
           }
}



/* MEDIA QUERIES ************/

/* iPad landscape > */
@media only screen and (min-width: 1700px) and (max-width: 1900px) {
    body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) 200px 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/frontpage-banner.jpg) 200px 0px no-repeat;
    }
}

/* iPad landscape > */
@media only screen and (min-width: 1600px) and (max-width: 1700px) {
    body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) 100px 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/frontpage-banner.jpg) 100px 0px no-repeat;
    }
}

/* iPad landscape > */
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) 10% 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/frontpage-banner.jpg) 10% 0px no-repeat;
    }
}

/* iPad landscape > */
@media only screen and (min-width: 1024px) and (max-width: 1400px) {
    body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) 30% 0px no-repeat;
    }
    #wrapper {
        background: url(gfx/frontpage-banner.jpg) 30% 0px no-repeat;
    }
}

/* iPad landscape > */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#wrapper {
        background: url(gfx/banner.jpg) -50px 0px no-repeat;
    }
    .titleinner {
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
	#title h1 {
        background: url(gfx/header-gradient.png) left bottom no-repeat;
        background-size: contain;
	}
    body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) -150px 0px no-repeat;
    }
	body.frontpage .titleinner {
    }
	body.frontpage #title h1.notopimage {
		max-width: 650px;
	}
    body.frontpage #content h2 {
        font-size: 26px;
    }
	body.frontpage #content .grid2 {
        width: 302px;
    }
    body.frontpage #content div.grid2.frontpage-boxes {
        padding: 28px;
        width: 246px;
        min-height: 300px;
    }
	body.frontpage #content .grid2 img {
		max-width: 302px;
	}
    body.frontpage #content .shadow {
        /*background: url(gfx/header-gradient.png) center bottom no-repeat;*/
        background-size: contain;
    }
    body.frontpage #content .grid4 .grid1 {
        width: 150px;
        margin-right: 16px;
    }
    body.frontpage #content .grid4 .grid1 img {
        max-width: 100%;
    }
}

/* Portrait tablet ^ */
@media only screen and (max-width: 768px) {
	body {
    }
    #wrapper,
    body.frontpage #wrapper {
        background-position: -50px 0;
    }
    .titleinner {
	    padding-top: 250px;
        padding-bottom: 0;
    }
    body.frontpage #title h1 {
		width: auto;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.2;
    }
    #title h1 {
        /*background: url(gfx/header-gradient.png) center bottom no-repeat;*/
        background-size: contain;
	}
	body.frontpage #wrapper {
        background: url(gfx/frontpage-banner.jpg) -150px 0px no-repeat;
    }
    body.frontpage .titleinner {
        padding-top: 255px;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
    }
	body.frontpage #content {
        padding-top: 0;
    }
    body.frontpage #content h2 {
        font-size: 24px;
    }
    body.frontpage #content .grid_third {
		width: 100%;
	}
    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;
    }
    body.frontpage #content div.grid2.frontpage-boxes {
        margin-top: 7px;
        margin-bottom: 14px;
        min-height: 10px;
    }
    body.frontpage #content .shadow {
        /*background: url(gfx/header-gradient.png) center bottom no-repeat;*/
        background-size: contain;
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.frontpage #right {
		border-top: none;
		width: 186px;
	}
	#right .rightwidget {
		margin-right: 0px;
		padding: 14px 0px 0px 0px;
	}
}

/* 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: url(gfx/banner.jpg) -100px 0px no-repeat;
        background-size: 900px;
    }
    .titleinner {
	    padding-top: 190px;
        padding-bottom: 0px;
        width: 92%;
        background-position: 0px 49px;
    }
    body.frontpage .titleinner {
        padding-top: 190px;
        background-size: 201px;
    }
    #title h1 {
        font-size: 28px;
        margin-left: 0;
        width: 100%;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
}
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.2;
        font-size: 26px;
    }
    body.frontpage #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.frontpage #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.frontpage #content .grid2 {
        width: 45%;
        float: left;
    }
    body.frontpage #content div.grid2.frontpage-boxes {
        width: auto;
        max-width: 100%;
        min-height: 10px;
    }
    body.frontpage #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    body.frontpage #content .info-icon a,
    body.frontpage #content .requirements-icon a,
    body.frontpage #content .submission-icon a,
    body.frontpage #content .nzgl-icon a {
        padding: 56px 10px 14px 10px;
    }
}
