body {
	background: #f2f2f2;
	padding-top: 10px;
}

#layout {
	background: #dbdbdb;
	width: 960px;
	border: 10px solid #fff;
	margin-left: auto;
	margin-right: auto;
}

#footer {
	color: #fff;
	background: #313131;
	height: 100px;
	clear: both;
	padding: 20px;
	margin-bottom: 0;
	text-align: center;
}

#footer a { color: #fff; }

#header {
	width: 960px;
	height: 100px;
	margin: 0;
	padding: 0;
	background-image: url(http://assets.cemeteries.org.uk/images/default-header.jpg);
}

#flash_notice {
	border: 1px solid #ca8902;
	background: #fee848;
	padding: 8px;
	margin: 8px;
	color: #333;
}

#worldpay {
  text-align: center;
}
#worldpay td {
  border: none;
  text-align: center;
}
#worldpay table {
  margin-left: auto;
  margin-right: auto;
}

dd, dl, dt, fieldset, li, ol, p, td, th, ul, div {
	color: #494949;
	font-family: arial, helvetica, sans-serif;
	font-size: 13px;
	line-height: 19px;
}

strong { font-weight: bold; color: #333; }

legend { font-weight: bold; }

p {
	margin: 0.7em 0;
}

em { font-style: italic; }

pre {
  margin: 0.7em 0;
  padding: 0.2em;
  font-family: 'Anonymous Pro', 'Monaco', Courier, monospace;
  background: #FFD694;
}

a { color: #36c; text-decoration: none; }
#module_content a { text-decoration: underline; }
a:hover, a:active { text-decoration: underline; }


.box {
	background-color: #fff;
	margin: 10px;
	padding: 10px;
	float: left;
	width: 300px;
}

#module_burialsearch {
	width: 600px;
}

#module_cemeterymenu {
	width: 200px;
	display: inline;
}
#module_cemeterymenu .selected a { font-weight: bold; }

#module_cemeterymenu ul {
  list-style: none;
}

#module_content {
	margin-left: 0;
	width: 690px;
}

td, th {
	padding: 3px 6px;
	vertical-align: top;
}

ul#primary-nav {
  margin: 0;
  padding: 0 0 0 10px;
  list-style: none;
	height: 24px;
	background: #999;
}

#primary-nav li { float: left; margin: 0; }

#primary-nav a {
	display: block;
	line-height: 24px;
	padding: 0 12px;
	background: #999;
	color: #000;
	border-bottom: none;
}
#primary-nav a:hover { background: #000; color: #fff; }
#primary-nav #addthis { padding: 4px 12px; margin: 0; }
#primary-nav #addthis a:hover { background: #999; }

.clear {
	margin: 0;
	font-size: 1px;
	line-height: 1px;
	clear: both;
}

.gallery {
	width: 550px;
	background: #222;
	margin: 10px auto;
	clear: left;
	padding-bottom: 10px;
}

.gallerythumb {
	border: 5px solid #fff;
	margin: 10px 0 0 10px;
	float: left;
	width: 160px;
	height: 120px;
	background: #fff;
	text-align: center;
	overflow: hidden;
}

h1, h2, h3 { font-weight: bold; }

h1 {
	color: #000;
	font-size: 20px;
	line-height: 20px;
	margin-bottom: 6px;
	font-family: arial, helvetica, sans-serif;
	clear: both;
}

h2 {
	color: #333;
	font-size: 16px;
	line-height: 18px;
	margin-bottom: 6px;
	font-family: arial, helvetica, sans-serif;
}

h3 {
	color: #333;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 6px;
	font-family: arial, helvetica, sans-serif;
}

table {
	border-collapse: collapse;
	margin: 10px 0;
}

th, td {
	padding: 2px 3px;
}

td {
	border-bottom: 1px solid #999;
}
form td {
  border: none;
}

th {
	border-bottom: 2px solid #666;
	background: #eee;
	font-weight: bold;
}

form {
	margin: 20px;
	padding: 10px;
	border: 1px solid #ccc;
	background: #eee;
}

form div {
	margin: 5px 0;
}

form input[type=submit] {
	margin: 10px 0;
}

label {
  font-weight: bold;
  cursor: pointer;
}
label:hover {
  color: #000;
}

ul, ol {
  margin-left: 10px;
  padding-left: 10px;
}
li {
  margin-left: 10px;
  padding-left: 0;
}
ul {
  list-style: disc;
}

.clear {
  font-size: 1px;
  line-height: 1px;
  clear: both;
  margin: 0; padding: 0;
}

.post { clear: left; margin-top: 10px; padding-top: 10px; border-top: 1px solid #999; }
.post img { float: left; margin-right: 10px; margin-bottom: 10px; }
.post p { font-size: 14px; }
.posts em, .views em { font-size: 30px; line-height: 35px; font-style: normal; }
.posts, .views { display: block; width: 50px; height: 50px; font-size: 12px; line-height: 12px; float: left; text-align: center; }
.views { width: 75px; }
.topic_list { clear: left; margin-top: 10px; height: 50px; }
.topic_list div { float: left; margin-left: 10px; }
.posts { background: #ddd; }
.views { background: #bbb; }
.post p.post_details { font-size: 12px; text-align: right; }
textarea#post_content {
  width: 626px;
  height: 150px;
}

.pagination span, .pagination a {
  display: block;
  float: left;
  height: 20px;
  line-height: 20px;
  padding: 0px 6px;
  margin: 0 3px;
  border: 1px solid #666;
}

.pagination span.gap {
  border: none;
  font-weight: bold;
}

.pagination .current, .pagination a:hover {
  background: #666;
  color: #fff;
}

/**
 * Adverts
 */

.search_advert { background: #98FB98; margin: 10px 20px; padding: 5px; border: 1px solid #3CB371; height: 90px; }
.search_advert p { font-size: 12px; line-height: 15px; }
.search_advert img { float: left; margin-right: 20px; }
.search_advert span { color: #006400; float: right; font-size: 10px; }
.paid_only { font-size: 11px; font-style: italic; }

.framed { border: 1px solid #000; }
.right { float: right; margin-left: 10px; }
.left { float: left; margin-right: 10px; }
.poem { font-size: 90%; padding: 4px; background: #f8f8f3;
