/*!
Theme Name: Point Fort Environnement
Theme URI: http://underscores.me/
Author: IPSO
Author URI: https://www.studioipso.fr
Description: Thème Wordpress sur-mesure pour le site vitrine du Syndicat Mixte du Point Fort.
Version: 1.0
Tested up to: 5.6.2
Requires PHP: 7,1
Text Domain: pointfort
Tags: site-vitrine, carte-interactive, moteur-de-recherche, 

PointFortEnvironnement is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    scroll-behavior: smooth;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 900;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
    -moz-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
    outline: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 0;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
    -moz-appearance: none;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
    -moz-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
    -moz-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
    font-size: 18px;
    margin-top: 0px;
	margin-bottom: 1.2em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #f9f9f9;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
    margin-top: 0px;
	margin-bottom: 1.5em;
	max-width: 100%;
	overflow: auto;
	padding: 1em;
}

code,
kbd,
tt,
var {
    font-size: 16px;
    background-color: #f9f9f9;
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	border-bottom: 2px dotted var(--primary-color) !important;
    height: 0px;
    margin: 1.5em 0;
    border: 0;
}

ul,
ol {
	margin: 0 0 1.5em 0;
    padding: 0 0 0 1em;
    font-size: 18px;
}

ul {
	list-style: none;
}

ol {
	list-style: none;
    padding-left: 0;
} 

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--secondary-color);
}

a:visited {
	color:var(--secondary-color);
}

a:hover,
a:focus,
a:active {
	color: var(--secondary-hover-color);
    outline: 0;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

.entry-content a[target="_blank"] {
    position: relative;
}

.entry-content a[target="_blank"]:after {
  content: url('img/icon-external-link.png');
  margin: 0 3px 0 5px;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
    outline: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 2.2em;
}

.widget:last-child {
	margin-bottom: 5px;
} 

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
figcaption {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

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

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

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

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}






























/* ------------------------------------------------------------------------------ */
/* ----- FONTS ----- */
/* ------------------------------------------------------------------------------ */

/* Lato - 300 */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: local(''),
       url('fonts/lato-v17-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/lato-v17-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* Lato - 400 */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local(''),
       url('fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/lato-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* Lato - 700 */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;   
    src: local(''),
       url('fonts/lato-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/lato-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* Lato - 900 */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: local(''),
       url('fonts/lato-v17-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/lato-v17-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}


/* ------------------------------------------------------------------------------ */
/* ----- GENERAL SETTINGS ----- */
/* ------------------------------------------------------------------------------ */

:root {
	--corset: 1280px;
	--header-height: 100px;

	--primary-color: #90b91f;
	--secondary-color: #4b8f2b;
    --tertiary-color: #ed7700;
    --black-color: #333333;

    --primary-hover-color: #a1c441;
    --secondary-hover-color: #659f4a;
}

* {
    font-family: 'Lato', Arial;
    font-weight: 400;
}

body {
    overflow-x: hidden;
}

.corset {
    margin: 0 auto;
    max-width: var(--corset);
} 

body:not(.home) .site-content {
	margin-top: var(--header-height);
	padding: 0px;
}

::-moz-selection, ::selection { 
    background: rgba(75, 143, 43, 0.75);
    color: #fff;
}


/* --- TITRES --- */
h2 {
    margin-top: 0px;
    margin-bottom: 0.5em;
    color: var(--tertiary-color);
    font-weight: 900;
    font-size: 30px;
    line-height: 1.2;
}

h3 {
    margin-top: 0px;
    margin-bottom: 0.5em;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
}

h4 {
    margin-top: 0px;
    margin-bottom: 0.5em;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
}


/* --- LISTES --- */
.entry-content ol li {
    margin-bottom: 0.5em;
    counter-increment: cmb-counter;
}

.entry-content ol li:last-child {
    margin-bottom: 0;
}

.entry-content ol li::before {
    margin-right: 0.4em;
    content: counter(cmb-counter) ".";
    color: var(--primary-color);
}

.entry-content ul li {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 10px;
}

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

.entry-content ul li:before {
    content:'';
    position: absolute;
    top: 0.4em;
    left: -20px;
    height: 10px;
    width: 25px;
    
    background: radial-gradient(ellipse at center, var(--primary-color) 0%, var(--primary-color) 30%, transparent 30%);
    background-size: 13px 13px;
    background-repeat: repeat;
    z-index: -1;
}

.entry-content .wpb_content_element ul li:before {
	z-index: 0;
}



/* --- BOUTONS --- */
.btn-primary {
    display: inline-block;
    padding: 1em 1.5em;
    border-radius: 2em;    
    color: #fff;
    background: var(--primary-color);
    font-size: 18px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.btn-primary:visited, .btn-primary:focus {
    color: #fff;
    outline: 0;
}

.btn-primary:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

/* --- BLOCKQUOTE --- */
blockquote {
    margin: 0 0 1.5em 0;
    padding: 1em 1em 1em 1.5em;
    border-left: 3px solid var(--primary-color);
    color: var(--black-color);
    background: #f9f9f9;
}

blockquote p {
    margin: 0;
    font-size: 18px;
    font-style: italic;
}

/* ------------------------------------------------------------------------------ */
/* ----- HEADER ----- */
/* ------------------------------------------------------------------------------ */

#masthead {
	position: fixed;
	top: 0px;
	width: 100%;
	height: var(--header-height);
	background: #fff;
    z-index: 100;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.3);
}  

.header {
    position: relative;
    padding: 20px;
	height: var(--header-height);
} 

.logo {
    position: absolute;
	display: inline-block;
	left: 20px;
    top: 50%;
    transform: translateY(-50%);
	height: calc(var(--header-height) - 40px); 
	z-index: 100;
}
.custom-logo-link {
	height: calc(var(--header-height) - 40px);
}

.custom-logo-link img{
    height: 100%;
    width: auto;
}

/* --- MENU DE NAVIGATION --- */
#site-navigation {
	display: inline-block;
}

#site-navigation > div {
    position: absolute;
	top: 50%;
	left: 280px;
    transform: translateY(-50%);
}

#site-navigation #primary-menu > li {
	margin-left: 30px;
	height: calc(var(--header-height) - 40px);
	line-height: calc(var(--header-height) - 40px);
}

#site-navigation #primary-menu > li:first-child {
	margin-left: 0px;
}
 
#site-navigation #primary-menu > li > a {
	display: inline;
    padding: 20px 0px;
	color: var(--secondary-color);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

#site-navigation .menu li a:hover{
	cursor: pointer; 
}

#site-navigation #primary-menu > li.current_page_item > a {
    color: var(--primary-color);
}


/* Point */
#primary-menu > li > .sub-menu:before {
    content: '\002022';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 25px;
    transition: 0.3s; 
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}


/* --- SOUS-MENU --- */
#site-navigation .sub-menu {
	display: none;
    padding: 15px;
	width: auto;
    left: 0px;
	top: 60px;
    
    border-radius: 0px 0px 1em 1em;
	background-color: #fff;
	line-height: 1.1;
	box-shadow: unset;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

#site-navigation .menu-item-has-children:hover > .sub-menu {
	display: block;
    left: 50%;
    transform: translate3d(-50%,0,0);
}

#site-navigation .sub-menu > li {
	display: inline-block;
	z-index: 20;
}

#site-navigation .sub-menu > li:not(:last-child) {
	margin-bottom: 5px;
}

#site-navigation #primary-menu .sub-menu li > a {
    position: relative;
    display: inline-block;
	color: var(--black-color);
	font-size: 14px;
	font-weight: normal;
    text-align: center;
	text-transform: initial;
	transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

#site-navigation #primary-menu .sub-menu li > a:hover {
	color: var(--primary-color);
}

#site-navigation #primary-menu .sub-menu li.current-menu-item > a {
	color: var(--primary-color);
}

#site-navigation #primary-menu .sub-menu li.menu-item-has-children:after {
    content: '>';
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

/* --- SOUS-MENU > SOUS-MENU --- */
#site-navigation #primary-menu .sub-menu .sub-menu {
    position: absolute;
    display: none;
    top: 0px;
    left: 100%;
    padding: 5px; 
    transform: translate3d(0,-50%,0);
    background: transparent;
    border-radius: 0px;
}

#site-navigation #primary-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
    position: absolute;
	display: block;
    top: 0px;
    transform: translate3d(0,-50%,0);
    padding-left: 15px !important;
    padding: 0;
}

#site-navigation #primary-menu .sub-menu .sub-menu li {
    margin-bottom: 0px;
    padding: 5px;
    background: var(--primary-color);
}

#site-navigation #primary-menu .sub-menu .sub-menu li > a {
    display: block;
    color: #fff;
}

/* --- BARRE DE RECHERCHE --- */
.header-searchbar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-searchbar form.is-search-form .is-search-input {
    font-size: 15px !important;
    font-family: 'Lato', Arial;
    font-weight: 400;
    
    border-top: unset !important;
    border-right: unset !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    border-left: unset !important;
}

.header-searchbar form.is-search-form .is-search-icon {
    background: transparent !important;
    height: auto !important;
    border: unset !important;
    cursor: pointer;
}

.header-searchbar form.is-search-form > label {
    max-width: 180px;
}



/* ------------------------------------------------------------------------------ */
/* ----- MODULE - RESPONSIVE MENU ----- */
/* ------------------------------------------------------------------------------ */

#rmp-container-24 {
	margin-top: var(--header-height) !important;
} 

#rmp-container-24 > div > ul > li > .rmp-menu-item-link {
	text-transform: uppercase;
	font-weight: 400;
}

/* --- TRIGGER --- */
#rmp_menu_trigger-24 {
    top: 0px !important;
	right: 10px !important;
    width: var(--header-height) !important;
    height: var(--header-height) !important;
}

#rmp_menu_trigger-24 .rmp-trigger-box {
    top: -10px !important;
}

#rmp_menu_trigger-24 .responsive-menu-pro-inner, #rmp_menu_trigger-24 .responsive-menu-pro-inner:before, #rmp_menu_trigger-24 .responsive-menu-pro-inner:after {
	border-radius: 0px; 
}

#rmp_menu_trigger-24::after {
    content: "Menu";
    position: absolute;
    bottom: 11px;
    right: 15px;
    color: var(--secondary-color);
    font-family: 'Lato';
    font-size: 11px;
    text-transform: uppercase;
}



/* ------------------------------------------------------------------------------ */
/* ----- FOOTER ----- */
/* ------------------------------------------------------------------------------ */

.site-footer {
    padding: 20px;
    background: var(--black-color);
}

.site-footer .footer-wrapper {
    display: flex;
}

.site-footer .footer-wrapper > div {
    flex-grow: 1;
    padding: 0px 10px;
}

.site-footer .footer-adresse img {
    display: block;
    margin-bottom: 1em;
    height: 60px;
    width: auto;
}

.site-footer .footer-adresse p {
    margin-bottom: 0.5em;
}

.site-footer .footer-adresse strong {
    color: #fff;
    font-weight: 700;
}

.site-footer .footer-mentions {
    align-self: flex-start;
}

.site-footer .footer-mentions * {
    margin-bottom: 0px;
    color: #9a9a9a;
} 

.site-footer .footer-mentions p {
    margin-top: 25px;
}

.site-footer .titre-footer {
    margin-top: 0px;
    margin-bottom: 0.5em;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer p {
    margin-top: 0px;
    margin-bottom: 1.5em;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.site-footer a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.site-footer .footer-social a > img {
    display: block;
    height: 30px;
    width: auto;
}

.footer-reseaux {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* ------------------------------------------------------------------------------ */
/* ----- PARTENAIRES ----- */
/* ------------------------------------------------------------------------------ */

#partenaires {
    margin-top: 3em;
    box-shadow: 0px 0px 8px -5px rgba(0, 0, 0, 0.3);
}

.listing-partenaire {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
    padding: 20px;
}

.partenaire {
	display: flex;
	flex: initial;
	flex-direction: column;
	justify-content: center;
	margin: 10px;
	width: 150px;
	height: 120px;
}

.partenaire img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}



/* ------------------------------------------------------------------------------ */
/* ----- TEMPLATE-PARTS / CONTENT-HOME ----- */
/* ------------------------------------------------------------------------------ */

.home .site-content {
    margin-top: calc(var(--header-height) + 20px);
}

.home .home-landing {
    position: relative;
    margin: 0px 20px;
    height: calc(100vh - 120px);
    overflow: hidden;
}

#video-landing {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%; 
}

#vimeo-landing {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%; 
    pointer-events: none;
}

#vimeo-landing iframe {
    width: 100vw;
   height: 56.25vw;
   min-height: 100vh;
   min-width: 177.77vh;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   pointer-events: none;
} 

/* ------------------------------------------------------------------------------ */
/* ----- INC / HOME-SLIDER ----- */
/* ------------------------------------------------------------------------------ */

.home-slider, .swiper-container {
    height: 100%;
}

.home-slider .swiper-slide {
	position: relative;
	height: 100%;
	width: 100%; 
	object-fit: cover;
	overflow: hidden;
	background-size: cover !important;
	background-position: center !important;
}

.home-slider .swiper-slide .content-slide {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	margin: 0 auto;
	width: 100%;
	max-width: var(--corset);
}

.home-slider .swiper-slide .content-slide .content-slide-wrapper {
    padding: 20px; 
    max-width: 50%;
}

.home-slider .swiper-slide h2, .home-slider .swiper-slide h1 {
    position: relative;
    display: inline-block;
	margin: 0 auto;
	padding: 15px 25px;
    
    background: var(--secondary-color);
	color: #fff;
	font-family: 'Lato', Arial;
	font-size: 50px;
	font-weight: 900;
	text-align: left;
	line-height: 1.1;
} 

.home-slider .swiper-slide h2:after, .home-slider .swiper-slide h1:after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -38px;
    height: 45px;
    width: 75px;
    
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
} 

.home-slider .swiper-slide .content-slide p {
    margin-top: 2em;
    margin-bottom: 0px;
    color: #ffffff;
    font-family:'Lato', Arial;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.home-slider .swiper-slide .content-slide a.btn-primary {
    margin-top: 3em;
}

/* --- PAGINATION --- */
.home-slider .swiper-pagination {
    padding-left: 20px;
    text-align: left;
}

.home-slider .swiper-pagination-bullet {
    height:14px;
    width:14px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.home-slider .swiper-pagination-bullet-active, .home-slider .swiper-pagination-bullet-active:hover {
    background: #fff;
}

.home-slider .swiper-pagination-bullet:hover {
    background-color: rgba(255,255,255,0.5);
} 



/* ------------------------------------------------------------------------------ */
/* ----- INC / ACTU-SLIDER ----- */
/* ------------------------------------------------------------------------------ */

.actu-slider {
    position: relative;
}

.actu-container {
    margin-left: 10%;
    height: 100%;
    overflow: hidden;
}

.actu-slider .swiper-slide {
	position: relative;
}

.actu-slider .actualite a {
    text-decoration: none;
}

.actu-slider .actualite .actualite-img {
    height: 300px;
}

.actu-slider .actualite .actualite-img > img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.actu-slider .actualite .actualite-content {
    position: relative;
    left: 50%;
    transform: translate3d(-50%,-100px,0);
    padding: 25px;
    max-width: 500px;
    width: calc(100% - 120px);
    background: var(--secondary-color);    
}

.actu-slider .actualite .actualite-content:after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -38px;
    height: 45px;
    width: 75px;
    
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
} 

.actu-slider .actualite .actualite-category {
    margin-bottom: 10px;
    font-size: 0px;
}

.actu-slider .actualite .actualite-category a {
    display: inline-block;
    padding: 0.4em 1em;
    border-radius: 2em;    
    color: #fff;
    background: var(--primary-color);
    font-size: 12px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
} 

.actu-slider .actualite .actualite-category a:not(:first-child) {
    margin-left: 1em;
}

.actu-slider .actualite .actualite-category a:visited, .actu-slider .actualite .actualite-category a:focus {
    color: #fff;
}

.actu-slider .actualite .actualite-category a:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

.actu-slider .actualite .actualite-content h3 {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0.3em;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-transform: initial;
    line-height: 1.2;
}

.actu-slider .actualite .actualite-content .excerpt {
    display: inline-block;
    margin-bottom: 1em;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}


/* --- ACTU-HEADER --- */
.actu-header {
    position: relative;
    margin-top: 5em;
    margin-bottom: 2.5em;
}

.actu-header h2 {
    margin-bottom: 0px !important;
}

/* --- ACTU-NAVIGATION --- */
.actu-navigation {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.actu-navigation .actu-nav {
    position: relative;
    display: inline-block;
    background: var(--secondary-color);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.actu-navigation .actu-nav:hover {
    background: var(--secondary-hover-color);
    cursor: pointer;
}

.actu-navigation .swiper-button-disabled {
    background: var(--secondary-hover-color);
    cursor: default !important;
}

.actu-navigation .actu-nav > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    width: 30px;
    height: auto;
}

.actu-navigation .actu-swiper-button-prev {
    margin-right: 50px;
}

.actu-navigation .actu-swiper-button-prev:after {
    content:"";
    position: absolute;
    display: inline-block;
    right: -45px;
    top: 50%;
    transform: translate3d(0,-50%,0);
    width: 40px;
    height: 0px;
    border-bottom: 5px dotted var(--primary-color);

}



/* ------------------------------------------------------------------------------ */
/* ----- INC / ACCES-RAPIDES ----- */
/* ------------------------------------------------------------------------------ */

.acces-rapides {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 20px;
    padding-left: 40px;
    max-width: 280px;
    width: 280px;
    background: linear-gradient(rgba(75, 143, 43,0.9),rgba(75, 143, 43,0.9)) ,url('img/bg-feuille.jpg');
    background-size: cover;
    z-index: 40;
}

.acces-rapides strong {
    position: relative;
    display: inline-block;
    margin-bottom: 2em;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    text-align: left;
}

.acces-rapides strong:after {
    content: "";
    position: absolute;
    bottom: -7px;
    right: -30px;
    height: 35px;
    width: 50px;
    
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 13px 13px;
    background-repeat: repeat;
    z-index: -1;
}

.acces-rapides ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.acces-rapides ul li {
    position: relative;
    margin-bottom: 2.5em;
}

.acces-rapides ul li:last-child {
    margin-bottom: 1.5em;
}

.acces-rapides li > a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}

.acces-rapides li > a > span {
    position: absolute;
    top: 50%;
    left: -65px;
    transform: translateY(-50%);
    height: 50px;
    width: 50px;
    
    background: var(--primary-color);
    border-radius: 50%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.acces-rapides li > a > span > img {
    display: block;
    padding: 10px;
    height: 50px;
    width: 50px;
    object-position: center center;
}

.acces-rapides li > a:hover > span {
    transform: scale(1.1);
    transform-origin: 30px 280px;
    background: var(--primary-hover-color);
} 



/* ------------------------------------------------------------------------------ */
/* ----- TEMPLATE-PARTS / CONTENT-HOME ----- */
/* ------------------------------------------------------------------------------ */

.home h2 {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0.8em;
    font-size: 60px;
    font-weight: 900;
    color: var(--tertiary-color);
    line-height: 1.2;
}

.home .h2-subtitle {
    margin: 0;
    display: block;
    font-size: 40px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
}

#carte-interactive {
    padding: 0px;
}


/* --- POURQUOI FAIRE DU TRI --- */
#pourquoi-faire-du-tri {
    margin-top: 100px;
}

#pourquoi-faire-du-tri .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#pourquoi-faire-du-tri .wrapper > div {
    width: 50%;
}

#pourquoi-faire-du-tri .wrapper .home-block-quiz {
    display: flex;
    justify-content: flex-end;
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri ul li {
    position: relative;
    margin-left: 70px;
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri ul li:not(:last-child) {
    margin-bottom: 50px;
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri ul li:before {
    content: '';
    position: absolute;
    left: -70px;
    top: 5px;
    height: 50px;
    width: 50px;
    object-fit: cover;
    background: url('img/listicon-tri.png');
    background-repeat: no-repeat; 
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri h3 {
    margin-top: 0px;
    margin-bottom: 0.2em;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

#pourquoi-faire-du-tri .listing-pourquoifairedutri p {
    margin-top: 0px;
    margin-bottom: 0.5em;
    color: var(--black-color);
    font-size: 18px;
    font-weight: 400;
}



/* ------------------------------------------------------------------------------ */
/* ----- INC / CARTE INTERACTIVE ----- */
/* ------------------------------------------------------------------------------ */

/* --- CARTE --- */
.acf-map {
    height: calc(100vh - var(--header-height) - 105px);
}

.acf-map .gm-style-iw {
    padding: 20px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    border-radius: 0px !important;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.3) !important;
}

.acf-map .carte-marker h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
}

.acf-map .carte-marker h3 em {
    font-size: 11px;
}

.acf-map .carte-marker p {
    margin-top: 0.5em;
    margin-bottom: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
}

/* Box Conteneur */
.acf-map .content-marker .conteneurs-marker {
    margin: 0;
    padding-left: 1em;
    list-style: "- ";
    font-size: 15px;
}

.acf-map .conteneurs-marker .color-bleu {
    color: #0086db;
}
.acf-map .conteneurs-marker .color-jaune {
    color: #cdcf48;
}
.acf-map .conteneurs-marker .color-vert {
    color: #4b8f2b;
}
.acf-map .conteneurs-marker .color-textile {
    color: #88099b;
}

.acf-map .conteneurs-marker .color-multi {
    color: #8a7d11;
}

.acf-map .horaire-marker, .acf-map .telephone-marker {
    margin-bottom: 0.8em !important;
    font-size: 15px !important;
}

.acf-map .dechets-acceptes {
    color: var(--tertiary-color);
    font-size: 14px;
    text-decoration: underline;
}

/* --- CARTE - FILTRE --- */
.carte-filter {
    padding: 30px 0;
    background: var(--secondary-color);
}

.carte-filter > div.corset {
    display: flex;
}

.carte-filter .listing-filter-box {
    display: flex;
    overflow-x: auto; 
    width: calc(100% - 300px)
}

.carte-filter .filter-box {
    display: flex;
    align-items: center;
    min-width: 180px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: initial;
}

.carte-filter .filter-box:not(:last-child) {
   margin-right: 50px;
}

.carte-filter .filter-box .icon-filter-box {
    position: relative;
    display: inline-block;
    height: 45px;
    width: 45px;
    background: #fff;
    border-radius: 50%;
}

.carte-filter .filter-box .icon-filter-box > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    height: 40px;
    width: auto;
    object-fit: contain;
    
} 

.carte-filter .filter-box label {
    margin-left: 10px;
    line-height: 1;
}

.carte-filter .filter-box label > input {
    margin-left: 5px;
}

/* --- CARTE - BARRE DE RECHERCHE --- */
.carte-filter .filter-autocomplete {
    position: relative;
    margin-left: 50px;
    width: 250px;
}

.carte-filter .filter-autocomplete label {
    display: inline-block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.carte-filter .filter-autocomplete input {
    padding: 0.6em 1em;
    padding-left: 40px;
    min-width: 250px;
    max-width: 250px;
    
    background: #dbe9d5;
    color: var(--black-color);
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    border-radius: 2em;
    border: unset;
    outline: 0;
}

.carte-filter .filter-autocomplete input::placeholder {
    font-style: italic;
}

.carte-filter .filter-autocomplete .icon-search {
    content: '';
    position: absolute;
    left: 15px;
    bottom: -1px;
    transform: translate3d(0,-50%,0);
    height: 20px;
    width: 20px;
    object-fit: contain;
    background: url('img/icon-search.svg');
    background-repeat: no-repeat; 
}

.pac-container:after{
    content: none !important;
}



/* ------------------------------------------------------------------------------ */
/* ----- INC / BLOCK-QUIZ ----- */
/* ------------------------------------------------------------------------------ */

/* --- PARALLAX BOUTEILLES --- */
.container-block-quiz {
    position:relative;
    max-width: 380px;
    height: auto;
}

.bouteille-orange {
    position: absolute;
    top: -120px;
    right: -90px;
}
.bouteille-bleue {
    position: absolute;
    bottom: -60px;
    right: -70px;
}
.bouteille-verte {
    position: absolute;
    bottom: -90px;
    left: -90px;
}

/* --- BLOCK-QUIZ --- */
#block-quiz {
    position: relative;
    padding: 40px;
    padding-left: 60px;
    max-width: 380px;
    background: linear-gradient(rgba(75, 143, 43,0.85),rgba(75, 143, 43,0.85)) ,url('img/smpf-quiz.jpg');
    background-size: cover;
    background-position: center center;
}

#block-quiz:before {
    content: "";
    position: absolute;
    top: -52px;
    left: -52px;
    height: 210px;
    width: 90px;
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
}

#block-quiz h3 {
    margin-top: 0px;
    margin-bottom: 1em;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-transform: initial;
    line-height: 1.2;
}

#block-quiz p {
    margin-top: 0px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

#block-quiz a.btn-primary {
    margin-top: 1.5em;
    text-align: center;
    width: 100%;
}



/* ------------------------------------------------------------------------------ */
/* ----- ENTRY-HEADER ----- */
/* ------------------------------------------------------------------------------ */

.entry-header {
    position: relative;
    padding: 50px 30px;
    background-position: center !important;
    background-size: cover !important;
}

.entry-header h1 {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 15px 25px;
    
    color: #fff;
    background: var(--secondary-color);
    font-family: 'Lato', Arial;
    font-size: 40px;
    font-weight: 900;
    text-transform: initial;
    text-align: left;
    line-height: 1.1; 
}

.entry-header h1:after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -32px;
    height: 40px;
    width: 65px;
    
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 13px 13px;
    background-repeat: repeat;
}



/* ------------------------------------------------------------------------------ */
/* ----- BREADCRUMBS ----- */
/* ------------------------------------------------------------------------------ */

#breadcrumbs {
    margin-top: 10px;
    margin-bottom: 25px;
}

#breadcrumbs, #breadcrumbs a, #breadcrumbs .breadcrumb_last {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
}



/* ------------------------------------------------------------------------------ */
/* ----- TEMPLATE-PARTS / CONTENT-PAGE ----- */
/* ------------------------------------------------------------------------------ */

.page .site-main.corset, .single-post .site-main.corset, .archive .site-main.corset, .error404 .site-main.corset, .blog .site-main.corset, .search .site-main.corset {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    padding-top: 20px;
}

.wrapper-content {
    margin-right: 50px;
    width: calc(100% - 300px);
}

.wrapper-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: flex-start;
    min-width: 300px;
    max-width: 300px;
    z-index: 10;
}



/* ------------------------------------------------------------------------------ */
/* ----- SIDEBAR ----- */
/* ------------------------------------------------------------------------------ */

#secondary {
    padding: 15px;
    background: var(--secondary-color);
}

#secondary .widget-title {
    position: relative;
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 1em;
    
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: initial;
    text-align: left;
    z-index: 1;
    line-height: unset;
}

#secondary .widget-title:after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: -28px;
    height: 30px;
    width: 45px;
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 11px 11px;
    background-repeat: repeat;
    z-index: -1;
}

#secondary .textwidget p, #secondary .textwidget strong, #secondary .textwidget em {
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}


#secondary .textwidget a {
    color: #fff;
}



/* ------------------------------------------------------------------------------ */
/* ----- SIDEBAR - ACCES-RAPIDES ----- */
/* ------------------------------------------------------------------------------ */

.sidebar-acces-rapides {
    display: flex;
    flex-wrap: wrap;
    align-items: top;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}
    
.sidebar-acces-rapides li {
    display: inline-block;
    margin: 0 5px;
    max-width: 50px;
}
    
.sidebar-acces-rapides li > a {
    position: relative;
    display: inline-block;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}
    
.sidebar-acces-rapides li > a > span {
    position: relative;
    display: block;
    height: 50px;
    width: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.3);
}
    
.sidebar-acces-rapides li > a > span > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    padding: 5px;
    height: 40px;
    width: 40px;
    filter: brightness(0) saturate(100%) invert(66%) sepia(69%) saturate(532%) hue-rotate(31deg) brightness(92%) contrast(82%);
}

/* --- ARIA-LABEL --- */
.sidebar-acces-rapides li a:hover:after,
.sidebar-acces-rapides li a:focus:after {
    content: attr(aria-label);
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate3d(-50%,0,0);
    padding: 5px;
    width: 90px;
    
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
	text-align: center;
    z-index: 50;
}

[aria-label]:focus {
  outline: none;
}



/* ------------------------------------------------------------------------------ */
/* ----- SIDEBAR - A LA UNE ----- */
/* ------------------------------------------------------------------------------ */

.wrapper-sidebar .popular-posts .wpp-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrapper-sidebar .popular-posts .wpp-list li:not(:last-child) {
    margin-bottom: 15px;
}

.wrapper-sidebar .popular-posts .wpp-list span.wpp-category {
    display: block;
    font-size: 0px;
}

.wrapper-sidebar .popular-posts .wpp-list span.wpp-category > a {
    display: inline-block;
    margin-right: 5px;
    padding: 0.4em 1em;
    
    border-radius: 2em;
    color: #fff;
    background: var(--primary-color);
    font-size: 10px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.wrapper-sidebar .popular-posts .wpp-list span.wpp-category > a:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

.wrapper-sidebar .popular-posts .wpp-list strong > .wpp-post-title {
    display: inline-block;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.wrapper-sidebar .popular-posts .wpp-no-data {
    color: #fff;
}


/* Nouveau Module */
.wrapper-sidebar .widget_block {
    margin-bottom: 0;
}

.wrapper-sidebar .widget_recent_entries .wp-block-latest-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrapper-sidebar .widget_recent_entries .wp-block-latest-posts__post-title {
    display: inline-block;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}



/* ------------------------------------------------------------------------------ */
/* ----- BARRE DE RECHERCHE ----- */
/* ------------------------------------------------------------------------------ */

/* --- FORM --- */
form.is-search-form {
    max-width: 300px;
}

form.is-search-form .is-search-input {
    font-size: 15px !important;
    font-family: 'Lato', Arial;
    font-weight: 400;
    border-top: unset !important;
    border-right: unset !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    border-left: unset !important;
}

form.is-search-form .is-search-icon {
    height: auto !important;
    background: transparent !important;
    border: unset !important;
    cursor: pointer;
} 

/* --- SEARCH RESULT AJAX --- */
is-ajax-search-details, .is-ajax-search-result {
    position: fixed !important;
    top: var(--header-height) !important;
    right: 0px !important;
    left: unset !important;
    padding: 0px !important;
    box-shadow: 0px 0px 8px -7px var(--black-color) !important;
}
.is-ajax-search-result .is-title a {
    text-transform: initial !important;
    font-weight: 700;
}

.is-ajax-search-result .thumbnail img {
    border-radius: 50% !important;
}

.mCSB_dragger_bar {
    background: var(--secondary-color) !important;
}



/* ------------------------------------------------------------------------------ */
/* ----- SINGLE-POST ----- */
/* ------------------------------------------------------------------------------ */

/* --- ENTRY-HEADER CATEGORY --- */
.single-post .entry-header .actualite-category {
    display: block;
    margin-top: 25px;
    font-size: 0px;
}

.single-post .entry-header .actualite-category a:not(:first-child) {
    margin-left: 1em;
}

.single-post .entry-header .actualite-category a {
    display: inline-block;
    padding: 0.4em 1em;
    border-radius: 2em;
    color: #fff;
    background: var(--primary-color);
    font-size: 12px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.single-post .entry-header .actualite-category a:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

/* --- POST-FOOTER --- */
.single-post .post-footer {
    margin-top: 50px;
    padding: 15px;
    background: #f9f9f9;
}

.single-post .post-footer .post-tag {
    margin-bottom: 15px;
}

.single-post .post-footer .post-tag a {
    display: inline-block;
    margin-right: 5px;
    padding: 0.4em 1em;
    
    border-radius: 2em;
    color: var(--black-color);
    background: #fff;
    font-size: 13px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: initial;
    line-height: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
}

.single-post .post-footer .post-tag a:not(:first-child) {
    margin-left: 0.5em;
}

.single-post .post-footer .post-tag a:hover {
    color: var(--black-color);
    background: #ececec;
}

.single-post .post-footer .post-date {
    margin-bottom: 0px;
    font-size: 14px;
}

.single-post .post-footer .post-date em {
    font-weight: 300;
}

/* --- POST-SOCIAL --- */
.post-social a.btn-social {
    position: relative;
	display: inline-block;
    margin-top: 1em;
	margin-bottom: 0px;
	padding: 8px 10px;
    padding-left: 35px;
    
	font-size: 11px;
	font-weight: 300;
	color: #fff;
	line-height: 1;
	text-decoration: none;
	transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
} 

.post-social a.btn-social:hover {
	color: #fff;
	opacity: 0.85;
} 

.post-social .btn-social:not(:last-child) {
	margin-right: 5px;
}

.post-social .btn-social.facebook {
	background: #4267B2;
} 

.post-social .btn-social.facebook:before {
	content:"";
    position: absolute;
    left: 10px;
	top: 50%;
	transform: translate3d(0,-50%,0);
	height:15px;
	width: 15px;
	background: url('img/logo-facebook.svg');
	background-size: contain;
	background-repeat: no-repeat;
} 

.post-social .btn-social.linkedin {
	background: #0072b1;
} 

.post-social .btn-social.linkedin:before {
	content:"";
    position: absolute;
    left: 10px;
	top: 50%;
	transform: translate3d(0,-50%,0);
	height:15px;
	width: 15px;
	background: url('img/logo-linkedin.svg');
	background-size: contain;
	background-repeat: no-repeat;
}



/* ------------------------------------------------------------------------------ */
/* ----- ARCHIVE ----- */
/* ------------------------------------------------------------------------------ */

.archive-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.archive .archive-description {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    font-size: 16px;
}

.archive .archive-description p {
    font-size: 16px;
}

.archive .archive-description p:last-child {
    margin-bottom: 0px;
}

.archive-listing .actualite {
	position: relative;
    width: calc(50% - 20px);
}

.archive-listing .actualite a {
    text-decoration: none;
}

.archive-listing .actualite .actualite-img {
    height: 250px;
}

.archive-listing .actualite .actualite-img > img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.archive-listing .actualite .actualite-content {
    position: relative;
    left: 50%;
    transform: translate3d(-50%,-70px,0);
    padding: 25px;
    max-width: 500px;
    width: calc(100% - 80px);
    background: var(--secondary-color);    
}

.archive-listing .actualite .actualite-content:after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -38px;
    height: 45px;
    width: 75px;
    
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
} 

.archive-listing .actualite .actualite-category {
    margin-bottom: 10px;
    font-size: 0px;
}

.archive-listing .actualite .actualite-category a {
    display: inline-block;
    padding: 0.4em 1em;
    border-radius: 2em;    
    color: #fff;
    background: var(--primary-color);
    font-size: 10px;
    font-family: 'Lato', Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
} 

.archive-listing .actualite .actualite-category a:not(:first-child) {
    margin-left: 0.5em;
}

.archive-listing .actualite .actualite-category a:visited, .actu-slider .actualite .actualite-category a:focus {
    color: #fff;
}

.archive-listing .actualite .actualite-category a:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

.archive-listing .actualite .actualite-content h3 {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0.3em;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    text-transform: initial;
    line-height: 1.2;
}

.archive-listing .actualite .actualite-content .excerpt {
    display: inline-block;
    margin-bottom: 1em;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}



/* ------------------------------------------------------------------------------ */
/* ----- CONTENT-SEARCH ----- */
/* ------------------------------------------------------------------------------ */

.search-listing .search-item {
    position: relative;
    display: flex;
    padding: 15px;
    width: 100%;
    background: #f9f9f9;
}

.search-listing .search-item:not(:last-child) {
    margin-bottom: 30px;
}

.search-listing .search-item .search-item-img {
    align-self: center; 
    height: 150px;
    width: 150px;
    min-width: 150px;
    min-height: 150px;
} 

.search-listing .search-item .search-item-img > img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.search-listing .search-item .search-item-content {
    margin-left: 30px;
    width: calc(100% - 180px);
}

.search-listing .search-item .search-item-content a {
    text-decoration: none;
}

.search-listing .search-item .search-item-content h2 {
    display: block;
    margin-top: 0px; 
    margin-bottom: 0.3em;
    color: var(--secondary-color);
    font-size: 25px;
    font-weight: 900;
    text-transform: initial;
    line-height: 1.2;
}

.search-listing .search-item .search-item-content .excerpt {
    display: inline-block;
    margin-bottom: 1em;
    color: var(--black-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.search-listing .search-item .search-item-content .search-item-meta .post-date {
    font-size: 16px;
}

.search-listing .search-item .search-item-content .type-item {
    font-size: 18px;
    font-weight: 900;
    color: #000;
}


.search-listing .search-item .actualite-content:after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -38px;
    height: 45px;
    width: 75px;
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
} 



/* ------------------------------------------------------------------------------ */
/* ----- PAGINATION ----- */
/* ------------------------------------------------------------------------------ */

.pagination {
    margin-top: 20px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    position: relative;
    display: block;
    padding: 1em;
    color: #fff;
    background-color: var(--secondary-color);
    border: unset;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.pagination .page-numbers:hover {
    background: var(--secondary-hover-color);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
}

.pagination .page-numbers.prev {
    border-top-left-radius: 2em;
    border-bottom-left-radius: 2em;
}

.pagination .page-numbers.next {
    border-top-right-radius: 2em;
    border-bottom-right-radius: 2em;
}



/* ------------------------------------------------------------------------------ */
/* ----- FORM ----- */
/* ------------------------------------------------------------------------------ */

.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpcf7-form .col-6 {
    width: calc(50% - 20px);
}

.wpcf7-form .col-12 {
    width: 100%;
}

.contact-block {
    position: relative;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.wpcf7-form label {
    display: inline-block;
    margin-bottom: 5px;
	max-width: 100%;
	font-weight: 900;
	font-size: 18px;
	color: var(--secondary-color);
}

.label-optionnel {
	position: absolute;
	bottom: -20px;
	right: 5px;
	font-size: 13px;
    font-family: 'Lato';
	color: var(--primary-color);
}

.wpcf7-form input, textarea {
	padding-bottom: 5px;
	width: 100%;
    min-height: 30px;
	border: none;
	border-radius: 0px;
	border-bottom: 2px solid var(--primary-color);
    color: var(--black-color);
    background: transparent;
	font-size: 16px;
    font-family: 'Lato';
    
}

textarea {
    padding: 10px;
	min-width: 100%;
    max-width: 100%;
    min-height: 150px;
	max-height: 300px;
	background: rgba(144, 185, 31,0.1);
}

select {
    padding-bottom: 5px;
	padding-top: 5px;
	width: 100%;
	min-height: 30px;
	background: transparent;
	border: none;
	border-radius: 0px;
	border-bottom: 2px solid var(--primary-color);
	font-size: 16px;
    font-family: 'Lato';
    
    /* Curseur */
	-moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari et Chrome */
    appearance:none;
    display: inline-block;
  	position: relative;
    background: url(img/icone-down-arrow.svg) no-repeat right;
    background-origin: content-box;
    cursor: pointer;
}

#objet-contact {
    display: block;
    max-width: calc(50% - 20px);
}

button.btn-primary {
    border: none;
    cursor: pointer;
}

span.wpcf7-list-item {
	margin: 0;
}

/* Input type file */
.wpcf7-form input[type="file"] {
	border-bottom: 0px;
}

/* Checkbox */
.wpcf7-list-item > label {
    position: relative;
    display: block;
    margin: auto;
    clear: both;
    height: 24px;
    width: 24px;
    font-size: 22px;
    line-height: 24px;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wpcf7-list-item-label {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 24px;
    width: 24px;
    
    color: #ffffff;
	font-size: 0px;
    background-color: transparent;
    border-radius: 5px;
  	transition: all 0.3s ease-out;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-ms-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
    border: 2px solid var(--primary-color);
}

.checkbox-input:checked ~ .wpcf7-list-item-label {
    -webkit-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
    
    background-color: var(--secondary-color);
    border-radius: 5px;
    border: 2px solid var(--secondary-color);
    opacity:1;
}

.wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    
    height: 0px;
    width: 0px;
    border-radius: 5px;
    border: solid var(--secondary-color);
    border-width: 0 3px 3px 0;
    opacity:1;
  	transition: all 0.3s ease-out;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-ms-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
}

.checkbox-input:checked ~ .wpcf7-list-item-label::after {
    left: 8px;
    top: 3px;
    -webkit-transform: rotate(45deg) scale(1);
    -ms-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);

    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    background-color: transparent;
    opacity:1;
}

.checkbox-label-title {
    position: absolute;
	display: inline-block;
	left: 35px;
	top: 50%;
    transform: translateY(-50%);
	height: 100%;
    
	font-size: 16px;
  	text-decoration: initial;
  	font-weight: 400;
  	line-height: 1.5;
}

.row-rgpd {
    position: relative;
}

.recaptcha-google {
    display: block;
    margin-bottom: 30px;
}


/* Contact - Output */
.wpcf7-not-valid-tip {
	font-size: 13px;
}

.wpcf7-form .wpcf7-response-output {
    margin: 1em 0 !important;
    padding: 10px !important;
    border: unset !important;
    color: #fff !important;
    background: var(--tertiary-color) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    background-color: var(--secondary-color);
}



/* ------------------------------------------------------------------------------ */
/* ----- PAGE QUIZ ----- */
/* ------------------------------------------------------------------------------ */

.hdq_results_title {
    color: var(--tertiary-color) !important;
}

.hdq_result, .hdq_question_number {
    color: var(--primary-color) !important;
}

.hdq_share {
    background: unset !important;
}

.hdq-options-check input[type="checkbox"]:checked + .hdq_toggle::before {
    background: var(--secondary-color) !important;
    box-shadow: inset 0px 1px 1px var(--secondary-color) !important;
}

.hdq_social_icon a[target="_blank"]::after {
    display: none !important;
}

.hdq_correct, .hdq_correct_not_selected { 
    border: 2px solid var(--secondary-color) !important;
}

.hdq_question_after_text {
    background: #fff !important;
    border-bottom: unset !important;
}

.hdq_finsh_button {
    display: inline-block !important;
    padding: 1em 1.5em !important;
    border-radius: 2em !important;
    color: #fff !important;
    background: var(--primary-color) !important;
    font-size: 18px !important;
    font-family: 'Lato', Arial !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    transition: 0.3s !important;
    -webkit-transition: 0.3s !important;
    -moz-transition: 0.3s !important;
    -o-transition: 0.3s !important;
}

.hdq_finsh_button:hover {
    color: #fff !important;
    background: var(--primary-hover-color) !important;
    opacity: 1 !important;
}

.hdq_finsh_button:visited, .hdq_finsh_button:focus {
    color: #fff !important;
    outline: 0 !important;
}

.hdq-options-check .hdq_toggle::before {
    background: #e1e1e1 !important;
}

.h3.hdq_question_heading {
    color: #000;   
}

/* --- CORRECT --- */
.hdq_correct > label {
    color: #fff !important;
    background: var(--primary-color) !important;
}

/* --- WRONG --- */
.hdq_wrong {
    border: 2px solid #b00e0e !important;
}

.hdq_wrong > label {
    color: #fff !important;
    background: #e84242 !important;
}




/* ------------------------------------------------------------------------------ */
/* ----- WP BACKERY ----------------------------------------------------- */
/* ------------------------------------------------------------------------------ */

.liste-pages h3, .liste-pages h3 a { 
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0em;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-transform: initial;
    line-height: 1.2;
    min-height: 50px;
}

.liste-pages .excerpt {
    display: inline-block;
    margin-bottom: 1em;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.liste-pages .zone-titre-page {
	overflow: visible;
}

.liste-pages .vc_gitem-col.titre-page:after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -38px;
    height: 45px;
    width: 75px;
    background: radial-gradient(ellipse at center, var(--tertiary-color) 0%, var(--tertiary-color) 30%, transparent 30%);
    background-size: 15px 15px;
    background-repeat: repeat;
}

.vc_tta-panel.vc_active .vc_tta-panel-title > a {
    background: #6dab3c !important;
    color: #fff !important;
}

.vc_tta-panel.vc_active .vc_tta-panel-title .vc_tta-controls-icon:before {
    border-color: #fff !important;
}




/* ------------------------------------------------------------------------------ */
/* ----- WP FORMS ----- */
/* ------------------------------------------------------------------------------ */
.wpforms-container .wpforms-field-label {
    display: inline-block;
    margin-bottom: 5px;
	max-width: 100%;
	font-weight: 900;
	font-size: 18px;
	color: var(--secondary-color);
}

.wpforms-container .wpforms-required-label {
    color: var(--secondary-color);
} 

.wpforms-container input {
	padding-bottom: 5px;
	width: 100%;
    min-height: 30px;
	border: none;
	border-radius: 0px;
	border-bottom: 2px solid var(--primary-color);
    color: var(--black-color);
    background: transparent;
	font-size: 16px;
    font-family: 'Lato';
    
}

.wpforms-container .wpforms-submit {
    display: inline-block;
    padding: 1em 1.5em;
    border-radius: 2em;
    color: #fff;
    border: unset;
    background: var(--primary-color);
    font-size: 18px;
    font-family: 'Lato',Arial;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    cursor: pointer;
}

.wpforms-container .wpforms-submit:hover {
    color: #fff;
    background: var(--primary-hover-color);
}

.wpforms-container .wpforms-field-gdpr-checkbox ul,
.wpforms-container .wpforms-field-gdpr-checkbox ul li {
    padding: 0;
}

.wpforms-container .wpforms-field-gdpr-checkbox ul > li {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}

.wpforms-container .wpforms-field-gdpr-checkbox ul > li > input {
    margin: 0;
}

.wpforms-container .wpforms-field-gdpr-checkbox ul li:before {
    display: none;
}





/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------ */



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 1300px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 1300px) {
    :root {
        --header-height: 65px;
    }
    
    /* --- HEADER --- */
    .header {
        padding: 10px;
        border-bottom: 1px solid #f2f2f2;
    }
    
    .logo, .custom-logo-link {
        height: calc(var(--header-height) - 20px);    
    }
    
    #site-navigation {
        display: none;
    }
    
    .header-searchbar {
        right: 70px;
    }
    
    /* --- HOME-LANDING --- */
    .home .home-landing {
        height: calc(100vh - 85px);
    }
    
    /* --- HOME --- */
    .home section {
        padding: 0 20px;
    }

    #carte-interactive > .corset {
        padding: 0 20px;
    }
    
    #carte-interactive .carte-filter {
        padding: 30px 15px;
    }

    /* --- ACTU-SLIDER --- */
    .actu-container {
        margin-left: 0px;
    }

    /* --- PAGE --- */
    .page .site-main.corset, .single-post .site-main.corset, .archive .site-main.corset, .error404 .site-main.corset, .blog .site-main.corset, .search .site-main.corset {
        padding-left: 20px;
        padding-right: 20px;      
    }
    
    .entry-header h1 {
        font-size: 35px;
    }
    
}



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 1100px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 1100px) {
     /* --- FOOTER --- */
    .site-footer {
        padding: 15px;
    }

    .site-footer .footer-wrapper {
        display: block;
    }
    
    .site-footer .footer-wrapper > div {
        flex-grow: unset;
        margin-bottom: 1.5em;
        padding: 0px;
        width: 100%;  
        text-align: center;
    }
    
    .site-footer .footer-wrapper > div:last-child {
        margin-bottom: 0px;
    }

    .site-footer img {
        margin: 0 auto;
    }
    
    /* --- HOME-SLIDER --- */
    .home-slider .swiper-slide h2, .home-slider .swiper-slide h1 {
        font-size: 30px;
    } 
    
    .home-slider .swiper-slide h2::after, .home-slider .swiper-slide h1::after {
        bottom: -15px;
        right: -32px;
        height: 35px;
        width: 65px;
        background-size: 13px 13px;
    }

    .home-slider .swiper-slide .content-slide p {
        font-size: 16px;
        line-height: 1.3;
    }

    .home-slider .swiper-slide .content-slide a.btn-primary {
        margin-top: 2.5em;
    }
    
    /* --- ACCES-RAPIDES --- */
    .acces-rapides {
        width: 250px;
        max-width: 250px;
    }
    
    .acces-rapides strong {
        font-size: 20px;
    }
    
    .acces-rapides strong::after {
        right: -25px;
        height: 30px;
        width: 40px;
        background-size: 10px 10px;
    }
    
    .acces-rapides li > a {
        font-size: 16px;  
    }
    
    /* --- HOME --- */
    .home h2 {
        font-size: 50px;
    }

    .home .h2-subtitle {
        font-size: 30px;
    }
    
    /* --- HOME - POURQUOI FAIRE DU TRI --- */   
    #pourquoi-faire-du-tri .listing-pourquoifairedutri h3 {
        font-size: 20px;
    }
    
    #pourquoi-faire-du-tri .listing-pourquoifairedutri p {
        font-size: 15px;
        line-height: 1.2;
    }
    
    /* --- INC / BLOC - QUIZ --- */
    #block-quiz {
        max-width: 290px;
    }
    
    #block-quiz h3 {
        font-size: 25px;
    }
    
    #block-quiz a.btn-primary {
        font-size: 15px;
    }
}



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 1000px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 1000px) {
    .wrapper-content {
        margin-right: 0px;
        width: 100%;
    }
     
    .wrapper-sidebar {
        display: none;
    }
}



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 767px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 767px) {
    :root {
        --header-height: 65px;
    }
    
    .home .home-landing {
        margin: 0px 15px;
    }
    
    #carte-interactive > .corset {
        padding: 0 15px;
    }
    
    .home-landing .home-slider {
        height: calc(100% - 200px);
    }
    
        /* --- HOME --- */
    .home section {
        padding: 0 15px;
    }
    
    /* --- HOME-SLIDER --- */
    .home-slider .swiper-slide .content-slide .content-slide-wrapper {
        max-width: 100%;
        text-align: center;
    }

    .home-slider .swiper-slide h2, .home-slider .swiper-slide h1 {
        display: block;
        padding: 10px 20px;
        font-size: 25px;
        text-align: center;
    } 
    
    .home-slider .swiper-slide h2::after, .home-slider .swiper-slide h1::after {
        display: none;
    }

    .home-slider .swiper-slide .content-slide p {
        display: none;
        margin-top: 1.5em;
    }

    .home-slider .swiper-slide .content-slide a.btn-primary {
        font-size: 14px;
    }
    
    /* --- ACCES-RAPIDES --- */
    .acces-rapides {
        padding: 15px;
        padding-left: 15px;
        width: 100%;
        height: 200px;
        max-width: 100%;
        overflow-y: auto;
        text-align: center;
    }
    
    .acces-rapides strong {
        margin-bottom: 1.5em;
    }
    
    .acces-rapides ul {
        display: flex;
        flex-wrap: wrap;
        align-items: top;
        justify-content: space-around;
    }
    
    .acces-rapides ul li {
        display: inline-block;
        margin-top: 60px;
        margin-bottom: 0;
        padding: 0 10px;
        max-width: 100px;
    }
    
    .acces-rapides li > a {
        display: inline-block;
        font-size: 13px;
        font-weight: 300;
        line-height: 1.1;
        text-align: center;
        
    }
    
    .acces-rapides li > a > span {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        height: 40px;
        width: 40px;
    }
    
    .acces-rapides li > a > span > img {
        height: 40px;
        width: 40px;
    }
    
    .acces-rapides li > a:hover > span {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-hover-color);
    } 
    

    /* --- ACTU-SLIDER --- */
    .actu-slider .actualite .actualite-img {
        height: 200px;
    }
    
    .actu-slider .actualite .actualite-content {
        padding: 20px;
    }
    
    .actu-slider .actualite .actualite-content h3 {
        font-size: 20px;
    }
    
    .actu-slider .actualite .actualite-content .excerpt {
        font-size: 15px;
    }
    
    .actu-slider .actualite .actualite-content::after {
        bottom: -20px;
        right: -32px;
        height: 40px;
        width: 65px;
        background-size: 13px 13px;
    }
    
    .actu-navigation .actu-nav {
        height: 30px;
        width: 30px;
    }
    
    .actu-navigation .actu-nav > img {
        width: 15px;
    }
    
    .actu-navigation .actu-swiper-button-prev {
        margin-right: 30px;
    }
    
    .actu-navigation .actu-swiper-button-prev::after {
        right: -32px;
        width: 30px;
        border-bottom: 4px dotted var(--primary-color);
    }

    /* --- Partenaires --- */
    .listing-partenaire .partenaire {
        width: 100px;
        height: 60px;
    }
    
    /* --- HOME --- */
    .home h2 {
        font-size: 35px;
    }

    .home .h2-subtitle {
        font-size: 23px;
    }
    
    /* --- HOME - POURQUOI FAIRE DU TRI --- */
    #pourquoi-faire-du-tri .wrapper {
        flex-direction: column;
    }

    #pourquoi-faire-du-tri .wrapper > div {
        width: 100%;
    }
    
    #pourquoi-faire-du-tri .wrapper .home-block-quiz {
        justify-content: center;
        margin-top: 100px;
    }
    
    #pourquoi-faire-du-tri .wrapper .home-block-quiz .container-block-quiz img.rellax {
        display: none;
    }
    
    /* --- FILTRE - CARTE INTERACTIVE --- */
    .carte-filter > div.corset {
        min-height: 40px;
    }
    
    .carte-filter .listing-filter-box {
        height: 60px;
    } 

    .carte-filter .filter-box {
        min-width: 160px;
        font-size: 16px;
    }
    
    .carte-filter .filter-box:not(:last-child) {
        margin-right: 30px;
    }
    
    .carte-filter .filter-box .icon-filter-box {
        height: 30px;
        width: 30px;
    }

    /* --- AUTOCOMPLETE - CARTE INTERACTIVE --- */
    .carte-filter .filter-autocomplete label {
        font-size: 16px;
    }
    
    /* --- PAGE --- */
    .page .site-main.corset, .single-post .site-main.corset, .archive .site-main.corset, .error404 .site-main.corset, .blog .site-main.corset, .search .site-main.corset {
        padding: 15px 15px 0 15px;
    }
    
    .entry-header {
        margin-bottom: 1em;
        padding: 30px 15px;
    }

    .entry-header h1 {
        font-size: 30px;
    }
    
    
    .entry-header h1::after {
        display: none;
    }
    
    /* --- BREADCRUMBS --- */
    #breadcrumbs, #breadcrumbs a, #breadcrumbs .breadcrumb_last {
        display: none;
    }
    
    /* --- TITRES --- */
    .entry-content h2 {
        font-size: 25px;
    }

    .entry-content h3 {
        font-size: 20px;
    }

    .entry-content h4 {
        font-size: 18px;
    }

    /* --- LISTES --- */
    .entry-content ul, .entry-content ol {
        font-size: 16px;
    }
    
    /* --- PARAGRAPHES --- */
    .entry-content p {
        font-size: 16px;
    }


    /* --- ARCHIVE --- */
    .archive-listing .actualite {
        width: calc(50% - 10px);    
    }
    
    .archive-listing .actualite .actualite-img {
        height: 200px;
    }
    
    .archive-listing .actualite .actualite-content {
        padding: 20px;
        width: calc(100% - 30px);
    }
    
    .archive-listing .actualite .actualite-content h3 {
        font-size: 20px;
    }
    
    .archive-listing .actualite .actualite-content::after {
        bottom: -20px;
        right: -32px;
        height: 40px;
        width: 65px;
        background-size: 13px 13px;
    }
    
}



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 600px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 600px) {

    .actu-header {
        margin-top: 3em;
    }

    .archive-listing .actualite {
        width: 100%;
    }
    
    .archive-listing .actualite .actualite-content {
        transform: translate3d(-50%,-50px,0);
    }
    .archive-listing .actualite .actualite-content::after {
        display: none;
    }

    /* --- CONTENT-SEARCH --- */
    .search-listing .search-item:not(:last-child) {
        margin-bottom: 15px;
    }
    .search-listing .search-item .search-item-img {
        height: 75px;
        width: 75px;
        min-height: 75px;
        min-width: 75px;
    }
    
    .search-listing .search-item .search-item-content {
        margin-left: 15px;
        width: calc(100% - 80px);
    }
    
    .search-listing .search-item .search-item-content h2 {
        font-size: 22px;
    }
    .search-listing .search-item .search-item-content .excerpt, 
    .search-listing .search-item .search-item-content .type-item {
        font-size: 16px;
    }
    
    .search-listing .search-item .search-item-content .search-item-meta .post-date {
        font-size: 14px;
    }
    
    /* --- CARTE-INTERACTIVE --- */
    .carte-filter > div.corset {
        flex-direction: column;
    }
    
    .carte-filter .listing-filter-box {
        width: 100%;
    }
    .carte-filter .filter-autocomplete {
        margin-top: 25px !important;
        margin: 0 auto;
        width: 280px;
        text-align: center;
    }

    .carte-filter .filter-autocomplete input {
        min-width: 280px;
        max-width: 280px;
    }
    
}



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 500px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 500px) {
    .header-searchbar {
        display: none;
    }
    
    /* --- HOME --- */
    .home h2 {
        font-size: 32px;
    }

    .home .h2-subtitle {
        font-size: 20px;
    }
    
    /* --- ACTU-SLIDER --- */
    .actu-slider .actualite .actualite-content {
        width: calc(100% - 80px);
    }
    
    /* --- FORMULAIRE DE CONTACT --- */
    .wpcf7-form .col-6 {
        width: 100%;
    }
    
    #objet-contact {
        max-width: 100%;
    }
} 



/* ------------------------------------------------------------------------------ */
/* ----- MAX-WIDTH - 450px ----- */
/* ------------------------------------------------------------------------------ */

@media screen and (max-width: 450px) { 
    .home-landing {
        height: auto;
    }
    .home-landing .home-slider {
        height: 300px;
    } 
    
    .acces-rapides {
        position: relative;
        height: auto;
        overflow-y: unset;
    }
}