
div.button,
div.round {
    float: right;
    display: inline-block; 
    cursor: pointer;
    margin-left: 3px;
    margin-right: 3px;
    white-space: nowrap;
    line-height: 23px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0px 5px;
    font-weight: bold;
    text-align: center;

    background: rgb(245,245,245);
    background: -moz-linear-gradient(top, rgba(245,245,245,1) 0%, rgba(229,229,229,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,1)), color-stop(100%,rgba(229,229,229,1)));
    background: -webkit-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: -o-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: -ms-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: linear-gradient(to bottom, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

div.button:HOVER,
div.round:HOVER,
div.button.hover,
div.round.hover {
    background: rgb(253,253,253);
    background: -moz-linear-gradient(top, rgba(253,253,253,1) 0%, rgba(237,237,237,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(253,253,253,1)), color-stop(100%,rgba(237,237,237,1)));
    background: -webkit-linear-gradient(top, rgba(253,253,253,1) 0%,rgba(237,237,237,1) 100%);
    background: -o-linear-gradient(top, rgba(253,253,253,1) 0%,rgba(237,237,237,1) 100%);
    background: -ms-linear-gradient(top, rgba(253,253,253,1) 0%,rgba(237,237,237,1) 100%);
    background: linear-gradient(to bottom, rgba(253,253,253,1) 0%,rgba(237,237,237,1) 100%);
}

div.button:ACTIVE,
div.round:ACTIVE,
div.button.active,
div.round.active {
    background: rgb(235,235,235);
    background: -moz-linear-gradient(top, rgba(235,235,235,1) 0%, rgba(220,220,220,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(235,235,235,1)), color-stop(100%,rgba(220,220,220,1)));
    background: -webkit-linear-gradient(top, rgba(235,235,235,1) 0%,rgba(220,220,220,1) 100%);
    background: -o-linear-gradient(top, rgba(235,235,235,1) 0%,rgba(220,220,220,1) 100%);
    background: -ms-linear-gradient(top, rgba(235,235,235,1) 0%,rgba(220,220,220,1) 100%);
    background: linear-gradient(to bottom, rgba(235,235,235,1) 0%,rgba(220,220,220,1) 100%);
}

div.button {
    height: 24px;
    padding: 0px 8px;
}

div.round {
    float: right;
    display: table; 
    cursor: pointer;
    margin-left: 3px;
    margin-right: 3px;
    padding: 0px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    text-align: center;
}

img.button-icon {
    width: 16px;
    height: 16px;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 4px;
    vertical-align: middle;
}

div.button.submit,
div.button.ok {
    border: 1px solid #AAA;
}

div.round.disabled,
div.button.disabled {
    color: darkgray;
    border: 1px solid #ccc;
    cursor: default;

    background: rgb(245,245,245);
    background: -moz-linear-gradient(top, rgba(245,245,245,1) 0%, rgba(229,229,229,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,1)), color-stop(100%,rgba(229,229,229,1)));
    background: -webkit-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: -o-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: -ms-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
    background: linear-gradient(to bottom, rgba(245,245,245,1) 0%,rgba(229,229,229,1) 100%);
}

div.button.toggle.off {
    color: darkgray;
}
