/* Custom calendar elements */

.custom-calendar-wrap {
	margin: 10px auto;
	position: relative;
	overflow: hidden;
}

.custom-inner {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:before,
.custom-inner:after  {
	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	background: #f6f6f6;
	bottom: -4px;
	left: 0.5%;
	z-index: -1;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:after {
	content: '';
	width: 98%;
	bottom: -7px;
	left: 1%;
	z-index: -2;
}

.custom-header {
    padding:0 10px 0 10px;
    height:auto;
    min-height:40px;/*taille des flèches précédent / suivant*/
    position: relative;
}

.custom-header h2 {
    text-align:center;
    text-transform:uppercase;
    color:#495468;
    font-weight:500;
    font-size:1em;
    margin:10px 0 0 0;
    padding:0;
    color:#666;
}

.custom-header h3 {
    display:none;
}

/*Fleches pour passer d'un mois à l'autre*/
.custom-header nav span {
    position: absolute;
    top:0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin:0;
    font-size: 20px;
    line-height: 40px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align:center;
}

.custom-header nav span:first-child {left:0;}
.custom-header nav span:last-child {right:0;}

.custom-header nav span:before {
    left:0;
}

.custom-header nav span.custom-prev:before {
	font-family: "fontawesome";
    content: '\f053';
}

.custom-header nav span.custom-next:before {
font-family: "fontawesome";
    content: '\f054';
}

.custom-header nav span:hover:before {
    opacity:0.8
}

.custom-content-reveal {
	background: #f6f6f6;
	background: rgba(246, 246, 246, 0.9);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0px;
	text-align: center;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
	position: absolute;
	top: 15px;
	right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	background: #333;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	cursor: pointer;
	line-height: 13px;
	padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
	content: 'x';
	font-size: 18px;
	color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
	font-size: 22px;
	padding: 10px 30px;
	display: block;
}

.custom-content-reveal h4 {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 3px;
	color: #777;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	border-top: 5px solid #333;
	box-shadow: 0 1px rgba(255,255,255,0.9);
	margin-bottom: 30px;
}

.custom-content-reveal span {
	color: #888;
}

.custom-content-reveal a {
	color: #333;
}

.custom-content-reveal a:hover {
	color: #333;
}

/* Modifications */

.fc-calendar-container {
	height: 400px;
	width: auto;
	padding: 30px;
	background: #f6f6f6;
	box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.fc-calendar .fc-head {
	background: transparent;
	color: #333;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}

.fc-calendar .fc-row > div {
	cursor: pointer;
	border-bottom: 1px solid #ddd;
}

.fc-calendar .fc-row > div:empty {
	background: transparent;
}

.fc-calendar .fc-row > div > span.fc-date {
	top: 50%;
	left: 50%;
	text-align: center;
	margin: -10px 0 0 -15px;
	color: #686a6e;
	font-weight: 400;
	pointer-events: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #333;
	box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-content:after {
	//content: '\00B7';
	text-align: center;
	width: 20px;
	margin-left: -10px;
	position: absolute;
	color: #fff;
	font-size: 70px;
	line-height: 20px;
	left: 50%;
	bottom: 3px;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
	color: #b02c42;
}

.fc-calendar .fc-row > div.fc-content:hover:after{
	color: #333;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after{
	color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
	display: none;
	font-size: 22px;
}

@media screen and (max-width: 400px) {
	.fc-calendar-container {
		height: 300px;
	}
	.fc-calendar .fc-row > div > span.fc-date {
		font-size: 15px;
	}
}


/*Légende au dessus du calendrier*/
.code-dispo{
    float:left;
    margin-bottom:20px;
    width:100%}

span.carre{
    width:20px;
    height:20px;
    margin-rigth:10px;
    display:block;
    float:left}
    
.code-dispo span{
    float:left;
    margin-right:10px;
    height:20px;
    font-size:11px;
    line-height:20px;
    font-weight:bold}

span.dispo{color:#666;}
span.dispo .carre{background-color:#FFF; border:1px solid #ccc;}
span.complet{color:#DD0E5C;}
span.complet .carre{background-color:#DD0E5C;}
span.ferme{color:#ccc;}
span.ferme .carre{background-color:#ccc;}
span.attente{color:#b8b8b8;}
span.attente .carre{background-color:#b8b8b8;}

/*fin légende*/

/**********Les couleurs des cases des calendriers*******/

/*couleur de fond des cases "libre"*/
.fc-calendar .fc-row > div{
    background-color: #FFF;
}

/*couleur de fond du jour (aujourd'hui)*/
.fc-calendar .fc-row > div.fc-today {
    background-color: #4B4B4D;
}

/* couleur de fond des cases "complet" */
.fc-calendar .fc-row > div.fc-content.complet {
    background-color: #DD0E5C;
}
/* couleur texte des cases "complet" */
.fc-calendar .fc-row > div.fc-content.complet > span.fc-date {
    color: #fff;
}
/* couleur de fond des cases "complet" */
.fc-calendar .fc-row > div.fc-content.ferme {
    background-color: #ccc;
}
/* couleur texte des cases "complet" */
.fc-calendar .fc-row > div.fc-content.ferme > span.fc-date {
    color: #fff;
}
/* couleur de fond des cases "complet" */
.fc-calendar .fc-row > div.fc-content.attente {
    background-color: #b8b8b8;
}
/* couleur texte des cases "complet" */
.fc-calendar .fc-row > div.fc-content.attente > span.fc-date {
    color: #fff;
}
/*******Fin des couleurs des cases des calendriers*******/