/* BUTTONS POSITION
------------------------------------------------------------------*/
.buttonwrap {
    height: 42px;
    clear: both;
}

.buttons-left {
    float: left;
    padding-left: 12px;
    margin: 0;
    white-space: nowrap;
}

.buttons-right {
    float: right;
    padding-right: 12px;
    white-space: nowrap;
    margin: 0;
}

.buttonwrap-panel-menu-button {
    height:27px;
}

.buttonwrap-panel-menu-button > div {
    position: absolute;
}

.panels-compact .buttonwrap {
    padding-top: 0;
    height: 34px;
}

.dialog-panel .buttonwrap {
    height: 28px;
    padding-top: 16px;
}

.dialog-panel .buttonwrap .buttons-left {
    padding: 0;
}

.dialog-panel .buttonwrap .buttons-right {
    padding: 0;
}

.buttonwrap-float {
    margin-top: 15px;
    height: 34px;
    clear: none;
}

.buttonwrap-float .buttons-left {
    padding-left: 0;
}

.buttonwrap-float .buttons-right {
    padding-right: 0;
}

.buttons-left a.p-button {
    margin-right: 6px;
}

.buttons-right a.p-button,
.buttons-right a.p-button-disabled {
    margin-left: 6px;
    margin-right: 0;
}

/* BUTTONS
------------------------------------------------------------------*/
.button-right {
    float: left;
    border: 0;
    padding: 0;
    padding-left: 10px;
    padding-top: 0;
    margin: 0;
    text-align: right;
    font-size: 11px;
    font-family: Verdana, Arial, Helvetica, Sans-serif;
    list-style-type: none;
    height: 27px;
}

.button-right a, .button-right a:visited {
    border: 0;
    color: #000;
    text-align: center;
    display: block;
    text-decoration: none;
    padding-top: 5px;
    background: transparent url(../images/button/button.gif) no-repeat 0px
        0px;
    width: 60px;
    height: 22px;
    float: left;
}

.button-right a:hover, .scherm_button-right a:hover {
    background-position: 0px -27px;
}

/* Scalable buttons
------------------------------------------------------------------*/
.button-scalable {
    float: left;
    padding: 0;
    margin: 0;
    text-indent: 0;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, Sans-serif;
    list-style-type: none;
    height: 27px;
    line-height: 14px;
    position: relative;
}

a.p-button, div.p-button {
    float: left;
    height: 27px;
    background: url("../images/button/but-grey-left.gif") no-repeat left top;
    margin: 0 10px 0 0;
    padding: 0 0 0 3px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

a.p-button span {
    float: left;
    display: block;
    height: 14px;
    background: url("../images/button/but-grey-right.gif") no-repeat right
        top;
    padding: 6px 10px 7px 6px;
}

a.p-button:hover span {
    background-position: 100% -27px;
    color: #000000;
}

a.p-button:hover {
    background-position: 0 -27px;
    color: #000000;
    text-decoration: none;
}

a.p-button:visited {
    color: #000000;
}

a.p-button img {
    vertical-align: -5px;
    margin-right: 4px;
    border: 0;
}

img.align-with-text {
    vertical-align: -4px;
    margin-right: 2px;
    border: 0;
}

/* DISABLED BUTTON
------------------------------------------------------------------*/
.p-button-disabled img {
    vertical-align: -4px;
    margin-right: 6px;
    border: 0;
}

a.p-button-disabled, a.p-button-disabled:hover, a.p-button-disabled:visited
    {
    float: left;
    height: 27px;
    background: url("../images/button/but-grey-left.gif") no-repeat left top;
    padding: 0 0 0 3px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #808080;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    cursor: default;
    margin: 0 10px 0 0;
}

a.p-button-disabled span {
    float: left;
    display: block;
    height: 14px;
    background: url("../images/button/but-grey-right.gif") no-repeat right
        top;
    padding: 6px 12px 7px 8px;
    color: #888888;
    text-decoration: none;
}

/* RED BUTTON
------------------------------------------------------------------*/
a.p-button.p-button-red {
    background: url("../images/button/but-red-left.png") no-repeat left top;
}

a.p-button.p-button-red span {
    background: url("../images/button/but-red-right.png") no-repeat right
        top;
    color: white;
}

a.p-button.p-button-red:hover {
    background-position: 0 -27px;
}

a.p-button.p-button-red:hover span {
    background-position: 100% -27px;
    color: white;
    text-decoration: none;
}

/* ACTION BUTTONS
------------------------------------------------------------------*/
.action_buttons_wrapper {
    position: relative;
    height: 17px;
    display: block;
    text-align: left;
}

.action_buttons_wrapper > img,
.action_buttons_wrapper > a > img{
    border: 0;
    display: inline-block;
    vertical-align: -4px;
}

.action_buttons_wrapper .action_button {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    text-decoration: none;
    background: url(../images/button/actions_button01.gif) no-repeat left;
    width: 63px;
    height: 17px;
    line-height: 17px;
    text-indent: 7px;
    cursor: pointer;
    display: inline-block;
}

.action_buttons_wrapper .action_button_disabled {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #808080;
    text-decoration: none;
    background: url(../images/button/actions_button03.gif) no-repeat left;
    width: 63px;
    height: 17px;
    line-height: 17px;
    text-indent: 7px;
    display: inline-block;
}

/* SUBMIT BUTTONS
------------------------------------------------------------------*/
.submit-button input.button {
    border: none;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: #252f47;
    background: url("../images/button/but-grey-right.gif") no-repeat right
        top;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    height: 27px;
    padding: 6px 8px 7px 6px;
}

.submit-button .submit-button-icon {
    background: url("../images/button/but-grey-center.gif") repeat right top;
    height: 27px;
    float: left;
    display: block;
}

.submit-button img {
    padding-left: 8px;
    padding-top: 6px;
    border: 0;
}

.submit-button {
    float: left;
    overflow: auto;
    background: url("../images/button/but-grey-left.gif") no-repeat left top;
    padding-left: 3px;
    margin-right: 7px;
}

.submit-button:hover input.button, .submit-button:hover .submit-button-icon
    {
    background-position: 100% -27px
}