.button{
	width: 300;
	text-align: center;
	padding: 4px;
	margin: 2px;
	border: 1px solid #999;
	border-radius: 8px;
	background: #FFE;
}
.button:active{
	background: #FFC;
}
.recognition_controller{
	display: flex;
}
div#OUTPUT {
	margin-top: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: baseline;
}
.line {
    border: 1px solid #000;
    border-radius: 4px;
    background: #EEE;
    margin: 4px 2px;
    padding: 2px;
}
.line.fixed {
    border: 1px solid #CCC;
    border-radius: 4px;
    background: #FFF;
    margin: 4px 2px;
    padding: 2px;
}
.line._old{
	background: #F00;
}
textarea.recognition_textarea{
    width: 100%;
    min-height: 300px;
}
.selectable_recognition_panel{
    width: 100%;
    min-height: 300px;
    border: 1px solid #666;
    border-radius: 3px;
    resize:both;
    overflow: auto;
    padding: 8px;
}
.selectable_recognition_panel:focus{
    outline: 1px solid #000;
    position: relative;
}
input, button, textarea, select, option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.combobox{
    padding-right: 1.4em;
    position: relative;
    height: 2em;
    padding-bottom: 4px;
}
.combobox::after{
    content: "▼";
    color: black;
    z-index: 2;
    display: block;
    position: absolute;
    top: 0.75em;
    bottom: 0;
    right: 0.75em;
    font-size: 0.5em;
    pointer-events: none;
}
.combobox>select{
    padding: 4px;
    height: 2em;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    z-index: 0;
    color: transparent
}
.combobox > select option{
    color: #000;
    background-color: #FFF;
    border-radius: 0px;
}
.combobox > input[type='text']{
    position: relative;
    outline: none;
    height: calc(2em - 4px);
    left: 2px;
    top:-0.5px;
    z-index: 2;
    border: transparent;
    border-right: 1px solid #666;
    border-radius: 0;
    background-color: transparent;
}
.combobox > input[type='text']:focus{
    background: #FFF;
}

.combobox > input[type='text']:focus + select,
.combobox > select:focus{
    outline:1px solid black;
    outline-offset: 0px;
}

dl.compact{
    display: flex;
    flex-wrap: wrap;
}
dl.compact > dt{
    flex:1 1 15em;
    font-weight: bold;
    white-space: nowrap;
    word-wrap: normal;
    word-break: keep-all;
}
dl.compact > dd{
    flex:1 1 calc(100% - 15em);
    margin: 0;
    white-space: nowrap;
    word-wrap: normal;
    word-break: keep-all;
}
