/******************************************************************************* 
 * Tree container
 */
div.ui-dynatree-container
{
	font-family: tahoma, arial, helvetica;
	font-size: 12px; /* font size should not be too big */
	line-height:18px;
	white-space: nowrap; 
	padding: 0px;
	margin:0px;
	width:240px;
	background-color: #ffffff; 
	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:10px;
}

/******************************************************************************* 
 * 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: bottom;
	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;
	border-style: none;
	width:238px;
	height:30px;
	padding:2px 0px 0px 0px;
	color:#000000;
	margin-bottom:0px;
	margin-top:1px;
	display: inline-block;
	cursor:pointer;
	vertical-align: bottom;
	background:#ededed;
	line-height:18px;
}

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

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:normal;
	vertical-align:center;
	padding:6px 0px 0px 15px;
	height:26px;
	text-shadow: #ffffff 1px 1px 0px;
}

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

span.custom2
{

}

span.custom2 a
{

}

