/*

Tooplate 2122 Nano Folio

https://www.tooplate.com/view/2122-nano-folio

*/

html { overflow-x: hidden; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 2em;
    overflow-x: hidden;
}

a {
    text-decoration: underline;
    transition: all 0.3s ease;
    color: #0046b6;
}

a:hover { color: #30ADAD; }

a:active {color:#dc4405;}


h1, h2, h3, h4, p, i, address, li, th, .tm-text-white { color: #454545; }

.tm-link-gray { color: #999999; }
.tm-link-white { color: white; }

.resultats {
	list-style-type: none;
}

.citation {
	color: #0046b6;
	text-align: center;
	font-size: 80%;
	margin-left:5%;
	margin-right:5%;
}

/*Titre*/
.main { color: #ffffff; text-align: right; }
.tm-flex-center-titre {
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/*Fin du titre*/

/*Pied-de-page*/

.tm-footer { 
    color: #454545; 
    text-align: center;
	font-size: 70%;
	border-top: 1px solid #454545;
}
.liste-footer  { 
   display: inline-flex;
	list-style: none;
	padding-left:0px;
}
.liste-footer li   { 
   padding-left: 10px;
	padding-right: 10px;
}
.liste-footer li:first-child  { 
   padding-left: 0px;
	padding-right: 10px;
}

.tm-container-fluid {
    width: 100%;
    max-width: 970px;
    box-sizing: border-box;
	align-items:center;
    margin: 0 auto;
    padding: 60px 15px;
}
/*Fin du pied-de-page*/

.tm-site-header { height: 470px;}

.tm-flex-center {
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*Conteneurs des images carrées*/
.tm-flex-img {
     display: flex;
    flex-direction: inline;
    align-items: center;
    justify-content: space-between;
}
/*Fin des conteneurs d'images*/

/*Propriétés des conteneurs de tableaux et de l'impression*/

.tm-chiffres,
.tm-contact {
    display: flex;
	justify-content:space-between;
	margin-top: 20px;
}
.tm-contact, .tm-chiffres {
    border-style:solid;
	border-color: #0046b6;
	border-width: 2px;
	padding:10px;
    overflow: hidden;
}
/*Fin des conteneurs de tableaux et de l'impression*/

::-webkit-input-placeholder { color: white; } /* Edge */
:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */
::placeholder { color: white; }
.tm-right { margin-right: 0; margin-left: auto; }


/*Boutons pour la sélection des sujets*/

.filters-button-group {
	display:flex;
	flex-direction: row;
	align-items:stretch;
	justify-content: space-around;
	text-align: center;
    padding: 0px;
	margin-bottom:40px;
}

.filters-button-group li {
    display: block;
	flex: 0 1 auto;
    list-style: none;
}


.filters-button-group li a { text-decoration:none; }
.filters-button-group li a.active { color: #dc4405; }
.tm-gallery { margin: -10px; }

.tm-gallery-item {
	border-style:solid;
	border-color: #0046b6;
	border-width: 2px;
    margin: 10px;
	padding:10px;
    overflow: hidden;
}
/*Fin des boutons*/

/*Propriétés des boîtes de texte*/

.tm-gallery-item a {
    display: inline;
    line-height: 0;
}
/*Propriété des images*/

.tm-gallery-item img {
	
    width: 22%;
    height: auto;
}
/*Fin du contenu principal*/

/*Modifications pour petits écrans*/

@media (max-width: 940px) {
    .filters-button-group { text-align: center; }
}

@media (max-width: 680px) {
    .tm-contact { flex-direction: column; }
    
    .tm-contact-form-container,
    .tm-contact-info,
    .tm-contact-header
	.tm-gallery-item {
        width: 100%;
    }

    .tm-contact-form-container { margin-bottom: 20px; }
    .tm-contact-info { margin-bottom: 30px; }
}

@media (max-width: 545px) {
    .tm-chiffres { flex-direction: column; }
}


@media (max-width: 489px) {

    
    .tm-gallery-item img {
        width: 100%;
        height: auto;
    }
	.liste-footer  { 
   display: block;
	list-style: none;
	padding-left:0px;
}
.liste-footer li   { 
   padding-left: 5px;
	padding-right: 0px;
}
.liste-footer li:first-child  { 
   padding-left: 5px;
	padding-right: 0px;
}
.tm-footer { 
    color: #454545; 
    text-align: left;
	font-size: 70%;
}
.filters-button-group {
	display:flex;
	flex-direction: column;
	align-items:stretch;
	justify-content:flex-end;
	text-align: right;
	width:95%;
    padding: 20px;
	margin-bottom:0px;
}

.filters-button-group li {
    display: block;
	flex: 0 1 auto;
    list-style: none;
}
}

.tm-p-50 { padding: 50px; }
.tm-mb-0 { margin-bottom: 0; }
.tm-mb-30 { margin-bottom: 30px; }
.tm-mb-40 { margin-bottom: 40px; }
.tm-mb-50 { margin-bottom: 50px; }
.tm-mb-80 { margin-bottom: 80px; }
.tm-bgcolor-1 { background-image:url("../img/bandeau.jpg") }
.tm-no-border { border: none; }

/*Fin des moficiations pour petits écrans*/
 /*Début tableaux*/


table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 95%;
	height: auto;
	margin-left: 1%;
	margin-top: 1.5em;
}

tfoot {
	font-size: .85em;
}

tfoot > tr:first-child td {
	padding-top: 1em;
}

td,
th {
	text-align: right;
}

tfoot td,
tfoot th {
	text-align: left;
}

tbody td {
	border-bottom: 1px solid #DBDCD8;
	white-space: pre-line;
	width: 20%;
}

tbody td:first-child {
	width: 60%;
}

.table-titre,
.table-titres {
	text-align: left;
}

.table-titre {
	border-bottom: 3px solid #454545;
}

.table-courante {
	border-bottom: 3px solid #0046b6;
}

.table-passee {
	border-bottom: 3px solid #454545;
}

.table-last {
	border-bottom: 2px solid #39393f;
}

.table-total{
	border-bottom: 1px solid #39393f;
}

.table-note {
	border-bottom: none;
	text-align: left;
	font-size:90%;
}

@media 
only screen and (max-width: 479px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead .table-courante,
	thead .table-passee{ 
		position: absolute;
		top: -9999px;
		left: -9999px;
		text-align: center;
	}
	/*
	tr {
		border: 1px solid #ccc;
	}*/

	tbody td {
		width: auto;
		border-bottom: none;
	}
	
	tbody td:not(.table-titres) { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 50%;
	}
	
	tbody td:not(.table-titres):before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0;
		left: .5em;
		width: 45%; 
		padding-right: .625em; 
		white-space: nowrap;
	}
	tbody td:first-child {
	width: 100%;
	}
	tbody td:nth-child(2) {
	background-color: #0046b6;
	color: #ffffff;
	}
	

	/* Label the data */
	.table-budget td:nth-of-type(2):before { content: "2021-2022"; }
	.table-budget td:nth-of-type(3):before { content: "2020-2021"; }
}

@media 
only screen and (min-width: 480px) and (max-width: 1024px)  {
		tbody td:first-child {
	width: 35%;
}
}
/* === fin tableaux === */
