/**
 * Copyright © Raphaël Castello, 2023
 * Company : SNS - Web et informatique
 * Web / contact :  www.sns.pm
 * Script name : api.css
 */
/* Document root VARS */
:root {
	--text-black: #232323;
	--text-white: #f5f5f5;
	--text-dark-gray: #6a6a6a;
	--text-warning: #ff2f00;
	--text-success: #008000;
	--bkg_html: #fffdfa;
	--bkg_header: rgb(38 38 38 / 56%);
	--bkg_header_fixed: rgb(0 79 117);
	--bkg_footer: #3e3636;
	--bkg_black: #424242;
	--bkg_menu: #424242;
	--bkg_section: #2196f3;
	--bkg_dark_gray: #454545;
	--bkg_gray: #777;
	--bkg_body: #fffdfa;
	--black: #070707;
	--white: #ffffff;
	--table_radius: 8px;
	--font-serif: 'Times New Roman', serif;
	--font-text: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-system: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--big_header_img: url(../IMGS/header.webp);
	--big_header_img_800: url(../IMGS/header-800.webp);
	--big_header_img_400: url(../IMGS/header-400.webp);
}
* {
	box-sizing: border-box;
}
/* user select */
* {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
input, select, textarea {
	-moz-user-select: text;
	-webkit-user-select: text;
	-ms-user-select: text;
	-o-user-select: text;
	user-select: text;
}
/* draggable */
img, a {
	-webkit-user-drag: none;
}
[hidden], .hidden {
	display: none !important;
}
/*  API GEN CSS  */
html {
	background-color: var(--bkg_html);
	scroll-behavior: initial;
}
html, body {
	min-height: 100vh;
	height: auto;
	width: 100%;
	font-size: 16px;
	margin: 0;
	padding: 0;
	font-family: var(--font-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body {
	z-index: 1;
	padding: 0;
	position: relative;
	background: var(--bkg_body);
	line-height: 1.5;
}
/* SCROLL BAR */
/* Firefox */
* {
	/* auto / thin / none */
	scrollbar-width: auto;
	/* first thumb after track */
	scrollbar-color: var(--bkg_footer) var(--bkg_gray);
}
/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
	height: 10px;
	width: 10px;
}
*::-webkit-scrollbar-track {
	border-radius: 0px;
	background-color: var(--bkg_gray);
}
*::-webkit-scrollbar-track:hover {
	background-color: var(--bkg_gray);
}
*::-webkit-scrollbar-track:active {
	background-color: var(--bkg_gray);
}
*::-webkit-scrollbar-thumb {
	/* border-radius: 4px; */
	background-color: var(--bkg_footer);
}
*::-webkit-scrollbar-thumb:hover {
	background-color: var(--bkg_header_fixed);
}
*::-webkit-scrollbar-thumb:active {
	background-color: var(--bkg_header_fixed);
}
/* end SCROLL BAR */
/*  resets API  */
.fw300 {
	font-weight: 300;
}
.fw400 {
	font-weight: 400;
}
.fw500 {
	font-weight: 500;
}
.small {
	font-size: 1.1rem;
}
.inline-block {
	display: inline-block;
}
/* souligne les choses */
.underline {
	text-decoration: underline;
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
}
/* curseur de la souris comme un pointeur */
.pointer {
	cursor: pointer;
}
.center {
	text-align: center !important;
}
.left {
	text-align: left !important;
}
.mrg0 {
	margin: 0 !important;
}
.padding_large {
	padding: 4% 10% 4%;
}
.no_wrap {
	white-space: nowrap;
}
ul {
	margin: 0 auto;
	padding: 0;
}
li {
	list-style-type: none;
}
a:hover {
	text-decoration: none;
}
button {
	cursor: pointer;
}
/* END  resets API  */
/* 404 */
h1.home_title.page_not_found {
	color: var(--text-black);
	visibility: visible;
}
/* HEADER */
#big_header {
	background-image: var(--big_header_img);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	min-height: clamp(220px, 40vw, 42vw);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
}
header {
	position: unset;
	top: -25vh;
	transition: top 0.8s linear;
	display: flex;
	padding: 8px 10px;
	z-index: 50;
	width: 100%;
	max-width: 100%;
	background: var(--bkg_header);
	font-family: var(--font-serif), serif;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	flex-wrap: nowrap;
}
header h1 {
	color: var(--white);
	font-size: 1.8rem;
	font-weight: 500;
	margin: -0.3rem 0 0 0.2rem;
	font-family: var(--font-serif);
}
header img {
	width: 60px;
}
header nav {
	margin: 0 auto;
}
@media all and (max-width: 1100px) {
	header nav {
		display: none;
	}
}
header nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}
header nav ul li {
	margin: 0 2vw 0 0;
}
header nav ul li:last-child {
	margin: 0;
}
header nav ul li a {
	text-decoration-line: none;
	text-decoration-style: solid;
	text-decoration-color: transparent;
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
	font-size: 1.1rem;
	letter-spacing: 0.08rem;
	font-weight: 500;
	color: var(--white);
	text-transform: uppercase;
	font-family: var(--font-serif);
	line-height: 0;
	text-shadow: 0 0 0.01px;
}
header nav ul li a:hover {
	line-height: 0;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-color: var(--white);
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
}
/* link targetted */
.force_underline {
	text-decoration-line: underline;
}
/* end HEADER */
/* HOME PAGE  */
h1.home_title {
	margin: 10vh 0 0 !important;
	font-size: clamp(2.5em, 8vw, 100px) !important;
	color: var(--white) !important;
	font-weight: 500 !important;
	font-family: var(--font-serif);
	text-shadow: 0px 1px 6px black;
}
#big_header quote {
	display: block;
	margin: 5vh auto 0;
	padding: 0.1em 0.5em 0.2em;
	text-align: center;
	font-size: clamp(1.5em, 2.2vw, 36px);
	color: var(--white);
	font-family: var(--font-serif);
	font-weight: 500;
	text-shadow: 0px 0px 4px black;
	background: var(--bkg_header);
}
/* end HOME PAGE  */
h1.page_title {
	margin: 10vmax 0 0;
	font-size: clamp(2.4em, 5vw, 80px);
	color: var(--white);
	font-weight: 500;
	font-family: var(--font-serif);
	text-shadow: 0px 1px 6px black;
	text-align: center;
}
/* MAIN */
main {
	min-height: 60vh;
	margin: 0 auto 6vh;
	color: var(--text-black);
	padding: 0;
	z-index: 10;
}
.page {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	align-content: space-around;
	padding: 4vw 4vw 0;
}
.box_text_img {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	margin-bottom: 4vmax;
}
img.img_flex {
	width: clamp(calc(100vw/20), 42vw, 50vw);
}
p.text_right {
	margin: 0 0 0 2em !important;
}
p.text_left {
	margin: 0 2em 0 0 !important;
}
.page h2 {
	font-size: clamp(1.6em, 3vw, 4vw);
	color: var(--text-black);
	font-family: var(--font-serif);
	font-weight: 500;
	margin: 0 0 1.5vmax;
	align-self: flex-start;
	line-height: 1.2;
}
.page p {
	font-family: var(--font-text);
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 300;
	margin: 4vh 0 0;
	line-height: 1.4em;
}
.page a {
	color: var(--text-black);
	white-space: break-spaces;
	text-decoration: underline;
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
	text-decoration-color: var(--text-black);
}
.page a:hover {
	text-decoration: none;
}
.page li {
	font-size: clamp(1.3em, 1.4vw, 1.6em);
	margin: 2vh 0 0 0;
	font-weight: 300;
}
.page p>em {
	font-style: italic;
	font-weight: 300;
	font-size: 0.9em;
	max-width: 75%;
	margin: 0 auto;
	display: block;
}
.page b {
	font-weight: 500;
}
.page p>strong {
	font-weight: 400;
}
.legal_notices p {
	margin: 0 0 4vh;
	min-width: 100%;
}
/* end MAIN */
/* Keen Slider */
#home_slider {
	margin: 2vh 0 0;
}
.info_slider {
	display: inline-block;
	margin: 0 0 1rem;
	font-size: 1.1rem;
	color: var(--text-dark-gray);
	font-family: var(--font-text);
}
.keen-slider img {
	cursor: grab;
	border-radius: 6px;
	width: 100%;
	box-shadow: 0px 1px 5px 1px #00000035;
	margin-bottom: -5px;
}
.keen-slider__slide {
	padding: 8px;
}
/* MENU */
#menu {
	z-index: 100;
	position: fixed;
	top: 0;
	right: -120vw;
	height: 100vh;
	max-width: 100vw;
	overflow-y: auto;
	padding: 3em 5em 4em 3em;
	margin: 0;
	background: var(--bkg_header_fixed);
	font-family: var(--font-serif);
	box-shadow: 0px 0px 6px 1px rgb(0 0 0 / 50%);
	transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-webkit-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-moz-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-o-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
}
#menu.show_menu {
	right: 0;
	transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-webkit-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-moz-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
	-o-transition: right 0.5s cubic-bezier(0, 0, 0.2, 1);
}
.menu_button {
	background-color: transparent;
	border: 1px solid var(--text-white);
	color: var(--text-white);
	border-radius: 4px;
	width: 42px;
	height: 42px;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	transition-property: background-color, box-shadow;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
	-webkit-transition-property: background-color, box-shadow;
	-webkit-transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-in-out;
	-moz-transition-property: background-color, box-shadow;
	-moz-transition-duration: 0.3s;
	-moz-transition-timing-function: ease-in-out;
	-o-transition-property: background-color, box-shadow;
	-o-transition-duration: 0.3s;
	-o-transition-timing-function: ease-in-out;
}
.menu_button:hover {
	box-shadow: 0px 0px 4px 0px var(--white);
	background-color: var(--bkg_header_fixed);
}
.menu_button i {
	font-size: 32px;
	line-height: 0;
}
#menu .nav_links {
	font-size: clamp(1.6rem, 1.7vw, 1.7rem);
	font-weight: 400;
	color: var(--text-white);
	letter-spacing: 0.08rem;
	display: inline-block;
	text-decoration-line: none;
	text-decoration-style: solid;
	text-decoration-color: transparent;
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
	line-height: 0;
	text-shadow: 0 0 0.01px;
}
#menu .nav_links:hover {
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-color: var(--text-white);
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
}
ul.ul_nav li:not(ul.ul_nav li:last-child) {
	margin: 0 0 5vh;
}
/*  end MENU  */
/* inputs autofill colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0px 1000px var(--white) inset !important;
	-webkit-text-fill-color: var(--black) !important;
}
/* FORM CONTACT */
.form_contact {
	width: 100%;
	max-width: 1000px;
	margin: 4vmax auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 2em;
	grid-row-gap: 2em;
}
label {
	font-family: var(--font-text);
	font-size: clamp(1.2rem, 1.6vw, 1.85em);
	font-weight: 300;
	margin: 0 0 0.7vmax;
	display: inline-block;
}
input,
textarea {
	font-family: var(--font-text);
	background: var(--white);
	font-weight: 400;
	border: 1px solid var(--text-black);
	border-radius: 4px;
	font-size: 1.4rem;
	color: var(--text-black);
	width: 100%;
	padding: 0.6rem 1rem;
}
input:focus,
textarea:focus {
	outline: 2px solid var(--text-black);
}
.form_contact .check {
	grid-column: span 2;
}
.form_contact .check i {
	font-size: 1.2em;
}
.texta {
	grid-column-start: 1;
	grid-column-end: 3;
}
textarea {
	resize: vertical;
}
input.error_input,
textarea.error_input {
	border: 1px solid var(--text-warning);
}
.text_warning {
	color: var(--text-warning);
}
.text_success {
	color: var(--text-success);
}
.error_mail {
	display: none;
	margin: 0.5rem 0 0 0.1rem;
	font-size: 1.2rem;
}
#render_contact_info {
	display: none;
	grid-column-start: 1;
	grid-column-end: 3;
}
form button[type="submit"], .resa_summary a {
	background-color: var(--bkg_header_fixed);
	border: 1px solid var(--text-black);
	border-radius: 4px;
	font-size: 1.25rem;
	color: var(--text-white);
	padding: 0.7rem 1rem;
	display: flex;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.4s, color 0.4s;
	-webkit-transition: background-color 0.4s, color 0.4s;
	-moz-transition: background-color 0.4s, color 0.4s;
	-o-transition: background-color 0.4s, color 0.4s;
}
form button[type="submit"]:hover, .resa_summary a:hover {
	color: var(--text-black);
	background-color: transparent;
}
@keyframes spin_icon {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(360deg);
	}
}
.spinner {
	display: none;
	vertical-align: top;
	font-size: 1.2em;
	width: 26px;
	height: 25px;
}
.spinner_anim {
	animation-duration: 2s;
	animation-name: spin_icon;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.rest_info {
	font-size: 0.8rem;
}
/* FORM CONTACT */
/* MAP */
#map_container {
	width: 100%;
}
#map {
	margin: 4vh auto 0;
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}
#map iframe {
	max-width: 100%;
}
/* FOOTER  */
#related_links {
	background: var(--bkg_footer);
	padding: 1.5rem 4vw 1.5rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	row-gap: 1.5rem;
	align-items: flex-start;
	justify-content: space-between;
	border-bottom: 1px solid var(--text-dark-gray);
	align-content: flex-start;
}
.related_links_items {
	max-width: 50%;
}
.about_related {
	display: inline-block;
	margin: 0 0 0.8rem;
	font-size: 1.2rem;
}
.related_links_items p, .related_links_items a {
	font-size: 1.2rem;
	color: var(--white);
	font-weight: 300;
}
p.keywords {
	font-size: 1.1rem;
}
.related_links_items a {
	display: inline-block;
	margin: 0 0 0.8rem;
	text-decoration: underline;
	text-decoration-thickness: 0.05rem;
	text-underline-offset: 0.1rem;
}
.related_links_items a:hover {
	text-decoration: none;
}
#footer {
	background: var(--bkg_footer);
	padding: 1.2rem 2rem 1.2rem;
	margin: 0 auto;
	color: var(--text-white);
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	align-content: center;
}
#footer .copyright {
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--text-white);
	font-family: var(--font-serif);
}
/* end FOOTER  */
/* TO TOP BTN  */
#to_top {
	z-index: 15;
	left: -100px;
	bottom: 8px;
	position: fixed;
	background: var(--bkg_body);
	border: 1px solid var(--black);
	border-radius: 4px;
	color: var(--black);
	font-size: 1.5rem;
	width: 43px;
	height: 42px;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
#to_top:hover {
	background: var(--bkg_header_fixed);
	color: var(--white);
	border: 1px solid var(--white);
}
.top_arrow {
	transform: rotate(-90deg);
	color: var(--text-white);
	font-size: 2rem;
}
/* TO TOP BTN  */
/* MODAL */
.modal {
	width: 100vw;
	height: 100vh;
	background: rgb(0 0 0 / 70%);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.modal button {
	z-index: 110;
	position: absolute;
	border-radius: 4px;
	border: none;
	right: 1.3rem;
	top: 0.5rem;
	height: 2.4rem;
	line-height: 0;
	background: var(--bkg_header_fixed);
	color: var(--white);
	font-size: 1rem;
	padding: 0 0.7rem;
	box-shadow: 0px 0px 10px 0px black;
}
.modal button:hover {
	background: var(--white);
	color: var(--text-black);
}
#modal_container {
	margin: 3.5rem auto 4rem;
}
#modal_slider img {
	width: 100%;
	max-width: 1100px;
	padding: 0;
	box-shadow: none;
	border-radius: inherit;
	margin: 0 auto;
}
#modal_slider .keen-slider__slide {
	padding: 0;
	margin: 0 auto;
	display: flex;
}
img.loader_caroussel {
	max-height: inherit !important;
	width: 175px !important;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
/**
 *
 * Media queries
 *
 */
/**
 * max-width: 993px
 *
 */
@media all and (max-width: 993px) {
	#big_header {
		background-image: var(--big_header_img_800);
	}
	.box_text_img {
		margin-bottom: 2vh;
		flex-direction: column;
	}
	img.img_flex {
		width: 100%;
		order: 0;
	}
	p.text_left, p.text_right {
		order: 1;
		margin: 3vh 1vw 3vh !important;
	}
	/* Menu group */
	.menu_group {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-content: unset;
		justify-content: unset;
		align-items: unset;
		width: min-content;
	}
	form.form_contact,
	form#form_resa,
	form#form_resa div.tree_cols {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		grid-row-gap: 1em;
	}
	.form_contact .check {
		align-self: start;
	}
}
/**
 * END max-width: 993px
 */
/**
 * all and max-width: 768px
 *
 */
@media all and (max-width: 768px) {
	html, body {
		font-family: var(--font-system);
	}
	#big_header {
		background-image: var(--big_header_img_400);
		background-repeat: no-repeat;
		background-size: cover;
		min-height: clamp(160px, 40vw, 42vw);
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
	}
	header h1 {
		font-size: 1.4rem;
		margin: 0.2rem 0 0 0.2rem;
	}
	h1.page_title, h1.home_title {
		margin: 2vh 0 0;
		line-height: 1.2;
		font-size: 1.5rem;
		color: var(--white);
		font-weight: 600;
		letter-spacing: 0;
		font-family: var(--font-serif);
		text-shadow: -1px 1px 4px black;
		text-align: center;
	}
	h1.home_title {
		margin: 3vh 0 0 !important;
		font-size: 1.7rem !important;
		color: var(--white) !important;
		font-weight: 600 !important;
	}
	#big_header quote {
		display: block;
		margin: 3vh auto 0;
		padding: 0.4em 0.5em 0.5em;
		text-align: center;
		font-size: 1.1rem;
		color: var(--white);
		font-family: var(--font-serif);
		font-weight: 400;
		text-shadow: 0px 0px 4px black;
		background: var(--bkg_header);
	}
	main {
		margin: 0 auto 5vh;
	}
	#menu {
		width: 100%;
		padding: 2rem 1rem 1.5rem;
	}
	#menu .nav_links {
		line-height: inherit;
		font-size: 1.4rem;
		letter-spacing: 0;
	}
	ul.ul_nav li:not(ul.ul_nav li:last-child) {
		margin: 0 0 1.5rem;
	}
	#related_links {
		flex-direction: column;
		row-gap: 1rem;
		align-items: flex-start;
		justify-content: normal;
	}
	.related_links_items {
		max-width: inherit;
	}
	.related_links_items p, .related_links_items a {
		word-break: break-word;
	}
	#footer .copyright {
		font-size: 1.1rem;
	}
}
/**
 * END all and max-width: 768px
 */
/**
 * END Media queries
 */
