/*   
Theme Name: Synavi
Theme URI: 
Description: Thème développé spécifiquement
Author: Et voilà le travail
Author URI: http://www.etvoilaletravail.com
Version: 1

Text Domain: synavi
Template: twentytwentyone

*/

:root {

	--synavi-black: #000;
	--synavi-grey: #808080;
	--synavi-dark-gray: #28303d;
	--synavi-light-gray: #f0f0f0;
	--synavi-darkred: #89141a;
	--synavi-red: #b50f1d;
	--synavi-orange: #e86018;
	--synavi-yellow: #fbc203;
	--synavi-lightred: #de0520;
	--synavi-lightorange: #ef9200;
	--synavi-lightyellow: #f6da25;
	--synavi-white: #fff;

	--wp--preset--spacing--10: 10px;
	--wp--preset--spacing--20: 20px;
	--wp--preset--spacing--30: 30px;
	--wp--preset--spacing--40: 40px;
	--wp--preset--spacing--50: 50px;

}
*::selection { background: var(--synavi-yellow); color: var(--synavi-black); }

.entry-content p a {
	text-decoration: underline;
	text-underline-offset: 0;
}
.entry-content p a:hover {
	text-decoration-thickness: 10px;
	text-decoration-color: var(--synavi-yellow);
	text-decoration-line: underline;
	text-underline-offset: -5px;
}


#site-navigation.primary-navigation a { font-family: var(--global--font-primary); font-weight: 400;  }
#site-navigation.primary-navigation li li li a { font-weight: 200; }
#site-navigation.primary-navigation ul.menu-wrapper > li > a { text-transform: uppercase;}
.site-logo { position: relative; }
#site-navigation .menu-item-has-children button.sub-menu-toggle { display: none; }

#access-navigation { font-size: 120%;}
#access-navigation > div { position: relative; }
.access-navigation a { padding: calc(.5 * var(--global--spacing-unit)); text-decoration: none; color: var(--synavi-grey); }
.access-navigation a:hover { opacity: .5; text-decoration: none; }
.access-navigation a:focus,
.access-navigation a:focus:not(.wp-block-button__link):not(.wp-block-file__button),
.has-background-white .site .access-navigation a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { text-decoration: none; }
.access-navigation div a:last-child { padding-right: 0 !important; }
.access-navigation a.adherent { color: var(--synavi-lightred); text-transform: uppercase; font-weight: 400; padding-right: 0 !important; }
.access-navigation a.adherer-link { padding-right: 0 !important; }
.home_v2 #actualites.block { margin-top: 60px; }
@media only screen and (min-width: 1024px) {
	#access-navigation { padding: var(--global--spacing-unit); background: var(--synavi-white); text-align: right; }
	.access-navigation a.separated { border-left: 1px solid var(--synavi-grey); padding-left: var(--global--spacing-unit); padding-right: var(--global--spacing-unit); }
	.access-navigation a.separated.newsletter { margin-left: calc(.5 * var(--global--spacing-unit)); }
	.home .site-header { padding-bottom: 0; }
}
@media only screen and (max-width: 1023px) {
	#access-navigation  { position: absolute; top: calc(.5 * var(--global--spacing-unit)); left: 0; right: 0; text-align: right; }
	#access-navigation, 
	.primary-navigation .menu-button-container button#primary-mobile-menu { font-size: var(--global--font-size-xl); }
	.admin-bar #access-navigation { top: calc(var(--global--admin-bar--height) + .5 * var(--global--spacing-unit)); }
	.access-navigation a.adherent { padding-right: calc(.5 * var(--global--spacing-unit)) !important; margin-right: 100px;  }
	.access-navigation a:not(.adherent),
	.access-navigation a span { display: none; }
	.access-navigation .alignwide { margin-right: 0; }
	.site-header { margin-top: 0; margin-left: 0; margin-right: 0; background: var(--synavi-white); padding-left: var(--global--spacing-unit); padding-right: var(--global--spacing-unit); max-width: 100%; }
	.home .site-main { padding-top: 0; }
	.site-header { padding-top: calc( .5 * var(--global--spacing-vertical) ); padding-bottom: calc( .5 * var(--global--spacing-vertical) ); min-height: 90px; }
	.site-branding { position: absolute; top: 10px; left: 10px; transform: scale(0.8); transform-origin: 0 0; z-index: 1; }
}
@media only screen and (max-width: 482px) {
	.site-header:before { content: ""; background: transparent url(images/SYNAVI_logo.png) center center no-repeat; background-size: contain; width: 100px; height: 59px; }
	.site-branding { display: none; }
	.home_v2 #actualites.block { margin-top: 25px; }
}
@media only screen and (max-width: 651px) {
	#access-navigation, 
	.primary-navigation .menu-button-container button#primary-mobile-menu { font-size: var(--global--font-size-xxl); }
}
.site .site-branding .site-logo a { background: transparent !important; }

.posted-on {font-family: var(--global--font-primary); color: var(--synavi-grey); margin-right: calc(.5 * var(--global--spacing-unit)) !important; font-weight: 400; }
.cat-links a, .tags-links a { border: 1px solid; padding: calc(.25 * var(--global--spacing-unit)); margin-right: calc(.125 * var(--global--spacing-unit));margin-bottom: calc(.25 * var(--global--spacing-unit)); text-decoration: none; display: inline-block; }
.cat-links a:hover, .tags-links a:hover { border: 1px solid; background: var(--synavi-yellow); color: var(--synavi-white); }


/* Duotone images */
.single-event .entry-header img,
.single-event .entry-header img:hover,
.page-template-agenda .entry-header img,
.page-template-agenda .entry-header img:hover,
.page-template-agenda figure img {
	filter: url('#wp-duotone-background-and-yellow');
	transition: all 0.5s ease;
}
.event-cat { border: 1px solid; padding: calc(.25 * var(--global--spacing-unit)); margin-right: calc(.125 * var(--global--spacing-unit));margin-bottom: calc(.25 * var(--global--spacing-unit)); text-decoration: none; display: inline-block; }
.post-thumbnail img,
img.post-thumbnail,
img.wp-post-image,
.entry-header img,
.entry-header img:hover,
figure img {
	filter: url('#wp-duotone-foreground-and-tertiary');
	transition: all 0.5s ease;
}
.category-poles-d-actions .entry-header img,
.category-poles-d-actions .entry-header img:hover,
.category-poles-d-actions article figure img,
.action img.post-thumbnail,
.action img.wp-post-image,
.action figure img {
	filter: url('#wp-duotone-background-and-secondary');
	transition: all 0.5s ease;
}
.action article { margin-top: var(--global--spacing-unit); }

.post-thumbnail img:hover,
img.post-thumbnail:not(.default):hover,
img.wp-post-image:hover,
figure img:not(.default):hover,
.entry-content figure img {
	filter: none;
}



section { background: var(--synavi-white);margin-top: 0 !important; padding-top: var(--global--spacing-unit); padding-bottom: var(--global--spacing-unit); }
.archive section { padding-bottom: calc( 5 * var(--global--spacing-unit) ); }
.page-header { background: var(--synavi-orange); color: var(--synavi-white); padding: calc(2 * var(--global--spacing-unit)); }
.page-header a,
.page-header h1.page-title { color: var(--synavi-white); }
.category-poles-d-actions .page-header,
.category-poles-d-actions .entry-header { background: var(--synavi-red); }
.single-event .page-header,
.page-template-agenda .page-header { background: var(--synavi-yellow); }
	
.entry-header h1 { color: var(--synavi-orange); }
.entry-header h1,
.archive .page-header h1.page-title { font-weight: 400; }
.single-event .entry-header h1,
.page-template-agenda .entry-header h1,
.agenda .page-header h1.page-title { color: var(--synavi-yellow); }
.category-poles-d-actions .entry-header h1,
.category-poles-d-actions .page-header h1.page-title { color: var(--synavi-red); }

@media only screen and (min-width: 482px) {
	.entry-header h1,
	.archive .page-header h1.page-title { color: var(--synavi-orange); font-weight: 400; }
	h1.entry-title,
	h1.page-title,
	.single.singular .entry-header h1.entry-title,
	.archive .page-header h1.page-title { line-height: var(--global--line-height-page-title-span); }
	h1.entry-title span,
	h1.page-title span,
	.single .entry-header h1 span,
	.page-template-agenda .entry-header h1 span,
	.archive header h1.page-title span { background: var(--synavi-white); padding: calc(.25 * var(--global--spacing-unit)); -webkit-box-decoration-break: clone; box-decoration-break: clone; }	
	.search-results h1.page-title span { background: transparent; }
	
	.entry-header.withbg,
	.page-header.withbg,
	.single .entry-header { position: relative; margin-bottom: 0; }
	.single .entry-header { background: var(--synavi-orange); }
	.single.category-poles-d-actions .entry-header { background: var(--synavi-red); }
	.single-event .page-header,
	.page-template-agenda .page-header,
	.page-template-agenda .entry-header,
	.single-event .entry-header { background: var(--synavi-yellow); }
	
	.entry-header.withbg h1,
	.page-header.withbg h1,
	.single .entry-header h1 { position: absolute; bottom: var(--global--spacing-unit); left: var(--global--spacing-unit); }
	.singular .has-post-thumbnail .entry-header { padding: 0; }
	.entry-header img { margin-bottom: 0; }
}

@media only screen and (min-width: 1024px) {
	.columns { display: flex; flex-wrap: nowrap; }
	.columns div { flex: 1 1 auto; order: 2; }
	.columns footer { flex: 1 1 250px; order: 1; }
	.single .byline { display: block; }
}


.block h2 a:hover, 
.block h3 a:hover,
.archive h1 a:hover,
.archive h2 a:hover,
.archive h3 a:hover,
.archive h4 a:hover,
.category-le-synavi h1 a:hover,
.category-le-synavi h2 a:hover,
.category-le-synavi h3 a:hover,
.category-le-synavi h4 a:hover {
	background: linear-gradient(0deg, transparent 30%, var(--global--color-yellow) 30%, var(--global--color-yellow) 55%, transparent 55%);
}

/* #actions.block h2 a:hover,
#actions.block h3 a:hover,
.category-poles-d-actions h1 a:hover,
.category-poles-d-actions h2 a:hover,
.category-poles-d-actions h3 a:hover,
.category-poles-d-actions h4 a:hover {
	background: linear-gradient(0deg, transparent 30%, var(--global--color-red) 30%, var(--global--color-red) 55%, transparent 55%);
} */

.has-foreground-color { color: #000000; }
.has-background-color { color: #ffffff; }
.has-primary-color { color: ;#89141a }
.has-secondary-color { color: #b50f1d; }
.has-tertiary-color { color: #e86018; }
.has-yellow-color { color: #fbc203; }
.has-bright-red-color { color: #de0520; }
.has-light-orange-color { color: #ef9200; }
.has-light-yellow-color { color: #f6da25; }


/* Single */
@media only screen and (min-width: 1024px) {
	.entry-content > figure.wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce) { 
		margin-left: -100px; position: relative; 
	}
	.wp-block-image figcaption {
		max-width: 450px;
		position: absolute;
		bottom: 20%; right: -100px;
	}
}


/* Bottom */
.boxes { margin-top: calc(2 * var(--global--spacing-unit)); }
div.adherent { background: var(--synavi-lightred); padding: calc(2 * var(--global--spacing-unit)); color: var(--synavi-white); text-align: center; margin-bottom: var(--global--spacing-unit); }
div.newsletter { background: var(--synavi-white); padding: calc(2 * var(--global--spacing-unit)); color: var(--synavi-red); }
div.bloc h2 { text-transform: uppercase; }
div.adherent button { margin-top: var(--global--spacing-unit); border: 1px solid var(--synavi-white); text-transform: uppercase; background-color: transparent; }
div.adherent button:hover { border-color: var (--synavi-black); color: var (--synavi-black); background-color: var (--synavi-white); }
div.newsletter input { width: 100%; border: 0; border-bottom: 1px solid var(--synavi-red); color: var(--synavi-red); margin: calc(2 * var(--global--spacing-unit)) 0; }
div.newsletter input::placeholder { color: var(--synavi-red); opacity: .5; }
@media only screen and (min-width: 1024px) {
	.boxes {
		display: grid;
		grid-template-rows: repeat(4, 1fr); /* 10% 10fr */
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
	div.adherent { grid-column: 1 / 9; grid-row: 1 / 4; padding-right: 30%; }
	div.newsletter { grid-column: 7 / 10; grid-row: 3 / 5;}
}
@media only screen and (max-width: 481px) {
	body:not(.home) div.adherent { display: none; }
}

/* Newsletter */
#nlwrap { position: relative; }
button.sib-default-btn { color: var(--synavi-red) !important; background: transparent !important; border: 0 !important; position: absolute; right: 0; top: calc(2 * var(--global--spacing-unit)); z-index: 5; }
.sib-default-btn::before {
	font-family: 'FontAwesome';
	color: var(--synavi-red);
	position: relative;
	content: "\f0e0";
}
.sib-default-btn:hover::before {
	color: var(--synavi-lightred);
}
.sib-default-btn span { display: none; }

/* sticky */
.sticky .entry-content { border: 5px solid var(--synavi-orange); }

.partenaire img { height: 64px; width: auto; filter: grayscale(1); transition: all 0.5s ease; margin: -4px 8px -4px -8px;}
.partenaire img:hover { filter: none; }
.access-navigation a.partenaire:hover { opacity: 1; }
.has-background-white .site a.partenaire:focus:not(.wp-block-button__link):not(.wp-block-file__button) { background: #fff; }

footer div.partenaires img { max-width: 100px; filter: url('#wp-duotone-background-and-primary'); transition: all 0.5s ease; }
footer div.partenaires img:hover { filter: none; }
footer div.social { color: var(--synavi-darkred); font-size: var(--global--font-size-lg); }
footer div.social a { color: var(--synavi-darkred) !important; margin-left: calc(2 * var(--global--spacing-unit)); }
footer div.social a:first-child { margin-left: 0; }
footer div.social a:hover { opacity: .5; }

footer .footer-navigation { max-width;: 600px; margin-left: auto;} 
.footer-navigation-wrapper .sub-menu-toggle { display: none; }
.footer-navigation-wrapper li { list-style: none; }
.footer-navigation-wrapper .sub-menu { padding-left: calc(.5 * var(--global--spacing-horizontal) ); }
@media only screen and (max-width: 881px) {
	footer .footer-navigation { display: none; }
	.site-info { text-align: center; }
	.site-footer > .site-info:not(.first) {
	  display: flex; flex-direction: column; flex-wrap: wrap;
	  border-top: 0;
	}
	footer div.partenaires { order: 2; border-top: 1px solid var(--synavi-darkred); margin-top: calc(2 * var(--global--spacing-unit)); padding-top: calc(2 * var(--global--spacing-unit)); }
	footer div.social { order: 1; }
}
@media only screen and (min-width: 1024px) {
	.site-logo { margin-top: calc(-3 * var(--global--spacing-unit));}
}
@media only screen and (min-width: 882px) {
	.site-footer > .site-info:not(.first) {
	  display: flex;
	  align-items: center;
	}
	footer div.partenaires { flex: 1 1 50%; }
	footer div.social { flex: 1 1 50%; text-align: right; }
}
.site-footer > .site-info .footer-navigation-wrapper li a:link, 
.site-footer > .site-info .footer-navigation-wrapper li a:visited, 
.site-footer > .site-info .footer-navigation-wrapper li a:active { color: var(--synavi-darkred); }
.site-footer > .site-info .footer-navigation-wrapper li a:hover { color: var(--synavi-white); background: var(--synavi-darkred); text-decoration: none; }
.site-footer > .site-info .footer-navigation-wrapper > li > a { font-weight: 400; text-transform: uppercase; }

@media only screen and (min-width: 882px) and (max-width: 1199px) {
	.site-info.first { 
		display: grid;
		grid-template-rows: 1fr 1fr 2fr;
		grid-template-columns: 1fr 1fr;
	}
	.site-info.first div.site-logo { grid-column: 1 / 2; grid-row: 1 / 2; }
	.site-info.first div.site-name { grid-column: 1 / 2; grid-row: 2 / 3; }
	.site-info.first nav { grid-column: 2 / 3; grid-row: 1 / 4; }
}
@media only screen and (min-width: 1200px) {
	.site-info.first div.site-name { padding-left: var(--global--spacing-unit); }
}

/* Home 
	.home .intro > figure { margin: 0; }
	.home .intro > figure img { max-width: fit-content; filter: none !important; margin-top: 0; }
	.home .intro > div { padding: var(--global--spacing-unit); margin-left: var(--global--spacing-unit); }
	.home .intro .entry-content > * {
	  margin-top: calc(0.125 * var(--global--spacing-vertical));
	  margin-bottom: calc(0.125 * var(--global--spacing-vertical));
	}
	@media only screen and (min-width: 882px) and (max-width: 1199px) {
		.home .intro { display: grid;
			grid-template-rows: repeat(10, 1fr);
			grid-template-columns: repeat(10, 1fr); }
		.home .intro > figure { grid-column: 1 / 9; grid-row: 1 / 11; overflow: hidden; } 
		.home .intro > div { grid-column: 6 / 10; grid-row: 2 / 10; background: var(--synavi-white); }
	}
	@media only screen and (min-width: 1200px) {
		.home .intro { display: flex; }
		.home .intro > figure { flex: 1 1 66%;} 
		.home .intro > div { flex: 1 1 33%;}
		.home .intro > figure img { max-width: 100%; }
	} */
	
	/* Modif Juillet 2023 */
		.home .intro > figure { margin: 0; }
		.home .intro > figure img { max-width: fit-content; filter: none !important; margin-top: 0; }
		.home .intro > div { padding: var(--global--spacing-unit); margin-left: var(--global--spacing-unit); }
		.home .intro .entry-content > * {
		  margin-top: calc(0.125 * var(--global--spacing-vertical));
		  margin-bottom: calc(0.125 * var(--global--spacing-vertical));
		}
		@media only screen and (min-width: 1000px) {
			.home .intro { display: flex; }
			.home .intro > figure { flex: 1 1 55%;} 
			.home .intro > div { flex: 1 1 45%;}
			.home .intro > figure img { max-width: 100%; }
		}


.upcoming,
#actions { background: var(--synavi-white); padding-top: var(--global--spacing-unit); padding-bottom: var(--global--spacing-unit); }

.upcoming .events { margin: var(--global--spacing-unit) 0;}
@media only screen and (min-width: 482px) {
	.upcoming .events { display: grid; gap: var(--global--spacing-unit); grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (min-width: 1024px) {
	.upcoming .events { display: grid; grid-template-columns: repeat(4, 1fr); }
}
@media only screen and (max-width: 1023px) {
	.event.empty { display: none; }
}
.date { color: (--synavi-grey); }
.day { font-family: var(--global--font-primary); font-weight: 400; }
.event.empty { color: var(--synavi-light-gray) !important; }
.event.empty h3 { margin-top: 5px; line-height: 1.4em; }
.event.empty .texte { margin: 5px 0; line-height: 1.4em; }
.event.empty span { color: var(--synavi-light-gray) !important; background: var(--synavi-light-gray) !important; }


.block h2 { font-family: var(--global--font-secondary); border-bottom: 1px solid; }
.block .entry-content > *,
.archive .entry-content > * { margin: 0; }
.archive .entry-content { margin-top: calc(.25 * var(--global--spacing-vertical)); }
.block h2, 
.block h3,
.archive main h2, 
.archive main h3.entry-title,
.archive main h3 { color: var(--synavi-orange); }
.page-template-agenda .block h2, 
.page-template-agenda .block h3,
.page-template-agenda main h2, 
.page-template-agenda main h3.entry-title,
.upcoming.block h2,
.home .upcoming.block h3 { color: var(--synavi-yellow); }
#actions.block h2, 
.home #actions.block h3,
.category-poles-d-actions main h2, 
.category-poles-d-actions main h3,
.category-poles-d-actions main h3.entry-title { color: var(--synavi-red); }

.archive figure { margin: 0; }
.archive figure img.post-thumbnail { margin: 0; /* max-width: fit-content; */ }
.archive .post-taxonomies,
.archive .post-tags { display: inline-block; }

@media only screen and (min-width: 882px) {
	.home article,
	.search article,
	.archive article { display: flex; align-items: center; }
	.home:not(.home_v2) article > div, 
	.search article.withthumb > div, 
	.archive article.withthumb > div, 
	.home:not(.home_v2) article > figure,
	.search article.withthumb > figure,
	.archive article.withthumb > figure { flex: 0 0 50%; position: relative; }
	.home article > div,
	.search article > div,
	.archive article > div { order: 1; padding: var(--global--spacing-unit); z-index: 5; }
	.home:not(.home_v2) article > figure,
	.search article > figure,
	.archive article > figure { order: 2; z-index: 2; }
	.home:not(.home_v2) article > figure img,
	.search article > figure img,
	.archive article > figure img { max-width: 100%; width: 100%; }
	/* home actions alternate */
	.home #actions.block article > div { flex-basis: 45%; }
	.home #actions.block article > figure { flex-basis: 55%; }
	.home #actions.block article:nth-child(odd) > div { order: 1; }
	.home #actions.block article:nth-child(odd) > figure { order: 2; padding-left: 50px; }
	.home #actions.block article:nth-child(even) > figure { padding-right: 50px; }
	
	.home_v2 #actualites.block article .entry-content { max-width: var(--global--spacing-measure); margin-top: calc(.5* var(--global--spacing-vertical)); margin-bottom: calc(.5* var(--global--spacing-vertical)); }
	.home_v2 #actualites.block h2 { margin-bottom: calc(.5* var(--global--spacing-vertical)); }
	.home_v2 #actualites.block .linktoall { max-width:850px; margin: 16px auto; }
	
	.home:not(.home_v2) #actualites.block article, 
	.search .items article.withthumb, 
	.archive .items article.withthumb, 
	.category-le-synavi article.withthumb { margin-left: -50px; } 
	.home:not(.home_v2) #actualites.block article div.entry-content,
	.home_v2 .items article div.entry-content,
	.search .items article div.entry-content,
	.archive .items article div.entry-content,
	.category-le-synavi article div.entry-content { background: #ffffff; position: relative; }
	.home:not(.home_v2) #actualites.block article div.entry-content,
	.search .items article.withthumb div.entry-content,
	.archive .items article.withthumb div.entry-content,
	.category-le-synavi article.withthumb div.entry-content { margin-right: -50px; flex-basis: calc(50% + 25px); }
	.home:not(.home_v2) #actualites.block article figure,
	.search .items article.withthumb figure,
	.archive .items article.withthumb figure,
	.category-le-synavi article.withthumb figure { flex-basis: calc(50% - 25px); }
	.home:not(.home_v2) #actualites.block article div.entry-content:after,
	.search .items article.withthumb div.entry-content:after,
	.archive .items article.withthumb div.entry-content:after,
	.category-le-synavi article.withthumb div.entry-content:after {
		left: 100%;
		top: 50%;
		border: solid transparent;
		content: "";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(255, 255, 255, 0);
		border-left-color: #ffffff;
		border-width: 20px;
		margin-top: -20px;
	}
	
}

.linktoall { display: block; width: 50%; margin-left: auto; text-align: right; border-top: 10px solid; font-family: var(--global--font-primary); font-size: 120%; }
.linktoall:hover { text-decoration: none; }
@media only screen and (min-width: 482px) { .linktoall { width: 100%; } }
#actualites.block .linktoall { border-color:var(--synavi-orange); }
#actions.block .linktoall { border-color:var(--synavi-red); }
.upcoming.block .linktoall { border-color:var(--synavi-yellow); }
#actualites.block .linktoall:hover { color:var(--synavi-orange); background: none; }
#actions.block .linktoall:hover { color:var(--synavi-red); background: none; }
.upcoming.block .linktoall:hover { color:var(--synavi-yellow); background: none; }


.region { background: var(--synavi-white); padding: var(--global--spacing-unit); margin-bottom: var(--global--spacing-unit); }
@media only screen and (min-width: 482px) {
	.regions { display: grid; gap: var(--global--spacing-unit); grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (min-width: 1024px) {
	.regions { display: grid; grid-template-columns: repeat(3, 1fr); }
}



/* Lists */
@media only screen and (min-width: 1400px) {
	.archive .items { display: grid; gap: var(--global--spacing-unit); grid-template-columns: repeat(2, 1fr); }
	.home_v2 .items { display: grid; gap: var(--global--spacing-unit); grid-template-columns: repeat(2, 1fr); }
	.home_v2 #actualites.block .linktoall { max-width:var(--responsive--alignwide-width); margin: 16px auto; }
}



/* Single page */
@media only screen and (min-width: 482px) {
	.page .entry-header:not(.withbg) { padding-top: 55px; max-width: var(--responsive--aligndefault-width); }
}


/* USER LOGIN */
.access-navigation .login_form { position: absolute; top: 170%; right: 0; color: var(--synavi-white); background: var(--synavi-lightred); padding: var(--global--spacing-unit);  z-index: 25; text-align: center; }
.access-navigation .login_form.display { display: block !important; }
.access-navigation .login_form > div { padding: var(--global--spacing-unit); }
/* @media only screen and (min-width: 482px) {
	.access-navigation .login_form.display { display: flex !important; }
	.access-navigation .login_form > div:first-child { border-right: 1px solid var(--synavi-white); padding-right: calc( 2 * var(--global--spacing-unit) ); }
	.access-navigation .login_form > div.connect_form { padding-left: calc( 2 * var(--global--spacing-unit) ); }
} */
.access-navigation .login_form label { display: none; }
.access-navigation .login_form a { color: var(--synavi-white); }
.access-navigation .login_form input { border-radius: 5px; font-weight: 200; margin: calc( .5 * var(--global--spacing-unit) ) 0; }
.access-navigation .login_form input[type=text],
.access-navigation .login_form input[type=password] { border-radius: 5px; width: 100%; background:  var(--synavi-lightred); border-color: var(--synavi-white); color: var(--synavi-white);  }
@media only screen and (min-width: 1024px) {
	.access-navigation a.adherent.displayed { padding-right : var(--global--spacing-unit) !important; }
}
@media only screen and (max-width: 1023px) {
	.access-navigation .login_form { top: 100%; }
	.access-navigation .login_form.display { font-size: 50%; }
}
.access-navigation a.adherent.displayed,
.access-navigation a.adherent.displayed:focus:not(.wp-block-button__link):not(.wp-block-file__button) { background: var(--synavi-lightred); color: var(--synavi-white); text-decoration: none; }
.login_form .adherer { text-align: center; }
.login_form .adherer div h4 { font-weight: 200; }
.adherer-link button:not(:hover):not(:active):not(.has-background),
.login_form div button:not(:hover):not(:active):not(.has-background),
.login_form input[type="submit"]:not(:hover):not(:active):not(.has-background) { border-radius: 5px; background: var(--synavi-lightred); border-color: var(--synavi-white); color: var(--synavi-white); font-weight: 400;  }
.login_form div button:not(:hover):not(:active):not(.has-background),
.login_form input[type="submit"]:not(:hover):not(:active):not(.has-background) { width: 100%;  }
.login_form .adherer a { padding: 0; display: block; }
.login_form .adherer a:hover { opacity: 1; }
.login_form .adherer div button { margin-top: calc( .25 * var(--global--spacing-unit) );  }
.adherer-link button:hover,
.login_form div button:hover,
.login_form input[type="submit"]:hover { border-radius: 5px; background: var(--synavi-white); border-color: var(--synavi-white); color: var(--synavi-lightred); font-weight: 400; }
.adherer-link button:hover { border-color: var(--synavi-lightred); }
.login_form div button:hover,
.login_form input[type="submit"]:hover { width: 100%; }
.login_form .adherer div:not(:first-child) { margin-top: var(--global--spacing-unit); }
@media only screen and (max-width: 481px) {
	.access-navigation .login_form { top: 120%; right: 0; left: 0; }
	/* .login_form .adherer { display: none; } */
}

/* Search */
.access-navigation a.displayed,
.access-navigation a.displayed:focus:not(.wp-block-button__link):not(.wp-block-file__button) { background: var(--synavi-lightyellow); color: var(--synavi-white); text-decoration: none; padding-top : var(--global--spacing-unit); padding-bottom : var(--global--spacing-unit); }
.access-navigation a.is_button.displayed,
.access-navigation a.is_button.displayed:focus:not(.wp-block-button__link):not(.wp-block-file__button) { background: transparent; }
.modal-search-form.display { display: block !important; position: absolute; right: 0; background: var(--synavi-lightyellow); padding: calc( 2 * var(--global--spacing-unit) );  z-index: 20; }
.modal-search-form input { border-radius: 5px; margin-right: -65px; }
.modal-search-form button:not(:hover):not(:active):not(.has-text-color) { border: 0; background: transparent !important; color: var(--synavi-grey); position: relative; left: 5px; }
.modal-search-form input { border: 1px solid !important; color: var(--synavi-black); }
.modal-search-form  button  { border: 0; }
.modal-search-form  button  { border: 0; }



/* 18-01-2024 */
@media only screen and (min-width: 882px){
	.home #actions.block article:nth-child(even)>figure {
    		padding-right: 0 !important;;
	}
	.home #actions.block article:nth-child(even)>figure > img{
		width: 100% !important;
	}
	.home #actions.block article:nth-child(even)>.entry-content{
		margin-left: 20px !important;
	}
}

@media only screen and (min-width: 882px){
	.home #actions.block article:nth-child(odd)>figure {
    		padding-left: 0 !important;
	}
	.home #actions.block article:nth-child(odd)>figure>img {
		width: 100% !important;
	}
	.home #actions.block article:nth-child(odd)>.entry-content{
		margin-right: 20px !important;
	}
}

@media only screen and (min-width: 1024px){
	div.adherent {
    		grid-row: 2/4 !important;
	}
}
@media only screen and (min-width: 1024px){
	.boxes {
    		grid-template-rows: auto !important;
	}
}


.page-id-1214 .intro figcaption {
	display: none;
}
.page-id-1214 .adherent.bloc p{
	text-align: left;
}

@media only screen and (max-width: 482px){
	.site-branding {
    		margin-top: -15px !important;
		display: block !important;
	}
	.site-header:before{
		display: none !important;
	}
}
footer .access-navigation a span{
	display: inline !important;
}
@media only screen and (max-width: 1023px){

footer .adherent{
	margin: auto !important;
}
}


footer div.social{
	text-align: center !important;
}

.access-navigation a.separated{
	border-left: unset;
	padding-right: 10px !important;
    background: white;
}

footer div.partenaires .external:hover{
	border: 1px solid red !important;
	color: red !important;
}

.access-navigation a.adherent{
	color: red !important;
}


@media only screen and (max-width: 1500px) {
    footer div.social {
        flex: 1 1 36%;
        text-align: right;
    }
}

@media only screen and (min-width: 1100px){
	 footer div.social {
        flex: 1 1 32%;
        text-align: right;
    }
}

@media only screen and (min-width: 820px) and (max-width: 1250px){
	    .site-info.first{
		height: 300px !important;
	}
}


@media only screen and (min-width: 768px) and (max-width: 1020px){
	.site-footer > .site-info{
		display: flex;
        align-items: center;
        flex-direction: column
	}
	
	footer div.social{
		order: 0;
	}
}
/* 4th Nov 2024 */
.single-post .entry-content > * {
    margin-left: 0 !important;   
}










