﻿div.comboTree {
    cursor: pointer;
    z-index: 1000;
}

    div.comboTree > a {
        -khtml-user-select: none;
        -moz-background-clip: padding;
        -moz-border-radius: 2px;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-background-clip: padding-box;
        -webkit-border-radius: 2px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        background-clip: padding-box;
        background-color: #fff;
        border: 1px solid #9c9c9c;
        border-radius: 2px;
        color: #5f5f5f;
        display: inline-block;
        height: 40px;
        line-height: 40px;
        overflow: hidden;
        padding: 0 0 0 8px;
        position: relative;
        text-decoration: none;
        user-select: none;
        white-space: nowrap;
        font-weight: 400;
    }

        div.comboTree > a.requiredInput {
            border: 1px solid #e25a1e !important;
        }

        div.comboTree > a > span {
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            display: block;
            margin-right: 26px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    div.comboTree span.placeholder {
        color: #9c9c9c;
    }

    div.comboTree span.treereset {
        background: url("/Content/images/icons/ComboTree.png") right top no-repeat;
        width: 12px;
        height: 12px;
        right: 24px;
        display: inline-block;
        top: 8px;
        font-size: 1px;
        text-decoration: none;
        border: 0;
        cursor: pointer;
        outline: 0;
        margin-top: 6px;
        margin-left: 6px;
    }

        div.comboTree span.treereset:hover {
            background-position: right -11px;
        }

    div.comboTree > div > input {
        margin-top: 3px;
        margin-left: 3px;
        margin-bottom: 3px;
        padding: 4px 20px 4px 5px;
        width: 88%;
        background: #fff url('/Content/images/icons/ComboTree.png') no-repeat 100% -22px;
    }

    div.comboTree > a > div > span {
        background-image: url("/Content/images/icons/ComboTree.png");
        display: block;
        height: 100%;
        width: 100%;
    }

    div.comboTree > div.treewrapper {
        background-color: #FFFFFF;
        border: 1px solid #9c9c9c;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        display: none;
        height: 200px;
        overflow-x: visible;
        overflow-y: auto;
        padding-right: 20px;
        position: absolute;
        z-index: 10000;
        min-width: 130px;
        box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    }

    div.comboTree > a > div {
        -moz-background-clip: padding;
        -moz-border-radius: 0 4px 4px 0;
        -webkit-background-clip: padding-box;
        -webkit-border-radius: 0 4px 4px 0;
        background: white;
        background-clip: padding-box;
        border-radius: 0 4px 4px 0;
        display: inline-block;
        height: 100%;
        position: absolute;
        right: 0;
        top: 6px;
        width: 18px;
    }

a.treeDisabledItem {
    color: silver !important;
}
