.modal-button {
    /* Structure */
    display: inline-block;
    zoom: 1;
    height:28px;
    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;
    font-size:14px;
    margin-left:10px;
    border:1px solid #e7e8ef;
}

a.modal-button,
a.modal-button:link,
a.modal-button:visited,
a.modal-button:hover{
    line-height:28px;
    text-decoration: none;
}

/* Firefox: Get rid of the inner focus border */
.modal-button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.modal-button {
    padding: 0 1.5em;
    color: #444; /* rgba not supported (IE 8) */
    color: rgba(0, 0, 0, 0.80); /* rgba supported */
    border: 1px solid #e7e8ef;  /*IE 6/7/8*/
    border: none rgba(0, 0, 0, 0);  /*IE9 + everything else*/
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
    font-family: "Microsoft YaHei", Arial Georgia, Harrington, sans-serif;
}

.modal-button-hover,
.modal-button:hover,
.modal-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));
}
.modal-button:focus {
    outline: 0;
}
.modal-button-active,
.modal-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: #000\9;
}

.modal-button[disabled],
.modal-button-disabled,
.modal-button-disabled:hover,
.modal-button-disabled:focus,
.modal-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;
}

.modal-button-hidden {
    display: none;
}

/* Firefox: Get rid of the inner focus border */
.modal-button::-moz-focus-inner{
    padding: 0;
    border: 0;
}

.modal-button-primary,
.modal-button-selected,
a.modal-button-primary,
a.modal-button-selected {
    background-color: rgb(0, 120, 231);
    color: #fff;
    border:1px solid rgb(0, 120, 231);
}

.modal-button-secondary,
a.modal-button-secondary{
    background-color:#F8F8F8;
    border:1px solid #DDD;
}