#editor {
    margin: 0 auto;
    width: auto;
    height: 300px;
}

#ribbon {
    padding: 6px 10px;
    color: #ffffff;
    background-color: #ffa100;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}

#ribbon > button {
    padding: 0 8px;
    min-width: 25px;
    height: 25px;
    text-align: center;
    color: white;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

#ribbon > button:hover {
    background: #E69100;
}

#text {
    position: relative;
    border: 1px solid #ffa100;
    border-top: none;
    height: 100%;
    width: auto;
    box-sizing: border-box;
    border-radius: 0 0 5px 5px;
}

#text:after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: attr(data-length);
    padding: 3px 8px;
    font-size: 13px;
    color: white;
    background: #ffa100;
    border-radius: 5px 0 0;
}

#wysiwyg {
    height: 100%;
    width: 100%;
}