/*
Theme Name: Jones Avens
Theme URI: http://www.theowenagency.co.uk/
Description: Theme for Jones Avens 2009 web site
Version: 1.0
Author: Neil Abraham
*/


html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background: url(images/body_background.jpg) #fff repeat-x;
	font-family: Tahoma, Arial, Helvetica, "Sans Serif";
	font-size: 80%;
	color: #666;
}

#header {
	position: relative;
	background: url(images/header_background.jpg) no-repeat;
	width: 1066px;
	height: 480px;
	margin: 0 auto;
}


#container {
	width: 1066px;
	margin: 0 auto;
	background: url(images/content_middle.jpg) repeat-y;
}

#content {
	background: url(images/content_background.jpg) no-repeat top;
	width: 1066px;
}

#homeBox {
	background-color: #d7df21;
}

#homeBox {
	position: relative;
	background-color: #49B848;
	margin: -20px 100px 0 100px;
	padding: 0;
}

#homeBox h2 {
	text-transform: lowercase;
	font-family: Arial, Helvetica, "Sans Serif";
	font-weight: normal;
	font-size: 250%;
	padding: 35px 0 30px 50px;
	margin: 0;
	color: #fff;
}

#homeBox p {
	font-family: Arial, Helvetica, "Sans Serif";
	font-weight: normal;
	font-size: 100%;
	width: 480px;
	padding: 0 0 1em 50px;
	margin: 0;
	color: #fff;
	border: 1px solid #49B848;
}

#homeBox img {
	float: right;
	top: 0;
	right: 0;
	padding: 0;
	margin: 0;
}

#homeLinks {
	float: left;
	width: 200px;
	margin: 60px 0 0 100px;
	font-size: 180%;
    list-style: none;
}

#homeLinks li {
	padding: 0 0 10px 30px;
	background: url(images/green_bullet.gif) no-repeat;
	background-position: 0 4px;
}

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

#homeLinks a:hover {
	text-decoration: underline;
}

#primaryContent {
	float: left;
	margin: 0 0 20px 90px;
	width: 557px;
	background: url(images/primary_content_top.gif) no-repeat;
	padding-top: 9px;
}

#primaryContent .inner {
	background: url(images/primary_content_background.gif) repeat-y;
	padding: 10px 45px;
}

/*
#primaryContentTop {
	float: left;
	margin-left: 90px;
	width: 557px;
	height: 9px;
	background: url(images/primary_content_top.gif) no-repeat;
	padding: 0 20px;
}

#primaryContent {
	float: left;
	width: 507px;
	background: url(images/primary_content_background.gif) repeat-y;
	padding: 10px 45px;
}
*/
#header h1, 
#header p {
	display: none;
}

#primaryNavigation {
	width: 961px;
	height: 76px;
	background: url(images/primary_navigation_background.gif) no-repeat;
	margin: 0 auto;

}

#header ul {
	position: absolute;
	top: 160px;
	left: 80px;
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
}

#header li {
	float: left;
	margin: 0px 20px 0 20px;
	list-style: none;
}

#header a {
	text-decoration: none;
	font-size: 110%;
	color: #fff;
}

#header a:hover {
	color: #666;
}

#sidebar {
	float: right;
	margin: 0 90px 20px 0;
}

#sidebar ul, #sidebar ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#categoryposts-3, 
#categoryposts-4 {
	display: block;
	width: 280px;
	background: url(images/news_background.gif) repeat-y;
	margin-bottom: 20px !important;
}

.home #categoryposts-3, 
.home #categoryposts-4 {
	float: left;
	margin: 60px 8px 0 10px;

}

#categoryposts-3 h2 {
	display: block;
	width: 280px;
	height: 46px;
	background: url(images/news_heading.gif) no-repeat top left;
	padding: 0;
	margin: 0;
} 

#categoryposts-3 h2 a {
	display: none;
}

#categoryposts-4 h2 {
	display: block;
	width: 280px;
	height: 46px;
	background: url(images/events_heading.gif) no-repeat;
	padding: 0;
	margin: 0;
} 

#categoryposts-4 h2 a {
	display: none;
}

#categoryposts-3 ul, 
#categoryposts-4 ul {
	padding: 0.5em 0 0.5em 20px;
}

#categoryposts-3 a, 
#categoryposts-4 a {
	color: #666;
	text-decoration: none;
}

#categoryposts-3 a:hover, 
#categoryposts-4 a:hover {
	text-decoration: underline;
}

#contentBottom {
	background: url(images/content_bottom.jpg) no-repeat top;
	height: 15px;
	width: 1066px;
	margin: 0 auto 80px auto;
	clear: both;
}

#footer {
	background: url(images/footer_background.jpg) repeat-x;
	padding: 60px 0;
	color: #fff;
}

#footer h2 {
	width: 900px;
	color: #49B848;
	margin: 0 auto 1em auto;
}

#footer .contact {
	width: 900px;
	background: url(images/contact_background.jpg) repeat-y;
	margin: 0 auto;	

}

.contact strong {
	font-weight: normal;
	font-size: 120%;
}

.contact .column1,
.contact .column2,
.contact .column3 {
	float: left;
	width: 330px;
}

.contact .column1 {
	
}

.contact .column3 {
	width: 240px;
	color: #666;
	font-size: 85%;
	
}


.clear {
	clear: both;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", Arial, Helvetica, "Sans Serif";
}

h2.collapsibleHeading {
	width: 495px;
	background: url(images/collapsable_heading.jpg) no-repeat top left;
	padding: 0 10px;
	text-transform: lowercase;
	cursor: pointer;
	margin-bottom: 0;
	color: #fff;
}

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}

img.right { padding: 4px; margin: 0 0 2px 7px; display: inline; }
img.left { padding: 4px; margin: 0 7px 2px 0; display: inline; }


img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

table.contact {
	border: 0;
}

table.contact th {
	text-align: left;
	font-weight: normal;
}

table.contact input.error,
table.contact textarea.error {
	border: 1px solid red;
}