.smallButton {
    font-family: arial, verdana, sans-serif;
    font-size: 7pt;
    border: 1px solid #ffa500;
    margin: 1px;
    background-color: #ededed;
    text-decoration: none;
    color: black;
}

.smallButton:disabled {
    color: #666666;
}

.smallButton:focus {
    background-color: #d3d3d3;
}

a.smallButton {
    display: inline-block;
    padding: 1px 7px;
}

.ui-widget-content a.smallButton {
    font-size: 8pt;
    color: black !important;
    text-decoration: none !important;
}

.smallButton:link {
}

.smallButton:visited {
    color: black;
}

.smallButton:hover {
    background-color: yellow;
    cursor: pointer;
}

.smallButton:hover:disabled {
    background-color: #ededed;
    cursor: auto;
}

/* this is for the 'next' buttons, where the image is on the right of the text. */
.right-img {
    margin-left: 6px;
    margin-right: 0 !important;
}

/* this will prevent ie from displaying ridiculously long buttons */
button {
    padding: 0 5px 0 5px;
    width: auto;
    overflow: visible;
    margin-left: 4px;
    margin-right: 4px;
}

button.ui-button span, a.ui-button span {
    text-decoration: none;
}

button, a.button, a.button:visited {
    font-family: MS Shell Dlg,sans-serif;
    font-size: 13.3px;
    display: inline-block;
    /* also see pageInitializer if you want to change this! */
    border: 1px solid #707070;
    padding: 2px 9px 2px 9px;
    margin-right: 4px;
    margin-left: 4px;
    color: #000000;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    line-height: normal;
    vertical-align: baseline;

    /* provide a background gradient */
    background: #f5f5f5;
    background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dadada)); /*chrome/safari*/
    background: -moz-linear-gradient(top, #f5f5f5, #dadada); /*firefox*/
    background: -o-linear-gradient(#f5f5f5, #dadada);   /*opera*/
    background: -ms-linear-gradient(#f5f5f5, #dadada);   /*ms*/
    -pie-background: linear-gradient(#f5f5f5, #dadada); /*PIE*/
}

button:hover , a.button:hover {
    background: #e6e6e6;
}

button:focus, a.button:focus {
    -moz-box-shadow: 0 0 1px #333;
    -webkit-box-shadow: 0 0 1px #333;
    box-shadow: 0 0 1px #333;
}

button:active, a.button:active {
    background: #c3c7c7;
}

button:disabled, .button[disabled] {
    background: #f4f4f4;
    color: #6d6d6d;
    border: 1px solid #939292;
}

/* see http://stackoverflow.com/questions/7969295/identical-button-element-and-anchor-link */
button::-moz-focus-inner {
    padding:0;
    border:0;
}

/* this will prevent ie from displaying ridiculously long buttons but not break firefox
see http://jehiah.cz/archive/button-width-in-ie-revised */
.lt-ie8 button {
    width: 1;
    padding-top: 1px;
    padding-bottom: 2px;
}

.lt-ie8 a.button {
    padding-top: 3px;
    padding-bottom: 3px;
}