﻿ul.dhtmlList 
{
    padding: 0px;
    color: #f00;
    margin: 0px !important;
    display: block !important;
    height: 19px;
	font-size: 1em;
	border: 0;
}

ul.dhtmlList li
{
	margin: 0 !important;
	padding-left: 0 !important;
	list-style: none !important;
	background: none !important;
}

ul.dhtmlList li.dhtml_selectedValue 
{
    width: 100%;
	margin: 0px;
	padding: 0px;
	cursor: pointer;
	display: inline;
    background: none !important;
    /* position: relative; removed - caused the selected value text to show 
    through all dropdowns in IE (spans wrapped around text and ul for same effect)  */
}

ul.dhtmlList li.dhtml_selectedValue span.displayValue
{
    padding: 0;
    margin: auto 0;
    width: 100%;
    height: 19px;
    overflow: hidden;
	color: #036;
    line-height: 19px;
    text-indent: 5px;
    display: block;
    overflow: hidden;
    font-size: .9em;
    background-color: #fff;
	border: 1px solid #929292;
	float: left;

}

ul.dhtmlList li.dhtml_selectedValue span.actionButton 
{
    padding: 0px;
    margin: 0px;
    width: 24px;
    height: 21px;
    display: block;
	float: left;
	background: #fff url(../img/dropdown-button.gif) 0 0 repeat-y;
}
ul.dhtmlList li span.dropdownWrapper 
{
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 0px;
	display: block;
	float:left;
	clear: both;
}

ul.dhtmlList li span.dropdownWrapper div.scrollContainer {
	position: absolute;				/* use positioning to hide the dropdown on closed state */
	top: -9999px;
	left: -9999px;
	width: 100%;
	height: 200px;
	overflow: hidden;
    border: 1px solid #c9c3bb;
    border-top: 0;
    z-index:999999;
}

ul.dhtmlList li.over span.dropdownWrapper div.scrollContainer {
	top: 0px;
	left: 0px;
}

ul.dhtmlList li div.scroller {
	position: relative;
}

ul.dhtmlList li ul 
{
	position: absolute;
	top: 0px;
	left: 0px;
    background-color: #fff;
    width: 100%;
    padding: 0px;
    margin: 0px;
    list-style-position: inside;
    /*overflow: auto;
    height: 100px;*/
    /*z-index: 9999; the z-index is applied dynamically 
    using javascript - each dropdown gets it's own z-index */
}


ul.dhtmlList li ul li 
{
    text-align: left;
    list-style-position: outside;
	font-size: 1em !important;
	background-color: #fff !important;
	position: relative !important;
	background: url('../img/dash.gif') 3px 8px no-repeat !important;
	padding: 0 0 0 10px !important;
}

ul.dhtmlList li ul li a 
{
    /* override #ProductCategory a styles */
	width: auto !important;
	height: auto !important;
	background: none !important;
	color: #036;
	display: block !important;
	float: none !important;
	font-size: .9em !important;
	position: relative !important;
	padding: 3px 0 !important;
}

ul.dhtmlList li ul li.over
{
	background-color: #ccc !important;
}
ul.dhtmlList li ul li.over a
{
    color: #666 !important;
    position: relative !important;
    text-decoration: none;
}

ul.dhtmlList li ul li a { text-decoration: none; }
	
/* styles for MooTools slider (scrollbars) */
.scrollWrapper {
	float: right;
}
.scrollCont {
	background: #ebebeb;
	height: 174px;
	width: 18px;
	text-align: center;
}

.scrollThumb {
	height: 20px;
	width: 16px;
	background: #c9c3bb url(../img/scrollbar_thumb_bg.gif);
	margin: 0 auto;
	cursor: pointer;
	cursor: hand;
}

ul.dhtmlList li .scrollCont {
	right: -9999px;
	top: -9999px;
}

ul.dhtmlList li.over .scrollCont {
	right: 0px;
	top: 0px;
}

.scrollWrapper a.arrowUpBtn {
	width: 18px !important;
	height: 13px !important;
	display: block;
	background: url(../img/scrollbar_uparrow.gif) 50% 0 no-repeat !important;
	margin: 0 !important;
	padding: 0 !important;
	float: left !important;
	clear: both;
	cursor: pointer;
	cursor: hand;
	font-size: 1px;
	line-height: 1px;
}

.scrollWrapper a.arrowDownBtn {
	width: 18px !important;
	height: 13px !important;
	display: block;
	background: url(../img/scrollbar_downarrow.gif) 50% 0 no-repeat !important;
	margin: 0 !important;
	float: left !important;
	clear: both;
	cursor: pointer;
	cursor: hand;
	font-size: 1px;
	line-height: 1px;
}
