@import url('./scripts/ol_v4.6.4/css/ol.css');

::-moz-selection {
	background-color: #e77224;
	color: #ffffff;
}
::selection {
	background-color: #e77224;
	color: #ffffff;
}
body {
	margin: 0;
	color: #222;
	font-family: 'Playfair Display', Arial;
	overflow-x: hidden;
	scroll-behavior: smooth;
	cursor: default;
	text-align: justify;
}
a {
	text-decoration: none;
	color: #222;
}
header {
	width: 100%;
	padding-bottom: 6em;
	font-family: 'Trebuchet MS', Arial, 'Sans serif';
	background-image: url('./banner.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
.accueil {
	width: 450px;
	margin: auto;
	padding-top: 1em;
	color: white;
	text-shadow: 2px 2px #333;
}
header h1 {
	font-size: 4rem;
	line-height: 5rem;
	font-weight: bolder;
	margin: 0;
}
header h1 span {
	font-size: 7rem;
}
header small {
	display: block;
	margin: 0.5rem 0;
	text-align: center;
	font-size: 2rem;
	font-weight: 400;
	line-height: 2rem;
}
header img {
	position: absolute;
	top: 10%;
	transform: translateY(-10%);
	right: 5vw;
	width: 12vw;
	height: 12vw;
	min-width: 5em;
	min-height: 5em;
}
nav {
	position: sticky;
	z-index: 5;
	top: 0;
	width: 100%;
	text-align: center;
	margin-top: -4em;
}
nav .wrap {
	display: inline-block;
	padding: 1em;
	background-color: #fff;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
nav a {
	margin: 0 1.5em;
	font-size: 2em;
	text-decoration: none;
	color: #222;
	box-sizing: border-box;
	border-bottom: 2px solid transparent;
	transition: border-bottom 0.2s;
}
nav a:hover {
	border-bottom: 2px solid #222;
	transition: border-bottom 0.2s;
}
.drop {
	position: relative;
	display: inline-block;
}
.drop_content {
	position: absolute;
	display: none;
	width: 100%;
	padding: 1rem 0.5rem;
	background-color: white;
}
.drop_content > hr {
	margin: 0.5rem 0;
	border: none;
	transition: border-bottom 0.2s;
}
.drop:hover .drop_content {
	display: block;
}
.drop_content a {
	margin: 0;
}
.top {
	z-index: 9;
	display: none;
	position: fixed;
	bottom: 2em;
	right: 1em;
	width: 2em;
	height: 2em;
}
.top a {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #222;
	border-radius: 100%;
	outline: none;
	font-size: 1.2em;
	line-height: 1.2em;
	text-align: center;
	text-decoration: none;
	color: #fff;
}
.content {
	float: left;
	width: 100%;
	margin: 2em 0;
	overflow-x: hidden;
	background-color: #fff;
}
.categorie {
	clear: both;
	width: 100%;
	height: 20em;
	text-align: center;
	background-size: cover;
	background-position: center;
}
.anchor {
	display: block;
	height: 20vh;
	margin-top: -20vh;
	visibility: hidden;
}
#saf {
	background-image: url('./fabrication.jpg');
}
#savons {
	background-image: url('./suggestion.jpg');
}
#contact {
	background-image: url('./volloreville.jpg');
}
#ouTrouver {
	background-image: url('./stand.jpg');
}
h2 {
	margin: 1rem 2rem;
	font-size: 2.4rem;
	color: #222;
	font-weight: bold;
	text-decoration: underline;
	text-align: left;
}
h3 {
	margin: 0;
	font-size: 1.6rem;
}
@keyframes annonce {
	from {
		background: #e77224;
	}
	to {
		background: #a83864;
	}
}
.annonce {
	border-radius: 4px;
	width: calc(100% - 4rem);
	max-width: 800px;
	margin: auto auto 2rem;
	padding: 1em;
	color: white;
	font-size: 1.3rem;
	animation: annonce 4s 0s infinite alternate;
}
.annonce span {
	float: left;
	padding: 0;
	margin: 0 2rem 1rem 0;
	height: 1em;
	line-height: 1.3em;
	font-size: 2em;
	font-weight: bolder;
}
.annonce p {
	float: left;
	margin: 0;
	line-height: 1.3em;
	text-align: left;
}
.annonce strong {
	font-size: 2em;
}
.annonce a {
	color: white;
	opacity: 0.7;
	transition: opacity 0.2s, text-decoration 0.2s;
}
.annonce a:hover {
	opacity: 1;
	text-decoration: underline;
	transition: opacity 0.2s, text-decoration 0.2s;
}
.annonce hr {
	margin: 0;
	visibility: hidden;
}
.romarin {
	margin: 0!important 0!important 2rem!important !important;
	padding: 1rem;
	color: white;
	border-radius: 4px;
	animation: annonce 8s 0s infinite alternate;
}
.intro {
	width: 750px;
	margin: 0 auto 2em;
	font-size: 1.2rem;
}
.fabr_wrap {
	position: relative;
	margin: 1em 2em;
	font-size: 1.2em;
	text-align: center;
}
.fabr_intro {
	max-width: 60rem;
	margin: 1em auto;
	text-align: justify;
}
.fabr_wrap h2,
.fabr_wrap h3 {
	text-align: left;
}
.fabr_desc {
	display: inline-table;
	max-width: 22em;
	padding: 1em;
}
.fabr_desc img {
	float: left;
	width: 12rem;
	border-radius: 4px;
	cursor: pointer;
}
.fabr_desc p {
	margin: 0 0 0 13rem;
	text-align: left;
}
.fabr_wrap hr {
	clear: both;
	margin: 0;
	border: 0 solid transparent;
}
.info_wrap {
	margin: auto;
	width: 65rem;
	text-align: center;
}
.info_box {
	display: inline-table;
	width: calc(50% - 5rem);
	padding: 1.5rem;
	color: #efefef;
	font-size: 1.2em;
	background-color: #e77224;
	border-radius: 4px;
	text-align: justify;
}
#left {
	margin: 0 1rem 3rem auto;
}
#right {
	margin: 0 auto 3rem 1rem;
}
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	height: calc(40em + (100vh - 40em));
	background-color: rgba(0, 0, 0, 0.9);
}
.lightbox_img {
	display: block;
	position: absolute;
	width: 70vw;
	height: 70vw;
	max-width: 40rem;
	max-height: 40rem;
	min-width: 200px;
	min-height: 200px;
	left: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	cursor: pointer;
}
.lightbox span {
	position: absolute;
	top: 2em;
	right: 2em;
	color: #eee;
	cursor: pointer;
	border-bottom: 1px solid transparent;
	transition: border-bottom 0.2s;
}
.lightbox span:hover {
	border-bottom: 1px solid #eee;
	transition: border-bottom 0.2s;
}
.savon_wrap {
	position: relative;
	margin: auto;
	width: 100%;
	max-width: 79rem;
	text-align: center;
}
.savon {
	display: inline-table;
	width: 35rem;
	margin: 1rem 2rem;
	text-align: left;
	font-size: 1.2rem;
}
.savon:last-child {
	width: 80%;
	max-width: 50em;
	float: left;
}
.savon .nom {
	display: inline-block;
	min-width: 10em;
}
.savon img {
	float: left;
	height: 11rem;
	margin-right: 1em;
	border-radius: 4px;
	cursor: pointer;
}
.savon .desc {
	margin: 0 0 0 11rem;
}
.savon .compo {
	clear: both;
	padding: 0.5em 0;
	margin: 0;
}
.savon_wrap .info_box {
	float: none;
	margin: auto;
	width: calc(100% - 8rem);
	max-width: 1000px;
}
.savon_wrap .info_box p {
	margin: 0;
	font-size: 1.2rem;
}
.savon_wrap .info_box h3 {
	float: left;
	width: 22%;
	text-align: left;
}
.savon_wrap .info_box ul {
	margin: 0;
	padding: 0;
}
.savon_wrap .info_box li {
	display: block;
	float: left;
	width: calc(26% - 2em);
	margin: 0 1em;
	text-align: justify;
	font-size: 1.2rem;
}
.savon_wrap .info_box hr {
	visibility: hidden;
	clear: left;
}
.savon_wrap > hr {
	width: 10rem;
	margin: 2rem auto 0;
	border: 1px solid #222;
}
.lessive {
	margin-bottom: 2em !important;
}
.lessive h3 {
	margin-bottom: 1em;
}
.cesar {
	width: auto;
	max-width: 40em;
}
.recette {
	margin-left: 25% !important;
}
.contact {
	float: left;
	width: 50%;
	list-style: none;
	margin-bottom: 2rem;
}
.contact h2 {
	clear: both;
}
.contact .adresse_wrap {
	display: block;
}
.contact p,
.trouver_wrap a {
	display: inline-block;
	font-size: 1.2em;
	margin-left: 2em;
}
.contact p span {
	font-family: 'Playfair Display';
}
#map {
	position: relative;
	width: calc(100% - 4em);
	max-width: 900px;
	height: 350px;
	margin-left: 2em;
	background-image: url('./images/map.jpg');
	background-position: 50%;
	background-size: cover;
}
#map p {
	width: 100%;
	height: calc(100% - 160px);
	margin: 0;
	padding-top: 160px;
	font-size: 1.5rem;
	font-family: 'Trebuchet MS', Arial, 'Sans serif';
	color: #eee;
	text-align: center;
	text-shadow: 2px 2px #222;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.2s;
}
#map p:hover {
	background-color: rgba(0, 0, 0, 0.8);
	transition: background-color 0.2s;
}
.ol-viewport {
	position: absolute !important;
	top: 0 !important;
}
#map:-webkit-full-screen {
	height: 100%;
	max-width: 100%;
}
#map:fullscreen {
	height: 100%;
	max-width: 100%;
}
.ol-rotate {
	top: 3em;
}
.trouver_wrap {
	margin: 1em 0 0 2rem;
	clear: both;
}
.trouver_wrap small {
	color: #777;
	font-size: 0.9em;
}
.contact .trouver_wrap p,
.trouver_wrap a {
	display: block;
	color: #222;
	margin: 0;
	transition: color 0.2s;
}
.alamaison,
.trouver_wrap .trouver_choix {
	display: inline-table;
	width: calc(50% - 2em);
	min-width: 370px;
	margin: 0.5em 0 0 1em;
}
.trouver_choix .warning {
	color: #e77224;
}
.alamaison {
	width: calc(100% - 2em);
}
#addr:hover,
.adresse_wrap a:hover,
.trouver_wrap a:hover,
.trouver_wrap a:hover + small {
	color: #e77224;
	transition: color 0.2s;
}
.adresse_wrap img {
	width: 1.5rem;
	margin-right: 0.5rem;
}
#addr {
	cursor: pointer;
}
.events {
	overflow: hidden;
	float: left;
	width: 100%;
}
.events .table_wrap {
	margin: 2rem;
	overflow-x: auto;
}
table {
	margin: auto;
	border-collapse: collapse;
	max-width: 1200px;
	empty-cells: hide;
}
thead td:first-child {
	border-top-left-radius: 4px;
}
thead td:last-child {
	border-top-right-radius: 4px;
}
thead td {
	text-align: center;
	font-size: 1.6rem;
	font-weight: bold;
	color: white;
	background-color: #e77224;
}
td {
	min-width: 200px;
	vertical-align: top;
	padding: 1rem;
}
tbody {
	font-size: 1.2em;
	text-align: left;
}
tbody td {
	box-sizing: border-box;
	border: 1px solid #ddd;
}
table small {
	color: #777;
}
#amis {
	clear: both;
}
#amis .site_wrap {
	max-width: 72rem;
	margin: 2em auto;
	text-align: center;
}
#amis a {
	display: inline-table;
	width: 20rem;
	margin: 1rem;
	padding: 1rem;
	font-size: 1.5em;
	box-sizing: border-box;
	border: 4px solid #222;
	transition: color 0.2s, border 0.2s;
}
#amis a:hover {
	color: #e77224;
	border: 4px solid #e77224;
	transition: color 0.2s, border 0.2s;
}
#faq {
	clear: both;
}
.question {
	width: 70%;
	margin: 1.5rem auto;
	transition: color 0.2s;
}
.question h3 {
	cursor: pointer;
	transition: color 0.2s;
}
.question h3:hover {
	color: #e77224;
	transition: color 0.2s;
}
.question p {
	display: block;
	height: auto;
	overflow: hidden;
	margin: 0 0 0 2rem;
	font-size: 1.2rem;
}
footer {
	position: relative;
	font-family: 'Trebuchet MS', Arial, 'Sans serif';
	clear: both;
	width: 100%;
	padding: 2em 0;
	background-color: #222;
	color: #aaa;
	overflow-y: hidden;
}
footer a {
	color: #aaa;
	text-decoration: none;
}
footer a:hover {
	color: white;
}
footer .foot_wrap {
	max-width: 1050px;
	margin: auto;
}
.createur,
.index,
.langue,
footer .logo {
	display: inline-table;
	float: left;
	width: 25%;
}
footer h2 {
	margin: 1rem 0;
	color: white;
	font-size: 1.2em;
	text-decoration: none;
}
.logo div {
	display: table;
	margin: auto;
	color: white;
}
.logo span {
	font-size: 1.5em;
}
.logo small {
	color: #aaa;
}
.createur {
	text-align: left;
	width: calc(25% - 1em);
	padding-right: 1em;
}
.index a {
	display: block;
	line-height: 1.6em;
}
.langue select {
	width: 50%;
	min-width: 90px;
	padding: 0.5em 0;
	color: #222;
}
@media all and (max-width: 1050px) {
	.content {
		margin-top: 0;
		padding-top: 2em;
	}
	nav .wrap {
		max-width: calc(100% - 2em);
	}
	.intro,
	.savon {
		width: 500px;
	}
	.savon:last-child p {
		margin: 0;
	}
	.fabr_text {
		width: 100%;
		float: none;
	}
	.fabr_desc {
		float: none;
		display: table;
		margin: auto;
		max-width: 35rem;
	}
	.info_wrap {
		width: calc(100% - 2em);
		max-width: 40rem;
	}
	.info_box {
		width: calc(100% - 3rem);
	}
	#left,
	#right {
		margin: 0 0 3rem;
	}
	.savon_wrap .info_box h3 {
		text-align: center;
	}
	.savon_wrap .info_box li {
		margin-top: 1rem;
	}
	.savon_wrap .info_box h3,
	.savon_wrap .info_box li {
		float: none;
		width: auto;
	}
	.recette {
		margin-left: 0 !important;
	}
	.contact {
		width: 100%;
	}
	#amis .site {
		float: none;
		margin: 1em auto;
	}
}
@media all and (max-width: 500px) {
	.alamaison,
	.contact #map,
	.fabr_wrap,
	.intro,
	.savon_wrap,
	.savon_wrap .info_box,
	.trouver_choix {
		width: calc(100% - 2em);
	}
	.accueil,
	.createur,
	.savon,
	.savon:last-child,
	.trouver_wrap,
	footer .logo,
	header {
		width: 100%;
	}
	.contact p,
	.fabr_desc p,
	.fabr_wrap,
	.intro,
	.question p,
	.savon .desc,
	.trouver_wrap a,
	.trouver_wrap p,
	.trouver_wrap small {
		margin: 0;
	}
	body {
		text-justify: inter-word;
	}
	header h1 span {
		font-size: 4rem;
	}
	header h1 {
		font-size: 3rem;
		line-height: 3rem;
		padding: 0 1rem;
	}
	header small {
		font-size: 1.5rem;
		text-align: left;
	}
	nav {
		position: relative;
	}
	h2 {
		margin: 1rem;
		font-size: 2rem;
	}
	.top {
		display: block;
	}
	.categorie {
		height: 10em;
		margin-top: 2rem;
	}
	.fabr_wrap,
	.intro {
		border: none;
		padding: 1em;
	}
	.fabr_desc {
		width: auto;
		padding: 1em 0;
	}
	.fabr_desc p {
		clear: both;
		text-align: justify;
		padding: 1rem 0;
	}
	.savon_wrap {
		margin: 0 1em;
	}
	.savon {
		text-align: justify;
		margin: 1em 0;
	}
	.savon img {
		float: none;
	}
	.savon .nom {
		display: block;
	}
	.savon .desc {
		float: left;
		padding: 0;
	}
	.romarin {
		border-radius: 0;
		margin: 2rem -1rem!important !important;
	}
	.conseil {
		padding: 1rem;
	}
	.conseil li {
		margin: 1rem 0!important !important;
	}
	hr {
		margin: 0 auto;
	}
	.contact #map {
		margin: 1em auto;
	}
	.alamaison,
	.trouver_choix {
		margin-top: 0.5rem !important;
		margin-left: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
	}
	.trouver_wrap {
		width: calc(100% - 2rem);
		margin: 1rem;
		text-align: left;
	}
	.adresse_wrap {
		margin: 2rem 1rem;
	}
	.adresse {
		display: block !important;
		text-align: center;
		padding-bottom: 1em;
	}
	.events .table_wrap {
		margin: 1rem;
	}
	#amis a,
	.question {
		width: calc(100% - 2rem);
	}
	.question {
		text-align: left;
	}
	footer .foot_wrap {
		margin: 0 2rem;
	}
	footer .createur {
		text-align: center;
	}
	footer .index {
		width: 50%;
		text-align: left;
	}
	footer .langue {
		width: 50%;
		text-align: left;
	}
}
