/*
Theme Name: PDC Hastings
Theme URI: http://www.pdchastings.co.uk
Description: Custom Wordpress theme for PDC Hastings.
Version: 1.2
Author: clearbytes.co.uk

*/

/*------ clear standard browser styles ------*/

body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,ul,ol,li,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}



/* ---------------- global styles ---------------- */


body {
	font-size: 62.5%;
	text-align: center;
	color: #333333;
	font-family: arial, verdana, sans-serif;
    }


body a img {
    border: none;
}



/* ---------------- global classes ---------------- */


.bold{
   font-weight: bold;
}


.clear{
	clear: both;
}


img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/* ---------------- wrap ---------------- */


#wrap {
	text-align: left;
	margin: 0px auto;
	padding: 0px ;
	width: 1007px;
	background: url(img/site-background.gif) repeat-y 0 0;
}


/* ---------------- header ---------------- */


#header{
	float: left;
	width: 951px;
	height: 161px;
	margin: 10px 28px 0 28px;
	border-bottom: 2px solid #AD2B22;
	background: url(img/pdc-header.jpg) no-repeat 100% 0;
}


* html #header{
	margin: 10px 14px 0 14px;
}


#header .logo{
	float: left;
	width: 261px;
	height: 161px;
	font-size: 1px;
	color: #fff;
	background: url(img/pdc-logo.gif) no-repeat 0 0;
}


#header .logo a{
	float: left;
	width: 261px;
	height: 161px;
	font-size: 1px;
	color: #fff;
	background: url(img/pdc-logo.gif) no-repeat 0 0;
}




/* ---------------- content ---------------- */


#content{
	width: 951px;
	float: left;
	margin: 20px 28px 15px 28px;
}


* html #content{
	margin: 20px 14px 15px 14px;
}




/* ---------------- maincontent ---------------- */


#maincontent{
	float: right;
	width: 690px;
}



#maincontent a{
	color: #A51E24;
}

#maincontent a:hover{
	text-decoration: none;
}


#maincontent h1{
	color: #000000;
	font-size: 2em;
	border-bottom: 1px solid #AD2B22;
	padding-bottom: 10px;
	margin-bottom: 15px;
}


#maincontent h2{
	color: #000000;
	font-size: 1.4em;
	margin-bottom: 15px;
}


#maincontent h3,
#maincontent h4,
#maincontent h5{
	color: #000000;
	font-size: 1.3em;
	margin-bottom: 15px;
}
	

#maincontent p{
	font-size: 1.2em;
	line-height: 1.4em;
	margin-bottom: 15px;
}



#maincontent ol{
	font-size: 1.2em;
	padding-left: 25px;
	margin-bottom: 15px;
}


#maincontent ul{
	font-size: 1.2em;
	margin-bottom: 15px;
}


#maincontent ul li{
	list-style: none;
	padding-left: 15px;
	margin-bottom: 4px;
	background: url(img/bullet.gif) no-repeat 0 5px;
}



#maincontent form{
	float: left;
	width: 410px;
	padding: 10px 10px 0 10px;
	margin-bottom: 30px;
	border: 1px solid #cccccc;
}



/* ---------------- sidebar ---------------- */


#sidebar{
	float: left;
	width: 223px;
	position: relative;
	margin-top: 5px;
	padding-bottom: 200px;
} 



#navigation,
#navigation li{
	list-style: none;
}


#navigation{
	float: left;
	font-size: 1.3em;
	width: 223px;
}


#navigation a{
	display: block;
	font-weight: bold;
	padding: 6px 10px;
	color: #000;
	text-decoration: none;
}



#navigation a:hover,
#navigation .current_page_item a,
#navigation .current_page_parent a{
	color: #AD2B22;
}


#navigation .current_page_item li a,
#navigation .current_page_parent li a{
	color: #000;
}


#navigation li{
	float: left;
	width: 223px;
	border-bottom: 1px dotted #ccc;
}



#navigation li ul{
	display: none;
	float: left;
	width: 223px;
	border-top: 1px dotted #ccc;
}


#navigation li.current_page_item ul,
#navigation li.current_page_parent ul{
	display: block;
}



#navigation li ul li{
	float: left;
	width: 223px;
	border-bottom: none;
	background: #fff;
	
}


#navigation li ul li a{
	font-weight: normal;
	font-size: 0.9em;
	padding: 6px 5px 6px 25px;
}


#navigation li ul li a:hover,
#navigation li ul li.current_page_item a{
	text-decoration: underline;
}


#address{
	float: left;
	margin-top: 40px;
	width: 253px;
	background: url(img/address-back.jpg) no-repeat top left;
}




#address{
	float: left;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 223px;
}


#address p{
	font-size: 1.2em;
	line-height: 1.4em;
	margin-bottom: 10px;
}


#address a{
	color: #333;
	text-decoration: none;
}

#address a:hover{
	text-decoration: underline;
}

#address .contacts{
	font-size: 1.4em;
}



/* ---------------- footer ---------------- */


#footer{
	float: left;
	width: 951px;
	padding: 0 28px 15px 28px;
	font-size: 1.1em;
	color: #999;
	background: url(img/site-background-bottom.gif) no-repeat 0 100%;
}


#footer p{
	float: right;
	width: 951px;
	text-align: right;
	padding: 10px 0 0 0;
	border-top: 1px dotted #ccc;
}



