/*!
 * Fancytree "bootstrap" skin (highlighting the node span instead of title-only).
 *
 * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
 * the LESS templates.
 */

.fancytree-connectors .fancytree-exp-n span.fancytree-expander, .fancytree-connectors .fancytree-exp-nl span.fancytree-expander, span.fancytree-checkbox, span.fancytree-custom-icon, span.fancytree-expander, span.fancytree-icon {
    margin-top: 0
}

.ui-helper-hidden {
    display: none
}

ul.fancytree-container {
    font-family: tahoma,arial,helvetica;
    font-size: 10pt;
    white-space: nowrap;
    padding: 3px;
    margin: 0;
    background-color: #fff;
    /*border: 1px dotted gray;*/
    min-height: 0;
    position: relative
}

    ul.fancytree-container ul > li:before {
        content: none
    }

    ul.fancytree-container li {
        -moz-background-clip: border;
        -moz-background-inline-policy: continuous;
        -moz-background-origin: padding;
        background-attachment: scroll;
        background-color: transparent;
        background-position: 0 0;
        background-repeat: repeat-y;
        background-image: none;
        margin: 0;
        list-style: none
    }

img.fancytree-icon, span.fancytree-checkbox, span.fancytree-icon {
    margin-left: .5em
}

ul.fancytree-container li.fancytree-lastsib {
    background-image: none
}

.ui-fancytree-disabled ul.fancytree-container {
    opacity: .5;
    background-color: silver
}

ul.fancytree-connectors.fancytree-container li {
    background-image: url(../skin-bootstrap-n/vline.gif);
    background-position: 0 0
}

.fancytree-loading span.fancytree-expander, .fancytree-loading span.fancytree-expander:hover, .fancytree-statusnode-loading span.fancytree-icon, .fancytree-statusnode-loading span.fancytree-icon:hover, ul.fancytree-container li.fancytree-lastsib, ul.fancytree-no-connector > li {
    background-image: none
}

li.fancytree-animating {
    position: relative
}

#fancytree-drop-marker, span.fancytree-checkbox, span.fancytree-drag-helper-img, span.fancytree-empty, span.fancytree-expander, span.fancytree-icon, span.fancytree-vline {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: 0 0
}

span.fancytree-custom-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-left: .5em;
    background-position: 0 0
}

img.fancytree-icon {
    width: 1em;
    height: 1em;
    margin-top: 0;
    vertical-align: top;
    border-style: none
}

span.fancytree-expander {
    cursor: pointer;
}

.fancytree-exp-n span.fancytree-expander, .fancytree-exp-nl span.fancytree-expander {
    background-image: none;
    cursor: default
}

.fancytree-fade-expander span.fancytree-expander {
    transition: opacity 1.5s;
    opacity: 0
}

.fancytree-fade-expander .fancytree-treefocus span.fancytree-expander, .fancytree-fade-expander [class*=fancytree-statusnode-] span.fancytree-expander, .fancytree-fade-expander.fancytree-treefocus span.fancytree-expander, .fancytree-fade-expander:hover span.fancytree-expander {
    transition: opacity .6s;
    opacity: 1
}

.fancytree-unselectable span.fancytree-checkbox {
    opacity: .4;
    filter: alpha(opacity=40)
}

span.fancytree-node {
    display: inherit;
    width: 100%;
    margin-top: 1px;
    min-height: 1em
}

span.fancytree-title {
    color: #000;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    min-height: 1em;
    padding: 0 3px;
    margin: 0 0 0 .2em;
    border: 1px solid transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0
}

span.fancytree-node.fancytree-error span.fancytree-title {
    color: red
}

div.fancytree-drag-helper span.fancytree-childcounter, div.fancytree-drag-helper span.fancytree-dnd-modifier {
    display: inline-block;
    color: #fff;
    background: #337ab7;
    border: 1px solid gray;
    /*min-width: 10px;
    height: 10px;*/
    width: 15px;
    height: 15px;
    line-height: 1;
    vertical-align: baseline;
    border-radius: 40px;
    padding: 2px;
    text-align: center;
    font-size: 9px
}

div.fancytree-drag-helper span.fancytree-childcounter {
    /*position: absolute;
    top: -6px;
    right: -6px*/
}

div.fancytree-drag-helper span.fancytree-dnd-modifier {
    background: #5cb85c;
    border: none;
    font-weight: bolder
}

#fancytree-drop-marker {
    width: 2em;
    position: absolute;
    margin: 0
}

    #fancytree-drop-marker.fancytree-drop-after, #fancytree-drop-marker.fancytree-drop-before {
        width: 4em
    }

span.fancytree-drag-source.fancytree-drag-remove {
    opacity: .15
}

.fancytree-container.fancytree-rtl .fancytree-exp-n span.fancytree-expander, .fancytree-container.fancytree-rtl .fancytree-exp-nl span.fancytree-expander {
    background-image: none
}

ul.fancytree-container.fancytree-rtl ul {
    padding: 0 16px 0 0
}

ul.fancytree-container.fancytree-rtl.fancytree-connectors li {
    background-position: right 0;
    background-image: url(../skin-bootstrap-n/vline-rtl.gif)
}

ul.fancytree-container.fancytree-rtl li.fancytree-lastsib, ul.fancytree-container.fancytree-rtl.fancytree-no-connector > li {
    background-image: none
}

table.fancytree-ext-table {
    border-collapse: collapse
}

    table.fancytree-ext-table span.fancytree-node {
        display: inline-block;
        box-sizing: border-box
    }

table.fancytree-ext-columnview tbody tr td {
    position: relative;
    border: 1px solid gray;
    vertical-align: top;
    overflow: auto
}

    table.fancytree-ext-columnview tbody tr td > ul {
        padding: 0
    }

        table.fancytree-ext-columnview tbody tr td > ul li {
            -moz-background-clip: border;
            -moz-background-inline-policy: continuous;
            -moz-background-origin: padding;
            background-attachment: scroll;
            background-color: transparent;
            background-position: 0 0;
            background-repeat: repeat-y;
            background-image: none;
            margin: 0;
            list-style: none
        }

table.fancytree-ext-columnview span.fancytree-node {
    position: relative;
    display: inline-block
}

.fancytree-ext-filter-hide span.fancytree-node.fancytree-hide, .fancytree-ext-filter-hide tr.fancytree-hide, .fancytree-ext-fixed-wrapper .fancytree-ext-fixed-hidden {
    display: none
}

table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
    background-color: #CBE8F6
}

table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
    position: absolute;
    right: 3px
}

.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title {
    color: silver;
    font-weight: lighter
}

.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title, .fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title {
    color: #000;
    font-weight: 400
}

.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title, .fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title {
    color: #000;
    font-weight: 700
}

.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title, .fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title {
    color: silver;
    font-weight: lighter
}

.fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title, .fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title {
    color: #000;
    font-weight: 400
}

.fancytree-ext-filter-hide-expanders span.fancytree-node.fancytree-match span.fancytree-expander, .fancytree-ext-filter-hide-expanders tr.fancytree-match span.fancytree-expander {
    visibility: hidden
}

.fancytree-ext-filter-hide-expanders span.fancytree-node.fancytree-submatch span.fancytree-expander, .fancytree-ext-filter-hide-expanders tr.fancytree-submatch span.fancytree-expander {
    visibility: visible
}

.fancytree-ext-childcounter span.fancytree-icon, .fancytree-ext-filter span.fancytree-icon {
    position: relative
}

.fancytree-ext-childcounter span.fancytree-childcounter, .fancytree-ext-filter span.fancytree-childcounter {
    color: #fff;
    background: #777;
    border: 1px solid gray;
    /*position: absolute;
    top: -6px;
    right: -6px;*/
    /*min-width: 10px;
    height: 10px;*/
    width: 15px;
    height: 15px;
    line-height: 1;
    vertical-align: baseline;
    border-radius: 30px;
    padding: 1px;
    text-align: center;
    font-size: 9px;
    display: inline-block
}

ul.fancytree-ext-wide, ul.fancytree-ext-wide span.fancytree-node > span {
    position: relative;
    z-index: 2
}

ul.fancytree-ext-wide {
    min-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

    ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
        position: absolute;
        z-index: 1;
        left: 0;
        min-width: 100%;
        margin-left: 0;
        margin-right: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
    }

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-scroll-border-bottom {
    border-bottom: 3px solid rgba(0,0,0,.75)
}

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-scroll-border-right {
    border-right: 3px solid rgba(0,0,0,.75)
}

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-tl {
    position: absolute;
    overflow: hidden;
    z-index: 3;
    top: 0;
    left: 0
}

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-tr {
    position: absolute;
    overflow: hidden;
    z-index: 2;
    top: 0
}

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-bl {
    position: absolute;
    overflow: hidden;
    z-index: 2;
    left: 0
}

.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-br {
    position: absolute;
    overflow: scroll;
    z-index: 1
}

ul.fancytree-container ul {
    padding: 0 0 0 1.5em;
    margin: 0
}

.fancytree-container:focus {
    outline: 0
}

.fancytree-container span.fancytree-statusnode-error span.fancytree-expander {
    color: red
}

.glyphicon-spin {
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

span.fancytree-node {
    border: 1px solid transparent;
    border-radius: 3px;
    padding-left: 8px
}

span.fancytree-title {
    border-radius: 3px
}

span.fancytree-node.fancytree-selected {
    background-color: #80c780;
    border-color: #80c780
}

    span.fancytree-node.fancytree-selected span.fancytree-title {
        background-color: #80c780
    }

span.fancytree-node.fancytree-active {
    background-color: #6aa3d5
}

.fancytree-container.fancytree-treefocus span.fancytree-node:hover {
    background-color: #e9f2f9
}

.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-focused {
    border-color: #428bca
}

.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected, .fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected span.fancytree-title {
    background-color: #5cb85c
}

.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-active {
    background-color: #428bca;
    border-color: #428bca
}

table.fancytree-ext-table tbody tr td {
    border: 1px solid #eee
}

table.fancytree-ext-table tbody tr.fancytree-selected, table.fancytree-ext-table tbody tr.fancytree-selected span.fancytree-node, table.fancytree-ext-table tbody tr.fancytree-selected span.fancytree-title {
    background-color: #80c780
}

table.fancytree-ext-table tbody tr.fancytree-active, table.fancytree-ext-table tbody tr.fancytree-active span.fancytree-node {
    background-color: #6aa3d5
}

table.fancytree-ext-table.fancytree-treefocus tbody tr:hover {
    background-color: #e9f2f9
}

table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-focused span.fancytree-title {
    outline: #428bca dotted 1px
}

table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected, table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected span.fancytree-node, table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected span.fancytree-title {
    background-color: #5cb85c
}

table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active, table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active span.fancytree-node {
    background-color: #428bca
}

/*.fancytree-has-children::before {
    content: '+';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 17px;
}*/
.fancytree-has-children .fancytree-expander {
    background-color: silver;
    background-image: url(/Content/Images/plus.png);
    background-size: 50%;
    background-position: center center;
    width: 1.5em;
    height: 1.5em;
}

.lowstock::before {
    background-color: red;
    content: '!';
    color: #fff !important;
    font-weight: bold;
    display: inline-block;
    border-radius: 20px;
    width: 19px;
    height: 19px;
    position: absolute;
    padding-left: 7px;
    left: 40px;
}
