/*
 * Lime 1.0.43 - accueil responsive conforme aux maquettes tablette/mobile.
 * Cette couche est strictement bornee a 1100 px afin de conserver le bureau.
 */
@media screen and (max-width: 1100px) {
	#main-accueil,
	#ligne1,
	#ligne2,
	#ligne3,
	#content-footer {
		max-width: 100% !important;
		overflow-x: clip !important;
	}

	#ligne1 .largeur92 {
		display: block !important;
		width: var(--lime-largeur) !important;
	}

	#ligne1 #gauche-ligne1 {
		border-left: 0 !important;
		display: flex !important;
		min-height: 190px !important;
		padding: 36px 24px !important;
		width: 100% !important;
	}

	#ligne1 .titre-ligne1 h2 {
		align-items: baseline !important;
		display: flex !important;
		gap: .28em !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	#ligne1 .titre-ligne1 h2 span {
		display: inline !important;
	}

	#ligne1 #droite-ligne1 {
		border-left: 0 !important;
		display: grid !important;
		gap: 6px !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		margin-top: 24px !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#ligne1 #droite-ligne1,
	#ligne1 #droite-ligne1 > .widget,
	#ligne1 #droite-ligne1 .agenda,
	#ligne1 #droite-ligne1 .agenda-img {
		overflow: visible !important;
	}

	#ligne1 #droite-ligne1 > .widget {
		display: contents !important;
	}

	#ligne1 #droite-ligne1 .agenda,
	#ligne1 #droite-ligne1 > .widget .agenda {
		aspect-ratio: 3 / 4 !important;
		display: block !important;
		grid-column: auto !important;
		grid-row: auto !important;
		height: auto !important;
		margin: 0 !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	#ligne1 #droite-ligne1 .agenda .date-manif {
		box-sizing: border-box !important;
		font-size: clamp(13px, 2vw, 18px) !important;
		flex-wrap: nowrap !important;
		gap: 0 3px !important;
		left: 8px !important;
		line-height: 1.08 !important;
		max-width: calc(100% - 16px) !important;
		min-height: 36px !important;
		overflow: visible !important;
		padding: 6px 8px !important;
		top: -10px !important;
		white-space: nowrap !important;
		width: max-content !important;
	}

	#ligne1 #droite-ligne1 .agenda .date-manif > span,
	#ligne1 #droite-ligne1 .agenda .date-manif .jour_date,
	#ligne1 #droite-ligne1 .agenda .date-manif .au_date,
	#ligne1 #droite-ligne1 .agenda .date-manif .annee-manif {
		flex: 0 0 auto !important;
		line-height: 1.08 !important;
		white-space: nowrap !important;
	}

	#ligne1 #droite-ligne1 .agenda:hover .date-manif,
	#ligne1 #droite-ligne1 .agenda:focus-within .date-manif {
		top: -10px !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime,
	#ligne2 #gauche-ligne2.actualites-lime > .widget {
		display: contents !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu {
		aspect-ratio: 1 / 1 !important;
		display: block !important;
		height: auto !important;
		margin: 0 !important;
		min-height: 0 !important;
		min-width: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		position: relative !important;
		width: 100% !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .actu-img,
	#ligne2 #gauche-ligne2.actualites-lime .actu-img img {
		display: block !important;
		height: 100% !important;
		inset: 0 !important;
		object-fit: cover !important;
		position: absolute !important;
		width: 100% !important;
	}

	#ligne2 #droite-ligne2 {
		height: auto !important;
		left: auto !important;
		margin: 0 !important;
		position: static !important;
		right: auto !important;
		top: auto !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: auto !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:nth-of-type(n + 4),
	#ligne2 #gauche-ligne2.actualites-lime > .widget:nth-child(n + 4) {
		display: none !important;
	}

	#content-footer #btn-footer .liens-reseaux li a {
		color: var(--couleur-noir) !important;
	}
}

@media screen and (min-width: 681px) and (max-width: 1100px) {
	#ligne2::after {
		top: clamp(145px, 16vw, 180px) !important;
	}

	#ligne2 #content-ligne2.largeur92 {
		display: grid !important;
		grid-template-columns: 35.8% 4.2% 27.9% 1.3% 27.9% 2.9% !important;
		grid-template-rows: minmax(64px, auto) auto !important;
		position: relative !important;
		width: var(--lime-largeur) !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:first-of-type {
		grid-column: 1 !important;
		grid-row: 1 / 3 !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:nth-of-type(2) {
		grid-column: 3 !important;
		grid-row: 2 !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:nth-of-type(3) {
		grid-column: 5 !important;
		grid-row: 2 !important;
	}

	#ligne2 #droite-ligne2 {
		align-self: center !important;
		grid-column: 3 / 6 !important;
		grid-row: 1 !important;
		z-index: 7 !important;
	}

	#ligne2 .titre-ligne2 {
		align-items: center !important;
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: clamp(10px, 1.8vw, 18px) !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow: visible !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#ligne2 .titre-ligne2 h2 {
		flex: 0 1 auto !important;
		margin: 0 !important;
		min-width: 0 !important;
		white-space: nowrap !important;
		width: auto !important;
	}

	#ligne2 .titre-ligne2 a {
		box-sizing: border-box !important;
		flex: 0 1 auto !important;
		font-size: clamp(12px, 1.45vw, 16px) !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding-left: clamp(10px, 1.4vw, 20px) !important;
		padding-right: clamp(10px, 1.4vw, 20px) !important;
		white-space: nowrap !important;
	}

	#ligne2 #droite-ligne2 .titre-ligne2 a:hover,
	#ligne2 #droite-ligne2 .titre-ligne2 a:focus,
	#ligne2 #droite-ligne2 .titre-ligne2 a:focus-visible {
		background: var(--couleur-principale) !important;
		border-color: var(--couleur-principale) !important;
		color: var(--couleur-blanc) !important;
	}

	#ligne3::before {
		height: 300px !important;
		width: 38% !important;
	}

	#ligne3 .largeur92 {
		display: grid !important;
		grid-template-columns: 38% minmax(0, 62%) !important;
		width: var(--lime-largeur) !important;
	}

	#gauche-ligne3 {
		min-height: 300px !important;
		padding: 56px 24px 40px !important;
	}

	#droite-ligne3 {
		padding: 35px 0 0 !important;
	}

	#droite-ligne3 iframe {
		height: 400px !important;
	}

	#content-footer .largeur92 {
		display: grid !important;
		gap: clamp(34px, 5vw, 58px) !important;
		grid-template-columns: minmax(0, 1fr) minmax(250px, 300px) !important;
		width: calc(var(--lime-largeur) - 6%) !important;
	}

	#content-footer #btn-footer {
		border-left: 1px solid var(--couleur-noir) !important;
		margin-top: 0 !important;
		padding-left: 36px !important;
	}
}

@media screen and (max-width: 680px) {
	#ligne1 {
		padding: 42px 0 50px !important;
	}

	#ligne1 #gauche-ligne1 {
		min-height: 0 !important;
		padding: 32px 22px !important;
	}

	#ligne1 .titre-ligne1 h2 {
		font-size: clamp(2rem, 9vw, 2.65rem) !important;
	}

	#ligne1 .titre-ligne1 h2 span {
		font-size: clamp(1.45rem, 7vw, 2rem) !important;
	}

	#ligne1 #droite-ligne1 {
		gap: 28px !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	#ligne2 {
		margin-top: 54px !important;
		padding-bottom: 50px !important;
	}

	#ligne2::after {
		top: 55vw !important;
	}

	#ligne2 #content-ligne2.largeur92 {
		display: grid !important;
		gap: 28px 12px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto auto auto !important;
		width: var(--lime-largeur) !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:first-of-type {
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;
	}

	#ligne2 #droite-ligne2 {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		z-index: 7 !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:nth-of-type(2) {
		grid-column: 1 !important;
		grid-row: 3 !important;
	}

	#ligne2 #gauche-ligne2.actualites-lime .lien-actu:nth-of-type(3) {
		grid-column: 2 !important;
		grid-row: 3 !important;
	}

	#ligne2 .titre-ligne2 {
		align-items: flex-start !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#ligne2 #droite-ligne2 .titre-ligne2 h2 {
		color: var(--couleur-blanc) !important;
		margin: 0 !important;
	}

	#ligne2 #droite-ligne2 .titre-ligne2 h2 span {
		color: var(--couleur-blanc) !important;
	}

	#ligne2 #droite-ligne2 .titre-ligne2 a {
		align-self: flex-start !important;
		border-color: var(--couleur-blanc) !important;
		color: var(--couleur-blanc) !important;
		width: auto !important;
	}

	#ligne3 {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	#ligne3::before {
		height: 250px !important;
		width: 70% !important;
	}

	#ligne3 .largeur92 {
		display: block !important;
		width: var(--lime-largeur) !important;
	}

	#gauche-ligne3 {
		min-height: 250px !important;
		padding: 42px 0 36px !important;
		width: 72% !important;
	}

	#gauche-ligne3 .titre-ligne3 {
		font-size: clamp(2.3rem, 12vw, 3rem) !important;
	}

	#gauche-ligne3 .titre-ligne3 span {
		font-size: clamp(1.55rem, 8vw, 2.1rem) !important;
	}

	#droite-ligne3 {
		padding: 0 !important;
		width: 100% !important;
	}

	#droite-ligne3 iframe {
		height: 400px !important;
	}

	#content-footer {
		padding: 48px 0 58px !important;
	}

	#content-footer .largeur92 {
		display: block !important;
		width: calc(var(--lime-largeur) - 2%) !important;
	}

	#content-footer #btn-footer {
		border-left: 0 !important;
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 8px !important;
		margin-top: 34px !important;
		padding: 0 !important;
	}

	#contact-footer,
	.tel-footer {
		max-width: none !important;
		min-height: 44px !important;
		width: auto !important;
	}

	#contact-footer {
		flex: 0 1 120px !important;
	}

	.tel-footer {
		flex: 1 1 180px !important;
	}

	#content-footer #btn-footer .liens-reseaux {
		flex: 0 0 100% !important;
		margin-top: 24px !important;
	}

	#content-footer #btn-footer .liens-reseaux ul {
		flex-wrap: wrap !important;
	}

	#content-footer ul#menu_footer {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 8px 16px !important;
		width: 100% !important;
	}

	#content-footer ul#menu_footer li {
		margin: 0 !important;
	}
}
