._ComboBox {
    border: 1px solid #999999;
    background: #FFFFFF;
    color: #000000;
    padding: 2px;
    margin: 0px;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-align: left;
}

._ComboBox + .button {
    margin-right: 0px;
    pointer-events: none;
}
._ComboBox.editable + .button {
    pointer-events: initial;
}

._ComboBox + .button:focus {
    outline: none;
}

._ComboBox + .button div {
    background-image: url("img/expand.png");
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}

._ComboBox + .button + ul {
    /*position: absolute;*/
    position: fixed;    /* fixed , protoze pokud jsem v Grid, ktery ma overflow:auto a position:relative, pak jsou vsechny absolute scrollovatelne, ale zde to nepotrebuji - JENZE! blbne to zase v Safari */
    margin: 0px;
    padding: 0px;
    z-index: 1000000;
    display: none;
    border: 1px solid #666666;
    background: #FFFFFF;
    min-width: 40px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 400px;
    max-width: 400px;
}
._ComboBox + .button + ul  {
    cursor: default;
}
._ComboBox + .button + ul li {
    display: block; 
    list-style: none;
    clear: both;
    text-align: left;
    /*white-space: nowrap;*/
}

._ComboBox + .button + ul li a {
    display: block;
    padding: 2px;
    min-height: 10px;
    text-decoration: none;
}

._ComboBox + .button + ul ul {
    margin: 0px;
    padding: 0px;
}

._ComboBox + .button + ul ul li {
    margin-left: 10px;
}

._ComboBox + .button + ul li .group {
    display: block;
}

._ComboBox + .button + ul li.hidden {
    display: none;
}

._ComboBox + .button + ul li a:hover, ._ComboBox + .button + ul li a.hover, ._ComboBox + .button + ul li.selected > a {
    background: #1C7BD7;
    color: #FFFFFF;
}

._ObjectComboBox img, ._ComboBox + .button + ul li img {
    margin-right: 5px;
    vertical-align: middle;
}

._ComboBox + .button + ul li.separator {
    padding: 0px;
    height: 2px;
    border-bottom: 1px solid #999999; 
    margin-bottom: 2px;
}

/*
._ComboBox + .button + ul li a input {
    vertical-align: middle;
    margin-right: 6px;
}
*/

._ComboBox + .button + ul ._CheckBox + .button  {
    margin-right: 6px;
}

._ComboBoxOptionsModalButtonContainer {
    position: fixed;
}
._ComboBoxOptionsModalButton {
    width: 100%;
}