sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

#agenda{
	padding: 23px 0 70px 0;
	font-size: 0.8em;
}

#agenda table{
	width: 100%;
	border-spacing: 3px;
	border-collapse: separate;
	background-color: white;    
	margin-bottom: 70px;
}

#agenda table:last-child{
	margin-bottom: 0;
}

#agenda table td{
	padding: 5px 5px 5px 10px;
	background-color: #eee;
	height: 40px;
	line-height: 30px;
}

#agenda table th{
	padding: 20px 0 20px 20px;
	background-color: #eee;
	height: 65px;
	line-height: 25px;
	background-color: gray;
	color: white;
	font-weight: normal;
}

#agenda table i{
	font-size: 24px;
	font-style: normal;
	margin: -20px 0 -20px 0;
	display: inline-block;
}

#agenda table b{
	font-weight: normal;
	background-color: rgba(0,255,0,0.1);
	display: block;
	margin: -5px -5px -5px -10px;
	padding: 5px 5px 5px 10px;
	color: green;
}

#agenda table .red{
	background-color: rgba(255,0,0,0.1);
	color: red;
}

#agenda table .blue{
	background-color: rgba(0,0,255,0.1);
	color: blue;
}

#agenda table .cyan{
	background-color: rgba(0,255,255,0.1);
	color: darkcyan;
}

#agenda table th a{
	height: 65px;
	line-height: 25px;
	color: white;
	text-decoration: none;
	display: inline-block;
	float: right;
	width: 142px;
	padding: 20px;
	margin: -20px 0 -20px 0;
	text-align: center;
	background-position: center 3px;
	background-image: url(textures/oeil_ferme.png);
	background-size: 30px auto;
	border-left: solid white 3px;
}

#agenda table th a:hover{
	background-color: #aaa;
}

#agenda .checked,
#agenda .checked:hover{ 
	background-color: #1a71b4;
	background-image: url(textures/oeil_ouvert.png);
}

#agenda table td a{
	display: block;
	height: 40px;
	line-height: 40px;
	float: left;
	width: 60px;
	margin: -5px 5px -5px 0;
	background-image: url(textures/pdf.png);
	background-position: center;
	background-repeat: no-repeat;
}

#agenda table td a:hover{
	background-color: #dbdde0;
	background-color: rgba(0,0,0,0.1);
}