.tfw-view-combo {
    display: inline-flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.5);
}
.tfw-view-combo.wide {
    display: inline-flex;
    width: 100%;
}

.tfw-view-combo > header {
    flex: 1 1;
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    font-size: 80%;
    height: 16px;
    max-height: 16px;
    min-height: 16px;
    padding: 0 0 0 8px;
    margin: 0;
}

.tfw-view-combo > header.hide {
    display: none;
}

.tfw-view-combo > .button  {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1 1;
    background: #fff;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    white-space: nowrap;
}

.tfw-view-combo > .button > div {
    display: inline-block;
    height: 32px;
    max-height: 32px;
    min-height: 32px;
    margin: 0;
}

.tfw-view-combo > .button > div.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
}

.tfw-view-combo > .button {
    overflow: hidden;
}
.tfw-view-combo > .button > div.list-container > .tfw-view-combo-list {
    overflow: hidden;
}

body > .tfw-view-combo-list {
    position: fixed;
    background: #fff;
}
.tfw-view-combo > .button > div.list-container > .tfw-view-combo-list {
    background: #fff;
    transition: transform .2s;
    transform: translateY(0);
}
body > .tfw-view-combo-screen > div > div,
.tfw-view-combo > .button > div.list-container > .tfw-view-combo-list > div {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 32px;
    max-height: 32px;
    min-height: 32px;
    padding: 0 8px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100vw - 64px);
    padding-width: 32px;
}

.tfw-view-combo-screen {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,.3);
    z-index: 99999999;
}

.tfw-view-combo-screen > div {
    position: absolute;
    max-height: calc(100vh - 32px);
    overflow: auto;
}

.tfw-view-combo-screen > div > div {
    box-shadow: 0 1px rgba(0,0,0,.1) inset;
}
