/* LOCKED */
.tree-haloacl .locked li a {
    color: gray;
}

/* DOTS */
.tree-haloacl ul {
    background-position: 6px 1px;
    background-repeat: repeat-y;
    background-image: url(data:image/gif;base64,R0lGODlhAgACAIAAAB4dGf///yH5BAEAAAEALAAAAAACAAIAAAICRF4AOw==);
    _background-image: url("dot_for_ie.gif");
    *background-image: url("dot_for_ie.gif");
}

.tree-haloacl li {
    background-position: -64px -16px;
    background-repeat: no-repeat;
    background-image: url("icons.png");
}

/* NO DOTS */
.tree-haloacl .no_dots, .tree-haloacl .no_dots ul {
    background: transparent;
}

.tree-haloacl .no_dots li.leaf {
    background-image: none;
    background-color: transparent;
}

/* OPEN or CLOSED */
.tree-haloacl li.open {
    background: url("icons.png") -32px -48px no-repeat;
}

.tree-haloacl li.closed, #jstree-dragged.tree-haloacl li li.open {
    background: url("icons.png") -48px -32px no-repeat;
}

#jstree-marker {
    background-image: url("icons.png");
}

/* DEFAULT, HOVER, CLICKED, LOADING STATES */
.tree-haloacl li a, .tree-haloacl li span {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
	color: black !important;
}

.tree-haloacl li a:hover, .tree-haloacl li a.hover, .tree-haloacl li span {
    background: #e7f4f9;
    border: 1px solid #d8f0fa;
    padding: 0px 3px 0px 3px;
    width: 500px;
	color: black !important;	
}

.tree-haloacl li a.clicked, .tree-haloacl li a.clicked:hover, .tree-haloacl li span.clicked {
    background: #beebff;
    border: 1px solid #99defd;
    padding: 0px 3px 0px 3px;
    width: 500px;
	color: black !important;	
}

/* ICONS */
.tree-haloacl ins {
    background-image: url("icons.png");
    background-position: 0 0;
    background-repeat: no-repeat;
}

.tree-haloacl ul li a.loading ins {
    background-image: url("throbber.gif") !important;
    background-position: 0 0 !important;
}

/* UL is added to make selector stronger */
.tree-haloacl li a ins.forbidden {
    background-position: -16px -16px;
}

.tree-haloacl .locked li a ins {
    background-position: 0 -48px;
}

.tree-haloacl li span ins {
    background-position: -16px 0;
}

#jstree-dragged.tree-haloacl ins {
    background: url("icons.png") -16px -32px no-repeat;
}

#jstree-dragged.tree-haloacl ins.forbidden {
    background: url("icons.png") -16px -16px no-repeat;
}

/* CONTEXT MENU */
.tree-haloacl-context a ins {
    background-image: url("icons.png");
    background-repeat: no-repeat;
    background-position: -64px -64px;
}

.tree-haloacl-context a ins.create {
    background-position: 0 -16px;
}

.tree-haloacl-context a ins.rename {
    background-position: -16px 0px;
}

.tree-haloacl-context a ins.remove {
    background-position: 0 -32px;
}

/* Further elements for HaloACL groups in a tree element*/
.tree-haloacl li a span.tree-haloacl-check {
    background: url(check0.gif) 0 0 no-repeat;
    width: 16px;
    height: 20px;
    cursor: pointer;
    border: none;
    position: absolute;
    right: 0px;
}

.tree-haloacl li a.search {
    font-style: italic;
	font-weight: bolder;
	font-size: 120%;
}

.tree-haloacl li a span.normal {
    background: url(check0.gif) 0 0 no-repeat;
}

.tree-haloacl li a span.checked {
    background: url(check2.gif) 0 0 no-repeat;
}

.tree-haloacl li a span.crossed {
    background: url(check3.gif) 0 0 no-repeat;
}

.tree-haloacl li a span.tree-haloacl-permitted-features {
    background: url(info.png) 0 0 no-repeat;
    border: none;
    position: absolute;
    right: 60px;
    width: 16px;
    height: 16px;
}

#haclGroupTreeContainer {
    margin-bottom: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: 450px;
}
