@media screen {
    .r4u-Messages-block {
        clear: both;
        left: 50%;
        margin-left: -350px;
        position: fixed;
        top: 0;
        width: 700px;
        z-index: 500;
    }

    .r4u-Message-block {
        position: relative;
    }

    .dojoDialog .r4u-Messages-block {
        position: relative;
        top: auto;
        left: 0;
        margin-left: 0;
        margin-bottom: 5px;
        width: 100%;
    }

    .r4u-Message,
    .r4u-Notification,
    .r4u-Warning,
    .r4u-Error {
        position:relative;
        background-color:#FCFCFC;
        padding: 4px 20px 4px 4px;
        font-weight:bold;
        text-align:center;
        font-size:10px;
        border: 1px solid #C2C2C4;
        border-top: none;
        -moz-border-radius: 0 0 5px 5px;
        -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        -webkit-border-bottom-left-radius: 5px;
        -webkit-border-bottom-right-radius: 5px;
    }

    .dojoDialog .r4u-Message,
    .dojoDialog .r4u-Notification,
    .dojoDialog .r4u-Warning,
    .dojoDialog .r4u-Error {
        border: 1px solid #C2C2C4;
        -moz-border-radius: 5px 5px 5px 5px;
        -webkit-border-top-left-radius: 5px;
        -webkit-border-top-right-radius: 5px;
    }

    div.r4u-Message {
        background-color:#70B859;
        color: white;
        border-color:#538742;
    }

    div.r4u-Error {
        background-color: #ff4e00;
        color: white;
        border-color: #db4300;
    }

    div.r4u-Warning {
        background-color: #e9b500;
        color: white;
        border-color: #b78e00;
    }

    div.r4u-Notification {
        background-color: #6793c1;
        color: white;
        border-color: #3b6da1;
    }

    .r4u-Message .icon,
    .r4u-Notification .icon,
    .r4u-Warning .icon,
    .r4u-Error .icon {
        margin-right:6px;
        margin-left:4px;
        vertical-align: middle;
    }

    .r4u-message-close {
        color: white;
        cursor: pointer;
        font-weight: normal;
        height: 18px;
        width: 12px;
        position: absolute;
        right: 4px;
        top: 4px;
    }

    /* messages */

    .error {
        background: url(../images/icons/delete.png) no-repeat 2px 2px;
        padding-left: 22px;
        padding-top: 2px;
        color:red;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .error-no-icon {
        color:red;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    div#progressLabel.error-no-icon {
        margin-bottom: 6px;
    }

    .message {
        background: url(../images/icons/accept.png) no-repeat 2px 2px;
        padding-left: 22px;
        padding-top: 2px;
        color:green;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .message-no-icon {
        color:green;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .warning {
        background: url(../images/icons/warning.png) no-repeat 2px 2px;
        padding-left: 22px;
        padding-top: 2px;
        color:#6e6200;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .warning-no-icon {
        color:#6e6200;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .notification {
        background: url(../images/icons/information.png) no-repeat 2px 2px;
        padding-left: 22px;
        padding-top: 2px;
        color:#6793c1;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .notification-no-icon {
        color:#6793c1;
        font-weight:bold;
        line-height: 1.5em;
        font-style: normal;
    }

    .content-wrapper-nomargin .error,
    .content-wrapper-nomargin .message,
    .content-wrapper-nomargin .warning,
    .content-wrapper-nomargin .notification  {
        margin:10px;
    }

    .error a, .message a, .warning a, .notification a {
        color: inherit !important;
    }

    .tagcontainer .error,
    .tagcontainer .message,
    .tagcontainer .warning,
    .tagcontainer .notification {
        padding: 0 0 0 22px;
        background-position-y: 0;
    }

    .tablerows td .error,
    .tablerows td .message,
    .tablerows td .warning,
    .tablerows td .notification {
        padding: 0 0 0 22px;
        background-position-y: 0;
    }


}

/* Ajax status indicator */

.ajax-status-wrapper {
    position:fixed;
    top:20px;
    left:0;
    width:100%;
    background-color:initial;
    z-index:1000;
    text-align:center;
}

.ajax-status {
    margin:0 auto;
    background-color:white;
    opacity:0.6;
    border:1px solid #909090;
    width:120px;
    padding:4px 0 2px 0;
}

.ajax-status span {
    font-weight:bold;
    color:black;
    vertical-align:3px;
    padding-left:5px;
}