/* ### RESET ### */

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

* {
    margin: 0;
    padding: 0;
}
  
img, picture, video, canvas, svg, iframe  {
    display: block;
    max-width: 100%;
	height: auto;
}

input, button, textarea, select {
    border: solid 1px #d9d9d9;
    border-radius: 5px;
    background: #fff;
    color: #444444;
    font: inherit;
    padding: .1em .3em;
}

input {
    outline: none;
    /* padding: .3em .7em; */
}

input[type="text"], input[type="password"] {
    width: 100%;
    /* border: solid 1px #d9d9d9;
    background: #fff;
    color: #444444; */
}
select {
    outline: none;
    
    /* appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; */
}
select:focus {
  outline: none;
  border: solid 1px #d9d9d9;
  border-color: #97bed9;
  box-shadow: none; 
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
    /* line-height: 1.3em; */
    color: #4e4e4e;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

#root, #__next {
    isolation: isolate;
}

a {
  all: unset;
  display: inline;
  cursor: pointer;
  text-decoration: none;
}
a:hover {
    color: rgb(27 19 64);
}

/* ### END RESET ### */


/* ### FONTS ### */

@font-face {
    font-family: "InterThin";
    src: url("../../css/font/Inter-Thin.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "InterLight";
    src: url("../../css/font/Inter-Light.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "Hind";
    src: url("../../css/font/Hind-Regular.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "Hand";
    src: url("../../css/font/Handlee-Regular.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "TitanOne";
    src: url("../../css/font/TitanOne-Regular.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "OpenSans";
    src: url("../../css/font/OpenSans.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "Roboto";
    src: url("../../css/font/Roboto.ttf") format("truetype");
    font-display: fallback;
}

@font-face {
    font-family: "Consolas";
    src: url("../../css/font/Consolas.ttf") format("truetype");
    font-display: fallback;
}
@font-face {
    font-family: "LucidaConsole";
    src: url("../../css/font/LucidaConsole.ttf") format("truetype");
    font-display: fallback;
}



.ff_inter_thin { font-family: "InterThin";}
.ff_inter_light { font-family: "InterLight";}
.ff_hind { font-family: "Hind";}
.ff_hand { font-family: "Hand";}
.ff_titan { font-family: "TitanOne";}

/* ### END FONTS ### */

:root {
    --header_height: 70px;
    --menu_width: 170px;

    --fs_min: 1rem;
    --fs_med: 2rem;
    --fs_lrg: clamp(3rem, 12vw + 1rem, 12rem);

    --transition_time: 200ms;

    --bg_color: #1b1340ff;
    /* --bg_color: #272036ff; */
}



html, body {
    position: relative;
    height: 100%;
    line-height: 1.6;
    font-size: 62.5%;
    /* font-size: 1.1rem; */
    background-color: var( --bg_color );
	color: #cfccdb;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
    font-family: "InterLight";
    /* font-family: "Roboto", "Helvetica", "Arial", sans-serif; */
    overflow: hidden;
}

body {
    font-size: 1.6rem;
}




#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header_height);

    display: flex;
    /* flex-direction: row; */
    /* justify-content: space-between; */
    align-items: center;

    background-color: var( --bg_color );

}

#header_logo {
    margin-left: 10px;
    cursor: pointer;
    /* overflow: hidden;
    border-radius: 50%; */
}

#header_pseudo {
    font-size: 2rem;
    color: #b6e1ff;
    overflow: hidden;
    text-overflow: ellipsis;
    /* font-family: hand; */
    margin-left: .7em;
    max-width: 200px;
    cursor: pointer;
}


#header_website, #header_icons {
    font-size: 2.5rem;
    color: #dfd6ff;
}



#header_icons span {
    margin-right: .3em;
    cursor: pointer;
}

#header_icons span:hover {
    opacity: 1;
}

#header_logout {
    margin-left: auto;
    margin-right: 1em;
    font-size: 2.5rem;
    color: #ffeb00;
    cursor: pointer;
}

/* .menu_top_actif {
    opacity: 1!important;
    color: #ffeb00;
} */

/* .menu_top_load {
    animation: menu_top_load 1.3s linear infinite;
} */

#menu {
    position: fixed;
    /* top: calc(var(--header-height) + 7px); */
    top: var(--header_height);
    left:0;
    bottom: 0;
    width: 100%;
    background-color: var( --bg_color );
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;

    font-size: 1.5rem;
    font-family: 'InterLight';
}

#menu_user_pseudo {

    /* font-family: hand; */
    /* font-size: 1.8rem; */
    
    font-size: 1.5rem;

    
    color: #b6e1ff;
    /* color: #83c8f9; */
    /* color: #adff62; */
    
    overflow: hidden;
    text-overflow: ellipsis;
    /* text-align: center; */
}


.move_with_menu {
    -webkit-transition: left 300ms;
    -o-transition: left 300ms;
    transition: left 300ms;
}

.menu_link {
	position: relative;
	display: flex;
	align-items: center;
	/* padding: .8em .8em .8em 1em; */
	padding: .5em .1em .5em .8em;
	-webkit-transition: background-color var(--transition_time);
  	-o-transition: background-color var(--transition_time);
  	transition: background-color var(--transition_time);
}

.menu_link:first-child {
    margin-top: 8px;
}

.menu_link img {
	position: relative;
	display: inline-block;
}

.menu_link:hover {
	cursor: pointer;
	/* background-color: #3b3264; */
	background-color: #302856;
	
	
}

.menu_link_actif, .menu_link_actif:hover {
    background-color: #3b3264;
    
}

.menu_link_actif::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 5px;
	/* background-color: #6d4aff; */
    background-color: #ffeb00;
	z-index: 10;
}

.menu_sep {
	height: 1px;
	background-color: #302a50;
}

.menu_load {
	position: absolute;
    width: 3px;
    height: 0%;
    right: 0px;
    bottom: 0px;
    background-color: #ffda00;
	animation: menu_load 1.3s ease-in-out infinite;
}

@keyframes menu_load {
	0% {
		height: 1%;
	}

	50% {
		height: 100%;
	}

	100% {
		height: 1%;
	}
}

@keyframes menu_top_load {
	0% {
		/* color: #ffeb00; */
        color: #ffeb00;
	}

	50% {
		/* color: #1b1340; */
        color: #302a50;
        
	}

	100% {
		/* color: #ffeb00; */
        color: #ffeb00;
	}
}




#main, #main_hide {
    position:fixed;
    top: var(--header_height);
    left: var(--menu_width);
    right: 0;
    bottom: 0;
    height: auto;
    border-top-left-radius: 10px;
    background-color: #fff;
    overflow: hidden;
}

#main_hide {
    background-color: rgb(0 0 0 / 5%);
}

#body_hide {
	position: fixed;
	inset: 0;
    background-color: rgb(0 0 0 / 5%);
	/* background-color: transparent; */
}

#upload {
    position: fixed;
	inset: 0;
    background-color: rgb(0 0 0 / 30%);
}

#bulle {
    position: fixed;
    inset: 0;
    background-color: rgb(0 0 0 / 30%);
    cursor: pointer;
}

#bulle_main {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 50%;
	-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
			transform: translateX(-50%);
    /* border: solid 1px transparent; */
    border-radius: 7px;
    background-color: #fff;
    font-size: 1.8rem;
    overflow: hidden;
    box-shadow: 3px 3px 7px -2px rgb(0 0 0 / 50%);
}

#bulle_top {
    font-size: 3rem;
    line-height: 3.3rem;
    /* background-color: #ffeb00;
    color: #3e3900; */
    text-align: center;
    padding: .3em 0;
    font-family: TitanOne;
}

#bulle_content {
    padding: .3em .7em;
    color: #4a4a4a;
    font-size: 2rem;
}

#bulle_top.ok {
    background-color: #3dff3d;
    color: #315231;
}

#bulle_top.warning {
    background-color: #ffeb00;
    color: #3e3900;
}

#bulle_top.alert {
    background-color: #e81123;
    color: #ffdfdf;
}

/* #layer_1 { z-index: 10; }
#layer_2 { z-index: 20; }
#layer_3 { z-index: 30; } */


.layer {
    position: absolute;
    inset: 0;
    background-color: #fff;
}

.layer_top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    overflow: hidden;

    display: flex;
	justify-content: center;
    align-items: center;

    
	background-color: #fbfbfb;
    color: #56565e;
	
    /* background-color: #93ff50;
    color: #305817; */
    
    /* border-bottom: solid 1px #c9fd62; */
    box-shadow: 0px 1px 5px 0 rgb(0 0 0 / 10%);

    /* font-family: Hind; */
	font-family: "TitanOne";
	font-size: 1.7rem;

    padding: 0 .5em;

    z-index: 10;
}

.layer_top_user {
    justify-content: flex-start;
    background-color: #b6e1ff;
    color: #2a4e6c;
}

.layer_top_warning {
    background-color: #ffeb00;
    color: #3e3900;
    /* border-bottom: solid 1px #f5e200; */
}

.layer_top_error {
    background-color: red;
    color: #f3f3f3;
    /* border-bottom: solid 1px #f10000; */
}

.layer_scroll {
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: scroll;
	overflow-x: hidden;
	/* margin-right: -20px; */
	text-rendering: optimizeLegibility;
	/* font-family: InterLight; */
    font-size: 1.8rem;
    color: #666666;
	z-index: 5;
}
.layer_scroll_up { top: 0; }

.layer_close {
    cursor: pointer;
}

.layer_top_up_down {
    margin-left: auto;
    cursor: pointer;
    font-size: 2.3rem;
}

#chat_messagerie {

    border: 1px solid red;
    /* min-width: 100px; */
    /* max-width: 100%; */
    /* min-height: 100px; */
    /* max-height: 100%; */
    width:30%;
    aspect-ratio: 1.618;
    overflow: hidden;
    /* height: 18.5%; */
    padding: 20px;
    background: #fff;
}


#loginout {
	position: relative;
	height: 100vh;
	background-color: #1b1340;
}

.form {
    background-color: #fbfbfb;
    border: solid 1px #f5f5f5;
    border-radius: .5em;
    padding: 1.5em 2em;
}

.btn {
	display: inline-block;
	padding: .2em .8em;
	text-align: center;
	cursor: pointer;
	border-radius: .5em;
	border: none;
	-webkit-transition: background-color 150ms;
	-o-transition: background-color 150ms;
	transition: background-color 150ms;
}

.btn_gris {
	border: solid 1px #5a6188;
	color: #a0a7ce;
}

.btn_gris:hover {
	background: #25262f;
}

.btn_bleu {
	color: #ffffff;
	background: #00ade1;
}

.btn_bleu:hover {
	background: #0b98c3;
}

.btn_rose {
	color: #fff;
	background: #ff005e;
}
  
.btn_rose:hover {
	background: #df0053;
}

.btn_vert {
	color: #fff;
	background: #00c357;
}
  
.btn_vert:hover {
	background: #00b14f;
}


@media only screen and (min-width: 690px) {
	#menu {
		width: var(--menu_width);
	}
}

.flex { display: flex; }

.flex_center {
	display: flex;
    align-items: center;
}

.center_flex_XY {
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
	/* padding-bottom: 5%; */
}

.center_flex_X {
    display: flex;
    justify-content: center;
}


.center_X {
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
			transform: translateX(-50%);
}

.center_Y {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
			transform: translateY(-50%);
}

.center {
	margin: 0 auto;
}

.w_50 { width: 100%; }

@media only screen and (min-width: 1200px) {
	.w_50 { width: 50%; }
}

.cur_p {
    cursor: pointer;
}

.txt_c { text-align: center; }
.txt_r { text-align: right; }
.txt_j { text-align: justify; }

.hidden { display: none; }

.hmax { height: 50vh; }

.ml_3 { margin-left: .3em;}
.ml_5 { margin-left: .5em;}
.ml_7 { margin-left: .7em;}
.ml_8 { margin-left: .8em;}
.ml_10 { margin-left: 1em;}

.mt_3 { margin-top: .3em; }
.mt_7 { margin-top: .7em; }
.mt_10 { margin-top: 1em; }
.mt_20 { margin-top: 2em; }
.mt_30 { margin-top: 3em; }

.mb_3 { margin-bottom: .3em; }
.mb_5 { margin-bottom: .5em; }
.mb_7 { margin-bottom: .7em; }
.mb_10 { margin-bottom: 1em; }
.mb_15 { margin-bottom: 1.5em; }
.mb_20 { margin-bottom: 2em; }

.pad_10 { padding: 1em; }
.pad_15 { padding: 1.5em; }
.pad_20 { padding: 2em; }
.pad_30 { padding: 3em; }

.pad_top_0 { padding-top: 0px; }

.fs_13 { font-size: 1.3rem; }
.fs_14 { font-size: 1.4rem; }
.fs_15 { font-size: 1.5rem; }
.fs_16 { font-size: 1.6rem; }
.fs_17 { font-size: 1.7rem; }
.fs_18 { font-size: 1.8rem; }
.fs_20 { font-size: 2rem; }
.fs_25 { font-size: 2.5rem; }
.fs_30 { font-size: 3rem; }
.fs_40 { font-size: 4rem; }
.fs_lrg { font-size: var(--fs_lrg);}

.f_bold { font-weight: 600; }


.shadow_1 { box-shadow: 3px 3px 7px -2px rgb(0 0 0 / 10%); }
.shadow_2 { box-shadow: 3px 3px 7px 0 rgb(0 0 0 / 30%); }

.col_red { color: red; }
.col_red_alert { color: #e81123; }
.col_red_light { color: #c72c48; }

.col_rose { color: #ff33a8; }

.col_orange { color: #ffeb00ed; }



.noH {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.noselect {
  -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
  }


.opy {
	-webkit-transition: opacity var(--transition_time);
  	-o-transition: opacity var(--transition_time);
  	transition: opacity var(--transition_time);
}
.opy:hover { opacity: 1;}
.opy_1 { opacity: .1;}
.opy_2 { opacity: .2;}
.opy_3 { opacity: .3;}
.opy_4 { opacity: .4;}
.opy_5 { opacity: .5;}
.opy_6 { opacity: .6;}
.opy_7 { opacity: .7;}
.opy_8 { opacity: .8;}
.opy_9 { opacity: .9;}
.opy_10 { opacity: 1;}

.fl { float: left; }

.smiley { display: inline-block; width: auto; }


.transition {
	-webkit-transition: opacity var(--transition_time);
  	-o-transition: opacity var(--transition_time);
  	transition: opacity var(--transition_time);
}

.transition_3 {
	-webkit-transition: opacity 300ms;
  	-o-transition: opacity 300ms;
  	transition: opacity 300ms;
}


.checkbox_1_content {
    display: flex;
    align-items: center;
}


.checkbox_1_content .checkbox_1 {
    appearance: none;
    background-color: #dfe1e4;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
}

.checkbox_1_content .checkbox_1::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.checkbox_1_content .checkbox_1,
.checkbox_1_content .checkbox_1::after {
    transition: all 100ms ease-out;
}

.checkbox_1_content .checkbox_1::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.checkbox_1_content label,
.checkbox_1_content input[type=checkbox] {
    cursor: pointer;
}

.checkbox_1_content .checkbox_1:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
}

.checkbox_1_content .checkbox_1:checked {
    background-color: #04ed00;
}

.checkbox_1_content .checkbox_1:checked::after {
    background-color: #fff;
    left: 13px;
}

.checkbox_1_content :focus:not(.focus-visible) {
    outline: 0;
}

.ratio_1 {
    aspect-ratio: 1;
    max-height: 100%;
}

.ratio_1::before {
	content: "";
	float: left;
	padding-top: 100%;
}

.box {
	position: relative;
    float: left;
    background: #fff;
    border: solid 1px #e7e7e7;
    border-width: 0 1px 1px 0;
    cursor: pointer;
    -webkit-transition: background-color 100ms;
  	-o-transition: background-color 100ms;
  	transition: background-color 100ms;
    
}

/* .box_arbre {
	position: relative;
    float: left;
    background: #fff;
    cursor: pointer;
    box-shadow: 2px 2px 5px 0px rgb(0 0 0 / 30%);
} */

.box_vegetal {
    position: relative;
    float: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 2px 2px 5px 0px rgb(0 0 0 / 30%);
    cursor: pointer;
    overflow: hidden;
}

.box_vegetal_nom {
    font-size: 2rem;
    text-align: center;
    color: #fff;
    font-weight: bold;
    background-color: rgba(27, 19, 64, 0.9);
    padding: .3em;
    z-index: 10;
}

.box_vegetal_prix {
    font-size: 3rem;
    font-family: titanOne;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    border-radius: 10px;
    margin: 1em;
}

.box_vegetal_btns {
    position: absolute;
    bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}


.box:hover {
    /* background-color: #f5f4f4; */
    background-color: #fbf9f9;
    
}

.box_3  {
    width: 33.33333%;
}

.box_5  {
    width: 100%;
}

.pagination .item {
	background-color: #00adff;
	padding: 5px 7px;
	color: #fff;
	border-radius: 3px;
	cursor: pointer;
}

.pagination .current {
	background-color: #cc00ff;
	opacity: 1;
	/* cursor: default; */
}

.pagination .disabled {
	background-color: #d3d3d3;
	opacity: 1;
	cursor: default;
}

.clearfix:before, .clearfix:after { content: ""; clear: both; display: table; }

@media only screen and (min-width: 550px) {
	.box_5 {
		width: 50%;
	}
}

@media only screen and (min-width: 800px) {
	.box_5 {
		width: 33.33333%;
	}
	
}

@media only screen and (min-width: 1000px) {
	.box_5 {
		width: 25%;
	}
	.w50 { width: 50%; }
}

@media only screen and (min-width: 1200px) {
	.box_5 {
		width: 20%;
	}
}

/* ################## ANIMATIONS ################ */

@keyframes rotate {
	0% {
		transform: rotate(0deg)
	}
	100% {
		transform: rotate(360deg)
	}
}




@-webkit-keyframes rotate360 {
	from {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
	to {
	  -webkit-transform: rotate(360deg);
			  transform: rotate(360deg);
	}
  }
  @keyframes rotate360 {
	from {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
	to {
	  -webkit-transform: rotate(360deg);
			  transform: rotate(360deg);
	}
  }
  @-webkit-keyframes rotate90 {
	from {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
	to {
	  -webkit-transform: rotate(90deg);
			  transform: rotate(90deg);
	}
  }
  @keyframes rotate90 {
	from {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
	to {
	  -webkit-transform: rotate(90deg);
			  transform: rotate(90deg);
	}
  }
  @-webkit-keyframes rotate0 {
	from {
	  -webkit-transform: rotate(90deg);
			  transform: rotate(90deg);
	}
	to {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
  }
  @keyframes rotate0 {
	from {
	  -webkit-transform: rotate(90deg);
			  transform: rotate(90deg);
	}
	to {
	  -webkit-transform: rotate(0deg);
			  transform: rotate(0deg);
	}
  }
  .rotate360 {
	-webkit-animation: rotate360 2s 1s 1;
	animation: rotate360 2s 1s 1;
  }
  
  .rotate90 {
	-webkit-animation: rotate90 300ms forwards;
	animation: rotate90 300ms forwards;
  }
  
  .rotate0 {
	-webkit-animation: rotate0 300ms forwards;
	animation: rotate0 300ms forwards;
  }