/* control bg colors on TD's etc. + body def to set initial text and scroll */
body, table {
	color: Black;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
} 
/* controls outline color of boxes on searches */
.bg1 {
	background-color: Black;
	color: #FF9900;
}	
.bg2{
	background-color : #FFCC00;
}
/* used for property toolbar */
.bg3{
	background-color : #FF9900;
}
/* color for horizontal rule between search results - search.php */
.bg4{
	background-color : #DCDCDC;
}
/* color for alternating rows in search results - search1.php */
.bg5{
	background-color : #EEEEEE;
}
/* used for normal cells: set to same color as standard backround */
.bg6 {
	background-color: #FFFFFF;
}
/* used for back/enquiry list toolbar */
.bg7 {
	border: 2px solid #FF9900;
}
/* creates padding for text on cells with either bg6 or bg4 applied */
TD.bg6, TD.bg5 {
	padding: 5px 5px 5px 5px;
}

/*  titles  */
H1 {
	font-size: 130%;
	font-weight: bold;
	margin-bottom: 3px;
	letter-spacing: 2px;
	text-align: center;
}
H2 {
	font-size: 115%;
	font-weight: bold;
	margin-bottom: 2px;
	text-align: center;
}

/* switch to control color of  H1 and H2 dependant on bg class applied to TD */
TD.bg1 H1, TD.bg2 H1, TD.bg2 H2, TD.bg1 H2 {
	color: #FF9900;
}
TD.bg3 H1, TD.bg4 H1, TD.bg5 H1, TD.bg6 H1, TD.bg3 H2, TD.bg4 H2, TD.bg5 H2, TD.bg6 H2 {
	color: #333333;
}

/*  text styles */

/* cap first letter of search items titles and property detail item titles */
.uc:first-letter {
	text-transform: capitalize;
}
/* class used for highlighting features */
.hlite {
	color: #CC6600;
	font-size: 105%;
	font-weight: bold;
}
.txt-sm {
	font-size: 90%;
}
.cap {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	color: #000000;
	text-transform: uppercase;
}

/* forms */
input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #FF9900;
	color: Black;
	background-color: #EBEBEB;
	font-size: 100%;
	width: 175px;
}
/* removes border from radio buttons when rad is applied as a class to radio button */
.rad {
	border: none;
}
.rad input {
	color: Black;
}
/* surround non-obligatory fields with span tags */
span input, span textarea {
	border: 1px solid #474747;
	color: #474747;
	background-color: #F7F7F7;
	
}
/* apply class to form buttons */
.frmBtn {
	COLOR: #FF9900;
	FONT-WEIGHT: bold;
	BACKGROUND-COLOR: #F7F7F7;
	BORDER : 1px solid #999999;
	text-transform : uppercase;
	width: 75px;
}

/* links */
a:link {
	color: #FF9900;
	text-decoration: none;
}
a:active {
	color: #CC6600;
	text-decoration: underline;
}
a:visited {
	color: #333333;
	text-decoration: underline;
}
a:hover {
	color: #CC6600;
	text-decoration: underline;
}

/* used for toolbar links */
a.alt:link {
	font-size: 85%;
	text-transform : uppercase;
	color: Black;
	text-decoration: none;
}
a.alt:visited {
	font-size: 85%;
	text-transform : uppercase;
	color: #404040;
	text-decoration: none;
}
a.alt:active {
	font-size: 85%;
	color: #CC6600;
	text-transform : uppercase;
	text-decoration: underline;
}
a.alt:hover {
	font-size: 85%;
	color: #696969;
	text-decoration: underline;
}
/* used in toolbar for non-link items - e.g. properties already in enquiry list */
.alt-nl {
	font-weight: bold;
	font-style: italic;
	color: #444444;
	text-transform:capitalize;
}
