﻿body,
#access_banner,
#access_banner *,
#header_div, 
#header_div *,
#leftnav,
#leftnav *,
#footer_div,
#footer_div * {
	margin:0;
	padding:0;	
}
/**{
	margin:0;
	padding:0;	
}*/
img{
	border: none;
}
.hidden{
	display: none;
}
div#content_div{
	background-color: white;
}

/* the following means there is always a right hand scroll bar */
/* may not be worth the bother... */
html {
 height: 101%
}
body {
 height: 100%;
}

body.col1 .aligncentre {
	position: relative;
}


/*/////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////// #body (1) //////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

body {
	background-color: white;
	font-size: 83%;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body.yellow_black *{
	color: yellow !important;
	background-color: black !important;
}
body.yellow_black #customise_page,
body.yellow_black img,
body.yellow_black .column{
	background-color: transparent !important;
}
body.yellow_black #access_banner li{
	border-color: black;
}

body.red_pink *{
	color: red !important;
	background-color: #ffc0cb !important;
}
body.red_pink #customise_page,
body.red_pink img,
body.red_pink .column {
	background-color: transparent !important;
}
body.red_pink #access_banner li{
	border-color: #ffc0cb;
}

body.black_white *{
/*	color: black !important;
	background-color: white !important;*/
}
body.black_white #customise_page,
body.black_white img,
body.black_white .column {
/*	background-color: transparent !important;*/
}

body.smalltext {
	font-size: 83%;
}
body.mediumtext {
	font-size: 100%;
}
body.largetext {
	font-size: 130%;
}

body #container_div{
	/*position: relative;*/ /* needed so that reset button is positioned relative to this and not the body */
	/* content now relative. Check this is okay  in IE6 */
}
body #header_div img#logo{
	top: 20px;
	left: 14px;
}
body.home #container_div,
body.customise #container_div{
	position: static;
	width: 974px;
/*	position: relative;*/ /* this caused placeholder to overflow the dragged panel in IE!!!!!!!!!!!!!!! */
}
body.home #header_div img#logo{
	top: auto;
	bottom: 0;
	left: 24px;
}
body.home,
body.customise{
	background-image: url(/images/redesign/background3.gif);
	background-repeat: repeat-y;
	background-position: top center;
}
body #content_div{
 position: relative; /* assuming this is wanted for most pages */
}
body.home #content_div{
 position: static; /* but not for the index home */
}
/*/////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////// #access_banner (2) /////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#access_banner{
	background-color:white;
	padding: 0.2em;
	border-bottom: 1px solid #999;	
	z-index: 255;
	overflow: visible;
	position: relative;
	text-align: left;
	padding-bottom: 4px; /* makes gap below boxes around style_controls more consistent - still not right in chrome*/
	overflow: hidden;
}
#access_banner * {
line-height: 1.2em;
}
#access_banner ul {
	list-style: none;
	margin-right: 6em; /* to make space for the style controls */
}
#access_banner ul li {
	display: inline;
}
#access_banner li {
	border-right: 1em solid white;
}
#access_banner #style_controls li {
	border-right: 0;
}
#access_banner #style_controls {
	position: absolute;
	top: -0.3em;
	right:  0.2em;
	z-index: 255;
	display: inline;
}
#access_banner #style_controls a {
	text-decoration: none;
}
#access_banner #style_controls {
	margin: 0 !important;
	padding: 0 !important;
}
#access_banner #style_controls * {
	margin: 0 !important;
	padding: 0 !important;
}

#access_banner .textsize2 {
	left: -0.3em;
	position: relative;
	display: inline;
}

#access_banner .textsize2 li{
	border-left: 2px solid white;
}
#access_banner .textsize2 a {
}
#access_banner #largetext {
	font-size: 150%;
}
#access_banner #mediumtext {
	font-size: 125%;
}
#access_banner #smalltext {
	font-size: 100%;
}
#access_banner a{
	color: black;
}

#access_banner .sitecolours {
	position: relative;
	display: inline;
}
#access_banner .sitecolours li{
	border-left: 2px solid white;
}
#access_banner .sitecolours li a {
}
#access_banner #textsize { /* should this be .textsize??? Does this do anything? */
	position: absolute;
	right: 0.2em;
}
#access_banner #yellow_black{
	color: yellow !important;
	border: 1px solid yellow !important;
	background-color: black !important;
}
#access_banner #red_pink{
	color: red !important;
	border: 1px solid red !important;
	background-color: #ffc0cb !important;
}
#access_banner #black_white{
	color: black !important;
	border: 1px solid black !important;
	background-color: white !important;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////// #container_div (3) ////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#container_div{
	width: 100%;
	margin: 0 auto;
	text-align: left;
	font-size: 100%;
	cursor:	default!important;
	border: none;
	background-color: white;

	/* ------- TAB TEXT ------ */
	overflow: visible !important;
	
/*	position: relative;*/
/* including this makes the panels in IE move a tiny bit right (like the other browsers)
   when picked up, so commenting it is a small price to pay... if it's left in, it puts
   the "placeholder" over the panel and seems to place the panel in the wrong place
   during dragging */
 /* however, the reason it was here was so that the "reset" button in the customise
    page was absolutely positioned relative to the container!!! Doh!*/
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////// #header_div (4) /////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#header_div {
	position: relative;
	background-color: white;
	overflow: hidden; /* having this as hidden instead of auto seems to stop Firefox "jumping header" problem when panels were grabbed?! */
	width: 100%;
	/*background-color: teal;*/
}

#header_div img#logo{
	position: absolute;
	z-index: 255;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////// #identity (5) //////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#identity {
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////// #pop_links (6) ///////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#pop_links{
	float: right;
	list-style: none;
	margin: 5px 0 10px 170px;
	padding-right: 12px;
	padding-right: 14px;
}
#pop_links li{
	display: inline;
}
#pop_links li a{
	text-decoration: none;
	color: black;
	border-right: 1px solid black;
	padding: 0 4px 0 4px;
}
#pop_links li.last a{
	border-right: 0;
	padding-right: 0;
}
#pop_links li a:hover{
	text-decoration: underline;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////// #search_form (7) ////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#search_form {
	position: relative;
	width: 100%;
	clear: both;
	float: right;
	margin-bottom: 10px;
}
#search_form div{
	padding-right: 12px;
	padding-right: 14px;
	float: right;
}
#search_form_test input {
	font-size: 100%;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////// #verbs (8) /////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#verbs {
	position: relative;
	clear: both;
	display: inline;
}
#verbs ul {
	list-style:none;
	float: right;
	display: inline;
	clear:both;
	padding-right: 12px;
	padding-right: 14px;
	margin-bottom: 5px;
}
#verbs li{
	float:left;
	margin-left: 0px; /* was 3px */
}
#verbs a {
	display:block;
	text-decoration:none;
	color: #fff;
	padding: 5px 10px;
	background-image: url(/images/redesign/button_grad2.png);
	background-repeat: repeat-x;
}
#verbs a:hover {
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////// #main-nav (14) ///////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#leftnav {
	float:left; 
	width:200px; 
	margin-right:5px;
	margin-top: 0;
	position: relative;
}
body.col1 #leftnav {
	width: 100%;
	float: none;
	/*background-color: red;*/
}

#main_nav_div {
	border: 1px solid #808080 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
}
body.col1 #leftnav #main_nav_div {
	/*overflow: hidden;*/
	overflow: auto;
	border: 0 !important;
	font-size: 80%;
	margin-right: 14px !important;
	margin-left: 14px !important;
	/*border-top: 5px solid green !important;*/
/*	display: block !important;*/
	text-align: center !important;
	/*border: 1px solid blue !important;*/
	/*width: 100%;*/
	background-color:#9CC;
}

#main_nav_div ul#main-nav{
	border-bottom: 1px solid #808080 !important;
}
body.col1 #main_nav_div ul#main-nav{
	border-bottom: 0 !important;
}

ul#main-nav {
	padding: 0;
	list-style: none;
	background-color: white;
	position: relative; /* fixes the gappy left-border in IE6 (a fixed width also works)*/
}
ul#main-nav li {
	padding: 0;
	border-top: 1px solid gray;
	line-height: 1em;
}
body.col1 ul#main-nav li {
	border-top: 0;
}
ul#main-nav a {
	text-decoration: none;
	color: black;
	display: block;
	padding: 6px 5px;
	position: relative; /* causes hover to fill whole li in IE6 */
}
ul#main-nav a:hover {
	background-color: #eee;
}


body.col1 #leftnav #main_nav_div ul#main-nav {
    list-style-type: none;
	position: relative;
	background-color: #999;
	width: 100%;
	overflow: auto;
}
body.col1 #leftnav #main_nav_div ul#main-nav li {
	display: inline;
	line-height: 170%;
	text-decoration: none;
	float: left;
}
body.col1 #leftnav #main_nav_div ul#main-nav li a {
	white-space: nowrap;
	/*background-color: #eee;*/
	color: white;
	margin: 0 0 0 5px;
	padding: 0 5px;
	position: relative;
	text-decoration: none !important; /*important needed for IE */
	display: inline;
	border-left: 1px solid white;
}
body.col1 #leftnav #main_nav_div ul#main-nav li a:visited {
	/*color: black;*/
}
body.col1 #leftnav #main_nav_div ul#main-nav li a:hover {
	/*background-color: #333;*/
	/*color: white;*/
	background-color: #999;
	color: black;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////// #footer_div (18) ////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

#footer_div {
	background-color:#999;
	text-align: left;
	clear: both;
	color: white;
	width: 100%;
	overflow: hidden;
	position: relative;
}
#footer_div h2 {
	margin-bottom: 5px;
	padding: 0 0 5px 0;
	font-size: 140%;
	border-bottom: 2px solid #8a8a8a;
	color: white;
}
#footer_div a {
	color: white;
}
#footer_div ul {
	list-style: none;
}
#footer_div #rss li,
#footer_div #legal li {
	line-height:1.8em;
}
#footer_div #rss,
#footer_div #legal,
#footer_div #contact_details {
	width: 23%;
	float: left;
	padding-top: 5px;
	margin-left: 1.5%;
	line-height: 1.8em;
}
#footer_div #rss {
	display: inline; /* fix ie6 double margin bug */
}
#footer_div #legal {
}
#footer_div #contact_details {
	overflow: visible; /* for email */
}
#footer_div #walesmap { /* handled differently due to email in contact_details */
	width: 23%;
	position: absolute;
	top: 5px;
	left: 75%;
	line-height: 1.8em;
	text-align: center;
}
#footer_div #walesmap h2{
	text-align: left;
}
#footer_div #external {
	clear: both;
	width: 100%;
	overflow: hidden;
}
#footer_div #external h2 {
	display: none;
}
#footer_div #external ul {
	text-align: center;
	margin-bottom: 5px;
	margin-top: 5px;
}
#footer_div #external ul li {
	margin-right: 30px;
	overflow: hidden;
	display: inline;
}
#footer_div #external ul li a img{
	border: 2px solid silver;
}
#footer_div #external ul li a:hover img{ /* doesn't work in ie6. Need to rethink, with hover on <a> if we want that. */
	border: 2px solid #636363;
}

#footer_div ul li a img{
	border: 2px solid silver;
}
#footer_div ul li a:hover img{ /* doesn't work in ie6. Need to rethink, with hover on <a> if we want that. */
	border: 2px solid #636363;
}

/*/////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////// colours //////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////*/

/* default */
ul#main-nav a:hover{
	border-left-color: #94033f;
}
ul#main-nav a{
	border-left: 12px solid #c06;
}
#verbs a:hover {
	background-color: #94033f;
}
#verbs a {
	background-color: #c06;
}

/* blue */
.custom_blue ul#main-nav a:hover{
	border-left-color: #0040b7;
}
.custom_blue ul#main-nav a{
	border-left: 12px solid #5974b1;
}
.custom_blue #verbs a:hover {
	background-color: #0040b7;
}
.custom_blue #verbs a {
	background-color: #5974b1;
}

/* green */
.custom_green ul#main-nav a:hover{
	border-left-color: #0b751b;
}
.custom_green ul#main-nav a{
	border-left: 12px solid #5e8c64;
}
.custom_green #verbs a:hover {
	background-color: #0b751b;
}
.custom_green #verbs a {
	background-color: #5e8c64;
}

/* grey */
.custom_grey ul#main-nav a:hover{
	border-left-color: #656565;
}
.custom_grey ul#main-nav a{
	border-left: 12px solid #858585;
}
.custom_grey #verbs a:hover {
	background-color: #656565;
}
.custom_grey #verbs a {
	background-color: #858585;
}
