.clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
}

a.button {
    background: transparent url('/assets/img/bg_button_a.png') no-repeat scroll top right;
    color: #FFF !important;
    display: block;
    float: left;
    font: normal 13px arial, sans-serif;
    height: 38px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
}

a.button span {
    background: transparent url('/assets/img/bg_button_span.png') no-repeat;
    display: block;
    line-height: 29px;
    padding: 4px 0 5px 18px;
}

a.button:hover {
    background-position: bottom right;
    color: #FFF;
    text-decoration: none;
    outline: none; /* hide dotted outline in Firefox */
}

a.button:hover span {
    background-position: bottom left;
}