@import url(https://fonts.googleapis.com/css?family=Oxygen:400,300);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:700);

/**
 * YUI Reset
 * @module reset
 * @namespace
 * @requires 
 */
html {
	color: #000;
	background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
select,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

address,
button,
caption,
cite,
code,
dfn,
em,
input,
optgroup,
option,
select,
strong,
textarea,
th,
var {
    font:inherit;
}

del,
ins {
	text-decoration: none;
}

li {
	list-style: none;
}

caption,
th {
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
	font-variant: normal;
}

sup {
	vertical-align: baseline;
}

sub {
	vertical-align: baseline;
}

/*because legend doesn't inherit in IE */
legend {
	color: #000;
}

/* end of YUI reset */

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

*,:before,:after,:hover {
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

html, body {
	height: 100%;
	width: 100%;
	font-family: 'Oxygen', sans-serif;
	font-size: 14px;
	background-color: #333;
}

h1, h2, h3, h4 {
	font-family: 'PT Sans', sans-serif;
	font-weight: bold;
	text-align: center;
	margin: 5px 0px;
	color: white;
}

h1 {
	font-size: 32px;
	margin-bottom: 20px;
}

h1 small {
	font-size: 32px;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
}

#information p {
	line-height: 22px;
	letter-spacing: 1px;
	margin: 15px 0px;
}

p.initials {
	display: none;
}

#mobileimg {
	display: none;
}

#header {
	background-color: #252525;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	height: 12px;
}

#content {
	width: 100%;
	max-width: 1200px;
	border: 1px solid #252525;
	margin: auto;
	background: url("../img/firsthomebackgroundV2-1200x928.jpg") no-repeat;
	background-size: cover;
	background-position: top left;
}

#information {
	float: right;
	width: 75%;
	color: white;

}

#informationheader {
	float: right;
	width: 50%;
	background: url("../img/greenbggradient.png") repeat-x; /*no gradient/transparency support*/
	background-position: top left;
	background: -webkit-linear-gradient(rgba(60,135,85,0.9), rgba(53,129,92,0.9)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(60,135,85,0.9), rgba(53,129,92,0.9)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(60,135,85,0.9), rgba(53,129,92,0.9)); /* For Firefox 3.6 to 15 */
	background: linear-gradient( rgba(60,135,85,0.9), rgba(53,129,92,0.9));
	margin-top: 40px;
	padding: 30px;
}

#informationheader #logo {
	display: none;
}

#moreinfo {
	float: left;
	clear: both;
	width: 80%;
	padding: 40px 100px;
	margin-top: 15%;
	background: url("../img/greenbggradient.png") repeat-x; /*no gradient/transparency support*/
	background-position: bottom left;
	background: -webkit-linear-gradient(rgba(53,129,92,0.9), rgba(41,121,106,0.9)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(53,129,92,0.9), rgba(41,121,106,0.9)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(53,129,92,0.9), rgba(41,121,106,0.9)); /* For Firefox 3.6 to 15 */
	background: linear-gradient( rgba(53,129,92,0.9), rgba(41,121,106,0.9));
}

#selectstate {
	float: left;
	width: 25%;
	background: #438662; /*no gradient support*/
	background: -webkit-linear-gradient(#4d9068, #317a63); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#4d9068, #317a63); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#4d9068, #317a63); /* For Firefox 3.6 to 15 */
	background: linear-gradient( #4d9068, #317a63 );
	padding-bottom: 5px;
}

#selectstate li a {
	display: block;
	height: 100px;
	margin-right: 10px;
	margin-top: 2px;
	padding-top: 75px;
	border: 1px solid #333;
	
	text-decoration: none;
	text-align: center;
	color: #333;
	font-weight: 450;
	
	background-color: white;
	background-repeat: no-repeat;
	background-size: auto 56px;
	background-position: center 10px;
	
	transition: 0.5s;
}

#selectstate li a:hover {
	margin-left: 20px;
	margin-right: 30px;
}

#footer {
	background-color: #252525;
	color: #fff;
	width: 100%;
	max-width: 1200px;
	margin: auto;
}

#footer ul {
	list-style-type: none;
	text-align: center;
	padding: 30px 10px;
}

#footer ul li {
	display: inline;
	margin-top: 10px;
}

#footer ul li a {
	color: white;
	text-decoration: none;
	padding: 10px;
}

#footer .copyright {
	clear: both;
	padding: 10px 10px 40px 10px;
	text-align: center;
}

#selectstate li a {
	
}

#a_act {
	background-image: url("../img/act_logo.png");
}
#a_nsw {
	background-image: url("../img/nsw_logo.png");
}
#a_nt {
	background-image: url("../img/nt_logo.png");
}
#a_qld {
	background-image: url("../img/qld_logo.png");
}
#a_sa {
	background-image: url("../img/sa_logo.png");
}
#a_tas {
	background-image: url("../img/tas_logo.png");
}
#a_vic {
	background-image: url("../img/vic_logo.png");
}
#a_wa {
	background-image: url("../img/wa_logo.png");
}

@media (max-width: 1100px) {
	#selectstate {
		width: 30%;
		
	}
	
	#selectstate li a {
		background-size: auto 56px;
		background-position: center 10px;
	}
	
	#information {
		width: 70%;
	}
	
	#informationheader {
		width: 80%;
	}
	
	#moreinfo {
		padding: 30px 30px;
	}
}

@media (max-width: 800px) {
	#moreinfo {
		margin-top: 2%;
	}
	
	#a_act {
		background-image: url("../img/act_logo_small.png");
	}
	#a_nsw {
		background-image: url("../img/nsw_logo_small.png");
	}
	#a_nt {
		background-image: url("../img/nt_logo_small.png");
	}
	#a_qld {
		background-image: url("../img/qld_logo_small.png");
	}
	#a_sa {
		background-image: url("../img/sa_logo_small.png");
	}
	#a_tas {
		background-image: url("../img/tas_logo_small.png");
	}
	#a_vic {
		background-image: url("../img/vic_logo_small.png");
	}
	#a_wa {
		background-image: url("../img/wa_logo_small.png");
	}
	
	#selectstate h4 {
		font-size: 16px;
	}
	
	p.fullname {
		display: none;
	}
	p.initials {
		display: block;
	}
}

@media (max-width: 500px) {
	#content {
		background: none;
	}
	#information {
		float: none;
		background: none;
		width: 100%;
	}
	
	#mobileimg {
		display: block;
		height: 250px;
		width: 100%;
		background-image: url("../img/firsthomebackgroundsmall-V2.jpg");
		background-repeat: no-repeat;
		background-size: cover;
	}
	
	#selectstate {
		float: none;
		width: 100%;
	}
	
	#selectstate li a {
		background-size: auto 68px;
		margin-right: 4px;

	}
	#informationheader {
		width: 100%;
		float: none;
		background: none;
		margin: 0;
		padding: 0;
	}
	
	#informationheader #title {
		background: white url("../img/header_wave.png") repeat-x;
		background-size: cover;
		width: 100%;
		padding: 12px;
	}
	
	#informationheader h1 {
		line-height: 32px;
		margin: 0;
		color: #5d9a74;
		width: 210px;
		margin: auto;
		text-align: left;
	}
	
	#informationheader #logo {
		display: block;
		float: left;
		height: 60px;
		width: auto;
		margin-right: 10px;
	}
	
	#informationheader h1 small {
		display: block;
		font-size: 24px;
	}
	
	#generalinfo {
		width: 100%;
		margin: 0;
		background: url("../img/greenbggradient.png") repeat-x; /*no gradient/transparency support*/
		background-position: top left;
		background: -webkit-linear-gradient(rgba(60,135,85,1), rgba(53,129,92,1)); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(rgba(60,135,85,1), rgba(53,129,92,1)); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(rgba(60,135,85,1), rgba(53,129,92,1)); /* For Firefox 3.6 to 15 */
		background: linear-gradient( rgba(60,135,85,1), rgba(53,129,92,1));
		float: left;
		padding: 20px 10px 20px 10px;
	}
	
	#moreinfo {
		width: 100%;
		padding: 0;
		margin: 0;
		background: url("../img/greenbggradient.png") repeat-x; /*no gradient/transparency support*/
		background-position: bottom left;
		background: -webkit-linear-gradient(rgba(53,129,92,1), rgba(41,121,106,1)); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(rgba(53,129,92,1), rgba(41,121,106,1)); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(rgba(53,129,92,1), rgba(41,121,106,1)); /* For Firefox 3.6 to 15 */
		background: linear-gradient( rgba(53,129,92,1), rgba(41,121,106,1));
		float: left;
		padding: 0px 10px 20px 10px;
	}
	
	#selectstate {
		clear: both;
		color: #333;
		background: white;
		padding: 20px;
	}
	
	#selectstate h4 {
		color: #333;
		padding-bottom: 10px;
	}
	
	#selectstate li {
		width: 50%;
		padding: 2px;
		float: left;
	}
	
	#selectstate li a {
		height: 140px;
		background-position: center 20px;
		padding-top: 100px;
	}
	
	#footer ul li {
		display: block;
		width: 100%;
		padding-bottom: 20px;
	}
	
}

@media (max-width: 360px) {
	#selectstate li a {
		background-size: auto 50px;
		background-position: center 26px;
		height: 120px;
		padding-top: 80px;
	}
}