/* ============================================================================================== 
This copyright notice must be kept untouched in the stylesheet at all times.
The original version of this stylesheet and the associated (x)html 
is available at http://www.script-tutorials.com/php-ajax-calendar/
Copyright (c) Script Tutorials. All rights reserved.
This stylesheet and the associated (x)html may be modified in any way to fit your requirements.
================================================================================================= */
* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff;
}
header {
    background-color:rgba(207, 18, 18, 0.9);
    color:#fff;
    display:block;
    font: 14px/1.3 Arial,sans-serif;
    margin-bottom: 10px;
    position:relative;
}
header h2{
    font-size: 22px;
    margin: 0px auto;
    padding: 10px 0;
    width: 80%;
    text-align: center;
}
header a, a:visited {
    text-decoration:none;
    color:#fcfcfc;
}

/* calendar styles */
#calendar {
    background-color: #FFFFFF;
    -moz-user-select: none;
    border: 1px solid #bdc3d1;
    border-radius: 2px;
    color: #333333;
    font-family: Arial,sans-serif;
    font-size: 1.1em;
    margin: 10px auto;
    padding: 0.4em;
    width: 90%;
}
#calendar .navigation {
    /*background-color: #CC0000;*/
    background-color: #FFFFFF;
    /*border: 1px solid #E3A1A1;*/
    border-radius: 2px;
    /*color: #FFFFFF;*/
    color: #259dab;
    font-weight: bold;
    padding: 1px;
    position: relative;
}
#calendar .navigation .title {
    background: none repeat scroll 0 0 transparent;
    border-color: rgba(0, 0, 0, 0);
    color: inherit;
    line-height: 1.8em;
    margin: 0 2.3em;
    text-align: center;
}
#calendar .navigation .prev, #calendar .navigation .next {
    background-image: url(nav.png);
    height: 24px;
    opacity: 0.9;
    position: absolute;
    top: 0px;
    width: 24px;
}
#calendar .navigation .prev {
    background-position: 0 0;
    left: 4px;
}
#calendar .navigation .next {
    background-position: -24px 0;
    right: 4px;
}
#calendar .navigation .prev:hover, #calendar .navigation .next:hover {
    opacity: 1;
}
#calendar table {
    border-collapse: collapse;
    font-size: 0.9em;
    table-layout: fixed;
    width: 100%;
}
#calendar table th {
    border: 0 none;
    font-weight: bold;
    padding: 0.7em 0.3em;
    text-align: center;
}
#calendar table td {
    border: 0 none;
    padding: 1px;
	border: 1px solid #ececed;
}
#calendar table td a {
    background-color: #fcfcfd;
    color: #004276;
    display: block;
    font-weight: normal;
    opacity: 0.7;
    padding: 0.2em;
    text-align: right;
    text-decoration: none;
}
#calendar table td a:hover {
    background-color: #d8dce3;
    color: #111111;
}
#calendar table td.current a {
    font-weight: bold;
    opacity: 1;
}
#calendar table td.today a {
    background-color: rgb(0, 0 ,100, 0.1);
    border: 1px solid rgb(0, 0 ,204, 0.3);
    color: #444444;
    font-weight: bold;
    opacity: 1;
}
#calendar table td.suivant a {
    /*background-color: rgb(204, 0, 0, 0.1);
    border: 1px solid rgb(204, 0, 0, 0.2);*/
    background-color: rgb(0, 204, 0, 0.1);
    border: 1px solid rgb(0, 204, 0, 0.2);
    color: #444444;
    font-weight: bold;
    opacity: 1;
}
#calendar table td.evenement a {
    /* background-color: rgb(0, 204, 0, 0.1); */
    border: 1px solid rgb(247, 24, 24, 0.3);
    color: #444444;
    font-weight: bold;
    opacity: 1;
}
#calendar table td.precedent a {
    /*background-color: rgb(204, 0, 0, 0.1);
    border: 1px solid rgb(204, 0, 0, 0.2);*/
    background-color: rgb(204, 0, 0, 0.1);
    border: 1px solid rgb(204, 0, 0, 0.2);
    color: #444444;
    font-weight: bold;
    opacity: 1;
}