/****************************/
/* BODY */
/* DEBUT */

:root {
    --cc17-blue: #003d85;
    --cc17-blue-light: #0056b3;
    --cc17-orange: #de8e00;
    --text-main: #333333;
    --bg-light: #f8fafc;
}


body
{
	margin: 0px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	background-color: var(--bg-light);
}

/* Ancien bleu : 1A3968 */


/* FIN */
/* BODY */
/****************************/





/****************************/
/* BARRE HORIZONTALE */
/* DEBUT */

hr.barre_horizontale
{
    border: 2px solid var(--cc17-blue);
    margin: 0px 16% 0px 16%;
}

@media all and (max-width: 800px)
{
	hr.barre_horizontale
	{
		margin: 0px 10% 0px 10%;
	}
}

/* BARRE HORIZONTALE */
/* FIN */
/****************************/





/****************************/
/* MENU */
/* DEBUT */

#navbar {
	position: sticky;
	top: 0;
	width: 100%;
	height: 70px;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	color: var(--cc17-blue);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#navbar div {
	display: flex;
	text-align: center;
	font-size: 20px;
	padding: 0;
}

#navbar div.tab_logo {
	float: left;
}

#navbar div.tab_pictos {
	float: right;
}

#navbar div.tab_burger {
	display: none;
	float: right;
	font-size: 30px;
}

#navbar div.tab_pictos span.picto a {
	color: var(--cc17-blue);
	text-decoration: none;
}

#navbar div.tab_pictos span.picto a:hover {
	text-decoration: underline;
}

#navbar div.tab_logo span.logo img {
	height: 60px;
	width: auto;
	margin-left: 20px;
	display: block;
}

#navbar div.tab_pictos span.picto {
	padding: 8px 8px 8px 8px;
}

#navbar div.tab_pictos span.picto img{
	width: 20px;
}

#navbar div.tab_pictos span.cross {
	display: none;
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}


@media all and (max-width: 750px)
{

	#navbar {
		z-index: 2;
	}

	#navbar div.tab_pictos {
		display: grid;
		grid-template-columns: auto;
		max-height: 0; /* Use max-height for smooth transition */
		width: 100%;
		overflow: hidden; /* Hide content when collapsed */
		position: fixed;
		z-index: 1;
		top: 55px;
		left: 0;
		background-color: white;
		overflow-x: hidden;
		padding: 0px 0px 0px 0px;
		box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
	}

	#navbar div.tab_burger {
		display: flex;
		cursor: pointer;
	}

	#navbar div.tab_burger span.cross {
		display: none;
	}

	#navbar div.tab_pictos.open {
		max-height: 500px; /* Adjust based on content height */
		transition: max-height 0.5s ease-in-out; /* Smooth transition */
		padding: 10px 0px 10px 0px;
	}

	#navbar div.tab_pictos.close {
		height: 0%;
		transition: 0s;
	}
}

/* FIN */
/* MENU */
/****************************/





/****************************/
/* GRILLE PARTENAIRES */
/* DEBUT */

.partenaires h2
{
	text-align: center;
	margin: 50px 0px 50px 0px;
}

.grille_partenaires
{
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
}

.cellule_partenaires
{
	text-align: center;
	padding: 15px 0%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 80px;
}

.cellule_partenaires a img
{ 
	height: 50px;
	max-width: 80%;
	object-fit: contain;
	transition: transform .5s;
}
.cellule_partenaires a img:hover
{
	transform: scale(1.15);
}



@media all and (max-width: 1200px)
{
	.grille_partenaires
	{
		display: grid;
	}
}


@media all and (max-width: 900px)
{
	.grille_partenaires
	{
		display: grid;
	}
}

/* FIN */
/* GRILLE PARTENAIRES */
/****************************/





/****************************/
/* INFORMATIONS CC17 */
/* DEBUT */

.informations_cc17
{
	display: grid;
	grid-template-columns: 32% 30% 30%;
	grid-gap: 0px 4%;
	margin: 50px 0px 0px 0px;
	padding: 50px 16% 50px 16%;
	background-color: #00275A;
	color: white;
}

.cellule_informations_cc17
{
	margin: 0px 20px 0px 20px;
	padding: 0px 20px 0px 20px;
}
.contacts_informations_cc17
{
	margin: 0px 0px 30px 0px;
}

.contacts_informations_cc17 a
{
	color: white;
}


.cellule_image_informations_cc17
{
	display: table;
	padding: 0px 20px 0px 20px;
}

.image_informations_cc17
{
    display: table-cell;
    vertical-align: middle;
}

.image_informations_cc17 img
{
    width: 100%;
}


.description_informations_cc17
{
	font-size: 20px;
}


@media all and (max-width: 1200px)
{
	.informations_cc17
	{
		padding: 50px 10% 50px 10%;
		display: grid;
		grid-template-columns: 46% 46%;
		grid-gap: 0px 8%;
	}
	.cellule_image_informations_cc17
	{
		display: none;
	}

}

@media all and (max-width: 600px)
{
	.informations_cc17
	{
		display: grid;
		grid-template-columns: 100%;
	}
}

/* FIN */
/* INFORMATIONS CC17 */
/****************************/





/****************************/
/* MENTIONS LEGALES */
/* DEBUT */

.mentions_legales
{
	display: flex;
	padding: 20px 20% 20px 20%;
    text-align: center;
	color: white;
	background-color: rgb(50, 50, 50);
	font-size: 15px;
}

.mentions_legales div
{
	flex: 33%;
}

.mentions_legales a
{
	text-decoration: none;
	color: white;
}
.mentions_legales div a:hover
{
	text-decoration: underline;
}

@media all and (max-width: 1100px)
{
	.mentions_legales
	{
		display: flex;
		flex-direction: column;
	}
	.mentions_legales div
	{
		margin: 5px 0px 5px 0px;
	}
}

/* MENTIONS LEGALES */
/* FIN */
/****************************/





/****************************/
/* FOND PAGES */
/* DEBUT */

.fond_page_cc17
{
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 10px 0% 10px 0%;
}

.couleur_fond_page_cc17
{
	background-color: #EFEFEF;
	padding: 20px 16% 20px 16%;
}

@media all and (max-width: 1200px)
{
	.couleur_fond_page_cc17
	{
		padding: 20px 10% 20px 10%;
	}
}


/* FOND PAGES */
/* FIN */
/****************************/