@charset "utf-8";
body  {
	font: 100%/1.4em Arial, Helvetica, sans-serif;
	background: #75cb72 url(../images/bg.jpg) fixed top center no-repeat;
	margin: 0; 
	padding: 0;
	text-align: center; 
	color: #555d66;
}
a{
	color:#0e6fb9;
	text-decoration:none;
	}
a:hover{
	color:#e02d1e;
	}
*{margin:0; padding:0;}
img{border:none;}
td {vertical-align:top;	}
table{border-collapse:collapse; margin:0.7em 5%;}
#container { 
	width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF url(../images/sidebar-bg.png) repeat-y;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header { 
	background: #fff url(../images/sport-festival-netball-football-hockey-touch.jpg) no-repeat; 
	width: 960px;
	height:367px;	
} 
#logo {width:200px; padding:60px 0 10px 0; width:240px; text-align:center;}
#logo h1 { 
	font:1.2em/1.5em Arial, Helvetica, sans-serif;		
	text-align:center;
	color:#ffffff;
	margin:0;
	padding:10px 0 0 0;
	border:none;
	}
#sidebar {
	float: left; /* since this element is floated, a width must be given */
	width: 180px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	
	padding: 40px 10px 15px 20px;
}
/*-------------------------------------------------------------------nav*/
dl.links { 
	width: 198px; /* width of block according to your background image */
	color:#ea200b;
}

dl, dt, dd { /* suppression of all margins and paddings */
	margin: 0;
	padding: 0;
}
dl.links { 
	background:#ea200b url(../images/red-box_bottom.png) bottom left no-repeat;
	padding-bottom: 20px;
}
dl.links dt { /* box title definition */
	height: 15px;
	background: url(../images/red-box_top.png) top left no-repeat;
	text-indent: -10000px;
}
dl.links dd {
	padding: 0 10px 0 20px; /* internal block spaces administration */
	text-align: left;
	background: url(../images/arrow_yellow.png) left 7px no-repeat; 
	font-size:85%;
	font-weight:bold;
	line-height:2em;
	color:#FFFFFF;
}
dl.links dd a {
	color:#FFFFFF;
}
dl.links dd a:hover {
	color:#fff;
	border-bottom:1px dotted #FFFFFF;
}
/*-------------------------------------------------------------------rounded box*/
div#nifty{ margin:15px 0 0 0;background: #eA200b; width:195px;}
 
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;
    overflow: hidden; background: #eA200b}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
/*-------------------------------------------------------------------draws rounded box*/
div#draw-box{ margin:15px 0 0 5%;background: #C2EEFC; width:550px;}
 
b.dtop, b.dbottom{display:block;background: #FFF}
b.dtop b, b.dbottom b{display:block;height: 1px;
    overflow: hidden; background: #C2EEFC}
b.d1{margin: 0 5px}
b.d2{margin: 0 3px}
b.d3{margin: 0 2px}
b.dtop b.d4, b.dbottom b.d4{margin: 0 1px;height: 2px}
/*-------------------------------------------------------------------content*/
#mainContent { 
 	width: 700px;
	margin: 0 0 0 230px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 30px 0 20px 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
#gallery-button{padding: 20px 0 20px 0;}

#gallery-button img{border:1px solid #000; margin:5px 10px 10px 0;}
h1{
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	margin:0.7em 5% ;
	padding-bottom:5px;
	font-size:1.5em;
	color:#03245e;
	border-bottom:1px dotted #03245e;
	}
h2{
	font-size:110%;
	color:#525a63;
	margin:0.7em 5%;
	font-size:110%;
	}
h3{
	font-size:100%;
	color:#525a63;
	margin:0.7em 5%;
	font-size:110%;
	}
	
p{
	margin:0.7em 5%;
	font-size:90%;
	}
	
#mainContent ul{ margin-left:7%; font-size:90%;}
#mainContent ul li{ line-height:1.8em; padding-left:10px;}

/*-------------------------------------------------------------------draw table*/
#draw-table{margin:0 0 0 5px;padding:0;text-align:left;}

#draw-table p{margin:1% 2%; text-align:left; font-size:75%; font-weight:bold;}
#draw-table td{ vertical-align:top; text-align:left; border-bottom:1px dotted #0099FF;}

.sport-table {margin:0 0 0 5%;padding:0;text-align:left;}
.sport-table td p{margin:0 2%; padding:0; text-align:left; font-size:75%;}
.sport-table td{padding:2px;}

/*-------------------------------------------------------------------footer*/
#footer {
	border-top:3px solid #03245e; 
	padding: 10px 10px 10px 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#49c5a5 url(../images/play-football-in-austalia.jpg) no-repeat; 
	height: 80px;
} 
#footer p {
	float:right;
	font-size:70%;
	color:#FFFFFF;
	text-align:right;
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding:0 5% 10px 5%; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
 
#footer  ul.nav{
	padding:0 0 10px 0;
	margin:0 0 0 20px;
	list-style-type: none;
	text-align: left;
}

#footer ul.nav li {
	float:left;
	margin:0;
	list-style-type: none;
	}

#footer ul.nav li a{
	display:block;
	text-decoration: none;
	border-right:1px solid #fff;
	color:#fff;	
	padding:0 8px;
	margin:0;
	font:bold 70% Arial, Helvetica, sans-serif;
}

#footer ul.nav li a:hover{
	color: #f5bc0d;
}
#footer ul.nav li a.right { border-right:none; }
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}