.ffm-button {
    /* Structure */
    display: inline-block;
    zoom: 1;
    line-height: normal;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    font-family: inherit;
    font-size: 100%;
    padding: 0.5em 1em;
    color: #444; /* rgba not supported (IE 8) */
    color: rgba(0, 0, 0, 0.80); /* rgba supported */
    border: 1px solid #999;  /*IE 6/7/8*/
    border: none rgba(0, 0, 0, 0);  /*IE9 + everything else*/
    background-color: #E6E6E6;
    border-radius: 2px;
}

/* Firefox: Get rid of the inner focus border */
.ffm-button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.ffm-button-hover,
.ffm-button:hover,
.ffm-button:focus {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    text-decoration: none;
}

.ffm-button:focus {
    outline: 0;
}

.ffm-button-active,
.ffm-button:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
    border-color: #EDEDED;
}

.ffm-button[disabled],
.ffm-button-disabled,
.ffm-button-disabled:hover,
.ffm-button-disabled:focus,
.ffm-button-disabled:active {
    border: none;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity=40);
    -khtml-opacity: 0.40;
    -moz-opacity: 0.40;
    opacity: 0.40;
    cursor: not-allowed;
    box-shadow: none;
}

.ffm-button-hidden {
    display: none;
}

/* Firefox: Get rid of the inner focus border */
.ffm-button::-moz-focus-inner{
    padding: 0;
    border: 0;
}

.ffm-button-primary,
.ffm-button-selected,
a.ffm-button-primary,
a.ffm-button-selected {
    background-color: rgb(0, 120, 231);
    color: #fff;
}

.button-grey {
    /*background: rgb(169, 169, 169);*/
    background: #C0C0C0;
}

.button-green {
    /*background: rgb(28, 184, 65);*/
    background: #1CB841;
}

.button-red {
    /*background: rgb(202, 60, 60);*/
    background: #CA3C3C;
}

.button-orange {
    /*background: rgb(223, 117, 20);*/
    background: #DF7515;
}

.button-blue {
    /*background: rgb(70, 130, 180);*/
    background: #4682B4;
}

.button-light-blue {
    /*background: rgb(66, 184, 221);*/
    background: #42B8DD;
}

.button-brown {
    /*background: rgb(160,82,45);*/
    background: #A0522D;
}

.button-cyan {
    /*background: rgb(32,178,170);*/
    background: #20B2AA;
}

.button-gold {
    /*background: rgb(218,165,32);*/
    background: #DAA520;
}

.button-pink {
    /*background: rgb(255,20,147);*/
    background: #FF1493;
}

.button-purple {
    /*background: rgb(186,85,211);*/
    background: #BA55D3;
}

.button-grey,
.button-green,
.button-red,
.button-orange,
.button-blue,
.button-brown,
.button-cyan,
.button-gold,
.button-pink,
.button-purple,
.button-light-blue {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-decoration:none; 
    cursor:pointer;
}

.button-xsmall {
    font-size: 70%;
}

.button-small {
    font-size: 85%;
}

.button-medium {
    font-size: 100%;
}

.button-large {
    font-size: 110%;
}

.button-xlarge {
    font-size: 125%;
}
