/* @override http://dev.gisforhistory.org/hmap/hmap/jsUI.css */

/***********************************************************************
*
*	jsUI.css
*
*		Ben Loh, Inquirium
*
*		Copyright 2004 Inquirium LLC
*		Version 1.0d1  Created 2/17/07
*		Developed and tested using PHP 4.3.2
*
*	Styles to use with jsUI.js classes
*	jsUI.js replaces existing HTML elements with css-based ones
*
************************************************************************/

/* @group SELECT replace menus
	Based on http://easy-designs.net/articles/replaceSelect/
 */

select {
	display: block;
	width: 30em;
	}
select.replaced {
	display: none;
	}

ul.selectReplacement {
	/* Start IE6: necessary to have menu float above other text*/
	position: absolute;
	/* End IE6 */
	float: left;
	background-color: white;
	margin: 1px 0px;
	padding: 0;
	height: 2em;
	width: 35em;
	}
ul.selectReplacement li {
	background: #fff;
	margin: 0;
	padding: 1px 12px;
	width: 29.8em;
	color: #333;
	cursor: pointer;
	/* start show/hide */
	left: -999em;
	position: absolute;
	/* end show/hide */
	font-size: 11px;
	line-height: 1.5em;
	list-style: none;
	font-weight: normal;
	font-style: normal;
	}
ul.selectReplacement li.selected {
	background: url(../img/sfDownarrow.gif) #e5e5c1 right no-repeat;
	color: #333;
	/* start show/hide */
	left:auto;
	/* end show/hide */
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #d5d5b1;
	border-right: 1px solid #d5d5b1;
	}

/* ul.selectOpen li
		position:relative is necessary to get the menu to display on top of other screen elements. */

ul.selectOpen li {
	padding-left: 2em;
	background-color: #f0f0f0;
	position: relative;
	/* start show/hide */
	left:auto;
	/* end show/hide */
	}
ul.selectOpen li.selected {
	background: #e5e5c1;
	}
ul.selectOpen li.disabled {
	color: #ccc;
	cursor: default;
	}
ul.selectOpen li.disabled:hover {
	background: #e0e0ff;
	color: #ccc;
	}
ul.selectOpen li:hover,
ul.selectOpen li.hover,
ul.selectOpen li.selected:hover,
ul.selectOpen li.selected.hover {
	background: #99f;
	color: #fff;
	}
ul.selectOpen li.groupLabel {
	width: 30.8em;
	font-weight: bold;
	cursor: default;
	padding-left: 1em;
	}
ul.selectOpen li.groupLabel:hover,
ul.selectOpen li.groupLabel.hover {
	background: #e0e0ff;
	color: #000;
	}
/* @end */


/* @group ABtn */
.ABtn {
	display: 			block;
	text-align:			center;
	padding:			2px 2px;
	margin:				0px;
	cursor:				pointer;
	font-size: 			9px;
	height:				2em;
	}
.ABtn.up {
	background: #f2ecb5;
	border-top: 1px solid #e9d7a7;
	border-left:		1px solid #e9d7a7;
	border-right:		1px solid #aa8647;
	border-bottom: 1px solid #aa8647;
	color: #655631;
	text-decoration:	none;
	}
.ABtn.down {
	background: #dabb6b;
	border-top:			1px solid #aa8647;
	border-left:		1px solid #aa8647;
	border-right:		1px solid #e9d7a7;
	border-bottom:		1px solid #e9d7a7;
	color:				#000;
	font-weight:		bold;
	text-decoration:	none;
	}
.ABtn.up:hover {
	background-color: #ebdb98;
	}
.ABtn.down:hover {
	background-color: #ebdb98;
	}
.ABtn.disabled {
	background: #ddc;
	border: 1px solid #ddc;
	color: #bbb;
	text-decoration:	none;
	}
/* @end */


