/**
 * <--- Copyright 2011 de Solis - Cooperativa de Soluções Livres Ltda.
 *
 * Este arquivo é parte do programa PROJETO.
 *
 * O PROJETO é um software livre; você pode redistribuí-lo e/ou modificá-lo
 * dentro dos termos da Licença Pública Geral GNU como publicada pela Fundação
 * do Software Livre (FSF); na versão 2 da Licença.
 *
 * Este programa é distribuído na esperança que possa ser útil, mas SEM
 * NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO
 * ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/GPL em
 * português para maiores detalhes.
 *
 * Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
 * "LICENCA.txt", junto com este programa, se não, acesse o Portal do Software
 * Público Brasileiro no endereço www.softwarepublico.gov.br ou escreva para a
 * Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston,
 * MA 02110-1301, USA --->
 *
 * MEventCalendar style
 * Based on Kevin Ilsen's jec-styled
 *
 * @author Daniel Hartmann [daniel@solis.coop.br]
 *
 * \b Mantenedores \n
 * Daniel Hartmann [daniel@solis.coop.br]
 *
 * @since
 * Created on 09/03/2011
*/

/* Formatting of the day cells */
table.m-event-calendar {
    border-collapse:collapse;
    border:1px solid #B5D5FF;
    font-size:12px;
    font-family:Arial, Verdana;
    width:98%;
    background-color:#fff;
    margin:5px;
}

/* "Global" settings for all table cells in the calendar table */
table.m-event-calendar th,table.m-event-calendar td {
    border:1px solid #B5D5FF;
    width:14%;
    padding:2px;
}

/* Settings for cells in the body of the calendar (i.e., the days) */
table.m-event-calendar td {
    height:80px;
    vertical-align:top;
}

/* Formatting of the events when they appear in a day cell */
table.m-event-calendar td div.events {
    font-size:11px;
    line-height:13px;
    height:60px;
    overflow-y:auto;
    color:gray;
}

table.m-event-calendar td div.events span {
    display:block;
    margin-bottom:-3px;
}

table.m-event-calendar td div.events a {
    display:block;
    margin-bottom:-3px;
    color:gray;
}

table.m-event-calendar td div.events a:active,table.m-event-calendar td div.events a:focus {
    outline:0;
}

/* Formatting of the year/month banner */
table.m-event-calendar thead th {
    background-color:#B5D5FF;
    color:#000;
    font-size:14px;
    font-weight:700;
    padding-left:4px;
    margin:5px;
}

/* Formatting of the weekday names */
table.m-event-calendar tbody th {
    background-color:#D9E9FF;
    color:#555;
    font-size:12px;
    font-weight:700;
    padding-left:4px;
    margin:3px;
}

/* Formatting of the footer cells (with links to other months) */
table.m-event-calendar tfoot th {
    border:none;
    background-color:#B5D5FF;
    text-align:center;
}

table.m-event-calendar tfoot th a {
    color:#555;
    text-decoration:none;
    display:block;
}

table.m-event-calendar tfoot th a:hover {
    border:1px solid #b2b28f;
}

table.m-event-calendar td.dayBlank {
    background-color:#fffffa;
}

table.m-event-calendar td.dayHasEvent {
    background-color:#FFF;
}

/* Formatting of the date that appears in each calendar day cell */
table.m-event-calendar td div.date {
    text-align:right;
    color:gray;
    margin:0;
    padding:0;
}

table.m-event-calendar td.dayToday div.date {
    font-weight:700;
}

table.m-event-calendar td.daySpecial div.date {
    color:#EE5050;
}

table.m-event-calendar td.dayHasEvent div.date {
    color:#467828;
}