html, body
{
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", Sans-Serif;
    -webkit-user-select: none;
}

.bar
{
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    background: url("images/gradient.png") repeat-x 0 -78px;
    width: 100%;
    height: 22px;
    -webkit-box-sizing: padding-box;
    padding: 3px 6px;
    font-size: 12px;
}

.bar-button
{
    -webkit-box-flex: 1;
    line-height: 16px;
    display: inline-block;
    padding: 0 8px;
    cursor: default;
    max-width: 200px;
    white-space: nowrap;
    text-overflow: ellipsis;  /* FIXME: can't do middle ellipsis!! */
    overflow: hidden;
}

.bar-button:hover
{
    background-color: #9a9a9e;
    -webkit-border-radius: 8px;
    color: white;
    text-shadow: 0 1px 1px #5c5c5e;
}

.bar-button:active
{
    background-color: #7a7a7d;
}

.bar-button#book-button.pressed
{
    border-style: inset;
    background-color: #7a7a7d;
}

.bar-button#book-button
{
    width: 21px;
    background-image: url("images/bookmarkbutton.png");
    background-repeat: no-repeat;
    background-position: 8px 0;
}


.bar-button#book-button:hover
{
    background-image: url("images/bookmarkbutton-hovered.png");
}

.bar-button#book-button:active
{
    background-image: url("images/bookmarkbutton-pressed.png");
}

.out-of-bar
{
    width: 0 !important;
}

.button-placeholder
{
    -webkit-transition-property: width;
    -webkit-transition-duration: 250ms;
    -webkit-transition-timing-function: ease-in-out;
}
