@charset "UTF-8";

/********************************************************/
/* CSS Document for Ampthill Town Cricket Club 			*/
/* Written bt N3W Media   -  May 2008					*/
/********************************************************/


/*---------------------------------

  GENERIC RESET & UTILITIES 
	  
-----------------------------------*/	   


* {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	margin: 0; 
	padding: 0;
	text-align:left; 					
	color: #000000;
	}

.fltright { 								
	float: right;
	}

.fltleft { 
	float: left;
	}
	
.clearfloat { 								/* Used on a div 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;
}

.red {
	color:#D00F16;
	}
	
.bold {
	font-weight:bold;
	}
.smalltext {
	font-size:8px;
	}

/*--------------------------------------

  BLOCK STRUCTURE: defines site layout 
	  
----------------------------------------*/	   

#wrapper {
	width: 731px;  							/* The main wrapper is 10px bigger than the layout (NOTE 1px added to fix layout for IE6 ONLY)  */
	background: #FFFFFF;
	margin: 0 auto; 						/* the auto margins (in conjunction with a width) centers the page */
	text-align: left; 						/* this overrides the text-align: center in the GENERIC RESET * element. */
} 

#header {
	margin:20px 0;
	}
		 

#leftCol {
	float: left; 							/* since this element is floated, a width must be given */
	width: 150px; 		
	}

#rightCol {
	float: right; 							/* since this element is floated, a width must be given */
	width: 150px; 
	}

#mainContent {
	width:425px; 						/* the right and left margins create the two outer columns. Saves having FAUX cols */
	margin-top: 0;
	margin-right: 150px;
	margin-bottom: 0;
	margin-left: 150px;
	}
	
#footer {
	border-bottom:thin #999999;
	margin-top:10px;
	} 

/* SUB BLOCK STRUCTURE for the two outer coloumns  	*/

/* LEFT BLOCK  										*/

#featured_sponsor {
	margin-bottom: 10px;
	}

/* RIGHT BLOCK										*/

	
#latest_news {
	width:120px;
	float:right;
	}
	
#featured_advertiser {
	width:120px;
	float:right;
	}

/*---------------------------------

  GENERAL SITE CLASSES 
	  
-----------------------------------*/	   

h1 {
	text-align:left;
	color:#D00F16;
	font-size:14px;
	font-weight:bold;
	padding-bottom:15px;
	padding-top:15px;
	}

h2 {
	text-align:left;
	color:#D00F16;
	font-size:12px;
	font-weight:normal;
	padding-bottom:5px;
	padding-top:10px;
	}

p {
	text-align:left;
	font-size:10px;
	line-height:160%;
	color:#333333;
	}

table {
	}

th {
	font-size:10px;
	font-weight:bold;
	padding-bottom:10px;
	}

td {
	font-size:10px;
	}
	
#newsListing li, #mainContent li {
	list-style:none;
	font-size:10px;
	color:#666666;
	}
#newsListing li a, #mainContent li a {
	text-decoration:none;
	}

#mainContent li :hover {
	color:#999999;
	}

/*---------------------------------

  SITE SPECIFIC STYLE CLASSES 
	  
-----------------------------------*/	   

.bodytextlink {
	font-size:10px;
	color:#D00F16;
	text-decoration:none;
	text-align:left;
	}

.linkbutton {
	text-decoration:none;
	border:none;
	padding-bottom:20px;
	}

.membershipLinkButton {				/* Reduce the amount of margin under this button */
	text-decoration:none;
	border:none;
	margin-bottom:10px;
	}

.newsPicture {
	padding-right:10px;
	margin-bottom:5px;
	}
	
.sidebarheader {
	margin-bottom:5px;
	}
	
.sidebarcontent {
	width:120px;
	}
/***********************************
*
* Page Specific : news/home.php
*	  
************************************/	   

#currentNewsStory {
	width:290px;
	}
	
#newsListing {
	margin-left:300px;
	width:120px; 
	}

.newsItemEntry {
	margin-bottom:7px;
	}
		
.pageNumber {						/* This class is used to style the page number selectors in the news page */
	color:#666666;
	display:inline;
	border:#666 thin solid;
	font-size:9px;
	margin-right:5px;
	padding:2px;
	}
	
.currentPage {						/* This class is used to style the page number selectors in the news page */
	border: #D00F16 thin solid;
	}
	
.notcurrentPage {					/* This class is used to style the page number selectors in the news page */
	border: #CCCCCC thin solid;
	}
.pageNumber a {						/* This class is used to style the page number selectors in the news page */
	text-decoration:none;
	text-align:center;
	color:#CCC;
	}	

/***********************************
*
* Page Specific : supporters/home.php
*	  
************************************/	   

#supporterCard {
	margin-bottom:10px;
	border-color:#FF0000;
	}

/****************END***************/

.tableCentre {				/* for some reason using ALIGN in the TD tag does not work so this just centralises content for certain table columns */
	text-align:center;
	}

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#mainContent p a, #mainContent table a{
	color:#d00f16;
	} 
	
#mainContent p a:hover, #mainContent table a:hover{
	color:#d00f16;
	text-decoration:none;
	} 
