/*
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

/**
 * I've tried to d this in announcments/css/main.jsp but it didn't work
 * If you find out why, plz tell me ;)
 *
 * @author tiago.pais@opensof.pt
 */
 .portlet-announcements .portlet-title {
     display: none;
}

#msgContainer .portlet-msg-info {
    background: #DFF4FF url(../images/messages/info.png) no-repeat 6px 50%;
    border: 1px solid #A7CEDF;
    color: #34404F;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}

#msgContainer .portlet-msg-info {
    background: #DFF4FF url(../images/messages/info.png) no-repeat 6px 50%;
    border: 1px solid #A7CEDF;
    color: #34404F;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}

#msgContainer .portlet-msg-info.pending {
    background-image: url(../images/common/time.png);
}

/* ---------- Error messages ---------- */

#msgContainer .portlet-msg-error {
    background: #FDD url(../images/messages/error.png) no-repeat 6px 50%;
    border: 1px solid #F00;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}

/* ---------- Warning messages ---------- */

#msgContainer .portlet-msg-alert {
    background: #FFC url(../images/messages/alert.png) no-repeat 6px 20%;
    border: 1px solid #FC0;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}

/* ---------- Success messages ---------- */

#msgContainer .portlet-msg-success {
    background: #F4FDEF url(../images/messages/success.png) no-repeat 6px 50%;
    border: 1px solid #ACDFA7;
    color: #384F34;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}

.portlet-action.portlet-back {
    display: none;
}
