body {
	padding-left: 10%;
	padding-right: 10%;
	margin:0;
	background-color: #F0F0F0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
	min-width:600px;		/* Minimum width of layout - remove line if not required */
					/* The min-width property does not work in old versions of Internet Explorer */
	font: 8pt/1.5 tahoma, sans-serif;
	font-size: 70%;
	scrollbar-arrow-color: #0066C8;
	scrollbar-3dlight-color: white;
	scrollbar-darkshadow-color: white;
	scrollbar-face-color: #f4f4f0;
	scrollbar-highlight-color: white;
	scrollbar-shadow-color: white;
	scrollbar-track-color: white;
	}

img {
	border-style: none;}

/* STYLE RULES FOR MAIN IMAGE AND TITLES*/
#header { 
	clear:both;
	float:left;
	width:100%;
    padding-left: 0px;
    background-image: url(IMAGES/mainlogobar.png);
    background-repeat: no-repeat;
	text-align: center;
	background-position:center;
	min-height: 135px;
	margin-top: 10px;
	border-top: solid black 01px;
	border-left: solid black 01px;
	border-right: solid black 01px;
	background-color: white;
}

/* STYLE RULES FOR 3 COLUMN PAGE EFFECT */
.colmask {
	position:relative;	/* This fixes the IE7 overflow hidden bug */
	clear:both;
	float:left;
	width:100%;			/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
	background-color: white; 	
	border-left: solid black 01px;
	border-right: solid black 01px;
	border-bottom: solid black 01px;
}

.holygrail .colmid {
	float:left;
	width:200%;
	margin-left:-200px; 	/* Width of right column */
	position:relative;
	right:100%;
/*	background-color: pink;    	/* Centre column background colour */
	min-height: 600px;
}
.holygrail .colleft {
	float:left;
	width:100%;
	margin-left:-50%;
	position:relative;
	padding-top: 15px;
	left:390px;         	/* Left column width + right column width */
/*	background-color: yellow;    	/* Left column background colour */
}
.holygrail .col1wrap {
	float:left;
	width:50%;
	position:relative;
	right:200px;        	/* Width of left column */
	padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
/*	background-color: green;    	/* Left column background colour */
}
.holygrail .col1 {
	margin:0 200px;     	/* Centre column side padding:
							Left padding = left column width + centre column left padding width
							Right padding = right column width + centre column right padding width */
	position:relative;
	left:200%;
	height: 540px;
	overflow:auto;
	border: solid black 0px;
/*	background-color: blue;*/
}
.holygrail .col2 {
	float:left;
	float:right;			/* This overrides the float:left above */
	width:170px;        	/* Width of left column content (left column width minus left and right padding) */
	position:relative;
	right:15px;         	/* Width of the left-hand side padding on the left column */
	border: solid black 0px;
	min-height: 500px;
    background-image: url(IMAGES/buryfccrest.jpg);
    background-repeat: no-repeat;
	background-position: bottom;
}

.holygrail .col3 {
	float:left;
	float:right;			/* This overrides the float:left above */
	width:200px;        	/* Width of right column content (right column width minus left and right padding) */
	margin-right:20px;  	/* Width of right column right-hand padding + left column left and right padding */
	position:relative;
	left:50%;
	min-height: 500px;
}

/* STYLE RULES FOR 2 COLUMN LAYOUT */
	.leftmenu {
	    background:white;
	}
    .leftmenu .colrighttc {
        float:left;
        width:200%;
		position:relative;
		left:200px;
    }
    .leftmenu .col1wraptc {
	    float:right;
	    width:50%;
	    position:relative;
	    right:200px;
	    padding-bottom:1em;
	}
	.leftmenu .col1tc {
        margin:0 15px 0 215px;
	    position:relative;
	    right:100%;
	    overflow:hidden;
	}
    .leftmenu .col2tc {
        float:left;
        width:170px;
        position:relative;
        right:185px;
		background: white;
    }
	/* Footer styles */
    .col1tc {
	    width:78%;
	}
	
/*  STYLE RULES FOR NAVIGATION MENU  */

ul#mainnav  {
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: #white;}

ul#mainnav li a:link, ul#mainnav li a:visited  {
	text-decoration: none;
	padding-left: 1px;
	color: blue;
	display: block;
	width: 99%;}

ul#mainnav li  {
	border-top: 1px solid white;}

ul#mainnav li a:hover  {
	background-color: blue;
	color: white;}

a:link, a:visited, a:hover  {
	color: blue;
	text-decoration: underline;}
	
/*  STYLE RULES FOR MAIN HEADER LOGO TEXT  */
#MainLogoText {
    font-size: x-large;
    color: Blue;
    letter-spacing: 8px;}
    
#MainLogoText a:link, a:hover, a:visited {
    color: Blue;
    text-decoration: none;}
    
#SubLogoText {
    font-size:inherit;
    color: Blue;
    letter-spacing: 2px;}
    
#SubLogoText a:link, a:hover, a:visited {
    color: Blue;
    text-decoration: none;}

/* GENERAL STYLE RULES FOR VARIOUS WEBSITE ELEMENTS */
.blog 
{
	font: 8pt/1.5 tahoma, sans-serif;
	color: black;
	text-align: left;}
	
.NextGame
{
	font: 10pt/1.5 tahoma, sans-serif;
	color: red;
	text-align: center;}

#messageitem {
	position: relative;
	top: 10px;
	left: 0px;
	width: 99%;
	border: solid blue 01px;
	background-image: url(IMAGES/subjectheader.gif);
	background-repeat: repeat-x;
	padding: 0px;}
	
#adminmessageitem {
	position: relative;
	top: 10px;
	left: 0px;
	width: 99%;
	border: solid black 01px;
	background-color: white;
	padding: 0px;}
	
#adminmessageitemhidden {
	position: relative;
	top: 10px;
	left: 0px;
	width: 99%;
	border: solid red 01px;
	background-color: white;
	color: grey;
	padding: 0px;}
	
table, td 
{
    border:0px solid lightgrey;
    border-collapse:collapse; }

/* STYLE RULES FOR DISPLAYING HOME RESULTS IN DISPLAYRESULTS.PHP SCREEN */

.lge {	
	font: 8pt/1.5 tahoma, sans-serif;
	color: black;}

.psf {
	font: 8pt/1.5 tahoma, sans-serif;
	color: green;}

.cup {
	font: 8pt/1.5 tahoma, sans-serif;
	color: red;}
	
.plo {
	font: 8pt/1.5 tahoma, sans-serif;
	color: blue;}	
	
/* STYLE RULES FOR DISPLAYING LEAGUE TABLES*/
.champs {
	background-color: lightseagreen;}

.promo {
	background-color: pink;}

.powinners {
	background-color: pink;}

.pofinalists {
	background-color: mistyrose;}

.posemis {
	background-color: mistyrose;}

.relegated {
	background-color: lightseagreen;}	

	
table.admincontrolcenter {
	margin-left: 40px;
	border-width: 1px;
	border-spacing: 2px;
	border-style: solid;
	border-color: gray;
	border-collapse: collapse;
	background-color: white;
}

table.admincontrolcenter th {
	border-width: 1px;
	padding: 2px;
	border-style: solid;
	border-color: gray;
	color: white;
	background-color: black;
}

table.admincontrolcenter td {
	border-width: 01px;
	padding-left: 5px;
	padding-right: 5px;
	border-style: solid;
	border-color: gray;
	background-color: white;
}

table.admincontrolcenterwrap td {
	border-width: 00px;
	padding-left: 0px;
	padding-right: 0px;
	border-style: solid;
	border-color: gray;
	background-color: white;
	vertical-align: top;
	margin: 0px;
}

/* RANDOM STYLE RULES */
.greybg {
	background-color: lightgrey;}
	
.pinkbg {
	background-color: pink;}

.bold {
	font-weight: bold;}

	/*  FOR NAVIGATION MENU ON ADMIN CONTROL CENTRE PAGE */
.adminmenu {
	float:left;
	min-height: 250px;
	border: solid black 0px;
	background-color: white;
}
	/*  FOR STATS ON ADMIN CONTROL CENTRE PAGE */
.adminstats {
	clear:both;
	float:left;
	width:100%;
	padding: 25px;
	border: solid black 0px;
	background-color: white;
}

	/*

#bottom {
	position: absolute;
	bottom: 10px;
	left: 0px;
	width: 100%;
	border: solid blue 0px;
	padding: 0px;}

#article {
	position: absolute;
	top: 170px;
	left: 140px;
	width: 750px;
	padding: 10px;	
	font: 9pt/1.5 tahoma, sans-serif;
	border: solid black 0px;}

#admin {
	position: absolute;
	top: 20px;
	left: 4px;
	width: 97%;
	padding: 10px;	
	font: 8pt/1.5 tahoma, sans-serif;
	border: solid black 1px;}

.odd {
	background-color: lightgrey;}

.ht {
	font: 8pt/1.5 tahoma, sans-serif;
	color: grey;
	text-align: center;}

.ct {
	text-align: center;}	

.top {
	background-color: lightseagreen;}

.po {
	background-color: mistyrose;}

.bott {
	background-color: mediumvioletred;}

*/