bz-select {
    display: block;
    margin: .5em 0 .5em 0;
    position:relative;
}
bz-select[disabled] > button{
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(30%);
}
bz-select > button{
    width:100%;
    text-align: left;
    font-family: sans;
    font-size: .9em;
    border-radius: 1em;
    border: none;
    padding: 0.2em .2em .3em .5em;
    background: linear-gradient( to bottom, #555, #aaa 15%, #ccc 50%, #aaa 85%, #555 );
}
bz-select > button::after {
    content: "\00BB";
    transform: rotate(90deg);
    position: absolute;
    right: 0.5em;
    top: 0;
    pointer-events: none;
    font-size: 1.5em;
    color: #444;
}    
bz-select >  div.options-container{
    pointer-events: none;
    position: absolute;
    top: 2em;
    left: 0;
    width: 100%;
    z-index: 99;
    max-height: 0;
    overflow: auto; 
    transition: max-height 0.4s ease;
}
bz-select >  div.options-container.open{ pointer-events: auto; max-height: 10em;}
bz-select option{
    background-color: #DDD;
    border: 1px solid black;
    color: #000;
    padding: 0.2em .2em .3em .5em;
    margin: -1em 0 0 0;
    border-radius: 1em;
    height: 1em;
    font-family: sans;
    font-size: .9em;
    opacity: 0;
    pointer-events: none; 
    transition:
        margin-top 0.3s ease,
        opacity 0.3s ease;
}
bz-select option.open{
    margin: 0;
    opacity: 1;
    pointer-events: auto;
}
bz-select option:hover{
    background-color: #44F;
    color: #FFF;
}




bz-toggler{
    outline: none;
    min-height: 1.5em;
    padding: 0.75em;
    display: inline-table;
    max-width: fit-content;
    transition: all 0.5s;
}
bz-toggler div.toggle-label-left{
    padding-right: 0.3em;
    display: inline;
    vertical-align: middle;
    text-align: right;
    font-size:.8em;
}
bz-toggler div.toggle-label-right{
    padding-left: 0.3em;
    display: inline;
    vertical-align: middle;
    text-align: left;
    font-size:.8em;
}
bz-toggler div.toggle-switch{
    user-select: none;
    height: inherit;
    cursor: pointer;
    display: inline;
    vertical-align: middle;
    text-align: center;
}
bz-toggler div.toggle-switch span.toggle-bar {
    display: inline-block;
    position: relative;
    background-color: #CCC;
}

bz-toggler div.toggle-switch span.toggle-thumb {
    display: inline-block;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    z-index: 1;
}

bz-toggler div.toggle-switch span.toggle-thumb:not(.turned-on) {
    left: 0;
    transition: all 0.4s;
}
bz-toggler div.toggle-switch span.toggle-thumb.turned-on {
    transition: all 0.4s;
}
bz-toggler div.toggle-switch span.toggle-bar  { 
    width: 2em;
    height: 0.75em;
    border-radius: .75em;   
}

bz-toggler div.toggle-switch span.toggle-thumb  { 
    height: 1em;
    width: 1em;
    top: 50%;
    transform: translateY(-50%);
}

bz-toggler div.toggle-switch span.toggle-thumb.turned-on {
    left : 1em;
}