/******************************************************************************* 
 * Tree container
 */
div.ui-dynatree-container
{
	font-family: tahoma, arial, helvetica;
	font-size: 12px; /* font size should not be too big */
	white-space: nowrap; 
	padding: 0px;
	margin:0px;
	width:250px;
	background-color: white; 
	overflow:hidden;
}

/******************************************************************************* 
 * Common icon definitions
 */
span.ui-dynatree-empty,
span.ui-dynatree-vline,
span.ui-dynatree-connector,
span.ui-dynatree-expander,
span.ui-dynatree-icon,
span.ui-dynatree-checkbox
{
    padding-left:17px;
}

/******************************************************************************* 
 * Checkbox icon
 */
span.ui-dynatree-checkbox
{
	margin-left: 3px;
	background-image: url("cbUnchecked.gif");
}
span.ui-dynatree-checkbox:hover
{
	background-image: url("cbUnchecked_hover.gif");
}

.ui-dynatree-partsel span.ui-dynatree-checkbox
{
	background-image: url("cbIntermediate.gif");
}
.ui-dynatree-partsel span.ui-dynatree-checkbox:hover
{
	background-image: url("cbIntermediate_hover.gif");
}

.ui-dynatree-selected span.ui-dynatree-checkbox
{
	background-image: url("cbChecked.gif");
}
.ui-dynatree-selected span.ui-dynatree-checkbox:hover
{
	background-image: url("cbChecked_hover.gif");
}

/******************************************************************************* 
 * Node titles
 */

/* Remove blue color and underline from title links */
div.ui-dynatree-container a 
{
	color: black; /* inherit doesn't work on IE */
	text-decoration: none;
	vertical-align: top;
	margin: 0px;
	border-style: none;
	border-width:0px;
/*	outline: 0; /* @ Firefox, prevent dotted border after click */
}

div.ui-dynatree-container a:hover
{
	text-decoration: none;
}


span.ui-dynatree-folder
{
    border-style:none;
	border-width:0px;
	background-image: url("/media/images/menu.gif");
	background-position:bottom left; 
	background-repeat: no-repeat;
	border-style: none;
	width:250px;
	height:22px;
	padding:2px 0px 0px 0px;
	margin-bottom:3px;
	display: inline-block;
	cursor:pointer;
	overflow:hidden;
}

span.ui-dynatree-document a,
span.ui-dynatree-folder a
{
	display: inline-block; /* Better alignment, when title contains <br> */  
	color:#666666;
	
}

div.ui-dynatree-container a:focus,
span.ui-dynatree-focused a:link  /* @IE */
{
    border-style:none;
}


span.ui-dynatree-expanded a
{
}

span.ui-dynatree-selected a 
{
	color: green; 
	font-style: italic;
}

span.ui-dynatree-active a
{
	color: red !important; /* @ IE6 */
	border-width:0px;
	border-style:none;
}

/******************************************************************************* 
 * Custom node classes (sample)
 */
.ui-dynatree-has-children {
    color:#ff0000;
    font-size:14pt;
}

span.custom1
{
	background-image: url("/media/images/glkategoria.gif");
	background-repeat: no-repeat;
	background-position:top left;
	font-weight:bold;
	vertical-align:center;
	padding-left:15px;
}

span.custom1 a
{
    color:white;
    border-style:none;
}

span.custom2
{

}

span.custom2 a
{

}
