/*
 * Site stylesheet, loaded on every page. forms.css (contact, recrutement)
 * and references-gallery.css (references) add to it on their pages.
 *
 * Sections: base, typography, utilities, header, main menu, page layouts
 * (article, banner pages, job postings), sidebar menus, recruitment teaser,
 * client-logo carousel, footer, cookie bar.
 */

/* Self-hosted Google Fonts (SIL OFL 1.1, see assets/fonts/OFL-*.txt): latin
   subset, variable weight 400-700. Montserrat italic is synthesized. */
@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Oswald;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/assets/fonts/oswald-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--blue: #2e5ba3;
	--blue-alt: #2b59a5;
	--yellow: #f5b841;
	--yellow-alt: #eeb431;
	--text: #666;
	--heading: #333;
	--font-body: Montserrat, sans-serif;
	--font-heading: Oswald, sans-serif;
}

/* ======================================================================
   Base
   ====================================================================== */

*,
::before,
::after {
	box-sizing: border-box;
}

html {
	font-family: sans-serif;
	font-size: 10px;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 0;
	padding: 0;
	background-color: #f2f2f2;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	overflow-wrap: break-word;
}

[hidden] {
	display: none;
}

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

img:is([sizes="auto" i], [sizes^="auto," i]) {
	contain-intrinsic-size: 3000px 1500px;
}

figure {
	margin: 0;
}

button,
input,
textarea {
	margin: 0;
	color: inherit;
	font: inherit;
}

button {
	cursor: pointer;
}

/* ======================================================================
   Typography
   ====================================================================== */

h1,
h2,
h3 {
	margin-top: 20px;
	margin-bottom: 10px;
	color: var(--heading);
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.4;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h2 a {
	color: var(--heading);
}

p {
	margin: 0 0 10px;
}

ul {
	margin-top: 0;
	margin-bottom: 10px;
}

sup {
	position: relative;
	top: -0.5em;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}

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

a:focus {
	color: #2b7bb9;
	text-decoration: underline;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

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

/* Page title: white uppercase heading with a yellow bar on its left */
.page-title {
	margin: 50px 20px;
	padding-left: 15px;
	border-left: 27px solid var(--yellow);
	color: #fff;
	font-size: 30px;
	font-weight: 600;
	line-height: 40px;
	text-transform: uppercase;
}

/* Image in the page content */
.figure {
	margin: 0 0 1em;
}

.figure img {
	vertical-align: bottom;
}

.figure--center {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

/* ======================================================================
   Utilities and buttons
   ====================================================================== */

.skip-link {
	position: absolute;
	left: -10000px;
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 10px 15px;
	background: #fff;
}

.skip-link:focus {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	width: auto;
	height: auto;
}

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

.mt50 {
	margin-top: 50px;
}

.btn-yellow {
	padding: 10px 25px;
	background: var(--yellow);
	box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 2px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

a.btn-yellow:hover {
	color: #fff;
}

.btn-white {
	display: block;
	padding: 10px 25px;
	background: #fff;
	box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 2px;
	color: var(--blue-alt);
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 640px) {
	.btn-yellow {
		display: block;
		clear: both;
		max-width: 250px;
		margin: 25px auto;
		padding: 15px;
	}
}

/* ======================================================================
   Header (includes/header.php)
   ====================================================================== */

.site-header {
	background-color: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.site-header__brand {
	display: flow-root;
	width: 18.98%;
	padding: 20px 20px 0;
}

.site-header__logo {
	display: block;
	text-align: center;
}

.site-header__logo:focus {
	outline-offset: 0;
}

.site-header__logo img {
	width: 180px;
}

.site-header__main {
	display: flex;
	flex-direction: column;
	width: 81.02%;
}

.site-header__top {
	display: flow-root;
	margin: 10px 20px 15px;
}

.site-header__tagline {
	float: left;
	width: 70%;
	margin: 18px 0 0;
	font-size: 17px;
	font-style: italic;
	font-weight: 500;
	text-align: center;
}

/* "Une question ? 01 43 50 10 00" box (a copy sits next to the logo on tablets) */
.header-contact {
	position: relative;
	float: right;
}

.header-contact--brand {
	display: none;
}

.header-contact__icon {
	position: absolute;
	left: -5px;
}

.header-contact__question,
.header-contact__phone {
	font-family: var(--font-heading);
	font-weight: 700;
}

.header-contact__question {
	margin-bottom: 8px;
	padding-left: 75px;
	color: var(--blue);
	font-size: 13px;
}

.header-contact__phone a {
	padding: 6px 10px 6px 75px;
	box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 10px;
	color: var(--yellow);
	font-size: 16px;
}

@media (max-width: 1000px) {
	.site-header__logo {
		margin-bottom: 20px;
	}
}

@media (max-width: 870px) {
	.site-header__tagline {
		width: 65%;
		margin-top: 27px;
		font-size: 14px;
	}
}

/* Logo and burger side by side, the menu opens below them */
@media (max-width: 768px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-header__brand {
		width: 80%;
	}

	.site-header__main {
		display: contents;
	}

	.site-header__top {
		display: none;
	}
}

@media (min-width: 641px) and (max-width: 768px) {
	.site-header__logo,
	.header-contact--brand {
		float: left;
	}

	.header-contact--brand {
		display: block;
		margin-left: 40px;
	}
}

/* ======================================================================
   Main menu (includes/menus.php render_main_menu(), driven by site.js)
   ====================================================================== */

.main-nav {
	margin-top: 15px;
}

.main-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 18px;
}

.main-nav li {
	position: relative;
	border-top: 1px solid transparent;
}

.main-nav li:first-child {
	border-top: none;
}

.main-nav a,
.main-nav .main-nav__label {
	display: block;
	padding: 15px 22px;
	color: var(--blue);
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
}

.main-nav__parent {
	position: relative;
}

.main-nav__parent a,
.main-nav .main-nav__label {
	padding-right: 39px;
}

/* Dropdown toggle, the arrow drawn as a rotated square corner */
.submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 39px;
	padding: 0;
	border: 0;
	background: transparent;
}

.submenu-toggle::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: 50%;
	z-index: 1;
	width: 9px;
	height: 9px;
	margin: -5px -5px 0 0;
	border-right: 2px solid var(--blue);
	border-bottom: 2px solid var(--blue);
	transform-origin: right bottom;
	transform: translateX(-5px) rotate(45deg);
}

.has-submenu.is-open > .main-nav__parent > .submenu-toggle {
	transform: rotate(-180deg);
}

.submenu {
	display: none;
	min-width: 220px;
	padding: 10px 5px;
}

.has-submenu.is-open > .submenu {
	display: block;
}

.main-nav .submenu {
	padding: 10px 5px;
}

.submenu li {
	font-size: 16px;
	line-height: 1;
}

.main-nav .submenu a {
	padding-top: 10px;
	padding-bottom: 10px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
}

.submenu a::before {
	content: " - ";
}

.submenu--md {
	left: -1px !important;
	width: 300px;
}

.submenu--lg {
	left: -1px !important;
	width: 370px;
}

/* Colours: hover / focus, current page, parent of the current page */
.main-nav li :focus,
.main-nav a:hover,
.main-nav__parent:hover > * {
	background-color: var(--blue);
	color: #fff;
	text-decoration: none;
}

.submenu-toggle:focus::before,
.main-nav__parent:hover > .submenu-toggle::before {
	border-color: #fff;
}

.has-submenu:hover {
	background: var(--blue-alt);
}

.main-nav .is-current-parent > .main-nav__parent > a,
.main-nav .is-current-parent > .main-nav__parent > .main-nav__label {
	color: #f5b840 !important;
}

.main-nav .has-submenu:hover a,
.main-nav .has-submenu:hover .main-nav__label,
.main-nav .submenu a {
	color: #fff !important;
}

.main-nav .main-nav__list > .is-current > a,
.main-nav .main-nav__list > .is-current > .main-nav__parent > a {
	background: none;
	color: var(--yellow) !important;
}

.main-nav .main-nav__list > .is-current:hover > a,
.main-nav .main-nav__list > .is-current:hover > .main-nav__parent > a {
	background: var(--blue);
}

.main-nav .is-current > .main-nav__parent > .submenu-toggle {
	background-color: transparent;
}

.main-nav .submenu li:hover > a,
.main-nav .submenu .is-current > a {
	background: none;
	color: var(--yellow) !important;
}

.has-submenu:hover .submenu-toggle::before,
.is-current-parent .submenu-toggle::before {
	border-color: #f5b840 !important;
}

.is-current .submenu-toggle::before {
	border-color: var(--yellow-alt) !important;
}

/* Burger button, <=768px only */
.nav-toggle {
	display: none;
}

@media (min-width: 769px) {
	.main-nav li {
		border-top: none;
		border-left: 1px solid transparent;
	}

	.main-nav li:first-child {
		border: none;
	}

	.main-nav li li {
		border-top: 1px solid transparent;
		border-left: none;
	}

	.submenu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		background-color: var(--blue);
		box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px;
		text-align: left;
	}

	.has-submenu:hover > .submenu {
		display: block;
	}
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
	.has-submenu:hover > .main-nav__parent > .submenu-toggle {
		transform: rotate(-180deg);
	}
}

@media (min-width: 950px) and (max-width: 1000px) {
	.main-nav__list {
		font-size: 15px;
	}

	.main-nav a,
	.main-nav .main-nav__label {
		padding-left: 8px;
		padding-right: 8px;
	}

	.main-nav__parent a,
	.main-nav .main-nav__label {
		padding-right: 32px;
	}
}

@media (min-width: 1100px) and (max-width: 1280px) {
	.main-nav a,
	.main-nav .main-nav__label {
		padding-left: 10px;
		padding-right: 10px;
	}

	.main-nav__parent a,
	.main-nav .main-nav__label {
		padding-right: 32px;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: inline-block;
		position: relative;
		align-self: center;
		margin-top: 40px;
		padding: 15px 25px;
		border: none;
		background-color: transparent;
		color: var(--blue);
		font-size: 16px;
		line-height: 1.2;
	}

	.nav-toggle svg {
		display: inline-block;
		width: 1.4em;
		height: 1.4em;
		vertical-align: middle;
		fill: currentcolor;
	}

	.nav-toggle:hover,
	.nav-toggle[aria-expanded="true"] {
		background-color: var(--blue);
		color: #fff;
	}

	.main-nav {
		display: none;
		flex: 1 1 100%;
	}

	.main-nav.is-open,
	.main-nav__list {
		display: block;
	}
}

/* ======================================================================
   Article pages: services, homepage, "notre entreprise"
   (includes/article-layout.php)
   ====================================================================== */

.site-main {
	background-color: #fff;
}

/* Hero photo behind the top of the page (450px band) */
.article-hero {
	position: absolute;
	width: 100%;
	height: 450px;
	background: url("/assets/images/bg-accueil.jpg") center center / cover no-repeat;
}

/* Title + content + sidebar, laid over the hero */
.article {
	position: relative;
	padding: 20px 55px;
}

.article__inner {
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
}

.article__main {
	width: 71.28%;
}

.article__sidebar {
	width: 28.72%;
}

.article .page-title {
	margin: 30px 20px 50px 0;
}

/* White content box */
.article__content {
	padding: 40px;
	background: #fff;
	box-shadow: rgba(0, 0, 0, 0.1) 0 0 15px 4px;
	text-align: justify;
}

/* Two-column introduction text */
.article__content .dcols {
	display: inline-block;
	margin-bottom: 25px;
	color: #555;
	font-size: 15px;
	line-height: 25px;
	text-align: justify;
	column-count: 2;
	column-gap: 3em;
}

@media (max-width: 1100px) {
	.article__inner {
		display: block;
	}

	.article__main,
	.article__sidebar {
		width: auto;
	}
}

@media (max-width: 640px) {
	.article__content .dcols {
		column-count: 1;
	}
}

/* ======================================================================
   Banner pages: contact, recrutement, references, job postings
   (includes/page-layout.php, includes/job-posting-layout.php)
   ====================================================================== */

.page-banner {
	display: flex;
	align-items: center;
	padding: 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-banner__inner {
	flex: 1 1 auto;
	max-width: 1280px;
	margin: 0 auto;
}

.page-banner--contact {
	min-height: 180px;
	background-image: url("/assets/images/contact.jpg");
}

.page-banner--recrutement {
	min-height: 220px;
	background-image: url("/assets/images/recrutement-1.jpg");
}

.page-banner--references {
	min-height: 280px;
	background-image: url("/assets/images/nos-references.jpg");
	background-position: center top;
}

/* The three job postings share this banner, darkened by an overlay */
.page-banner--job {
	position: relative;
	min-height: 250px;
	background-image: url("/assets/images/offre-senior.jpg");
	background-position: center top;
}

.page-banner--job::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(10, 0, 0, 0.5);
}

.page-banner--job .page-banner__inner {
	position: relative;
	z-index: 2;
	max-width: 1100px;
}

@media (max-width: 768px) {
	.page-banner {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 992px) {
	.page-banner--recrutement .page-title {
		margin-right: 0;
	}
}

.page-content {
	padding: 20px;
}

.page-content__inner {
	display: flow-root;
	max-width: 1280px;
	margin: 0 auto;
}

.page-content--contact,
.page-content--recrutement {
	max-width: 1280px;
	margin: 25px auto;
}

.page-content--references {
	padding: 0;
}

/* Two columns side by side above 1100px, stacked below */
.cols {
	display: flex;
}

.cols > * {
	display: flow-root;
}

@media (max-width: 1100px) {
	.cols {
		display: block;
	}

	.cols > * {
		width: auto !important;
	}
}

@media (max-width: 768px) {
	.page-content {
		padding-left: 0;
		padding-right: 0;
	}
}

.page-content--contact {
	padding-left: 55px;
	padding-right: 55px;
}

/* Job postings */
.job-body {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.job-body__content {
	display: flow-root;
	margin: 30px 20px;
}

@media (max-width: 768px) {
	.job-body {
		padding: 0;
	}

	.job-body__content {
		margin: 20px;
	}
}

/* ======================================================================
   Sidebar menus (includes/menus.php render_side_menus())
   ====================================================================== */

.side-menu {
	display: flow-root;
	width: 280px;
	margin-bottom: 20px;
}

.side-menu ul {
	margin: 20px;
	padding: 0;
	font-size: 16px;
	list-style: none;
}

.side-menu li {
	position: relative;
	padding-left: 15px;
	border-top: 1px solid transparent;
}

.side-menu li:first-child {
	border-top: none;
}

.side-menu a {
	display: block;
	padding: 5px 0;
	color: #fff;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
}

/* Chevron before each item */
.side-menu a::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	width: 11px;
	height: 11px;
	border-top: 3px solid var(--yellow-alt);
	border-right: 3px solid var(--yellow-alt);
	transform-origin: right top;
	transform: translateX(-5px) rotate(45deg);
}

.side-menu li:hover a,
.side-menu .is-current a {
	color: var(--yellow-alt);
}

.side-menu--entreprise {
	background: #fff;
}

.side-menu--entreprise a {
	color: #222;
}

.side-menu--diagnostics {
	background: var(--blue-alt);
}

.side-menu--pro {
	background: var(--yellow-alt);
}

.side-menu--pro a::before {
	border-color: var(--blue-alt);
}

.side-menu--pro li:hover a,
.side-menu--pro .is-current a {
	color: var(--blue-alt);
}

@media (max-width: 1100px) {
	.side-menu {
		display: none;
	}
}

/* ======================================================================
   Recruitment teaser (homepage and "notre entreprise" pages)
   ====================================================================== */

.recruit-teaser {
	margin-top: 50px;
	padding: 20px;
	box-shadow: rgba(0, 0, 0, 0.1) 0 0 15px 4px;
}

.recruit-teaser h2 {
	color: var(--blue-alt);
	font-size: 24px;
}

.recruit-teaser p {
	color: #555;
	font-size: 16px;
}

.recruit-teaser__img,
.recruit-teaser__body,
.recruit-teaser__text,
.recruit-teaser__action {
	display: table-cell;
	vertical-align: middle;
}

.recruit-teaser__text {
	padding-left: 20px;
	padding-right: 40px;
}

@media (min-width: 640px) and (max-width: 1000px) {
	.recruit-teaser__text,
	.recruit-teaser__action {
		display: block;
	}

	.recruit-teaser__text {
		padding-right: 0;
	}

	.recruit-teaser__action {
		margin-left: 20px;
	}

	.recruit-teaser .btn-white {
		max-width: 215px;
	}
}

@media (max-width: 640px) {
	.recruit-teaser {
		text-align: center;
	}

	.recruit-teaser__img {
		display: block;
	}

	.recruit-teaser__text,
	.recruit-teaser__action {
		display: block;
		padding: 10px;
		text-align: left;
	}

	.recruit-teaser p br {
		display: none;
	}

	.recruit-teaser .btn-white {
		max-width: 215px;
	}
}

/* ======================================================================
   Client logos carousel (includes/ref-clients.php, built by site.js)
   ====================================================================== */

.client-logos {
	display: flow-root;
	margin: 20px;
}

.client-logos__title {
	margin-bottom: 20px;
	color: var(--blue);
	font-size: 28px;
	font-weight: 500;
	text-align: center;
}

/* Hidden until site.js has built the carousel */
.logo-carousel {
	position: relative;
	padding: 0 30px 20px;
	text-align: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s linear;
	user-select: none;
	touch-action: pan-y;
}

.logo-carousel.is-ready {
	visibility: visible;
	opacity: 1;
}

.logo-carousel__viewport {
	position: relative;
	overflow: hidden;
}

.logo-carousel__track {
	display: flex;
	align-items: center;
}

.logo-carousel__slide {
	flex: 0 0 auto;
	margin: 30px;
}

.logo-carousel__box {
	display: block;
	max-height: 250px;
	box-shadow: rgba(10, 0, 0, 0.2) 1px 3px 10px;
	line-height: 0;
}

.logo-carousel__box img {
	display: inline-block;
	max-height: 250px;
}

/* Prev / next arrows */
.logo-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 9;
	width: 30px;
	height: 30px;
	padding: 5px;
	border: 0;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.5);
	transform: translateY(-50%);
	transition: 0.5s ease-in-out;
}

.logo-carousel__arrow:hover {
	background-color: rgba(0, 0, 0, 0.7);
}

.logo-carousel__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #fff;
}

.logo-carousel__arrow--prev {
	left: 0;
}

.logo-carousel__arrow--next {
	right: 0;
}

/* ======================================================================
   Footer (includes/footer.php)
   ====================================================================== */

.site-footer__main {
	padding: 0 20px;
	background-color: var(--blue);
}

.site-footer__inner {
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
}

.site-footer__contact {
	width: 33.83%;
	padding: 20px;
	color: #fff;
	font-size: 16px;
	line-height: 23px;
}

.site-footer__contact a {
	color: #fff;
	font-weight: bold;
}

.site-footer__contact .site-footer__phone {
	color: var(--yellow);
	font-size: 20px;
	line-height: 30px;
}

.footer-nav {
	width: 66.17%;
	padding: 20px;
}

.footer-nav ul {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: 16px;
	list-style: none;
}

.footer-nav li {
	border-top: 1px solid transparent;
}

.footer-nav li:first-child {
	border-top: none;
}

.footer-nav a {
	display: block;
	padding: 15px 20px;
	color: #fff;
}

.footer-nav a::before {
	content: " - ";
	color: #fff;
}

.footer-nav li:hover a,
.footer-nav .is-current a {
	color: var(--yellow);
	text-decoration: none;
}

@media (min-width: 769px) {
	.footer-nav li {
		border-top: none;
		border-left: 1px solid transparent;
	}

	.footer-nav li:first-child {
		border: none;
	}
}

@media (max-width: 768px) {
	.site-footer__main {
		padding: 0;
	}

	.site-footer__inner {
		display: block;
	}

	.site-footer__contact {
		width: auto;
		max-width: 400px;
		margin: 0 auto;
	}

	.footer-nav {
		width: auto;
	}
}

@media (max-width: 640px) {
	.site-footer__contact {
		padding: 30px;
	}

	.footer-nav {
		padding-top: 0;
	}

	.footer-nav ul {
		width: 100%;
	}

	.footer-nav a {
		padding: 5px 20px;
	}
}

.site-copyright {
	display: flow-root;
	padding: 0 40px;
	background-color: var(--blue);
	color: #fff;
	text-align: center;
}

.site-copyright__name {
	color: #82b2ff;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.site-copyright {
		padding: 0 20px;
	}
}

/* ======================================================================
   Cookie bar (#cookie-bar, driven by site.js)
   ====================================================================== */

.cookie-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 100000;
	min-width: 100%;
	padding: 15px 30px;
	background-color: #32323a;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", sans-serif;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
}

.cookie-bar__text {
	display: inline-block;
	margin: 0 0 6px;
}

.cookie-bar__buttons {
	display: inline-block;
}

/* Accepting and refusing get the same weight (CNIL guidance) */
.cookie-bar__button {
	margin: 0 5px;
	padding: 8.5px 10px;
	border: none;
	border-radius: 2rem;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.25px;
	white-space: nowrap;
	touch-action: manipulation;
}

.cookie-bar__button--accept {
	background-color: #00a99d;
}

.cookie-bar__button--refuse {
	background-color: #5c5c66;
}

.cookie-bar__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Close (x) button */
.cookie-bar__close {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 15px;
	height: 15px;
	margin: -10px 0 0;
	padding: 10px;
	border: none;
	background: none;
	opacity: 0.5;
}

.cookie-bar__close:hover {
	opacity: 1;
}

.cookie-bar__close:focus-visible {
	outline: currentcolor solid 2px;
	outline-offset: 3px;
}

.cookie-bar__close::before,
.cookie-bar__close::after {
	content: " ";
	position: absolute;
	top: 3px;
	width: 2px;
	height: 15px;
	background-color: grey;
}

.cookie-bar__close::before {
	transform: rotate(45deg);
}

.cookie-bar__close::after {
	transform: rotate(-45deg);
}

@media (max-width: 900px) {
	.cookie-bar__text,
	.cookie-bar__buttons {
		display: block;
	}
}

@media (max-width: 480px) {
	.cookie-bar {
		padding: 15px 25px;
	}
}
