table.GUIXPButton {
    border-collapse: collapse;
    display: inline-table;
    margin: 5px 5px 0px 0px;
}

table.GUIXPButton:focus {
    outline: 0px;
}

table.GUIXPButton td {
    background-repeat: no-repeat;
    padding: 0px;
}

/**
 * Normal button
 */
table.GUIXPButton td.ButtonBottom {
    background-image: url('images/button/button-sprites-h.png');
    background-position: 0px -40px;
    background-repeat: repeat-x;
    height: 4px;
}

table.GUIXPButton td.ButtonBottomLeft {
    background-image: url('images/button/button-sprites-h.png');
    background-position: -8px 0px;
}

table.GUIXPButton td.ButtonBottomRight {
    background-image: url('images/button/button-sprites-h.png');
    background-position: -12px 0px;
}

table.GUIXPButton td.ButtonContents {
    background-color: #f3f3ee;
    font-size: 11px;
    padding: 2px 5px;
}

table.GUIXPButton td.ButtonContents img.ButtonIcon {
    margin-right: 5px;
    vertical-align: -4px;
}

table.GUIXPButton td.ButtonLeft {
    background-image: url('images/button/button-sprites-v.png');
    background-position: -32px 0px;
    background-repeat: repeat-y;
    width: 4px;
}

table.GUIXPButton td.ButtonRight {
    background-image: url('images/button/button-sprites-v.png');
    background-position: -36px 0px;
    background-repeat: repeat-y;
    width: 4px;
}

table.GUIXPButton td.ButtonTop {
    background-image: url('images/button/button-sprites-h.png');
    background-position: 0px -36px;
    background-repeat: repeat-x;
    height: 4px;
}

table.GUIXPButton td.ButtonTopLeft {
    background-image: url('images/button/button-sprites-h.png');
}

table.GUIXPButton td.ButtonTopRight {
    background-image: url('images/button/button-sprites-h.png');
    background-position: -4px 0px;
}

/**
 * Focused button
 */
table.GUIXPButton.focus td.ButtonBottom {
    background-position: 0px -24px;
}

table.GUIXPButton.focus td.ButtonBottomLeft {
    background-position: -40px 0px;
}

table.GUIXPButton.focus td.ButtonBottomRight {
    background-position: -44px 0px;
}

table.GUIXPButton.focus td.ButtonContents {
    background-color: #f6f6f2;
}

table.GUIXPButton.focus td.ButtonLeft {
    background-position: -16px 0px;
}

table.GUIXPButton.focus td.ButtonRight {
    background-position: -20px 0px;
}

table.GUIXPButton.focus td.ButtonTop {
    background-position: 0px -20px;
}

table.GUIXPButton.focus td.ButtonTopLeft {
    background-position: -32px 0px;
}

table.GUIXPButton.focus td.ButtonTopRight {
    background-position: -36px 0px;
}

/**
 * Hover button
 */
table.GUIXPButton.hover td.ButtonBottom {
    background-position: 0px -32px;
}

table.GUIXPButton.hover td.ButtonBottomLeft {
    background-position: -24px 0px;
}

table.GUIXPButton.hover td.ButtonBottomRight {
    background-position: -28px 0px;
}

table.GUIXPButton.hover td.ButtonLeft {
    background-position: -24px 0px;
}

table.GUIXPButton.hover td.ButtonRight {
    background-position: -28px 0px;
}

table.GUIXPButton.hover td.ButtonTop {
    background-position: 0px -28px;
}

table.GUIXPButton.hover td.ButtonTopLeft {
    background-position: -16px 0px;
}

table.GUIXPButton.hover td.ButtonTopRight {
    background-position: -20px 0px;
}

/**
 * Disabled button
 */
table.GUIXPButton.disabled td.ButtonBottom {
    background-position: 0px -8px;
}

table.GUIXPButton.disabled td.ButtonBottomLeft {
    background-position: -56px 0px;
}

table.GUIXPButton.disabled td.ButtonBottomRight {
    background-position: -60px 0px;
}

table.GUIXPButton.disabled td.ButtonContents {
    color: #a1a192;
}

table.GUIXPButton.disabled td.ButtonContents img {
    opacity: 0.3;
}

table.GUIXPButton.disabled td.ButtonLeft {
    background-position: 0px 0px;
}

table.GUIXPButton.disabled td.ButtonRight {
    background-position: -4px 0px;
}

table.GUIXPButton.disabled td.ButtonTop {
    background-position: 0px -4px;
}

table.GUIXPButton.disabled td.ButtonTopLeft {
    background-position: -48px 0px;
}

table.GUIXPButton.disabled td.ButtonTopRight {
    background-position: -52px 0px;
}

/**
 * Down button
 */
table.GUIXPButton.down td.ButtonBottom {
    background-position: 0px -16px;
}

table.GUIXPButton.down td.ButtonContents {
    background-color: #e3e2da;
    padding: 3px 4px 1px 6px;
}

table.GUIXPButton.down td.ButtonLeft {
    background-position: -8px 0px;
}

table.GUIXPButton.down td.ButtonRight {
    background-position: -12px 0px;
}

table.GUIXPButton.down td.ButtonTop {
    background-position: 0px -12px;
}

/**
 * Down button
 */
 table.GUIXPButton.selected td.ButtonBottom {
    border-bottom: 4px solid #DBCA45;
}