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

/*********

FINANCIAL CSS

*********/

body {
    background: url(gfx/background.png) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/banner.jpg) center 0px no-repeat;
}
.titleinner {
	padding-top: 270px;
	margin-top: 0px;
    background: transparent url("gfx/title-inside.png") no-repeat scroll 185px -36px;
}
.titleinner img {
    display: none;
}
#title h1 {
  background: none;
  color: #163568;;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 0 23px;
  margin-top: 3px;
  max-width: 627px;
  position: static;
  padding: 0 0 14px 0px;
  text-rendering: optimizeLegibility;
}
body.frontpage #title h1.notopimage {
    margin-bottom: 21px;
}
#content h2 {
  border-bottom: none;
  color: #535862;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 14px 0;
  text-rendering: optimizeLegibility;
}
#content p + h2,
#content table + h2,
#content ul + h2,
#content ol + h2,
#content dl + h2,
#content form + h2 { margin-top: 35px; }
#content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #163568;;
    margin-bottom: 14px;
    line-height: 1.4;
}
#content h4 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #333333;
    font-size: 17px;
    line-height: 1.45;
}
#content p,
#content ul,
#content ol,
#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 input,
section.global_mega_nav ul li,
section.global_mega_nav div.rightmeganavlist a,
nav.global_footer ul li {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 400;
}
#content p {
	line-height: 1.5;
}
#content ul {
  margin-left: 16px;
}
#content li {
  margin-bottom: 7px;
}
#content table td {
  line-height: 1.5;
}
#right {
	background-image: none;
}
#right h2 {
  margin-bottom: 14px;
}
#right li {
  margin-bottom: 4px;
}

.features article,
.news article .articletext {
    width: 100%;
}

body.frontpage #right {
   float: none;
   padding: 0 0 0 0;
   clear: both;
}
.training-skin .span6 .pull-right {
    margin-top: 0!important;
}

/* Services */

.OTAGO020722 #content table {
  table-layout: fixed;
}
.OTAGO020722 #content td:nth-of-type(1) {
  padding-left: 0;
}

#content div.contentnav h2 {
  font-weight: 400;
}


/* //////////// Dynamic styles /////////////// */
body.frontpage #content .grid_third {
    width: 263px;
}
body.frontpage #content .dates h2,
body.frontpage #content .notices h2 {
    font-size: 23px;
}
body.frontpage #content.otgx {
    width: 882px;
}
body.frontpage #content .dates article h3,
body.frontpage #content .notices article h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #333333;
    text-rendering: optimizeLegibility;
    padding: 0;
    margin-top: 0;
    font-size: 14px;
}
body.frontpage #content .dates article a,
body.frontpage #content .notices article a {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
}
body.frontpage #content .dates article p.smalltag,
body.frontpage #content .notices article p.smalltag {
    text-transform: none;
    font-style: normal;
    color: #999999;
    font-size: 11px;
}

/* //////////// Specific styles /////////////// */
body.frontpage #content div.assistance {
    background-color: #f1f1f1;
    margin-bottom: 35px;
}
body.frontpage #content div.assistance h2 {
    font-size: 25px;
}
body.frontpage #content div.assistance img {
    margin-bottom: -6px;
}
body.frontpage #content div.assistance p {
    font-size: 15px;
}
body.frontpage #content div.assistance .grid2:last-of-type {
    margin: 0;
    padding: 21px 0px;
}
body.frontpage #content div.assistance input[type="button"] {
    background: url("gfx/icon-question.png") no-repeat scroll 5px 4px, #E1E1E1 none repeat scroll 0% 0%;
    border: 1px solid #cccccc;
    border-radius: 16px;
    color: #416ebf;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-top: 14px;
    padding: 6px 14px 5px 38px;
    transition: background-color 0.2s ease;
    width: auto;
}
body.frontpage #content div.assistance input[type="button"]:hover {
    border: 1px solid #B1B1B1;
    background-color: #C6C6C6;
    transition: background-color 0.2s ease;
}

body.frontpage #content div.container {
    padding-left:14px;
    border-radius: 3px;
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    box-shadow:         0px 10px 20px 0px #f9f9f9;
    margin-bottom: 35px;
    min-height: 0px;
    box-sizing: border-box;
}
body.frontpage #content div.container .grid1:first-of-type {
    margin-right: 30px;
}
body.frontpage #content div.container a {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    border-bottom: none;
}
body.frontpage #content div.container ul {
    margin-left: 0;
    margin-bottom: 0;
}
body.frontpage #content div.container li {
    background: url(gfx/arrow-big.png) no-repeat 0 3px;
    background-size: 17px;
    list-style: none;
    list-style:none;
    padding-left: 32px;
    margin-bottom: 14px;
    transition: all 0.3s ease-out;
}
body.frontpage #content div.container li:hover {
    background-position: 5px 3px;
    transition: all 0.3s ease-out;
}
body.frontpage #content div.container .grid1 {
    padding-top: 14px;
    min-height: 0px;
}
body.frontpage #content .features article h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #333333;
    text-rendering: optimizeLegibility;
    padding: 0;
    margin-top: 0;
    font-size: 14px;
}
body.frontpage #content .features article a {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #content .features article p.smalltag {
    text-transform: none;
    font-style: italic;
    color: #bcbcbc;
    font-size: 14px;
    font-family: minion pro;
}
body.frontpage #content .arrow {
    background: url(gfx/arrow.png) no-repeat 0 1px;
    background-repeat: no-repeat;
    padding-left: 20px;
    border-bottom: none;
}
body.frontpage #content .dates {
    margin-bottom: 42px;
}
body.frontpage #content .notices {
    margin-bottom: 42px;
}
body.frontpage #content h3.reference {
    background-image: url(gfx/sprite-widget.png);
    background-position: 289px -562px;
    background-repeat: no-repeat;
    width: 882px;
}
body.frontpage #content h3.resource {
    background-image: url(gfx/sprite-widget.png);
    background-position: 288px -560px;
    background-repeat: no-repeat;
    width: 882px;
    clear: both;
}
/*
body.frontpage #content .dates h3 {
    background-image: url(gfx/sprite-widget.png);
    background-position: -395px -789px;
    background-repeat: no-repeat;
}
body.frontpage #content .notices h3 {
    background-image: url(gfx/sprite-widget.png);
    background-position: 51px -339px;
    background-repeat: no-repeat;
}
*/
body #title h1.notopimage {
    font-size: 35px;
}
.assistance {
    float: left;
}
.assistance-inner {
    padding: 14px 21px 0px 21px;
}

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

body.frontpage {
    background: url(gfx/background-frontpage.png) center 0px repeat-x;
}
body.frontpage #wrapper {
	background: url(gfx/banner-frontpage.jpg) center 0px no-repeat;
}
body.frontpage .titleinner {
    padding-top: 360px;
    background: url(gfx/title-front.png) 186px -14px no-repeat;
}
body.frontpage #title h1 {
	line-height: 1.3;
}
body.frontpage #title h1.notopimage {
	max-width: 882px;
    font-size: 29px;
    padding-right: 0;
}
body.frontpage #content hr {
	margin: 0px 0 14px 0;
    padding: 0;
	border-top: 1px solid #e4e4e4;
}
body.frontpage #content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0px;
    min-height: 250px;
}
body.frontpage #content h2,
.features.news h2 {
    font-size: 28px;
    font-weight: 300;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    color: #333333;
    line-height: 1.35;
	margin: 0px 0 21px 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.frontpage #content h2 span {
}
body.frontpage #content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
    color: #333333;
    text-rendering: optimizeLegibility;
    padding: 0px 0 14px 0;
    margin-top: 0;
    font-size: 23px;
}
body.frontpage #content .grid_third:nth-of-type(3n+2) {
    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(4n) {
    margin-right: 0;
}
body.frontpage #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}
body.frontpage #content h2 a,
body.frontpage #content h3 a {
    border-bottom: none;
}
/* Feature boxes - third grid */
body.frontpage .feature-box-container {
    background: url(gfx/shadow.png) no-repeat;
    margin-top: 21px;
    padding: 35px 0 7px 0;
    overflow: hidden;
}
body.frontpage #content .grid4 .grid_third.feature-box {
    width: 261px;
}
body.frontpage .feature-box {
    background: #ffffff;
    box-shadow: 0px 0px 10px #e4e4e4;
    min-height: 230px;
    margin-bottom: 28px;
    border-radius: 3px;
    border: 1px solid #ebebeb;
    transition: 0.3s all ease;
    position: relative;
}
body.frontpage .feature-box img {
    transition: all 0.3s ease;
}
body.frontpage .feature-box:hover img {
    opacity: 0.85;
}
body.frontpage .feature-box img {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    max-width: 100%;
}
body.frontpage .feature-box:hover:after {
    content: "";
    margin-top: -10px;
    position: absolute;
    color: red;
    background: url(gfx/white-arrow.png) no-repeat;
    top: 40%;
    left: 35%;
    width: 100px;
    height: 100px;
    -webkit-animation-name: move;
    animation-name: move;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
}
body.frontpage #content .feature-box h3 {
    margin: 14px;
    padding: 0;
    font-size: 19px;
    text-align: center;
}
body.frontpage #content div.assistance-inner a {
    border-bottom: none;
}




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

/* iPad landscape > */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#wrapper {
        background: url(gfx/banner.jpg) -145px 0px no-repeat;
    }
    .titleinner {
        padding-top: 270px;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    #content {
        background-size: 415px;
        width: 415px;
    }
    #contentwrapper {
        width: 879px;
    }
	body.frontpage .titleinner {
        padding-top: 360px;
        background: transparent url("gfx/title-front-small.png") no-repeat scroll 186px -89px;
    }
	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.frontpage #content .grid4 .grid1 img {
        max-width: 100%;
    }
    #features {
        width: 650px;
        margin: 0px 0px 0px 232px;
    }
    /* //////////// Assistance /////////////// */
    body.frontpage #content div.assistance .grid2:first-of-type {
        margin-right: 0px;
    }
    body.frontpage #content div.assistance .grid2:first-of-type img {
        width: 325px;
    }
    body.frontpage #content div.assistance input[type="button"] {
        width: 230px !important;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 14px;
        padding-top: 6px;
    }
    body.frontpage #content div.assistance .grid2 h2{
        margin-top: 10px;
        margin-bottom: 14px;
    }
    body.frontpage #content div.assistance .grid2:last-of-type {
        padding: 0;
        padding-left: 21px;
        width: 304px;
    }
    /* //////////// Dates & notices /////////////// */
    body.frontpage #content .grid4 .notices article,
    body.frontpage #content .grid4 .dates article {
        width: 143px;
    }

    body.frontpage #content h3.resource,
    body.frontpage #content h3.reference {
        background-position: 57px -560px;
        width: 650px;
    }
    body.frontpage #content .dates h3 {
        background-position: -511px -789px;
    }
    body.frontpage #content .notices h3 {
        background-position: -63px -339px;
    }
    body.frontpage #content div.container .grid1 {
        width: 143px;
    }
    body.frontpage #content.otgx {
        width: 650px;
    }
}




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

Portrait tablet ^

********/

@media only screen and (max-width: 768px) {
	#wrapper {
        background-position: -300px 0;
        width: 753px;
    }
    .titleinner {
	    padding-top: 280px;
        padding-bottom: 0;
        background: transparent url("gfx/title-small.png") no-repeat scroll 232px 58px;
    }
    body.frontpage #title h1 {
		width: auto;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.2;
    }
    body.frontpage {
        background: none;
    }
	body.frontpage #wrapper {
        background: transparent url("gfx/banner-frontpage.jpg") no-repeat scroll -185px 0px;
        background-size: 1200px;
    }
    body.frontpage .titleinner {
        padding-top: 260px;
        background: transparent url("gfx/title-small.png") no-repeat scroll 234px 56px;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.3;
        font-size: 28px;
    }
    #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(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;
	}
    /* //////////// Assistance /////////////// */
    body.frontpage #content div.assistance .grid2:first-of-type {
        margin-right: 0px;
    }
    body.frontpage #content div.assistance .grid2:first-of-type img {
        width: 100%;
    }
    body.frontpage #content div.assistance input[type="button"] {
        width: 230px !important;
        margin-top: 0px;
        margin-bottom: 21px;
        font-size: 14px;
        padding-top: 6px;
    }
    body.frontpage #content div.assistance .grid2 h2{
        margin-top: 10px;
        margin-bottom: 14px;
    }
    body.frontpage #content div.assistance .grid2:last-of-type {
        padding: 0;
        padding-left: 21px;
        width: 304px;
    }
    body.frontpage #content h3.reference {
        background-image: url(gfx/sprite-widget.png);
        background-position: -174px -562px;
        width: inherit;
    }
    body.frontpage #content h3.resource {
        background-image: url(gfx/sprite-widget.png);
        background-position: -174px -562px;
        width: inherit;
        clear: both;
    }
    body.frontpage #content.otgx {
        width: 418px;
    }
    .training-skin #right {
        margin-left: 232px;
        max-width: 418px;
        box-sizing: border-box;
    }
    .training-skin #right .relatedinfo {
        width: 100%;
        padding-right: 0;
    }
    .training-skin #right .relatedinfo h2,
    .training-skin #right .relatedinfo:hover h2 {
        background: none;
    }
    #right .rightwidget {
        border-top: 1px solid #e4e4e4;
    }
    .training-skin #right .relatedinfo ul {
        border-bottom: none;
    }
    .training-skin #right .relatedinfo ul li {
        float: none;
    }
    .training-skin #right form,
    .training-skin  #right fieldset {
        width: 100%;
        box-sizing: border-box;
    }
}


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

@media only screen and (max-width: 700px) {
    body,
    body.frontpage {
        background: none;
    }
    #wrapper {
        width: 100%;
        background-position: right 0;
        background-size: 900px;
        background-repeat: repeat-x;
    }
    body.frontpage #wrapper {
        width: 100%;
        background-position: -331px -70px;
    }
    #content {
        background-size: contain;
    }
    body.frontpage #content {
        background: none;
    }
    .titleinner{
        background-position: 0px 70px;
        padding-top: 170px;
        width: 92%;
        background: url("gfx/title-small.png") no-repeat scroll 2px 32px;
        background-size:100px;
    }
    body.frontpage .titleinner {
        background: transparent url("gfx/title.png") no-repeat scroll 2px 56px;
        padding-top: 190px;
        background-size: 265px;
        background-position: 2px 56px;
    }
    #title h1 {
        font-size: 28px;
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
    }
    body.frontpage #title h1 {
        margin-left: 0;
        width: 100%;
        text-shadow: 1px 1px 0px #ffffff;
    }
    body.frontpage #title h1.notopimage {
        line-height: 1.3;
        font-size: 25px;
    }
    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 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;
    }
    /* //////////// Assistance /////////////// */
    body.frontpage #content div.assistance p {
        width: 100;
    }
    .assistance {
        float: left !important;
    }
    body.frontpage #content div.assistance p {
        width: 100%;
    }
    body.frontpage #content.otgx {
        width: 97%;
    }
}
@media only screen and (max-width: 515px) {
    #wrapper {
        background-position: -370px 0;
    }
}
