/*
Theme Name: arnauneprim
Theme URI: http://underscores.me/
Author: Valentin GRENIER
Author URI: https://studio-val.fr
Description: A custom theme made for Arnauné & Prim website.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arnauneprim
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


/* 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%;
	font-size: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

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

/**
 * Disable the outline on active and focus status for inputs
 */
input:focus,
input:active {
	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;
	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;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--text), -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;
	font-family: var(--title);
	color: var(--blue);
}

p {
	margin-bottom: 1.5em;
	color: var(--blue);
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	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 #666;
	cursor: help;
}

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

big {
	font-size: 125%;
}

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

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1.5em;
}

ul {
	list-style: disc;

}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li {
	margin-bottom: 1rem;
}

li::marker {
	color: var(--red);
}

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

p a {
	text-decoration: underline;
	transition: var(--transition);
}

p a:hover {
	opacity: 0.6;
}

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

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

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

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

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;
	opacity: 0;
	transition: var(--transition);
}

.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;
	opacity: 1;
	transition: var(--transition);
}

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

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
	opacity: 1;
	transition: var(--transition);
}

.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: 1.5em 0 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 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
--------------------------------------------------------------*/

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




/* ============================================================== */
/* ========================= Custom CSS ====================== ===*/
/* ============================================================== */


/* ====================================================== */
/* ==== Custom fonts ==== */

@font-face {
	font-family: 'Proxima Nova';
	src: url(/wp-content/themes/arnauneprim/fonts/ProximaNova-Regular.otf);
	font-weight: 400;
}

@font-face {
	font-family: 'Proxima Nova';
	src: url(/wp-content/themes/arnauneprim/fonts/ProximaNova-Semibold.otf);
	font-weight: 600;
}

@font-face {
	font-family: 'Proxima Nova';
	src: url(/wp-content/themes/arnauneprim/fonts/ProximaNova-Bold.otf);
	font-weight: 700;
}

@font-face {
	font-family: 'Gill Sans';
	src: url(/wp-content/themes/arnauneprim/fonts/Gill-Sans-Medium.otf);
	font-weight: 500;
}

@font-face {
	font-family: 'Gill Sans';
	src: url(/wp-content/themes/arnauneprim/fonts/Gill-Sans-Bold.otf);
	font-weight: 700;
}

/* ====================================================== */
/* ==== Variables ==== */

:root {

	/* Colors */
	--blue: #121331;
	--blue-light: #12133120;
	--red: #E63323;
	--grey: #7C7C7B;
	--grey-light: #F9F9F9;
	--black: #000000;
	--white: #FFFFFF;

	/* Typos */
	--text: 'Proxima Nova';
	--title: 'Gill Sans';

	--regular: 400;
	--semibold: 600;
	--bold: 700;

	/* Animations */
	--transition: all 200ms ease-out;

	/* Swiper */
	--swiper-theme-color: var(--blue);
	--swiper-navigation-size: 1.5rem;

	/* Layout */
	--border-radius-small: 0.5rem;
	--border-radius-normal: 1rem;
	--border-radius-big: 4rem;
	--box-shadow: 0 2px 8px #63636320;
}



/* ====================================================== */
/* ==== Text and stuff ==== */

/* == General styles == */

li {
	color: var(--text);
}

b {
	color: var(--red);
	font-weight: 700;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.25rem;
}

h4 {
	font-size: 1rem;
	color: var(--red);
	margin-bottom: 0.5rem;
}

h5 {
	font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* == Custom styles == */

h2.border-left, h2.border-center {
	position: relative;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
}

h2.border-left:after, h2.border-center:after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    height: 4px;
    width: 64px;
    border-radius: 10px;
}

h2.border-center { text-align: center; }

h2.border-center:after { margin: auto; }

.blue h2, .blue h3, .blue p {
	color: var(--white);
}

h3.border-left:after, h3.border-center:after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    height: 3px;
    width: 24px;
    border-radius: 10px;
}

h3.border-center { text-align: center; }

h3.border-center:after { margin: auto; }

h3.border-left, h3.border-center {
	position: relative;
	padding-bottom: 0.5rem;
	margin-bottom: 2rem;
}

h3.border-vertical {
	position: relative;
	padding-left: 1rem;
	margin-bottom: 1rem;
}

h3.border-vertical:after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    height: 100%;
    width: 3px;
    border-radius: 10px;
}



/* ====================================================== */
/* ==== Layout ==== */

.boxed {
	max-width: 990px;
	margin: 0 auto;
	padding: 2rem 0;
}

.full-width {
	width: 100%;
	padding: 4rem 0;
}

.full-width.blue {
	background: var(--blue);
	padding: 2rem 0;
}

.full-width.grey {
	background: var(--grey-light);
}

.full-width > .boxed {
	max-width: 990px;
	margin: 0 auto !important;
	padding: 0 !important;
}

img.smooth-corners {
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
}

.with-border {
	border-radius: var(--border-radius-big);
}

.centered {
	margin: auto;
	text-align: center;
}

.red {
	color: var(--red);
}


/* ====================================================== */
/* ==== Buttons and links ==== */

a.button, input[type=submit] {
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	border: 0;
	transition: var(--transition);
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}

a.button:hover, input[type=submit]:hover {
	transform: scale(0.95) !important;
}

a.button.red, input[type=submit] {
	background: var(--red);
	color: var(--white);
}

a.button.blue {
	background: var(--blue);
	color: var(--white);
}

a.button.white {
	background: var(--white);
	color: var(--blue);
}

a.cta-slide {
	position: relative;
	padding-bottom: 0.25rem;
	cursor: pointer;
	color: var(--blue);
}

a.cta-slide:after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: "";
	width: 100%;
	height: 2px;
	border-radius: 100px;
	background: var(--blue);
	transition: transform 0.4s;
	transform: scaleX(0);
	transform-origin: right;
}

a.cta-slide.white:after {
	background: var(--white);
}

a.cta-slide.red:after {
	background: var(--red);
}

a.cta-slide:hover::after {
	transform: scaleX(1);
  	transform-origin: left;
}

.cta-slide-center {
	position: relative;
	padding-bottom: 0.5rem;
	cursor: pointer;
	text-align: center;
}

.cta-slide-center:after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 25%;
	height: 2px;
	border-radius: 100px;
	background: var(--blue);
	transform: translateX(-50%);
	transition: width 0.4s;
}

.cta-slide-center:hover::after {
	width: 100%;
}



/* ====================================================== */
/* ==== Header ==== */

#ap-header {
	position: fixed;
	width: 100%;
	height: 100px;
	font-family: var(--text);
	font-weight: var(--semibold);
	border-radius: 0 0 var(--border-radius-normal) var(--border-radius-normal);
	transition: background-color 0.4s, height 0.4s;
	z-index: 99;
}

#ap-header .header-container {
	width: 80%;
	display: flex;
	align-items: center;
	margin: auto;
	padding: 1rem 0;
}

#site-logo {
	width: 25rem;
	transition: width 0.4s;
}

#site-logo.minimized {
	width: 15rem;
}

#ap-header .menu-mobile {
	display: none;
}

/* === Minimized header === */

#ap-header.minimized {
	box-shadow: var(--box-shadow);
	background: var(--blue);
	height: 70px;
}

#ap-header.minimized .header-container {
	height: 70px;
}

#ap-header.minimized #site-navigation ul#primary-menu a {
	font-size: 1.05rem;
}

/* === End minimized header === */


#site-navigation {
	display: flex;
	justify-content: end;
	font-size: 1.25rem;
}

#site-navigation ul#primary-menu {
	display: flex;
	gap: 2rem;
}

#site-navigation ul#primary-menu li {
	margin: 0;
}

#site-navigation ul#primary-menu a {
	color: var(--white);
	font-size: 1.25rem;
	transition: font-size 0.4s;
}

#site-navigation ul#primary-menu > li > a:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 3px;
	top: 100%;
	left: 0;
	border-radius: 100px;
	background: var(--red);
	transition: transform 0.5s;
	transform: scaleX(0);
	transform-origin: right;
}

#site-navigation ul#primary-menu > li > a:hover::after {
	transform: scaleX(1);
  	transform-origin: left;
}

#site-navigation ul#primary-menu > li.current-menu-item > a:after {
	transform: scaleX(1);
}

#site-navigation ul#primary-menu span.button.red {
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	transition: var(--transition);
	text-decoration: none;
	font-weight: 600;
	background: var(--red);
	color: var(--white);
}

#site-navigation ul#primary-menu span.button.red:hover {
	transform: scale(0.95);
}

/* === Sub menus === */
/*
	#menu-item-227 = Nos missions
	#menu-item-576 = Le constat
	#menu-item-933 = Votre besoin
	
*/

#site-navigation ul.sub-menu {
  background: white !important;
	transition: var(--transition);
	flex-direction: column;
	border-radius: var(--border-radius-small);
	padding: 1rem 0rem 1rem 1.5rem;
}

#site-navigation li#menu-item-576 > ul.sub-menu {
    background: white !important;
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) var(--border-radius-small);
    padding: 1rem 1.5rem;
    left: 220px;
    width: 400px;
}

#site-navigation ul.sub-menu a {
    color: var(--blue) !important;
	padding: 0.5rem 0;
	margin-bottom: 0.5rem;
	border-bottom: solid 1px var(--blue-light);
}

#site-navigation ul.sub-menu a:first-child {
    padding-top: 0;
}

#site-navigation ul.sub-menu li:last-child a {
    border: 0;
	margin: 0;
	padding: 0;
}

	/* == Sub menu level 1 */

	#site-navigation li#menu-item-227 > ul.sub-menu {
		width: 15rem;
		padding: 1rem;
	}

	#site-navigation li#menu-item-933 > ul.sub-menu {
		width: 25rem;
		padding: 1rem;
	}

	#site-navigation li#menu-item-227 > ul.sub-menu a,
	#site-navigation li#menu-item-933 > ul.sub-menu a {
		font-size: 1.05rem;
		width: fit-content;
	}

	/* == Sub menu level 2 */

	#site-navigation li#menu-item-576 > ul.sub-menu {
		top: -16px !important;
	}

	#site-navigation li#menu-item-576 > ul.sub-menu a {
		font-weight: normal;
		border-bottom: 0;
		margin: 0;
		width: fit-content;
	}



.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul.sub-menu {
    left: 230px;
	top: -16px !important;
	background: none !important;
}


#site-navigation li#menu-item-227 > ul.sub-menu a {
	width: 100%;
}

.burger {
	display: none;
	
	gap: 6px;
	cursor: pointer;
}

.burger > div {
	height: 4px;
	width: 32px;
	background: var(--white);
	border-radius: var(--border-radius-normal);
}





/* ====================================================== */
/* ==== Footer ==== */

#ap-footer.full-width {
	background: var(--blue);
	border-radius: var(--border-radius-big) var(--border-radius-big) 0 0;
	padding: 2rem 0;
	margin: 4rem 0 0 0;
}

#ap-footer h3, #ap-footer p, #ap-footer a {
	color: var(--white);
	text-decoration: none;
}

#ap-footer .content {
	display: grid;
	grid-template-columns: 3fr repeat(3, 1fr);
	gap: 4rem;
	width: 80%;
	margin: auto;
}

#ap-footer .content img.logo {
	margin-top: 0;
	margin-bottom: 2rem;
	height: 3rem;
    width: auto;
}

#ap-footer .content .column:first-child {
	padding-right: 5rem;
}

#ap-footer .infos .item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.25rem 0;
	position: relative;
	left: 0;
	transition: var(--transition);
}

#ap-footer .infos .item:hover {
	left: 4px;
}


#ap-footer .infos .item p {
	margin: 0;
}

#ap-footer .infos .item img {
	width: 1rem;
	height: 2rem;
	aspect-ratio: 1/3;
}

#ap-footer .column ul.menu {
	list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#ap-footer .column ul.menu li {
	margin-bottom: 0;
	transition: var(--transition);
	position: relative;
	left: 0;
}

#ap-footer .column ul.menu li:hover {
	left: 4px;
}

#ap-footer .author {
	width: 80%;
	margin: 2rem auto;
	text-align: center;
	padding-top: 2rem;
	border-top: solid 2px #ffffff20;
}




/* ====================================================== */
/* ==== Single post ==== */

.ap-single-post .ap-breadcrumb.boxed {
	padding-bottom: 2rem;
}

#ap-hero-page.ap-single-post .title p {
	font-family: var(--title);
	font-size: 2rem;
	font-weight: 700;
	color: white;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

#ap-hero-page.ap-single-post {
	background-image: url('/wp-content/uploads/2023/01/pexels-pixabay-48148-min.jpg');
	background-position: center;
	background-size: cover;
}

.ap-single-post .post-main-image img {
	height: 450px;
	width: 100%;
	object-fit: cover;
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	margin-bottom: 1rem;
}

.ap-single-post .post-category {
	padding: 2rem 0;
}

.ap-single-post .post-category h3 {
	margin-bottom: 0;
}

.ap-single-post hr {
	margin: 2rem auto;
	height: 2px;
	width: 90%;
	border-radius: var(--border-radius-normal);
}

.ap-single-post .post-meta ul {
	list-style-type: none;
	display: flex;
	gap: 2rem;
	justify-content: center;
	margin: 0;
}

.ap-single-post .post-meta li:not(:first-child)::before {
	content: "-";
	padding-right: 2rem;
}

.ap-single-post .post-meta li {
	color: var(--grey);
	font-style: italic;
	margin-bottom: 0;
}

.ap-single-post .post-content {
	margin: 2rem 0 4rem 0;
}

.ap-single-post .related-posts h2 {
	margin: 0;
}

.ap-single-post .post-comments .comment-form-comment > textarea {
	border-color: var(--blue-light);
	border-radius: var(--border-radius-small);
	margin-top: 1rem;
}



/* ====================================================== */
/* ==== 404 Error page ==== */

.error-page #ap-hero-page {
	height: 35vh;
	background: var(--blue);
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
}

.buttons-group {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 2rem 0 2rem 0;
}



/* ====================================================== */
/* ==== Archive : Missions ==== */

.archive-missions #ap-hero-page {
	background-image: url('/wp-content/uploads/2023/01/pexels-ekaterina-bolovtsova-6077447-min-scaled.jpg');
	background-repeat: no-repeat;
	background-position: center;
}

.missions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.missions .card-mission {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: fit-content;
	padding: 1rem;
	gap: 1rem;
	border-radius: var(--border-radius-normal);
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.missions .card-mission:hover {
	transform: scale(1.025);
}

.missions .card-mission h3 {
	font-size: 1.25rem;
	text-align: center;
	line-height: 1.25rem;
	margin-bottom: 0;
	padding-bottom: 1rem;
}

.missions .card-mission img {
	height: 200px;
	object-fit: cover;
	border-radius: var(--border-radius-small);
}

.ap-missions-all {
	margin-bottom: 2rem;
}




/* ====================================================== */
/* ==== Component : Hero (Homepage only)==== */

#ap-hero.full-width {
	margin-top: 0;
}

#ap-hero {
	min-height: 70dvh;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#ap-hero .content {
	top: 8%;
	max-width: 800px;
    margin: 0px auto;
    position: relative;
	padding: 3rem 2rem;
}

#ap-hero .content .title h1 {
	font-family: var(--title);
	color: white;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

#ap-hero .content span.subtitle {
	font-size: 1.5rem;
}

#ap-hero .content hr.red-seperator {
	width: 8rem;
	height: 5px;
	background: var(--red);
	border-radius: 2rem;
	margin: 1rem auto;
}

#ap-hero .content p,
#ap-hero .content a {
	margin-bottom: 2.5rem;
	color: var(--white);
	position: relative;
	left: 0;
	transition: var(--transition);
}

#ap-hero .content a:hover {
	left: 4px;
}

#ap-hero .contact-info {
	display: flex;
	justify-content: center;
	gap: 4rem;
}

#ap-hero .contact-info > div {
	display: flex;
	align-items: center;
	gap: 1rem;
}

#ap-hero .content a.urgent-report {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--red);
	padding: 1rem 2rem;
	border-radius: var(--border-radius-small);
	margin: 2rem auto 0;
	width: fit-content;
	text-align: center;
}

#ap-hero .content a.urgent-report:hover {
	transform: scale(1.025);
	left: 0;
}

#ap-hero .urgent-report p {
	margin-bottom: 0
}



/* ====================================================== */
/* ==== Component : Hero Page ==== */

#ap-hero-page.full-width {
	margin-top: 0;
}

#ap-hero-page {
	height: 60vh;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
}

#ap-hero-page .content {
	top: 8%;
    max-width: 50%;
    margin: 0px auto;
    position: relative;
	z-index: 10;
}

#ap-hero-page .content .title h1 {
	font-family: var(--title);
	color: white;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
	text-wrap: balance;
}

#ap-hero-page .content hr.red-seperator {
	width: 4rem;
	height: 5px;
	background: var(--red);
	border-radius: 2rem;
	margin: 1rem auto;
}

#ap-hero-page .blue-filter {
	background-color: var(--blue);
	opacity: 0.8;
	height: 60vh;
	width: 100%;
	z-index: 5;
	position: absolute;
	bottom: 0;
	border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
}


/* ====================================================== */
/* ==== Component : Small-text ==== */

.ap-small-text {
	max-width: 700px;
	font-style: italic;
}


/* ====================================================== */
/* ==== Components : Text-image & Image-text ==== */

.text-image, .image-text {
	display: flex;
	gap: 2rem;
}


/* ====================================================== */
/* ==== Component : Carrousel ==== */

.ap-carrousel {
	background: var(--grey-light);
	z-index: -1 !important;
}

.ap-carrousel .swiper {
	margin-top: 4rem;
	padding: 0 2rem;
}

.swiper-wrapper {
	margin-bottom: 4rem;
}

.team-member {
	background: var(--white);
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	text-align: center;
}

.team-member .team-member-container {
	padding: 1rem;
}

.team-member h3 {
	text-transform: uppercase;
}

.team-member p.team-member-job {
	text-transform: uppercase;
	margin-bottom: 0;
}

.team-member .header {
	position: relative;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.team-member .header::after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    height: 3px;
    width: 48px;
    border-radius: 10px;
	margin: auto;
}



/* ====================================================== */
/* ==== Component : Missions ==== */

.ap-missions {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.ap-missions .mission-single.featured {
	width: 80%;
	margin: 0 auto 1rem auto;
}

.ap-missions .mission-single {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 45%;
	height: fit-content;
	background-color: var(--white);
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius-normal);
	padding: 1.5rem;
	margin: 1rem;
	transition: var(--transition);
}

.ap-missions .mission-single:hover {
	transform: scale(1.025);
}

.mission-single img {
	width: 4rem;
	margin-bottom: 0.5rem;
}

.mission-single p {
	margin: 0;
}

.mission-single .cta-slide img {
	width: 1rem;
	margin: 0;
	margin-right: 0.25rem;
	vertical-align: text-bottom;
}


/* ====================================================== */
/* ==== Component : Besoin ==== */

#module-besoins {
	margin: 2rem 0 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#module-besoins label {
	color: var(--white);
	text-align: center;
	margin-bottom: 1rem;
}

#module-besoins select {
	border: solid 2px var(--white);
	background: none;
	padding: 0.5rem 4rem 0.5rem 0.5rem;
	color: var(--white);
	border-radius: var(--border-radius-small);
}

#selector {
	display: flex;
	flex-direction: column;
}

#module-besoins option {
	color: var(--blue);
}

#module-besoins option:nth-child(1) {
	color: var(--grey);
}

#module-besoins #results {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	row-gap: 3rem;
	column-gap: 1rem;
	margin: 4rem 0;
}

#module-besoins .result {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: fit-content;
	cursor: pointer;
	transition: all 200ms ease-out;
	opacity: 1;
}


#module-besoins .result:hover {
	transform: scale(0.96);
}

#module-besoins .result img {
	width: 5rem;
	margin: 0 auto 1rem auto;
}

#module-besoins .result h3 {
	line-height: 1.5rem;
	text-align: center;
	font-weight: 500;
}

#module-besoins .button-wrapper {
	margin: 0 auto 2rem auto;
}

#module-besoins .buttons {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ap-besoins .buttons {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
}


/* ====================================================== */
/* ==== Component : Actualités ==== */

.ap-actualites .posts {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}

.ap-actualites .posts .post {
	flex: 1;
}


.ap-actualites .post,
.ap-post-category .post {
	padding: 1rem;
	height: fit-content;
	background-color: white;
	border-radius: var(--border-radius-normal);
	transition: var(--transition);
}

.ap-actualites .post:hover {
	transform: scale(1.02);
	box-shadow: var(--box-shadow);
}

.ap-actualites .post h3 {
	margin-bottom: 0.5rem;
	line-height: 1.5rem;
}

.ap-actualites .category,
.ap-post-category .category {
	position: relative;
	top: 0;
	right: 0;
}

.ap-actualites .category span,
.ap-post-category .category span {
    position: absolute;
    background: var(--red);
    color: var(--white);
	font-size: 0.85rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
	top: -10px;
	right: -10px;
}

.ap-actualites .post p.excerpt,
.ap-post-category .post p.excerpt {
	font-style: italic;
}

.ap-actualites .centered {
	margin: 2rem 0;
}

.ap-actualites .centered a {
	font-weight: 600;
	color: var(--blue);
}

.ap-actualites .post .image {
	height: 175px;
	margin-bottom: 1rem;
}

.ap-actualites .post .image img,
.ap-post-category .post .image img {
	object-fit: cover;
	height: 100%;
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow)
}



/* ====================================================== */
/* ==== Component : Breadcrumb ==== */

.ap-breadcrumb.boxed {
	padding-top: 4rem;
}

.ap-breadcrumb ul#breadcrumb {
	margin: 0;
	display: flex;
	list-style: none;
	gap: 0.5rem;
}

.ap-breadcrumb ul#breadcrumb li.item, ul#breadcrumb li.seperator {
	margin-bottom: 0;
	font-weight: 600;
	opacity: 0.5;
	transition: var(--transition);
}

.ap-breadcrumb ul#breadcrumb li.item:hover {
	opacity: 1;
}

.ap-breadcrumb ul#breadcrumb li.item-current {
	opacity: 1;
}



/* ====================================================== */
/* ==== Component : Text Summary Image ==== */

.ap-text-summary-image {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 2rem;
}

#table-of-content {
	background: var(--white);
	padding: 1rem 1.5rem; 
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius-small);
}

#table-of-content h2.border-left {
	padding-bottom: 0.5rem;
}

#table-of-content h2.border-left:after {
	width: 2rem;
	height: 3px;
}



/* ====================================================== */
/* ==== Component : Block text  ==== */

.ap-block-text {
	display: flex;
	gap: 2rem;
}

.ap-block-text .column.text {
	width: 60%;
}

.ap-block-text .column.image {
	width: 40%;
}

.ap-block-text img.smooth-corners {
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	width: 100%;
	max-height: 500px;
    object-fit: cover;
}

.ap-block-text .visible-text {
	margin-bottom: 1rem;
}

.ap-block-text .visible-text p:last-child {
	margin: 0;
}


/* ================================== */
/* ==== Sub Component : Hidden text  ==== */

.hidden-text {
	max-height: 0;
  	overflow: hidden;
  	transition: max-height 1s ease-out;
}

.hidden-text.active {
	max-height: 800px;
}

i.fa-chevron-down {
	transform: rotate(0deg);
	transition: var(--transition);
}

i.fa-chevron-down.rotate {
	transform: rotate(180deg);
}

.read-more {
	cursor: pointer;
}

.read-more p {
	margin: 0;
}

button.read-more {
	background: none;
	border: none;
	padding: 0;
	display: flex;
	gap: 0.5rem;
	margin: auto;
}


/* ====================================================== */
/* ==== Component : Block two texts  ==== */

.ap-two-texts-blocks .text-blocks {
	display: flex;
	gap: 2rem;
}

.text-blocks .column {
	width: 50%;
}


/* ====================================================== */
/* ==== Component : CTA Contact ==== */

.ap-cta-contact {
	width: fit-content;
	max-width: 500px;
	background-color: var(--red);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding: 1rem 4rem;
	margin: 2rem auto;
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
}

.ap-cta-contact h3,
.ap-cta-contact p,
.ap-cta-contact a {
	color: var(--white);
	text-align: center;
	margin: 0;
}


/* ====================================================== */
/* ==== Component : CTA Prices Quote ==== */

.ap-cta-prices-quote {
	width:fit-content;
	max-width: 40%;
	background-color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	text-align: center;
	padding: 1rem 2rem;
	margin: 2rem auto;
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
}

.ap-cta-prices-quote h2,
.ap-cta-prices-quote p,
.ap-cta-prices-quote a {
	text-align: center;
	margin: 0;
}

.ap-cta-prices-quote .buttons-group {
	display: flex;
	gap: 2rem;
}



/* ====================================================== */
/* ==== Component : Method ==== */

.ap-method .method-module {
	display: flex;
	flex-direction: column;
	margin: 2rem 0;
	border-left: 4px solid var(--blue-light);
	justify-content: end;
}

.ap-method .method-single {
	padding: 2rem 0;
	display: flex;
	gap: 2rem;
	position: relative;
	left: -1.6rem;
}

.ap-method .method-single:first-child {
	padding: 0 0 2rem 0;
}

.ap-method .method-single:last-child {
	padding: 2rem 0 0 0;
}

.ap-method .method-single p {
	margin-bottom: 0;
}


.ap-method .step {
	background: var(--blue);
	height: fit-content;
	padding: 1.5rem;
	color: var(--white);
	border-radius: var(--border-radius-big);
	position: relative;
}

.ap-method .step span {
	font-family: var(--title);
	font-size: 2rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.ap-method .hidden-text.active {
	max-height: 400px;
}

.ap-method button.read-more {
	margin: 0;
}



/* ====================================================== */
/* ==== Component : Other missions ==== */

.ap-other-missions .swiper-slide .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.ap-other-missions .swiper-slide .container img {
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	height: 14rem;
	width: 20rem;
	object-fit: cover;
}

.ap-other-missions .swiper-slide .container h3 {
	text-align: center;
}

.ap-other-missions .swiper-slide .container a {
	font-weight: 600;
	text-align: center;
	width: fit-content;
}

.ap-other-missions .swiper-slide .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 0 1rem;
}



/* ====================================================== */
/* ==== Component : Linked missions ==== */

.ap-linked-missions .missions {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
	gap: 2rem;
}

.ap-linked-missions .missions .card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	width: 300px;
	background: var(--white);
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	padding: 1rem 1.5rem;
	transition: var(--transition);
}

.ap-linked-missions .missions .card:hover {
	transform: scale(1.025);
}

.ap-linked-missions .missions .card img {
	width: 4rem;
	margin: auto;
}

.ap-linked-missions .missions .card h3 {
	text-align: center;
	line-height: 1.5rem;
}

.ap-linked-missions .missions .card h3.border-center {
	margin-bottom: 0;
	padding-bottom: 0.75rem !important;
}

.ap-linked-missions .missions .card p {
	margin: 0;
}

.ap-linked-missions .missions .card a.cta-slide {
	width: fit-content;
	font-weight: 600;
	margin: auto;
}



/* ====================================================== */
/* ==== Component : Prices table ==== */

.ap-prices-table .prices-table {
	margin: 1rem 0 1rem 0;
	border-top: solid 2px var(--blue);
	padding-top: 1rem;
}

.ap-prices-table .prices-table {
	display: flex;
	color: var(--blue);
}

.ap-prices-table thead {
	width: 25%;
	padding-right: 1rem;
}

.ap-prices-table tbody {
	width: 75%;
	display: flex;
	flex-direction: column;
}

.ap-prices-table tbody td {
	padding: 0.75rem 0;
}

.ap-prices-table tbody tr {
	display: flex;
	gap: 2rem;
	border-bottom: solid 2px var(--blue-light);
}

.ap-prices-table td.column-left {
	width: 40%;
}

.ap-prices-table td.column-right {
	width: 60%;
}

.ap-prices-table a.link-quote {
	color: var(--red);
	text-decoration: underline;
	position: relative;
	left: 0;
	transition: var(--transition);
}

.ap-prices-table a.link-quote:hover {
	left: 4px;
}

.ap-prices-table a.link-contact {
	color: var(--grey);
	text-decoration: underline;
	transition: var(--transition);
}

.ap-prices-table a.link-contact:hover {
	opacity: 0.6;
}

.ap-prices-table tr.other-prestation {
	color: var(--grey);
	font-style: italic;
	border: none;
	padding-bottom: 0;
}



/* ====================================================== */
/* ==== Component : Price increase ==== */

.ap-price-increase .price-increase {
	display: flex;
	gap: 2rem;
}

.ap-price-increase .majoration {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 1rem;
	background: var(--white);
	border-radius: var(--border-radius-small);
	box-shadow: var(--box-shadow);
	width: 33%;
	height: fit-content;
	transition: var(--transition);
}

.ap-price-increase .majoration:hover {
	transform: scale(1.05);
}

.ap-price-increase .majoration img {
	height: 4rem;
	object-fit: contain;
}

.ap-price-increase .majoration h3.border-center {
	margin-bottom: 0;
	padding-bottom: 1rem;
	line-height: 1.5rem;
}



/* ====================================================== */
/* ==== Component : Button ==== */

.ap-button {
	display: flex;
	flex-direction: column;
}

.ap-button .button-wrapper, .button-wrapper {
	display: flex;
	margin: 2rem 0;
}


/* ====================================================== */
/* ==== Component : CTA popup ==== */

.ap-cta-popup {
	position: fixed;
	z-index: 99 !important;
}

.ap-cta-popup #popup {
	position: fixed;
	bottom: 2rem;
	right: -20rem;
	background: var(--blue);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow);
    width: 17.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
	transition: all ease-in-out 500ms;

}

.ap-cta-popup #popup.active {
	right: 1rem;
}

.ap-cta-popup #popup-label {
	position: fixed;
    background: var(--blue);
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    box-shadow: var(--box-shadow);
    bottom: 5rem;
    right: -6rem;
    display: flex;
    padding: 1rem;
	transition: all ease-in-out 300ms;
	cursor: pointer;
}

.ap-cta-popup #popup-label.active {
	right: 0;
}

.ap-cta-popup #popup-label.active:hover {
	padding-right: 1.5rem;
}

.ap-cta-popup #popup .headline p {
	color: white;
	text-align: center;
	line-height: 1.5rem;
	font-family: var(--title);
	font-size: 1.15rem;
	text-wrap: pretty;
}

.ap-cta-popup #popup .phone p {
	margin-bottom: 1rem;
	text-align: center;
}

.ap-cta-popup #popup .phone a {
	color: white;
}

.ap-cta-popup #popup .phone i {
	margin-right: 0.5rem;
}

.ap-cta-popup #popup button#close-btn {
	background: none;
	border: none;
	color: var(--white);
	font-size: 2rem;
	position: absolute;
    top: 5px;
    right: 12px;
	padding: 0;
	width: fit-content;
	cursor: pointer;
}

.ap-cta-popup .button-wrapper {
	margin: auto;
	transition: var(--transition);
}

.ap-cta-popup .button-wrapper:hover {
	transform: scale(0.95);
}



/* ====================================================== */
/* ==== Component : Contact Form Map ==== */

div.wpforms-container-full .wpforms-form .wpforms-field-label {
	font-size: 14px !important;
	color: var(--blue);
}

.wpforms-field select, .wpforms-field input, .wpforms-field textarea {
	border: none !important;
	border-bottom: 1px solid var(--grey) !important;
	padding-left: 0 !important;
	border-radius: 0 !important;
	color: var(--grey) !important;
	margin: 0.5rem 0 !important;
}

.wpforms-form button[type=submit] {
	background: var(--red) !important;
	color: var(--white) !important;
	border: 0 !important;
	border-radius: var(--border-radius-small) !important;
	padding: 12px 24px !important;
	font-weight: 600 !important;
	box-shadow: var(--box-shadow) !important;
	transition: var(--transition);
}

.wpforms-form button[type=submit]:hover {
	transform: scale(0.95);
}

.wpforms-field-container input[type=checkbox] {
    margin-right: 0.5rem !important;
}

.wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: none !important;
    border: 0 !important;
	padding: 0 !important;
}

div.wpforms-container-full {
    margin: 0 !important;
}

.ap-contact-form-map .two-columns {
	display: flex;
	gap: 4rem;
}

.ap-contact-form-map #form {
	width: 60%;
}

.ap-contact-form-map #map {
	width: 40%;
	min-height: 300px;
	border-radius: var(--border-radius-normal);
    box-shadow: var(--box-shadow);
	overflow: hidden;
}


/* ====================================================== */
/* ==== Component : Online Payment ==== */

.ap-online-payment form {
	display: flex;
	flex-direction: column;
	max-width: 700px;
	margin: auto;
	box-shadow: var(--box-shadow);
	padding: 2rem;
	border-radius: var(--border-radius-normal);
}

.ap-online-payment.is-under-maintenance {
	background: var(--red);
	padding: 1.5rem;
	border-radius: 8px;
	max-width: 600px;
	margin: 0 auto;
}

.ap-online-payment.is-under-maintenance span {
	display: block;
	color: var(--white);
	font-weight: bold;
	text-align: center;
	margin-bottom: 0.5rem;
}

.ap-online-payment.is-under-maintenance p {
	margin: 0;
	color: var(--white);
	text-align: center;
	font-size: 14px;
}

.ap-online-payment input:not(input[type="submit"]) {
	border: none !important;
	border-bottom: 1px solid var(--grey) !important;
	padding-left: 0 !important;
	border-radius: 0 !important;
	color: var(--dark) !important;
	margin: 0.5rem 0 1.5rem 0!important;
}

.ap-online-payment input:not(input[type="submit"])::placeholder {
	color: var(--grey) !important;
}

.ap-online-payment input[type="submit"] {
	width: fit-content;
}


.ap-online-payment .last-name,
.ap-online-payment .first-name {
	display: flex;
	flex-direction: column;
}


/* ====================================================== */
/* ==== Component : Payment Accepted ==== */

.ap-payment-status.boxed {
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 0;
}

.ap-payment-status h2 {
	text-align: center;
	margin-bottom: 2rem;
}

.ap-payment-status .content {
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius-small);
	padding: 1.5rem;
}

.ap-payment-status .content p {
	margin-bottom: 0.5rem;
}

.ap-payment-status .content p:last-child {
	margin-bottom: 0;
}

span.mandatory-field {
	color: var(--red);
	font-weight: bold;
}



/* ====================================================== */
/* ==== Component : Post Category ==== */

.ap-post-category .posts {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
}

.ap-post-category .post {
	padding: 0;
}

.ap-post-category .post h2 {
	font-size: 1.25rem;
	line-height: 1.5rem;
	margin-bottom: 1rem;
}

.ap-post-category .post p.excerpt {
	margin-bottom: 0.5rem;
}

.ap-post-category .button-wrapper {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

/* Featured post */

.ap-post-category .featured .post {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	transition: var(--transition);
}

.ap-post-category .featured .post:hover {
	transform: scale(1.025);
	box-shadow: var(--box-shadow);
}

.ap-post-category .featured .image {
	margin-bottom: 1rem;
}


/* Other posts */

.ap-post-category .other-posts .post {
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin-bottom: 2rem;
	padding: 1rem;
	transition: var(--transition);
}

.ap-post-category .other-posts .post:hover {
	transform: scale(1.025);
	box-shadow: var(--box-shadow);
}

.ap-post-category .other-posts .image {
	width: 10rem;
	height: 10rem;
}



/* =================================*/
/* ========== Responsive ========== */

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

	/* === Header === */

	#site-navigation ul#primary-menu {
		display: none;
	}

	#site-navigation {
		display: flex;
		position: absolute;
		height: 100vh;
		top: 0;
	}

	#ap-header {
		width: 100vw;
	}

	#ap-header .header-container {
		justify-content: space-between;
	}

	#site-logo {
		width: 15rem;
	}

	.menu-main-menu-container {
		display: none;
	}

	.burger {
		display: flex;
		flex-direction: column;
		z-index: 99999;
		transition: all 400ms ease-in-out;
	}

	.burger > div {
		transition: all 400ms ease-in-out !important;
		position: relative;
	}

	.burger .line1 {
		transform: rotate(0deg);
		top: 0px;
	}

	.burger.active .line1 {
		transform: rotate(45deg);
		top: 10px;
	}

	.burger .line2 {
		transform: rotate(0deg);
		opacity: 1;
	}

	.burger.active .line2 {
		transform: rotate(46deg);
		opacity: 0;
	}

	.burger .line3 {
		transform: rotate(0deg);
		bottom: 0px;
	}

	.burger.active .line3 {
		transform: rotate(-45deg);
		bottom: 10px;
	}

	.burger.minimized {
		gap: 5px !important;
	}

	.burger.minimized .line1 {
		transform: rotate(0deg);
		top: 0px;
	}

	.burger.minimized.active .line1 {
		transform: rotate(45deg);
		top: 7px;
	}

	.burger.minimized .line2 {
		transform: rotate(0deg);
		opacity: 1;
	}

	.burger.minimized.active .line2 {
		transform: rotate(46deg);
		opacity: 0;
	}

	.burger.minimized .line3 {
		transform: rotate(0deg);
		bottom: 0px;
	}

	.burger.minimized.active .line3 {
		transform: rotate(-45deg);
		bottom: 10px;
	}


	/* === Footer === */

	#ap-footer.full-width {
		border-radius: var(--border-radius-normal) var(--border-radius-normal) 0 0;
	}

	#ap-footer .content {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 2rem;
	}

	#ap-footer .content .column:nth-child(1) {
		padding-right: 2.5rem;
		width: 100%;
		text-align: center;
	}

	#ap-footer .infos .item {
		justify-content: center;
	}

	#ap-footer .content .column:nth-child(2),
	#ap-footer .content .column:nth-child(3),
	#ap-footer .content .column:nth-child(4) {
		width: 25%;
	}

		/* == Menu tablette == */
			
		#ap-header .menu-mobile {
			display: block;
			z-index: 999 !important;
		}

		.menu-mobile .header {
			display: flex;
			gap: 2rem;
			margin: 4rem 0 2rem 0;
		}

		.menu-mobile .header .logo {
			width: 15rem;
			margin: auto;
		}

		#site-navigation {
			position: absolute;
			left: 800px;
			z-index: -1;
			visibility: hidden;
			transition: all ease-in-out 600ms;
		}

		#site-navigation.active {
			left: 0px;
			visibility: visible;
			z-index: 999;
		}
		
		
		#site-navigation .menu-mobile {
			background: var(--blue);
			max-width: 600px;
			padding: 1rem 2rem;
			border-radius: var(--border-radius-normal) 0 0 var(--border-radius-normal);
			box-shadow: var(--box-shadow);
		}

		#site-navigation .menu-mobile.active {
			left: 0px;
		}

		.menu-mobile .content .previous-menu {
			color: var(--white);
			font-weight: 400;
			font-size: 1.05rem;
			margin-bottom: 2rem;
			text-align: end;
			cursor: pointer;
		}

		.menu-mobile .previous-menu:before {
			content: url('/wp-content/uploads/2023/02/chevron-left.svg');
			transform: rotate(90deg);
			padding-right: 1rem;
		}

		.menu-mobile .header .close-button span {
			color: white;
			font-size: 3rem;
		}

		.menu-mobile .content {
			position: relative;
		}

		#menu-index ul#mobile-menu-n,
		#menu-missions ul#mobile-menu-missions,
		#menu-besoins ul#mobile-menu-besoins,
		#menu-constats ul#mobile-menu-constats {
			display: block !important;
		}

		#menu-besoins ul#mobile-menu-besoins {
			overflow-y: scroll;
			overflow-x: hidden;
			height: 525px;
		}

		#menu-index ul#mobile-menu-n a,
		#menu-missions ul#mobile-menu-missions a,
		#menu-besoins ul#mobile-menu-besoins a,
		#menu-constats ul#mobile-menu-constats a {
			display: block !important;
			color: var(--white);
			font-size: 18px;
			padding-bottom: 0.5rem;
			border-bottom: 2px #4E4E65 solid;
			position: relative;
		}


		/* === Menu index === */

		#menu-index {
			position: relative;
			left: 0px;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-index.active {
			opacity: 1;
		}


		span#missions:after,
		span#besoins:after,
		span#constats:after {
			content: url('/wp-content/uploads/2023/02/chevron-right.svg');
			vertical-align: text-top;
			padding-left: 1rem;
		}

		/* === Menu missions === */

		#menu-missions {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-missions.active {
			left: 0;
			opacity: 1;
		}


		/* === Menu constats === */

		#menu-constats {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-constats.active {
			left: 0;
			opacity: 1;
		}


		/* === Menu besoins === */

		#menu-besoins {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-besoins.active {
			left: 0;
			opacity: 1;
		}



	/* == Typos == */
	html {
		font-size: 90%;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.25rem;
    	line-height: 1.5rem;
	}

	h3 {
		font-size: 1.15rem;
		line-height: 1.25rem;
	}
	
	
		/* === Layout === */
	.boxed, .full-width .boxed {
		max-width: 90%;
	}

	.with-border {
		border-radius: var(--border-radius-normal);
	}

	.full-width.blue {
		padding: 2rem;
	}


	/* === Component : Hero & Hero Page === */
	#ap-hero, #ap-hero-page, #ap-hero-page .blue-filter {
		border-radius: 0 0 var(--border-radius-normal) var(--border-radius-normal);
	}
	#ap-hero-page, #ap-hero-page .blue-filter {
		height: 35vh;
	}

	#ap-hero-page .content {
		max-width: 75%;
	}


	/* === Component : Missions === */
	.ap-missions .mission-single.featured {
		width: 100%;
	}

	.ap-missions .mission-single {
		width: 100%;
	}


	/* === Component : Besoins === */
	#module-besoins #results {
		grid-template-columns: repeat(4, 1fr);
	}


	/* === Component : Two texts blocks === */
	.ap-two-texts-blocks .text-blocks {
		flex-direction: column;
		gap: 0;
	}


	/* === Component : Method === */
	.ap-method .method-single h3 {
		margin-bottom: 0.5rem;
	}


	/* === Component : Price increase === */
	.ap-price-increase .majoration {
		gap: 1rem;
	}

	.ap-price-increase .majoration h3.border-center {
		line-height: 1.25rem;
	}


	/* === Component : Post category === */
	.ap-post-category .posts {
		gap: 0rem;
	}

	.ap-post-category .other-posts .post {
		gap: 1rem;
	}
}

/* ===== RESPONSIVE TABLET ===== */
@media screen and (max-width: 1024px) {
	/* == Page "Missions" == */
	.missions {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== RESPONSIVE MOBILE ===== */
@media screen and (max-width: 768px) {

	/* == Typos == */
	html {
		font-size: 95%;
	}

	h2 {
		font-size: 1.25rem;
    	line-height: 1.5rem;
	}

	h3 {
		font-size: 1.15rem;
		line-height: 1.25rem;
	}

	h3.border-vertical {
		margin-bottom: 1.5rem;
	}

	p, li {
		line-height: 1.75rem;
	}


	/* == Layout == */
	.buttons-group {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}

	.buttons-group a {
		width: fit-content;
	}


	/* == Header == */
	.no-scroll {
		overflow: hidden;
	}

	#site-logo {
		width: 12rem;
	}

	#site-logo.minimized {
		width: 10rem;
	}

	#ap-header .header-container {
		width: 85%;
		justify-content: space-between;
	}

	.burger.minimized {
		gap: 5px;
	}

	.burger.minimized > div {
		transition: height 0.4s, width 0.4s;
	}

	.burger.minimized > div {
		height: 3px;
		width: 24px;
	}

		/* == Menu mobile == */
		
		#ap-header .menu-mobile {
			display: block;
			z-index: 999 !important;
		}

		.menu-mobile .header {
			display: flex;
			gap: 2rem;
			margin: 4rem 0 2rem 0;
		}

		.menu-mobile .header .logo {
			width: 15rem;
			margin: auto;
		}

		#site-navigation {
			position: absolute;
			right: 0;
			transition: all ease-in-out 600ms;
		}

		#site-navigation.active {
			left: 0px;
		}
		
		
		#site-navigation .menu-mobile {
			background: var(--blue);
			width: 90%;
			padding: 1rem 2rem;
			border-radius: var(--border-radius-normal) 0 0 var(--border-radius-normal);
			box-shadow: var(--box-shadow);
		}

		#site-navigation .menu-mobile.active {
			left: 0px;
		}

		.menu-mobile .content .previous-menu {
			color: var(--white);
			font-weight: 400;
			font-size: 1.05rem;
			margin-bottom: 2rem;
			text-align: end;
			cursor: pointer;
		}

		.menu-mobile .previous-menu:before {
			content: url('/wp-content/uploads/2023/02/chevron-left.svg');
			transform: rotate(90deg);
			padding-right: 1rem;
		}

		.menu-mobile .header .close-button span {
			color: white;
			font-size: 3rem;
		}

		.menu-mobile .content {
			position: relative;
		}

		#menu-index ul#mobile-menu-n,
		#menu-missions ul#mobile-menu-missions,
		#menu-besoins ul#mobile-menu-besoins,
		#menu-constats ul#mobile-menu-constats {
			display: block !important;
		}

		#menu-besoins ul#mobile-menu-besoins {
			overflow-y: scroll;
			overflow-x: hidden;
			height: 400px;
		}

		#menu-index ul#mobile-menu-n a,
		#menu-missions ul#mobile-menu-missions a,
		#menu-besoins ul#mobile-menu-besoins a,
		#menu-constats ul#mobile-menu-constats a {
			display: block !important;
			color: var(--white);
			font-size: 18px;
			padding-bottom: 0.5rem;
			border-bottom: 2px #4E4E65 solid;
			position: relative;
		}


		/* === Menu index === */

		#menu-index {
			position: relative;
			left: 0px;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-index.active {
			opacity: 1;
		}


		span#missions:after,
		span#besoins:after,
		span#constats:after {
			content: url('/wp-content/uploads/2023/02/chevron-right.svg');
			vertical-align: text-top;
			padding-left: 1rem;
		}

		/* === Menu missions === */

		#menu-missions {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-missions.active {
			left: 0;
			opacity: 1;
		}


		/* === Menu constats === */

		#menu-constats {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-constats.active {
			left: 0;
			opacity: 1;
		}


		/* === Menu besoins === */

		#menu-besoins {
			background: var(--blue);
			position: absolute;
			top: 0;
			left: 400px;
			width: 100%;
			transition: all ease-in-out 600ms;
			opacity: 0;
		}

		#menu-besoins.active {
			left: 0;
			opacity: 1;
		}



	/* == Footer == */
	#ap-footer.full-width {
		border-radius: var(--border-radius-normal) var(--border-radius-normal) 0 0;
		padding: 2rem 0;
		margin: 2rem 0 0 0;
	}

	#ap-footer .content {
		display: flex;
		flex-wrap: wrap;
		width: 85%;
		margin: auto;
		gap: 2rem;
	}

	#ap-footer .menu-footer-legal-container {
		text-align: center;
	}

	#ap-footer .content figure.wp-block-image {
		display: flex;
		justify-content: center;
	}

	#ap-footer .content figure.wp-block-image img {
		height: 2rem;
	}

	#ap-footer .content .column:nth-child(1) {
		width: 100%;
		padding-right: 0;
	}

	#ap-footer .content .column:nth-child(2), #ap-footer .content .column:nth-child(3), #ap-footer .content .column:nth-child(4) {
		width: 40%;
	}

	#ap-footer .content .column:nth-child(2) h3.border-left,
	#ap-footer .content .column:nth-child(3) h3.border-left {
		padding-bottom: 1rem;
	}

	#ap-footer .content .column:nth-child(4) h3.border-left {
		text-align: center;
		padding-bottom: 1rem;
	}

	#ap-footer .content .column:nth-child(4) h3.border-left:after {
		margin: auto;
	}


	/* == Component : CTA popup == */
	.ap-cta-popup #popup-label {
		width: 4rem;
		padding: 0.75rem 1rem 0.75rem 0.75rem;
		z-index: 99 !important;
	}

	.ap-cta-popup #popup-label.active {
    right: 0;
	}

	.ap-cta-popup #popup {
		width: 12rem;
		padding: 2rem 1rem 1rem 1rem;
	}

	.ap-cta-popup #popup p {
		line-height: 1.25rem;
		font-size: 1rem;
	}
	

	/* == Component : Hero homepage == */
	#ap-hero {
		padding: 100px 2rem 0;
	}

	#ap-hero .contact-info {
		flex-direction: column;
		gap: 1rem;
		margin: auto;
		width: fit-content;
	}

	#ap-hero .content span.subtitle {
		font-size: 1.25rem;
	}

	#ap-hero .content .title h1 {
		line-height: 2rem;
	}

	#ap-hero .content hr.red-seperator {
		margin: 2rem auto;
		width: 30%;
	}


	/* == Component : Carrousel == */
	.ap-carrousel .swiper {
		padding: 0 1rem;
	}

	/* == Component : Block text == */
	.ap-block-text {
		flex-direction: column !important;
	}

	.ap-block-text .column.text {
		width: 100% !important;
	}

	.ap-block-text .column.image {
		width: 100% !important;
	}

	.ap-block-text .column.image img {
		max-height: 20rem;
	}


	/* ==== Component : Block two texts  ==== */
	.ap-two-texts-blocks .text-blocks {
		flex-direction: column;
		gap: 1rem;
	}

	.text-blocks .column {
		width: 100%;
	}

	
	/* == Component : Carrousel == */
	.swiper-button-prev, .swiper-button-next {
		display: none;
	}


	/* == Component : Missions == */
	.ap-missions.boxed {
		padding: 1rem;
	}

	.ap-missions {
		gap: 2rem;
	}

	.mission-single {
		width: 100% !important;
		margin: 0 !important;
	}


	/* == Component : Besoins == */
	.full-width.blue.with-border.ap-besoins {
		border-radius: var(--border-radius-normal);
		margin: 2rem 0;
	}

	.full-width.blue.with-border.ap-besoins .boxed {
		padding: 0 !important;
	}

	#module-besoins #results {
		grid-template-columns: repeat(2, 1fr);
		margin: 2rem 0;
	}

	#module-besoins .result img {
		width: 4rem;
	}


	/* == Component : Actualités == */
	.ap-actualites .posts {
		flex-direction: column;
		gap: 1rem;
	}


	/* == Component : Hero pages == */
	#ap-hero-page, #ap-hero-page .blue-filter {
		height: 40vh;
		border-radius: 0 0 var(--border-radius-normal) var(--border-radius-normal);
	}

	#ap-hero-page .content {
		max-width: 90%;
	}

	#ap-hero-page .content .title h1,
	#ap-hero-page.ap-single-post .title p {
		font-size: 1.25rem !important;
	}


	/* == Component : Missions == */
	.missions {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 1rem;
	}

	.missions .img {
		height: 8rem;
	}


	/* == Component : Breadcrumb (fil d'ariane) == */
	.ap-breadcrumb.boxed {
		padding-top: 2rem;
	}


	/* == Component : Breadcrumb (fil d'ariane) == */
	.ap-text-summary-image {
		display: grid;
		grid-template-columns: 1fr;
		gap: 2rem;
	}


	/* == Component : CTA contact == */
	.ap-cta-contact {
		max-width: 90%;
		
	}


	/* == Component : CTA Prices Quote (two buttons) == */
	.ap-cta-prices-quote {
		max-width: 90%;
	}

	.ap-cta-prices-quote .buttons-group {
		gap: 1rem;
		margin: 0;
	}


	/* == Component : Method == */
	.ap-method .method-module {
		margin-left: 1rem;
	}

	.ap-method .method-single {
		gap: 1rem;
	}


	/* == Component : Linked missions == */
	.ap-linked-missions .missions {
		flex-direction: column;
	}


	/* == Component : Linked missions == */
	.ap-prices-table .prices-table {
		flex-direction: column;
	}

	.ap-prices-table thead {
		width: 100%;
		border-bottom: solid 2px var(--blue-light);
		padding: 1rem 0;
		font-weight: bold;
	}

	.ap-prices-table tbody {
		width: 100%;
	}


	/* == Component : Price increase == */
	.ap-price-increase .price-increase {
		flex-direction: column;
		gap: 1.5rem;
	}

	.ap-price-increase .majoration {
		width: 75%;
		margin: auto;
	}


	/* == Component : Contact Form Google Maps == */
	.ap-contact-form-map .two-columns {
		flex-direction: column;
	}

	.ap-contact-form-map #form {
		width: 100%;
	}

	.ap-contact-form-map #map {
		width: 100%;
		height: 300px;
	}

	div.wpforms-container-full .wpforms-form .wpforms-one-half, div.wpforms-container-full .wpforms-form .wpforms-three-sixths, div.wpforms-container-full .wpforms-form .wpforms-two-fourths {
		width: 100% !important;
	}

	div.wpforms-container-full .wpforms-form .wpforms-one-half {
		margin: 0 !important;
	}


	/* == Component : Post Category == */
	.ap-post-category .posts {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ap-post-category .other-posts .post {
		display: grid;
		grid-template-columns: 1fr;
		margin-bottom: 2rem;
	}

	.ap-post-category .post .image,
	.ap-post-category .other-posts .image {
		width: 100%;
		height: 15rem;
	}

	.ap-post-category .other-posts .image {
		margin-bottom: 1rem;
	}

	.ap-single-post .post-main-image img {
		height: 200px;
		width: 100%;
		object-fit: cover;
		margin-bottom: 0;
	}

	.content.boxed.ap-single-post {
		padding: 0;
	}

	.ap-single-post .post-category {
		padding: 1rem 0;
	}

	.ap-single-post .post-main-image {
		width: 90%;
		margin: auto;
	}

	.ap-single-post .post-title h1 {
		font-size: 1.5rem;
		line-height: 2rem;
	}

	.ap-single-post hr {
		margin: 1rem auto;
	}

	.ap-single-post .post-meta ul {
		gap: 1rem;
	}

	.ap-single-post .post-meta li:not(:first-child)::before {
		padding-right: 1rem;
	}

	.ap-single-post .post-comments {
		max-width: 90%;
		margin: auto;
	}


	/* === Error 404 page === */
	.error-page #ap-hero-page {
		border-radius: 0 0 var(--border-radius-normal)  var(--border-radius-normal);
	}

	/* === Page "Missions" === */
	.missions {
		width: 100%;
		height: fit-content;
	}

	.missions .card-mission {
		height: 100%;
	}

	.missions .card-mission {
		height: 100%;
	}
}


@media screen and (max-width: 990px) {
	.full-width {
	padding: 2rem 0;
	}

	.boxed {
		padding: 2rem 1rem;
	}

	.full-width > .boxed {
		padding: 1rem 1rem !important;
	}
}

@media screen and (max-width: 550px) {
	#ap-hero .content {
		padding: 3rem 0;
	}
}



