html{
  height: 100%;
}
body{
  height: 100%;
	margin:5px;
	padding:0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
}
/**************************************************************
   #main: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#main {
	height: 100%;
	min-height: 100%;
	text-align: left;
/*	border: solid green;
	border-width: 1px 1px 1px 1px;*/
	margin: 0;
}

#main,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
width: expression(document.body.clientWidth > 1000 ? "1000px" : "1000");
width: expression(document.body.clientWidth < 800 ? "780px" : "990");
  min-width: 770px;
  max-width: 1000px;
  margin: 0 auto;
}

#main[id],
#width[id] {
  width: 98%;
  height: auto;
}
/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
	height: 100%;
  
/*  padding-bottom: 4em;
border: solid blue;
border-width: 1px 2px 2px 2px;*/
}
/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 79%;
/*border: solid red;
border-width: 1px 1px 1px 1px;*/
text-align: center;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 150px;
/*border: solid yellow;
border-width: 1px 1px 1px 1px;*/
}
/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}


td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
}
input, select, form {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
}
img {
	border: 0px none;
}

.search_results
{
	width:100%;
}
.result_row_0	{ background-color: #D6D3EE; }
.result_row_1	{ background-color: #FFFFFF; }
#header{
	height:101px;
	width:100%;
	background-color:#A8B4D0;
	background-image: url("http://www.nabd.org.uk/events/template/template/images/header-bg.jpg");
}

.logo{
	float: left;
	width:100%;
	background-image: url("http://www.nabd.org.uk/events/template/template/images/sitetitle.jpg");
	background-repeat: no-repeat;
	height: 50px;
	}
.view_users { width:100%; }
.slogan {
	text-align:right;
	font-size: 12px;
	color:#42557b;
	padding-right: 10px;
}
#floating {
	position:relative;
	width:30%;
	height:100%;
}
#floating div {
	position:absolute;
	bottom:0;
	right:0;
}
.time_date {
	text-align: right;
	font-size: 11px;
	padding-right: 10px;
	height: 18px;
	color:#000000;
}


.logo h1{
	font-size: 44px;
	color:blue;
	float: right;
	vertical-align: text-bottom;
}

#leftcol{
	width:170px;
	float:left;
	position:relative;
	margin-left:-170px;
	margin-right:1px;
	text-align: left;
 }

#outer{
	border:solid white 0px;
	/*/*/ border-left-width: 170px ;  /* left column width. NN4 hack to hide borders */
	border-left-color: #FFFFFF;   /* left column colour */
	border-left-style: solid;
	background-color: #FFFFFF; /* center column colour */
	width: auto;
}

#footer{
height:70px;
	width:100%;
	background-color:#000000;
	background-repeat: repeat-x;
}

.powered_by {
	color: #FFFFFF;
	margin-top: 5px;
	float:left;
	width: 200px;
	padding-left: 100px;
}

.copyright {
	color: #FFFFFF;
	margin-top: 5px;
	float:right;
	width: 400px;
	padding-right: 75px;
}


#inner{
	margin:0;
	width:100%;
}

#maincol{

	width: 100%;

	margin: 0px 0px 0px 0px;
/*	background-image: url("http://www.nabd.org.uk/events/template/template/images/col_line.png");*/
	background-repeat: repeat-y;
	background-position: top  left;

}


.clr{
	clear:both;
}

.content{
}

#header .content{
	padding-bottom:0;
}

 /*printer styles*/
@media print{
	/*hide the left column when printing*/
	#leftcol{display:none;}
	#outer{border-left:0;}
}


/* **********************  MAIN NAVIGATION   ********************** */
.rbtop div{  background: url(http://www.nabd.org.uk/events/template/template/images/b1tl.gif) no-repeat top left; }
.rbtop { background: url(http://www.nabd.org.uk/events/template/template/images/b1tr.gif) no-repeat top right; }
.rbbot div{  background: url(http://www.nabd.org.uk/events/template/template/images/b1bl.gif) no-repeat bottom left;}
.rbbot{  background: url(http://www.nabd.org.uk/events/template/template/images/b1br.gif) no-repeat bottom right;}
/* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
width: 100%;
height: 7px;
font-size: 1px;
}

#navcontainer, #navcontainer2 {
		text-align: center;
	border-bottom: 20px solid white;
	background-color: #DAF5FD;
	margin-top:5px;
	}


#navcontainer a,   #navcontainer2 a
{
		text-align: left;
	display: block; border: solid black;  /* "display: block" allows user to click on link anywhere in the link 'cell' */
		border-width: 0px 0px 0 0px;
		padding: 5px;
		font-size: 12px; font-weight: bold; color: #0066CC;
		text-decoration: none;
	background-color: #DAF5FD;
}

#navlist a:visited, #navlist2 a:visited
{
	color: #000000;
	text-decoration: none;
}

 div#navcontainer a:hover,  #navcontainer2 a:hover
{
	background-color: #333366;
		border: solid black;
		border-width: 0px 0px 0 0px;
		border-right-color: red;
	color: white;
}
/* **********************  BROWSER NAVIGATION   ********************** */
#browser .rbtop div{  background: url(http://www.nabd.org.uk/events/template/template/images/b2tl.gif) no-repeat top left; }
#browser .rbtop { background: url(http://www.nabd.org.uk/events/template/template/images/b2tr.gif) no-repeat top right; }
#browser .rbbot div{  background: url(http://www.nabd.org.uk/events/template/template/images/b2bl.gif) no-repeat bottom left;}
#browser .rbbot{  background: url(http://www.nabd.org.uk/events/template/template/images/b2br.gif) no-repeat bottom right;}

#browser {
 background-color: #e8e8e8;
		text-align: center;
	border-bottom: 20px solid white;
}


#browser a
{
	text-align: left;
	display: block;
	border: solid black;
	border-width: 0px 0px 0px 0px;
	font-size: 12px;
	font-weight: bold;
	color: #0066CC;
	text-decoration: none;
	background-color: #EEEEEE;
	margin-left: 7px;
	margin-right: 7px;
	padding-top: 3px;
	padding-bottom: 3px;
}

#browserlist a:visited
{
	line-height: 1.2em;
	color: #000000;
	text-decoration: none;
}

#browser a:hover
{
	background-color: #E1E1E1;
	border: solid black;
	border-width: 0px 0px 0 0px;
	border-right-color: red;
	color: black;
	margin-left: 15px;
}
/* **********************  BROWSER2 NAVIGATION   ********************** */

#browser2 .rbtop div{  background: url(http://www.nabd.org.uk/events/template/template/images/b2tl.gif) no-repeat top left; }
#browser2 .rbtop { background: url(http://www.nabd.org.uk/events/template/template/images/b2tr.gif) no-repeat top right; }
#browser2 .rbbot div{  background: url(http://www.nabd.org.uk/events/template/template/images/b2bl.gif) no-repeat bottom left;}
#browser2 .rbbot{  background: url(http://www.nabd.org.uk/events/template/template/images/b2br.gif) no-repeat bottom right;}

#browser2 {
/* background: url(http://www.nabd.org.uk/events/template/template/images/b2nt.gif) repeat; */
 background-color: #e8e8e8;

		text-align: center;
		font-size: 15px; 
		font-weight: bold; 
		color: #000000;
	border-bottom: 20px solid white;
}


#browser2 a
{
		text-align: left;
	display: block; border: solid black;  /* "display: block" allows user to click on link anywhere in the link 'cell' */
			border-width: 0px 0px 0 0px;
			padding: 5px;
			font-size: 12px;  color: #00CC66;
			text-decoration: none;
}

#browser2list a:visited
{
	color: #000000;
	text-decoration: none;
}

#browser2 a:hover
{
	background-color: #D1D1D1;
			border: solid black;
			border-width: 0px 0px 0 0px;
			border-right-color: red;
	color: black;
}
/* **********************  BROWSER2 NAVIGATION   ********************** */


#browser3 {

		text-align: center;
		font-size: 15px; 
		font-weight: bold; 
		color: #000000;
}




/* **********************  END NAVIGATION   ********************** */
/* THIS CONTROLS THE TABLES DISPLAYED BY PAGES GENERATED BY THE PAGE EDITOR */
table.page_display
{
	border: 3px;
	width: 100%;
}
td.page_display
{
	width: 100%;
	vertical-align: top;
}
/* THIS CONTROLS THE TABLES DISPLAYED IN THE ADMIN */
table.admin_main
{
	border: 3px;
	width: 100%;
}
td.admin_main
{
	width: 100%;
	vertical-align: top;
}
/* THIS CONTROLS THE ROW COLORS */
td.row1_0	{ background-color: #009900; }
td.row2_0	{ background-color: #CCFFCC; }
td.row3_0	{ background-color: #99CC99; }
td.row1_1	{ background-color: #000099; }
td.row2_1	{ background-color: #CCccff; }
td.row3_1	{ background-color: #9999cc; }
.adminListingLeft_0 {
	color: #FFFFFF;
	background-color : transparent;
}
/* LISTING BROWSE PAGE NAVIGATION WIDGET 'next_prev()'display stuff  */

.browse_tool_table {
	background-color: silver;
	width:100%;
	font-size: 11px;
	text-decoration: none;
	color: black;
}
.browse_tool {
	background-color: silver;
	font-size: 11px;
	text-decoration: none;
	color: black;
}
.browse_tool_num {
	color: #336699;
}

.browse_tool_button A {
	background-color: silver;
	font-size: 10px;
	line-height: 10px;
	text-align: center;
	BORDER-COLOR: #000000;
   	BORDER-STYLE: outset;
 	BORDER-WIDTH: 1px;
	font-weight: bold;
	text-decoration: none;
	color: #000000;
	width: 82px;
	height: 18px;
	display: block;
}

.browse_tool_button A:visited {
	color: #000000;
}

.browse_tool_button A:hover {
	color: #FFFFFF;
	BORDER-STYLE: inset;
	width: 82px;
	height: 18px;
}

.browse_tool_ghost {
	font-size: 10px;
	line-height: 10px;
	color: #aaaaaa;
	text-decoration: none;
}


.browse_tool_curpage {
	BACKGROUND-COLOR: #132975;
	color: #FFFFFF;
	width: 24px;
	height: 20px;
	display: block;
	text-align: center;
}

.bt_pages {
	font-family: verdana, arial, Helvetica, sans-serif;
	BACKGROUND-COLOR: #D1DEE9;
	text-decoration:none;
	font-size: 10px;
	vertical-align: middle;
	color:	#000000;
}

bt_pages_ghost{
	color:	#aaaaaa;
	text-decoration:none;
}

A.bt_pages{
	color:	#000000;
	width: 24px;
	height: 20px;
	display: block;
	text-align: center;
}

A.bt_pages:visited{
	color: #000000;
}

A.bt_pages:hover{
	color:#FFFFFF;
	background: #132975;
}
.sr_title{
	vertical-align: top;
}
.sr_date{
	vertical-align: top;
	white-space: nowrap;
	padding-right: 2px;
}
.sr_body{
	vertical-align: top;
	height: 100%;
	width: 100%;
	border-left: 1px solid #0066CC;
	padding: 2;
}
.sr_title h3{
	display: inline;
	font-size:16px;
}
.sr_title h1{
	display: inline;
	font-size:18px;
}
.hid{
	text-decoration:none;
	color:#cccccc;
	margin:0px;
	padding:0px;
	width:100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;

}
.caption{
	font-weight: bold;

}
.listlink {
	text-align: right;
	font-weight: bold;
	text-decoration:none;
	color:#008000;
}
.height {
	height: 200px;
}


