html, body {
    height: 100%;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    background-color: #efeeea;
    font-family: 'Courier New', monospace;
    font-size: .8em;
}

#bottle_toggle {
    background-image: url('images/bottle.svg');
    width: 25px;
}

input[type=number] {
    width: 50px;
}

#crate_toggle {
    background-image: url('images/crate.svg');
    width: 40px;
}

span.icon {
    display: inline-block;
    height: 40px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.gray, span.gray {
    opacity: 0.2;
}

select {
    height: 35px;
}

#content {
    overflow-y: scroll;
    max-height: 100%;
    width: 100%;
}

#list .drink {
    padding: 6px 10px 3px 10px;
}

#list .drink:nth-child(odd) {
    background-color: #f9f9f9;
}

#list .drink:hover {
    background-color: #d9d9d9;
}

#list .drink.cursor {
    border-style: solid;
    border-width: 1px;
    border-color: #000;
}

#sheet, #footer {
    width: 730px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

#list {
    padding-top: 40px;
}

#editor, #list {
    padding-right: 60px;
    padding-left: 60px;
}

#sheet {
    height: 100%;
}

#footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}

#editor {
    padding-top: 10px;
    padding-bottom: 10px;
}

#editor form span {
    display: flex;
    justify-content: right;
    align-items: center;
}

#editor form span * {
    line-height: 30px;
    margin-right: 21px;
}

.dt {
  display: table;
  width: 100%;
}
.dr {
  display: table-row;
}
.dhr .dc {
  border-bottom: 1px solid #666666;
}
.dc {
  display: table-cell;
}
