/*!
Theme Name: cmkc2
Theme URI: http://underscores.me/
Author: Yannick Lepetit
Author URI: http://underscores.me/
Description: Description
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cmkc2
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

cmkc2 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

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
--------------------------------------------------------------*/
:root {
	--default-color:#323232;
	--light-color:#FFFFFF;
	--light-alt-color:#F3F3FA;
	--primary-color:#1C3988;
	--secondary-color:#246B8E;
	--secondary-color-alpha:#2D729F33;
	--secondary-color-fusion:#D5E3EC;
	--third-color:#14A097;
	--third-color-alpha:#14A09740;
	--site-max-width:1200px;
	--yl_letter:'\2112';/* ℒ */
}

.dm-sans-cmkc2 { font-family: "DM Sans", sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; }
.inter-cmkc2 { font-family: "Inter", sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; }
.caveat-cmkc2 { font-family: "Caveat", cursive; font-optical-sizing: auto; font-weight: 700; font-style: normal; }

/* 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 { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior:smooth; scroll-padding-top:100px; }

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

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

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

/**
 * 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; }

/* 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: bolder; }

/**
 * 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; }

/**
 * 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; }

/**
 * 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: 1px dotted ButtonText; }

/**
 * 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; outline-offset: -2px; }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration { -webkit-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; 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; margin:0; padding:0; }

html { box-sizing: border-box; }

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: var(--default-color);
	font-size: 1rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { clear: both; font-family:"Inter", sans-serif; }
h2 { margin-bottom:1rem; font-size:1.688rem; line-height:1em; font-weight:600; color:var(--secondary-color); }
p { margin-bottom: 1.5em; }
dfn, cite, em, i { font-style: italic; }
blockquote { margin: 0 1.5em; }
address { margin: 0 0 1.5em; }
pre { background: var(--light-alt-color); font-family: "Courier 10 Pitch", courier, monospace; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
code, kbd, tt, var { font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
abbr, acronym { border-bottom: 1px dotted currentColor; cursor: help; }
mark, ins { background: #fff9c0; text-decoration: none; }
big { font-size: 125%; }

@media screen and (max-width:750px) {
	body { font-size:.875rem;}
	h2 { font-size:1rem; }
	.entry-content { --wp--preset--font-size--medium:1rem; }
	.entry-content h3.underline { font-size:.95rem !important; }
}

/* Elements
--------------------------------------------- */
body { background: var(--light-color); }

hr { background-color: currentColor; border: 0; height: 1px; margin-bottom: 1.5em; }
ul { list-style:none; }
ol { margin: 0 0 1.5em 3em; list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }

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: inherit; text-decoration:none; }
/*a:visited { color: inherit; }*/
a:hover, a:focus, a:active { color: inherit; text-decoration:underline; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: var(--primary-color);
	border-radius: 3px;
	background: var(--light-alt-color);
	color: var(--default-color);
	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;
}

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: var(--default-color);
	border: 1px solid var(--default-color);
	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
--------------------------------------------------------------*/
.wrapinside, h1.entry-title { width:var(--site-max-width); max-width:90%; margin-inline:auto; }
.wp-singular .entry-header:has(> .post-thumbnail > img) { --img-height:340px; position:relative; min-height:var(--img-height); display:flex; justify-content:start; align-items:end; padding-block:2rem; color:var(--light-color); }
.wp-singular .entry-header:has(> .post-thumbnail > img) > .post-thumbnail::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0, 0, 0, 0.34) 33.18%, rgba(255, 255, 255, 0.34) 100%); z-index:1; }
.wp-singular .entry-header:has(> .post-thumbnail > img) > .post-thumbnail > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.wp-singular .entry-header:has(> .post-thumbnail > img) > .post-thumbnail + h1.entry-title { z-index:1; }
@media screen and (max-width:750px) {
	.wp-singular .entry-header:has(> .post-thumbnail > img) { align-items:center; }
	.wp-singular .entry-header:has(> .post-thumbnail > img) > .post-thumbnail + h1.entry-title { text-align:center; }
}


.btn { display:inline-block; background:var(--primary-color); border-radius:8px; padding:12px 24px; color:var(--light-color); font-size:1.125rem; line-height:1.389em; box-shadow: 0px 0px 20px 0px #00000040; cursor:pointer; transition:.25s; }
.btn:hover, .btn:focus { background-color:var(--secondary-color); text-decoration:none; color:var(--light-color); }

.btn.arrow-right::after { content:''; display:inline-block; background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 13"><path d="M1 1L6 6.25L1 11.5" fill="transparent" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat; width:7px; height:13px; margin-left:1rem; }

/* header */
#masthead { position:sticky; top:0; background:var(--light-color); margin-bottom:.25rem; box-shadow:0 4px 4px 0 rgba(0, 0, 0, .25); z-index:10; }
#masthead .wrapinside { display:flex; align-items:center; gap:1.5em; min-height:100px; }
#masthead .site-title { position:relative; display:block; background:url(logo-cmk.svg) left top no-repeat; width:138px; height:64px; margin:0; text-indent:-9999px; overflow:hidden; z-index:2; }
#masthead .site-title a { position:absolute; inset:0; }
#masthead .top-links { display:flex; justify-content:space-between; width:100%; align-items:center; }


#masthead #site-navigation .nav-menu { display:flex; flex-wrap:wrap; gap:1.25em; font-weight:700; }
#masthead #site-navigation .nav-menu a:hover, #masthead #site-navigation .nav-menu a:focus { color:var(--secondary-color); }
#masthead #contactus { position:relative; background:var(--primary-color); border-radius:8px; min-width:200px; padding:.6em 1em .4em calc(1em + 19px + 5px); color:var(--light-color); font-size:1.125em; font-weight:800; line-height:1.389em; box-shadow:0 0 20px 0 rgba(0, 0, 0, .25); cursor:pointer; transition:.25s; }
#masthead #contactus svg { position:absolute; left:12px; top: 50%; translate:0 -50%; width:19px; height:19px; fill:var(--light-color); }
#masthead #contactus:hover, #masthead #contactus:focus { background-color:var(--secondary-color); text-decoration:none; }



/* footer */
.gotop { position:fixed; bottom:.5rem; left:.5rem; display:inline-grid; place-items:center; background:linear-gradient(90deg, var(--secondary-color), var(--primary-color)); border:1px solid var(--light-color); border-radius:50%; width:35px; aspect-ratio:1; box-shadow:0px 0px 20px 0px #00000040; z-index:999; }
.gotop svg { width:13px; height:8px; rotate:180deg; color:var(--light-color); }
#colophon.site-footer { position:relative; background:var(--primary-color); padding-block:3.7rem; color:var(--light-color); z-index:10; }
#colophon.site-footer hr { background-color:var(--light-color); }
#colophon.site-footer p { margin:0; }
#colophon.site-footer .inner .site-info { margin-bottom:2rem; }
#colophon.site-footer .inner .site-info img { display:block; width:150px; margin-bottom:1rem; margin-inline:auto; }
#colophon.site-footer .inner nav { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:1rem; }
#colophon.site-footer .inner h4:has(+ ul) { padding-bottom:.25em; font-weight:600; font-size:20px; }
#colophon.site-footer .inner ul li { padding-block:.5em; }
#colophon.site-footer .inner > div:nth-child(4) ul li { line-height:1em; }
#colophon.site-footer .last { display:flex; flex-wrap:wrap; justify-content:space-between; }
#colophon.site-footer .last > ul { display:flex; gap:.5em; }
#colophon.site-footer ul + h4 { margin-top:1rem; }
#colophon.site-footer ul.socialinks { display:flex; gap:.75em; }

@media screen and (max-width:460px) {
	#colophon.site-footer .inner .site-info img { margin-inline:initial; }
}
@media screen and (min-width:1090px) {
	#colophon.site-footer .inner { display:grid; grid-template-columns:320px 1fr; gap:2rem; }
	#colophon.site-footer .inner .site-info img { margin-inline:initial; }
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
.block-thanks { --block-color:var(--third-color); border:3px dashed var(--block-color); padding:1rem; margin-block:2rem; color:var(--block-color); text-align:center; }
.block-thanks.error { --block-color:#ba3736; }
.block-thanks p { margin:0; }

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

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

.main-navigation ul ul { background-color:var(--light-color); position:absolute; top:100%; left:-999em; padding:.25rem 3rem .25rem 1rem; z-index:99999; transition:.5s; }
.main-navigation ul ul > li { padding-block:.25em; }
.main-navigation ul ul > li + li::before { content:''; display:block; background-color:var(--default-color); height:1px; width:130px; margin-bottom:.5em; opacity:.2; }

.main-navigation ul li > svg { color:#4d4f53; display: inline-block; width:26px; height:16px; }

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

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

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

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

.main-navigation li > a:has(+ .sub-menu) { position:relative; }
.main-navigation li > a:has(+ .sub-menu)::after { content:''; display:inline-block; background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 8"><path d="M1.40978 0.185268L6.07929 4.68418L10.5884 0.0245023L12.0229 1.40959L6.07929 7.80931L0.0246928 1.61974L1.40978 0.185268Z" fill="currentColor"/></svg>') no-repeat; width:13px; height:8px; margin-left:.5em; }

#mobile-contactus { display:none; }


/* Small menu. */
.menu-toggle { display:none; }
.main-navigation ul { display: flex; }

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

	#masthead { --radius:16px; border-radius:0px 0px var(--radius) var(--radius); padding-top:1rem; margin-bottom:calc(-1 * var(--radius)) !important; overflow:hidden; }

	#masthead .wrapinside { display:block; min-height:initial; }

	#masthead .site-branding { margin-bottom:1rem; }
	#masthead .site-branding .site-title { width:94px; height:42px; margin-inline:auto; }
	#masthead .top-links { flex-direction:column; height:0; transition:.5s; }
	#masthead.toggled .site-branding .site-title { margin-right:initial; }
	#masthead.toggled .top-links { height:initial; padding-bottom:2rem; }

	.menu-toggle { display:block; position:absolute; top:2rem; left:1rem; background:none; border:none; width:28px; height:20px; padding:0; cursor:pointer; }
	.menu-toggle svg { width:28px; height:20px; color:var(--primary-color); }
	.menu-toggle svg.opened { display:none; }
	.toggled .menu-toggle svg.closed { display:none; }
	.toggled .menu-toggle svg.opened { display:initial; width:21px; height:21px; }

	#masthead #site-navigation .nav-menu { flex-direction:column; }

	#site-navigation ul ul { display:block; position:static; padding:0; }
	#site-navigation ul ul > li + li::before { content:none; }
	#site-navigation ul ul a { max-width:initial; font-weight:500; }

	#masthead .main-navigation { margin-bottom:2rem; }
	#masthead #contactus { border-radius:26px; width:245px; text-align:center; }
	#masthead #contactus svg { left:30px; }

	#mobile-contactus { position:absolute; top:1.5rem; right:1rem; display:grid; place-items:center; background-color:var(--primary-color); width:34px; aspect-ratio:1; border-radius:50%; }
	#mobile-contactus svg { width:15px; height:12px; color:var(--light-color); }
	#masthead.toggled #mobile-contactus { display:none; }
}


.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;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin-top: 1.5em;
}

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

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

.bypostauthor {
	display: block;
}

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

.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
--------------------------------------------- */
.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.8075em 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
--------------------------------------------------------------*/

.wave {
	clip-path: polygon( -9.719% 54.062%,-9.719% 54.062%,-9.718% 54.048%,-9.717% 54.033%,-9.716% 54.018%,-9.716% 54.003%,-9.715% 53.988%,-9.714% 53.973%,-9.713% 53.958%,-9.713% 53.943%,-9.712% 53.928%,-9.712% 53.912%,-9.712% 0%,100% 0%,100% 53.912%,100% 53.912%,99.988% 55.331%,99.866% 56.957%,99.612% 58.715%,99.206% 60.533%,98.625% 62.337%,97.849% 64.055%,96.855% 65.612%,95.623% 66.936%,94.132% 67.953%,92.359% 68.59%,92.359% 68.59%,90.196% 69.246%,88.467% 70.132%,87.116% 71.215%,86.084% 72.461%,85.313% 73.838%,84.745% 75.312%,84.323% 76.849%,83.988% 78.416%,83.683% 79.979%,83.348% 81.506%,83.348% 81.506%,82.955% 82.994%,82.493% 84.429%,81.938% 85.756%,81.264% 86.921%,80.447% 87.872%,79.461% 88.554%,78.281% 88.914%,76.883% 88.898%,75.24% 88.452%,73.329% 87.523%,73.329% 87.523%,71.28% 86.421%,69.249% 85.526%,67.244% 84.887%,65.273% 84.552%,63.345% 84.569%,61.47% 84.987%,59.654% 85.854%,57.909% 87.218%,56.241% 89.128%,54.659% 91.633%,54.659% 91.633%,53.437% 93.693%,52.237% 95.388%,51.074% 96.754%,49.961% 97.824%,48.913% 98.634%,47.944% 99.219%,47.068% 99.613%,46.3% 99.851%,45.654% 99.969%,45.144% 100%,45.144% 100%,44.634% 99.969%,43.988% 99.851%,43.22% 99.613%,42.344% 99.22%,41.375% 98.635%,40.327% 97.825%,39.214% 96.755%,38.051% 95.389%,36.851% 93.694%,35.629% 91.633%,35.629% 91.633%,34.047% 89.128%,32.379% 87.218%,30.633% 85.854%,28.818% 84.987%,26.943% 84.569%,25.015% 84.552%,23.044% 84.887%,21.039% 85.526%,19.008% 86.421%,16.959% 87.523%,16.959% 87.523%,14.836% 88.123%,12.621% 87.677%,10.385% 86.382%,8.197% 84.438%,6.128% 82.041%,4.246% 79.39%,2.623% 76.682%,1.328% 74.116%,0.431% 71.888%,0.002% 70.198%,0.002% 70.198%,-0.265% 68.253%,-0.602% 66.269%,-1.042% 64.287%,-1.617% 62.35%,-2.36% 60.501%,-3.302% 58.782%,-4.477% 57.236%,-5.916% 55.906%,-7.653% 54.834%,-9.719% 54.062% );
}

/* 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;
}
.textcenter { text-align:center; }

/* WP Styles */
.wp-block-heading { padding-top:1em; }
.wp-block-list { list-style-type:disc; padding-left:1em; margin-bottom:1em; }

.entry-content { text-align:justify; }/* default */
.entry-content .wrapinside.short > .wp-block-group__inner-container { max-width:792px; }
.entry-content h3.underline { margin-bottom:1.5em; text-align:initial; font-size:1.250em; color:var(--primary-color); }
.entry-content h3.underline::after { content:''; display:block; background-color:var(--third-color); height:4px; width:45px; }
.entry-content .wp-block-list.coches li { position:relative; list-style:none; padding-left:2rem; text-align:initial; }
.entry-content .wp-block-list.coches li + li { margin-top:1rem; }
.entry-content .wp-block-list.coches li::before { content:''; position:absolute; left:0; top:50%; background:url(images/marker.png) no-repeat center / contain; width:23px; height:23px; translate:0 -50%; }


/* Prog card */
.progcard { background-color:var(--light-color); width:390px; box-shadow: 0px 4px 4px 0px #0000004D, 0px 8px 12px 6px #00000026; }
.progcard a.picture { position:relative; display:block; overflow:hidden; }
.progcard a.picture .label { position:absolute; top:1em; left:1em; background-color:var(--third-color); border-radius:2px; padding-inline:5px; color:var(--light-color); font-size:.813em; line-height:1.923em; font-weight:700; z-index:2; box-shadow:0px 0px 20px 0px var(--third-color-alpha); }
.progcard a.picture .overlay { position:absolute; inset:0; opacity:0; transition:.5s cubic-bezier(.65,.05,.36,1); }
.progcard a.picture:hover .overlay { opacity:1; }
.progcard a.picture img { width:100%; max-height:225px; object-fit:cover; }
.progcard .inner { margin:0 20px; line-height:1.563em; }
.progcard .inner > * { margin-block: 8px; }
.progcard .inner h3 { font-size:1.250em; font-weight:800; }
.progcard .inner .location svg { width:12px; height:16px; position:relative; top:3px; }
.progcard .inner .type { line-height:1.563em; font-weight:600; }
.progcard .inner .bottom { display:flex; justify-content:space-between; align-items:center; }
.progcard .inner .price { color:var(--secondary-color); font-weight:800; }
.progcard .inner .price span { font-size:1.250em; }
.progcard .inner .tags .tag { background-color:var(--secondary-color-alpha); border:1px solid var(--secondary-color); border-radius:1.5em; margin-left:.25em; padding:6px 12px; font-size:.750em; color:var(--default-color) }


/* Homepage */
body.home #masthead { margin-bottom:0; }
#intro { --intro-height:590px; background:linear-gradient(90deg, rgba(0, 0, 0, 0.34) 33.18%, rgba(255, 255, 255, 0.34) 100%), url(images/illust_home.jpg) no-repeat center / cover; color:var(--light-color); }
#intro .wrapinside { display:grid; align-items:center; min-height:var(--intro-height); }
#intro .content { max-width:333px; }
@media screen and (max-width:600px) {
	#intro { background:linear-gradient(0deg, rgba(0, 0, 0, 0.34) 33.18%, rgba(0, 0, 0, 0.34) 100%), url(images/mb_illust_home.jpg) no-repeat center / cover; }
}
@media screen and (max-width:950px) {
	#intro .wrapinside { justify-content:center; }
	#intro .content { max-width:initial; }
	#intro .wrapinside .link { text-align:center; }
}
#intro .content h1 { margin-bottom:.8em; font-size:1.875em; line-height:1.4em; }
#intro .content p { margin-bottom:2.5em; font-weight:700; }
#intro .content a.btn { background-color:var(--light-color); color:var(--primary-color); font-weight:800; box-shadow: 0px 0px 20px 0px #00000040; }
#intro .content a.btn svg { width:7px; height:13px; margin-left:.5em; vertical-align:middle; }
#intro .content a.btn:hover { background-color:var(--primary-color); color:var(--light-color); }

#home-progneuf { background-color:var(--light-alt-color); padding-block:4rem; }
#home-progneuf .titleblock { text-align:center; color:var(--secondary-color); font-size:1.688em; }
#home-progneuf .titleblock h2 { margin-bottom:1em; }
#home-progneuf .titleblock ul { display:flex; justify-content:center; gap:2rem; margin-bottom:2rem; }
#home-progneuf .titleblock ul li { position:relative; padding-left:2rem; text-align:left; line-height:1.25em; font-size:1rem; font-weight:500; color:var(--default-color); }
#home-progneuf .titleblock ul li svg { position:absolute; left:0; top:50%; translate:0 -50%; height:23px; aspect-ratio:1; }
#home-progneuf .list { display:flex; flex-wrap:wrap; justify-content:space-between; padding-bottom:3rem; gap:1rem; }
#home-progneuf .list > li { border-radius:23px; width:389px; padding:5px; }
#home-progneuf .list > li a.picture, #home-progneuf .list > li a.picture img { border-radius:23px; }
#home-progneuf .list > li a.picture img { object-fit:cover; height:257px; }
#home-progneuf .list > li .inner > * { margin-block:8px; }
#home-progneuf .list + p { position:relative; top:1rem; text-align:center; }

@media screen and (max-width:1332px) {
	#home-progneuf .list { justify-content:center; }
}

#home-confiance { position:relative; margin-bottom:5rem; }
#home-confiance .wave { position:absolute; inset:0; background-image:linear-gradient(90deg, #2d729f, var(--primary-color)); width:100%; height:354px; z-index:0; }
#home-confiance .wave .opacity { position:absolute; inset:0; background-color:var(--light-color); z-index:1; opacity:.2; }
#home-confiance > svg { position:absolute; inset:0; width:100%; height:354px; z-index:0; }
#home-confiance .wrapinside { position: relative; padding-top:4rem; text-align:center; }
#home-confiance .wrapinside h2 { margin-bottom:3rem; color:var(--light-color); }
#home-confiance .wrapinside ul { display:flex; justify-content:center; flex-wrap:wrap; gap:3rem 5rem; }
#home-confiance .wrapinside ul li { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; background-color:var(--light-color); border:1px solid var(--third-color); border-radius:30px; width:280px; padding:1.4em; box-shadow: 0px 4px 4px 0px #0000004D, 0px 8px 12px 6px #00000026; }
#home-confiance .wrapinside ul li h3 { margin-bottom:1rem; line-height:1.250em; color:var(--primary-color); font-size:1.25em; font-weight:800; }
#home-confiance .wrapinside ul li h3 strong { display:block; font-size:1.2em; }
#home-confiance .wrapinside ul li p { margin:0; }

#home-equipe { text-align:center; color:var(--secondary-color); font-size:1.688em; }
#home-equipe .illustration img { display:block; border-radius:10px; max-width:80%; margin-inline:auto; margin-bottom:2rem; box-shadow:0px 0px 20px 0px #00000040; }

#home-guide { background:var(--light-alt-color); border-top: 1px solid var(--secondary-color); padding-block:6rem 8rem; }
#home-guide .wrapinside { background:var(--light-color); border-radius:30px; padding:3rem; display:grid; grid-template-areas:"left1" "right" "left2"; }
#home-guide .wrapinside h2 { grid-area:left1; }
#home-guide .wrapinside .infos { grid-area:left2; }
#home-guide .wrapinside .infos ul li { margin-block:1.44em; }
#home-guide .wrapinside .infos ul li svg { height:25px; aspect-ratio:1; vertical-align:middle; margin-right:1em; }
#home-guide .wrapinside .infos a.btn { display:inline-block; padding:12px; }
#home-guide .wrapinside .infos a.btn svg { height:19px; aspect-ratio:1; vertical-align:middle; margin-right:.25em; }
#home-guide .wrapinside .infos + a { grid-area:right; }

@media screen and (max-width:500px) {
	#home-guide { padding-block:3rem; }
	#home-guide .wrapinside .infos + a img { display:none; }
}

@media screen and (min-width:920px) {
	#home-guide .wrapinside { grid-template-columns:1fr 1.7fr; grid-template-areas:"left1 right" "left2 right"; align-items:center; }
	#home-guide .wrapinside .infos + a img { position:relative; right:-2em; margin:0; scale:1; }
}

#home-clients { border-top:1px solid var(--secondary-color); padding-block:4rem; text-align:center; }
#home-clients h2 { margin-bottom:.3em; line-height:2.15em; }
#home-clients h3 { font:inherit; margin-bottom:2.75rem; }
#home-clients ul { background-color:#DFE3E5; display:grid; grid-template-columns:repeat(auto-fill, minmax(199px,1fr));/*repeat(6, 1fr);*/ margin-bottom:5rem; gap:1px; }
#home-clients ul li { background-color:var(--light-color); min-height:100px; }


/* Logements neufs / récents */
.post-type-archive-progneuf #masthead, .post-type-archive-housing #masthead { margin-bottom:0; }
.page-results #js-toggle-map { display:none; }
.page-results #js-toggle-map svg { width:10px; height:10px; }
.page-results #js-toggle-map .tomap svg { margin-left:.25rem; }
.page-results #js-toggle-map .tolist svg { margin-right:.25rem; rotate:180deg; }
.page-results .main-title { position:relative; background-color:var(--light-color); padding:2.25rem 0 4.5rem 0; text-align:center; color:var(--secondary-color); font-weight:700; z-index:2; }
.page-results .main-title h1 { font-size:1.875em; }
.page-results .main-title h1 + span { font-size:1.688em; }
.page-results .filters { position:sticky; top:6rem; display:flex; justify-content:center; align-items:center; gap:3rem; background-color:var(--light-color); border-radius:5px; margin-top:-2.5rem; padding:10px 40px; box-shadow: 0px 0px 20px 0px #00000040; z-index:2; }
.page-results .filters .field { border-bottom:1px solid var(--secondary-color); display:flex; justify-content:space-between; align-items:center; gap:3rem; padding-bottom:.3rem; min-width:250px; font-weight:600; }
.page-results .filters .field label { cursor:pointer; }
.page-results .filters .field select { border:none; background:none; width:100%; font-size:1em; font-weight:600; cursor:pointer; }
.page-results .filters .field svg { width:19px; height:18px; margin-left:auto; }
.page-results .filters .btn { padding:7px 24px; }
.page-results #special-two-cols { position:relative; z-index:1; --max-width:820px; }
.page-results #special-two-cols.both { --max-width:880px; --btns-x:-30px; }
.page-results #special-two-cols.both .block-items { max-width:var(--max-width); }
.page-results #special-two-cols.map { --max-width:0px; --btns-x:5px; }
.page-results #special-two-cols.map .block-items { margin-left:-200vw; }
.page-results #special-two-cols.list { --max-width:100vw; --btns-x:-35px; }
.page-results .block-items { position:relative; background-color:var(--secondary-color-fusion); max-width:100%; margin-top:-1.5rem; padding:2.5rem 0 10rem 3rem; box-shadow:0px 100px 40px 0px #00000099; z-index:2; transition:max-width .3s cubic-bezier(.4,0,.6,1), margin .3s cubic-bezier(.4,0,.6,1); }
.post-type-archive-housing .page-results .block-items { background-color:var(--light-alt-color); }
.page-results .block-items .nav-buttons { position:fixed; left:calc(var(--max-width) + var(--btns-x)); display:flex; gap:.5rem; z-index:5; }
.page-results .block-items .nav-buttons button { display:grid; place-items:center; background-color:var(--secondary-color); border:0; border-radius:50%; width:25px; aspect-ratio:1; padding:0; color:var(--light-color); cursor:pointer; }
.page-results .block-items .nav-buttons button svg { width:11px; height:16px; }
.page-results .block-items .nav-buttons button#js-show-map { rotate:180deg; }
.page-results #special-two-cols.map #js-show-map, .page-results #special-two-cols.list #js-show-list { display:none; }

.page-results .block-items .list { position:relative; display:flex; flex-wrap:wrap; gap:1.5rem 1rem; z-index:2; }
.page-results .list .block-items .list { justify-content:center; }
.page-results .block-items .list .progcard { width:400px; max-height:410px; }
.page-results .block-items nav.pagination { position:absolute; left:0; bottom:3rem; width:100%; z-index:2; }
.page-results .block-items nav.pagination .nav-links { display:flex; justify-content:center; gap:1rem; }
.page-results .block-items nav.pagination .page-numbers { display:grid; place-items:center; width:44px; aspect-ratio:1; background-color:var(--light-color); border-radius:3px; color:var(--primary-color); font-weight:600; transition:.25s ease-in; }
.page-results .block-items nav.pagination .page-numbers svg { width:18px; height:15px; }
.page-results .block-items nav.pagination .page-numbers.current, .page-results .block-items nav.pagination a.page-numbers:hover { background-color:var(--primary-color); color:var(--light-color); text-decoration:none; }

.page-results #special-two-cols .map { position:fixed; top:100px; left:var(--max-width); width:calc(100% - var(--max-width)); height:100%; transition:left .3s cubic-bezier(.4,0,.6,1); z-index: 1; }
.page-results #special-two-cols .map #map{ width:100%; height:100%; }
.page-results .no-results { display:grid; place-items:center; min-height:300px; text-align:center; }

.map .leaflet-control-container .leaflet-top.leaflet-left { top:50%; translate:0 -50%; }

@media screen and (max-width:950px)
{
	.page-results #js-toggle-map { display:flex; justify-content:end; position:relative; top:.5em; background:var(--light-color); padding:2em 1em 1em; color:var(--primary-color); font-size:.625rem; font-weight:600; text-transform:uppercase; z-index:2; box-shadow:0px 0px 10px 0px #00000026; cursor:pointer; }
	.page-results #js-toggle-map .tolist { display:none; };
	.page-results #js-toggle-map.map { justify-content:start; };
	.page-results #js-toggle-map.map .tomap { display:none; };
	.page-results #js-toggle-map.map .tolist { display:initial; };
	.page-results .block-items .nav-buttons { display:none; justify-content:end; left:auto; right:1em; }
}

@media screen and (max-width:1000px)
{
	.page-results { background-color:var(--secondary-color-fusion); }
	.page-results .main-title { background:var(--secondary-color-fusion); padding-bottom:3.5rem; }
	.post-type-archive-housing .page-results { background-color:var(--light-alt-color); }
	.post-type-archive-housing .page-results .main-title { background:var(--light-alt-color); }
	.page-results .main-title h1 { font-size:1.15em; line-height:1.15em; }
	.page-results .main-title h1 span { display:block; }
	.page-results .main-title h1 + span { font-size:1.25em; }
	.page-results .filters { position:relative; top:initial; flex-direction:column; gap:1.5rem; }
	.page-results .filters .field { width:100%; gap:.5rem; justify-content:start; }
	.page-results .block-items { padding-inline:0; }
	.page-results .block-items .list { justify-content:center; }
}


/* Fiche */
.page-item { padding-bottom:4rem; }
.page-item .block-head-program { --head-min-height:408px; display:flex; align-items:center; position:relative; background: #246B8E33; min-height:var(--head-min-height); overflow:hidden; margin-bottom:3rem; color:var(--secondary-color); }
.single-housing .page-item .block-head-program { background-color:var(--light-alt-color); }
.page-item .block-head-program .wrapinside { display:grid; grid-template-columns:35% 65%; align-items:center; }
.page-item .linkback { display:flex; align-items:center; font-size:.813em; line-height:1.385em; font-weight:600; text-transform:uppercase; }
.page-item .linkback svg { width:14px; height:12px; margin-right:.25em; }


.page-item .block-head-program h1 { margin-bottom:.5em; font-size:1.875em; line-height:1em; }
.page-item .block-head-program h1 span { display:block; }
.page-item .block-head-program h2 { margin-bottom:.5em; }
.page-item .block-head-program .address { display:flex; align-items:center; gap:.5rem; margin-bottom:1.5em; font-size:1.25em; font-weight:600; }
.page-item .block-head-program .address p { margin-bottom:0; }

.page-item .block-head-program .aides { display:inline-block; background-color:var(--light-color); border:1px solid var(--secondary-color); padding:6px 15px; color:var(--default-color); }
.page-item .block-head-program .aides > p { font-size:.938em; line-height:1em; margin-bottom:1em; }
.page-item .block-head-program .aides > p strong { font-weight:600; }
.page-item .block-head-program .aides ul { display:flex; gap:2rem; }
.page-item .block-head-program .aides ul li { display:grid; place-items:center; position:relative; padding-left:1.5rem; font-size:.75rem; line-height:1.25em; }
.page-item .block-head-program .aides svg { position:absolute; left:0; top:50%; translate:0 -50%; height:17px; aspect-ratio:1; }

.page-item .block-head-program #showslider { margin:0; cursor:zoom-in; width:100%; height:100%; }
.page-item .block-head-program #showslider img { position:absolute; top:0; height:100%; width:calc(((var(--site-max-width) / 100) * 65) + ((100vw - var(--site-max-width)) / 2)); object-fit:cover; }
.page-item .block-head-program #showslider .btn { position:absolute; bottom:1rem; margin-left:1rem; background-color:var(--light-color); padding:5px 10px; color:var(--primary-color); font-size:1rem; font-weight:700; z-index:1; cursor:zoom-in; }
.page-item .block-head-program #showslider .btn:hover, .page-item .block-head-program #showslider .btn:focus { background-color:var(--secondary-color); color:var(--light-color); }

.page-item .block-head-program #showslider .btn svg { width:7px; height:13px; margin-left:.25em; vertical-align:middle; }

@media screen and (max-width:950px) {
	.page-item .block-head-program h1 span { display:initial; }
	.page-item .block-head-program .wrapinside { display:flex; flex-direction:column-reverse; max-width:initial; }
	.page-item .block-head-program .wrapinside .col { padding:1rem 2rem; width:100%; margin-inline:auto; }
	.page-item .block-head-program .wrapinside #showslider { position:relative; }
	.page-item .block-head-program .wrapinside #showslider img { position:static; width:100%; }
	.page-item .block-head-program #showslider .btn { font-size:.9rem; }
}

dialog { margin:auto; border:0 !important; width:100%; height:100% !important; display:none; }
dialog::backdrop { background-color: var(--light-color); }
dialog:open { display:initial; animation:fade-in 0.7s ease-out; }
dialog button { background-image:linear-gradient(90deg, var(--secondary-color), var(--primary-color)); width:42px; aspect-ratio:1; border:0; border-radius:50%; padding:0; color:var(--light-color); cursor:pointer; }
dialog button::before { content:''; position:absolute; inset:0; border-radius:50%; background-image:linear-gradient(90deg, var(--third-color), var(--third-color)); z-index:0; transition:.25s ease-in; opacity:0; }
dialog button:hover::before { opacity:1; }
dialog button svg { z-index:1; }

dialog button[data-action="close"] { position:absolute; top:0; right:0; display:grid; z-index:1; }
dialog button[data-action="close"] svg { width:42px; aspect-ratio:1; padding:12px; color:var(--light-color); }

dialog .block-slider { position:relative; top:50%; translate:0 -50%; }
dialog .slick-slider { width:initial !important; }
dialog .slick-slide img { width:100%; height:100%; object-fit:cover; }

dialog .slick-slider { position:relative; }
dialog .slick-slider .slick-arrow { display:grid; place-items:center; position:absolute; top:50%; transform:translateY(-50%); left:1rem; width:35px; z-index:2; }
dialog .slick-slider .slick-arrow::before { z-index:-1; }
dialog .slick-slider .slick-arrow .svg-icon { color:#fff; width:10px; }
dialog .slick-slider .slick-arrow.slick-next { left:auto; right:1rem; transform:rotate(-180deg) translateY(50%); }
@keyframes fade-in { 0% { opacity:0; display:none; } 100% { opacity:1; display: block; } }

@supports (-webkit-text-size-adjust:none) and (font: -apple-system-body) { 
	dialog { inset:0; max-width:100%; z-index:9999; }
	dialog:open { position:fixed; inset:0 !important; width:100% !important; height:100%; border:none !important; z-index:99999; }
}

.page-item .split { --form-width:auto; display:grid; gap:3rem; grid-template-columns:1; }
@media screen and (min-width:950px) {
	.page-item .split { --form-width:360px; grid-template-columns:auto var(--form-width); }
}

.page-item .block-infos .label { position:relative; top:-.5rem; display:inline-block; background-color:var(--third-color); border-radius:2px; padding-inline:5px; margin-bottom:1rem; color:var(--light-color); font-size:.813em; line-height:1.923em; font-weight:700; z-index:2; box-shadow:0px 0px 20px 0px var(--third-color-alpha); }
.page-item .block-infos .atouts { display:grid; margin-bottom:2rem; }
.page-item .block-infos .atouts li + li { position:relative; padding-top:1rem; }
.page-item .block-infos .atouts li + li::before { position:absolute; top:-.25rem; left:0; content:''; display:block; height:1px; width:290px; background-color:var(--default-color); opacity:.2; }
.page-item .block-infos .atouts h3 { margin-bottom:.25em; font-size:1rem; font-weight:800; text-transform:uppercase; }
.page-item .block-infos .atouts h3 svg { margin-right:.5rem; vertical-align:middle; color:#C4C4C4; }

.page-item .block-infos h2 { margin-bottom:.5em; font-size:1.250em; color:var(--secondary-color); font-weight:800; line-height:1.250em; }
@media screen and (min-width:950px) {
	.page-item .block-infos .atouts { grid-template-columns:repeat(3,1fr); margin-bottom:3rem; }
	.page-item .block-infos .atouts li:not(:last-child) { padding-right:1rem; }
	.page-item .block-infos .atouts li + li { padding-top:initial; padding-left:1rem; }
	.page-item .block-infos .atouts li + li::before { position:absolute; top:.5rem; left:0; content:''; display:block; height:42px; width:1px; background-color:var(--default-color); opacity:.2; }
	.page-item .block-infos .atouts p { font-size:.938em; font-weight:400; line-height:1.2em; }
}

.page-item .block-description ul, .page-item .block-description ol { padding-left:1em; margin:0 0 1em 1em; }
.page-item .block-description ul { list-style-type:disc; }

.page-item .block-map .map { width:100%; height:330px; z-index:1; }

.page-item #form-contact { border-radius:10px; width:var(--form-width); padding:30px; box-shadow: 0px 0px 20px 0px #00000040; }
.page-item #form-contact h2 { color:var(--primary-color); font-size:1.25em; font-weight:800; line-height:1.25em; text-align:center; }
.page-item #form-contact .field { padding-block:.75em; }
.page-item #form-contact .field > label { display:block; padding-bottom:.5rem; }
.page-item #form-contact .field-radio { display:flex; justify-content:space-between; }
.page-item #form-contact .field-text input, .page-item #form-contact .field-textarea textarea, .page-item #form-contact .field-select select { background-color:var(--light-alt-color); border:0; border-radius:4px; width:100%; padding:1em .5em; box-shadow:0px 1px 5px 0px #0000001A inset; }
.page-item #form-contact .field-textarea textarea { min-height:180px; }
.page-item #form-contact .field-checkbox { display:flex; align-items:start; gap:.5rem; }
.page-item #form-contact .field-checkbox input { margin-top:.25rem; }
.page-item #form-contact button[type="submit"] { width:100%; font-weight:800; }

.page-item .split + p:has(a.linkback) { margin-top:1em; margin-bottom:0; }


/* Qui Sommes-nous */
body.page-qui-sommes-nous .entry-content > .wp-block-group { padding-block:1rem; }
body.page-qui-sommes-nous #fond-couleur .wp-block-columns-is-layout-flex { align-items:center !important; }
body.page-qui-sommes-nous .wrapinside:has(.encart) { counter-reset:countencart; }
body.page-qui-sommes-nous .encart { margin-block:3rem; }
body.page-qui-sommes-nous .encart > .wp-block-group__inner-container { display:flex; flex-direction:row; position:relative; border:1px solid #000000; border-radius:20px; max-width:770px; counter-increment:countencart; }
body.page-qui-sommes-nous .encart > .wp-block-group__inner-container::before { position:absolute; top:5px; right:100px; content:counter(countencart); font-family:'Caveat', cursive; color:var(--third-color); font-size:128px; line-height:0; font-weight:700; }
body.page-qui-sommes-nous .encart figure { margin:0; }
body.page-qui-sommes-nous .encart figure img { max-width:350px; height:100%; object-fit:cover; border-radius:20px; }
body.page-qui-sommes-nous .encart .wp-block-group { padding:3rem 2rem 1rem 2rem; }
body.page-qui-sommes-nous .wp-block-column:has(> .encart) { align-self:end; }
body.page-qui-sommes-nous .wp-block-column:has(> .encart) .encart { margin:0; }
body.page-qui-sommes-nous .wp-block-column .encart .wp-block-group { padding:1rem 2rem; }
body.page-qui-sommes-nous .wp-block-column .encart > .wp-block-group__inner-container { flex-direction:row-reverse; margin-left:auto; }
body.page-qui-sommes-nous .wp-block-column .encart > .wp-block-group__inner-container::before { top:-20px; left:0; right:auto; }
body.page-qui-sommes-nous #residence-principale .wp-block-columns-is-layout-flex { align-items:center !important; gap:10rem; }
body.page-qui-sommes-nous #residence-principale .wp-block-columns-is-layout-flex + p { position:relative; top:-3rem; }
body.page-qui-sommes-nous #residence-principale p:has(+ .wp-block-list) { margin:0; }
body.page-qui-sommes-nous #residence-principale .wp-block-list { margin-bottom:3rem; }
body.page-qui-sommes-nous #residence-principale .wp-block-list li { margin-bottom:2rem; }
body.page-qui-sommes-nous #residence-principale .wp-block-column .pictext { margin-block:2rem; }
body.page-qui-sommes-nous #residence-principale .wp-block-column .pictext > .wp-block-group__inner-container { display:grid; grid-template-columns:100px auto; gap:1rem; }
body.page-qui-sommes-nous #residence-principale .wp-block-column .pictext > .wp-block-group__inner-container .wp-block-image { margin:0; }
body.page-qui-sommes-nous #residence-principale .wp-block-column .pictext > .wp-block-group__inner-container .wp-block-image img { width:70px; height:60px; object-fit:cover; box-shadow: 0px 4px 9px 0px #0000000D; }
body.page-qui-sommes-nous #residence-principale .pictext h4.wp-block-heading { padding:0; margin-top:-8px; text-align:initial; font-family:inherit; font-size:1.5rem; line-height:1.667em; color:var(--secondary-color); font-weight:800; }

@media screen and (max-width:735px) {
	body.page-qui-sommes-nous #fond-couleur .wp-block-columns-is-layout-flex { gap:0; }
	body.page-qui-sommes-nous #fond-couleur figure { margin:0; }

	body.page-qui-sommes-nous .encart > .wp-block-group__inner-container { flex-direction:column !important; }
	body.page-qui-sommes-nous .encart figure img { width:100%; max-width:initial; height:200px; }
	body.page-qui-sommes-nous .encart .wp-block-group { padding:1rem 2rem; }

	body.page-qui-sommes-nous #residence-principale .wp-block-columns-is-layout-flex { gap:0; }
	body.page-qui-sommes-nous #residence-principale .wp-block-columns-is-layout-flex + p { position:static; text-align:center; }
	body.page-qui-sommes-nous #residence-principale .wp-block-column .pictext > .wp-block-group__inner-container { grid-template-columns:60px auto; }
	body.page-qui-sommes-nous #residence-principale .pictext h4.wp-block-heading { font-size:.925rem; }
}



/* Equipe */
.collaborateurs { background-image: radial-gradient(var(--secondary-color-alpha), var(--light-color) 70%); }
.collaborateurs ul { display:flex; flex-wrap:wrap; justify-content:space-between; padding:40px 55px 5rem; gap:3rem; }
.collaborateurs ul li { --img-width:169px; display:grid; grid-template-columns:var(--img-width) auto; gap:1.5rem; background-color:var(--light-color); border-radius:10px; width:474px; /*height:238px;*/ padding:12px 14px; line-height:1.25em; box-shadow:0px 0px 20px 0px #00000040; }
.collaborateurs ul li img { border-radius:15px; width:var(--img-width); /*height:214px;*/ object-fit:cover; box-shadow: 0px 0px 20px 0px #00000033; }
.collaborateurs ul li .info { display:flex; flex-direction:column; justify-content:center; text-align:initial; }
.collaborateurs ul li .nom { font-weight:700; }
.collaborateurs ul li .fonction + * { margin-top:.5rem; }
.collaborateurs ul li a { display:flex; flex-wrap:wrap; align-items:center; }
.collaborateurs ul li a span { display:grid; place-items:center; background: #2D729F33; border-radius:50%; width:36px; aspect-ratio:1; margin-right:.5rem; }
.collaborateurs ul li a span svg { width:15px; height:12px; color:var(--third-color); }
.collaborateurs ul li .description { font-weight:400; }
@media screen and (max-width:950px) {
	.collaborateurs ul { padding:0 0 3rem 0; }
	.collaborateurs ul li { --img-width:120px; gap:1em; }
}
/*.page-notre-equipe .entry-content .wp-block-column.wrapinside { padding-left:calc((1440px - 1200px) / 2); }*/
.page-notre-equipe .wp-block-group#fond-couleur { background-color:var(--light-alt-color); border-block:1px solid var(--secondary-color); margin-bottom:4rem; }
.page-notre-equipe .wp-block-group#fond-couleur .wp-block-columns { gap:0; }
.page-notre-equipe .wp-block-group#fond-couleur .wp-block-columns .wp-block-column:first-child { flex-basis:47%; display:flex; flex-direction:column; justify-content:center; padding:1rem 60px 1rem 120px; }
.page-notre-equipe .wp-block-group#fond-couleur .wp-block-columns .wp-block-column:last-child { flex-basis:53%; }

.page-notre-equipe .entry-content #fond-couleur .wp-block-column:has( > .wp-block-image.responsive) { position:relative; }
.page-notre-equipe .entry-content #fond-couleur .wp-block-image.responsive { margin:0; width:100%; height:100%; }
.page-notre-equipe .entry-content #fond-couleur .wp-block-image.responsive img { width:100%; height:100%; min-height:660px; object-fit:cover; }
.page-notre-equipe .entry-content #fond-couleur .wp-block-column > .wp-block-image.responsive + .wp-block-group { position:absolute; top:50%; left:50%; translate:-50% -50%; background:var(--light-color); border-radius:10px; width:370px; padding:1.5rem; }

.page-notre-equipe .entry-content #fond-couleur + .wrapinside { background-image: radial-gradient(var(--secondary-color-alpha), var(--light-color) 70%); align-items:center !important; margin-bottom:3rem; }
.page-notre-equipe .entry-content .is-style-rounded img { border-radius:80px 10px; box-shadow:0px 4px 4px 0px #0000004D, 0px 8px 12px 6px #00000026; }
.page-notre-equipe .entry-content .is-style-rounded + .has-text-align-center { padding-top:3rem; }
.page-notre-equipe .entry-content #fond-couleur + .wrapinside.wp-block-columns-is-layout-flex > .wp-block-column:first-child { flex-basis: 53%; }
.page-notre-equipe .entry-content #fond-couleur + .wrapinside.wp-block-columns-is-layout-flex > .wp-block-column:last-child { flex-basis: 47%; padding-left: 140px; }

@media screen and (max-width:781px) {
	.page-notre-equipe .wp-block-group#fond-couleur .wp-block-columns .wp-block-column:first-child { padding:1rem 0;  max-width:90%; margin-inline:auto; }
	.page-notre-equipe .entry-content #fond-couleur + .wrapinside { flex-direction:column-reverse; }
	.page-notre-equipe .entry-content #fond-couleur + .wrapinside.wp-block-columns-is-layout-flex > .wp-block-column:last-child { padding-left:initial; }
	.page-notre-equipe .entry-content #fond-couleur + .wrapinside h3.underline { padding:0; }
}


/* Glossaire & FAQ */
.wp-block-group.glossaire { padding-block:2rem; text-align:initial; }
.wp-block-group.glossaire > .wp-block-group__inner-container { columns:3; }
@media screen and (max-width:920px) {
	.wp-block-group.glossaire > .wp-block-group__inner-container { columns:2; }
}
@media screen and (max-width:475px) {
	.wp-block-group.glossaire > .wp-block-group__inner-container { columns:1; }
}
.wp-block-group.glossaire > .wp-block-group__inner-container .wp-block-group { margin-bottom:1.5em; }
.wp-block-group.glossaire > .wp-block-group__inner-container .wp-block-group p { margin:0; }
.wp-block-group.glossaire > .wp-block-group__inner-container strong { font-size:1.125em; color:var(--third-color); }

.wp-block-group.faq { background-color:var(--light-alt-color); padding-block:4rem; }
.wp-block-group.faq .wp-block-columns.is-layout-flex { gap:5.5rem; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq { background-color:var(--light-color); border-radius:16px; margin-bottom:2rem; box-shadow: 0px 5px 15px 0px #19213D0F; font-family:inherit; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .question { position:relative; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .question h4 { padding-right:35px; text-align:initial; font-family:inherit; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .question::before { content:none !important; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .question::after { position:absolute; top:0; right:0; content:url('images/arrow_open.svg'); display:grid; place-items:center; background:#F1F2F9; border-radius:50%; width:35px; aspect-ratio:1; box-shadow:0px 0.5px 1px 0px #19213D12; }
.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .active::after { content:url('images/arrow_close.svg'); background:linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%); }

@media screen and (max-width:920px) {
	.wp-block-group.faq .wp-block-faq-block-for-gutenberg-faq .question h4 { font-size:.9rem; line-height:1.15em; }
	.wp-block-faq-block-for-gutenberg-faq .answer { font-size:.875rem; }
}


/* Nous contacter */
body.page-nous-contacter #primary article { background:url(images/bg_page_contact.jpg) no-repeat center / cover; background:linear-gradient(#32323233, #32323233), url(images/bg_page_contact.jpg) no-repeat center / cover; padding:7rem; }
body.page-nous-contacter .entry-header h1.entry-title { text-align:center; color:var(--light-color); font-size: 1.875em; line-height: 1.333em; }
body.page-nous-contacter .entry-content { text-align:center; color:var(--light-color); }
body.page-nous-contacter .entry-content > p { font-size:1.250em; line-height: 1.250em; }
body.page-nous-contacter .entry-content .card { display:flex; flex-wrap:wrap; background-color:var(--light-color); border-radius:20px; max-width:475px; padding:30px 20px; margin-inline:auto; margin-bottom:6.66em; gap:34px; text-align:initial; color:var(--default-color); font-size: 1.125em; box-shadow: 0px 4px 4px 0px #00000040; }
body.page-nous-contacter .entry-content .card li:nth-child(2) { background:#0000001A; width:1px; }
body.page-nous-contacter .entry-content .card strong { display:block; padding-bottom: .5em; color:var(--primary-color); line-height: 1em; font-weight: 800; }
body.page-nous-contacter .entry-content .card strong svg { width:16px; height:16px; margin-right:.25rem; vertical-align:middle; }
body.page-nous-contacter .entry-content #form-contact { background-color:var(--light-color); border-radius:10px; max-width:900px; margin-inline:auto; padding:50px; text-align:initial; color:var(--default-color); box-shadow: 0px 0px 20px 0px #00000040; }
body.page-nous-contacter #form-contact .field { padding-block:.75em; }
body.page-nous-contacter #form-contact .field > label { display:block; padding-bottom:.5rem; }
body.page-nous-contacter #form-contact .field-radio { display:flex; justify-content:space-between; max-width: 85%; }
body.page-nous-contacter #form-contact .field-text input, body.page-nous-contacter #form-contact .field-textarea textarea, body.page-nous-contacter #form-contact .field-select select { background-color:var(--light-alt-color); border:0; border-radius:4px; width:100%; padding:1em .5em; box-shadow:0px 1px 5px 0px #0000001A inset; }
body.page-nous-contacter #form-contact .field-textarea textarea { min-height:180px; }
body.page-nous-contacter #form-contact .field-checkbox { display:flex; align-items:start; gap:.5rem; }
body.page-nous-contacter #form-contact .field-checkbox input { margin-top:.35rem; }
body.page-nous-contacter #form-contact button[type="submit"] { width:100%; font-weight:800; }
body.page-nous-contacter #fond-couleur { display:grid; place-items:center; background-color:var(--light-alt-color); padding-block:3.75rem; }
body.page-nous-contacter #fond-couleur .wrapinside { display: flex; align-items: center; justify-content: space-between; }
body.page-nous-contacter #fond-couleur .wrapinside h2 { margin-bottom:0; line-height:40px; }
body.page-nous-contacter #fond-couleur .wrapinside p { color:var(--secondary-color); }
body.page-nous-contacter #fond-couleur .wrapinside > div ul { display:flex; gap:100px; margin-top: 44px; }
body.page-nous-contacter #fond-couleur .wrapinside > div ul li { background-color:var(--light-color); border-radius:20px; width:280px; padding:20px 10px; text-align:center; box-shadow: 0px 4px 4px 0px #00000040; }
body.page-nous-contacter #fond-couleur .wrapinside > div ul li svg { width:23px; height:33px; color:var(--third-color); }
body.page-nous-contacter #fond-couleur .wrapinside > div ul li h3 { color:var(--secondary-color); font-size: 1.250em; line-height:2em; font-weight: 800; }
body.page-nous-contacter #fond-couleur .wrapinside img { max-width:350px; }

@media screen and (max-width:750px) {
	body.page-nous-contacter #primary article { background:url(images/mb_bg_page_contact.jpg) no-repeat fixed center / cover; background:linear-gradient(#32323233, #32323233), url(images/mb_bg_page_contact.jpg) no-repeat fixed center / cover; }
	body.page-nous-contacter #primary article { padding:3rem 0rem; }
	body.page-nous-contacter .entry-content .card { justify-content:center; text-align:center; }
	body.page-nous-contacter .entry-content .card li:nth-child(2) { display:none; }
	body.page-nous-contacter #fond-couleur .wrapinside { flex-direction:column; align-items:start; gap:5rem; width:initial; text-align:center; }
	body.page-nous-contacter #fond-couleur .wrapinside > div { width:100%; }
	body.page-nous-contacter #fond-couleur .wrapinside > div ul { flex-direction:column; gap:3rem; }
	body.page-nous-contacter #fond-couleur .wrapinside > div ul li { margin-inline:auto; }
}


/* Nos Clients */
body.page-decouvrez-nos-clients #primary { background-color:var(--light-alt-color); padding-bottom:5rem; }
body.page-decouvrez-nos-clients #primary h2 { margin-bottom:2rem; }
body.page-decouvrez-nos-clients #primary .list { display:grid; grid-template-columns:repeat(auto-fill, minmax(266px, 1fr)); gap:2rem; margin-bottom:5rem; text-align:center; }
body.page-decouvrez-nos-clients #primary .list li { background-color:var(--light-color); border-radius:20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; padding:2rem 1rem; box-shadow: 0px 0px 20px 0px #00000040; }
body.page-decouvrez-nos-clients #primary .list li .btn { border-radius:6px; padding:5px 12px; font-size:.75rem; font-weight:700; box-shadow:none; }
body.page-decouvrez-nos-clients #primary .list li .btn.arrow-right::after { width:5px; height:10px; margin-left:.5rem; vertical-align:middle; }


/* Nos Agences */
body.page-nos-agences .adresses { margin-bottom: 3rem; }
body.page-nos-agences .adresses img { width:100%; max-width:495px; height:290px; object-fit:cover; box-shadow:0px 4px 4px 0px #00000040; }
body.page-nos-agences .adresses h3 { padding:0; color:var(--secondary-color); font-size:1.25rem; line-height:2em; font-weight:800; }
body.page-nos-agences .adresses p { margin-block:1em; }


/* Guide accession */
body.page-template-guide .entry-content.wrapinside { --summary-width:315px; position:relative; }
body.page-template-guide .entry-content.wrapinside .summary { text-align:initial; }
body.page-template-guide .entry-content.wrapinside .summary .backgrnd { background-color:var(--light-alt-color); padding:1.5rem 1rem; margin-inline:auto; }
body.page-template-guide .entry-content.wrapinside .summary h2 { font-size:1.25em; font-weight:700; text-transform:uppercase; }
body.page-template-guide .entry-content.wrapinside .summary ol { margin:0 0 0 1rem; }
body.page-template-guide .entry-content.wrapinside .summary li + li { margin-top:1.5em; }
body.page-template-guide .entry-content.wrapinside .summary + div { counter-reset:h2Counter; }
body.page-template-guide .entry-content.wrapinside .summary + div h2 { counter-increment:h2Counter; }
body.page-template-guide .entry-content.wrapinside .summary + div h2::before { content:counter(h2Counter) ". "; }
@media screen and (min-width:920px) {
	body.page-template-guide .entry-content.wrapinside { display:grid; grid-template-columns:var(--summary-width) auto; gap:2rem; }
	body.page-template-guide .entry-content.wrapinside .summary { position:sticky; top:120px; align-self:start; padding-block:2rem; margin-bottom:200px; }
	body.page-template-guide .entry-content.wrapinside .summary .backgrnd { width:var(--summary-width); }
	body.page-template-guide .entry-content.wrapinside .wysiwyg .textcenter .btn.arrow-right { position:relative; left:calc(calc(var(--summary-width) + 2rem)/-2); }
}