/*
Theme Name: Synergies Communes
Author: Studio des formes / Gaël Gouault 
Author URI: https://studiodesformes.net/
Description: …
Version: 1.0.1
Scan: https://wave.webaim.org | https://accessibe.com
*/

   /*/°\
  !& & (@
 ,-\-- /--,
! _!°°° !_ !
!_/!-__-!25/
  /°./\.°\
/===!  !==*/


:root {
	--color: #000;
	--color-grey: #555;
	--bkgrd: #fff;
	--border-width: 0;
	--line-height: 1.2;
	--line-height-title: 0.9;
	--linear-color: var(--color-lime);

	--font-reg: 'Multima-Medium';
	--font-bold: 'Multima-ExtraBold';
	--font-title: 6.5em;
	--font-under-title: 4.8em;
}


/**
 * Typography
 */

@font-face {
	font-family: 'Multima-Medium';
	src: url('fonts/multima-medium.eot');
	src: url('fonts/multima-medium.eot?#iefix') format('embedded-opentype'),
    	 url('fonts/multima-medium.woff2') format('woff2'),
    	 url('fonts/multima-medium.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Multima-ExtraBold';
	src: url('fonts/multima-extrabold.eot');
	src: url('fonts/multima-extrabold.eot?#iefix') format('embedded-opentype'),
    	 url('fonts/multima-extrabold.woff2') format('woff2'),
    	 url('fonts/multima-extrabold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}


/**
 * Normalize
 */

html {
	font-family: sans-serif;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	background: var(--bkgrd);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
video {
	display: inline-block;
	vertical-align: baseline;
}

sub,
sup {
	font-size: 60%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	font-size: 75%;
	bottom: -0.25em;
}

img,
iframe,
object {
	border: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-reg);
	font-size: 16px;
	font-size: 1rem;
	color: var(--color);
	line-height: var(--line-height);
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::placeholder {
	color: var(--shadow-inset);
	opacity: 1;
}

:-ms-input-placeholder {
	color: var(--shadow-inset);
}

::-ms-input-placeholder {
	color: var(--shadow-inset);
}

h1 {
	font-size: 2em;
	font-weight: normal;
	margin: 0.5em 0;
}

h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-bold);
	font-size: 2em;
	font-weight: normal;
	margin: 0;
}

b,
strong {
	font-family: var(--font-bold);
	font-weight: normal;
}

em,
i {
	font-style: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}


/**
 * Elements
 */

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}


hr {
	background: var(--color);
	border: 0;
	height: 1px;
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}


/**
 * Links
 */

a {
	color: var(--color);
	text-decoration: none;
}

a:hover,
a:active {
	color: var(--color);
}



/**
 * Ossature
 */

.arianne.user {
	color: green;
}
.not-valid {
	font-size: 1.4em;
	font-style: italic;
	color: tomato;
	margin: 0 0 3em 0;
}
.no-border {
	border-bottom: none !important;
}
.arianne {
	font-size: 1.6em;
}
.arianne a {
	color: var(--bkgrd);
	border-bottom: 1px solid var(--bkgrd);
}
.arianne span {
	font-family: 'Multima-ExtraBold';
}

.cat-title h1 {
	font-family: 'Multima-ExtraBold';
	font-size: 3rem;
	text-transform: uppercase;
}
.cat-title p {
	font-size: 1.6em;
	margin: 0;
}
.marche {
	margin: 2em 0;
}
.entry-file h2 {
	margin-top: 2em;
}
.entry-file ul > li {
	font-size: 1.6em;
	display: flex;
	justify-content: space-between;
	padding: 0.5em 0;
	border-bottom: 1px solid #000;
}
.entry-file ul > li:first-child {
	border-top: 1px solid #000;
}
.entry-file ul > li > a {
	width: 33.333%;
}
.entry-file ul > li > a.bold {
	font-family: 'Multima-ExtraBold';
}
.content-box {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2em;
}
.content-box .box {
	border: 1px solid #CCC;
	border-radius: .5em;
	overflow: hidden;
}
.content-box .box h2 {
	line-height: 1;
	display: flex;
	align-items: center;
	width: 100%;
	height: 3em;
	padding: 0 1em;
	background: #CCC;
}
.content-box .box ul {
	padding: 1em 2em;
	margin: 0 2em;
}
.content-box .box li {
	font-size: 1.6em;
}


.entry-contact {
	margin: 2em 0;
}
.entry-contact p {
	font-size: 1.6em;
	margin: 0;
}




/**
 * Header
 */

#masthead {
	position: fixed;
	margin-top: 1em;
	left: 1em;
	width: calc(100% - 2em);
	height: auto;
	display: flex;
	align-items: center;
	padding: 1em 2.5em;
	color: var(--color);
	background: var(--bkgrd);
	border: var(--border-width) solid var(--color);
	border-radius: 0.5em;
	box-shadow: 0 1px 0.75em rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.site-title * {
	font-family: var(--font-bold);
	font-size: 1.6rem;
	margin: 0;
}

#site-navigation,
#option-navigation {
	flex: 1;
}

#site-navigation .menu,
#option-navigation .menu {
	font-size: 1.6em;
	display: flex;
	justify-content: flex-end;
	/*margin: 0 1em;*/
}

#site-navigation .menu li,
#option-navigation .menu li {
	list-style-type: none;
	margin: 0 1em;
}

#site-navigation .menu li:last-child {
	margin-right: 0;
}

.site-title * a:hover {
	opacity: .25; 
	transition: opacity .25s;
}

/*#site-navigation .menu li.current-menu-item {
	pointer-events: none;
}*/

#site-navigation .menu li:hover > a,
#site-navigation .menu li.current-menu-item,
#site-navigation .menu li.current-menu-parent,
.footer-navigation .menu li.current-menu-item {
	color: inherit;
	text-decoration: underline;
	/*text-decoration-thickness: 2px;*/
	text-underline-offset: 4px;
}

.wp-search--open {
	display: flex;
	gap: 3em;
}

.wp-search--open .icon-menu-min {
	display: none;
}

.wp-search--open .icon-menu-min svg,
.wp-search--open .icon-search svg {
	display: block;
	width: 1.75em;
	height: 1.75em;
	cursor: pointer;
}

.opt-access--contrast .icon svg * {
	fill: var(--color);
	stroke: var(--color);
}




/**
 * Main Content
 */

.site-content {
	width: 100%;
	min-height: calc(100vh - 12em);
	background: var(--bkgrd);
}

.content-area {
	width: 100%;
	background: var(--bkgrd);
}

.site-content {
    -webkit-transition: -webkit-transform .28s, opacity .28s;
    -ms-transition: -o-transform .28s, opacity .28s;
    -o-transition: -o-transform .28s, opacity .28s;
    transition: transform .28s, opacity .28s;
}

.slide-out .site-content {
    -webkit-transform: translate3d( 0, 10em, 0 );
    -ms-transform: translate3d( 0, 10em, 0 );
    -o-transform: translate3d( 0, 10em, 0 );
    transform: translate3d( 0, 10em, 0 );
    opacity: 0;
}


/**
 * Table
 */

.flex-center {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flex-center svg {
	max-width: 100%;
	width: 40em;
	height: auto;
}

.section-special .flex-center svg {
	transform: translateY(4em);
}

.opt-access--contrast .section-special .flex-center svg path {
	fill: var(--color);
}

.linear-yellow { --linear-color: var(--color-yellow); }
.linear-orange { --linear-color: var(--color-orange); }
.linear-red { --linear-color: var(--color-red); }
.linear-pink { --linear-color: var(--color-pink); }
.linear-blue { --linear-color: var(--color-blue); }
.linear-purple { --linear-color: var(--color-purple); }
.linear-lime { --linear-color: var(--color-lime); }
.linear-green { --linear-color: var(--color-green); }
.linear-brown { --linear-color: var(--color-brown); }
.linear-black { --linear-color: var(--color); }
.linear-white { --linear-color: var(--bkgrd); }

.special-text {
	position: absolute;
	top: 1rem;
	left: 0;
	font-family: var(--font-reg);
	font-size: var(--font-title);
	line-height: 1;
	letter-spacing: -0.05em;
}

.special-text p {
	margin: 0;
}


/**
 * Grid content
 */

.content-grid {
	width: 100%;
	height: auto;
	background: var(--bkgrd-hover);
}

.content-grid .grid {
	width: 50%;
	padding: 2em;
}

.section-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0 2em;
}

.section-grid .column-100 {
	grid-column: span 2;
}


/**
 * Grid Layout
 */

.grid .entry-title {
	font-size: 2em;
}

.grid .entry-image img {
	width: 100%;
	height: auto;	
}

/**
 * Home
 */

.home.section:nth-of-type(odd) {
	color: var(--bkgrd);
	background: var(--color-green);
}
.home.section:nth-of-type(odd) .entry-title h2,
.home.section:nth-of-type(odd) .entry-content h3 {
	color: var(--color-lime);
}
.home.section:nth-of-type(even) .entry-title h2,
.home.section:nth-of-type(even) .entry-content h3 {
	color: var(--color-green);
}
.home.section:nth-of-type(3),
.home.section:nth-of-type(7) {
	color: var(--color);
	background: var(--color-lime);
}
.home.section:nth-of-type(3) .entry-title h2,
.home.section:nth-of-type(7) .entry-title h2,
.home.section:nth-of-type(3) .entry-content h3,
.home.section:nth-of-type(7) .entry-content h3 {
	color: var(--color-green);
}


/**
 * Site content
 */

.no-display {
	display: none;
	visibility: hidden;
}

.no-margin,
.no-margin p {
	margin: 0;
}

.no-padding {
	padding: 0!important;
}

.margin-top {
	margin-top: 1.5em;
}

.margin-bottom {
	margin-bottom: 1.5em;
}

.base-padding {
	padding: 2em 0 4em 0;
}

.section {
	padding: 2em 3em 3em 3em;
	border-bottom: var(--border-width) solid var(--color);
}

.section-text {
	padding-bottom: 12em;
}

.opt-access--contrast .section.bkgrd-black.color-white {
	background: var(--bkgrd);
}
.opt-access--contrast .section.bkgrd-black.color-white h1 {
	color: var(--color);
}

/*.page-template-template-user section:nth-of-type(3) {
	background: var(--bkgrd-pink);
	background: #eee;
}*/

article.faq .section-one {
	background: var(--bkgrd-pink);
}

section:nth-of-type(1) {
	padding-top: 6em;
}

section:nth-of-type(1) .entry-title h2 {
	margin: 0.5em 0;
}

section:nth-of-type(1) .entry-content,
.section-one .entry-content {
	margin-top: 4.75em;
}

.section.section-75 {
	padding-right: 33.333%;
}

section .entry-header h1,
section .entry-hat p,
section:not(.section-article) .font-size-6-5 p,
article .font-size-6-5 h1 {
	font-family: var(--font-bold);
	font-size: var(--font-title);
	line-height: var(--line-height-title);
}

section .entry-hat p,
article .font-size-6-5 h1 {
	margin: 0.5em 0;
}

section .entry-title h2,
section .result-name h2 {
	font-family: var(--font-bold);
	font-size: var(--font-title);
	line-height: var(--line-height-title);
}

section .entry-title h3 {
	font-size: 3em;
}

section .font-size-2 p,
article .font-size-2 {
	font-family: var(--font-bold);
	font-size: 2em;
	margin: 0.5em 0;
}

section .buttons .social-api {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.75em;
}


/**
 * Onglet attributaire
 */

.section-tab-attr {
	width: 100%;
	border-bottom: var(--border-width) solid var(--color);
}

.section-tab-attr ul {
	display: flex;
	flex-wrap: wrap;
	padding: 3em 1em 0 1em;
	overflow: hidden;
}

.section-tab-attr li {
	position: relative;
	font-size: 1.6em;
	color: #fff;
	list-style-type: none;
	padding: 0.5em 1em;
	margin: 0 0 -1px -1px;
	border-radius: 0.5rem 0.5rem 0 0;
	border: 1px solid #fff;
	cursor: pointer;
	transition: color .25s, background .25s;
}

.section-tab-attr li:before {
	position: absolute;
	content: "";
	left: -2em;
	bottom: -1px;
	display: block;
	width: calc(100vw + 2em);
	height: 1px;
	background: #fff;
}

.section-tab-attr li.is-active {
	font-family: var(--font-bold);
	color: var(--color-bkgrd);
	background: #fff;
	cursor: default;
}

.section-tab-attr li:hover {
	color: var(--color-bkgrd);
	background: #fff;
}

.tab-content {
	display: none;
}

.tab-content-active {
	display: block;
}

.tab-content section {
	padding-top: 2em;
}

.tab-content section .entry-title h2,
.tab-content section .entry-content {
	margin: 0;
}



/**
 * Site content
 */

.content-area .site-main {
	width: 100%;
}

.sc-logotype {
	margin: 3em 0;
}

.sc-logotype svg {
	width: 75%;
}

.sc-logotype svg * {
	fill: var(--bkgrd);
}

.section-page {
	width: 78em;
	max-width: 100%;
	margin: 0 auto;
}

.type-post .section-page {
	margin-top: 3em;
}

.entry-content-75 {
	padding-right: 25%;
}

.entry-content p {
	font-size: 1.6em;
}

/*.entry-content p:first-child {
	margin-top: 0;
}*/

.entry-content a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.entry-content ul,
.entry-content ol {
	margin: 2em 0;
}

.entry-content ul li ul {
	margin: 0;
}

.entry-content ul:not(.buttons) {
	margin-left: 0.75em;
}

.entry-content ol {
	margin-left: 0.75em;
}

.entry-content li {
	font-size: 1.6rem;
	margin-left: 1em;
}

.entry-content blockquote {
	margin: 4em 0;
	padding-left: 2em;
	border-left: 1.5px solid var(--color);
}

.entry-content blockquote p {
	font-family: var(--font-bold);
	font-size: 2em;
	line-height: 1.2;
}

.entry-content figure {
	margin: 3em 0;
}

.entry-content figure img {
	width: 100%;
	height: auto;
	border-radius: 1em;
}

.entry-content figure figcaption {
	font-size: 1.2em;
}

.entry-content span.read-more {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-position: under;
	cursor: pointer;
}

.entry-job {
	padding: 1em 0 2em 0;
}

.entry-job p {
	font-family: var(--font-bold);
	font-size: 2rem;
	margin: 0;
}


.type-job .entry-content blockquote {
	border-left-color: var(--color-pink);
}
.type-job .entry-content blockquote * {
	color: var(--color-purple);
}
.type-post .entry-content blockquote {
	border-left-color: var(--color-green);
}
.type-post .entry-content blockquote * {
	color: var(--color-green);
}

.statut span {
    display: table;
    padding: 0 4px;
    border-radius: 4px;
}
.statut span.grey { background: #D1D1D1; }
.statut span.green { background: #A9DFBF; }
.statut span.orange { background: #FAD7A0; }
.statut span.red { background: #F5B7B1; }


/**
 * Table
 */

.tc-table-content {
	max-height: 30em;
	margin: 2em 0;
	border-radius: 1em;
	overflow: scroll;
}

.opt-access--contrast .tc-table-content {
	border: var(--border-width) solid var(--color);
}

.tc-table-content table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bkgrd);
}

.tc-table-content table tbody {
	font-size: 1.6em;
}

.tc-table-content table tr {
	border-bottom: 1px solid var(--bkgrd-hover);
}

.opt-access--contrast .tc-table-content table tr {
	border-bottom: var(--border-width) solid var(--color)!important;
}

.tc-table-content table tr:last-child {
	border-bottom: none;
}

.tc-table-content table td {
	padding: 0.5em;
	width: 33.333%;
}

.tc-table-content table td.title {
	text-align: center;
	padding: 0.5em;
	width: 30%;
	border-bottom: 1px solid var(--bkgrd);
	background: var(--bkgrd-hover);
}

.opt-access--contrast .tc-table-content table td.title {
	border-bottom: var(--border-width) solid var(--color);
}

.tc-table-content table td.code {
	font-family: 'Multima-ExtraBold';
	width: 20%;
}

.tc-table-content table td.name {
	width: 50%;
	border-left: 1px solid var(--bkgrd-hover);
}

.opt-access--contrast .tc-table-content table td.code,
.opt-access--contrast .tc-table-content table td.name {
	border-left: var(--border-width) solid var(--color);
}

/**
 * Video
 */

.wp-block-embed-video {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	margin: 2em 0;
	overflow: hidden;
}

.wp-block-embed-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*border-radius: 1.125em;*/
}


/**
 * Buttons
 */

.buttons .button,
.edit-post-link {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	line-height: 1.2;
	list-style: none;
	margin: 0;
}

.buttons-theme {
	position: absolute;
	margin-top: -4em;
	pointer-events: none;
}

.buttons-list .button {
	margin: 0 0.5em 0.5em 0;
}

.buttons-list .button a.file:before {
	display: inline-block;
	content: "\f497";
	font-family: "dashicons";
	font-size: 1.2em;
	line-height: 0;
	transform: translate(-0.25em, 0.2em);
}

.buttons-list .button span {
	display: inline-table;
	text-decoration: none;
	text-align: center;
	padding: 0.3em 0;
	width: 7em;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	margin: 0 0.5em 0 0;
	transition: border-color .25s, background .25s;
	cursor: default;
}

.buttons-list span.caption {
	display: table;
	width: auto;
	list-style-type: none;
	margin: 0 0 1em 0;
}

.buttons-flex {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.8em;
}

.buttons-grid {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.8em;
}

.buttons-grid .button {
	margin-bottom: 0.5em;
}

.buttons .button a,
.buttons .button-date,
.buttons .button-theme,
.buttons-theme .button,
.edit-post-link a,
.search-form button {
	display: inline-table;
	color: #000;
	text-decoration: none;
	padding: 0.3em 0.8em;
	border: 1px solid var(--color);
	border-radius: 0.5rem;
	background: #fff;
	transition: border-color .25s, background .25s;
}

.table-marche .link-tab:after,
.buttons .button a[target=_blank]:after {
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	margin-left: 0.5em;
	background: url(icons/link.svg);
	background-size: contain;
}

.opt-access--contrast .table-marche .link-tab:after,
.opt-access--contrast-2 .table-marche .link-tab:after {
	filter: invert(1);
}

.buttons .button-back a {
	padding-left: 0.6em;
}

.buttons .button-back a:before {
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	margin-right: 0.5em;
	background: url(icons/back.svg);
	background-size: contain;
}

.buttons .button-back a:hover:before {
	filter: invert(100%);
}

.buttons .button-link a:after {
	content: "";
	display: inline-block;
	width: 0.65em;
	height: 0.65em;
	margin-left: 0.5em;
	background: url(icons/back.svg);
	background-size: contain;
	transform: rotate(180deg);
}

.buttons .button-date,
.buttons .button-theme,
.buttons-theme .button {
	color: inherit;
	border-color: inherit;
	background: transparent;
	margin-right: 0;
}

.buttons > ul {
	display: flex;
	column-gap: 2em;
}

.buttons > ul {
	display: flex;
	column-gap: 2em;
}

.entry-date p {
	margin-bottom: 0;
}

.entry-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 3em 0 -1em 0;
	gap: 2em;
}

.entry-info .buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}

/**
 * Select
 */

#iframe-before {
	position: relative;
	border-radius: 1em;
	overflow: hidden;
}

#iframe-before iframe {
	margin-top: -2.25em;
	min-height: 300px !important;
}

.group-select {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em 2em;
	padding: 1em 0 2em 0;
}

.custom-select label {
	font-size: 1.6em;
	color: var(--bkgrd);
	margin-right: 0.5rem;
	pointer-events: none;
}

.custom-select select {
	font-size: 1.6em;
	padding: 0.3em 0.8em;
	outline: none;
	border: 1px solid var(--color);
	border-radius: 0.5rem;
	background: var(--bkgrd);
	transition: background .3s;
}

.custom-select select:hover {
	background: var(--bkgrd-lime);
	cursor: pointer;
}


/**
 * Form
 */

.search-form {
	display: flex;
	align-items: center;
	margin: 2em 0;
}

.search-form input {
	font-family: var(--font-bold);
	font-size: var(--font-title);
	line-height: 1;
	width: 100%;
	padding: 0;
	border: none;
	outline: none;
	box-shadow: none;
	border-bottom: 1px solid var(--color);
	border-radius: 0;
	background: var(--bkgrd);
}

.search-form button.search-submit {
	font-size: 1.6em;
	line-height: 1.3;
	transition: color .25s, background .25s;
	cursor: pointer;
}


/**
 * Table
 */

.entry-table {
	margin: 3em 0;
}

.entry-table .table-marche ul,
.entry-table .table-menu ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0.3em 0;
}

.entry-table .table-marche {
	margin: 1em 0;
	border-radius: 0.5rem;
	border: var(--border-width) solid var(--color);
}

.entry-table .table-menu-file {
	margin: 2.25em 0 -0.75em 0;
}

.entry-table .table-marche ul li h3,
.entry-table .table-menu-file ul li h3 {
	font-size: 2rem;
}

.entry-table .table-marche ul li {
	color: #fff;
	padding: 0.2em 0.5em;
}

.entry-table .table-marche ul li,
.entry-table .table-menu ul li {
	font-size: 1.6em;
	list-style-type: none;
	display: flex;
	align-items: center;
}

.entry-table .table-menu ul li span {
	margin-left: 0.5em;
}

/*.entry-table .table-menu ul li {
	font-family: 'Multima-ExtraBold';
}*/

.entry-table .table-marche ul li:nth-of-type(1),
.entry-table .table-menu ul li:nth-of-type(1) {
	font-family: 'Multima-ExtraBold';
}

.entry-table .table-marche ul li:nth-of-type(2),
.entry-table .table-menu ul li:nth-of-type(2) {
	justify-content: center;
}

.entry-table .table-marche ul li:nth-of-type(3),
.entry-table .table-menu ul li:nth-of-type(3) {
	justify-content: flex-end;
}


/**
 * Sticker
 */

.entry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
	gap: 2em;
	margin: 3em 0;
}

.entry-grid.grid-scroll {
	position: relative;
	grid-auto-flow: column;
	grid-template-columns: calc(30em + 3em);
	grid-auto-columns: 30em;
	width: calc(100% + 6em);
	margin: 2em 0 4em -3em;
	padding: 4px 0;
	overflow-x: auto;
	scrollbar-width: none;
    -ms-overflow-style: none;
}

.section-grid .column-100 {
	position: relative;
}

.section-grid .btn--scroll {
	position: absolute;
	display: flex;
	align-items: center;
	top: calc(2rem + 4px);
	left: -3rem;
	width: 3rem;
	height: calc(100% - 6rem - 8px);
	/*cursor: w-resize;*/
	z-index: 1;
	/*background: linear-gradient(to right, var(--bkgrd) 0, transparent 100%);*/
}

.section-grid .btn--scroll:before,
.section-grid .btn--scroll:after {
	position: absolute;
	content: "";
	width: 3em;
	height: 3em;
	border-radius: 50%;
	background: var(--bkgrd);
}

.section-grid .btn--left:before,
.section-grid .btn--left:after {
	left: 1em;
}

.section-grid .btn--right:before,
.section-grid .btn--right:after {
	right: 1em;
}

.section-grid .btn--scroll:after {
	border: 1px solid var(--color);
	background: url(icons/back.svg) center center no-repeat;
	background-size: 50% 50%;
}

.section-grid .btn--right {
	left: calc(100vw - 6rem);
	/*cursor: e-resize;*/
	/*background: linear-gradient(to left, var(--bkgrd) 0, transparent 100%);*/
}

.section-grid .btn--right:after {
	border: 1px solid var(--color);
	background: url(icons/next.svg) center center no-repeat;
	background-size: 50% 50%;
}

.entry-grid.grid-avatar {
	grid-template-columns: calc(20em + 3em);
	grid-auto-columns: 20em;
	width: 100vw;
}

.entry-grid.grid-actu {
	padding-top: 4em;
}

.entry-grid.grid-scroll::-webkit-scrollbar {
    display: none;
}

.entry-grid.grid-scroll .sticker {
    width: 30em;
}

.entry-grid.grid-avatar .sticker {
    width: 20em;
}

.entry-grid.grid-scroll .sticker:first-child {
	margin-left: 3em;
}

.entry-grid.grid-scroll .sticker:last-child {
	margin-right: 3em;
}

.opt-access--contrast .entry-grid .sticker.color-white p {
	color: var(--color);
}
.opt-access--contrast .entry-grid .sticker.color-black p,
.opt-access--contrast .entry-grid .sticker.color-black p a {
	color: var(--bkgrd);
}

.entry-grid.grid-isotope {
	display: block;
	column-count: 3;
	column-gap: 2em;
}

.entry-grid.grid-isotope .list {
	break-inside: avoid-column;
	margin-bottom: 2em;
}

.entry-grid.grid-isotope .list p {
	font-size: 1.6em;
	margin: 0;
}

.sticker {
	position: relative;
	width: 100%;
	padding: 2em;
	border-radius: 1em;
	border: var(--border-width) solid var(--color);
}

.sticker-link,
.sticker-actu {
	padding: 0;
	transition: color .25s, background .25s;
}

.sticker-actu {
	border: none;
}

.sticker-link .enlarge-link {
	display: table;
	width: 100%;
	height: 100%;
	padding: 2em;
}

.sticker-link .enlarge-link a,
.sticker-actu .enlarge-link a {
	color: inherit;
}

.sticker figure {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	margin: 1.5em 0;
	border-radius: 1em;
	overflow: hidden;
}

.grid-actu .sticker figure {
	padding-bottom: 70%;
	margin-top: 0;
}

.sticker figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sticker ul {
	margin-top: 1.6em;
}

.sticker p {
	font-size: 1.6em;
}

.sticker p:last-child {
	margin-bottom: 0;
}

.sticker li {
	font-size: 1.6em;
	list-style-type: " – ";
	margin-left: 0.75em;
	color: var(--bkgrd);
}

.sticker.font-serif p {
	font-family: var(--font-serif);
}

.sticker-cat:hover .marches-soon { color: var(--color-gray); }
.sticker-cat:hover .marches-current { color: var(--color-green); }
.sticker-cat:hover .marches-closed { color: var(--color-red); }

.sticker-cat h3 {
	font-size: 3em;
}

.sticker-cat .marches {
	margin-top: 2em;
}

.sticker-cat .marches p {
	margin: 0.25em 0;
}

.sticker-cat .marches-name {
	font-size: 2em;
}



.grid-logo-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid-logo-6 {
	grid-template-columns: repeat(6, 1fr);
}

.grid-logo .sticker {
	padding: 0;
}

.opt-access--contrast .grid-logo .sticker {
	background: var(--color);
}

.grid-logo figure {
	margin: 0;
	padding-bottom: 56.25%;
}

.grid-logo figure img {
	top: 50%;
	left: 50%;
	width: 85%;
	height: 85%;
	transform: translate(-50%, -50%);
	object-fit: contain;
	filter: grayscale(100%);
	transition: filter .5s;
}

.grid-logo figure:hover img,
.grid-logo .enlarge-link:hover figure img {
	filter: grayscale(0%);
}

.grid-logo p {
	text-align: center;
	margin: 1rem;
}

.grid-logo .enlarge-link:after {
	display: block;
	position: absolute;
	top: 1em;
	right: 1em;
	content: "";
	width: 1em;
	height: 1em;
	opacity: 0;
	transition: opacity .5s;
}

.grid-logo .enlarge-link:hover:after {
	background: url(icons/link.svg) no-repeat;
	background-size: contain;
	opacity: 1;
}

.recipe-list p,
.job-list p {
	margin: 0;
}

.recipe-list p:last-child,
.job-list p:last-child {
	margin-bottom: 1em;
}


/**
 * 5.2 - MAP
 */

#map {
	position: relative;
	width: 100%;
	height: 40vw;
	/*height: 0;
	padding-bottom: 56.25%;*/
	overflow: hidden;
}

#map .mapboxgl-canvas {
	border-radius: 0.5rem;
}


/**
 * Media
 */

.gallery-grid,
.entry-iframe {
	display: flex;
	gap: 2em;
	margin-top: 3em;
}

.entry-iframe {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
	border-radius: 1rem;
	background: #eee;
}

.entry-iframe span {
	display: block;
	font-size: 1.6em;
	text-align: center;
	color: var(--color-grey);
	margin-top: 2em;
	width: 100%;
	height: auto;
}

.entry-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-logo {
	width: 10em;
	height: auto;
	margin: 2em 0;
}

.gallery-grid figure {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 33.333%;
	margin: 0;
	border-radius: 1em;
	background: #ccc;
	overflow: hidden;
}

.gallery-grid figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-image:not(.gallery-grid) figure,
.entry-logo figure {
	display: flex;
	border-radius: 1em;
	overflow: hidden;
}

.entry-image:not(.gallery-grid) figure img,
.entry-logo figure img {
	width: 100%;
	height: auto;
}

.image-cover img {
	width: 100%; 
	height: auto;
	border-radius: 0.5rem;
	border: 1px solid var(--color);
}

.entry-content:not(.company) .list-file:not(:first-child) {
	margin-top: 3em;
}

.list-file ul {
	margin: 0 0 2em 0;
}

.list-file ul[data-name="file_bpu_repeater"] li.button:not(:last-of-type) {
	opacity: .25;
}

/*.list-file ul[data-name="file_bpu_repeater"] li.button:not(:last-of-type) span:not(.caption) {
	background: #f00;
}
.list-file ul[data-name="file_bpu_repeater"] li.button:not(:last-of-type) a:hover {
	border-color: #f00;
	background: #f00;
}*/

.list-file ul li.file-label {
	list-style-type: none;
	margin: 0.5em 0;
}

.list-file ul li.button a.file {
	max-width: calc(100% - 7.5em);
}

.company {
	margin-bottom: 6em;
}

.company > h4 {
	font-size: 1.6em;
}

.company > h4 + p {
	margin-top: 0.5em;
}


/**
 * Slider
 */

.section-slider {
	width: 100%;
	height: auto;
}

.section-slider.no-mouse {
	pointer-events: none;
}

.section-slider .slider-cell {
	width: 100%;
	height: auto;
}

.section-slider .slider-cell blockquote {
	margin: 0;
}

.section-slider .slider-cell blockquote p {
	font-family: var(--font-bold);
	font-size: var(--font-under-title);
	line-height: 1;
	margin: 0;
}

.section-slider .slider-cell blockquote footer {
	font-size: 1.6em;
	margin: 1em 0;
}


/**
 * Social
 */

section .spf_container {
	gap: 2rem;
	padding: 0;
}

section .spf_container .spf_item {
	border-radius: 1em;
}

section .spf_caption {
	display: none !important;
}

section .spf_container .spf_item img {
	transform: scale(1) !important;
}

section .Text__Control-sc-1748e54-2 {
	color: var(--color-green);
	opacity: 1;
}

/*section .Main__Inner-sc-129s5zi-0 {
	max-width: 100% !important;
}*/


/**
 * Not Found
 */

.not-found .entry-header {
	text-align: center;
}

.not-found .entry-header .entry-title {
	font-size: 2em;
}


/**
 * Site map
 */

.sitemap .entry-content h2 {
	font-weight: bold;
	margin-top: 2rem;
}

.sitemap .entry-content ul {
	margin: 0;
}

.sitemap .entry-content ul > ul {
	padding-left: 2rem;
}

.sitemap .entry-content li {
	font-size: 1.6rem;
	line-height: 1.6;
}

.sitemap .entry-content > ul li:before {
	content: none;
}


/**
 * Page
 */

#footer {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em;
	margin-top: 12em;
	padding: 3em;
	background: var(--bkgrd);
}

#footer:before {
	position: absolute;
	top: 0;
	left: 3em;
	content: "";
	width: calc(100% - 6em);
	height: 1px;
	background: var(--color);
}

.footer-logo .tc-logo svg {
	width: 28em;
	height: auto;
}

.footer-logo .tc-logo svg path {
	fill: var(--color);
}

.footer-social .tc-contact li,
.footer-navigation .menu li {
	font-size: 1.6em;
	line-height: 1.3;
	list-style: none;
}

.footer-social .tc-social {
	display: flex;
	column-gap: 1em;
	margin: 1em 0;
}

.footer-social .tc-social .social a {
	padding: 0;
}

.footer-social .tc-social .social div {
	position: relative;
	width: 2.85rem;
	height: 2.85rem;
	background: red;
}

.footer-social .tc-social .social div.social-fb {
	background: url(icons/social/facebook.svg) center center no-repeat;
	background-size: 60%;
}
.footer-social .tc-social .social div.social-ig {
	background: url(icons/social/instagram.svg) center center no-repeat;
	background-size: 60%;
}
.footer-social .tc-social .social div.social-in {
	background: url(icons/social/linkedin.svg) center center no-repeat;
	background-size: 60%;
}
.footer-social .tc-social .social div.social-yt {
	background: url(icons/social/youtube.svg) center center no-repeat;
	background-size: 60%;
}

.footer-social .tc-social .button a:hover {
	border-color: var(--bkgrd);
	filter: invert(100%);
	transition: filter .5s;
}

.footer-social .tc-social li a[target=_blank]:after {
	content: none;
}

.footer-navigation .menu li a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-navigation .menu li a[target=_blank]:after {
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	margin-left: 0.5em;
	background: url(icons/link.svg);
	background-size: contain;
}


#footer-button-opt {
	position: fixed;
	left: 1em;
	bottom: 1em;
	z-index: 9;
}

#footer-button-opt a {
	display: table;
	font-size: 1.6em;
	text-decoration: none;
	color: var(--color);
	padding: 0.3em 0.8em;
	border: var(--border-width) solid var(--color);
	border-radius: 0.5rem;
	background: var(--bkgrd);
	box-shadow: 0 1px 0.75rem rgba(0, 0, 0, 0.5);
	transition: color .25s, background .25s;
}

#footer-button-opt a:hover {
	color: var(--bkgrd);
	background: var(--color);
}

.opt-access--lineheight #footer-button-opt a span {
	line-height: 1.2;
}



/**
 * Media Queries
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}


/**
 * >= 710px
 */

@media screen and (min-width: 1600px) {
	html {
		font-size: 84%;
	}
	section .WidgetBackground__Content-sc-1ho7q3r-2:after {
		bottom: 0;
	}
}

@media screen and (min-width: 1280px) {
	#site-navigation {
		display: block !important;
	}
}

@media screen and (max-width: 1279px) {
	.wp-search--open {
		flex-direction: row-reverse;
	}
	.wp-search--open .icon-menu-min {
		display: block;
	}
	.wp-search--open .icon-menu-min.open svg line.cls-h {
		stroke: var(--bkgrd);
	}
	#site-navigation {
		display: none;
		position: absolute;
		top: calc(100% + 1em);
		left: 0;
		width: 100%;
		height: auto;
		border: var(--border-width) solid var(--color);
		border-radius: 0.5rem;
		box-shadow: 0 1px 0.75rem rgba(0, 0, 0, 0.5);
		background: var(--bkgrd);
	}
	#site-navigation .menu {
		display: block;
		margin: 0;
		padding: 1rem 0;
	}
	#site-navigation .menu li {
		margin: 1rem 2.5rem;
	}
	.opt-access--contrast #site-navigation {
		left: -2px;
		width: calc(100% + 4px);
	}
	.site-title {
		flex: 1;
	}
}

@media screen and (max-width: 1024px) {
	#iframe-before iframe {
		margin-top: -7.5em !important;
	}
}

@media screen and (max-width: 960px) {
	html { 
		font-size: 58%;
	}
	.entry-grid {
		grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
	}
	.entry-grid.grid-isotope {
		column-count: 2;
	}
}

@media screen and (max-width: 780px) {
	.site-title *,
	#site-navigation .menu li {
		font-size: 2rem;
	}
	.list-words {
		height: 60vw;
	}
	.section-grid .column-50 {
		grid-column: span 2;
	}
	.section,
	#footer {
		padding-left: 2em;
		padding-right: 2em;
	}
	.entry-content-75 {
		padding-right: 0;
	}
	section .entry-header h1,
	article .font-size-6-5 h1,
	section .entry-title h2,
	section .result-name h2,
	section .entry-hat p,
	section:not(.section-article) .font-size-6-5 p {
	  	overflow: hidden;
		text-overflow: ellipsis;
		padding-bottom: 0.5rem;
	}
	#map {
		height: 75vh;
	}
	.wp-block-embed-video {
		width: 100%;
		padding-bottom: 56.25%;
	}
	#footer {
		display: flex;
		flex-wrap: wrap;
	}
	#footer .footer-social {
		order: 3;
		margin: 2em 0 3em 0;
	}
	#footer .footer-navigation {
		margin-top: 2em;
	}
}

@media screen and (max-width: 600px), print {
	:root {
		--font-title: 4em;
		--font-under-title: 2.8em;
	}
	#wpadminbar {
		position: fixed;
	}
	#option-navigation .dashicons-before {
		width: 2.1rem;
		height: 2rem;
		overflow: hidden;
		cursor: pointer;
	}
	section .buttons .social-api {
		justify-content: flex-start;
	}
	.entry-grid.grid-scroll:not(.grid-avatar) {
		grid-auto-columns: 25em;
	}
	.entry-grid.grid-scroll:not(.grid-avatar) .sticker {
		width: 25em;
	}
	.entry-grid:not(.grid-logo) {
		grid-template-columns: 1fr;
	}
	.section-grid .column-50 {
		grid-column: span 2;
	}
	.entry-grid.grid-isotope {
		column-count: 1;
	}
	.gallery-grid {
		flex-wrap: wrap;
	}
	.gallery-grid figure {
		padding-bottom: 66.666%;
	}
	.wp-block-embed__undefined .mb-h6 {
		font-size: 1.6em;
	}
	#footer {
		margin-top: 2em;
	}
	.footer-navigation .menu li:not(:last-child):after {
		margin: 0 1em;
	}
}


@media print {
	#masthead {
		position: relative;
	}
	#footer {
		display: block;
	}
	#footer .footer-social {
		margin: 2em 0 3em 0;
	}
    .no-print {
        display: none;
    }
    a[target=_blank]:after {
        content: " (" attr(href) ")";
    }
    @page {
        margin: 1in;
    }
}
