@charset "UTF-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #666;
	background-color:#000;
}

a {
	color:#fff;
}

a:hover{
     color:#999;	
}
a:link a:visited{
    color: #666;
}

h1, h2{
color:#fff;	
}




#inner {
	
}

/*                 */
/* Main Navigation */
/*                 */
#nav{
text-align: left;
	font-size: 85%;
	padding: 2px 0;
	padding-top:77px;
}

#nav li
{
	display: inline;
	list-style-type: none;
	padding-left: 10px;

}

#nav a:link, #nav a:visited
{
	color: #666;
	background-color: transparent;
	text-decoration: none;
}

#nav a:hover, #nav a:active
{
	color: #fff;
	border-bottom:#FFF 7px solid;
}

/*                 */
/* Sidebar Navigation */
/*                 */

#side-nav {
list-style:square;
text-align: left;
padding-left: 0;
}

#side-nav li a {
display:block;
padding-top:4px;
text-decoration:none;
color:#999966;
}

#side-nav li a:hover {
	color:#fff}
	
#container {
	width: 900px;
	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. */
	font-size: 80%;
} 
#header {
	height:99px;
	background-image:url(https://www.grewelthorpe.org.uk/images/Grewtop-BWhead.jpg);
	background-position:bottom left;
	background-repeat:no-repeat;
	text-align:right;
	padding-right:50px;
	margin-left:20px;

} 
#header h1 {
	margin: 0; 
	padding: 10px 0;
}
#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 135px; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 10px;
	margin-left:0px;
	border-right: 1px dotted #666;
}


#sidebar1 h3{
margin-top:30px;
font-size:90%;
}

#sidebar1 a{
color:#666;
}

#sidebar1 a:hover{
color:#fff;
}

#mainContent {
	margin: 0 50px 0 180px;
	padding: 0 20px;
} 
#footer { 
	padding: 0 10px 0 20px;
	height:120px;
        color:#666;
} 
#footer a {
        color:#333;
}
#footer a:hover {
        color:#999;
        text-decoration:none;
}

#footer p {
        font-size:80%;
	margin: 0 0 0 20px; 
	padding: 20px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

.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;
}
