sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

#agenda{
	padding: 0 0 8px 0;
}

#agenda table{
	width: 100%;
	border-spacing: 8px;
	border-collapse: separate;
	background-color: white;    
	margin-bottom: 8px;
	border-radius: 30px;
}

#agenda table:last-child{
	margin-bottom: 0;
}

#agenda table td{
	padding: 8px;
	background-color: #eee;
	height: 30px;
	line-height: 30px;
}

#agenda table th{
	padding: 8px 0 8px 8px;
	height: 68px;
	line-height: 38px;
	background-color: gray;
	color: white;
	font-weight: normal;
	overflow: hidden;
}

#agenda table tr:first-child th:first-child{
	border-top-left-radius: 22px;
}

#agenda table tr:first-child th:last-child{
	border-top-right-radius: 22px;
}

#agenda table tr:last-child th:first-child{
	border-bottom-left-radius: 22px;
	border-bottom-right-radius: 22px;
	height: 46px;
	padding-left: 14px;
}

#agenda table:first-child{
	border-top-right-radius: 0;
}

#agenda table i{
	font-style: normal;
	margin: -8px 0 -8px 6px;
	display: inline-block;
	height: 68px;
	line-height: 68px;
}

#agenda table b{
	font-weight: normal;
	background-color: rgba(0,255,0,0.1);
	display: block;
	margin: -8px;
	padding: 8px;
	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: 68px;
	line-height: 68px;
	color: white;
	text-decoration: none;
	display: inline-block;
	float: right;
	width: 140px;
	margin: -8px 0 -8px 0;
	text-align: center;
	background-position: center 6px;
	background-image: url(textures/oeil_ferme.png);
	background-size: 30px auto;
	border-left: solid white 8px;
}

#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: 46px;
	line-height: 40px;
	float: left;
	width: 68px;
	margin: -8px 4px -8px -8px;
	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);
}