/*
Template Weekly Post
Last update : 21/08/2025
*/


/* === COLORS === */

/* 
- Performance (rouge profond) : Firebrick / #B22222 / rgba(178,34,34,1)
- Demography (bleu indigo) : Indigo / #4B0082 / rgba(75,0,130,1)
- Highlights (orange intense) : Burnt Orange / #CC5500 / rgba(204,85,0,1)
- Values (vert naturel) : Forest Green / #228B22 / rgba(34,139,34,1)
*/

:root {
    /* Définition de la couleur principale */
    --main-color: #B22222; 

    /* Déclinaisons en transparence */
    --main-color_rgb: 178, 34, 34;
    --main-color-opacity: rgba(var(--main-color_rgb), 0.66); 
    --main-color-detail: rgba(var(--main-color_rgb), 0.33); 
    --main-color-no: rgba(var(--main-color_rgb), 0); 
    }
      
.bg-color-contr {background: var(--main-color)}
.color-contr {color: var(--main-color)}
  
/* === POLICES === */

/*  
Roboto
400 : regular / 500 : medium / 600 : semi-bold / 700 : bold
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,600,700');

/*
Texte
*/

h1, h2, h3, h4, h5, h6, dd {
    font-family: 'Roboto', sans-serif;
}

h1 {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

body{
    font-size: 16px;
}

.txt-left {
    text-align: left;
}

.txt-left-small {
    text-align: left;
    font-size: 0.875em;
    /*color: var( --main-color);*/
}

.txt-left-cha {
    text-align: left;
    font-weight: 600;
}

p {
	font-size: 1em; /*16px*/
    /*font-size: 0.875em; 14px*/
}

b {
    color: var(--main-color);
}

/* === ALIGNEMENTS ET ESPACEMENTS === */

.align-items-end {
    align-items: flex-end !important;
}
  
.align-items-center {
    align-items: center !important;
}
  
.align-items-left {
    align-items: left !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.col-sm-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
}

.col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.row {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0rem;
    align-items: left;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

/* === GRILLE ET STRUCTURE === */

.page-container {
    max-width: 960px;
    margin: auto;
}

.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

body {
    background: #ECEAE3;
    color: #000;
    font-family: 'Roboto', sans-serif;
    padding-top: 20px;
    padding-bottom: 20px; 
}

/* === RÈGLES === */

.d-none {
	display: none !important;
}

/* === HEADER === */

/* Général */

#header {
	position: relative;
	background-image: linear-gradient(var(--main-color), white), url("../img/wp_img.jpg");
    background-blend-mode: color;
    background-size: cover;
	background-position: top; /*top,center,bottom: selon l'image*/
    flex: 0 0 auto;
    max-height: 600px;
    min-height: 193px;
    min-width: 320px;
    color: #FFF;
}

/* Bandeau supérieur */

.bansup {
	background-color: rgba(255,255,255,1.0);
    flex: 0 0 auto;
    min-height: 50px;
    max-height: 95px;
	margin:-2rem;
    border-bottom: 2px solid var(--main-color);
}

p.pre-title {
    display: flex;
    padding:2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    margin-bottom:-.5rem;
    font-size: .875em;
    justify-content: space-between;
}

/* Cadre [catégorie] du Weekly Post */

p.category-title {
    margin-top:40% !important;
    margin-bottom: 22px !important;
    position: relative;
    display: inline-block;
	height: 20px;
    margin-left: -2rem;
    padding-right: 0.75rem;
    padding-left: 2rem;
    font-weight: 500;
	font-size: 0.875em;
}

/* Titre du Weekly Post */

.baninf { /* Bandeau inférieur */
    display: flex;
    background-color: rgba(255,255,255,1.0);
    border-bottom: 2px solid var(--main-color);
    padding: 0.5rem;
    padding-left:2rem;
    flex: 0 0 auto;
    min-height: 10px;
    max-height: 75px;
    width: auto;
    margin:-2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.title-wp{ /* Titre */
    font-size: 1.5em;
    font-weight: bold;
	line-height: 1.25em;
    color:black;
}

.credit{ /* Crédit photo */
    color: #212529;
    font-size: 0.750rem;
	margin-bottom: 0.5rem;
}

/* === MAIN === */

/* Général */

main {
    background: #FFF;
    margin: auto;
    min-width: 320px;
}

/* Réseaux sociaux */

.social-logo-container{
    background-color:rgba(217,217,217,0.5);
}

.logo-social{
	margin-left: 0.5rem;
}

img.logo-reseau{
    cursor: pointer;
    min-width:30px;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

a.share-button {
    display: inline-block;
    font-size: 1.825em;
    border: 0;
    line-height: 0.8em;
    padding: 0 0 0 5px;
}

/* Coordonnées et éditeurs */

.coord{
    margin: 0px;
    margin-top: 0.7rem !important;
    margin-bottom: 0.7rem !important;
	font-size: 1.125rem;
	line-height: 1.125rem;
	color:rgba(0,0,0,.5);
}

.trait-contact{
    height: 2px;
}

/* Article */

article p { /* paragraphe standard */
  line-height: 1.4em;
  padding-left: 0rem;
  padding-right: 0rem;
}
/*
article .chapo { 
    font-weight: 500;
}*/

.legend-gt .title { /* titre du tableau */
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 0;
}

.legend-gt .subtitle { /* sous-titre tableau */
    font-size: 0.825em;
}


/* === FOOTER === */

/* Généralités*/

footer {
    background: #FFF;
    border-top: 1px solid #C8C8C8;
    display: flex;
    min-height: 80px;
    min-width: 320px;
    flex-direction: column
}

footer p { /* éditeurs */
    font-size: 12px; /*12px*/
    margin-bottom: 0;
    color: #000;
    font-family: 'Work Sans', sans-serif;
}

footer .footer-logo {
    margin-left: auto;
}

/* Logos */

.logo-fo-footer{ /* logo CIES dans pied de page */
    float:right;
}

.logo{ /* logo pied de page */
    margin:0.65rem;
}

.logo_sp{ /*espacement des logos du bas */
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

.container-article p.coord {
	margin:0px;
    margin-top:0.7rem !important;
    margin-bottom:0.7rem !important;
}
	
.container-img { /* conteneur logo et coord */
	margin-left: 2rem;
	margin-right: 1rem;
}

/* === TABLEAUX === */

/* Détails */

.detail1{
    font-size:0.825em;
	color: var(--main-color-opacity); 
}

.detail2{
    font-size:0.825em;
	color: #D3D3D3; 
}

.detail3{
    font-size:0.825em;
	color: var(--main-color-opacity-no); 
}

/* Logos */

.flagst{
    position: absolute;
	width: 28px;
	border: 1px solid gray;
	border-radius: 1px;
	margin-bottom: 1px;
}	

.content-graphique, .content-tableau {
    margin: 0;
}

div.logoclub img {
    position: absolute;
    height: 26px;
    background-color: rgba(217,217,217,0.5);
    border-radius: 5px;
    padding-left: 2px;
    padding-right: 2px;
}

.logo_league{
    top:19%;
    height: 16px;
}

.logo_confed{
    position: absolute;
    top:19%;
    width: 15px;
}

/* Texte suivant le logo league*/

div.tabulator-cell .txt-right-league{
    position: absolute;
    left:25px;
}

div.tabulator-cell .txt-right-league-tree{
    position: absolute;
    left: 115px;
    top: 4px;
}

/* Bloc du filtre tabulator */

.filter-item {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
}

/* Label des listes */

label {
    font-size: 0.825em;
    font-weight: 600;
    margin: 0 0.5rem 0 0;
}

/* Liste et zone de texte */

select, input[type="text"] {
   font-size: 0.825em !important;
   color: #212529;
   font-size:13.2px;
}

/* Bouton */

button.btn {
    color: #FFF;
    font-size: 0.900em;
    border: 2px solid #D50803;
    background: #16212C;
    padding: 0.5rem;
    border-radius:4px 4px;
}

button:focus {
    outline:0;
}

/* Bouton déselectionné */

button.btn_deselect {
    color: #FFF;
    font-size: 0.825em;
    background: #16212C;
    padding: 0.5rem;
    border-radius:4px 4px;
}

div[data-max] {
    height: 12px !important;
    margin-top: 4px;
}

/* Barres dans les cellules */

div.barre_perso1{
    height: 12px;
    background-color: var(--main-color-opacity);
    display: inline-block;
    position: absolute;
    left: 40px;
    margin-top: 4px;
}

div.barre_perso2{
    height: 12px;
    background-color: #D3D3D3;
    display: inline-block;
    position: absolute;
    left: 40px;
    margin-top: 4px;
}

div.nb_barre{
    left: 36px;
    color: var(--main-color-opacity);
    margin-bottom: 2px;
}

div.barre_perso_pos{
    height: 12px;
    background-color: rgba(0,166,76, 1);
    display: inline-block;
    position: absolute;
    left: 45px;
    margin-top: 4px;
}

div.barre_perso_neg{
    height: 12px;
    background-color: rgba(213,8,3,1);
    display: inline-block;
    position: absolute;
    right: 35px;
    margin-top: 4px;
}

/* Barre de type jauge */

.progcustom-container {
    display: flex;
    align-items: center;
}

.progcustom-value {
    width: 40px;
    text-align: right;
    margin-right: 5px; 
}

.progcustom-bar-container {
    position: relative;
    flex-grow: 0.8; 
    height: 12px;
    background-color: #f0f0f0;
}

.progcustom-bar {
    position: absolute;
    height: 10px;
    background-color: var(--main-color-opacity);
    top: 1px;
    left: 1px; 
}

/* Cercles */

div.rond_perso1{
    width: 14px;
    height: 14px;
    display: inline-block;
    position: absolute;
    left: 58px;
    top: 7px;
    border-radius: 7px;
    border:1px solid rgb(139,140,139)
}

div.rond_perso2{
    width: 14px;
    height: 14px;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 7px;
    border-radius: 0px;
    border:1px solid rgb(139,140,139)
}

/* Images dans le tableau */

@media (min-width: 768px) {
    .container-img-tableau {
        margin-right: 1rem;
    }   
}

@media (max-width: 767px) {
    .container-img-tableau {
        margin: 1rem 0;
    }
}

/* === RESPONSIVE CLASS === */

/* Default */

@media (max-width: 991px) { /* lorsque la page est plus petite que 991px, pas de padding */
    body {
        padding: 0;
    }
}

/* Screens M */

@media (min-width: 768px) { /* lorsque la page est plus grande que 768px */
    
	.container-article p {
        margin-right: 2rem; /* marge droite pour paragraphe pour que les logos des réseaux sociaux s'affichent */
    }
	
	.logo-social-container-footer { /* container avec logo reseaux sociaux jusqu'a largeur de 767px */
		display:none;
	}
}

/* Screens S */

@media (max-width: 767px) {
	
	p {
    font-size: 0.875em; /*14px*/
	}
	
	.container-img { /* container avec logo reseaux sociaux dans main à partir d'une largeur de 768px */
		/*margin: 1rem 0;*/
		display: none;
	}
	
	.logo-social-container-footer-big{ /* container sans logo reseaux sociaux à partir d'une largeur de 768px */
		display: none;
	}
		
}

@media (min-width: 768px) {

}

/* Screens XS */

@media (max-width: 575px) {
	
	body {
		font-size: 1.6rem;
	}
	
	.title-wp{ /* diminue la taille du titre du wp */
		font-size: 1.75rem;
	}
    
	p.category-title { /* diminue la taille de la catégorie du wp */
		margin-bottom: 21px !important;
		font-size: 1em;
		height: 12px;
		font-size: 10px;
	}
	
    .credit { /* diminue la taille du crédit photo */
		font-size: 0.5rem;
		margin-bottom: 0.0rem;
	}
	
    
    #header { /* header */
        /*height: 165px;*/
		width: 100%;
    }
    
    p.pre-title { /* diminue la taille du numéro du wp */
		font-size: 0.75em; /*12px*/
	}
	
    footer .footer-logo {
		margin-left: 0;
		margin-bottom: 2rem;
	}
    
}

/* Screens XXS */

@media (max-width: 450px) {
	p.category-title {
		margin-top: 37% !important;
	}

}


/* === TABULATOR === */

/* Defaut */

.tabulator {
    background-color:#FFF;
    border: none; /*contour du tableau 1px solid #D50803*/
    font-size:0.825em;
}

.tabulator .tabulator-header {
    background-color: #FFFFFF;
    color:var(--main-color);
    font-weight: 600;
    border-color: var(--main-color);
}

.tabulator .tabulator-header .tabulator-col {
    background-color: #FFFFFF;
    white-space: normal;
    border: 0px;
    min-height: 27px !important;
    height: auto !important;
}

/* Survol de la flêche du tri (header) */

.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
   background-color: #e6e6e6;
}

/* Espace entre colonne */

.tabulator-row .tabulator-cell {
    border-right: 0px solid;
    border-left: 0px solid; 
    height: 28px ;
    line-height:21px;
}

/* Position des logos */

.tabulator-row .tabulator-cell.logoclub {
    border-right: 0px solid;
    border-left: 0px solid;
    height: 28px;
    line-height: 28px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.tabulator-tableholder {
    max-height: 591px !important;
}

.tabulator .tabulator-tableholder .tabulator-table{
    border-top: 1px solid rgb(189, 189, 189);
}

/* Color the table rows */

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row {
    color:#000;
    background-color: #fff;
    margin-left: 0px;
    border-bottom: 1px solid rgb(189,189,189); /*trait entre les lignes du tableau*/
    height: 28px !important ;
}

/* Color even rows */

.tabulator-row.tabulator-row-even {
  background-color: #fff;
}

/* Nécessaire pour faire afficher une progress-bar en responsive */

.tabulator-row .tabulator-responsive-collapse table tr td {
    display: inline-block;
    height: 30px;
    min-width: 100px;
}

/* Passe souris sur ligne selectionnable */

.tabulator .tabulator-row.tabulator-selectable:hover .tabulator-cell {
    background-color: #bbb;
    cursor: default;
}

/* Flèches de tri dans une autre disposition */

.tabulator .tabulator-header .tabulator-col.tri2 .tabulator-col-content .tabulator-col-sorter {
    right: 10px;
}

/* Mettre flèche tri à gauche, suivi du texte */

.tabulator .tabulator-header .tabulator-col.tri_left .tabulator-col-content .tabulator-col-title {
    margin-left: 20px;
    text-align: left;
}

.tabulator .tabulator-header .tabulator-col.tri_left .tabulator-col-content .tabulator-col-sorter {
    left: 0px; 
}

.nb_barre{
    font-size: 13px;
    position:absolute;
    bottom:2px;
    left:25px;
}

.zero{
    position:absolute;
    right:75%;
}

/* Flèches */

.foo{
  display: inline-block;
  vertical-align: middle;

}
.rectangle {
  height: 6px;
  width: 20px;
  background-color: rgba(213,8,3,1);
  margin:-5px;
  margin-left:0px;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 10px solid rgba(213,8,3,1);
    border-bottom: 5px solid transparent;
    padding-right: 10px;
}

/* Sucettes */

.trait {
    height: 2px;
    margin:-5px;
    margin-left:10px;
    display:inline-block;
  }

.rond-right {
    width: 10px;
    height: 10px !important;
    border-radius: 5px;
    display:inline-block;
    /*background: rgba(218,145,0,1);*/
}

.poste{
    font-size:10px;

}

/* Barre de progression avec bouton */

.prog{
    display:inline-block;
}

/* Barre de progression */

#progressBar{
    width:200px;
    height:15px;
    border: 1px solid #008000;

}
/* Barre de progression selon le navigateur */

#progressBar::-moz-progress-bar{
    background-color:green;

}

#progressBar::-webkit-progress-bar {
background-color:#16212C;
}

#progressBar::-webkit-progress-value {
  background-color: green;
}

/* Bouton barre de progression */

.btnprog{
    width:27px;
}

/* Barre de progression */
.progressBarMin{
    width:40px;
    height:10px;
    border: 0px solid #008000;
    font-size: 13px;
    position: absolute;
    bottom: 8px;
    left: 40px;
}

/*apparence fond barre de progression dans tableau pour chrome rgba(22,33,44,1)*/
.progressBarMin::-webkit-progress-bar {
  background-color:var(--main-color-opacity);
/*background-color:rgba(17,159,17,0.3);*/
}
/*apparence barre de progression dans tableau pour chrome*/
.progressBarMin::-webkit-progress-value {
  background-color:var(--main-color)
  /*background-color:rgba(17,159,17,1);*/
}
/*apparence barre de progression dans tableau pour mozilla*/
.progressBarMin::-moz-progress-bar{
    background-color:var(--main-color)
/*background-color:rgba(17,159,17,1);*/

}

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
          appearance: none;
          border: none;
}

#progressBarMin::-ms-fill {
        background-color:var(--main-color)
/*background-color:rgba(17,159,17,1);*/
}


/*apparence du texte de la barre de progression*/
.titreProgress{
    font-size: 0.825em;
    font-weight: 600;
    margin: 0 0.5rem 0 0;
    display: block;

}

/*******************/

/*en tete de colonne sur deux lignes*/
/*.tabulator .tabulator-header .tabulator-col.barreTab2 .tabulator-col-content,
.tabulator .tabulator-header .tabulator-col.barreTab1 .tabulator-col-content,
.tabulator .tabulator-header .tabulator-col.col2Tab1 .tabulator-col-content{ 
top : 0px;

}*/

/*Quand derniere colonne est triable*/
.tabulator .tabulator-header .tabulator-col.tabulator-sortable.last_sortable .tabulator-col-content .tabulator-col-title{
    display: inline-block;
    width: 125px;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable.last_sortable .tabulator-col-content .tabulator-arrow {
    right:auto;
 }

.tabulator .tabulator-header .tabulator-col.tabulator-sortable.last_sortable{
   width:140px !important;
   min-width: 120px !important;
}


.tabulator-row .tabulator-cell.evol_neg div[data-max]{
    /*height:46.45% !important;*/
    position:absolute !important;
    right:-3px !important;
/*    right:0px !important;*/
}

/*Permet à div contenant barre d'etre inferieure à 30px*/
div.evol_neg_width_min{
        min-width: 10px !important;
}

.tabulator-row .tabulator-cell.evol_pos div[data-max]{
/*    height:46.45% !important;*/
    position:absolute !important;
    left:-2px !important;
}

.tabulator-row .tabulator-cell.barre_unique{
    padding: 2px;
}



/*Verifier si marche encore sinon rajoute  avant .tabulator-arrow*/
/*fleche pour trier colonne sans titre*/
.tabulator .tabulator-header .tabulator-col.notitle .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
  display: inline-block;
  position: absolute;
  top: 9px;
  left: 6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #bbb;
}

/*fleche pour trier colonne (redefini position quand titre colonne sur deux lignes)*/
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
    bottom: 7px;
    align-items: end;
}

/*fleche decale à droite*/
.tabulator .tabulator-header .tabulator-col.fleche_right .tabulator-col-content .tabulator-col-sorter {
    right: -2px;
}

/*fleche decale à droite (min-width si formatter barre)*/
.tabulator-row .tabulator-cell.fleche_right{
    min-width: 25px !important;
}