/*!
* Template WP et MR @author: IAD Territoire Digital
* Dernière mise à jour : 31/07/2021
*/

/*
Fonts
*/

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

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

/* Temporaire */
/**********/
#nb_etoile{
    font-size: 20px;
    top: 5px;
    position: relative;
}
/*construction carré*/
.carre{
    height: 10px;
    width: 10px;
    position: relative;
    display:inline-block;
}
.div_barre_perc_perso{
    display: flex;
    top: 4px;
    position: relative;
}
.foo{
  display: inline-block;
  vertical-align: middle;

}
.rectangle_val {
    height: 12px;
    width: 20px;
    /*left:40px;*/
}

/* Règles */
/**********/

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

/* Couleurs /*
/************/
:root {
  --main-color:rgba(0,128,0,1);
  --main-color-opacity:rgba(0,128,0,0.33);
  --main-color-detail:rgba(0,128,0,0.66);
  --main-color-opacity-no: rgba(0,0,0,0.0);
}
/*
OrangeRed SteelBlue YellowGreen ForestGreen DimGrey DarkBlue
*/

.bg-color-contr {background: var(--main-color)}
.color-contr {color: var(--main-color)}

/*
#performance(rouge):Crimson/#DC143C/rgba(220,20,60,1)
#demography(bleu):MediumBlue/#0000CD/rgb(0,0,205)/rgba(0,0,205,1)
#highlights(orange):DarkGoldenrod/#B8860B/rgba(184,134,11,1)
#values(vert):Green/#008000/rgba(0,128,0,1)
*/

/* Texte */
/*********/
body{
    font-size: 16px;
}

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

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

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

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

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

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

.unique_barre{
    font-size: 16px;
    position: absolute;
    top: 3px;
    color: rgba(202,202,202,1);
    left: 2px;
}

.transparent {
    color: white; 
}

/* 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-4 {
  flex: 0 0 auto;
  width: 33.3333333333%;
}*/

.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);
}

/* Grilles et structures */
/*************************/

.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; 
}

/* Header */
/**********/

#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: bottom; /*top,center,bottom*/
    flex: 0 0 auto; /*diminue hauteur et largeur image*/
    /*height: 60vw;*/
    max-height: 600px;
    min-height: 193px;
    min-width: 320px;
    color: #FFF;
}

/* Bannière supérieure */
/***********************/

.bansup {
	background-color: rgba(255,255,255,1.0);
    flex: 0 0 auto; /*diminue la hauteur et la largeur du bandeau*/
    /*height: 13vw;*/
    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;
}


/* Catégorie du WP (ex:Performance) */
/************************************/

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

/* Titre du WP */
/***************/

.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;
    /*color:white;*/
}

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


/* Main */
/********/

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

/* Réseaux sociaux */
/*******************/

.container-logo{
    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 { /* bouton twitter */
    display: inline-block;
    font-size: 1.825em;
    border: 0;
    line-height: 0.8em;
    padding: 0 0 0 5px;
}

a.share-button.twitter i {
    color: #1b95e0;
    display: inline-block;
    font-family: 'social-icons';
    font-style: normal;
}

/* Coordonnée 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 { /* chapeau */
    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; /*12px*/
}


/* Tableau */
/***********/

/* bloc tableau en dessous du titre */

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

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

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

.spleft{
     margin-left: .5rem;
}

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

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

/* logo league*/
.logo_league{
    /*position: absolute;*/
    top:19%;
    height: 16px;
}

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

/* txt apres 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;
}

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

/* 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;
}

/* barre dans cellule */

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

div.barre_perso2{
    height: 12px;
    background-color: #D3D3D3;
    display: inline-block;
    position: absolute;
    left: 60px;
    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; 
}

/* ronds */

div.rond_perso1{
    width: 14px;
    height: 14px;
    display: inline-block;
    position: absolute;
    left: 38px;
    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)
}

/* Image au niveau du tableau */
/**********/

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

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

}

/* Footer */
/**********/

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;
}

.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;
}

/* Responsive class */
/********************/

/* Default */

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

}

/* Medium screens */

@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 */
    }
	
	.container-logo-footer { /* container avec logo reseaux sociaux jusqu'a largeur de 767px */
		display:none;
	}
    
}

/* Small screens */

@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;
	}
	
	.container-logo-footer-big{ /* container sans logo reseaux sociaux à partir d'une largeur de 768px */
		display: none;
	}
	
	/* header */
	
}

@media (min-width: 768px) {

}

/* XS screens */

@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;
		/*width: 90px;*/
		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;
	}
    
}

/* Tiny screens */

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

}