@import url(//fonts.googleapis.com/css?family=Open+Sans:300,700&subset=latin,latin-ext);

/*********

CELA CSS

*********/

body {
    background: url(gfx/background.png) center 0px repeat-x;
}
#wrapper {
	background: url(gfx/banner.jpg) center 0px no-repeat;
}
.titleinner {
	padding-top: 221px;
	margin-top: 0px;
    background: url(gfx/title.png) 230px 35px no-repeat;
}
#title h1 {
	padding: 5px 0 21px 0px;
	font-size: 34px;
	line-height: 1.2;
	margin: 0 0 0 23px;
	background: none;
    color: #6186b7;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    padding-right: 165px;
    max-width: 100%;
    margin-bottom: 14px;
}
#content {
    padding-top: 0;
}
#content h2 {
	margin: 35px 0 14px 0;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
    text-rendering: optimizeLegibility;
    border-bottom: 1px solid #e4e4e4;
    color: #000000;
    padding-bottom: 4px;
}
#content h3 {
}
#content  h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
ul#breadcrumbs li.breadcrumb_welcome {
	text-overflow: ellipsis;
	max-height: 17px;
	overflow: hidden;
	width: 100%;
	white-space: nowrap;
}
#right {
	background-image: none;
}


/* //////////// Frontpage styles /////////////// */

body.OTAGO017543 {
    background: url(gfx/background.png) center 0px repeat-x;
}
body.OTAGO017543 #wrapper {
	background: url(gfx/banner.jpg) center 0px no-repeat;
}
body.OTAGO017543 .titleinner {
}
body.OTAGO017543 #title h1 {
	line-height: 1.4;
}
body.OTAGO017543 #title h1.notopimage {
	max-width: 800px;
    font-size: 32px;
    padding-right: 0;
    color: #000000;
}
body.OTAGO017543 #content hr {
	margin: 0px 0 14px 0;
    padding: 0;
	border-top: 1px solid #e4e4e4;
}
body.OTAGO017543 #content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 105px;
}
body.OTAGO017543 #content h2 {
	font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 700;
    color: #6186b7;
    font-size: 20px;
    text-align: center;
    line-height: 1.2;
	padding: 0px;
	border-top: none;
	border-bottom: none;
    margin: 7px 0 21px 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: url(gfx/stroke.gif) repeat-x 0 center;
}
body.OTAGO017543 #content h2 span {
    background: #ffffff;
    padding: 0 10px;
}
body.OTAGO017543 #content h3 {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
	font-weight: 300;
    color: #7a9f76;
    text-rendering: optimizeLegibility;
    padding: 21px 0 21px 0;
}
body.OTAGO017543 #content ul {
    list-style-type: none;
}
body.OTAGO017543 #content li {
    list-style-image: url(gfx/circle.png);
    margin-bottom: 14px;
}
body.OTAGO017543 #content .grid1 {
    padding-top: 21px;
}
body.OTAGO017543 #content .grid4 .grid1:nth-of-type(4n) {
    margin-right: 0;
}
body.OTAGO017543 #content .grid1 ul {
    margin-left: 0;
}
body.OTAGO017543 #content p.clearall {
    line-height: 0;
    margin-bottom: 0;
}

body.OTAGO017543 #right {
	background-image: none;
	clear: both;
	margin: -250px 0 0 0;
	padding: 0;
}



/* MEDIA QUERIES ************/

/* iPad landscape > */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#wrapper {
        background: url(gfx/banner.jpg) 0px 0px no-repeat;
    }
    .titleinner {
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
    }
    body.OTAGO017543 #wrapper {
        background: url(gfx/banner.jpg) -170px 0px no-repeat;
    }
	body.OTAGO017543 .titleinner {  
    }
	body.OTAGO017543 #title h1.notopimage {
		max-width: 650px;
	}
    body.OTAGO017543 #content h2 span {
        padding: 0 2px;
    }
	#content .grid4 .grid_third {
        width: 186px;
        margin-right: 46px;
    }
    body.OTAGO017543 #content .grid4 .grid1 {
        width: 150px;
        margin-right: 16px;
    }
    body.OTAGO017543 #content .grid4 .grid1 img {
        max-width: 100%;
    }
}

/* Portrait tablet ^ */
@media only screen and (max-width: 768px) {
	body {
    }
    #wrapper,
    body.OTAGO017543 #wrapper {
        background-position: -340px 0;
    }
    .titleinner {
        padding-bottom: 0;
    }
    body.OTAGO017543 #title h1 {
		width: auto;
	}
    #title h1.notopimage {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.2;
    }
    body.OTAGO017543 #title h1.notopimage {
        line-height: 1.2;
    }
	body.OTAGO017543 #content {
        padding-top: 0;
    }
    body.OTAGO017543 #content h2 {
        font-size: 24px;
        text-align: left;
    }
    body.OTAGO017543 #content h2 span {
        text-align: left;
        padding: 0 10px 0 0;
    }
    body.OTAGO017543 #content .grid_third {
		width: 100%;
	}
    body.OTAGO017543 #content .grid4 .grid1:nth-of-type(2n) {
        margin-right: 0;
    }
    body.OTAGO017543 #content .grid1 {
        width: 44.5%;
        min-height: 0;
        padding-top: 0;                                
    }
	#right {
		border-top: 1px solid #e4e4e4;
		margin-top: 0px;
	}
	body.OTAGO017543 #right {
		border-top: none;
		width: 186px;
	}
}

/* Mobile styles (phone and small tablet) media query */

@media only screen and (max-width: 700px) {                         
    body,
    body.OTAGO017543 {
        background: none;
    }
    #wrapper,
    body.OTAGO017543 #wrapper {
        background: url(gfx/banner.jpg) -500px 0px no-repeat;
        background-size: 1200px;
    }
    .titleinner,
    body.OTAGO017543 .titleinner{
	    padding-top: 230px;
        padding-bottom: 0px;
        width: 92%;
        background: url(gfx/title.png) 0px 49px no-repeat;
        padding-top: 180px;
        background-size: 271px;
    }     
    #title h1 {
        font-size: 28px;
        margin-left: 0;
        width: 100%;
    }
    .titleinner h1 {
        max-width: 100% !important;
        min-width: 186px !important;
}
    body.OTAGO017543 #title h1 {
        margin-left: 0;
        width: 100%;
    }
    body.OTAGO017543 #title h1.notopimage {
        line-height: 1.2;
        font-size: 26px;
    }
    body.OTAGO017543 #content {
    }
    body.OTAGO017543 #content h2 {
        font-size: 22px;
        text-align: left;
    }
    body.OTAGO017543 #content .grid1 {
        width: 44%;
        margin-right: 12%;
        margin-bottom: 0;
    }
    body.OTAGO017543 #content .grid2 {
        width: 45%;
        float: left;
    }
    body.OTAGO017543 #content div.grid2.frontpage-boxes {
        width: auto;
        max-width: 100%;
        min-height: 10px;
    }
    body.OTAGO017543 #content .grid1 p img {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    body.OTAGO017543 #content .info-icon a,
    body.OTAGO017543 #content .requirements-icon a,
    body.OTAGO017543 #content .submission-icon a,
    body.OTAGO017543 #content .nzgl-icon a {
        padding: 56px 10px 14px 10px;
    }
}