/*******************************************************************************
 * Tree container
 */
ul.dynatree-container
{
    color: #484848  !important;
    font-family: Arial,"trebuchet ms",arial,sans-serif !important;
    font-weight: normal;
    font-size: 17px;
    line-height: 17px;

	white-space: nowrap;
	overflow: auto;
	padding: 0;
	margin: 0; /* issue 201 */
/*	height: 100%; /* issue 263, 470 */
	min-height: 0%;
}

ul.dynatree-container ul
{
	padding: 0 0 0 25px;
	margin: 0;
}

ul.dynatree-container li
{
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	-moz-background-clip:border;
	-moz-background-inline-policy: continuous;
	-moz-background-origin: padding;
	margin: 0;
	padding: 1px 0 0 0;
}

.dynatree-title {
}

.dynatree-title-count
{
    color: #888;
}


.filters-label-for .dynatree-title {
	font-size: 15px;
}

/* Suppress lines for last child node */
ul.dynatree-container li.dynatree-lastsib
{
	background-image: none;
}
/* Suppress lines if level is fixed expanded (option minExpandLevel) */
ul.dynatree-no-connector > li
{
	background-image: none;
}

/* Style, when control is disabled */
.ui-dynatree-disabled ul.dynatree-container
{
	opacity: 0.5;
/*	filter: alpha(opacity=50); /* Yields a css warning */
	background-color: silver;
}

/*******************************************************************************
 * Common icon definitions
 */
span.dynatree-empty,
span.dynatree-vline,
span.dynatree-connector,
span.dynatree-expander,
span.dynatree-icon,
span.dynatree-checkbox,
span.dynatree-radio,
span.dynatree-drag-helper-img,
#dynatree-drop-marker
{
	width: 16px;
	height: 16px;
/*	display: -moz-inline-box; /* @ FF 1+2 removed for issue 221 */
/*	-moz-box-align: start; /* issue 221 */
	display: inline-block; /* Required to make a span sizeable */
	vertical-align: middle;
	background: none;
	background-position: center center;
	background-repeat: no-repeat;
}

/** Used by 'icon' node option: */
ul.dynatree-container img
{
	width: 16px;
	height: 16px;
	margin-left: 3px;
	vertical-align: top;
	border-style: none;
}


/*******************************************************************************
 * Lines and connectors
 */

span.dynatree-connector
{
	background: none;
	width: 0;
	height: 0;
}

/*******************************************************************************
 * Expander icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *		 so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-exp-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'd': lazy (Delayed)
 * 3rd character (optional): 'l': Last sibling
 */

span.dynatree-expander
{
	background-image: url("/Content/Images/downarrow.svg");
	cursor: pointer;
	margin-left: 6px;
}
.dynatree-exp-cl span.dynatree-expander /* Collapsed, not delayed, last sibling */
{
	background-image: url("/Content/Images/downarrow.svg");
}
.dynatree-exp-cd span.dynatree-expander /* Collapsed, delayed, not last sibling */
{
	background-image: url("/Content/Images/downarrow.svg");
}
.dynatree-exp-cdl span.dynatree-expander /* Collapsed, delayed, last sibling */
{
	background-image: url("/Content/Images/downarrow.svg");
}
.dynatree-exp-e span.dynatree-expander,  /* Expanded, not delayed, not last sibling */
.dynatree-exp-ed span.dynatree-expander  /* Expanded, delayed, not last sibling */
{
	background-image: url("/Content/Images/uparrow.svg");
}
.dynatree-exp-el span.dynatree-expander,  /* Expanded, not delayed, last sibling */
.dynatree-exp-edl span.dynatree-expander  /* Expanded, delayed, last sibling */
{
	background-image: url("/Content/Images/uparrow.svg");
}
.dynatree-loading span.dynatree-expander  /* 'Loading' status overrides all others */
{
	background-image: url("/Scripts/skin/loading.gif");
}


/*******************************************************************************
 * Checkbox icon
 */
span.dynatree-checkbox
{
	background-image: url('/Content/Images/checkbox_empty.svg');
	display: inline-block;
	margin: 0 0.4em 0 0;
	padding:0;
	vertical-align: middle;
	width: 37px;
	height: 37px;
}

.dynatree-partsel span.dynatree-checkbox
{
	background-image: url('/Content/Images/checkbox_partsel.svg');
}

.dynatree-selected span.dynatree-checkbox
{
	background-image: url('/Content/Images/checkbox_full.svg');
}


/* Status node icons */

.dynatree-statusnode-wait span.dynatree-icon
{
	background-image: url("loading.gif");
}

.dynatree-statusnode-error span.dynatree-icon
{
	/*background-position: 0px -112px;*/
/*	background-image: url("ltError.gif");*/
}

/*******************************************************************************
 * Node titles
 */

/* @Chrome: otherwise hit area of node titles is broken (issue 133)
   Removed again for issue 165; (133 couldn't be reproduced) */
span.dynatree-node
{
/*	display: -moz-inline-box; /* issue 133, 165, 172, 192. removed for issue 221*/
/*	-moz-box-align: start; /* issue 221 */
	display: inline-block; /* issue 373 Required to make a span sizeable */
	vertical-align: middle;
	margin-top:4px;
	margin-bottom:4px;
	width: 100%;
}


/* Remove blue color and underline from title links */
ul.dynatree-container a
/*, ul.dynatree-container a:visited*/
{
	color: black; /* inherit doesn't work on IE */
	text-decoration: none;
	vertical-align: middle;
	margin: 0px;
	margin-left: 3px;
/*	outline: 0; /* @ Firefox, prevent dotted border after click */
}

span.dynatree-node a
{
	display: inline-block; /* Better alignment, when title contains <br> */
	white-space: normal;
	word-wrap: normal;
    max-width: 75%;
	line-height: 19px;
}
span.dynatree-folder a
{
	font-weight: bold;
}

ul.dynatree-container a:focus,
span.dynatree-focused a:link  /* @IE */
{
	/*background-color: #EFEBDE; /* gray */*/
}

span.dynatree-has-children a
{
	color: #2f7a8e;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
}

span.dynatree-expanded a
{
}

span.dynatree-selected a
{
}

span.dynatree-active a
{
}

/*******************************************************************************
 * Drag'n'drop support
 */

/*** Helper object ************************************************************/
div.dynatree-drag-helper
{
}
div.dynatree-drag-helper a
{
	border: 1px solid gray;
	background-color: white;
	padding-left: 5px;
	padding-right: 5px;
	opacity: 0.8;
}
span.dynatree-drag-helper-img
{
}
div.dynatree-drag-helper /*.dynatree-drop-accept*/
{
}
div.dynatree-drop-accept span.dynatree-drag-helper-img
{
}
div.dynatree-drag-helper.dynatree-drop-reject
{
	border-color: red;
}
div.dynatree-drop-reject span.dynatree-drag-helper-img
{
}

/*** Drop marker icon *********************************************************/

#dynatree-drop-marker
{
	width: 24px;
	position: absolute;
	margin: 0;
/*	border: 1px solid red; */
}
#dynatree-drop-marker.dynatree-drop-after,
#dynatree-drop-marker.dynatree-drop-before
{
	width:64px;
}
#dynatree-drop-marker.dynatree-drop-copy
{
}
#dynatree-drop-marker.dynatree-drop-move
{
}

/*** Source node while dragging ***********************************************/

span.dynatree-drag-source
{
	/* border: 1px dotted gray; */
	background-color: #e0e0e0;
}
span.dynatree-drag-source a
{
	color: gray;
}

/*** Target node while dragging cursor is over it *****************************/

span.dynatree-drop-target
{
	/*border: 1px solid gray;*/
}
span.dynatree-drop-target a
{
}
span.dynatree-drop-target.dynatree-drop-accept a
{
	/*border: 1px solid green;*/
	background-color: #3169C6 !important;
	color: white !important; /* @ IE6 */
	text-decoration: none;
}
span.dynatree-drop-target.dynatree-drop-reject
{
	/*border: 1px solid red;*/
}
span.dynatree-drop-target.dynatree-drop-after a
{
}


/*******************************************************************************
 * Custom node classes (sample)
 */

span.custom1 a
{
}
