/*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}


body { 
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Helvetica Neue, Helvetica, Arial;
	background: url( http://www.aaia.com.au/garma12.jpg);
    	background-size: 100% 100%;
    	background-repeat: no-repeat;
	color: #555;
}

#headernav a {

	color: #4C9CF1;
	text-decoration: none;
	font-weight: bold;

}

#headernav a:hover {

	color: #B73518;

}



header {

	background: #fff;
	width: 100%;
	height: 100px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 4px solid #4C9CF1;
	z-index: 100;

}

#logo{

	margin: 10px;
	float: left;
	width: 305px;
	height: 97px;
	background: url(../logo2.gif) no-repeat center;
	display: block;

}


#liner {

	background: transparent;
	width: 100%;
	height: 25px;
	position: relative;
	
	border-bottom: 4px solid #4C9CF1;
      display: block;
	z-index: 100;

}





#headnav {

	float: right;
	padding: 20px;	
	
}

#menu-icon {

	display: hidden;
	width: 12px;
	height: 14px;
	background: #FFF url(../menu-icon.png) center;

}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}

#headernav {

	list-style: none;

}

#headernav li {

	display: inline-block;
	float: left;
	padding: 10px

}

#headernav li.current {

	color: #2262AD;

}

section {
	
	margin: 80px auto 40px;
	max-width: 1400px;
	position: relative;
	padding: 20px

}

h1 {

	font-size: 2em;
	color: #661515;
	line-height: 1.15em;
	margin: 20px 0 ;

}

h2 {

	font-size: 1.48em;
	color: #661515;
	line-height: 1.0em;
	margin: 20px 0 ;

}

h4 {

	font-size: 0.8em;
	color: #0000;
	line-height: 1.0em;
	margin: 20px 0 ;

}

h5 {

	font-size: 1.10em;
	color: #661515;
	line-height:0.9em;
	margin: 20px 0 ;

}




p {

	line-height: 1.45em;
	margin-bottom: 20px;

}




#face {
	float:right;
}


#demo-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
     
#demo-nav li {
  border: solid #878382;
  border-width: 0 0 1px 0;
}
     
#demo-nav li.current a {color: #9b9796;}
#demo-nav li.current a:hover {color: #111;}


#demo-nav a {
  color:#fff;
  padding: 0.75em 5%;
  text-decoration: none;
  display: block;
  background-color: B56653;
  background-image: -webkit-linear-gradient(top, #753E31, #676362);
  background-image: -moz-linear-gradient(top, #753E31, #676362);
  background-image: -ms-linear-gradient(top, #753E31, #676362);
  background-image: -o-linear-gradient(top, #753E31, #676362);
}
     
#demo-nav a:hover {
  background-color: #3A1B14;
  background-image: -webkit-linear-gradient(top, #602618, #3A1B14);
  background-image: -moz-linear-gradient(top, #602618, #3A1B14);
  background-image: -ms-linear-gradient(top, #602618, #3A1B14);
  background-image: -o-linear-gradient(top, #602618, #3A1B14);
  color: #B73518;
}

.overflow-demo {
	overflow: hidden; /* this will clear the float from .item */
}
.overflow-demo .item {
	width: 45%;
	margin-right: 5%;
	float: left;
}



.overflow-demo .item img {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
.overflow-demo .item .content {
	/*overflow: hidden; /* this will clear the float from .item img */
	min-width: 130px;
}

.overflow-demo .item .content .dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.overflow-demo .item .content .dropdown {
    position: relative;
    display: inline-block;
}

.overflow-demo .item .content .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.overflow-demo .item .content .dropdown-content a {
    color: red;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.overflow-demo .item .content .dropdown-content a:hover {background-color: #f1f1f1}

.overflow-demo .item .content .dropdown:hover .dropdown-content {
    display: block;
}

.overflow-demo .item .content .dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.overflow-demo h4 {
	font-size: 1.4em;
	margin: 0 0 5px;
	padding: 0;
	color: #666;
}



.overflow-demo p {
	font-size: 0.9em;
	margin: 0 0 5px;
	padding: 0;
	color: #666;
}



/*MEDIA QUERY*/



@media screen and (min-width: 54em) {
  #demo-nav {
    background: #4C9CF1;
    padding: 1.5em 0;
    border-bottom: 1px solid #878382;
    overflow: hidden;
  }
         
  #demo-nav li {border: 0;}
         
  #demo-nav a {
    padding: 0.75em 0 0.75em 5%;
    float: left;
    background-color: transparent;
    background-image: none;
    border-width: 0;
  }
         
  #demo-nav a:hover {
    background-color: transparent;
    background-image: none;         
  }
}

@media screen and (min-width: 56em) {
  #demo-nav a {padding: 0.75em 1.5em 0.75em 5%;}
}


@media screen and (max-width : 1020px) {

	header {

		position: absolute;

	}

	#menu-icon {

		display: inline;
		position: fixed;
		padding: 20px;
		background: #FFF url(../menu-icon.png) center;
		border: 2px solid #777;
		left: 20px;
		top: 5px;
		

	}

	#headnav ul, #headnav:active ul { 

		display: none;
		position: fixed;
		padding: 20px;
		background: #fff;
		border: 5px solid #444;
		left: 20px;
		top: 60px;
		width: 50%;
		border-radius: 4px 0 4px 4px;

	}

	#headnav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	#headnav:hover ul {

		display: block;

	}



