p {
	font-family: Arial, Helvetica, sans-serif;
}

body {
	background-image: url(sand.jpg);
	background-repeat: repeat-x;
}
.bg_image {
	background-image: url(../sand.jpg);
	background-repeat: repeat;
}

.indivfontbody {
	text-align: center;
}
.textleft {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	text-align: left;
}
.submit_site {
	margin: 0;
	padding: 0;
	background-image:  url(http://www.schoolfonts.com.au/onlineStore/images/schoolsite.jpg);
	/*submit button image set here*/
	width: 98px;
	height: 39px;
	font-size: 0.1px;
	color: #FFFFFF;
	text-align: center;
}

.submit_home {
	margin: 0;
	padding: 0;
	background-image:  url(http://www.schoolfonts.com.au/onlineStore/images/household.jpg);
	/*submit button image set here*/
	width: 98px;
	height: 39px;
	font-size: 0.1px;
	color: #FFFFFF;
	text-align: center;
}

.submit_pub {
	margin: 0;
	padding: 0;
	background-image:  url(http://www.schoolfonts.com.au/onlineStore/images/publish.jpg);
	/*submit button image set here*/
	width: 98px;
	height: 39px;
	font-size: 0.1px;
	color: #FFFFFF;
	text-align: center;
}

.unwrapcontainer {
    max-width: 80em; /* 1280 px */
	margin: auto;
}
.unwrapcontent
{
	overflow: hidden;
	/*padding: 1em; 1em 0em 1em trbl */
	width: 100%;
	background-color: #fff;
}

.unwrapcontentsand {
	overflow: hidden;
	/*padding: 1em; 1em 0em 1em trbl */
	width: 100%;
	background-color:#fff7e6;
}

.container
{
	max-width: 70em; /* 1120 px */
	margin: 0 auto;
	
}

.header
{
	color: #fff;
	background: #fff;
	padding: .5em 1em; /*tb rl */
}
.img-responsive { width: 100%;
max-width: 1086px; /* max for header pic */
height: auto; 
}
.nav-bar
{
	background: #fff;
	padding: 0;

}

/* -----------------------
nav
------------------------*/
	
	#nav
		{
			max-width: 100rem; /* 1280 was width: 60em; 1000 */
			font-family: 'Open Sans', sans-serif;
			font-weight: 400;
			/* position: absolute;
			top: 25%;
			left: 50%; /* ? */
			 /* margin-left: -30em;  margin-left: -30em; 30 480 */
			}

			#nav > a
			{
				display: none;
				
			}

			#nav li
			{
				position: relative;
				
			}
				#nav li a
				{
					color: #808080; /*menu text Dark gray #808080; */
					text-decoration: none;
					display: block;
				}
				#nav li a:hover
				{
					text-decoration: none;
					color: #0000cc; /* dark blue active dropdown choice   */
					/*background-color: #f0f8ff !important; alice blue hover dropdown choice; fff*/
				}
				#nav li a:active
				{
					text-decoration: none;
					color: #00008b; /* dark blue; */
					background-color: #f0f8ff !important; /*alice blue clicked dropdown choice; fff*/
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: royalblue; /* dropdown arrow colour */
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 3.75rem; /* was 2rem 3.75em 60 */
				background-color: #fff; /*e15a1f;*/
				margin-left: 0em;
				
			}
				#nav > ul > li
				{
					width: 15%; /* proportional width of menu items (6 = 16.6, 7 = 14.2) */
					height: 100%;
					float: left;
					list-style-type: none; /* along with margins removes bullets */
					margin: 0; /* */
				
					padding: 0;
				}
					#nav > ul > li > a
					{
						height: 100%;
						font-size: 1rem; /*1.5rem 24 */
						line-height: 1; /* 60 (24) */
						text-align: left;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							/* border-right: 1px solid #cc470d; vertical line between nav btns*/
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background-color: #fff; /* #cc470d; */
						}


				/* second level */

				#nav li ul
				{
					background-color: #f9f9f9;  /* bg colour for dropdown very light grey ) */
					display: none;
					position: absolute;
					top: 100%;
					list-style-type: none; /* along with margins removes bullets */
					margin: 0;
					padding: 0;
					box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    				z-index: 100;
					width: 300px
					/*line-height:.5%; */
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 1rem; /* was 1.25rem 20 */
							border-top: 1px solid #F0F8FF; /* #e15a1f; * horizontal lines between dropdowns */
							padding: 0.75em; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								
								color: #0000cc; /* dark blue menu text active dropdown choice; */ /* replaced background-color: #f0f8ff alice blue active dropdown choice; */
}


@media screen and (max-width: 799px){
	header h1{font-size:8rem}
	hr{margin:2rem 0}
	#fork-this{display:none}
	#share #fb{top:-8px}
	.button{margin-left:0;margin-right:0;width:100%}
	.button{font-size:1.3rem;padding:1.4rem 2rem}
}
	
@media screen and (max-width: 410px){
	header h1{font-size:5rem}
	.box{width:100%;margin-left:0;margin-right:0}
}
@media (min-width: 70em) /*1120 */
{
	.header { padding: 0.5em 3em; } 
	.nav-bar { padding: 1em 0em; } /* tb rl was 1em 3em;*/ 
	.content { padding: 0em 1em 0em 0em; /* trbl was 2em 3em;*/ }
	.container {
		width: auto;
		padding: 0; /* tb rl was 0 .5em;*/ 
		}
		.nav li
	{
		display: inline;
		margin: 0 1em 0 0;
		/* right: 20% */
	}
	
	
	
	#nav
	{
		max-width: 80rem; /* ;* 1280 was width: 60em; 1000 */
		position: static;
		width: auto;
		top: auto;
		left: 0px;
		margin: 0 auto; /*centers menu */

				
			}
	.nav a
	{
		display: inline;
		padding: 0;
		border-bottom: 0;
		/* margin-left: 10%; */
	}
	#nav > ul
			{
				height: 2rem; /* was 3.75em 60 */
				background-color: #fff; /*e15a1f;*/
				 /*margin-left: 20%; xxx horiz pos menubar */
				margin-left: 10%;
			}
			#nav > ul > li
				{
					width: 15%; /* proportional width of menu items (6 = 16.6) */
					height: 100%;
					float: left;
					list-style-type: none; /* along with margins removes bullets */
					margin: 0; /* */
					padding: 0;
					z-index: 100;
					
				}
	.main
	{
		float: left;
		width: 60%; /* was width: 65%; */
		margin-right: 5%;
		margin-bottom: 1em;
		
	}

	.aside
	{
		float: left;
		width: 80%; /* was width: 30%; */
		margin-bottom: 1em;
	}

	.footer { padding: 2em 3em; 
		margin: 0 auto; /*centers footer */
	}
	
	
}
@media (max-width: 70em) /*960 */
{
	
		#nav > ul{
				height: 2rem; /* was 3.75em 60 */
				 /*background-color: #fff;e15a1f;*/
				margin-left: 10%; /* horiz re-pos menubar now right column goes under*/
				
			}
			#nav > ul > li
				{
					width: 15%; /* proportional width of menu items (6 = 16.6) */
					height: 100%;
					float: left;
					list-style-type: none; /* along with margins removes bullets */
					margin: 0; /* */
				
					padding: 0;
				}
}
				
@media only screen and ( max-width: 40em ) /* 800 was 40 640 */
		/* menu is  full width block for mobile */
		/* down to two pic columns */
		{
			html
			{
				font-size: 100%; /* was 75% 12 */
			}
			
			.main
				{
					float: left;
					width: 100%; /* wide width: 60%; ordered list (*aside) now goes to bottom*/
					margin-right: 5%;
					margin-bottom: 1em;
				}
			.indexcontainer {
				margin: 1em auto 0 auto; /* lower slideshow below menu dropdown */
				}
				
				
			ul.rig {
				margin-left: 0;
			}
			ul.rig li {
				width: 40% !important; /* double column over-ride all li styles */
				/* margin: 0 0 20px; */
				display: inline-block;
				padding: 10px;
				margin: 0 0 2.5% 2.5%;
				background: #fff;
				border: 1px solid #ddd;
				font-size: 16px;
				font-size: 1rem;
				vertical-align: top;
				box-shadow: 0 0 5px #ddd;
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
				
			}
			ul.indexcolumns li {
				width: 45% !important; /* double column over-ride all li styles */
				/* margin: 0 0 20px; */
				display: inline-block;
				padding: 10px;
				margin: 0 0 2.5% 2.5%;
				background: #fff;
				border: 1px solid #ddd;
				font-size: 16px;
				font-size: 1rem;
				vertical-align: top;
				box-shadow: 0 0 5px #ddd;
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
			}

			
				#nav > a /* css mobile nav icon */
				{
					width: 3.125em; /* 50 */
					height: 3.125rem; /* was 3.125em 50 */
					/*padding-bottom: 1em; space below icon but no effect on dropdown */
					text-align: left;
					text-indent: -9999px;
					background-color: #fbd383; /* v light orange was #C5DFFA; mobile nav icon was alice blue f0f8ff; */
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
					
				}



			/* first level */
				
			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
				margin-left: 0;
				/*background-color: #f9f9f9;   bg colour for top level mobile stacked menu background very light grey  */
				
			}
				#nav:target > ul
				{
					display: block; 
					z-index: 100;
					
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
					
				}
				
				#nav > ul > li > a
				{
					height: auto;
					line-height: 2; /* top level mobile stacked menu */
					text-align: left;
					padding: 0 0.833em; /* 20 (24)  */
				}
					#nav > ul > li:not( :last-child ) > a
					{
						border-right: none;
						border-bottom: 1px solid #F0F8FF; /*  */
					}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
			
		}


@media only screen and ( max-width: 30em ) /* 480 */
{
    #nav
    {
        position: relative;
    }
        #nav > a
        {
        }
        #nav:not( :target ) > a:first-of-type,
        #nav:target > a:last-of-type
        {
            display: block;
        }
 
    /* first level */
 
    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
    }
        #nav:target > ul
        {
            display: block;
			z-index: 100;
        }
        #nav > ul > li
        {
            width: 100%;
            float: none;
        }
 
    /* second level */
 
    #nav li ul
    {
        position: static;
		
	
    }
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* single column over-ride all li styles */
		margin: 0 0 20px;  /* t rl b */
	}
	ul.rigcat li {
		width: 100% !important; /* single column over-ride all li styles */
		max-width: 400px;
		margin: 0 0 20px;  /* t rl b */
	}
	ul.indexcolumns li {
		width: 100% !important; /* single column over-ride all li styles */
		margin: 0 1rem 1rem 0;  /* trbl */
	}
}

