/*
Theme Name: H-E-C-T-A-R-E
Author: Studio des formes / Gaël Gouault 
Author URI: https://studiodesformes.net/
Description: …
Version: 1.0
Scan: https://wave.webaim.org | https://accessibe.com
*/

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


/*--- Root ---*/


:root {
	--color-red: #d86047;
	--color-brick: #cc4326;
	--color-green: #d3df9f;
	--color-yellow: #f9f4d6;
	--color-purple: #5c56a1;

	--font-reg: 'Certeau-Regular';
	--font-obl: 'Certeau-Oblique';
}


/*-- Typography ---*/

@font-face { 
    font-family: 'Certeau-Regular';
    src: url('fonts/Certeau-Regular.eot');
    src: url('fonts/Certeau-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Certeau-Regular.woff2') format('woff2'), 
         url('fonts/Certeau-Regular.woff') format('woff'); 
    font-weight: normal; 
    font-style: normal;
    font-display: swap;
}

@font-face { 
    font-family: 'Certeau-Oblique';
    src: url('fonts/Certeau-Oblique.eot');
    src: url('fonts/Certeau-Oblique.eot?#iefix') format('embedded-opentype'),
         url('fonts/Certeau-Oblique.woff2') format('woff2'), 
         url('fonts/Certeau-Oblique.woff') format('woff'); 
    font-weight: normal; 
    font-style: normal;
    font-display: swap;
}


/*--- Normalize ---*/

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

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

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

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

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img,
iframe,
object {
	border: 0;
}

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

body,
button,
input,
select,
textarea {
	font-family: var(--font-reg);
	font-size: 16px;
	font-size: 1rem;
	color: currentColor;
	line-height: 1.2;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-size: 3em;
	font-weight: normal;
	margin: 0;
}

b,
strong {
	font-weight: normal;
}

em,
i {
	font-family: var(--font-obl);
	font-style: normal;
}

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


/*--- Elements ---*/

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


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

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

.hidden {
	display: none;
}

.center {
	text-align: center;
}

.lowercase {
	text-transform: lowercase;
}


/*--- Links ---*/

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

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


/*--- Header ---*/

#masthead {
	position: fixed;
	width: 100%;
	display: flex;
	z-index: 8;
}

.site-title * {
	display: none;
}

#site-navigation {
	width: 100%;
	height: 100%;
}

#site-navigation .menu {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

#shop-navigation .menu {
	display: flex;
}

#site-navigation .menu li,
#shop-navigation .menu li {
	position: relative;
	font-size: 1.8em;
	text-transform: lowercase;
	list-style: none;
	flex: 1;
	height: 6rem;
	transition: flex .3s, color .3s;
}

#site-navigation .menu li:before,
#shop-navigation .menu li:before {
	position: absolute;
	display: block;
	content: "";
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1rem;
	transition: height .3s;
	z-index: -1;
}

/*#site-navigation .menu li:hover {
	flex: 1 10%;
}*/

#site-navigation .menu li:hover:before,
#shop-navigation .menu li:hover:before {
	height: 100%;
}

#site-navigation .menu li > a,
#shop-navigation .menu li > a {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#shop-navigation .menu li {
	width: 6rem;
}

#shop-navigation .menu li:before {
	/*height: 1rem !important;*/
	background: var(--color-yellow);
}
#shop-navigation .menu li:hover > a {
	background: var(--color-red) !important;
}

#shop-navigation .menu li > a {
	font-size: 0;
	transition: background .3s;
}

.page-template-default #shop-navigation .menu li > a,
.page-template #shop-navigation .menu li > a {
	background: var(--color-yellow);
}
.page-template-page-expositions #shop-navigation .menu li > a,
.single-exposition #shop-navigation .menu li > a {
	background: var(--color-green);
}
.page-template-page-createurs #shop-navigation .menu li > a,
.single-createur #shop-navigation .menu li > a {
	background: var(--color-purple);
}
.page-template-page-catalogue #shop-navigation .menu li > a,
.woocommerce-page #shop-navigation .menu li > a {
	background: var(--color-red);
}

#shop-navigation .menu li.icon-cart > a {
	mask: url('icons/shop/icon-cart.svg') no-repeat center/2.75rem;
  	-webkit-mask: url('icons/shop/icon-cart.svg') no-repeat center/2.75rem;
}
#shop-navigation .menu li.icon-user > a {
	mask: url('icons/shop/icon-user.svg') no-repeat center/2.75rem;
  	-webkit-mask: url('icons/shop/icon-user.svg') no-repeat center/2.75rem;
}

button.menu-toggle {
	display: none;
}


/*--- Main Content ---*/

.site-content {
	width: 100%;
	padding-bottom: 8em;
}

.content-area {
	width: 100%;
	padding: 2em;
}


/*--- Single ---*/

.page-template-default article,
.page-template article,
.single-createur article,
.single-exposition article,
.single-product article {
	width: 80em;
	max-width: 100%;
	margin: auto;
	padding: 8em 0 4em 0;
}

.single-createur article {
	padding-top: 10em;
}

.single article.exposition header .entry-title {
	font-size: 3em;
}

.single article.createur header .entry-title {
	font-size: 4em;
}

.single article.createur header p {
	font-size: 2.2em;
	margin: 2em 0 0 0;
}

.expositions article header .period,
.single article header .period {
	font-size: 1.6em;
	margin-top: .5em;
}

.expositions article header .subtitle,
.single article header .subtitle {
	font-size: 1.8em;
}

.single article .entry-content {
	padding: 3em 0;
}

.entry-content figure {
	text-align: center;
	padding: 0;
	margin: 2em 0;
}

.entry-content figure img {
	width: auto;
	height: auto;
	max-width: 100%;
}

.entry-content > ul,
.entry-content > ol {
	font-size: 1.6em;
	margin: 1em 1.25em;
}

.entry-content p.button-shop {
	text-align: center;
	margin-top: 3em;
}

.entry-content p a.button {
	color: var(--color-green);
	text-decoration: none !important;
	padding: .5em 2em;
	border-radius: 1.8em;
	background: var(--color-purple);
}

/*.entry-content p + ul,
.entry-content p + ol {
	margin-top: -1em;
}*/

.single article .entry-content p a {
	text-decoration: underline;
	text-underline-offset: 3px;
}


/*--- Site content ---*/

.entry-content img.wp-post-image {
	width: 100%;
	height: auto;
}

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

.slider {
	width: 100%;
	padding: 5em;
}

.slider.count-2.total-slide-2 {
	padding: 0;
}

.slider .item {
	width: 100%;
	height: 56em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider.count-2.total-slide-2 .item {
	height: auto;
}

.slider.count-2 .item {
	width: calc(50% - 1em);
	margin: 0 1em;
}

.slider.count-1 .item > a {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.slider .item img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.gallery {
	width: calc(100% + 3em);
	margin-left: -1.5em;
	padding: 5em 0;
}

.gallery .item {
	width: calc(50% - 3em);
	margin: 1.5em;
}

.gallery .item img {
	display: block;
	width: 100%;
	height: auto;
}

.gallery .item figcaption {
	font-size: 1.4em;
	margin-top: .5em;
}

.all-prev-link {
	position: sticky;
	top: 16em;
	width: 130em;
	max-width: 100%;
	margin: 0 auto;
}

.admin-bar .all-prev-link {
	top: calc(16em + 32px);
}

.next-prev-link {
	position: absolute;
	left: 3.5em;
	right: 3.5em;
	width: auto;
	max-width: 120em;
	margin: -20em auto 0 auto;
}

.all-prev-link {
	margin: 2em auto 0 auto;
}

.all-prev-link .nav-all,
.next-prev-link .nav-prev {
	position: absolute;
	top: 0;
	left: 2em;
}

.all-prev-link .nav-next,
.next-prev-link .nav-next {
	position: absolute;
	top: 0;
	right: 2em;
}

.all-prev-link div a,
.next-prev-link div a {
	position: relative;
}

.all-prev-link span,
.next-prev-link span {
	font-size: 1.6em;
}

.all-prev-link .nav-all a:before,
.all-prev-link .nav-next a:after,
.next-prev-link .nav-prev a:before,
.next-prev-link .nav-next a:after {
	position: absolute;
	content: "";
	height: 2em;
	width: 2em;
	display: block;
	top: 50%;
	transform: translateY(-50%);
	transition: all .3s ease;
}

.all-prev-link .nav-all a:before,
.next-prev-link .nav-prev a:before {
	background: url(icons/arrow.svg) no-repeat center/1em;
	left: -2em;
}

.single-product .all-prev-link .nav-all a:before {
	background: url(icons/arrow-red.svg) no-repeat center/1em;
}

.all-prev-link .nav-next a:after,
.next-prev-link .nav-next a:after {
	background: url(icons/arrow.svg) no-repeat center/1em;
	transform: translateY(-50%) rotate(180deg);
	right: -2em;
}

.all-prev-link .nav-all:hover a:before,
.next-prev-link .nav-prev:hover a:before {
	left: -2.5em;
}

.all-prev-link .nav-next:hover a:after,
.next-prev-link .nav-next:hover a:after {
	right: -2.5em;
}


/*--- Fullscreen ---*/

.fslightbox-slide-btn-container-previous {
	left: 1em !important;
}
.fslightbox-toolbar,
.fslightbox-slide-btn {
	background: transparent !important;
}
.fslightbox-slide-btn-container:after {
	position: absolute;
	content: "";
	width: 3em;
	height: 3em;
	background: transparent url(icons/arrow-green.svg) no-repeat center/3em;
}
.fslightbox-slide-btn-container-next:after {
	transform: rotate(180deg);
}
.fslightbox-slide-btn-container .fslightbox-slide-btn svg {
	opacity: 0;
}
.fslightbox-toolbar .fslightbox-toolbar-button svg path {
	fill: var(--color-green) !important;
}
.fslightbox-toolbar .fslightbox-toolbar-button[title="Thumbnails"],
.fslightbox-toolbar .fslightbox-toolbar-button[title="Zoom In"],
.fslightbox-toolbar .fslightbox-toolbar-button[title="Zoom Out"],
.fslightbox-toolbar .fslightbox-toolbar-button[title="Turn on slideshow"] {
	display: none;
}


/*--- Page ---*/

.page-template-default .entry-content,
.page-template .entry-content {
	padding: 5em 0;
}

.column {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3em;
	margin-bottom: 4em;
}

.column:nth-child(odd) {
	flex-direction: row-reverse;
}

.column > div {
	position: relative;
	width: calc(50% - 1.5em);
}

.column .col-image img {
	width: 100%;
	height: auto;
}

.home article {
	padding-bottom: 0;
}

.home article .entry-content h2 {
	font-size: 2.2em;
}


/*--- Page Exposition ---*/

.page-template-page-expositions .expositions {
	padding: 5em 0 0 0;
}

.page-template-page-expositions .expositions h2 {
	text-align: center;
	text-transform: lowercase;
}

.page-template-page-expositions .expositions .exposition {
	padding-top: 3em;
}

.page-template-page-expositions .section,
.single-exposition .section {
	width: 128em;
	max-width: 100%;
	margin: 5em auto 0 auto;
}

.section-grid {
	animation: view 1.75s ease-in forwards;
}

@keyframes view {
	0%, 50% { opacity: 0; }
	100% { opacity: 1; }
}

.page-template-page-expositions .section-grid,
.single-exposition .section-grid {
	width: calc(100% + 3em);
	margin-left: -1.5em;
	padding: 3em 0;
}

.page-template-page-expositions .section-grid h2,
.single-exposition .section-grid h2 {
	font-size: 2.2em;
	margin-top: -1.5em;
	padding: 0 1.5rem;
}

.page-template-page-expositions .section-grid article,
.single-exposition .section-grid article {
	width: calc(33.33333% - 3em);
	margin: 1.5em;
	padding: 0;
}

.page-template-page-expositions .section-grid article .entry-thumb img,
.single-exposition .section-grid article .entry-thumb img {
	width: 100%;
	height: auto;
	opacity: 1;
	transition: opacity .3s;
}

.page-template-page-expositions .section-grid article > div:hover .entry-thumb img,
.single-exposition .section-grid article > div:hover .entry-thumb img {
	opacity: .6;
}

.page-template-page-expositions .section-grid article .entry-header h3,
.single-exposition .section-grid article .entry-header h3 {
	font-size: 2.2em;
	margin: 1em 0 .25em;
}

.page-template-page-expositions .section-grid article .entry-header p,
.page-template-page-expositions .section-grid article .entry-header time,
.single-exposition .section-grid article .entry-header p,
.single-exposition .section-grid article .entry-header time {
	font-size: 1.6em;
	margin: 0;
}


/*--- Page Créateur ---*/

.page-template-page-createurs .createurs .entry-content {
	padding: 0;
}

.page-template-page-createurs .createurs .entry-content p {
	font-size: 2.2em;
}

.page-template-page-createurs .expositions {
	padding: 5em 0 0 0;
}

.page-template-page-createurs .expositions h2 {
	text-align: center;
	text-transform: lowercase;
}

.page-template-page-createurs .expositions .exposition {
	padding-top: 3em;
}

.page-template-page-createurs .section,
.single-createur .section {
	width: 128em;
	max-width: 100%;
	margin: 5em auto 0 auto;
}

.page-template-page-createurs .section {
	margin-top: 0;
}

.page-template-page-createurs .section-grid {
	width: calc(100% + 3em);
	margin-left: -1.5em;
	padding: 3em 0;
}

.page-template-page-createurs .section-grid article {
	width: calc(20% - 3em);
	margin: 1.5em;
	padding: 0;
}

.page-template-page-createurs .section-grid article > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.page-template-page-createurs .section-grid article .entry-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.page-template-page-createurs .section-grid article .entry-thumb img {
	width: 100%;
	height: auto;
	opacity: 1;
	transition: opacity .3s;
}

.page-template-page-createurs .section-grid article > div:hover .entry-thumb img {
	opacity: .6;
}

.page-template-page-createurs .section-grid article .entry-header h3 {
	font-size: 1.6em;
	margin: 1em 0 .25em;
}


/*--- Page Catalogue ---*/

.page-template-page-catalogue .products .entry-content {
	padding: 0;
}

.page-template-page-catalogue .products .entry-content p {
	font-size: 2.2em;
}

.page-template-page-createurs .products {
	padding: 5em 0 0 0;
}

.page-template-page-catalogue .products h2 {
	text-align: center;
	text-transform: lowercase;
}

.page-template-page-catalogue .products .product {
	padding-top: 3em;
}

.page-template-page-catalogue .section,
.single-createur .section {
	width: 128em;
	max-width: 100%;
	margin: 5em auto 0 auto;
}

.page-template-page-catalogue .section {
	margin: 0 auto 8em auto;
}

.page-template-page-catalogue .section-grid {
	width: calc(100% + 3em);
	margin-left: -1.5em;
	padding: 3em 0;
}

.page-template-page-catalogue .section-grid article {
	width: calc(20% - 3em);
	margin: 1.5em;
	padding: 0;
}

.page-template-page-catalogue .section-grid article > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.page-template-page-catalogue .section-grid article .entry-thumb {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 150%;
	overflow: hidden;
}

.page-template-page-catalogue .section-grid article .entry-thumb figure {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
}

.page-template-page-catalogue .section-grid article .entry-thumb p.sold,
.single-product article .col-image p.sold {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.6em;
	text-transform: lowercase;
	color: var(--color-red);
	width: 100%;
	height: 2rem;
	margin: 0;
	background: var(--color-yellow);
	opacity: .6;
}

.page-template-page-catalogue .section-grid article .entry-thumb figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.woocommerce section.related {
	margin-top: 6em;
}

.woocommerce section.upsells + section.related {
	margin-top: 3em;
}

.woocommerce ul.products li.product a img {
	margin: 0;
	opacity: 1;
	transition: opacity .3s;
}

.woocommerce ul.products li.product a:hover img {
	opacity: .6;
}

.page-template-page-catalogue .section-grid article .entry-header h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-size: 1.6em;
	text-transform: none;
	padding: 0;
	margin: 1em 0 .25em;
}

.page-template-page-catalogue .section-grid article .entry-header p.price,
.woocommerce ul.products li.product .price {
	font-size: 1.6em;
	margin: 0;
}

.woocommerce ul.products li.product a.button {
	display: none !important;
}


/*--- Filter ---*/

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

.filter-nav .button {
	font-size: 1.6em;
	text-transform: lowercase;
	padding: 0;
	border: 0;
	background: transparent;
	opacity: .6;
	transition: opacity .3s;
	cursor: pointer;
}

.filter-nav .button.is-checked {
	opacity: 1;
}

.filter-nav .button.disable {
	opacity: .6;
}

.filter-nav span {
	font-size: 1.6em;
	margin: 0 .5em;
}

.filters-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 2em;
	opacity: 1;
	transition: opacity .3s;
}

.filters-groups.disable {
	opacity: .6;
}

.button-group {
	position: relative;
	font-size: 1.6em;
	text-transform: lowercase;
}

.button-group .is-active {
	cursor: pointer;
}

.button-group .is-active::after {
	content: " ↓ ";
}

.button-group .group {
	display: none;
	position: absolute;
	margin-top: .5em;
	max-height: 60vh;
	overflow-y: auto;
	z-index: 1;
	background: color-mix(in srgb, var(--color-yellow) 80%, transparent);
}

.button-group .group button {
	font-size: 1em;
	text-transform: lowercase;
	text-align: left;
	white-space: nowrap;
	width: 100%;
	border: 0;
	background: transparent;
	transition: color .3s, background .3s;
	cursor: pointer;
}

.filters-groups .group button.is-checked {
	color: var(--color-yellow);
	background: color-mix(in srgb, var(--color-red) 60%, transparent);
}

.filters-groups .group button:hover {
	color: var(--color-yellow);
	background: var(--color-red);
}

.filters-groups .group button[data-filter="*"]:before {
	content: "Toutes les ";
}
.filters-groups .button-group[data-filter-group=createur] .group button[data-filter="*"]:before {
	content: "Tous·tes les ";
}
html[lang=en-GB] .filters-groups .group button[data-filter="*"]:before {
	content: "All " !important;
}
html[lang=nl-BE] .filters-groups .group button[data-filter="*"]:before {
	content: "Alle " !important;
}

.sf-meta-range {
	display: flex;
	gap: .5em;
	background: color-mix(in srgb, var(--color-yellow) 80%, transparent);
}

.sf-meta-range input {
	font-size: 1.6rem;
	padding: .125em .25em;
	border: 1px solid var(--color-red);
	background: var(--color-yellow);
	outline: none;
}

.sf-meta-slider {
	position: relative;
	width: calc(100% - 2rem);
	height: 2rem;
	display: flex;
	align-items: center;
	margin: .5rem 1rem 0 1rem;
}

.sf-meta-slider .sf-line {
	position: relative;
	width: 100%;
	height: 1px;
}

.sf-meta-slider .sf-line:before {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: -1rem;
	width: calc(100% + 2rem);
	height: 100%;
	background: color-mix(in srgb, var(--color-red) 25%, transparent);
}

.sf-meta-slider .sf-line .sf-current {
	position: absolute;
	left: 0;
	right: 0;
	width: auto;
	height: 100%;
	background: var(--color-red);
}

.sf-meta-slider .sf-input {
	position: absolute;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--color-red);
	border-radius: 50%;
	background: var(--color-yellow);
	cursor: grab;
}

.sf-meta-slider .sf-input:active { cursor: grabbing; }
.sf-meta-slider .sf-input-min { left: -1rem; }
.sf-meta-slider .sf-input-max { right: -1rem; }

.filters-groups .button-reset {
	width: 1.5em;
	height: 1.5em;
	margin: .25em 0 0 0;
	background: url(icons/close-red.svg) no-repeat center/2em;
	cursor: pointer;
}

.search-bar:after {
	display: inline-block;
	content: "";
	width: 2em;
	height: 2em;
	margin-bottom: -.5em;
}

.page-template-page-catalogue .search-bar:after {
	background: url(icons/search-red.svg) no-repeat center/2em;
}

.page-template-page-createurs .search-bar:after {
	background: url(icons/search-purple.svg) no-repeat center/2em;
}

.search-bar {
	white-space: nowrap;
	margin-left: 3em;
}

.search-bar .quicksearch {
	font-size: 1.6em;
	text-transform: lowercase;
	padding: 0;
	border: 0;
	outline: none !important;
	width: 8em;
	background: transparent;
	opacity: .6;
	transition: opacity .3s;
	border-bottom: 1px solid currentColor;
}

.search-bar .quicksearch.is-active {
	opacity: 1;
}


/*--- Home ---*/

#splashpage {
    position: relative;
    width: 80em;
    max-width: 100%;
    height: calc(100vh - 24em);
    min-height: 45em;
    margin: 6em auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#splashpage .splashpage-content {
    width: 100%;
}

#splashpage .splashpage-content a.down {
	position: absolute;
	left: calc(50% - 1em);
	bottom: 0;
	display: block;
    width: 3em;
    height: 2em;
    background: url(icons/arrow-yellow.svg) no-repeat center/3em;
    animation: move 1s alternate infinite;
}

@keyframes move {
	from { transform: translateY(0); }
	to { transform: translateY(1em); }
}

#splashpage .splashpage-content #splashpage-anim {
	position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 2s ease;
}

#splashpage .splashpage-content #splashpage-anim.visible {
    opacity: 1;
}

#splashpage .splashpage-content .baseline {
	font-size: 1.8em;
    color: var(--color-yellow);
    text-align: center;
    margin: 2em 0;
}


/*--- Popup ---*/

#popup-event {
  display: none;
}

#popup-event .popup {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2em;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

#popup-event .popup-contain {
	width: 58em;
	max-width: 100%;
	height: auto;
	background: var(--color-red);
	border-radius: 1.6em;
	overflow: hidden;
}

#popup-event header {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 1.5em 2em;
}

#popup-event header .logo {
	width: 26em;
	height: 2em;
	background: url(icons/logo-hectare-galerie-yellow.svg) no-repeat center/100%;
}

#popup-event header .close {
	position: absolute;
	top: 1.5em;
	right: 2em;
	width: 2em;
	height: 2em;
	background: url(icons/close-yellow.svg) no-repeat center/2em;
	opacity: 1;
	transition: opacity .3s;
	cursor: pointer;
}

#popup-event header .close:hover {
	opacity: .6;
}

.popup-content {
	text-align: center;
	padding: 2em 2em 1.5em 2em;
	color: var(--color-red);
	background: var(--color-yellow);
}

.popup-content .entry-header h1,
.popup-content .entry-content h2 {
	font-size: 2.2em;
}

.popup-content .entry-header p {
	font-size: 1.6em;
	margin-top: .5em;
}

.popup-content .entry-content {
	margin-top: 2.5em;
	padding: 0;
}

.popup-content .entry-content img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 50vh;
}


/*--- Not Found ---*/

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


/*--- End page ---*/

.end-page {
	width: 80em;
	max-width: 100%;
	margin: auto;
	padding: 4em;
}

.end-page h4 {
	font-size: 2.2em;
}

.end-page p {
	font-size: 1.6em;
}

.end-page img.map {
	width: 36em;
	max-width: 100%;
	height: auto;
	margin: 1em 0;
}

.end-page .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 6em 3em;
}

.end-page .menu li {
	font-size: 1.6em;
	text-transform: lowercase;
	list-style: none;
}

.end-page .menu li:not(li:last-child):after {
	display: inline-block;
	content: " | ";
	margin: 0 0.5em;
}

.end-page .menu li.no-link a {
	pointer-events: none;
}



/*--- Footer ---*/

#footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	padding: 0 8em;
}

.footer-links {
	width: 100%;
	height: 6em;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-links .logotype a {
	position: absolute;
	display: flex;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.footer-links .logotype span {
	font-size: 2.2em;
	padding: 0 .125em;
}

.footer-links .logotype div {
	width: 2.8em;
	height: auto;
	transition: width .5s ease-in-out;
}

.footer-links .logotype div:after {
	content: "";
	display: block;
	width: 100%;
	height: .2em;
	transform: translateY(1.5em);
	background: currentColor;
}

/*.footer-links .logotype span:hover + div,
.footer-links .logotype div:hover {
	width: 8em;
}*/

.footer-links .logotype div.current {
	width: 8em;
}
.footer-links .logotype div.near {
	width: 5em;
}

.social {
	display: flex;
	gap: 1em;
}

.social a {
	opacity: 1;
	transition: opacity .3s;
}

.social a:hover {
	opacity: .6;
}

.social .icon {
	width: 2.4em;
	height: 2.4em;
}

.social .icon svg {
	width: 100%;
	height: 100%;
}

.social .icon svg path {
	fill: currentColor;
}

.navigation .menu {
	display: flex;
	gap: 1em;
}

.navigation .menu li {
	font-size: 1.8em;
	text-transform: lowercase;
	list-style: none;
}


/*--- Other ---*/

.separate span:not(span:last-child):after {
	display: inline-block;
	content: " | ";
	margin: 0 0.5em;
}

.__alert,
.__alert-2 {
	display: none;
}

.__message {
	font-size: 1.6em;
	padding: .5em 1em;
	margin: 0 0 8em 0;
	border: 0;
	border-radius: 2em;
	cursor: pointer;
}

form.ml-block-form {
	max-width: 52em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2em;
	margin: 2em auto;
}

form.ml-block-form > div:first-child {
	flex: 1;
}

form button {
	font-size: 1.6rem;
	text-transform: lowercase;
	color: var(--color-green) !important;
	background: var(--color-purple);
	padding: .5em 3em;
	border: 0;
	border-radius: 2em;
	cursor: pointer;
}

form input {
	font-size: 1.6rem;
	background: transparent;
	width: 100%;
	padding: .5em;
	border: 1px solid var(--color-purple);
	outline: none !important;
}


/*--- Viewport ---*/

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

@viewport {
	width: device-width;
}


/*--- Media Queries ---*/

@media screen and (min-width: 1600px) {
	html {
		font-size: 68.8%;
	}
}

@media screen and (min-width: 1920px) {
	html {
		font-size: 75.0%;
	}
}

@media screen and (max-width: 1080px) {
	.all-prev-link {
		top: 7em;
		z-index: 7;
	}
	.all-prev-link:before {
		position: absolute;
		top: -1em;
		left: 0;
		display: block;
		content: "";
		width: 100%;
		height: 4em;
		background: var(--color-green);
	}
	.single-product .all-prev-link:before {
		background: var(--color-yellow);
	}
	.admin-bar .all-prev-link {
		top: calc(7em + 32px);
	}
	.page-template-page-createurs .section-grid article,
	.page-template-page-catalogue .section-grid article {
		width: calc(25% - 3em);
	}
}

@media screen and (max-width: 960px) {
	html { 
		font-size: 58%;
	}
	#masthead {
		height: 6em;
	}
	button.menu-toggle {
		display: block;
		position: fixed;
		top: 1.5em;
		left: 2em;
		width: 3em;
		height: 3em;
		border: none;
		padding: 0;
		box-shadow: none;
		cursor: pointer;
		background: transparent;
		transition: opacity .3s;
		z-index: 99;
		cursor: pointer;
	}
	button.menu-toggle:hover {
		opacity: .6;
	}
	.admin-bar button.menu-toggle {
		top: calc(1.5em + 32px);
	}
	button.menu-toggle span:before,
	button.menu-toggle span:after {
		position: absolute;
	    display: block;
	    content: "";
	    height: 0.2em;
	    width: 3em;
	    transition: all .3s ease-in;
	}
	button.menu-toggle span:before {
		transform: translateY(-1em);
	}
	button.menu-toggle span:after {
		transform: translateY(.75em);
	}
	button.menu-toggle.open span:before {
		transform: rotate(225deg);
	}
	button.menu-toggle.open span:after {
		transform: rotate(-45deg);
	}
	#site-navigation .menu {
		position: fixed;
		top: 6em;
		left: -100%;
		width: 100%;
		height: calc(100% - 12em);
		display: flex;
		flex-direction: column;
		transition: left .3s ease-in-out;
	}
	.admin-bar #site-navigation .menu {
		top: calc(6em + 32px);
		height: calc(100% - (12em + 32px));
	}
	#site-navigation .menu.open {
		left: 0;
	}
	#site-navigation .menu li {
		flex: 1 !important;
	}
	#site-navigation .menu li:before {
		height: 100%;
		transition: none;
	}
	#shop-navigation .menu li:before {
		content: none;
	}
	#shop-navigation .menu li {
		transition: opacity .3s;
	}
	#shop-navigation .menu li:hover {
		opacity: .6;
	}
	#shop-navigation .menu li:hover > a {
    	background: currentColor !important;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar button.menu-toggle {
		top: calc(1em + 46px);
	}
	.admin-bar #site-navigation .menu {
		height: calc(100% - (6em + 46px));
	}
	.section-grid article {
		width: calc(50% - 3em);
	}
	.admin-bar .all-prev-link {
		top: calc(7em + 46px);
	}
	.page-template-page-expositions .section-grid article,
	.page-template-page-createurs .section-grid article,
	.page-template-page-catalogue .section-grid article {
		width: calc(33.333% - 3em);
	}
}

@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
	.section-grid article,
	.gallery .item {
		width: calc(100% - 3em);
	}
	.page-template-page-expositions .section-grid article,
	.page-template-page-createurs .section-grid article,
	.page-template-page-catalogue .section-grid article {
		width: calc(50% - 3em);
	}
	.column {
		gap: 0;
	}
	.column > div {
		width: 100%;
	}
	form.ml-block-form > div:first-child {
		flex: 100%;
	}
	.filter-nav {
		width: 100%;
	}
	.search-bar {
		margin: 1em 0 0 0;
	}
	.slider {
		padding: 5em 3em;
	}
	.slider .item {
		height: 28em;
	}
	.end-page {
		padding: 4em 2em;
	}
	#footer {
		padding: 0 2em;
	}
	.footer-links .logotype span {
		font-size: 1.6em;
	}
	.footer-links .logotype div {
		width: 1.6em !important;
	}
	.footer-links .logotype div:after {
		height: .125em;
		transform: translateY(1em);
	}
}

@media (hover: none) and (pointer: coarse) {

}
