/* ---Generic styles--- */
body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .9em;
	background-color:#F4F4F4;
}
h1 {
	font-size:1.4em;
	color: #FFF;
	background-color:#FFF;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/h1_bg.jpg);
	background-repeat:repeat-x;
	padding: 3px 0 4px 8px;
	margin:0px;
	display: block;
	}
h2 {
	font-size:1.2em;
	color: #5d3998;
	
	}
	
	h3 {
	font-size:1em;
	color: #000;
	
	}
	
a {
	color:#5d3998;
	text-decoration:none;
	}
a:hover {
	color:#5d3998;
	text-decoration:underline;
	}
.summary {
	color: #666666;
	font-weight:bold;
	}
	
/* ---Setting the total width of site--- */
#mainWrapper {
  width:974px;
  background-color:#FFFFFF;
  margin-right: auto;
  margin-left: auto;
  border-right: 1px solid #5d3998;
  border-left: 1px solid #5d3998;
}

/* ---Accessibility--- */	
.offscreen {
    position:absolute;
    left: -50px;
    top: -50px;
}
#accessibilityOptions a:focus {
	top:50px;
	left:50px;
	background-color:yellow;
	position:absolute;
	font-weight:bold;
}
#serviceNav {
	background-repeat: repeat-x;
	text-align: right;
	height: 15px;
	margin-right:6px;
}
#serviceNav ul {
	display:inline;
	padding:0px;
}
#serviceNav li {
	font-size:0em;
	display: inline;
	padding: 0 15px 0 15px;
	border-left: 1px solid #efefef;
}
#serviceNav a{
	color:#000000;	
}
	
/* ---Banner--- */
#topBanner {
	display: block;
	width: 100%;
	height: 96px;
	min-height: 96px;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/banner_right.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	background-color: #FFF;
	padding: 0;
	margin-top: 2px;
	}
#css_logo {
	padding: 0;
	margin: 0;
	}

/* ---Search--- */
#search {
	float:right;
	display:inline;
	margin: -35px 10px 0 0;
	padding: 0;
	max-height: 35px;
	}
.searchText {
	color:#FFFFFF;
	font-weight:bold;
	}
#search form {
	margin:0;
	}
#search input {
	margin:0;
	}
#search input#text{
	width:100px;
	}

/* ---Tabs--- */
.mainNav {
	display:block;
	width:100%;
	min-height:35px;
	}
ul.tabNav {
	border-bottom: 1px solid #5d3998;
	margin: 2px -5px 0 0px;
	padding-left: 5px;
	float: left;
	width: 99.3%;
}
.tabNav li {
	list-style: none;
	float: left;
	background: #FFF url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/tab_right.jpg) 			no-repeat right top;
	margin-right:  2px;
}
.tabNav a {
	display: block;
	padding: 7px 15px 4px 15px;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/tab_left.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	text-align: center;
	text-decoration: none;
	color: #FFF;
	font-weight: bold;
	font-size: 1.2em;
	text-transform: uppercase;
}
.tabNav a:hover {
	color:#333333;
	text-decoration:none;
	}
.tabNav .selected {
	list-style: none;
	float: left;
	background: #FFF url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/tab_right_selected.jpg) no-repeat right top;
	margin-right:  2px;
}
.tabNav .selected a {
	display: block;
	padding: 7px 15px 4px 15px;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/tab_left_selected.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	text-align: center;
	text-decoration: none;
	color: #000;
	font-weight: bold;
	font-size: 1.2em;
	text-transform: uppercase;
}
.tabNav .selected a:hover {
	color:#333333;
	text-decoration:none;
	}

/* ---Setting the total width of the area below the tabs--- */
#wrapper {
  width:99.9%;
  padding-top:5px;
  margin: 0px;
}

/* ---Main Content width for 3 column layout--- */
#mainContent {
	float:left;
	margin: 0 194px 0 216px;
	display: inline;
	width:564px;
	}
	
/* ---Main Content width for 2 column layout--- */
#mainContent2 {
	float:left;
	margin: 0 2px 0 216px;
	display: inline;
	}

/* ---All other Main Content styles--- */
#mainImage {
	float: right;
	margin:5px;
	}
#mainImage img {
	border: 1px solid #000;
	}
.tableStyle  {
    font-size:1em;
    margin-top:10px;
    margin-bottom:20px;
    margin-left: 2px;
    margin-right: 2px;
    border-top:1px solid #999999;
    border-left:1px solid #999999;
    border-bottom:0px;
    border-right:0px;
}
.tableStyle td {
    background-color:#eeeeee;
    padding: 5px;
    border-bottom:1px solid #999999;
    border-right:1px solid #999999;
    border-top:0px;
    border-left:0px;
}
.tableStyle th {
    padding:3px;
    background-color:#dddddd;
    border-bottom:1px solid #999999;
    border-right:1px solid #999999;
    border-top:0px;
    border-left:0px;
}

/* ---Left Hand Menu--- */
#nav {
	float:left;
	width:200px;
	padding: 0;
	margin: 0;
	margin-left:-968px;
	display:inline;
	}
#nav ul {
	margin:0;
	padding-top: 8px;
	padding-left: 34px;
	background-color:#F5F1FA;
	border-right:1px solid #5d3998;
	border-bottom:1px solid #5d3998;
	border-left:1px solid #5d3998;
	}
#nav a {
	text-decoration: none;
	}
#nav h3 {
	color: #FFFFFF;
	padding: 5px 0 5px 5px;
	margin: 0;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/menu_bg.jpg);
	background-repeat: no-repeat;
	}
#nav h3 a {
	color: #FFFFFF;
	}
.toplevel {
	list-style:none;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/SafeFromHarm/images/arrow_bullet.gif);
	background-repeat:no-repeat;
	background-position: 5px 7px;
	padding-left:17px;
	padding-bottom: 5px;
	margin-left:-19px;
	margin-bottom:4px;
	border-bottom: 1px dotted #000;
	width: 140px;
	}
.toplevel a {
	color: #000;
	font-size: .9em;
	font-weight: bold;
	}
.toplevel a:hover {
	color:#5d3998;
	}
.level2 {
	list-style:none;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/SafeFromHarm/images/bullet.gif);
	background-repeat:no-repeat;
	background-position: 0px 6px;
	padding-left:12px;
	padding-bottom: 5px;
	margin-left:-25px;
	}
.level2 a {
	color: #000;
	font-size: .8em;
	font-weight: bold;
	}
.level2 a:hover {
	color:#5d3998;
	}
.level3 {
	list-style:none;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/SafeFromHarm/images/cbullet.gif);
	background-repeat:no-repeat;
	background-position: 0px 6px;
	padding-left:12px;
	padding-bottom: 2px;
	margin-left:-5px;
	}
.level3 a {
	color:#333333;
	font-size: .8em;
	font-weight: bold;
	}
.level3 a:hover {
	color:#5d3998;
	}

/* ---Right Hand Links--- */	
#rightwrap {
	float:left;
	width:180px;
	margin-left:-184px;
}
.relLinks {
	margin: 0 0 5px 0;
	width: 180px;
	padding-bottom: 50px;
	background:#F5F1FA url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/relLinks_bottom.jpg) center bottom no-repeat;
	clear:right;
	}
.relLinks h3 {
	color: #FFFFFF;
	padding: 5px 0 4px 5px;
	margin: 0;
	background-image: url(http://portal.oxfordshire.gov.uk/content/publicnet/other_sites/reducingtherisk/css/images/h1_bg.jpg);
	background-repeat: no-repeat;
	}
.relLinks p {
	background: #F5F1FA;
	margin: 0;
	padding: 8px 4px 0px 6px;
	border-right:1px solid #5d3998;
	border-left:1px solid #5d3998;
	}
.relLinks ul {
	background: #F5F1FA;
	margin: 0;
	padding: 8px 0 0px 15px;
	border-right:1px solid #5d3998;
	border-left:1px solid #5d3998;
	}
.relLinks li {
	list-style:none;
	padding-left: 10x;
	padding-bottom: 5px;
	}
.relLinks a {
	color:#0000CC;
	}

/* ---Footer--- */
#footerStyle {
	color:#FFFFFF;
	background-color:#695ba6;
	background-repeat:repeat-x;
	border-top: 1px solid #5d3998;
	border-bottom: 1px solid #5d3998;
	padding:4px 0 10px 8px;
	clear: both;
	display:block;
	}
#footerStyle p {
	font-size: .8em;
	}
	
#footerStyle a {	
	color:#FFFFFF;
	text-decoration:none;
}

#footerStyle a:hover {
	color:#5d3998;
	text-decoration:underline;
	}