/*

RadTreeView base css

* Notes on some CSS class names *

class  --  HTML element  --  description 

rtUL  --  <ul>  --  multiple nodes container
rtLI  --  <li>  --  one node 
rtFirst  --  <li>  -- TreeView's first node
rtLast  --  <li>  -- last node in a given node group (<ul>)
rtTop,rtMid,rtBot  --  <div>  -- a wrapper (<div>) inside a node (<li>) - can be in a top, middle or bottom node in a given node group
rtIn  --  <span> or <div>  -- the inner container inside a node - contains text (<span> rendering) or template (<div> rendering)
rtSp  --  <span>  -- holds a dummy element for adjustment of node heights (should be an even number if the skin node lines are dotted)
rtChk  --  <input>  -- holds a node's checkbox
rtImg  --  <img>  -- holds a node's icon
rtPlus,rtMinus -- <span> -- holds a node's expand / collapse buttons (plus / minus signs)

*/

/* general styles */

.RadTreeView_Custom,
.RadTreeView_Custom .rtEdit .rtIn input 
{
	font:11px "Segoe UI",tahoma,verdana,sans-serif;
	color:#000;
	line-height:1.273em;
}

.RadTreeView_Custom .rtTop, 
.RadTreeView_Custom .rtMid, 
.RadTreeView_Custom .rtBot
{
	padding: 0 0 0 15px;
	color:#000;
}

.RadTreeView_Custom .rtUL .rtLI .rtUL 
{
	padding-left: 15px;
	color:#000;
}

.RadTreeView_Custom .rtPlus, 
.RadTreeView_Custom .rtMinus
{
	color:#000;
	margin:5px 1px 0 -10px;
	width:9px;
	height:9px;
}

.RadTreeView_Custom .rtPlus
{
	color:#000;
	background: transparent url(TreeView/PlusMinus.gif) no-repeat 0 0;
}

.RadTreeView_Custom .rtMinus
{
	color:#000;
	background: transparent url(TreeView/PlusMinus.gif) no-repeat 0 -9px;
}

.RadTreeView_Custom .rtSp
{
	color:#000;
	height:20px;
}

.RadTreeView_Custom .rtChk
{
	color:#000;
	margin: 0 2px;
	padding:0;
	width:12px;
	height:12px;
}

.RadTreeView_Custom .rtIn
{
	color:#000;
	margin-left:3px;
	padding: 2px 3px;
	text-decoration:none;
}

/* endof general styles */

/*Three state checkboxes*/

.RadTreeView_Custom .rtIndeterminate
{
    color:#000;
	background: transparent url(TreeView/TriState.gif) no-repeat 0 -26px;
}

.RadTreeView_Custom .rtChecked
{
    background: transparent url(TreeView/TriState.gif) no-repeat 0 0;
    color:#000;	
}

.RadTreeView_Custom .rtUnchecked
{
    background: transparent url(TreeView/TriState.gif) no-repeat 0 -13px ;
    color:#000;	
}
/* node states */

.RadTreeView_Custom .rtHover .rtIn
{
	padding: 1px 2px;
	color: #000;
	border: 1px solid #99defd;
	background: #f6fbfd url(TreeView/ItemHoveredBg.gif) repeat-x left bottom;
}

.RadTreeView_Custom .rtSelected .rtIn
{
	padding: 1px 2px;
	color:#000;
	border: 1px solid #99defd;
	background: #f6fbfd url(TreeView/ItemSelectedBg.gif) repeat-x left bottom;
}

.RadTreeView_Custom_disabled .rtIn,
.RadTreeView_Custom .rtDisabled .rtIn
{
	color:#000;
}

.RadTreeView_Custom .rtSelected .rtLoadingBelow
{
	color: #000;
}

/* endof node states */


/* in-line editing */

.RadTreeView_Custom .rtLI .rtEdit .rtIn
{
	border: 1px solid #99defd;
	padding: 0 2px;
	height:1.2em;
	background: #fff;
	text-decoration: none;
	text-decoration:none;
	color:#000;
}

.RadTreeView_Custom .rtEdit .rtIn input
{
	height:1em;
	line-height:1em;
	border:0;
	margin:0;
	padding:0;
	background:transparent;
}

/* endof in-line editing */


/* drop targets */

.rtDropAbove_Custom,
.rtDropBelow_Custom
{
    border: 1px dotted black;
    font-size: 3px;
    line-height: 3px;
    height: 3px;
}

.rtDropAbove_Custom
{
    border-bottom: 0;
}

.rtDropBelow_Custom
{
    border-top: 0;
}

/* endof drop targets */


/* rtl-specific styles */

.RadTreeView_Custom_rtl .rtPlus
{
	background: transparent url(TreeView/PlusMinus.gif) no-repeat -9px 0;
}

.RadTreeView_Custom_rtl .rtMinus
{
	background: transparent url(TreeView/PlusMinus.gif) no-repeat -9px -9px;
}

/* firefox */
.RadTreeView_Custom_rtl .rtPlus,
.RadTreeView_Custom_rtl .rtMinus
{
	margin-right:-9px;
	right:-8px;
}

* html .RadTreeView_Custom_rtl .rtPlus,
* html .RadTreeView_Custom_rtl .rtMinus
{
	margin-right:-10px;
	right:0;
}

*+html .RadTreeView_Custom_rtl .rtPlus,
*+html .RadTreeView_Custom_rtl .rtMinus
{
	margin-right:-10px;
	right:0;
}

.RadTreeView_Custom_rtl .rtTop,
.RadTreeView_Custom_rtl .rtMid, 
.RadTreeView_Custom_rtl .rtBot
{
	padding: 0 15px 2px 0;
	margin:0;
}

/* endof rtl-specific styles */


/* hacks for Opera & Safari */
@media screen and (min-width:550px)
{
	/* fixes for opera (changes the paddings/margins automatically in rtl mode) */

	html:first-child .RadTreeView_Custom_rtl .rtPlus,
	html:first-child .RadTreeView_Custom_rtl .rtMinus,
	html:first-child .RadTreeView_Custom_rtl .rtFirst .rtLI .rtPlus,
	html:first-child .RadTreeView_Custom_rtl .rtFirst .rtLI .rtMinus
	{
		margin:5px 1px 0 -10px;
		right:0;
	}
	
	/* fix for safari bug (inline-block positioned elements in rtl mode get no width) */
	:root .RadTreeView_Custom_rtl .rtPlus,
	:root .RadTreeView_Custom_rtl .rtMinus
	{
		right: 0;
		margin-right: -10px;
		margin-left: 1px;
	}
}

/* endof hacks */
