@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;900&family=Source+Sans+3:wght@400;600;900&display=swap");

* {
	padding: 0;
	margin: 0;
	font-family: "Source Sans 3";
}

a {
	color: var(--tdp-primary, #0c3823)
}
a:hover {
	filter: brightness(85%);
}
body {
	background-image: url("../img/bg.jpg");
	background-repeat: no-repeat;
	background-size: 1920px 1080px;
	background-attachment: fixed;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: multiply;
	margin: 0;
	padding: 0;
	display: block;
}

.header__homepage {
	height: 80vh;
	width: 100%;
	position: relative;
}

.header__homepage > nav {
	display: flex;
	height: 120px;
	position: relative;
	top: 20px;
}

.header__homepage > nav > ul {
	width: calc(50% - 84px);
	display: flex;
	margin: 0;
	padding: 0;
}

.header__homepage > nav > ul li a {
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	color: #e2e2e2;
	transition: 0.2s;
	padding: 0 5px;
}

.header__homepage > nav > ul li {
	position: relative;
}

.header__homepage > nav > ul li a::after {
	display: block;
	content: " ";
	width: 0;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: calc(50% + 15px);
	transition: 0.2s;
}

.header__homepage > nav > ul a:hover {
	color: #fff;
}

.header__homepage > nav > ul a:hover:after {
	width: 100%;
}

.header__homepage > nav > ul a.active:after {
	width: 100%;
}

.header__homepage > nav > ul li {
	list-style: none;
	margin: 0 5%;
	line-height: 120px;
	padding: 0;
}

.header__homepage > nav > ul:first-child {
	justify-content: flex-end;
}

/*
MAIN NAVIGATION MENU
*/

#navMenuHomePage.hide {
	display: none;
}

#navMenu.hide {
	display: none;
}

nav.navigation-menu {
	display: flex;
	height: 70px;
	position: fixed;
	width: 100%;
	background-color: #000;
	z-index: 1000;
	box-shadow: 10px 0 10px 0 #000;
}

nav.navigation-menu > img {
	height: 90px;
	margin: 10px 20px;
}

nav.navigation-menu > ul {
	width: 100%;
	margin: 0;
	padding: 0;
}

nav.navigation-menu > ul li {
	display: inline-block;
	list-style: none;
	margin: 0 10px;
	padding: 0;
	position: relative;
	line-height: 70px;
}

nav.navigation-menu > ul li a {
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	color: #e2e2e2;
	transition: 0.2s;
	padding: 0 5px;
}

nav.navigation-menu > ul li a::after {
	display: block;
	content: " ";
	width: 0;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: calc(50% + 15px);
	transition: 0.2s;
}

nav.navigation-menu > ul a:hover {
	color: #fff;
}

nav.navigation-menu > ul a:hover:after {
	width: 100%;
}

nav.navigation-menu > ul a.active:after {
	width: 100%;
}
nav.navigation-menu.open {
	height: auto;
}

.header__title {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.5);
	font-weight: 900;
}
.header__title > h2,
h1 {
	margin: 0;
	padding: 0;
}

.header__title > h1 {
	font-size: 5vw;
}

.header__title > h2 {
	font-weight: 500;
	font-size: 2vw;
}

.header__bottom {
	text-align: center;
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-style: italic;
	font-weight: 400;
}

.header__bottom > p {
	margin: 10px 0;
	padding: 0;
}

.header__bottom > i {
	font-size: 20px;
}

/*
    BUTTON 
*/

.button {
	font-weight: 400;
	font-size: 25px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background-color: var(--tdp-primary, #0c3823);
	padding: 10px 50px;
	border-radius: 5px;
	transition: 0.2s;
	cursor: pointer;
	border: 2px solid  color-mix(in srgb,var(--tdp-primary, #0c3823) 90%, black);
}

.button:hover {
	/* Fallback for older browsers */
	background-color: #032012;
	/* Darken primary color without using secondary */
	background-color: color-mix(in srgb, var(--tdp-primary, #0c3823) 85%, black);
}

.button-home {
	display: inline-block;
	margin-top: 30px;
}

.button-home:hover{
	color:#FFF;
}

.button-small {
	font-size: 16px;
	text-transform: none;
}

.button-xsmall{
	font-size: 10px;
	padding: 5px 25px;
}

/***********************
ALERT
***********************/

.alert {
	padding: 15px 20px;
	border: 1px solid #000;
	display: inline-block;
	border-radius: 5px;
	margin: 10px 0;
}

.alert > i {
	margin-right: 10px;
}

.alert-info {
	color: #3b7492;
	background-color: #d9edf6;
	border-color: #bedff1;
}

.alert-danger {
	color: #690304;
	background-color: #FFE5E9;
	border-color: #D7B6B9;
}

.alert-success {
	color: #008027;
	background-color: #E7FFEC;
	border-color: #C4F1D3;
}

/*

SECTION

*/

.page-header {
	background-color: transparent;
	padding: 150px;
	padding-bottom: 80px;
}

.page-header h1 {
	color: #fff;
	text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.5);
	font-family: "Source Sans 3"!important;
}

.section {
	background-color: #fff;
	width: 100%;
	padding: 20px 150px;
	box-sizing: border-box;
}

.section-no-bg {
	background-color: transparent;
}

.section > h1 {
	font-weight: 600;
	margin: 20px 0;
}

.section__resumeTournoi > i {
	transform: translate(-50px, 50px);
	font-size: 30px;
	color: #cecece;
}

.section__resumeTournoi > p {
	padding-top: 20px;
	font-size: 20px;
	color: #707070;
}

.section__stats ul {
	width: 100%;
	display: inline-flex;
	justify-content: center;
	flex-wrap: wrap;
}

.section__stats ul li {
	margin: 20px;
	list-style: none;

	background: #fff;
	box-shadow: 0px 4px 4px 0px rgba(39, 39, 39, 0.25) inset;
	height: 100px;
	display: flex;
	padding: 20px 0;
	border-radius: 5px;
}

.section__stats .section__stats_icon {
	font-size: 50px;
	border-right: 1px solid #c1c1c1;
	width: 100px;
	text-align: center;
	line-height: 100px;
}

.section__stats .section__stats_icon > i {
	position: relative;
	top: 5px;
}

.section__stats .section__stats_number {
	text-align: center;
	padding: 0 30px;
}

.section__stats .section__stats_number > p:first-child {
	font-size: 45px;
	font-weight: 900;
	color: #000;
}

.section__stats .section__stats_number > p:last-child {
	color: #8d8d8d;
}

/* When a card uses the primary background, enforce white text for its paragraphs */
.section__stats ul li.primary p {
	color: #fff !important;
}

.section__nextMatch {
	text-align: center;
}
.section__nextMatch > h1 {
	text-align: left;
}

.match__items {
	list-style: none;

	border: 1px solid #818181;
	border-radius: 5px;
	background: #fff;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.07);

	display: flex;
	padding: 20px;
	margin-bottom: 20px;
}

.match__info {
	width: 25%;
	text-align: left;
}

.match__teams {
	width: 75%;
	display: flex;
	align-items: center;
}

.match__title {
	font-weight: 400;
}
.match__date {
	color: #818181;
}
.match__location {
	color: #818181;
}
.match__teams_home,
.match__teams_visitor {
	display: flex;
	width: 45%;
	justify-content: center;
	align-items: center;
}

.match__versus {
	font-size: 30px;
	font-weight: 900;
	font-style: italic;
	width: 10%;
	text-align: center;
}

.match__teams_home > p,
.match__teams_visitor > p {
	font-size: 25px;
	font-weight: 900;
}

.logo_team_match_details,
.no_logo,
.match__teams img {
	font-size: 23px;
	font-weight: 600;
	border-radius: 100%;
	width: 60px;
	height: 60px;
	margin-right: 20px;
	color: #fff;
	background-color: gray;
	text-align: center;
	line-height: 60px;
}
.logo_team_match_details{
	width: 100px;
    height: 100px;
    border: 5px solid #ccc;
    box-shadow: 3px 3px 0 #696969,
                5px 5px 5px rgba(0, 0, 0, 0.2); 
    border-radius: 50%;
}

.no_logo_horaire {
	font-size: 17px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-right: 0px;
}
.match__teams img {
	background-color: transparent;
	width: 60px;
	height: 60px;
}

footer {
	background-color: #0c0c0c;
	color: #fff;
}

.footer__commanditaires {
	padding: 15px 150px;
	text-align: center;
}

.footer__commanditaires > h1 {
	margin: 30px 0;
}

.commanditaire__images {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}
.commanditaire__images img {
	margin: 20px;
}

.commanditaires_OR img {
	max-width: 300px;
	max-height: 169px;
}
.commanditaires_ARGENT > h1 {
	font-size: 25px;
}
.commanditaires_ARGENT img {
	max-width: 200px;
	max-height: 112px;
}

.commanditaires_AUTRES > h1 {
	font-size: 20px;
}
.commanditaires_AUTRES img {
	max-width: 125px;
	max-height: 70px;
}

.footer__contactInfo {
	padding: 15px 150px;
}

.footer__contactInfo li {
	list-style: none;
	margin-bottom: 20px;
}

.footer__contactInfo li:hover i {
	margin-right: 25px;
}

.footer__contactInfo li i {
	margin-right: 15px;
	transition: 0.2s;
}

.footer__contactInfo li a {
	color: #fff;
	text-decoration: none;
	font-size: 25px;
}

.footer__credit {
	background-color: #1a1a1a;
	color: #5c5c5c;
	font-size: 17px;
	font-style: italic;
	padding: 15px 150px;
}

/***********************
Filter top page
************************/

.filter-top-page {
	margin-bottom: 20px;
	background-color: #e9e9e9;
	padding: 20px;
	border-radius: 5px;
	border: 1px solid #d6d6d6;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 17px;
}

.filter-top-page>form{
	margin: 0;padding: 0;
}

.filter-top-page > label {
	font-weight: 600;
	color: #1b1b1b;
}

.filter-top-page > select, .filter-top-page>form>select {
	padding: 10px;
	min-width: 200px;
	border-radius: 5px;
	border: 1px solid #fff;
	background-color: #fff;
	outline: none;
	cursor: pointer;
	transition: 0.2s;
}

.filter-top-page > select > option, .filter-top-page>form>select>option {
	padding: 10px;
}

.filter-top-page > select:hover, .filter-top-page > form > select:hover {
	border-color: #d1d1d1;
}

.section__horaire h2 {
	margin: 20px 0;
}

.tbl-container {
	overflow-x: auto;
	margin-bottom: 30px;
	position:relative;
}

/***********************
Table horaire
************************/

table {
	border-collapse: collapse;
	width: 100%;
	border-radius: 5px !important;
	box-sizing: border-box;
	border: 1px solid #d8d8d8;
	overflow-x: auto;
}

table td,
table th {
	padding: 8px;
}

table tr:nth-child(even) {
	background-color: #f2f2f2;
}

table th {
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: left;
	background-color: #0e0e0e;
	color: white;
	font-weight: normal;
	font-size: 14px;
}

.horaire__header__teams {
	text-align: center;
}
.tbl-horaire__teams {
	display: flex;
	align-items: center;
	justify-content: center;
}
.tbl-horaire__teams img {
	width: 30px;
	height: 30px;
	border-radius: 100%;
}
.tbl-horaire__teams p {
	margin: 0 25px;
	font-weight: 900;
	width: 150px;
	text-align: center;
}

.tbl-horaire__teams p > span {
	display: block;
	font-weight: 400;
}
.tbl-horaire__teams p:nth-child(0) {
	margin-left: 0;
}

.tbl-horaire__teams p:nth-child(3) {
	margin: 10px;
	font-weight: 400;
	font-size: 12px;
	color: #0c0c0c;
	width: 30px;
	text-align: center;
}

.buttonSummary{
	position:relative;
}
.buttonSummary>a{
	position:absolute;
	top:0;
	left:0;
	text-align:center;
	width:100%;
	height:100%;
	line-height:60px;
	color:#111111;
	text-decoration:none;
	transition:0.2s;
	font-weight: bold;
}
.buttonSummary>a>i{
	margin-right:5px;
	
}
.buttonSummary>a:hover{
	background-color: rgba(201, 201, 201, 0.6);
}


.tbl-sort>thead>tr>th:hover{
	background-color: #292929;
	cursor:pointer;
}

.tbl-sort>thead>tr>th.disable-sort:hover{
	background-color: #0c0c0c;
	cursor:default;
}

.loader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	justify-content: center;
	align-items: center;
	display: none;
}

.loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid var(--tdp-primary, #0c3823);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/***********************
Pagination
************************/

.pagination__container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin: 20px 0; 
}

.pagination__button {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px; 
    margin: 0 5px;
    border: 1px solid #ccc; 
    border-radius: 5px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s ease; 
}

.pagination__button:hover {
    background-color: #e0e0e0; 
}

.pagination__button.active {
	background-color: var(--tdp-primary, #0c3823); 
    color: white; 
	border-color: var(--tdp-primary, #0c3823); 
	pointer-events:none;
}

/* If pointer-events is removed elsewhere, keep a nice hover that darkens the primary */
.pagination__button.active:hover {
	/* Fallback */
	background-color: #032012;
	border-color: #032012;
	/* Modern: darken primary */
	background-color: color-mix(in srgb, var(--tdp-primary, #0c3823) 85%, black);
	border-color: color-mix(in srgb, var(--tdp-primary, #0c3823) 85%, black);
}



/***********************
Règlements
************************/

.table-matiere {
	background-color: #f0f0f0;
	border: 1px solid #d1d1d1;
	border-radius: 10px;
	padding: 20px;
}
.table-matiere > li {
	list-style: none;
	line-height: 25px;
}

.table-matiere > li > a {
	text-decoration: none;
	color: #000;
}

.table-matiere > li > a:hover {
	font-weight: 700;
}

.section__reglements > h1 {
	margin: 30px 0;
}

.section__reglements > h2 {
	margin: 15px;
	font-weight: 600;
}

.section__reglements > ul {
	padding-left: 50px;
}

.section__reglements > ul li {
	padding-left: 10px;
	line-height: 25px;
	font-size: 17px;
}

.section__reglements > p {
	margin: 20px 0;
	text-align: justify;
	text-justify: inter-word;
}

.section__inscriptions__categories {
	margin: 20px 0;
	border: 2px solid #000;
	display: inline-block;
}

.section__inscriptions__categories > li {
	list-style: none;
	display: flex;
	line-height: 40px;
}

.section__inscriptions__categories > li > p {
	padding: 15px 20px;
	width: 125px;
	text-align: center;
	border-bottom: 1px solid #3b3b3b;
}

.section__inscriptions__categories > li > p:first-child {
	background-color: #131313;
	color: #fff;
}

.section__inscriptions > ol {
	margin-left: 40px;
}

.section__inscriptions > ol > li {
	line-height: 35px;
}

.section__inscriptions > ol > li > form {
	margin: 10px 0;
}




/*  IMAGES  */
.container__images{
    display:grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap:16px;
}

.container__images img{
    display:block;
    width:100%;
    transition:0.2s;
}


.container__images img:hover{
    display:block;
    width:100%;
    transform:scale(1.05);
    filter: brightness(70%);
}



/* FORM-DEFAULT  */


.form-default{
    position:relative;
    padding-bottom:40px;
}
::placeholder{
    color: #c1c1c1;
}

.form-default .fields>input,textarea{
    width:100%;
    display: block;
    padding:15px;
    margin-bottom:10px;
    box-sizing:border-box;
    outline:none;
    border:none;
    border-bottom:2px solid #cfcfcf;
    background-color: #f8f8f8;
    transition:0.2s;
    resize:none;
	font-size:17px;
}
.form-default .fields-semi{
    width:calc(50% - 10px);
    display:inline-block;
}
.form-default .fields>hr{
    margin:0;
    padding:0;
    height:2px;
	background-color: var(--tdp-primary, #0c3823);
    border:none;
    transform:translateY(-13px);
    width:0;
    transition:0.4s;
}
.form-default .fields>input:focus ~ hr,.fields>textarea:focus ~ hr{
     width:100%;
 }
.form-default .fields>input:focus,.fields>textarea:focus{
    padding-left:20px;
}
.form-default .fields>select{
    font-family:"Ubuntu";
    outline:none;
    border: 1px solid #cccccc;
    padding:10px 15px;

}

.form-default .fields>select *{
    background-color: #e9e9e9;

}

.button-form{
    position:absolute;right:0;
}



/* CONTACT */
.contact_media{
	text-align:center;
	margin:50px auto;
}

.contact_media > h1{
	margin-bottom:30px;
}

.contact_media a{
	border-radius:100px;
	padding:15px 30px;
	font-size:25px;
	text-decoration:none;
	font-weight:900;
	font-style:italic;
	transition:0.2s;
	text-wrap: nowrap;
	margin:10px;
}

.contact_media a > i{
	margin-right:30px;
}

.contact_media__facebook{
	border:2px solid #316FF6;
	color:#316FF6;
}

.contact_media__facebook:hover{
	background-color: #316FF6;
	color:#FFF;
}


.contact_media__instagram {
	border: 2px solid #E1306C;
	color: #E1306C;
}

.contact_media__instagram:hover {
	background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
	color: #FFF;
}