/*
Theme Name: Acabox 22
Theme URI: http://xtremelysocial.com/wordpress/child/
Description: Child theme for Flat Bootstrap. Includes a stylesheet (style.css) for you to restyle any of the CSS and a functions.php file to change theme parameters or components. Both files include samples of a few common things you might want to do.
Author: Orvalis
Tags: one-column, right-sidebar, left-sidebar, custom-header, custom-menu, featured-images, featured-image-header, full-width-template, flexible-header, theme-options, sticky-post, threaded-comments, translation-ready, rtl-language-support, custom-background
*/
@import url("https://use.typekit.net/zow6luw.css");
/*@import url("https://use.typekit.net/kpi0tsj.css");*/ :root {
	--wrap: 1080px;
	--color-page-bg: #FFF;
	--color-dark: #152B28;
	--color-green: #2E4F4E;
	--color-green-light: #81BEC3;
	--color-beige-clair: #F3E1CD;
	--color-beige: #ECD1B3;
	/*--color-green: #3E554C;*/
	--color-green: #274F48;
	--color-green-light: #4C645C;
	--color-beige-clair: #F0EAD8;
	--color-beige: #F6E5C1;
	/*--color-beige-fonce: #DAA520;*/
	--color-beige-fonce: #E0B381;
	--color-souligne: #00FEDA;
	--color-clear-font: #E6F0FA;
	--color-titre: #FCFF1F;
	/*--color-surligne: #2bfafa;;
	--color-surligne: cyan;*/
	--margin: 8px;
	--size: 50px;
	--gap: 10px;
}
@media only screen and (min-width: 768px) {
	:root {
		--margin: 8px;
	}
}
@media only screen and (min-width: 1024px) {
	:root {
		--margin: 10px;
		--wrap: 960px;
	}
}
@media only screen and (min-width: 1280px) {
	:root {
		--wrap: 1080px;
		--margin: 20px;
	}
}
@media only screen and (min-width: 1450px) {
	:root {
		--margin: 20px;
		--wrap: 1200px;
	}
}
* {
	box-sizing: border-box;
	position: relative;
}
body {
	margin: 0;
	top: 0px;
	left: 0px;
	/*background: transparent linear-gradient(180deg, #F0EAD8 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;*/
	background-color: var(--color-green);
	opacity: 1;
	font-family: roboto-condensed, sans-serif;
}
:fullscreen, :-webkit-full-screen {
	background-color: red;
}
.container {
	max-width: 100%;
	width: auto;
}
h1, h2 {
	font-family: raleway-v20-deprecated, sans-serif;
	font-weight: 900;
	font-style: normal;
	text-transform: uppercase;
	color: var(--color-green);
}
/* #################
 * ##### HTML ######
 * #################
 */
body, #main, #page {
	font-size: 16px;
	max-width: none;
	letter-spacing: 0.5px;
	font-weight: 400;
	font-style: normal;
}
body.toggled-on {
    position: fixed;
    overflow: hidden;
}
h2 {
	padding-bottom: var(--margin);
	text-align: center;
	position: relative;
	display: block;
	margin: calc(var(--margin) * 4) auto !important;
	width: fit-content;
	font-family: raleway-v20-deprecated, sans-serif;
	font-weight: 900;
	font-style: normal;
	text-transform: uppercase;
	font-size: 2.2em;
	margin-bottom: calc(4 * var(--margin)) !important;
}
h2::after {
	content: '';
	bottom: -10px;
	width: calc(var(--margin)*8);
	left: 50%;
	transform: translate(-50%, 50%);
	height: 4px;
	background-color: var(--color-beige-fonce);
	position: absolute;
}
h3 {
	font-family: roboto-condensed, sans-serif;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 1.6em;
	font-weight: 900;
}
h4 {
	font-size: 1.2em;
	padding-bottom: 4px;
}
h1, h2, h3, h4, p {
}
a {
	text-decoration: none;
	color: inherit;
}
.wrap {
	width: 100%;
	max-width: var(--wrap) !important;
	margin: 0 auto;
	position: relative;
}
@media only screen and (min-width: 767px) {
	.wrap {
		padding-left: calc(2 * var(--margin));
		padding-right: calc(2 * var(--margin));
	}
}
.fullwidth {
	width: 100vw;
}
.fullheight {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.container {
	max-width: 100%;
	width: auto;
}
section {
	/*padding: calc( 8 * var(--margin) ) 0 !important;
	position: relative;
	padding-top: calc( 4 * var(--margin) );
	padding-bottom: calc( 4 * var(--margin) );*/
}
section:not(#machines) > div {
	padding: var(--margin);
}
#page, #content, body {
	width: 100vw;
}
* {
	box-sizing: border-box;
}
p {
	padding: calc(var(--margin) / 2)
}
.angle-haut-gauche::before {
	position: absolute;
	width: calc(calc(100vw - var(--wrap)) / 2);
	height: calc(calc(100vw - var(--wrap)) / 2);
	top: -1px;
	content: '';
	background-color: inherit;
	clip-path: polygon(0 0, 100% 0%, 0% 100%, 0 0%);
}
.angle-haut-droite::before {
	position: absolute;
	width: calc(calc(100vw - var(--wrap)) / 2);
	height: calc(calc(100vw - var(--wrap)) / 2);
	top: -1px;
	content: '';
	background-color: inherit;
	clip-path: polygon(100% 0, 100% 100%, 0% 100%, 100% 0%);
	right: 0;
}
.angle-bas-gauche::before {
	position: absolute;
	width: calc(calc(100vw - var(--wrap)) / 2);
	height: calc(calc(100vw - var(--wrap)) / 2);
	top: calc(calc(100vcalw - var(--wrap)) * -0.5);
	content: '';
	background-color: inherit;
	clip-path: polygon(0 0, 100% 100%, 0% 100%, 0 0%);
}
.angle-bas-droite::before {
	position: absolute;
	width: calc(calc(100vw - var(--wrap)) / 2);
	height: calc(calc(100vw - var(--wrap)) / 2);
	top: calc(calc(100vw - var(--wrap)) * -0.5);
	content: '';
	background-color: inherit;
	clip-path: polygon(100% 0, 100% 100%, 0% 100%, 100% 0%);
	right: 0;
	z-index: 1;
}
@media only screen and (min-width: 1600px) {
	.angle-haut-gauche::before {
		width: 200px;
		height: 200px;
	}
	.angle-haut-droite::before {
		width: 200px;
		height: 200px;
	}
	.angle-bas-gauche::before {
		width: 200px;
		height: 200px;
		top: -200px;
	}
	.angle-bas-droite::before {
		width: 200px;
		height: 200px;
		top: -200px;
	}
}
.wp-block-image {
	padding: 0;
	margin: 0;
}
/* ##############
 * ### HEADER ###
 * ##############
 */
header {
	z-index: 10;
}
header#masthead {
	width: 100%;
	max-width: var(--wrap);
	padding: calc(var(--margin)/2)
}
@media only screen and (min-width: 768px) {
	header#masthead {
		margin-top: 40px;
		margin-bottom: 40px;
		padding: 0;
	}
}
div#site-branding {
	width: fit-content;
	display: flex;
	align-items: center;
}
.custom-header-image {
	width: 220px;
}
.trigger-menu-wrapper {
	display: block;
	width: 100vw;
}
.trigger-menu-wrapper > .wrap {
	display: flex;
	width: 100%;
}
#site-navigation {
	flex: 1;
}
/*.nav::before {
	   display: table;
    content: " ";
}*/
.trigger-menu-wrapper > .wrap > * {
	flex: 1;
}
div#header-widget figure {
	margin: 0;
}
div#header-widget figure img {
	background-color: var(--color-beige-fonce);
	width: 30px;
	padding: 4px;
	border-radius: 50%;
}
div#header-widget figcaption {
	top: 40%;
	opacity: 0;
	transform: translateX(-50%);
	background-color: var(--color-beige-fonce);
	color: var(--color-green);
	padding: calc(var(--margin)/2);
	position: absolute;
	width: fit-content;
	text-align: center;
	left: 50%;
	transition: all 0.3s ease-out;
	z-index: -1;
	border-radius: 20px;
}
div#header-widget figure:hover figcaption {
	top: 100%;
	opacity: 1;
	transition: all 0.3s ease-out;
}
div#header-widget {
	display: flex;
	/* grid-template-columns: 1fr 1fr 1fr 1fr; */
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: space-around;
	/* align-content: center; */
	padding: var(--margin);
}
@media only screen and (max-width: 767px) {
	.trigger-menu-wrapper > .wrap {
		display: block; 
	}
	header .menu-main-menu-container, header .nav-menu {
		height: 0;
		opacity: 0;
		left: 0;
		top: 0;
		position: fixed;
		background-color: var(--color-bg-body);
		width: 100vw;
		padding-top: var(--margin);
		transition: all 0.4s ease;
		overflow: hidden;
	}
	.navbar-header button {
		position: fixed;
		right: calc(2*var(--margin));
		top: calc(2*var(--margin));
		padding: 10px;
		border: none;
		height: 40px;
		width: 40px;
		font-size: 1.5em;
		z-index: 10000
	}
	.nav-menu.toggled-on header .menu-main-menu-container, .nav-menu.toggled-on {
		opacity: 1;
		top: 0;
		height: 100vh;
		background-color: var(--color-green);
		background-image: url(https://acabox.fr/files/2022/07/logo-acabox-pastel2.svg);
		background-repeat: no-repeat;
		background-position:calc(var(--margin)/2) calc(var(--margin)/2);
    	background-size: 200px auto;
	}
	header .menu-main-menu-container ul, header .nav-menu ul {
		padding: 0;
		transform: translateY(-50%);
		top: 50%;
	}
	.menu-main-menu-container ul li a, header .nav-menu ul li a {
		display: block;
		width: 100%;
		text-decoration: none;
		padding: calc(4*var(--margin));
		font-size: 2em;
		color: var(--color-beige-fonce);
		text-transform: uppercase;
		border-bottom: 2px solid;
	}
	li.menu-item::before, li.menu-item::after {
		display: none;
	}
	button.navbar-toggle {
		color: var(--color-beige-fonce);
		border: thin solid;
		border-radius: 50%;
		overflow: hidden;
		background-color: var(--color-green);
		filter: drop-shadow(1px 3px 3px rgb(0 0 0 / 50%));
	}
	button.navbar-toggle span {
		background-image: url(../../wp-content/themes/acabox/illustration/menu-ouvrir.svg);
		background-repeat: no-repeat;
		background-postion: center;
		background-size: cover;

	}
	button.navbar-toggle span {
		height: 100%;
		width: 100%;
		display: block;
	}
	button.navbar-toggle.toggled-on span {
		background-image: url(../../wp-content/themes/acabox/illustration/menu-fermer.svg);


	}
	div#header-widget {
		position: absolute;
		bottom: 180px;
		left: 10%;
		width: 80%;
		justify-content: space-between;
	}
	div#header-widget figure img {
		width: 60px;
	}
}

header .navbar-default .navbar-toggle, header .navbar-default .navbar-toggle:hover {
	border-color: transparent;
	margin-top: calc(var(--margin) + 5px);
	margin-right: 0;
	background-color: var(--color-bg-body)
}
header .navbar-collapse.collapse .menu-main-menu-container li {
	margin-bottom: calc(var(--margin)/ 2) !important;
	transition: all .6s ease;
	flex: 1;
}
header li.menu-item::before, header li.menu-item::after {
	content: '';
	position: absolute;
	top: 0;
	width: calc(100% - 16px);
	height: 8px;
	background-color: var(--color-beige-fonce);
	left: 8px;
}
header li.menu-item::after {
	top: auto;
	bottom: 0;
}
header .navbar-nav li a {
	/* padding: calc(var(--margin)/ 2);*/
	text-align: center;
	width: 100%;
	height: 100%;
	color: var(--color-dark-logo);
	font-size: .9em;
	line-height: var(--margin);
	align-content: center;
	display: flex;
	align-items: center;
	justify-content: center
}
@media only screen and (max-width: 767px) {
	header  .menu-main-menu-container, .nav-menu {
		height: 0;
		opacity: 0;
		left: 0;
		top: 0;
    	position: fixed;
		background-color: var(--color-bg-body);
		width: 100vw;
	    padding-top: var(--margin);
		transition: all 0.4s ease;
	}
	header .navbar-header button {
		position: fixed;
		right: var(--margin);
		top: var(--margin);
		padding: 10px;
		border: none;
		height: 40px;
		width: 40px;
		font-size: 1.5em;
		z-index: 10000	
	}
	header .menu-main-menu-container.toggled-on, .nav-menu.toggled-on {
		opacity: 1;
		top: 80px;
		height: fit-content;
		height: 100%;
	}
	header .menu-main-menu-container ul, .nav-menu ul {
		padding: 0;	
	}	
}
@media (min-width: 768px) {
	.trigger-menu-wrapper {
		display: flex;
		width: 100vw;
	}
	#menu-main-menu-container { display: flex; }
	.menu-main-menu-container {
		flex: 4;
		display: flex;
		align-items: center;
	}
	#site-navigation {
		flex: 4;
	}
	.navbar-header { display: none; }
	header .nav.navbar-nav {
		display: flex;
		width: 100%;
		height: 50px;
		list-style: none;
		padding: 0;
	}
	ul#menu-main-menu-1 li:first-of-type {
		border-left: 8px solid var(--color-beige-fonce);
	}
	ul#menu-main-menu-1 li {
		border-right: 8px solid var(--color-beige-fonce);
	}
}

	ul#menu-main-menu-1 li {
		color: var(--color-green);
		font-family: raleway-v20-deprecated, sans-serif;
		font-weight: 900;
		font-style: normal;
		text-transform: uppercase;
		font-weight: bold;
		flex: 1;
	}
	ul#menu-main-menu-1 li a {
		display: flex;
		width: 100%;
		height: 100%;
		justify-content: center;
		align-items: center;
		color: inherit;
		color: var(--color-beige-fonce);
		border: 3px solid transparent;
		border-bottom: 3px solid var(--color-green);
		transition: all 0.5s ease;
		position: relative;
		padding: calc(var(--margin)/2) var(--margin);
		line-height: 1;
	}
	ul#menu-main-menu-1 li a::after {
		content: '';
		height: 3px;
		width: 100%;
		position: absolute;
		background-color: transparent;
		top: -40px;
		transition: all 0.5s ease;
	}
	ul#menu-main-menu-1 li a:hover {
		border: 3px solid var(--color-beige-fonce);
	}
	ul#menu-main-menu-1 li a:hover::after {
		background-color: var(--color-beige-fonce);
		top: 0;
	}
	header .nav > li > a:hover, .nav > li > a:focus {
		text-decoration: none;
		background-color: var(--color-beige-fonce);
		color: var(--color-green) !important;
	}
	header .navbar-nav > li > a {
		padding-top: 10px;
		padding-bottom: 10px;
		line-height: 22px;
	}

/* INTRO */
#intro {
	font-family: raleway-v20-deprecated, sans-serif;
	font-style: normal;
	font-size: 20px;
	color: var(--color-beige-fonce);
	height: calc(100vh - 196px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#intro strong {
	font-size: 1.4em;
	font-style: normal;
	text-transform: uppercase;
	padding: 0;
}
#intro em {
	font-style: normal;
}
#intro > div {
	/* max-height: 100vh; */
	height: 100%;
	/* display: table; */
}
#intro .wp-block-columns.willappear {
	display: flex;
	flex-direction: row-reverse;
	gap: var(--gap);	
}
#intro > div > .wrap {
	display: block;
	position: relative;
	/* overflow: hidden; */
	max-height: none;
	height: 100%;
}
@media only screen and (min-width: 1500px) {
	#intro {
		font-size: 1.2vw;
	}
	#intro > div > .wrap {
		max-width: 1500px;
	}
}
/* Timeline dans "historique" */
/*
.no_display {
	display: none;
}


.myTimeline {
	max-width: 800px;
	width: 100%;
	display: flex;	
	margin: auto;
}
.control-timeline {
	list-style: none;
	display: flex;
	justify-content: space-between;
	margin: auto;
	flex-direction: column;
	padding: 0;
	position: relative;
}
.control-timeline::before {
	content: '';
	position: absolute;
	background-color: var(--color-beige-fonce);
	width: 6px;
	height: 100%;
	left: 5 px;
}

.control-timeline > li {
	position: relative;
	padding: 90px 20px;
	transition: all 0.5s ease;

}
.control-timeline > li > span {
	position: absolute;
	left: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid;
	background-color: #000;
	left: -5px;
}
.control-timeline > li.active {
	color: var(--color-beige-fonce);
	transition: all 0.5s ease;
	font-size: 1.6em;
	padding-top: 0;



}

.control-timeline > li.active > span {
	background-color: var(--color-beige-fonce);
	border: 2px solid #FFF;
	width: 24px;
	height: 24px;
	left: -10px;

}
.control-timeline * {
	cursor: pointer;
}
.slides-timeline {
	list-style: none;
}
.slide-item {
	position: relative;
	display: flex !important;
}

.item-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 10px;
}
@media screen and (min-width: 600px) {
	.item-content {
		flex-direction: row;
	}
}
.item-content .thumbnail-item {
	margin: 10px;
	width: 25%;
	height: auto;
}
.item-content .text-item {
	margin: 10px;
}
.slide-item .item-content .thumbnail-item {
	width: 100%;
}
*/
/*
.wp-container-1.wp-block-group.animation-caisse {
    position: fixed;
    left: 50%;
    top: 25%;
}
.appeared .wp-container-1.wp-block-group.animation-caisse {
    position: fixed;
}
#slogan .willappear > div {
	display: flex;
	flex-direction: column;
	width: 100%;
    height: 100%;
	overflow: hidden;
	padding: var(--margin)
}
@media only screen and (min-width: 768px) {
	#slogan .willappear > div {
	flex-direction: row;
	}
}
#slogan .willappear > div > * {
	display: flex;
	flex: 1;
	align-items: center;
}
	

.animation-assemblage,
.animation-couvercle {
	width: 100%;
	height: 100%;
	display: block;
}
.animation-assemblage > div {
	width: 100%;
	aspect-ratio: 542 / 428;
}
.animation-assemblage * {
	position: absolute;
}
.animation-assemblage .haut {
	aspect-ratio: 24.636363636363636 / 1;
	opacity: 0;
	top: -200px;
	width: 100%;
}
.appeared .animation-assemblage .haut {
	top: 0;
	opacity: 1;
	transition: all 0.6s ease;
	transition-delay: 1s;
}
.animation-assemblage .gauche,
.animation-assemblage .droite {
	height: 100%;
	aspect-ratio: 1 / 17.5;
	bottom: -200px;
	left: 0;
	opacity: 0;
}
.animation-assemblage .droite {
	left: auto;
	right: 0;
}
.appeared .animation-assemblage .gauche,
.appeared .animation-assemblage .droite {
	bottom: 0;
	transition: all 0.4s ease;
	transition-delay: 2s;
	opacity: 1;
}
.animation-assemblage .bas {
	aspect-ratio: 24.636363636363636 / 1;
	top: auto;
	bottom: -200px;
	width: 100%;
}
.appeared .animation-assemblage .bas {
	bottom: 0;
	transition: all 0.4s ease;
	transition-delay: 3s;
}

.animation-assemblage .fond {
	width: 100%;
	height: 100%;
	transform: scale(80%);
	opacity: 0;
}
.appeared .animation-assemblage .fond {
	transform: scale(100%);
	opacity: 1;
	transition: all 0.4s ease;
		transition-delay: 4s;
	z-index: 0;
}
.appeared .animation-assemblage .gauche,
.appeared .animation-assemblage .droite,
.appeared .animation-assemblage .haut,
.appeared .animation-assemblage .bas,
.appeared .animation-assemblage .fond {
}
.appeared .haut {
	top: 0;
    opacity: 1;
	transition: all 0.6s ease;
	transition-delay: 1s;
}
.appeared .marque1,
.appeared .marque2 {
	filter: blur(0);
	transition: filter 1.4s ease;
	transition-delay: 0.5s;
}
.appeared .marque2 {
	transition-delay: 2s;
}
.appeared .animation-assemblage .gauche,
.appeared .animation-assemblage .droite {
	bottom: 0;
	transition-: all 0.4s ease;
	transition-delay: 2s;

}
.slogan {
	display: flex;
    flex-direction: column;
    height: 300%;
	z-index: 1;
}
.slogan p {
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    height: 100%;
}
.slogan > div {
	flex: 1;
	display: flex;
}
#slogan {
	    display: block;
    height: 100%;
}
#slogan > div {
	    height: 300%;
    display: flex;
    flex-direction: column;
}
#slogan > div > div {
	display: flex;
    align-items: center;
    scroll-snap-align: start;
    height: 100%;
	flex-direction: row;
}
#slogan > div > div > div {
	
}
#slogan p {
	z-index: 10;
}
.slogan + div {
	flex: 2 !important;
	position: fixed;
    left: 50%;
    top: 25%;
}
*/
.animation-caisse {
	width: 100%;
	aspect-ratio: 420 / 215.9;
	position: relative;
}
.animation-caisse > div {
	background-color: var(--color-beige-fonce);
	background-image: url(../../files/2022/07/white_pine.jpg);
	background-size: cover;
	border: 2px solid var(--color-green);
	z-index: 1;
	display: block;
	position: absolute;
	animation-duration: 0.4s;
	animation-fill-mode: forwards;
}
.animation-caisse .milieu > * {
	position: absolute;
	animation-duration: 0.4s;
	animation-fill-mode: forwards;
	z-index: 2;
}
#animation > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.animation-animation {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 !important;
	filter: drop-shadow(1px 28px 18px rgb(0 0 0 / 60%));
}
.text-animation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 !important;
}
.text-animation > * > strong, .text-animation em, .text-animation p {
	opacity: 0;
	transform: translateY(100px);
	/*
	flex: 1;
	display: flex;
    align-items: center;*/
}
/*@media only screen and (min-width:768px) {
	.text-animation > *::after {
		content: '';
		width: 100%;
		border-bottom: 4px dotted var(--color-beige-fonce);
		position: absolute;
		bottom: 20%;
		margin-left: 10px;
	}
}*/
.appeared .text-animation > * > strong, #intro .appeared .text-animation em, .appeared .text-animation p {
	animation-name: anim-text;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
	padding: 0;
	margin: 0;
	color: var(--color-beige);
}
@keyframes anim-text {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.appeared .text-animation p:first-child {
	animation-delay: 0;
}
/*.appeared .text-animation p:nth-child(2) {
	animation-delay: 1.6s;
}*/
#intro .text-animation strong:first-child {
	animation-delay: 1s;
}
#intro .text-animation strong:nth-child(2) {
	animation-delay: 2s;
}
#intro .text-animation em, #intro .text-animation strong:last-child {
	animation-delay: 3s;
}
.appeared .text-animation p:last-child {
	animation-delay: 4s;
}
#animation .gauche, #animation .droite {
	height: 87.12%;
	aspect-ratio: 1 / 14;
	left: 0;
	opacity: 0;
	bottom: 6.44%;
	transform: scale(150%);
}
#animation .droite {
	left: auto;
	right: 0;
}
#animation .appeared .gauche, #animation .appeared .droite {
	animation-name: move-latteral;
	animation-delay: 0.5s;
}
#animation .milieu, #animation .fond {
	aspect-ratio: 273.16 / 123;
	display: flex;
	flex-direction: column;
	width: 100%;
	bottom: 6.38%;
	
}
#animation .milieu {
	opacity: 0;
	transform: scale(150%);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#animation .appeared .milieu {
	animation-name: move-milieu;
	animation-delay: 0.8s;
}
#animation .bas, #animation .haut {
	aspect-ratio: 273.16 / 8.71;
	width: 100%;
	opacity: 0;
}
#animation .bas {
	bottom: -100px;
	animation-name: move-bas;
}
#animation .appeared .bas {
	animation-delay: 1.3s;
	animation-duration: 0.4s;
}
#animation .haut {
	top: -100px;
	opacity: 0;
}
#animation .appeared .haut {
	animation-name: move-haut;
	animation-delay: 2s;
}
#animation .marque1, #animation .marque2 {
	opacity: 0;
	filter: blur(30px);
	display: flex;
	flex: 1;
	text-align: center;
	justify-content: center;
	align-items: center;
	position: relative;
}
#animation .marque1 {
	flex: 2;
	align-items: end;
}
#animation .appeared .marque1 {
	animation-name: move-blur;
	animation-delay: 3.5s;
}
#animation .appeared .marque2 {
	animation-name: move-blur;
	animation-delay: 3.2s;
}
.marque1 img {
	width: 70%;
}
.marque2 img {
	width: 40%;
}
@keyframes move-blur {
	to {
		opacity: 1;
		filter: blur(0);
	}
}
@keyframes move-latteral {
	to {
		opacity: 1;
		transform: scale(100%);
	}
}
@keyframes move-haut {
	to {
		opacity: 1;
		top: 0;
	}
}
@keyframes move-bas {
	to {
		opacity: 1;
		bottom: 0;
	}
}
@keyframes move-milieu {
	to {
		opacity: 1;
		transform: scale(100%);
	}
}
/*
.animation-caisse .wp-block-group__inner-container {
	position: relative;
	width: 600px;
	height: 436px;
	padding: 40px;
	margin-right: 100px;
	transform: scale(calc(calc(var(--wrap)/2)/9000));
}
.animation-caisse .wp-block-group__inner-container figure {
	position: absolute;

	animation-duration: 1000ms;
	animation-fill-mode: forwards;
	margin: 0;
	z-index: 1;
}
.animation-caisse .wp-block-group__inner-container figure.gauche {
	top: 107px;
	left: 0;
	animation-name: move-gauche;
	z-index:1;
}
.animation-caisse .wp-block-group__inner-container figure.droite {

	top: 107px;
	right: 0;
	animation-name: move-droite;
	z-index: 2;
}
.animation-caisse .wp-block-group__inner-container figure.bas {
	bottom: 0;
	right: 81px;
	animation-name: move-bas;
	z-index: 0;
}
.animation-couvercle figure.haut {
	position: fixed;
	z-index: 3;
	left: 50%;
	top:-100px;
	
}
.appeared .animation-couvercle figure.haut {
	animation-name: move-haut; 
	
}
.animation-caisse .wp-block-group__inner-container figure.face {
	top: 256px;
	left: 12px;
	animation-name: move-face;

}
.animation-caisse .wp-block-group__inner-container figure.fond {
	right: 32px;
	top: 47px;
	animation-name: move-fond;
}

@keyframes move-gauche {
    to {
        left: 78px;
    }
}
@keyframes move-droite {
    to {
		right: 81px;
    }
}
@keyframes move-bas {
    to {
		bottom: 51px;
    }
}
@keyframes move-face {

    to {
        top: 196px;
		left: 92px;
    }
}
@keyframes move-fond {

    to {
        right: 92px;
		top: 107px;
    }
}
@keyframes move-haut {
	from { 
		top: -100px;
	right: 0;
	}
    to {
        	top: 92px;
	right: 81px;
    }
}
*/
/* CIBLES */
#cible {
	position: relative;
	background-color: var(--color-beige-clair);
	padding: calc(4*var(--margin)) 0;
	padding-bottom: 200px;
}
#cible .grid-3 > div > div h3 {
	color: var(--color-green);
	margin: -20px 0 0;
	padding-top: 0;
	text-align: center;
}
#cible .grid-3 > div > div p {
	text-align: justify;
}
#cible .grid-3 > div > div figure {
	padding: 0 20px;
	position: relative;
	text-align: center;
}
#cible .grid-3 > div > div figure img {
	width: 70%;
	max-width: none;
	object-fit: cover;
}
#cible .grid-3 > div > div:nth-child(2) figure img {}
#clients {
	background-color: #FFF;
	background-image: url(../../files/2022/07/caisse-bottle.jpg);
	background-size: cover;
	margin-top: 0px;
	padding: 0 !important;
	width: 100vw;
	aspect-ratio: 3 / 2;
}
#clients.angle-haut-gauche::before {
	background-color: var(--color-beige-clair);
}
#clients .wp-block-columns.wrap {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.references {
	background-color: #FFF;
	margin: auto;
	top: -140px;
	position: absolute;
	left: 0;
	overflow: hidden;
	filter: drop-shadow(1px 8px 8px rgb(0 0 0 / 60%));
}
.references .wp-block-columns {
	margin: 0;
}
.references h3 {
	margin: 0 !important;
	padding: 0;
	color: var(--color-green);
}
#clients .wp-block-columns.wrap * {
	align-items: center;
	justify-content: space-around;
	align-content: center;
	display: flex;
}
.references figure {
	width: 150px;
	height: 100%;
}
.references figcaption {
	opacity: 0;
	position: absolute;
	bottom: 0;
	background-color: rgba(255,255,255,0.8);
	text-align: center;
	font-size: 0.7em;
	transition: all 0.4s ease;
}
.references figure:hover figcaption {
	opacity: 1;
}
.references a img {
    transition: transform 0.4s ease;
}
.references a:hover img {
    transform: scale(1.2);
}
@media only screen and (min-width: 768px) {
	#clients {
		aspect-ratio: 3 / 1;
	}
	#clients .wp-block-columns.wrap * {
		justify-content: center;
		padding: 5px;
	}
	.references {
		border-radius: 200px;
		transform: translate(-50%, -50%);
		top: 0;
		left: 50%;
	}
	.references > div {
		display: flex;
		text-align: left;
		align-items: center;
	}
	.references h3 {
		text-align: right;
		flex: 1;
		padding-left: calc(var(--margin)*2);
	}
	.references .wp-block-columns {
		flex: 4;
	}
}
@media only screen and (min-width: 900px) {
	#clients .wp-block-columns.wrap {
		display: flex;
	}
}
/*
#services::before {
	position: absolute;
	width: 100%;
  height: 200px;
	top: 0;
	content:'';
	background: linear-gradient(#FFF, rgba(255, 255,255, 0.3));
	background-color: #FFF;
		clip-path: polygon(0 0, 0 25%, 25% 0, 50%, 50% 0, 100% 50%, 100% 0, 0 0);
	clip-path: polygon(0 100%, 80% 10%, 100% 100%, 100% 0, 0 0);
}
#services::after {
	position: absolute;
	width: 100%;
    height: 200px;
	bottom: 0;
		content:'';

	background-color: var(--color-green);

		clip-path: polygon(0 0, 20% 100%, 100% 0, 100% 100%, 0 100%, 0 0);

}
*/
/* ###################################################
######################################################
					PAGE NOS MACHINES 
######################################################
################################################### */
#machines {
	/*background: white linear-gradient(181deg, #D5C190 0%, #FFFFFF0F 72%, #6B6148 100%) 0% 0% no-repeat padding-box;*/
	background-color: var(--color-green);
	/*background-image: url(https://acabox.fr/files/2022/03/fond-machine.jpg);
	background-position: center center;*/
	/*background-color: var(--color-green);*/
	position: relative;
	/*clip-path: polygon(0 10%, 25% 0, 50% 20%, 75% 5%, 100% 17%, 100% 100%, 75% 85%, 50% 92%, 25% 80%, 0 90%, 0 10%); 
	 box-shadow: inset Opx Opx 30px 30px rgba(0,0,0,0.9);*/
	padding-bottom: 0 !important;
}
#machines > .wp-block-group__inner-container::before {
	width: 200px;
	height: 200px;
	content: '';
	background-color: var(--color-green-light);
	position: absolute;
	content: '';
	clip-path: polygon(100% 0, 100% 100%, 0% 100%, 100% 0);
	right: 0;
	top: -190px;
}
#machines h2 {
	text-align: center;
	color: var(--color-beige);
}
#machines header p {
	color: var(--color-beige-clair);
}
#machines .grid-2 > div > div {
	padding: var(--margin);
	color: var(--color-beige);
	border-radius: 40px 0 0 0;
}
#machines li.machine {
	display: flex;
	flex-direction: column;
}
#machines li.machine > div {
	flex: 0;
	max-width: none;
	padding: 0;
}
#machines li.machine h3 {
	text-align: center;
	color: var(--color-beige);
	font-size: 1em;
	text-transform: uppercase;
	padding: calc(var(--margin)/2) calc(var(--margin)/2) 0;
}
#machines li .category {
	display: none;
}
#machines .grid-2 > * {
	background-color: var(--color-green-light);
	padding-top: 2.5vw;
}
@media only screen and (min-width: 768px) {
	/*#machines .grid-2 > * {
		display: grid;
		grid-template-columns: 1fr 2fr;
	}*/
	.grid-3 > * {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: calc(var(--margin)*2);
	}
}
@media only screen and (min-width: 1500px) {
	/*#machines .grid-2 > * {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}*/
	#machines header > div {
		max-width: var(--wrap);
	}
}
#machines header {
	padding-left: calc(var(--margin)*2);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	color: var(--color-green);
	z-index: 1;
}
#machines header > div {
	/*background-color: var(--color-green);
	padding: calc( var(--margin)*2 ) calc( var(--margin)/2 );
	color: var(--color-beige);*/
}
#machines .bandeau {
	position: relative;
}
/*
#machines .bandeau::before {
    width: 190%;
    height: 100%;
    content: '';
    clip-path: polygon(50% 0,100% 0, 100% 100%, 0 100%, 50% 0);
    position: absolute;
    background-color: var(--color-beige-fonce);
    right: 0;
	top: 0;

}*/
#machines .bandeau {
	/*padding: calc(2*var(--margin)) !important;*/
	padding: 0;
}
#machines ul {
	padding: var(--margin);
	margin-left: 0 !important;
	display: grid;
	gap: calc(2*var(--margin));
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	overflow-x: scroll;

}
@media only screen and (min-width: 768px) {
	#machines ul {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
	.machines-autres #machines ul {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
#machines li.machine {
	margin: var(--margin) 0;
	padding: 10px;
	border-radius: 30px;
	background-color: var(--color-green);
	border: 1px solid var(--color-dark);
	transition: all 0.4s ease;
	min-width: 200px;
	justify-content: start;
}

/*
#machines li.machine::after {

    content: '>';
    background-color: var(--color-green);
    position: absolute;
    top: 35%;
    z-index: 10;
    right: 0;
    width: 30px;
    height: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2em;
	opacity: 0;
	transition: all 0.4s ease;
	
}

#machines li.machine:hover::after {
	opacity: 1;
	right: -30px;

}
*/
#machines li.machine figure {
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	width: 100%;
}
#machines li.machine img {
	filter: sepia() saturate(60%) hue-rotate(30deg);
	transition: all 0.7s ease;
	width: 100%;
	height: 100%;
	/* width: auto; */
	/* height: auto; */
	object-fit: cover;
	border-radius: 20px;
}
#machines li.machine:hover img {
	filter: none;
}

#machines a {
	margin: calc(2*var(--margin)) auto;
	width: fit-content;
	padding: var(--margin);
	border-radius: 40px;
	display: flex;
	text-decoration: none;
	color: var(--color-green);
	font-weight: bold;
	transition: all 0.4s ease;
	background-color: var(--color-beige-fonce);
	filter: drop-shadow(1px 9px 5px rgb(0 0 0 / 40%));
	text-transform: uppercase;
}
#machines a:hover {
	color: var(--color-beige-fonce);
	background-color: var(--color-green);
	filter: drop-shadow(1px 3px 4px rgb(0 0 0 / 60%));
	transform: translateY(3px);
}
#machine-sur-mesure::before {
	content: '';
	background-color: var(--color-green);
	/* aspect-ratio: 5 / 1; */
	position: absolute;
	clip-path: polygon(0 0, 100% 0, 0 100%, 0 0);
	top: -1px;
	left: 0;
	width: calc(4*var(--margin));
	height: calc(4*var(--margin));
}
#machines img {
	filter: sepia(1);
}
.right-bottom {
	display: none;
}
/*
.right-bottom {
position: absolute;
    bottom: -22px;
    right: 0;
    z-index: -1;
    width: 39%;
    overflow: hidden;

    max-height: 100%;
}
.right-bottom::before {
	content: '';
	clip-path: polygon(0 0, 100% 0, 0 100%, 0 0);
	background-color: #D5C190;
	position: absolute;
	top: -1px;
	left: -1px;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.right-bottom img {
	width: 100%;
}*/
#services {
	/*background-image: url(../wp-content/themes/mecabo/illustration/pin.jpg);*/
	background-color: #FFF !important;
	padding: calc(4*var(--margin)) 0 !important;
	color: #000;
}
#services .wrap {
	text-align: center;
}
#services .wrap p {
	text-align: justify;
}
#services figure {
	max-width: 200px;
	margin: 0 auto;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-green);
	border-radius: 50%;
	overflow: hidden;
}
#services figure img {
	border-radius: 0 !important;
}
#services h3 {
	color: var(--color-beige-fonce);
}
/* ###################################################
######################################################
					PAGE PRODUIT 
######################################################
################################################### */

#produit {
	background-color: var(--color-beige-clair);
}
#produit.angle-haut-gauche::before {
	background-color: var(--color-green);
}
.produit {
	/*background: transparent linear-gradient(180deg, var(--color-beige) 32%, #123332 100%) 0% 0% no-repeat padding-box; */
	opacity: 1;
	padding: calc(2 * var(--margin));
}
.produit::before {
	/*width: 60vw;
    height: 60vw;
    content: '';
    clip-path: polygon(100% 0, 100% 60%, 60% 100%, 0 100%, 100% 0);
    position: absolute;
    background-color: var(--color-beige-fonce);
    right: 0;
	bottom: 0;
	aspect-ratio: 1/1;*/
}
.produit::after {
	width: calc(calc(100vw - var(--wrap)) / 2);
	height: calc(calc(100vw - var(--wrap)) / 2);
	content: '';
	clip-path: polygon(100% 0, 100% 100%, 0% 100%, 100% 0);
	position: absolute;
	background-color: var(--color-green);
	right: 0;
	bottom: -1px;
	aspect-ratio: 1/1;
}
.produit > * {
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
}
.machine-detail h3 {
	color: var(--color-green);
}
.produit > .wrap > figure {
	margin-top: -200px;
	border: solid var(--color-beige-fonce);
}
.produit .detail, .descriptif > div figure:last-of-type {
	border-left: 4px solid var(--color-beige-fonce);
	margin-left: calc(2 * var(--margin));
	padding-left: var(--margin);
}
.taxonomy ul {
	padding: 0;
}
.taxonomy ul li {
	border-left: 4px solid var(--color-beige-fonce);	
	list-style: none;
		margin-left: var(--margin);
	padding-left: var(--margin);
}
.plus_d_info a {
	margin: calc(var(--margin)*2) auto;
    padding: var(--margin);
    padding-left: 80px;
    background-size: 75px;
    background-position: 2px -2px;
    background-repeat: no-repeat;
    color: var(--color-green);
    background-color: var(--color-beige-fonce);
    border: thin solid var(--color-beige-fonce);
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 50px;
    padding-right: calc(2*var(--margin));
    height: 50px;
    text-transform: uppercase;
    transition: all 0.6s ease-out;
    filter: drop-shadow(1px 14px 5px rgb(0 0 0 / 40%));
	width: 250px;
}

.plus_d_info a:hover {
	color: var(--color-beige-fonce);
	background-color: var(--color-green);
	filter: drop-shadow(1px 9px 3px rgb(0 0 0 / 40%));
	transform: translateY(5px);
}
.plus_d_info a:hover::after {
	background-color: transparent;
}
/*background-color: var(--color-beige);*/
.plus_d_info a::after {
	display: block;
	width: 60px;
    height: 60px;
	position: absolute;
	left: 4px;
	/*background-color: var(--color-beige);*/
	border-radius: 50%;
	border: thin solid var(--color-beige-fonce);
	transition: all 0.6s ease-out;
	background-color: var(--color-beige-clair);
}
.produit .pdf::after {
	content: url('../../files/2022/07/picto-acrobat.svg');
}
.produit .devis::after {
	content: url('../../files/2022/07/picto-calculette.svg');
}
.plus_d_info {
    margin: calc(4*var(--margin)) auto;
    display: flex;
    flex-direction: column;
    gap: var(--margin);
}

.photo-produit img {
	max-width: 100%;
	height: 100%;
	aspect-ratio: initial;
}
.machines-autres {
	background-color: var(--color-green);
	color: var(--color-beige) !important;
	padding: calc(4*var(--margin)) var(--margin);
}
.machines-autres h2 {
	padding-top: 40px;
	margin-top: 0 !important;
	color: inherit !important;
}
.machines-autres a {
	color: inherit;
	text-decoration: none;
}
.machines-autres ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	justify-content: space-between;
	width: 100%;
	padding: 0;
}
.machines-autres #machines li.machine {
	filter: drop-shadow(1px 9px 8px rgb(0 0 0 / 40%));
	cursor: pointer;
}
.machines-autres #machines li.machine:hover {
	background-color: var(--color-green-light);
	border: 1px solid var(--color-dark);
	transform: translateY(3px);
	filter: drop-shadow(1px 3px 4px rgb(0 0 0 / 40%));
}
figure.wp-block-gallery.has-nested-images {
    align-items: normal;
    padding: calc(var(--margin)/4);
    border: var(--margin) solid var(--color-green);
    gap: calc(var(--margin)/4);
	display: flex;
    /* grid-template-columns: 1fr 1fr; */
    flex-wrap: wrap;	
}
.photo-produit {
	grid-area: img;
	padding: calc(var(--margin)/4);
	border: var(--margin) solid var(--color-green);
	max-width: 100%;
	height: auto;
}
@media only screen and (min-width: 768px) {
	.plus_d_info {
		display: grid;
		width: fit-content;
		grid-template-columns: 1fr 1fr;
	}
	.plus_d_info a {
		padding-left: 100px;
		max-width: 290px;
		border-radius: 50px;
		height: 92px;
		float: left;
		margin-left: var(--margin);
		display: flex;
		width: 100%;
	}
	.plus_d_info a::after {
		width: 80px;
		height: 80px;
	}
	.machine-detail {
		display: grid;
		grid-template-areas: "video video"
"text img"
"text galerie"
"taxonomy galerie";
		grid-template-columns: 2fr 1fr;
		gap: var(--margin);
	}
	.descriptif {
		grid-area: text;
	}
	.wp-block-video {
		grid-area: video;
		aspect-ratio: 16 / 9;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		border: var(--margin) solid var(--color-green);
		margin: 0;
	}

	.descriptif > div .texte-produit + figure + h3 {
		grid-area: performance;
	}
	.galerie {
		grid-area: galerie;
	    margin: 0;
	}
	.taxonomy {
		grid-area: taxonomy;
		margin: 0;
		z-index: 10;
	}
	.taxonomy ul {
		column-count: 2;
	}
	.machines-autres ul {
		flex-direction: row;
	}
}
.machines-autres ul li {
	display: flex;
	flex-direction: column;
	text-align: center;
	flex: 1;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--margin)
}
.machines-autres img {
	filter: sepia(1);
	transition: all 0.6s ease;
}
.machines-autres a:hover img {
	filter: sepia(0);
}
#services.angle-haut-gauche::before {
	background-color: var(--color-green);
}
/* ###################################################
######################################################
					ENTREPRISE 
######################################################
################################################### */
#histoire-header {
	background-image: url(../../wp-content/files/2022/07/white_pine.jpg);
	padding: calc(var(--margin)*2) 0;
}
#histoire-header .wrap > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#histoire-header img {
	filter: sepia();
	box-shadow: 1px 1px 2px rgb(0 0 0 / 40%);
}
#histoire-header .wp-container-3 .wp-block-column figure {
	/*opacity: 0;
	transform: rotate(-65deg) translate(-50%, -50%);
    transition: all 0.4s ease;	*/
	transform: rotate(-2deg) translate(0, 0);
}

#histoire-header .wp-container-6 .wp-block-column figure {
	/*transform: rotate(44deg) translate(70%, -60%);
	z-index: 2;	
	opacity: 0;
	transition: all 0.4s ease;	
	transition-delay: 1.6s;*/
	transform: rotate(1deg) translate(0, 0);
	max-width: 90%;
}

.wp-container-4.wp-block-column {
	background-color: var(--color-beige-clair);
	aspect-ratio: 21 / 29.7;
	padding: 30px;
	max-width: 430px;
	margin-top: -49px;
	margin-left: -22px;
	box-shadow: 0.6px 0.5px 1px rgb(0 0 0 / 40%);
	/* transform: rotate(-5deg) translate(-100%, -10%);
	opacity: 0;
	transition: all 0.4s ease;
	transition-delay: 0.9s;
	*/
	transform: rotate(-2deg) translate(0, 20px);
	opacity: 1;
}

/*
#histoire-header::before {
content: '';
    background-color: var(--color-beige-fonce);
    width: 100%;
    height: 90%;
    display: block;
    position: absolute;
    clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
    left: calc(var(--margin)*2);
	z-index: 1;
	top: 110px;
	left: 0;
}*/
@media only screen and (min-width: 768px) {
	#histoire-header::before {
		/*width: 60%;
		height: 65%;
		left: 20%;
		top: auto;
		bottom: -3%;*/
		background-color: var(--color-green);
	}
	.wp-container-4.wp-block-column.appeared {
		transform: rotate(-5deg) translate(0, 20px);
		opacity: 1;
	}
}
#histoire-header > div {
	z-index: 2;
}
#histoire-header h2 {
	text-align: left;
	max-width: 270px;
	background-color: var(--color-beige-fonce);
	padding: 30px;
	display: block;
	filter: drop-shadow(1px 30px 8px rgb(0 0 0 / 30%));
	z-index: 2;
	/*transform: rotate(4deg) scale(2);
	opacity: 0;
	transition: all 0.2s ease;
	transition-delay: 1s;*/
}
#histoire-header .appeared h2 {
	transform: rotate(2deg) scale(1);
	opacity: 1;
}
#histoire-header h2::after {
	display: none;
}
#machines-speciales, #timeline {
	background-color: #FFF;
	margin: 0 !important;
	padding: calc(4*var(--margin)) var(--margin) calc(16*var(--margin));
}
#machines-speciales h2 {
	max-width: 600px;
	padding-top: 80px;
}
#machines-speciales h3 {
	padding: 20px;
	background-color: #FFF;
	width: fit-content;
	margin: 40px auto;
}
@media only screen and (min-width: 768px) {
	#machines-speciales h3::before, #machines-speciales h3::after {
		position: absolute;
		content: '';
		top: 50%;
		width: 80px;
		height: 2px;
		background-color: var(--color-beige-fonce);
		left: -80px;
	}
	#machines-speciales h3::after {
		left: auto;
		right: -80px;
	}
}
/* ###################################################
######################################################
					PAGE CONTACT 
######################################################
################################################### */
.contact-all {
	width: 100vw;
	background: rgba(243, 225, 205, 0.15);
}
.contact-all > div {
	max-width: var(--wrap);
	margin: 0 auto;
}
#contact h2 {
	color: var(--color-beige);
}
#contact h3 {
	color: var(--color-beige-fonce);
	text-align: center;
}
#contact iframe {
	width: 100vw;
	filter: sepia(1) hue-rotate(-27deg);
	margin-top: -50px;
}
/*
.contact-all::before {
    content: '';
    height: 80%;
    width: 100vw;
	top: 50%;
	left: 50%;
    background: rgba(243,225,205, 0.15);
    position: absolute;
	border-bottom: 20px solid var(--color-beige-fonce) !important;
    transform: translate(-50%, -50%);
}
*/
.contact-detail {
	background: var(--color-beige-fonce);
	padding: 20px;
}
@media only screen and (min-width: 768px) {
	.contact-all > div {
		display: grid;
		grid-template-columns: 2fr 1fr;
		z-index: 1;
	}
	.contact-all > div > div {
		display: flex;
		align-items: center;
	}
	.contact-detail {
		min-height: 120%;
		margin-top: -20%;
		filter: drop-shadow(1px 14px 5px rgb(0 0 0 / 40%));
	}
}
.contact-detail > div {
	display: flex;
	flex-direction: column;
	margin-bottom: var(--margin);
}
.contact-detail > div > * {
	min-height: 120px;
	flex: 1;
}
.adresse, .horaires, .mail, .telephone {
	padding-left: 100px;
	background-position: 0 0;
	background-size: 80px;
	background-repeat: no-repeat;
}
.adresse {
	background-image: url('../../files/2022/07/picto-localisation.svg');
}
.horaires {
	background-image: url('../../files/2022/07/picto-horaires.svg');
}
.mail {
	background-image: url('../../files/2022/07/picto-mail.svg');
}
.telephone {
	background-image: url('../../files/2022/07/picto-telephone.svg');
}
.contact-detail + div > div {
	margin-top: 100px;
}
.wp-block-contact-form-7-contact-form-selector {
	display: flex;
	align-items: center;
	padding: 0 calc(var(--margin) * 4) !important;
}
/* ################
##### FOOTER ######
################ */
footer#colophon > .widget-zone > div {
	flex: 1;
	color: var(--color-beige);
}
@media only screen and (min-width: 1024px) {
	footer#colophon > .widget-zone > div {
		max-width: calc(calc(var(--wrap)/2) - var(--margin));
	}
}
footer#colophon > .widget-zone > div + div {
	max-width: none;
}
#footer-services {
	padding: calc(10 * var(--margin)) 0;
	text-align: center;
}
#sidebar-pagebottom {
	background-color: #294645;
	color: #FFF;
	margin-bottom: 0;
	display: flex;
}
#sidebar-pagebottom > aside {
	flex: 1;
}
.after-footer {
	max-width: none;
	background-color: #000000;
}
footer iframe {
	max-width: 100%;
	filter: sepia(1) hue-rotate(-27deg);
}
@media only screen and (min-width: 768px) {
	footer#colophon > .widget-zone {
		/*display: grid; */
		/* grid-template-columns: 1fr 1fr; */
		/* grid-gap: var(--margin); */
		display: flex;
		/*padding-left: calc(calc(100vw - var(--wrap))/2);*/
		max-width: var(--wrap);
		margin: 0 auto;
	}
	footer iframe {
		width: 50vw;
	}
}
/*

.telephone, .mail, .adresse {
	padding-left: 30px;
	position: relative;
}
.mail a {
	color: inherit;
}
.telephone::before, .mail::before, .adresse::before {
	content: url(https://acabox.fr/files/2022/03/telephone.svg);
	height: 20px;
	width: 20px;
	position: absolute;
	left: 0;
}
.mail::before {
		content: url(https://acabox.fr/files/2022/03/mail.svg);
}
.adresse::before {
	content: url(https://acabox.fr/files/2022/03/adresse.svg);
}
*/
#site-credits {
    width: 100%;
    text-align: center;
    margin: calc(2 * var(--margin)) auto;
    padding: calc(2 * var(--margin));
    border-top: thin solid  var(--color-green-light);
}
#site-credits img {
	max-width: 70px;
}
#page > footer, #content > footer {
	background-color: var(--color-dark);
	padding: var(--margin);
}
footer h2 {
	color: var(--color-beige);
}
aside .container {
	width: 100%;
	margin: 0;
	padding: 0
}
footer nav ul {
    display: flex;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
    gap: var(--margin);
	border-top: 4px solid var(--color-beige-fonce);
    border-bottom: 4px solid var(--color-beige-fonce);
    padding: var(--margin) 0;
    margin-bottom: var(--margin);
}
.menu-main-menu-container li {
	text-align: center
}
.sidebar-pagebottom .container ul {
	gap: 0
}
.sidebar-pagebottom .container ul li {
	height: 100%
}
#secondary ul li, footer#colophon.site-footer ul li {
	position: relative
}
.footer-nav-menu a:focus:not(.btn), .footer-nav-menu a:hover:not(.btn), .sidebar-footer a:focus:not(.btn), .sidebar-footer a:hover:not(.btn) {
	color: var(--color-highlite)
}
.after-footer {
	display: block;
	background: var(--color-dark-logo);
	color: white;
	font-size: 16px;
	text-align: center;
}
.after-footer .container {
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: none;
	display: block;
	padding: calc(var(--margin)/2);
}
.sidebar-pagebottom {
	max-width: var(--wrap);
	margin: var(--margin) auto
}
.sidebar-footer aside.widget, .sidebar-pagebottom aside {
	flex: 1;
	padding: var(--margin)
}
.sidebar-pagebottom .container ul {
	gap: 0
}
.site-credits {
	clear: both
}
#secondary ul li, footer#colophon.site-footer ul li {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
	border: 4px solid var(--color-beige-fonce);
}
#footer-navigation ul.dividers > li:nth-child(n+2):before {
	content: "";
	display: inline-block;
	height: 0;
	margin-right: 0;
	border-left: none
}
footer nav li a {
	padding: calc(var(--margin)/ 2) var(--margin);
	color: var(--color-beige-fonce);
	width: 100%;
}
footer nav li a::after {
    content: '';
    /* transform: translateX(50%); */
    height: 4px;
    background-color: var(--color-beige-fonce);
    width: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
	transition: all 0.3s ease;
}


aside > .container > p {
	display: none
}
input, textarea {
	background-color: var(--color-green);
	border-color: transparent !important;
	transition: all .3s ease;
	width: 100%;
	padding: calc(var(--margin)/ 4);
	font-family: inherit;
	color: var(--color-beige-clair);
}
div[pseudo=placeholder], input::placeholder, textarea::placeholder {
	color: var(--color-beige-fonce);
}
input:focus, input[type=submit], textarea:focus {
	color: var(--color-beige) !important;
	transition: all .3s ease;
	border-color: var(--color-beige-fonce) !important
}
input[type=submit] {
	width: 30%;
	margin: auto;
	padding: var(--margin) calc(2*var(--margin));
	border-radius: 20px;
	filter: drop-shadow(1px 14px 5px rgb(0 0 0 / 40%));
	cursor: pointer;
	transition: all 0.4s ease;
}
input[type=submit]:hover {
	filter: drop-shadow(1px 7px 5px rgb(0 0 0 / 40%));
	transform: translateY(5px);
}
form > p span[data-name="your-message"] {
	grid-column-start: 1;
	grid-column-end: end
}
@media (min-width:992px) {
	.sidebar-pagebottom {
		display: flex;
		flex-direction: row
	}
	.sidebar-pagebottom > div {
		flex: 1
	}
}
form > p {
	display: grid;
	grid-gap: var(--margin);
	grid-template-columns: auto;
}
form > p span.your-message, form > p input {
	grid-column-start: 1;
	grid-column-end: end
}
/* PAGE NOS MACHINES */
.nos_machines {
	background-color: rgba(243, 225, 205, 0.15);
	padding: calc(2 * var(--margin)) var(--margin) !important;
	color: var(--color-beige-clair);
}
.nos_machines.angle-haut-gauche::before {
	background-color: var(--color-green);
}
.nos_machines .header {
	margin-bottom: calc(4*var(--margin));
}
.nos_machines h2 {
	color: var(--color-beige);
}
.nos_machines .liste_machine ul {
	color: var(--color-beige);
	margin-top: calc(4* var(--margin));
	display: grid;
	gap: calc(4*var(--margin));
	padding: 0;
}
.nos_machines .liste_machine li .category {
	display: none;
}
.nos_machines .liste_machine li {
	transition: all 0.4s ease;
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	border: 8px solid var(--color-beige-clair);
	background-color: var(--color-green);
}
.nos_machines .liste_machine li > * {
	z-index: 1;
}
.nos_machines .liste_machine li::after {
	/*
	left: 0;
	width: calc( 100% + calc( 50vw - 50% ) );*/
	content: '';
	position: absolute;
	left: calc(-1 * calc(50vw - 50%));
	top: 87%;
	width: 100vw;
	height: 50%;
	z-index: -1;
	aspect-ratio: 6 / 2;
	background-repeat: no-repeat;
	opacity: 0.2;
	background-size: cover;
	background-position: center center;
}
.nos_machines .liste_machine li:nth-child(even)::after {
	/*right: 0;
	left: auto;*/
}
.nos_machines .liste_machine li:nth-child(1)::after {
	background-image: url(../../files/2022/07/fili-vert-1.jpg);
}
.nos_machines .liste_machine li:nth-child(2)::after {
	background-image: url(../../files/2022/07/fili-vert-2.jpg);
}
.nos_machines .liste_machine li:nth-child(3)::after {
	background-image: url(../../files/2022/07/fili-vert-3.jpg);
}
.nos_machines .liste_machine li:nth-child(4)::after {
	background-image: url(../../files/2022/07/fili-vert-4.jpg);
}
.nos_machines .liste_machine li figure {
	margin: 0;
	padding: var(--margin) 0 var(--margin) var(--margin);
	float: left;
	/*width: 120px;
	height: 120px;*/
	flex: 1;
	overflow: hidden;
}
.nos_machines .liste_machine li:nth-child(even) figure {
	padding: var(--margin) var(--margin) var(--margin) 0;
}
.nos_machines .liste_machine li figure img {
	filter: sepia(1);
	transform: scale(1);
	transition: all 0.4s ease;
}
/*
@media only screen and (min-width: 768px) {
	.nos_machines .liste_machine li figure {
		margin: 0;
		padding: 0;
		float: left;
		width: 200px;
		height: 200px;
	}
}*/
li.machine .wp-block-group {
	height: 100%;
	display: flex;
	flex-direction: column;
	flex: 0;
	padding: var(--margin);
}
li.machine span.wp-block-post-excerpt {
	padding: calc(var(--margin)/2);
	align-items: center;
	justify-content: center;
	display: flex;
}
.nos_machines .liste_machine span.wp-block-post-excerpt {
	transition: all 0.4s ease;
	color: var(--color-beige-clair);
}
.nos_machines .liste_machine li:hover {
	background-color: var(--color-green-light);
	/*filter: drop-shadow(1px 7px 5px rgb(0 0 0 / 40%));
    transform: translateY(5px);*/
}
.nos_machines .liste_machine li:hover figure {}
.nos_machines .liste_machine li:hover figure img {
	transform: scale(1.1);
	filter: sepia(0);
}
li.machine h3, li.machine p {
	margin: 0;
	padding: 0;
	display: inline;
}

.machines > div > div {
	justify-content: space-between;
	flex-direction: column;
}
.nos_machines .machines > div > div h3, .nos_machines .machines > div > div p {
	flex: 1;
}
.nos_machines figure + h3 + p + div {
	width: 100%;
	flex: 1;
	align-items: flex-end;
}
@media only screen and (min-width: 768px) {
	li.machine .wp-block-group {
		max-width: 50%;
	}
	.nos_machines .liste_machine li .category {
		display: block;
		padding: 2px;
		position: absolute;
		right: 10px;
		top: 10px;
		background-color: var(--color-green)
	}
	.nos_machines .liste_machine li {
		flex-direction: row;
	}
	.nos_machines .liste_machine li:nth-child(even) {
		flex-direction: row-reverse;
	}
	.nos_machines li.machine h3 {
	font-size: 2em;
	}
	li.machine .wp-block-group {
		flex: 1;
	}
}
@media only screen and (min-width: 1024px) {
	.nos_machines .liste_machine ul {
		/*display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--margin);*/
	}
	.nos_machines li.machine h3 {
		font-size: 3em;
		line-height: 1;
		margin-bottom: var(--margin);
	}
}
@media only screen and (min-width: 1300px) {
	.nos_machines .liste_machine {
		max-width: 1240px;
	}
}
@media only screen and (min-width: 1480px) {
	.nos_machines .liste_machine {
		max-width: 1420px;
	}
}
/* ### SECTION MACHINES SUR MESURE ### */
#machine-sur-mesure {
	padding: calc(4*var(--margin)) 0;
	background: var(--color-beige);
	border-top: calc(2*var(--margin)) solid var(--color-green);
	border-bottom: calc(2*var(--margin)) solid var(--color-green);
	position: relative;
}
#machine-sur-mesure a,
.erreur404 a {
	padding: var(--margin);
	border-radius: 40px;
	display: flex;
	width: fit-content;
	text-decoration: none;
	color: var(--color-green);
	font-weight: bold;
	transition: all 0.4s ease;
	margin: 0 auto;
	background-color: var(--color-beige-fonce);
	filter: drop-shadow(1px 9px 5px rgb(0 0 0 / 40%));
	text-transform: uppercase;
}
#machine-sur-mesure a:hover,
.erreur404 a:hover {
	background-color: var(--color-green);
	color: var(--color-beige-fonce);
	filter: drop-shadow(1px 3px 5px rgb(0 0 0 / 40%));
	transform: translateY(3px);
}
div#machine-sur-mesure::after {
	content: '';
	height: 20px;
	background-color: var(--color-beige-fonce);
	width: 100%;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0
}
@media only screen and (min-width: 900px) {
	div#machine-sur-mesure > div.wp-block-group__inner-container {
		grid-template-columns: 1fr 1fr;
	}
	div#machine-sur-mesure > div h2 {
		align-items: end;
		padding: calc(var(--margin) / 2);
		text-align: center;
		width: 100%;
		margin-top: 0 !important;
	}
	#machine-sur-mesure h2, #machine-sur-mesure > div > div > div {
		text-align: left;
		padding: 0;
	}
	div#machine-sur-mesure > div div {
		padding-left: 10px;
	}
	div#machine-sur-mesure figure {}
}
/* PAGE ERREUR 404 */
.erreur404.wrap {
    color: var(--color-beige-fonce);
    text-align: center;
    padding: 6vw;
}
.erreur404.wrap h2 {
	color: inherit;
}
/* PAGE MENTIONS LEGALES */
.mentions-legales.wrap {
    background: #FFF;
    padding: calc(2*var(--margin)) calc(2 * var(--margin));
}
/* BANNIERE DE COOKIES */
@media only screen and (min-width: 1024px) {
	.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
		min-width: 0 !important;
		width: fit-content !important;
	}
}
.cmplz-cookiebanner {
    border: 8px solid var(--color-beige-fonce) !important;
}
#cmplz-document {
    max-width: none; 
}
.mentions-legales h2,
#cmplz-document h2 {
	text-transform: uppercase; 
	display: inline-block;
}

.mentions-legales h2::after {
	left: 0;
	transform: none;
}
.mentions-legales h1 {
	text-align: center;
    margin: calc(var(--margin)*6) 0;
}
.slb_viewer_slb_default {
	max-height: 100vw;
}
#slb_viewer_wrap .slb_theme_slb_baseline {
    left: 0;
    width: 100%;
    z-index: 99999;
    text-align: center;
    line-height: 0;
    color: #000;
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
    max-height: 100vh;
    position: fixed !important;
    top: -50% !important;
}