/* ALL MESSAGES STYLES (system, popup, tooltips .etc) */

.message,
#domesticFundInfo
{
    padding: 8px 8px 8px 8px;
    margin: 15px auto;
    font: 14px "RobotoCondenced Regular";
    color: #3C4756;
    text-align: center;
    font-weight: normal;
    position: relative;
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    clear: both;
}
.message *,
#domesticFundInfo *
{
    color: #3C4756;
}
.message a,
#domesticFundInfo a
{
    color: inherit;
}

.successMessage
,.successMessagePermanent
{
    color: #379B37;
    border: 1px solid #A6DE98;
    background: #D5FFCB;
}
.errorMessage
,.errorMessagePermanent
{
    color: #F22C2C;
    background: #FFD1CB;
    border: 1px solid #DE9898;
}
.flashMessage
,.flashMessagePermanent
,.infoMessage
,.infoMessagePermanent,
#domesticFundInfo
{
    color: #f2662c;
    background: #fffdcb;
    border: 1px solid #dedb98;
}

.message .messageCloseButton
{
    width: 18px;
    height: 18px;
    background-image: url("/images/sprite_close_777777.png");
    float: right;
    margin-right: -6px;
    margin-top: -6px;
    background-position: 0 0px;
    border: none;
    cursor:pointer;
    position: absolute;
    right: 8px;
    text-align: left;
}
.message .messageCloseButton.withTimer
{
    background-position: 0 18px;
}
.message .messageCloseButton:hover:before
{
    content: 'Close';
    display: inline-block;
    margin-left: -33px;
    /*margin-top: -2px;*/
    line-height: 16px;
    color: #777;
    width: 60px;
    font-size: 11px;
}