.tabs {
    display: inline-block;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid #aaa;
    padding-top: 5px;
    padding-bottom: 0px;
    height: auto;
    left: 0px;
    right: 0px;
    width: 100%;
}

.tab {
    position: relative;
    display: inline-block;
    border: none;
    border-radius: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 10px;
    cursor: default;
}

.tab.selected {
    color: #fff;
    text-shadow: 0px 0px 1px #333;
    background-color: #f0a800;
    border-left: 0px solid #aaa;
    border-top: 0px solid #aaa;
    border-right: 0px solid #aaa;
    border-bottom: none;
    border: none;
    border-radius: 6px 6px 0px 0px;
    box-shadow: 1px 1px 1px 0px #777;
}

.tab.selectedold {
    color: #fff;
    background-color: #777;
    border-left: 0px solid #aaa;
    border-top: 0px solid #aaa;
    border-right: 0px solid #aaa;
    border-bottom: none;
    border: none;
    border-radius: 6px 6px 0px 0px;
    /* show an inside shadow */
    box-shadow: 0px 0px 1px 1px #ca0;
}

.tabpanes {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.tabpane {
    display: none;
    position: static;
    width: auto;
    height: auto;
    padding: 5px;
    margin: 0px;
    color: #333;
}

.tabpane.subpane {
    padding: 0px;
}

.tabpane.selected {
    display: block;
}

.tabline {
    position: relative;
    white-space: nowrap;
    display: block;
    width: auto;
    height: auto;
    padding-left: 10px;
    padding-top: 1px;
    padding-bottom: 2px;
    cursor: default;
}

.tabline.hidden {
    display: none;
}

.tabline.visible {
    /* use defaults */
}

.tabline.separator.top {
    border-top: 1px solid #ccc;
}

.tabline.separator.bottom {
    border-bottom: 1px solid #ccc;
}

.tabline.tabtitle {
    font-weight: bold;
    padding-left: 0px;
    padding-top: 10px;
    padding-bottom: 5px;
}

.tablabel {
    display: inline-block;
    width: auto;
    height: inherit;
    min-width: 120px;
    min-height: 20px;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 10px;
    vertical-align: bottom;
    text-align: right;
}

.tablabel.short {
    min-width: 30px;
}

.tablabel.long {
    min-width: 150px;
}

.tab-line-suffix {
    display: inline-block;
    width: auto;
    height: inherit;
    min-width: 10px;
    min-height: 20px;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 0px;
    vertical-align: bottom;
    text-align: left;
}

.tab-line-value {
    display: inline-block;
    height: inherit;
    min-width: 0px;
    min-height: 20px;
    line-height: 20px;
    vertical-align: bottom;
    text-align: right;
}

.tabinput {
    display: inline-block;
    min-height: 17px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 96px;
    vertical-align: bottom;
}

.tabinput.static {
    line-height: 20px;
    min-height: 20px;
}

.tabinput.label {
    width: 120px;
    line-height: 20px;
    min-height: 20px;
}

.tabinput.text {
    padding-left: 2px;
}

.tabinput.select {
    height: 21px;
    width: 100px;
    padding: 1px;
}

.tabinput.number {
    padding-left: 2px;
}

.tabinput.range {
    margin: 2px;
}

.tabinput.checkbox {
    height: auto;
    margin: 2px;
}

.tabinput.checkbox.small {
    width: 14px;
}

.tabinput.color {
    height: 17px;
    padding: 1px;
}

.tabinput.time {
    height: 17px;
    width: 95px;
    padding: 0px 0px 0px 1px;
}

.tabinput.date {
    height: 17px;
    width: 127px;
    padding: 0px 0px 0px 1px;
}

.tab-line-value.third {
    width: 32px;
}

.tab-line-value.twothird {
    width: 64px;
}

.tabinput.third {
    width: 32px;
}

.tabinput.twothird {
    width: 64px;
}

.tabinput.oneandthird {
    width: 128px;
}

.tabinput.oneandtwothird {
    width: 160px;
}

.tabinput.two {
    width: 192px;
}

.tree-node {
    white-space: nowrap;
    padding-top: 2px;
    padding-bottom: 2px;
    width: auto;
    height: auto;
    cursor: default;
}

.tree-node.expanded {
    display: block;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 1px solid #78d;
}

.tree-node.collapsed {
    display: none;
}

.tree-label {
    display: inline-block;
    padding-left: 0px;
    width: auto;
    min-width: 100px;
}

.tree-value {
    display: inline;
    padding-left: 5px;
    width: auto;
}

.tree-label.expanded {
    background: url("../tools/expanded.png") no-repeat center left;
    padding-left: 15px;
    font-style: italic;
}

.tree-label.collapsed {
    background: url("../tools/collapsed.png") no-repeat center left;
    padding-left: 15px;
    font-style: italic;
}

.tree-label.disabled {
    background: url("../tools/disabled.png") no-repeat center left;
    padding-left: 15px;
    font-style: italic;
}

.popupSuffix {
    padding-left: 5px;
}
