/*
Theme Name: Behave Safe Theme
Theme URI: www.behavesafe.co.uk
Description: The theme for Behave Safe' website.
Author: Data Creative
Author URI: http://data-creative.com/
*/

@charset "utf-8";
/*			RESET CSS			*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0px;
	padding:0px;
	border:0px;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}

/*			LAYOUT CSS			*/
body {
	background:url(img/bgtop.jpg) repeat-x top center;
}
#outer {
	background:url(img/bottomblue.jpg) repeat-x bottom center;
	padding-bottom:20px;
}
#wrapper {
	width:900px;
	margin:0 auto;
}
#banner {
	height:149px;
	background-image:url(img/bannerbg.jpg);
	position:relative;
}
#mail {
	width:280px;
	height:40px;
	position:absolute;
	top:50px;
	right:40px;
}
#content {
	padding:20px 5px 0px 5px;
	font:12px/17px Segoe UI, Arial, Helvetica, sans-serif;
	color:#04396A;
}
#leftcol {
	float:left;
	width:640px;
}
#content img {border:2px solid #075D9E;}
#content img.alignright {float:right; margin-left:15px;}
#content img.alignleft {float:left; margin-right:15px;}

#rightcol {
	width:250px;
	float:right;
}
.rightboxtop {
	height:22px;
	width:234px;
	float:right;
	background:url(img/curveboxtop.gif) bottom no-repeat;
	margin-bottom:-4px;
	position:relative;
	z-index:10;

}
.rightbox {
	width:194px;
	float:right;
	padding:0px 20px 20px;
	background:url(img/curveboxbottom.gif) right bottom no-repeat;
	text-align:center;
	font-style:italic;
	font-weight:bold;
	color:#04396A;
	margin-bottom:12px;
	position:relative;
	z-index:0;
}
.rightbox p {margin:0px;}

p {margin-bottom:15px;}

/*			HEADERS			*/
h1 {
	color:#0868B2;
	font:40px Haettenschweiler, Segoe UI, Arial, Helvetica, sans-serif;
	padding-bottom:15px;
	margin:0px;
}
h2 {font-size:15px;}
h3 {font-size:14px;}
h4 {font-size:13px;}
h5, h6 {font-size:12px;}

h2, h3, h4, h5, h6 {
	color:#096BB4;
	padding:8px 0px;
	margin:0px;
}
/*			ANCHORS/TEXT			*/
a {
	font-weight:bold;
	color:#06579F;
	text-decoration:none;
}
a:hover {text-decoration:underline;}

blockquote {
	margin:25px 20px 0px;
	color:#006699;
	font:italic 14px Segoe UI, Arial, Helvetica, sans-serif;
}
/*			NAV BAR			*/
#nav, #nav ul { /* all lists */
	padding:0px;
	margin:0px;
	list-style:none;
	line-height:1;
}
#centernav {
	float:left;
	position:relative;
	left:50%;
	padding-top:113px;
}
ul#nav {
	float:left;
	position:relative;
	left:-50%;
}

#nav a {
	display:block;
	padding:5px 10px 14px;
	text-decoration:none;
	color:#064E82;
	font:bold 11px Arial, Helvetica, sans-serif;
	text-transform:uppercase;
}
#nav a:hover {
	color:#0099CC;
}

#nav li { /* all list items */
	float:left;
}
#nav li li {
	width:150px;
}
#nav li li a {
	padding:6px 10px 6px;
}
#nav li ul { /* second-level lists */
	position:absolute;
	width:150px;
	background:url(img/navdropdown.gif) bottom;
	left:-999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding:5px 4px 7px;
	margin-left:-4px;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

/*			LISTS			*/
#content ul {
	margin:20px 0px 20px 20px;
	line-height:150%;
}
#content li {
	list-style-image:url(img/bullet.gif);
}
ul {padding:0px;}/*		safari fix*/
/*			FOOTER				*/
#footer {
	background:url(img/footerbg.jpg) top center;
	border-bottom:2px solid #07538C;
	color:#FFF;
	font:13px/18px Segoe UI, Arial, Helvetica, sans-serif;
}

#footerinner {
	width:900px;
	margin:0 auto;
	padding:5px 0px 10px;
}
#footer a {
	color:#FFF;
	text-decoration:none;
	font-weight:normal;
}
#footer a span {display:none;}
#footer a:hover span {
	display:inline;
	letter-spacing:5px;
}
#profile {
	width:275px;
	float:left;
	margin-right:47px;
}
#services {
	width:250px;
	float:left;
	text-align:center;
}
#services ul li a:after {
	content:' >>'
}
#contact {
	width:280px;
	float:right;
	text-align:right;
}
.foottextbig {
	color:#FFF;
	font:30px Haettenschweiler, Segoe UI, Arial, Helvetica, sans-serif;
	padding:0px 3px 10px 3px;
	text-transform:uppercase;
	letter-spacing:1px;
	background:url(img/footerdots.gif) repeat-x bottom left;
	margin:0px 0px 8px 0px;
}
#copyright {background:url(img/bottomblue2.jpg) repeat-x;}
#copyrightinner {
	width:900px;
	margin:0 auto;
	font:13px/18px Segoe UI, Arial, Helvetica, sans-serif;
	text-align:right;
	padding:13px 0;
	color:#001A2E;
	font-weight:bold;
}
#categoryposts-4 ul {
	margin:0px;
}
/*			NEWS				*/
h2.newstitle {
	font:30px Haettenschweiler, Segoe UI, Arial, Helvetica, sans-serif;
	border-top:3px dotted #EBEEFA;
	margin-top:15px;
}
.postdate {
	padding:9px 0px 6px;
	float:right;
	border-bottom:3px dotted #EBEEFA;
}

/*			CLEARFIX			*/
.clearfix:after {
	content:".";
	display:block;
	clear:both;
	visibility:hidden;
	line-height:0;
	height:0;
}
.clearfix {
	display:inline-block;
}
html[xmlns] .clearfix {
	display:block;
}
* html .clearfix {
	height:1%;
}
