/*!
 * Bootstrap Tree v0.3
 *
 * Copyright 2012 Cutters Crossing
 * Bootstrap is Copyright 2012 Twitter, Inc.
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world by @cutterbl.
 */

.tree,
.branch {
    list-style: none outside none;
}
.branch {
    postion: relative;
    height: 0;
    margin: 0 15px 0 0;
    overflow: hidden;
}
.branch.in {
    height: auto;
}

a:link,
a:visited,
a:hover,
a:active {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}
/* Work in progress */
a.tree-toggle-icon-only {
    height: 22px;
    width: 20px;
    line-height: 16px;
    vertical-align: middle;
    display: block;
    background-image: url("../img/bstree-halflings-rtl.png") no-repeat;
    background-position: right -20px;
}

a.tree-toggle {
    height: 22px;
    padding-right: 23px;
    line-height: 16px;
    vertical-align: middle;
    display: block;
    background: url("../img/bstree-halflings-rtl.png") no-repeat;
    background-position: right -20px;
}

a.tree-toggle.closed, a.tree-toggle-icon-only.closed {
    background-position: right 3px;
}


/* ------------------- for new tree -------------------------------------- */


.label,.badge {
    display:inline-block;
    font-size:11.844px;
    font-weight:700;
    line-height:14px;
    color:#fff;
    vertical-align:baseline;
    white-space:nowrap;
    text-shadow:0 -1px 0 rgba(0,0,0,0.25);
    background-color:#999;
    padding:2px 4px;
}

.label {
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
}

.badge {
    padding-left:9px;
    padding-right:9px;
    -webkit-border-radius:9px;
    -moz-border-radius:9px;
    border-radius:9px;
}

a.label:hover,a.label:focus,a.badge:hover,a.badge:focus {
    color:#fff;
    text-decoration:none;
    cursor:pointer;
}

.label-important,.badge-important {
    background-color:#b94a48;
}

.label-important[href],.badge-important[href] {
    background-color:#953b39;
}

.label-warning[href],.badge-warning[href] {
    background-color:#c67605;
}

.label-success,.badge-success {
    background-color:#468847;
}

.label-success[href],.badge-success[href] {
    background-color:#356635;
}

.label-info,.badge-info {
    background-color:#3a87ad;
}

.label-info[href],.badge-info[href] {
    background-color:#2d6987;
}

.label-inverse,.badge-inverse {
    background-color:#333;
}

.label-inverse[href],.badge-inverse[href] {
    background-color:#1a1a1a;
}

.btn .label,.btn .badge {
    position:relative;
    top:-1px;
}
.label-warning,.badge-warning,.btn-group.open .btn-warning.dropdown-toggle {
    background-color:#f89406;
}

.btn-mini .label,.btn-mini .badge,.navbar-fixed-top {
    top:0;
}
