/* 
    Document   : buttons
    Created on : Mar 30, 2010, 10:41:59 PM
    Author     : John
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   Buttons styles
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/


/* used for center alignment of button */
.btn {
    margin-left: 47%;
    margin-right: 47%;
    padding-bottom: 25px;
    position:relative;
}

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

a.button {
    background: transparent url('../img/abutton.png') no-repeat scroll top right;
    color: #1188dd;
    display: block;
    float:left;
    font: normal 12px sans-serif;
    height: 24px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
}

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

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

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

a.button:hover {
   background: transparent url('../img/abutton.png') no-repeat scroll bottom right;
   color: #fff;
}

a.button:hover span {
    background: transparent url('../img/spanbutton.png') no-repeat bottom left;
    color: #fff;
}
