/* the _button class -- also
    ._button.big, .xbig, .small, .primary, .points.left, .points.right
*/
._button{  /* you can also use this on <select> elements and it looks pretty good */
    border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
    padding: 0 14px;
    background-color: #F5F5F5;
    background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -webkit-gradient(center top , #FFFFFF, #E6E6E6);
    border-color: #E6E6E6 #E6E6E6 #A2A2A2;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

._button[disabled],
._button[disabled]:hover{
    background: #d8d8d8;
}

input._button{
    height: 24px;
}

select._button{
    height: 26px;
    padding: 4px;
}

._button:hover{
    text-decoration: none;
    background-color: #e5e5e5;
    background-image: -moz-linear-gradient(center top , #f5f5f5, #e0e0e0);
    background-image: -webkit-gradient(center top , #f5f5f5, #e0e0e0);
}
._button.disabled {
    opacity: 0.5;
    cursor: default;
}

._button.primary{
    background: #3E8C8A;
    color: white;
}
._button.primary:hover {
    background: rgb(79, 184, 180);
}

._button.delete {
    background-color: #990000;
    color: #ffffff;
}
._button.delete:hover {
    background-color: #bb0000
}

/* big and small buttons */
._button.big{
    font-size: 16px;
    line-height: 26px;
    padding: 0 18px;
    height: auto;
}

._button.xbig{
    border-radius: 6px;
    font-size: 18px;
    height: auto;
    line-height: 36px;
    margin-left: 10px;
    padding: 0 22px;
}

._button.small{
    font-size: 10px;
    line-height: 16px;
    font-weight: normal;
    padding: 0 10px;
}

/* class="button points left" or class="button points right" for right/left-pointing buttons */
._button.points.right{
    margin-right: 13px;
}

._button.points.left{
    margin-left: 13px;
}

._button.points:after {
    background-color: #F5F5F5;
    background-image: linear-gradient(right top , #FFFFFF, #E6E6E6);
    background-image: -moz-linear-gradient(right top , #FFFFFF, #E6E6E6);
    background-image: -webkit-gradient(right top , #FFFFFF, #E6E6E6);
    border-top: 1px solid #E6E6E6;
    border-left: 1px solid #A2A2A2;
    border-radius: 3px;
    content: '';
    display: block;
    height: 17px;
    width: 17px;
    top: 2px;
    left: -8px;
    position: absolute;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

._button.points:hover:after {
    background-color: #e5e5e5;
    background-image: -moz-linear-gradient(right top , #f5f5f5, #e0e0e0);
    background-image: -webkit-gradient(right top , #f5f5f5, #e0e0e0);
}

._button.points.right:after{
    border-right: 1px solid #E6E6E6;
    border-bottom: 1px solid #A2A2A2;
    border-top: none; border-left: none;
    right: -8px;
    left: auto;
}
