html{
	margin:0px;
	padding:0px;
}
body{
	margin:0px;
	padding:0px;
	width:100% !important;
	width:779px;
	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: 0px 0px 0px 0px;
}

#main,
#width {
  min-width: 781px;
  max-width: 1000px;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
	float: left;
	width: 100%;
	height: 100%;
	/*padding-bottom: 1em;*/
	/*border: dotted blue;
	border-width: 1px 1px 1px 1px;*/
	background-image: url(http://www.nabd.org.uk/openhouse/template/nabd/images/headerfill.gif);
	background-repeat: repeat-x;
}
/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 79%;
/*border: solid red;
border-width: 1px 1px 1px 1px;*/
}
.header_width {
  width: 83%;
/*border: solid red;
border-width: 1px 1px 1px 1px;*/
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 150px;
/*border: solid yellow;
border-width: 1px 1px 1px 1px;*/

}
.width170 {
  width: 170px;
/*border: solid yellow;
border-width: 1px 1px 1px 1px;*/
}
.height{
height:100% !important;
height:300px;
/*border: solid yellow;
border-width: 1px 1px 1px 1px;*/
vertical-align:top;
}
/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}
.navholder {
padding-left: 5px;
width:140px;
}

.error_text{ 
	font-family: Arial;
	color: #FF0000;
	font-weight: bold;
	font-size: 14pt;
}
.no_results { color:red; margin-top:10px; margin-bottom:10px;}
.redtext { color:red; margin-top:10px; margin-bottom:10px;}



img {
	border: 0px none;
}

.leftcol{
/*	background-color: #3399ff;*/
	margin-left: 0px;
 }


.content td{
	vertical-align:top;
}
.content {
	width:100%;
}
.content h1 {
font-size: 25px;
}
.content h2 {
font-size: 16px;
}
#header .content{
	padding-bottom:0;
}
.content a{
text-decoration:none;
color:#000080;
}

/* **********************  MAIN NAVIGATION   ********************** */
.rbtop div{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b1tl.gif) no-repeat top left; }
.rbtop { background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b1tr.gif) no-repeat top right; }
.rbbot div{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b1bl.gif) no-repeat bottom left;}
.rbbot{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/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;
/*	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 0px 0px;
		padding: 5px;
		font-size: 12px;
		font-weight: bold;
		color: #003366;
		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/openhouse/template/nabd/images/b2tl.gif) no-repeat top left; }
#browser .rbtop { background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2tr.gif) no-repeat top right; }
#browser .rbbot div{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2bl.gif) no-repeat bottom left;}
#browser .rbbot{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2br.gif) no-repeat bottom right;}

#browser {
 background-color: #e8e8e8;
/*		text-align: center;*/
width:140px;
}

#scroll1, #scroll2
{
	padding-top: 2px;
	border:solid #e8e8e8;
	border-width: 0px 0px 0px 0px;
	margin-left:5px;
	width: 130px;
	background-color: #EEEEEE;
/*	overflow:scroll;*/
}

#scroll1 a
{
	display: block;
	font-size: 12px;
	color: #003366;
	text-decoration: none;
	background-color: #EEEEEE;
	padding-bottom: 2px;
	width:100%;
}

#scroll1 a:visited
{
}

#scroll1 a:hover
{
	background-color: black;
	color: #f0f0f0;
}
/* **********************  BROWSER2 NAVIGATION   ********************** */

#browser2 .rbtop div{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2tl.gif) no-repeat top left; }
#browser2 .rbtop { background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2tr.gif) no-repeat top right; }
#browser2 .rbbot div{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2bl.gif) no-repeat bottom left;}
#browser2 .rbbot{  background: url(http://www.nabd.org.uk/openhouse/template/nabd/images/b2br.gif) no-repeat bottom right;}

#browser2 {
/* background: url(http://www.nabd.org.uk/openhouse/template/nabd/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;
}

#browser .current, #browserel .current
{
	color: #FFFFFF;
	background-color: #808080;
}
.geo_head{
	margin-bottom: 5px;
	text-align: left;
	font-weight: bold; 
	font-size: 15px; 
	margin-left: 5px;
	margin-right: 5px;
}
.geo_head a
{
	display: block;
	text-decoration: none;
	background-color: #EEEEEE;
	color: #000088;
}

.geo_head a:visited
{
}

.geo_head a:hover
{
/*	background-color: #E1E1E1;
	color: blue;*/
	background-color: black;
	color: #f0f0f0;
}



/* **********************  END NAVIGATION   ********************** */

.sr_title {
	font-size:16px;
	color:#4b0697;
	font-weight: bold; 
}
.sr_heading h1{
font-size:16px;
}
.sr_heading h3{
margin-bottom:5px;
}
.sr_title td{
	vertical-align: top;
	font-size:12px;
	color:#4b0697;
	font-weight: bold; 
}
.sr_Features{
background-color: #CCFFE6;
}
.sr_Adaptions{
background-color: #FFE1FF;
}
.sr_Adaptions_subtitle{
background-color: #FFE1FF;
font-size:12px;
}
.sr_Reports{
background-color: #AAFFFF;
}
.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;
}
.grant {
	color:#800000;
	font-family: "Times New Roman", Times, serif;

}
/* *** This is internal css for Open-Realty */
.field_caption{
	font-weight:bold;
}
.searchpage_field_caption {
font-weight:bold;
text-align:right;
}
.searchpage_field_caption_row {
font-weight:bold;
text-align:right;
}
.lat_long_header{font-size:12px;}
.view_image {
	text-align:center;
}

.image_caption {
	font-size:16px;
	font-weight:bold;
}
.view_user {
 padding-left:5px;
}
.view_user_user_name {
	font-size:14px;
	font-weight:bold;
}
.view_user_user_images {
	float:left;
}
.view_user_user_info {
	float:left;
	padding-left:10px;
}
.view_user_user_hitcount {
	clear:both;
}
.view_user_user_box {

}
.no_results { color:red; margin-top:10px; margin-bottom:10px;}
.redtext { color:red; margin-top:10px; margin-bottom:10px;}

.search_results
{
	width:100%;
}
.result_row_0	{ background-color: #D6D3EE; }
.result_row_1	{ background-color: #FFFFFF; }
.view_users { width:100%; }

.logo h1{
	font-size: 44px;
	color:blue;
	float: right;
	vertical-align: text-bottom;
}

.clr{
	clear:both;
}

.content{
	position:relative;
}


 /*printer styles*/
@media print{
	/*hide the left column when printing*/
	#leftcol{display:none;}
	#outer{border-left:0;}
}



/* THIS CONTROLS THE TABLES DISPLAYED BY PAGES GENERATED BY THE PAGE EDITOR */
table.page_display
{
	border: 3px;
}
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; }
.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;
}
/* LISTING PAGE DETAILS 'listing_next_prev'  */
.next_prev_listing { margin: 2em 0 2em 3em;  border: 1px solid #a9a9a9; width: 40em; text-align: center; }
.next_prev_listing ul { margin: 1.5em auto; }
.next_prev_listing li { display: inline; padding: .5em 1em; list-style-type: none; }
.count, .listing_xy { width: 100%; background-color: #dcdcdc; clear: both; padding: .5em 0; }
/* css for tabbed pages */
.dynamic-tab-pane-control.tab-pane {
	position:	relative;
	width:		100%;		/* width needed weird IE bug */
	margin-right:	-2px;	/* to make room for the shadow */
}
.dynamic-tab-pane-control .tab-row .tab {
	width:				70px;
	height:				16px;
	background-image:	url( "http://www.nabd.org.uk/openhouse/template/nabd/images/tab.png" );
	position:		relative;
	top:			0;
	display:		inline;
	float:			left;
	overflow:		hidden;
	cursor:			Default;
	margin:			1px -1px 1px 2px;
	padding:		2px 0px 0px 0px;
	border:			0;
	z-index:		1;
	font:			11px Tahoma;
	white-space:	nowrap;
	text-align:		center;
}
.dynamic-tab-pane-control .tab-row .tab.selected {
	width:				74px !important;
	height:				18px !important;
	background-image:	url( "http://www.nabd.org.uk/openhouse/template/nabd/images/tab.active.png" ) !important;
	background-repeat:	no-repeat;
	border-bottom-width:	0;
	z-index:		3;
	padding:		2px 0 0px 0;
	margin:			1px -3px -3px 0px;
	top:			-2px;
	font:				11px Tahoma;
}
.dynamic-tab-pane-control .tab-row .tab a {
	font:				11px Tahoma;
	color:				Black;
	text-decoration:	none;
	cursor:				default;
}
.dynamic-tab-pane-control .tab-row .tab.hover {
	font:				11px Tahoma;
	width:				70px;
	height:				16px;
	background-image:	url( "http://www.nabd.org.uk/openhouse/template/nabd/images/tab.hover.png" );
	background-repeat:	no-repeat;
}
.dynamic-tab-pane-control .tab-page {
	clear:			both;
	border:			1px solid rgb( 145, 155, 156 );
	background:		#ffffff;
	z-index:		2;
	position:		relative;
	top:			-2px;
	font:				11px Tahoma;
	color:				Black;
	filter:			progid:DXImageTransform.Microsoft.Gradient(StartColorStr=#fffcfcfe, EndColorStr=#fff4f3ee, GradientType=0)
					progid:DXImageTransform.Microsoft.Shadow(Color=#ff919899, Strength=2, Direction=135);
	/*244, 243, 238*/
	/* 145, 155, 156*/

	padding:		10px;
}
.dynamic-tab-pane-control .tab-row {
	z-index:		1;
	white-space:	nowrap;
}body{
width: expression(documentElement.clientWidth < 780 ? '781px' : '100%');
}
#main,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
/*width: expression('100%');*/
/*width: expression(documentElement.clientWidth > 1000 ? '1000px' : '1000');*/
/*width: expression(documentElement.clientWidth < 800 ? '770px' : '990');*/
width: expression(documentElement.clientWidth < 780 ? '781px' : (documentElement.clientWidth > 1000 ? '1000px' : '100%'));
/*width: expression(documentElement.clientWidth > 1000 ? '1000px' : '1000');*/
}

