/* Based on http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html */


/* Note: For IE to return button to its normal state, use: onclick="this.blur();" */

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

/* Note: Make sure the span's vertical padding (5 + 5) and line-height (14) amount to the total height of the button (24). Using a different padding, means setting a different height. */

a.stylebutton {
    background: transparent url('../images/bg_stylebutton_a.gif') no-repeat scroll top right;
    color: #333;
    display: block;
    float: left;
    font: normal 14px helvetica, sans-serif;
    height: 24px;
    margin-right: 6px;
    padding-right: 16px; /* sliding doors padding */
    text-decoration: none;
}

a.stylebutton span {
    background: transparent url('../images/bg_stylebutton_span.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
}

a.stylebutton:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}

a.stylebutton:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
}

