/*CONVOCATION MATCH*/
#convocMatch {
	color:#353376;
	background:#ffffff;
	border-radius:15px;
	box-shadow:3px 3px 10px rgba(0,0,0,0.15)!important;
	padding-bottom:15px;
}

#convocMatch .wdtsa-flex-grid {
	display:grid;
	grid-template-columns: repeat(4, 1fr);
}

#convocMatch .wdtsa-flex-header{
	grid-column: 1 / -1;
	background:#353376;
	color:#fff;
	border-radius:15px 15px 0 0;
	font-size:1.3em;
	line-height:1em;
	font-weight:800;
	text-transform:uppercase;
	text-align:center;
	padding:10px 20px;
}
#convocMatch .wdtsa-flex-header .wdtsa-col:nth-child(2):before {
	content:"Convocation match ";
	font-weight:500;
	color:#fff;
}

#convocMatch .wdtsa-card  {
	border-radius:15px 15px 0 0;
	font-size:1.3em; 
	font-weight:800;
	border-right:2px solid #fff;
	border-left:2px solid #fff;
}


#convocMatch .wdtsa-card .wdtsa-col {
	padding:10px 15px 10px 15px;
	font-weight:600;
	text-align:left;
	font-size:0.6em;
	Line-height:1em;
	color:#353376;
}
#convocMatch .wdtsa-card .wdtsa-col:first-child {
	display:grid;
	grid-column: span 1;
}
#convocMatch .wdtsa-card:nth-child(n+1):nth-child(-n+13) .wdtsa-col:first-child {
	display:flex;
	text-align:left;

}
#convocMatch .wdtsa-card:nth-child(n+1):nth-child(-n+13)  .wdtsa-col:first-child:before {
	font-family:fontawesome;
	font-size:1.1em;
	width:15px;
	display:block!important;
	float:left!important;
	margin-right:10px;
}
#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:first-child,
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:first-child,
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:first-child,
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:first-child{
	font-weight:800;
	text-transform:uppercase;
	color:#fff;
	background:#aaa;
	margin:5px;
	border-radius:5px;
	font-size:0.6em!important;

}
#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:last-child{
	background:#353376;
	color:#fff;
	margin:5px;
	border-radius:5px;
	text-align:left;
	height:40%;
}
#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:last-child:before,
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:last-child:before,
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:last-child:before,
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:last-child:before {
	/*content:"!";
	background:#fece01;
	color:#353376;
	padding:2px 10px;
	margin-right:10px;
	border-radius:50px;*/
}

#convocMatch .wdtsa-card:nth-child(8) .wdtsa-col span {
	background:#ccc;
	color:#fff;
	font-size:1.2em;
	padding:5px 10px;
	display:block;
	width:100%;
	text-align:center;
	border-radius:15px;
}
#convocMatch .wdtsa-card .wdtsa-col.is-rouge span {
	background:#ee4c18!important;
	padding: 5px 10px;
	display: block;
	color: #fff;
	border-radius: 15px;
	text-align: center;
}

#convocMatch .wdtsa-card .wdtsa-col.is-marine span  {
	background:#476eac!important;
	padding: 5px 10px;
	display: block;
	color: #fff;
	border-radius: 15px;
	text-align: center;
}

#convocMatch .wdtsa-card .wdtsa-col.is-rose span  {
	background:#ea5297!important;
	padding: 5px 10px;
	display: block;
	color: #fff;
	border-radius: 15px;
	text-align: center;
}



#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:first-child:before {
	content:"\f133";
}
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:first-child:before {
	  content: "\e533";
	/*content:"\f78c";*/
}
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:first-child:before {
	content:"\f78c";
	/*content:"\f017";*/
}
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:first-child:before {
	content:"\f017";
	/*content:"\f553";*/
}
#convocMatch .wdtsa-card:nth-child(6) .wdtsa-col:first-child:before {
	content:"\e533";
	content:"\f3c5";
}
#convocMatch .wdtsa-card:nth-child(7) .wdtsa-col:first-child:before {
  content:"\f3c5";
	content:"\f017";
}
#convocMatch .wdtsa-card:nth-child(8) .wdtsa-col:first-child:before {
  content:"\f1b2";
}


#convocMatch .wdtsa-card:nth-child(9) .wdtsa-col:first-child:before {
		content:"\f553";
}
#convocMatch .wdtsa-card:nth-child(10) .wdtsa-col:first-child:before {
	
	content:"\f55e";
}
#convocMatch .wdtsa-card:nth-child(11) .wdtsa-col:first-child:before {
	
	content:"\f007";
}
#convocMatch .wdtsa-card:nth-child(12) .wdtsa-col:first-child:before {

	content:"\f3cd";
}
#convocMatch .wdtsa-card:nth-child(13) .wdtsa-col:first-child:before {
	content:"\f508";
}
#convocMatch .wdtsa-card:nth-child(14) {
display:none;
}
#convocMatch .wdtsa-card:nth-child(14) .wdtsa-col:first-child:before {
display:none;
}
#convocMatch .wdtsa-card:nth-child(15) .wdtsa-col:first-child:before {
	content:"\f508";
}


#convocMatch .wdtsa-card:nth-child(12), #convocMatch .wdtsa-card:nth-child(13) {
}
#convocMatch .wdtsa-card .wdtsa-col:nth-child(2) {
	text-transform:uppercase;
}
#convocMatch .wdtsa-card:nth-child(13) {
	margin-bottom:5px;
}

#convocMatch .wdtsa-card:nth-child(15) {
		grid-column: 1 / -1;
	margin-bottom:10px;
}
#convocMatch .wdtsa-card:nth-child(15) .wdtsa-col {
	display:block;
	float:left;
	width:50%;
	background:#fece01!important;
	color:#353376;
	font-size:0.7em!important;
	font-weight:600!important;
	text-transform:uppercase;
	text-align:left;
	padding-left:4px;
}
#convocMatch .wdtsa-card:nth-child(15) .wdtsa-col:first-child {
	float:left;
	text-align:right;
	padding-right:4px;
}
#convocMatch .wdtsa-card:nth-child(15) .wdtsa-col:first-child:before {
	font-family:fontawesome;
	content:"\f70c";
	font-size:1em;
	padding-right:5px;
}

#convocMatch .wdtsa-card:nth-child(n+16):nth-child(-n+33) {
	display:grid;
	grid-template-columns: 1fr 6fr;
	align-items:center;
	text-align:center;
}

#convocMatch .wdtsa-card:nth-child(n+16):nth-child(-n+33) .wdtsa-col:first-child {
	align-items:center;
	text-align:center;
	padding:6px 0px;
	margin-left:10px;
	font-size:0.75em;
	font-weight:800;
	border-radius:5px;
	background:#353376;
	color:#fff;
	width:30px;
}

convocMatch .wdtsa-card:last-child .wdtsa-col {
	border-radius:0 0 15px 15px!important;
}

#convocMatch .wdtsa-card .wdtsa-col {

}
#convocMatch .wdtsa-card .wdtsa-col:first-child {
	background:#f1f1f1;
	Font-size:0.7em;
	font-weight:400;
	text-align:center;
	border-right:1
}

/*Tablette*/
@media (max-width: 768px) {

#convocMatch .wdtsa-card .wdtsa-col:first-child {
	Font-size:0.6em;
}
#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:last-child{
	height:60%;
}
	
#convocMatch .wdtsa-card:nth-child(n+16):nth-child(-n+33) .wdtsa-col:first-child {
	padding:6px 8px;
	width:30px;
}

}

/*Mobile*/
@media (max-width: 480px) {

#convocMatch .wdtsa-flex-grid {
  grid-template-columns:1fr;
}
	
#convocMatch .wdtsa-card:nth-child(2) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(3) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(4) .wdtsa-col:last-child,
#convocMatch .wdtsa-card:nth-child(5) .wdtsa-col:last-child{
	height:auto;
}
	
#convocMatch .wdtsa-card:nth-child(15) .wdtsa-col{
	font-size:0.6em !important;
}
	
}


/*GOOGLE SHEET Agenda weekend*/

#agendaWeek .wdtsa-flex-grid {
display :grid;
	grid-template-columns: auto auto;
	gap:15px 30px;
	color:#353376;
	line-height:0.9em;
}
#agendaWeek .wdtsa-flex-header {
	display: none;
}
#agendaWeek .wdtsa-row {
  display: grid;
  grid-template-columns: repeat(30, 1fr); /* grille 12 colonnes = pratique pour 40/20/40 */
  gap:0;
	margin-bottom:10px;
	padding-bottom:5px;
	border-radius:15px;
	box-shadow:2px 2px 8px rgba(0,0,0,0.1);

}
#agendaWeek .wdtsa-row .wdtsa-col {
	display:flex;
	align-items:center;
	justify-content:center;
	padding:0;
	margin:0;
	line-height:1.1em;
}

/* Div 1 → 100% */
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(1) {
  grid-column: 1 / -1;
	font-family:'Kallisto', sans-serif;
  text-align: center;
	font-size:1.1em;
	font-weight:700;
	padding:8px 15px;
	margin:0;
	color:#353376;
	background:#efefef;
	border-radius:15px 15px 0 0;
}

/* Div 2 à 4 */
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(2) {
	grid-column: span 9;
	text-align: center;
	border-radius:15px 0 0 15px;
	margin-left:10px!important;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(3) {
	grid-column: span 5;
	text-align: center;
	border-left:1px solid #bbb;
	border-right:1px solid #bbb;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(4) {
	grid-column: span 16;
	text-align: center;
	border-radius: 0 15px 15px 0;
	margin-right:10px!important;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(n+2):nth-child(-n+4){
	font-size:0.7em;
	font-weight:600;
	background:#efefef;
	margin:10px 0;
	padding:5px 0;
}

/* Div 5 à 10 */
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(5) {
	grid-column: span 10;
	text-align: right;
	margin-left:10px!important;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(6) {
	grid-column: span 3;
	text-align: center;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(7), #agendaWeek .wdtsa-row .wdtsa-col:nth-child(8) {
	font-size:1.1em!important;
	grid-column: span 2;
	text-align: center;
	border-radius:5px;
	margin:4px 2px;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(9) {
	grid-column: span 3;
	text-align: center;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(10) {
	grid-column: span 10;
	text-align: left;
	margin-right:10px!important;
}
#agendaWeek .wdtsa-row .wdtsa-col:nth-child(n+5):nth-child(-n+10){
	font-size:0.7em;
	font-weight:800;
	padding:4px; 
}
#agendaWeek .wdtsa-row .wdtsa-col .wdtsa-img {
	width:35px;
	padding:0 1px;
	height:auto!important;
	margin-bottom:0;
}

/*Couleur des scores*/
#agendaWeek .wdtsa-col.noScore {
	background: #eee;
}
#agendaWeek .wdtsa-col.noScore:after {
	content:"-";
	font-weight:400; 
}
#agendaWeek .wdtsa-col.is-vert  {
	background: #159a34;
	color: #ffffff;
}
#agendaWeek .wdtsa-col.is-rouge {
	background: #ee4c18;
	color: #ffffff;
}
#agendaWeek .wdtsa-col.draw {
	background: #476eac;
	color: #ffffff;
}


/* Responsive mobile */
@media (max-width: 768px) {
	
#agendaWeek .wdtsa-flex-grid {
	grid-template-columns: 1fr;
	}

}



