#keyboard {
    position: fixed;
    left: 0;
    bottom: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    color: #f2f2f2;
    text-align: center;
    font-smoothing: antialiased;
    z-index: 2147483001;
    background: #fff;
}

#keyboard ul {
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
}

#keyboard li {
    background: #444 no-repeat;
    cursor: pointer;
    width: 10%;
    height: 0;
    font-weight: bold;
    line-height: 36px;
    text-transform: uppercase;
    display: table-cell;
    list-style: none;
    -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .25);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .25);
    padding-left: 1px;
    padding-top: 3px;
}

#keyboard li:first-child {
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

#keyboard li:active {
    background-color: #333;
}

#keyboard li.replay {
    background-image: url("../images/control-replay.png");
    background-position: 50% 50%;
    background-size: 16px 14px;
    background-color: #696;
}

#keyboard li.next {
    background-image: url("../images/control-next.png");
    background-position: 50% 50%;
    background-size: 15px 14px;
    background-color: #696;
}

#keyboard li.fs {
    background-image: url("../images/fullscreen.png");
    background-position: 50% 50%;
    background-size: 14px 14px;
}

.fullscreen #keyboard li.fs {
    background-image: url("../images/fullscreen-out.png");
}

#keyboard .row-top li:first-child {
    border-left: 0;
}

@media only screen and (min-height: 400px) and (orientation: portrait) {
    #keyboard li {
        line-height: 45px;
    }
}