/* 
    Document   : calendar
    Created on : janv. 2010, 01:08:00
    Author     : AG2I
    Description:
        calendar app : table display
*/

/*
 * TABLE
 * ATTENTION AVEC BACKGROUND-COLOR: Transparent sur TD OU TR
 * prend le dessus sur les couleurs de fond!
 */

/*
table wrapper */
div.cal_wrapper {
clear:both;
display: block;
font-size: 11px;
}

/**
 *
 * legendes exterieures
 *
 */

/* wrapper */
.legwrap {
display: block;
clear:both;
margin: 1em 0;
padding:0
}

    /* legende: contient blocs de couleur + textes */
   .legende {
		 color:#666;
    display: inline; 
    float:left;
    line-height: 110%; /* centrage vertical bloc&&texte */
    white-space: nowrap;
    margin-right: .5em; /* separateur entre les legendes cote a cote*/
    width: auto; /* important lorsque contient du texte */
    padding-bottom: .5em; /* espace avec la bloc de dessous */
    }
    /* legende: blocs de couleur */
    .legende div {
    float:left;
    width: auto; /* important lorsque contient du texte */
    min-width:1em;
    height:1em;
    font-size:10px;
    font-weight: bolder;
    line-height: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    padding: 2px;
    margin-right: 2px;
    }

/**
 *
 * tableau
 *
 */

/*
html tags
*/
table.cal{
border: 1px solid #000;
width:100%;
font-family: 'Times New Roman',Times,serif;
}
.cal td,
.cal th {
border:1px solid #000;
padding:1px;
margin: 0;
}
table.cal a {color:#00F;}

/*
HEADERS
*/
/* INTITULE DE COLONNES (l,m,m,j,v,s,d) */
.cal th,
.cal thead td, 
.cal tfoot td {
background-color:#F0F0F0;
text-align: center;
font-weight: normal;
}
    /* 1ERE ET DERNIERE LIGNE */
    .cal thead td,
    .cal tfoot td
    {
    font-size: 1.4em;
    line-height: 150%;
    font-weight: bolder;
    vertical-align: middle;
    }
    /* liens suivant-précédent */
    .cal thead td a,
    .cal tfoot td a
    {
    font-size: 1em;
    margin:auto 0.5em;
    font-weight: normal;
    text-decoration: none;
    }

/*
CORPS CELLS
*/
.cal tbody td {
height: 3em;
font-weight: normal;
text-align: center;
vertical-align: top;
}

/*
CORPS bordure des cellules de contenu
*/
.cal tbody td,
.cal tbody th {
border: 1px solid #555;
}


/**
STYLES SPECIAUX
*/
.cal .title_l ,
.cal .title_r {
vertical-align: middle;
font-size: 1.3em;
font-weight: bold;
}
    .cal .title_l {
    text-align: right;
    }
    .cal .title_r {
    text-align:left;
    }
    
.weekend {
background-color:#FFCC00;
color: #C00;
}

/*
jour num
*/
.cal tbody td div {
color:#666;
float:left;
font-size: 80%;
line-height: 0.9;
margin:1px;
padding:1px;
}
/*
lien voir plus
*/
.cal tbody td a.morespan {
display:inline;
font-weight: bold;
font-size: 80%;
float:left;
clear:right;
border:0px none;
background-color: #00C;
color: #FFF;
line-height: 1;
margin:1px 0 0 0;
padding:1px;
text-decoration: none;
text-align: center;
height: auto;
width:auto;
}
.morespan {
background-color: #00C;
color: #FFF;
}

/*
numero de semaine 1-52, tout les lundi
*/
.cal td div.weeknum {
height:auto;
color:#AAA;
display: block;
margin:0 auto;
clear:both;
font-style: italic;
text-decoration: none;
border:0px none;
}

/*
chaque event
*/
.cal tbody td a.ev {
clear:left;
display: block;
height: 1em;
letter-spacing: -1px;
line-height: 1;
margin-top:1px;
max-height: 1em;
overflow: hidden;
padding:0 0 1px 0;
text-align: left;
text-decoration: none;
}
    .ev {
    text-transform: uppercase;
    cursor:help;
    color:#00C;
    font-family: 'Courier New',Courier,monospace;
    }
    .cal tbody td a.ev:hover {
    background-color: #00C;
    color:#FFF;
    }
/*
tooltip dynamiques avec javascript
*/
#livetip {
position: absolute;
background-color: #fff;
border: 2px solid gray;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
line-height: 1;
color:#000;
font-size:90%;
padding:2px;
font-variant:small-caps;
}

/*
colors
*/
.altColor{background-color:#ECF6FC;}
.bgColor{background-color:#fff;}
.hoverColor{background-color:#BCD4EC;}
.todayColor{background-color:#F90;}
.emptyColor{background-color:#F0F0F0;}
/*.isEvent{background-color:#BCD4EC;}*/
