header .row {
 width: 100%;
}

.row-grid-header-subsite {
	padding: 1.25rem 0;
}

.row-grid-header-subsite > div {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.subsite-all-menu {
	padding: 0.75rem 0;
}

.subsite-all-menu ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	color: var(--white-color);
	
}

.subsite-all-menu ul li a {
	font-family: var(--title-font);
	font-size: clamp(1rem, 0.375rem + 2vw, 1.5rem);
	font-weight: 600;
	padding: 0.25rem clamp(1rem, 10%, 2rem);
	margin: -0.25rem clamp(-1rem, -10%, -2rem);
	border-radius: 10px;
	transition: background-color 300ms ease-in-out;
}

.subsite-all-menu ul li a:hover {
	background-color: rgba(6, 21, 46, 0.50);
}

.subsite-menu {
	color: var(--black-color);
	text-transform: uppercase;
	padding: 1.25rem 0;
}

.subsite-menu ul {
	list-style: none;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.subsite-menu ul li {
	position: relative;
	padding: 0.75rem 0 ;
}

.separator {
	display: block;
	background-color: black;
	height: 20px;
	width: 2px;
	margin: 0.75rem;
}

.hamburger-btn, .close-menu-btn {
	display: none;
}

header .menu-social path {
	stroke: var(--dark-blue-color);
}

header .menu-social svg:hover path{
	stroke: var(--blue-color);
}

.banniere-haute {
	display: none;
}

.subsite-menu ul li:hover a {
	border-bottom-width: 2px;
	border-bottom-style: solid;
}

.tablet-image, .mobile-image {
	display: none;
}

.subsite-all-menu > .current-site {
	display: none;
}

.down {
	transform: rotate(0);
	-webkit-transform: rotate(0);
}

.up {
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
}

.fond-site {
	display: none !important;
}

.banniere-haute-mobile {
	display: none;
	margin-top: 3rem;
}

.reseaux-sociaux {
	margin-top: 1.25rem;
}

#menu-tout-les-sites{
	max-width: var(--wrapper-width-2);
	width: 100%;

	margin: auto;
}

@media (max-width: 964px) {

	html {
		margin-top: 0 !important;
	}
	.row-grid-header-subsite {
		padding-top: 0 !important;
	}

	header .logo {
		margin: auto;
	}

	header .btn {
		width: max-content;
		margin: auto;
	}

	.subsite-menu {
		display: none;
		position: absolute;
		top: 0; 
		right: 0;
		background-color: var(--white-color);
		width: 200px;
		z-index: 999;
		padding: 1.25rem;
	}

	.subsite-menu ul {
		flex-direction: column;
	}
	
	.menu-open .subsite-menu {
		display: block;
	}

	.subsite-menu ul li {
		border-bottom-width: 1px;
		border-bottom-style: solid;
		border-bottom-color: rgb(187, 187, 187);
	}
	
	/* Bouton Hamburger */
	.hamburger-btn {
		display: block;
		cursor: pointer;
		width: 50px;
		position: relative;
		background-color: var(--dark-blue-color);
		padding: 10px;
		border-radius: 10px;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		gap: 5px;
		margin-right: 2rem;
	}

	.hamburger-btn span {
		background: var(--white-color);
	}

	.close-menu-btn span {
		background-color: var(--dark-blue-color);
	}

	.close-menu-btn span:first-child {
		transform: rotateZ(45deg);
	}

	.close-menu-btn span:last-child {
		transform: rotateZ(-45deg);
	}
	
	.hamburger-btn span, .close-menu-btn span{
		display: block;
		height: 3px;
		width: 100%;
	}

	.close-menu-btn span {
		position: absolute;
		bottom: 50%;
	}

	.close-menu-btn {
		display: block;
		width: 25px;
		height: 25px;
		position: absolute;
		right: 10px;
		top: 10px;
		cursor: pointer;
		z-index: 1000;
	}

	.close-menu-btn > div {
		position: relative;
		height: 100%;
	}
	

	.subsite-all-menu__container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.5rem 0;
		gap: 2rem;
	}

	.subsite-all-menu {
		position: relative;
		width: 100%;
		background-color: #034c64;
		border-radius: 10px;
		padding: 0.75rem clamp(1rem, 10%, 2rem);
		margin-left: 2rem;
	}

	.subsite-all-menu > ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		z-index: 400;
		background-color: #034c64;
		padding-bottom: 0.75rem;
		border-radius: 0 0 10px 10px;
	}

	.subsite-all-menu ul li a:hover {
		background-color: unset;
	}

	.subsite-all-menu > ul.open {
		display: block;
	}

	.subsite-all-menu > .current-site {
		display: flex;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
	}

	.current-site-name {
		width: max-content;
		font-family: var(--title-font);
		font-size: clamp(1rem, 0.375rem + 2vw, 1.5rem);
		font-weight: 600;
		color: var(--white-color);
	}

	.banniere-haute {
		display: none !important;
		justify-content: center;
		margin-top: 2rem;
	}

	.banniere-haute img{
		width: 80%;
	}

	.fond-site {
		display: flex !important;
		align-items: center;
	}

	.fond-site .mobile-image {
		display: none !important;
	}
	.fond-site .tablet-image {
		display: inline !important;
		width: 100%;
	}

	.reseaux-sociaux {
		display: none !important;
	}
	.banniere-haute-mobile {
		display: block !important;
	}
}

@media (max-width: 425px) {
	.fond-site {
		display: flex !important;
	}
	.fond-site a{
		width: 100%;
	}
	.fond-site .tablet-image {
		display: none !important;
	}
	.fond-site .mobile-image {
		display: inline !important;
		width: 100%;
	}
}