input, button, select, textarea
{
	font: 95%/115% verdana, Helvetica, sans-serif;
	color: #000000;
	background: #fff;
	border: 1px solid #7f9db9;
	padding: 2px;
}

/* Buttons should be styled a bit differently, in order to make them look more button'ish. */
.button_submit, .button_reset
{
	background: #cde7ff url(../images/theme/submit_bg.png) no-repeat;
	border: 1px solid #aaa;
	cursor: pointer;
	font-weight: normal;
}

dt{
	color:#444444;
}

/* By default set the color on these tags as black. */
h3
{

	font-size: 1em;
	margin: 0;
	padding: 0;
	padding-bottom: 3px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext, tr.smalltext th
{
	font-size: 0.85em;
	font-family: verdana, sans-serif;
}



/* Styles for rounded headers.
------------------------------------------------------- */
h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg, .table_list tbody.header td
{
	overflow: hidden;
	height: 31px;
	line-height: 32px;
	font-size: 1.2em;
	font-weight: bold;
}
h3.catbg a, h3.catbg, .table_list tbody.header td, .table_list tbody.header td a
{
	color: #FFF;
}
h3.catbg2 a, h3.catbg2
{
	color: #feb;
}
h3.catbg a:hover, .table_list tbody.header td a:hover
{
	color: #176F9E;
	text-decoration:underline;
}
h3.catbg2 a:hover
{
	color: #fff;
	text-decoration: none;
}
h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a
{
	color: black;
}
h3.titlebg a:hover, h4.titlebg a:hover
{
	color: #FFA500;
	text-decoration: none;
}
h3.catbg img.icon, h4.titlebg img.icon
{
	
	vertical-align: middle;
	margin: -2px 5px 0 0;
}
h4.catbg span.left, h4.catbg2 span.left, h3.catbg span.left, h3.catbg2 span.left, .table_list tbody.header td span.left
{
	float: left;
	display: block;
	width: 9px;
	height: 31px;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') no-repeat 0 -160px;
}

h4.catbg, h4.catbg2 , h3.catbg , h3.catbg2 , .table_list tbody.header td.catbg
{
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') no-repeat 100% -160px;
	padding-right: 9px;
}

h4.titlebg span.left, h3.titlebg span.left
{
	float: left;
	display: block;
	width: 9px;
	height: 31px;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') no-repeat 0 -200px;
}

h4.titlebg, h3.titlebg
{
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') no-repeat 100% -200px;
	padding-right: 9px;
}

h4.titlebg img.icon
{
	float: left;
	margin: 5px 8px 0 0;
}


/* Used for sections that need somewhat larger corners.
----------------------------------------------------------- */
.roundframe
{
	padding: 0 10px;
	background: #FAF9F5;
	border-left: 1px solid #E5E2D0;
	border-right: 1px solid #E5E2D0;
}
.roundframe dl, .roundframe dt, .roundframe p
{
	margin: 0;
}
.roundframe p
{
	padding: 0.5em;
}
span.upperframe
{
	padding: 0;
	display: block;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') 0 -90px no-repeat;
	padding-left: 20px;
}
span.upperframe span
{
	padding: 0;
	height: 12px;
	display: block;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') 100% -90px no-repeat;
}
span.lowerframe
{
	padding: 0;
	display: block;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') 0 -102px no-repeat;
	padding-left: 20px;
}
span.lowerframe span
{
	padding: 0;
	height: 12px;
	display: block;
	background: url('http://www.bedposts.org.uk/forum/Themes/guest/images/theme/main_block.png') 100% -102px no-repeat;
}


/* Styles for the login areas.
------------------------------------------------------- */
.login
{
	width: 540px;
	margin: 0 auto;
}
.login dl
{
	overflow: auto;
	clear: right;
}
.login dt, .login dd
{
	margin: 0 0 0.4em 0;
	width: 44%;
	padding: 0.1em;
}
.login dt
{
	float: left;
	clear: both;
	text-align: right;
	font-weight: bold;
}
.login dd
{
	width: 54%;
	float: right;
	text-align: left;
}
.login p
{
	text-align: center;
}

/* Additional profile fields */
dl.register_form
{
	margin: 0;
	clear: right;
	overflow: auto;
}

dl.register_form dt
{
	font-weight: normal;
	float: left;
	clear: both;
	width: 50%;
	margin: 0.5em 0 0 0;
}

dl.register_form dt strong
{
	font-weight: bold;
}

dl.register_form dt span
{
	display: block;
}

dl.register_form dd
{
	float: left;
	width: 49%;
	margin: 0.5em 0 0 0;
}

.windowbg2
{
	color: #000000;
	background-color: #EDF6FB;
	margin-bottom:5px;
}


.windowbg2 span.topslice
{
	display: block;
	padding-left: 20px;
	background: url(http://www.bedposts.org.uk/forum/Themes/bedposts/images/theme/main_block.png) 0 -60px no-repeat;
}
.windowbg2 span.topslice span
{
	display: block;
	background: url(http://www.bedposts.org.uk/forum/Themes/bedposts/images/theme/main_block.png) 100% -60px no-repeat;
	height: 11px;
}
.windowbg2 span.botslice
{
	display: block;
	padding-left: 20px;
	background: url(http://www.bedposts.org.uk/forum/Themes/bedposts/images/theme/main_block.png) 0 -71px no-repeat;
	font-size: 5px;
	line-height: 5px;
	margin-bottom: 0.2em;
}
.windowbg2 span.botslice span
{
	display: block;
	background: url(http://www.bedposts.org.uk/forum/Themes/bedposts/images/theme/main_block.png) 100% -71px no-repeat;
	height: 11px;
}

.content
{
	padding: 1em 1.5em;
	margin: 0;
	border: none;
}

.register_error{
	border:1px solid red;
	background-color:#f3dfdf;
	padding:10px;
	margin:0 0 10px 0;
}