/*  

Theme Name: AFHUK WP Theme

Description: A theme created for afhuk

Version: 1.0

Author: Chris Adams & William Chak

*/



/* Begin Typography and Colors */

* { margin: 0; padding: 0; }

/* Hides from IE5-mac \*/
* html #page {height: 1%;}
/* End hide from IE5-mac */


body {
font: 12px Verdana Arial, sans-serif;
border: 1px solid #999;
width: 800px;
line-height:1.4em;
margin:auto;
color: #666; 
background: #eee url("images/diagonalpattern.gif"); 
}


img {
	/*to stop IE leaving an ugly border around images that are hyperlinked*/
	border: 1px #666 solid;
	}

ul {
/*	why on earth I need to define the ul style here is beyond me, but hey, it works... */
	list-style:none;
}

#sidebar form{
	width:80%;
	border-top: 1px solid #eee;
	margin-top:20px;
	padding-top:20px;
}

#sidebar a {
	color: #EEE;
	text-decoration: none;
}

#sidebar h3 {
	padding: 0.5em 0 0 1em;
}

#sidebar ul h2 {
	list-style:none;	
}


	#sidebar ul {
		list-style: none;
		margin: 5px;
		padding: 3px;
		border: none;
		}
		
	#sidebar li {
		margin: 0px;
		}

	#sidebar li a {
		display: block;
		padding: 4px 3px 4px 0.5em;
		color: #fff;
		text-decoration: none;
		width: 100%;
		}

	html>body #sidebar li a {
		width: auto;
		}

	#sidebar li a:hover {
		background-color: #99B;
		color: #FFF;
		}

.widget widget_subpages li, .widget widget_subpages li a, .widgettitle a {
	
	list-style: none;
}


#primarycontent .post {
padding-bottom: 20px;
}

#primarycontent .post a{
	color: #666; 
}

#primarycontent .post p {
	padding-bottom: .5em;
}
#primarycontent .post h4, #primarycontent .post h3 {
	font-size: 120%;
	padding-top: 0.5em;
	padding-bottom: 0.5em;	
}

#primarycontent .post h2 a {
text-decoration: none;
color: grey;

font-family: Georgia;
padding: 0px 0px 33px 0px;
}

#primarycontent h2, #content h2 {
font-family: Georgia;
font-size: 200%;
line-height:1.4em;
padding: 0em 0em 1em 0em;
}

#primarycontent .post a:hover{
color: #222;
}

#primarycontent .post ul, #primarycontent .post ol {
	padding:1em 2em 1em 2em;
}

/*Structural Divs */

#page .column {
/*	float:left;*/
overflow:hidden;
	padding-bottom: 20000px;  /* X + padding-bottom */
	margin-bottom: -20000px;  /* X */
}

#page {

	position:relative;
min-height:400px;
overflow: hidden; /* to allow for equal height columns */
background: #b4c3ca;


/*margin: auto;*/
}



#primarycontent {
	float: left;
	width: 60%;
	margin-left: 40%;

}

* html #primarycontent
	{
	display: inline;

	overflow:visible;
	}

#secondarycontent{

	float: left;
	width: 35%;
	margin-left: -785px; 
	}

	#header {
	height:165px; 
	background: #FFF;
	position:relative;
		}

	#content{
		width: 410px;
		border: 1px solid #666;
		background-color: #FFF;
		padding: 15px;
		margin: 10px 10px 10px 10px;
/*		redundant seeming display: inline; to fix the IE double margin bug*/
/*		display: inline;*/
	}
	
	#sidebar{
		width: 300px;
		background: rgb(90,97,113);
		color: #EEE;
		padding:10px;
		margin: 10px 0 10px 10px;
	}
	
	#sidebar p{
	width: 80%;	
	}
	
	#breadcrumbs {
	
		padding: 0 0 .5em 0;
		font-weight:normal;
		font-size:80%;
		width:80%;
		border-bottom: 1px solid #eee;
		margin-bottom:10px;
	}
	
	
	
	* html #footer-wrapper {
	  float: left;
	  position: relative;
	  width: 100%;
	  padding-bottom: 100px;
	  margin-bottom: -100px;
	
	}
		
	#footer{
		clear: both;
		font-size: 80%;
		padding:1em;
		text-align: center;
		border-top: 1px solid #999;
		background: #FFF;
/*		margin-top: 5px;*/
		position:relative;
	}

	#footer a{
	text-decoration: none;
	color: #666;
	}



/*Mail Form*/


	
#mail_sign_up label {
	padding: 5px;
	display:block;	
}

	#mail_sign_up {
		width:300px;
		margin: 10px;
		padding: 10px; 
		background: rgb(90,97,113);
		color: #EEE;
		border: 0px solid #666; 
	}

#mail_sign_up_submit {
	margin-top:10px;
	display: block;
	
}

	
/*News Excerpts*/
#news_excerpts{
width: 80%;	
}


#news_excerpts h3 {
font-size: 120%;
}

#news_excerpts .post {
padding: 5px 0px 2px 0px;
}

#news_excerpts .post h4 {

font-size: 110%;
}

html>body #news_excerpts .post h4 {
width: auto;

}

#news_excerpts .post h4 a:hover {
display: block;
background-color: #99B;
color: #FFF;
}


	#mission_statement {
		background: #FFF;
		width:410px;
		font-weight:normal; 
		font-size:120%;  
		padding:15px;	
		margin:10px;
		border: 1px #666 solid; 
		}
	
	#slideshow {
		width:410px;
		font-weight:normal;  
		padding:15px 15px 15px 15px; 
		margin: 10px;
		background-color: #FFF;
		border: 1px #666 solid; 
/*		margin: 15px 45px 15px 15px;*/
	}

	.slideshow-balance img{
		height:298px;
		width:400px;
/*		margin-bottom:15px;*/
}

	.ie-slideshow-balance img {
		padding-top:15px;
		padding-bottom:15px;
	}


	#news_excerpts {
/*		clear: left;*/
	}
	
	
	/*Header*/

	#headerimg {
	background: #FFF;
	padding: 25px;
/*	border: 1px solid #999;*/
	margin-bottom: 0px;
	}

	#header h1 {
		background:transparent url(images/logov2-site-bg.jpg) no-repeat;
/*		font-family:Futura,Georgia,sans-serif;*/
/*		font-size:220%;*/
/*		font-weight:normal;*/
		height:164px;
/*		letter-spacing:0.2em;*/
		padding:0px;
		position:absolute;
		left:425px;
		text-decoration:none;
		text-indent:-1000em;
		top:15px;
		width:464px;
	
	}
	#header h1 a {
		
	}



	.description {
		margin: 22px 0 0 0px;
		padding: 0 0 0 170px;
		font-variant: ;
		font-style: italic;
		display:none;
		font-size:150%;
		letter-spacing:0.2em;
	}

	#logo a {
		background:transparent url(images/AFHUK_Logo.gif) no-repeat scroll 0% 50%;
		height:140px;
		left:25px;
		position:absolute;
		text-decoration:none;
		text-indent:-1000em;
		top:14px;
		width:140px;
		}
		
		#logo a:hover {
		
			}
		
/*Nav Menu*/

 #navmenubar {
	border: 0px solid #999;
	background: rgb(90,97,113);
	height:30px;
	/* background-image: url("http://chrisadams.me.uk/afhuk/wp-content/themes/default/images/gradient.gif") */
	}

	#navmenubar ul {
	list-style-type: none;
	margin:  0;
	padding: 5px 15px;

	}
	
	#navmenubar ul li {
		display: inline;
	}

	#navmenubar ul li a { 
			text-decoration: none;
			padding: .2em 1em;
			background: #EEE ;
			color: #EEE;
			background-color: transparent;
	}
	#navmenubar ul li a:hover { 
			background: #BBB;
	}

	#navmenubar form {
		display: inline;
	}