/*
 * Copyright 2004-2014 ICEsoft Technologies Canada Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an "AS
 * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

span.if-tree span.ui-icon-empty {
    background: none;
}

.if-tree {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 0;
	text-align: left;
	white-space: nowrap;
}

.if-tree table.if-node-cnt {
    border-spacing: 0;
}

/* Hide root horizontal staff lines */
span.if-tree > table.if-node-cnt > tbody > tr.if-node-tr > td.if-node-sw > div.if-node-ln > img {
    display:none;
}

.if-node-wrp {
    /* prevent border wiggle when active state added */
    border: 1px solid transparent;
    display:inline-block;
    padding:2px;
	text-align: left;
}

.if-node-cnt {
    margin: 1px 5px;
}

.if-node-sub {
	padding-top: 5px;
}

.if-node-sw {
    vertical-align: middle;
    cursor: pointer;
    vertical-align: middle;
	width: 16px;
}

.if-node-sw span.ui-icon {
    position: relative;
    top:-1px;
}

.if-node-sw.noexp {
    cursor: default;
}

.if-node-sw-ico {

}

.if-node-exp {

}

.if-node-tr {
}

.if-node-td {
    position:relative;
    overflow:hidden;
    vertical-align: top;
}

.if-node-td > div.if-node-ln {
    position: relative;
    /* IE7 CSS hack */
    *position: absolute;
    *overflow:hidden;
    width:100%;
    height:100%;
}
.if-node-sw > div.if-node-ln {
    position: relative;
    width:100%;
    height:100%;
}

.if-node-td > div.if-node-ln  > img {
    width:1px;
    /* wrapper required for position within td to work on FF */
    /* 100% height on wrapper doesn't meet height of table cell */
    /* without 100% height on wrapper, 100% height doesn't work */
    /* here either. 10000px with overflow is used instead. */
    height:10000px;
    position: absolute;
    left: 50%;
    margin-left: -1px;
    margin-top: 5px;
}

.if-node-sw > div.if-node-ln > img {
    width:15px;
    height:1px;
    position: absolute;
    top: 50%;
    left: -20px;
    margin-left: 3px;
}