/*Table RM-RVP
Code couleur -
Lignes tableau
	Doubs: #F1EDED;
	Haute-Saône: #DDE7EF;
	Jura: #D9EDCF;
	TdB: #F9EBCB;

Surlignement
	Doubs: #d2c6c6;
	Haute-Saône: #a8c2d6;
	Jura: #b6dca3;
	TdB: #f2d38d;
*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');
body,div,table,thead,tbody,tfoot,tr,td,p { font-family: Calibri, sans-serif; font-size: medium;}

h2,h3 {font-family:Calibri; text-align: center;}
p { color: #000000; font-family: Calibri; font-size: 12pt }
a:link {font-weight:bold; text-decoration:none;}
a:hover {
	color: #003366;
	background-color: transparent;
	text-decoration: underline;
}
/* Formatage tableau */
.center {
  margin-left: auto;
  margin-right: auto;
}
th {
  font-family: Calibri;
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  padding: 2px;
}
td {
	padding: 5px;
	}
/* tbody tr:nth-child(odd) {
	background-color: #f9ebcb;
} */

/* tr:hover {
	background-color: #f2d38d;
	}
	div {overflow-x: auto;
	} */

/* Tableau Statistiques communes */
table.titre   {
	margin-left: auto;
	margin-right: auto;
}
table.titre td {background-color: white;}

/* Navigation entre pages */
/* utilisation des symboles < et > pour changer d'année */
.entete, .entete p, .entete td {
	font-family: thorndale;
	font-size: 18pt;
	font-weight: bold;
	font-style: italic;
	text-align: center;
	color: #0194a8;
	vertical-align: top;
	padding-bottom: 1px;
	}
.entete a {color: green; black;
	text-decoration: none;
	}

/* Dernière ligne tableau */
.col-foot {
	background: white;
	bottom: -1px; /* Fixes issue w/ sticky where sometimes text from table shows below footer */
	color: #000;
	position: -webkit-sticky;
	position: sticky;
	z-index: 999; /* Ensures the footer stays on top of everything else */
	}
.col-foot td {
	background-color: white;
	font-weight: bold;
	border-top: 2px solid;
	border-bottom: 2px solid;
	}

/* En-tête tableau */
.sticky-top {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 20;
    /* set some style (optional)*/
    background-color: #ccccff;
    color: black ;
    }
.sticky-left {
    position: sticky;
    position: -webkit-sticky;
    left: 0px;
    z-index: 1;
    /* set some style (optional)*/
    background-color: ;
    color: noir;
    }
.sticky-top-left {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    left: 0px;
    z-index: 2;
    /* set some style (optional)*/
    background-color: #ebd2ad;
    color: noir;
    }

/* Bouton Retour haut de page */
#scroll {
    position:fixed;
    right:100px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#3498db;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}
#scroll:hover {
    background-color:#e74c3c;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

/* Pages Index alphabétique matricules */
.index-alpha a:link {color: green;
	text-decoration: none;}
.index-alpha a:visited {color: green;}
.index-alpha a:hover {color: green;
	text-decoration: underline;}

.index-alpha tbody {color: maroon;}
.index-alpha td {height: 17px;
	background-color: #f2f2f2;}
.index-alpha th {background-color: silver; 
	height: 19px;}
.index-alpha-tr tr:hover td {background-color: #ffffff;}

/* Pages Index alphabétique Tables décennales */
.index-td a:link {color: green;
	text-decoration: none;}
.index-td a:visited {color: green;}
.index-td a:hover {color: green;
	text-decoration: underline;}

.index-td tbody {color: maroon;}
.index-td thead {
	font-weight: bold;
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 2;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
	}
.index-td th {background-color:  #f2f2f2;
	height: 19px;}
.index-td td {height: 17px;
	background-color: #e9f4f6;
	}
.index-td-tr tr:hover td {background-color: #ffffff;}

/* Pages Index RM */
