
.scripted .DropdownPanel {
    display: inline-block;
}

.scripted .DropdownPanel > .button,
.scripted .DropdownPanel > .button:hover {
    cursor: pointer;
    display: inline-block;
    margin: 0;
    border: 1px solid transparent;
    padding: 0.2em;
    padding-top: 0.1em;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    background-image: none;
    background-color: transparent;
    box-shadow: none;
}

.scripted .DropdownPanel > .button > .label {
    display: inline;
}

.scripted .DropdownPanel > div.button:focus {
    outline: none;
}

.scripted .DropdownPanel > div.button:focus .label {
    outline: 1px dotted #666;
}

.scripted .DropdownPanel > .panel_wrapper {
    height: 0;
    z-index: 1000;
    position: relative;
}

.scripted .DropdownPanel > .panel_wrapper > .panel {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    border: 1px solid #ccc;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-box-shadow: 2px 2px 2px #aaa;
    -webkit-box-shadow: 2px 2px 2px #aaa;
    padding: 0.2em;
}

.scripted .DropdownPanel-expanded > .button,
.scripted .DropdownPanel-expanded > .button:hover {
    background-color: white;
    border: 1px solid #ccc;
    border-bottom: 1px solid white;
    z-index: 1001;
    position: relative;
}

.scripted .DropdownPanel-expanded > .panel_wrapper > .panel {
    display: block;
}

