/* FONTS */

@font-face {
	font-family: "MontserratRegular";
	src: url("fonts/MontserratRegular.eot");
	src:
		url("fonts/MontserratRegular.eot") format("embedded-opentype"),
		url("fonts/MontserratRegular.woff2") format("woff2"),
		url("fonts/MontserratRegular.woff") format("woff"),
		url("fonts/MontserratRegular.ttf") format("truetype"),
		url("fonts/MontserratRegular.svg#MontserratRegular") format("svg");
}
@font-face {
	font-family: "SourceSans3SemiBold";
	src: url("fonts/SourceSans3SemiBold.eot");
	src:
		url("fonts/SourceSans3SemiBold.eot") format("embedded-opentype"),
		url("fonts/SourceSans3SemiBold.woff2") format("woff2"),
		url("fonts/SourceSans3SemiBold.woff") format("woff"),
		url("fonts/SourceSans3SemiBold.ttf") format("truetype"),
		url("fonts/SourceSans3SemiBold.svg#SourceSans3SemiBold") format("svg");
}
@font-face {
	font-family: "DINNextLTProRegular";
	src: url("fonts/DINNextLTProRegular.eot");
	src:
		url("fonts/DINNextLTProRegular.eot") format("embedded-opentype"),
		url("fonts/DINNextLTProRegular.woff2") format("woff2"),
		url("fonts/DINNextLTProRegular.woff") format("woff"),
		url("fonts/DINNextLTProRegular.ttf") format("truetype"),
		url("fonts/DINNextLTProRegular.svg#DINNextLTProRegular") format("svg");
}
@font-face {
	font-family: "EurostileLTW01Bold";
	src: url("fonts/EurostileLTW01Bold.eot");
	src:
		url("fonts/EurostileLTW01Bold.eot") format("embedded-opentype"),
		url("fonts/EurostileLTW01Bold.woff2") format("woff2"),
		url("fonts/EurostileLTW01Bold.woff") format("woff"),
		url("fonts/EurostileLTW01Bold.ttf") format("truetype"),
		url("fonts/EurostileLTW01Bold.svg#EurostileLTW01Bold") format("svg");
}

/* COLORS */

:root {
	--title_font_1: "EurostileLTW01Bold", sans-serif;
	--content_font_1: "DINNextLTProRegular", sans-serif;
	--main_color_1: #5494d0;
	--main_color_2: #e9a34f;
	--alert_red: #f44336;
	--main_color_1_light: #bdd7ed;
	--main_color_1_transparent: #5494df6a;
	--main_color_2_transparent: #e9a34e6a;
	--white_transparent: rgba(255, 255, 255, 0.1);
	--main_color_1_transparent_selected: #feed0030;
	--main_color_2_transparent_selected: #e41f2630;
	--white_transparent_selected: rgba(255, 255, 255, 0.3);
	--font_grey: #6f6f6f;
	--box_shadow_grey: #9b9b9b;
	--inactive_grey: #efefef;
	--status_requested_color: #e9a34f;
	--status_planned_color: green;
	--status_completed_color: #6f6f6f;
	--status_canceled_color: #f44336;
	--risk_low_color: rgba(255, 255, 255, 0.4);
	--risk_moderate_color: rgb(255, 191, 0, 0.4);
	--risk_high_color: rgb(255, 64, 0, 0.4);
	--vh: 100vh;
	--hundred_vh: calc(var(--vh, 1vh) * 100);
	--menu_top_height: 40px;
	--tools_width: 40px;
}

@media screen and (max-width: 1023px) {
	:root {
		--tools_width: 35px;
	}
}

/* GENERAL */

html {
	font-family: var(--content_font_1);
	color: var(--font_grey);
	font-size: 16px;
	overflow: hidden;
	overscroll-behavior: contain; /* Disables mobile pull-to-refresh */
}

h1,
h2,
h3 {
	font-family: var(--title_font_1);
}

@media screen and (max-width: 1023px) {
	html {
		font-size: 14px;
	}
}

.return {
	cursor: pointer;
	width: 20px;
	color: black;
	font-size: 2rem;
	font-weight: bold;
	text-align: left;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
}

@media (hover: hover) {
	.return:hover {
		color: var(--main_color_2);
	}
}

.bold {
	font-weight: bold;
}

.required_star::after {
	content: "*";
	color: var(--main_color_2);
	font-family: var(--content_font_1);
}

.lowercase {
	text-transform: lowercase !important;
}

.hidden {
	visibility: hidden;
	width: 0;
	height: 0;
}

.column_wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}

input[type="text"],
input[type="date"],
input[type="datetime-local"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="password"],
select {
	min-height: 30px;
	border-radius: 5px;
	border: thin solid var(--main_color_1);
	background-color: transparent;
}

select {
	cursor: pointer;
}

textarea {
	min-width: 200px;
	min-height: 80px;
	padding: 5px;
	border-radius: 5px;
	border: thin solid var(--main_color_1);
}

.link {
	cursor: pointer;
	text-decoration: underline;
	text-align: center;
	display: flex;
	justify-content: center;
}

.colon_after::after {
	content: " :";
}

.white_space_no_wrap {
	white-space: nowrap;
}

.button_line_wrapper_wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 15px;
	margin: 15px 0;
	padding-left: 10px;
	padding-right: 10px;
}

input,
textarea {
	font-family: var(--content_font_1);
}

@media (hover: hover) {
	a:hover {
		color: var(--main_color_2) !important;
	}
	.link:hover {
		color: var(--main_color_2) !important;
	}
}

/* LOADING ANIMATION */

.loader_overlay {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: white;
}

.loader {
	display: inline-block;
	position: relative;
}
.loader div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	border: 8px solid #fff;
	border-radius: 50%;
	animation: loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: var(--main_color_1) transparent transparent transparent;
}
.loader div:nth-child(1) {
	animation-delay: -0.45s;
	border-color: var(--main_color_2) transparent transparent transparent;
}
.loader div:nth-child(2) {
	animation-delay: -0.3s;
}
.loader div:nth-child(3) {
	animation-delay: -0.15s;
}
@keyframes loader {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* MAIN */

main {
	display: flex;
	height: var(--hundred_vh);
	width: 100vw;
}

#map_section {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

/* Top */

#map_section_top {
	position: absolute;
	top: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	width: 100vw;
	height: var(--menu_top_height);
	padding: 5px 15px;
	background-color: white;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	z-index: 2;
}

#map_section_top_right {
	position: relative;
	display: flex;
	gap: 25px;
	width: calc(100vw - 70px);
}

#map_section_top_username {
	position: absolute;
	right: 0;
	align-self: center;
	user-select: none;
}

#map_section_top_logo {
	background-image: url("../../images/logos/logo_sauvetage_faons_geneve.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: calc(var(--menu_top_height) - 10px);
	width: 35px;
	min-width: 35px;
}

@media screen and (max-width: 1023px) {
	#map_section_top_logo {
		width: 35px;
		min-width: unset;
	}

	#map_section_top {
		padding-left: 5px;
	}
	#map_section_top_right {
		gap: 10px;
	}

	#map_section_top_username {
		display: none !important;
	}
}

#map_section_top_search_wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 400px;
	flex: 1;
}

#map_section_top_search_bar {
	display: flex;
}

#map_section_top_search_bar .loader_overlay {
	border: thin solid var(--box_shadow_grey);
	border-right: unset;
	background-color: var(--inactive_grey);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

#map_section_top_search_wrapper_image {
	background-image: url("../../images/icons/icon_search.svg");
	background-size: 20px;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--inactive_grey);
	width: 30px;
	height: calc(var(--menu_top_height) - 10px);
	min-width: 30px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border: thin solid var(--box_shadow_grey);
	border-right: none;
}

#map_section_top_search_input {
	border-top-left-radius: unset !important;
	border-bottom-left-radius: unset !important;
	border: thin solid var(--box_shadow_grey);
	width: 100%;
	padding-left: 5px;
}

#map_section_top_search_input:focus {
	outline: none !important;
}

#map_section_top_search_close_icon {
	display: none;
	width: 30px;
	height: 30px;
	min-width: 20px;
	align-self: center;
	border-top-right-radius: 5px;
	border: thin solid var(--box_shadow_grey);
	border-left: none;
	cursor: pointer;
	padding: 0 5px;
}

@media (hover: hover) {
	#map_section_top_search_close_icon:hover svg {
		fill: var(--main_color_2);
	}

	#map_section_top_search_bar:hover #map_section_top_search_wrapper_image {
		background-color: var(--main_color_2);
	}
}

#map_section_top_search_results_wrapper {
	position: absolute;
	top: 30px;
	display: none;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-height: calc((var(--hundred_vh) / 2) - 40px);
	background-color: white;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border: thin solid var(--main_color_1_light);
	border-top: none;
	overflow-y: scroll;
	word-break: break-word;
	padding-bottom: 10px;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
}

#map_section_top_search_results_categories {
	display: flex;
	width: 100%;
}

#map_section_top_search_results_categories div {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 5px 10px;
	flex: 1;
	height: 40px;
	border-bottom: 1px solid var(--inactive_grey);
}

#map_section_top_search_results_categories svg {
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	max-width: 30px;
	max-height: 30px;
	fill: var(--font_grey);
}

#map_section_top_search_results_categories p {
	display: flex;
	align-items: center;
	justify-content: center;
}

#map_section_top_search_results_places,
#map_section_top_search_results_parcelles {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

#map_section_top_search_results_places {
	display: none;
}

#map_section_top_search_results_categories .active_search_category {
	color: var(--main_color_2);
	border-bottom: 2px solid var(--main_color_2);
}

#map_section_top_search_results_categories .active_search_category svg {
	fill: var(--main_color_2) !important;
}

#map_section_top_search_results_wrapper b {
	font-weight: bold;
}

.map_section_top_search_results_item {
	cursor: pointer;
	margin: 0 10px;
	padding-bottom: 5px;
	border-bottom: thin solid var(--main_color_1_light);
}

.map_section_top_search_results_item_no_results {
	cursor: unset;
	padding-bottom: unset;
	border-bottom: unset;
	text-align: center;
}

.specific_results_item_container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (hover: hover) {
	.map_section_top_search_results_item:not(.map_section_top_search_results_item_no_results):hover,
	#map_section_top_search_results_categories div:hover {
		color: var(--main_color_2);
	}
	#map_section_top_search_results_categories div:hover svg {
		fill: var(--main_color_2);
	}
}

.cross_close_icon {
	cursor: pointer;
	width: var(--tools_width);
	height: var(--tools_width);
	user-select: none;
	-webkit-user-select: none;
}

@media (hover: hover) {
	.cross_close_icon:hover path {
		fill: var(--main_color_2);
	}
}

/* Top 2 */

#map_section_top2 {
	position: absolute;
	top: 0;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	padding: 0 15px;
	max-width: calc(100vw - (var(--tools_width) + 10px));
	background-color: white;
	z-index: 1;
	animation: map_section_top2_animation 0.2s forwards;
	border-bottom-right-radius: 5px;
	border-top: thin solid var(--inactive_grey);
	box-shadow:
		0px 0px 0px 3px rgb(255, 255, 255),
		var(--box_shadow_grey) 4px 4px 6px;
}

@keyframes map_section_top2_animation {
	0% {
		top: 0;
		opacity: 0;
	}
	50% {
		opacity: 0;
	}
	100% {
		top: var(--menu_top_height);
		opacity: 1;
	}
}

#breadcrumb_container {
	display: flex;
	height: 30px;
	align-items: center;
}

#breadcrumb_region,
#breadcrumb_commune,
#breadcrumb_parcelle {
	cursor: pointer;
	color: var(--main_color_1);
	display: none;
	align-items: center;
	justify-content: center;
	text-decoration: underline;
}

#breadcrumb_arrow_1,
#breadcrumb_arrow_2 {
	display: none;
	height: 25px;
	width: 25px;
	min-height: 25px;
	min-width: 25px;
	fill: var(--main_color_1);
}

@media (hover: hover) {
	#breadcrumb_region:hover,
	#breadcrumb_commune:hover {
		color: var(--main_color_2);
	}
}

/* Mission indicator */

#mission_top_indicator {
	display: none;
	flex-direction: row;
	align-items: center;
	gap: 15px;
	height: 30px;
	align-self: flex-start;
	width: 100%;
}

#mission_top_indicator_icon_quit_mission {
	cursor: pointer;
	width: 25px;
	height: 25px;
	min-width: 25px;
	min-height: 25px;
}

.mission_indicator_subwrapper {
	display: flex;
	gap: 10px;
	align-items: center;
}

.mission_indicator_mission_status {
	content: "";
	height: 10px;
	width: 10px;
	border-radius: 100%;
}

.mission_navigation_icon {
	cursor: pointer;
	width: 25px;
	height: 25px;
	min-width: 25px;
	min-height: 25px;
	border-radius: 50%;
}

.mission_navigation_icon svg {
	border-radius: 50%;
	border: thin solid black;
}

@media screen and (max-width: 1023px) {
	#mission_top_indicator,
	#breadcrumb_container {
		height: 25px;
	}
}

@media (hover: hover) {
	#mission_top_indicator_icon_quit_mission:hover svg,
	#mission_icon_quit_mission:hover svg,
	.mission_navigation_icon:hover svg {
		fill: var(--main_color_2);
	}

	.mission_navigation_icon:hover svg {
		fill: var(--main_color_2);
		border: thin solid var(--main_color_2);
	}
}

/* Bottom */

#map_section_bottom {
	position: absolute;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	width: 100vw;
	height: 30px;
	padding: 0 15px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	z-index: 1;
}

#map_section_bottom_left {
	display: flex;
	gap: 15px;
	align-items: flex-end;
}

@media screen and (max-width: 1023px) {
	#map_section_bottom {
		padding: 0 10px;
	}
}

/* Map */

.map {
	height: 100%;
	width: 100%;
	position: relative;
}

@media screen and (max-width: 1023px) {
	.map {
		min-height: calc(var(--hundred_vh) - 85px);
	}
}

/* Lateral */

.lateral {
	position: absolute;
	right: -400px;
	bottom: 0;
	display: flex;
	height: calc(var(--hundred_vh));
	z-index: 4;
	transition: 0.2s;
}

#lateral_icon_close {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: calc(var(--tools_width));
	height: calc(var(--menu_top_height));
	min-height: calc(var(--menu_top_height));
	cursor: pointer;
	z-index: 5;
	border-radius: unset !important;
}

@media (hover: hover) {
	#lateral_icon_close:hover {
		fill: var(--main_color_2);
	}
}

@media screen and (max-width: 1023px) {
	#lateral_icon_close {
		padding-top: 4px;
	}
}

.tools {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: center;
	gap: 15px;
	user-select: none;
	-webkit-user-select: none;
	width: calc(var(--tools_width) + 10px);
	transition: 0.2s;
	z-index: 5;
}

.tool_icon_wrapper {
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tools_width);
	height: var(--tools_width);
	min-height: var(--tools_width);
	background-color: white;
	border-radius: 50%;
	transition: 0.2s;
}

.tools .tool_icon_wrapper {
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
}

.tool_icon_wrapper svg {
	width: calc(var(--tools_width) - 15px);
	transition: 0.2s;
}

@media (hover: hover) {
	.tool_icon_wrapper svg:hover {
		fill: var(--main_color_2);
	}
}

.connected svg {
	fill: var(--main_color_1);
}

.active_tool,
.active_subtool {
	background-color: white;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.active_tool {
	box-shadow:
		5px 0px 0px 0px rgb(255, 255, 255),
		var(--box_shadow_grey) 2px 2px 6px !important;
}

.active_tool svg,
.active_subtool > svg {
	fill: var(--main_color_2) !important;
}

.tool_option_label {
	position: relative;
	flex: 1;
	align-self: flex-end;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tools_width);
	height: var(--menu_top_height);
	min-height: var(--menu_top_height);
	min-width: fit-content;
	padding: 0 5px;
	background-color: white;
	font-weight: 500;
	transition: color 0.2s ease;
}

.tool_option_label .active_option {
	color: var(--main_color_2);
	font-weight: 600;
}

.tool_option_label::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	width: 0;
	height: 2px;
	background-color: var(--main_color_2);
	border-radius: 999px;
	transform: translateX(-50%);
	transition: width 0.25s ease;
}

.active_option {
	color: var(--main_color_2);
	background-color: white;
	font-weight: 600;
	border-radius: 8px 8px 0 0;
}

.active_option::after {
	width: 100%;
}

.active_option > svg {
	fill: var(--main_color_2);
}

.active_geolocation {
	fill: var(--main_color_2);
}

#icon_menu {
	border-radius: unset !important;
	box-shadow: unset !important;
}

#toolbox_tools {
	display: flex;
	flex-direction: column;
}

#toolbox_tools .tool_icon_wrapper {
	background-color: none;
	border-radius: unset;
}

.toolbox_item {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	min-height: 30px;
	border-bottom: thin solid var(--main_color_1_light);
	text-decoration: none !important;
	box-sizing: border-box;
	cursor: pointer;
}

.toolbox_item .expend_arrow {
	position: absolute;
	right: 0;
	width: 25px;
	fill: var(--main_color_1_light);
	transform: 0.2s;
}

.expend_arrow_opened {
	transform: rotate(90deg);
	fill: var(--main_color_2) !important;
}

.toolbox_subitem {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	min-height: 30px;
	padding-left: var(--tools_width);
	text-decoration: none !important;
	box-sizing: border-box;
	cursor: pointer;
}

.toolbox_content {
	border-bottom: thin solid var(--main_color_1_light);
}

@media (hover: hover) {
	.toolbox_item:hover svg {
		fill: var(--main_color_2);
	}

	.toolbox_subitem:hover svg {
		fill: var(--main_color_2);
	}
}

#display_tool {
	position: relative;
	width: 400px;
	display: flex;
	background-color: white;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	transition: 0.2s;
	box-sizing: border-box;
	box-shadow: var(--box_shadow_grey) -2px 2px 6px;
}

#display_tool_swipe_line {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 15px;
}

#display_tool_swipe_line div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 100%;
	cursor: pointer;
}

#display_tool_swipe_line div div {
	width: 3px;
	height: 3px;
	min-width: 3px;
	min-height: 3px;
	border-radius: 50%;
	background-color: var(--main_color_1_light);
}

@media (hover: hover) {
	#display_tool_swipe_line div:hover div {
		background-color: var(--main_color_2);
	}
}

.display_tool_header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--menu_top_height);
	border-bottom: 2px solid var(--main_color_1);
	background-color: white;
	margin-bottom: 15px;
	box-sizing: content-box;
	z-index: 1;
}

.tool_content {
	display: none;
	position: relative;
	flex-direction: column;
	flex: 1;
	padding-right: 15px;
	padding-bottom: 35px;
	overflow: auto;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	padding-left: 10px;
}

.tool_content h2 {
	font-size: 1.4rem;
	align-self: center;
	text-align: center;
}

.tool_content h2:not(.display_tool_header h2) {
	margin-bottom: 15px;
}

.toolbox_content {
	display: none;
	flex-direction: column;
	overflow: auto;
}

.tool_thin {
	gap: 5px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.tool_regular_upper_options {
	position: sticky;
	top: 0;
	left: 0;
	display: flex;
	width: 100%;
	height: var(--menu_top_height);
	padding-right: 25px;
	z-index: 1;
	border-bottom: 1px solid var(--inactive_grey);
}

.tool_option .tool_icon_wrapper {
	align-self: flex-end;
}

.tool_regular_upper_options .tool_icon_wrapper {
	flex: 1;
}

@media (hover: hover) {
	.tool_option_label:not(.active_option):hover {
		color: var(--main_color_2);
	}
}

.active_option > svg {
	fill: var(--main_color_2);
}

.line_wrapper {
	display: flex;
	gap: 25px;
	margin-bottom: 35px;
	padding-left: 10px;
	padding-right: 10px;
}

.line_wrapper ul {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.line_wrapper li {
	white-space: nowrap;
	max-width: 250px;
	overflow-x: scroll;
	overflow-y: hidden;
	line-height: 25px;
}

.line_wrapper ul:first-of-type {
	font-family: var(--title_font_1);
	letter-spacing: 0.5px;
}

.button_wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 35px 0;
}

.two_columns_grid {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 10px;
	width: 100%;
	align-items: center;
}

.two_columns_grid p:nth-child(odd) {
	font-family: var(--title_font_1);
	text-align: right;
}

@media screen and (max-width: 1023px) {
	.lateral {
		height: calc(var(--hundred_vh));
	}

	#display_tool_swipe_line {
		width: 10px;
	}

	.tool_content {
		padding-right: 10px;
		padding-left: 5px;
	}

	.tools {
		padding-top: 2px;
	}

	.line_wrapper {
		gap: 15px;
		padding-left: 0;
		padding-right: 0;
	}

	.line_wrapper ul {
		gap: 10px;
	}

	.tool_regular_upper_options {
		padding-right: 20px;
	}
}

/* Basemap tool */

#basemap_container {
	display: flex;
	flex-direction: column;
}

.basemap_icon {
	width: 75px;
	height: 75px;
	min-width: 75px;
	min-height: 75px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 5px;
	border: 1px solid var(--font_grey);
}

.basemap_wrapper {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	border-bottom: thin solid var(--main_color_1_light);
	padding: 15px 0;
}

.basemap_content {
	display: flex;
	gap: 15px;
}

.basemap_content div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0 15px;
}

.basemap_content div p span {
	text-decoration: underline;
}

.active_basemap .basemap_name {
	color: var(--main_color_2);
}

.active_basemap .basemap_icon {
	border-color: var(--main_color_2) !important;
}

@media (hover: hover) {
	.basemap_wrapper:hover {
		color: var(--main_color_2);
	}

	.basemap_wrapper:hover .basemap_icon {
		border-color: var(--main_color_2);
	}
}

/* Menu tool */

#menu {
	user-select: none;
}

#menu_container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.menu_item {
	cursor: pointer;
	min-height: 30px;
	border-bottom: thin solid var(--main_color_1_light);
	text-decoration: none !important;
}

#faq_container {
	cursor: pointer;
	min-height: 30px;
	border-bottom: thin solid var(--main_color_1_light);
	text-decoration: none !important;
}

#faq > summary {
	list-style: none;
}

#faq_container details div {
	padding: 10px;
}

#language_wrapper {
	cursor: unset;
	display: flex;
	align-items: center;
	gap: 5px;
}

#language_container {
	display: flex;
	justify-content: flex-end;
	gap: 25px;
	flex: 1;
}

#language_container p {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
}

.active_language {
	font-weight: bold;
	color: var(--main_color_2);
	text-decoration: underline;
}

#menu_download_progress {
	display: none;
}

@media (hover: hover) {
	.menu_item:not(#language_wrapper):hover,
	.menu_item:not(summary):hover,
	#faq_container summary:hover {
		color: var(--main_color_2);
	}
	#language_wrapper:hover {
		color: var(--font_grey);
	}

	#language_container p:hover {
		color: var(--main_color_2);
	}
}

.login_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 15px;
}

#login_status_wrapper {
	width: 100%;
	text-align: center;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 30px;
}

.login_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.login_form input {
	text-align: center;
}

.login_form label {
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
	gap: 15px;
}

.login_form .button {
	width: fit-content;
}

.login_form .link {
	font-size: 0.8rem;
}

#reset_password_form {
	display: none;
}

#logout_form {
	display: none;
}

@media (hover: hover) {
	.login_form .link:hover {
		color: var(--main_color_2);
	}
}

#menu_client_logo {
	width: 100px;
	align-self: center;
	margin-top: 50px;
}

#hc_menu_signature {
	display: flex;
	gap: 25px;
	margin-bottom: 35px;
	padding-left: 10px;
	padding-right: 10px;
	width: 100%;
	justify-content: center;
	margin-top: 15px;
	align-items: center;
	flex: 1;
}

.powered_by {
	display: flex;
	flex-direction: column;
	color: var(--main_color_1);
}

.powered_by span {
	align-self: flex-end;
	color: var(--main_color_2);
}

#hc_menu_signature img {
	width: 180px;
}

#sw_version {
	font-size: 0.9rem;
	text-align: center;
}

@media screen and (max-width: 1023px) {
	#sw_version {
		align-self: center;
	}
}

/* Layer tool */

#layer {
	align-items: center;
}

#layer > ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#layer_list_wrapper {
	width: 100%;
	position: relative;
	gap: 15px;
}

#layer_list {
	width: 100%;
}

.layer_list_theme {
	padding-top: 5px;
	padding-bottom: 5px;
}

.layer_theme_title {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	font-size: 1rem;
	padding-bottom: 10px;
	border-bottom: thin solid var(--main_color_1_light);
	transition: 0.2s;
	min-height: var(--menu_top_height);
}

.layer_theme_title h3::first-letter {
	text-transform: capitalize;
}

.layer_theme_title h3 {
	font-family: var(--content_font_1);
}

#layer_hide_icon {
	position: absolute;
	top: -5px;
	right: -15px;
}

@media screen and (max-width: 1023px) {
	#layer_hide_icon {
		right: -10px;
	}
}

@media (hover: hover) {
	.layer_theme_title:hover {
		color: var(--main_color_2);
	}

	.layer_theme_title:hover {
		border-color: var(--main_color_2);
	}

	.layer_theme_title:hover svg {
		fill: var(--main_color_2) !important;
	}
}

.layer_list_theme ul {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	border-bottom: thin solid var(--main_color_1_transparent);
}

.layer_list_theme ul li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	padding: 5px 0;
	padding-top: 10px;
}

.layer_list_theme_li_div1 {
	display: flex;
	gap: 15px;
	align-items: center;
}

.layer_list_theme_li_div2 {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

#layer_order_list_wrapper {
	display: none;
	position: relative;
	justify-content: flex-start;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 15px;
}

#layer_order_list {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 10px;
}

#layer_order_list li {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 5px 0;
	text-transform: capitalize;
}

.layer_order_item_title {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.layer_order_item_title > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	cursor: pointer;
}

.layer_info {
	display: none;
	flex-direction: column;
	gap: 10px;
}

.layer_info label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 28px;
	font-size: 0.9rem;
}

#layer_list .expend_arrow {
	width: 25px;
	fill: var(--main_color_1_light);
	transform: 0.2s;
	cursor: pointer;
}

#layer_order_list .drag_icon {
	cursor: pointer;
	width: 20px;
	fill: var(--main_color_1_transparent);
}

@media (hover: hover) {
	#layer_order_list .drag_icon:hover {
		fill: var(--main_color_2);
	}

	#layer_list .expend_arrow:hover {
		fill: var(--main_color_2);
	}
}

#layer label {
	cursor: pointer;
	word-break: break-word;
}

#layer label::first-letter {
	text-transform: capitalize;
}

.layer_info_icon {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 20px;
	width: 20px;
	min-height: 20px;
	min-width: 20px;
	border: thin solid var(--font_grey);
	border-radius: 50%;
	cursor: pointer;
}

@media (hover: hover) {
	.layer_info_icon:hover {
		border: thin solid var(--main_color_2);
		color: var(--main_color_2);
	}
}

/* Buttons */

.button {
	width: 160px;
	min-height: 35px;
	background-color: var(--main_color_1);
	font-size: 1.2rem;
	padding: 2px 15px;
	font-family: var(--title_font_1);
	color: white;
	letter-spacing: 0.5px;
	border-radius: 5px;
	box-shadow: none;
	border: thin solid white;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: 0.2s;
	align-self: center;
}

.button_secondary {
	background-color: white;
	color: var(--main_color_1);
	border: thin solid var(--main_color_1);
}

.alert_button {
	color: var(--status_canceled_color) !important;
	background-color: white !important;
	border: thin solid var(--status_canceled_color) !important;
}

.button:active {
	color: white;
	border: thin solid var(--main_color_2);
	background-color: var(--main_color_2);
}

.alert_button:active {
	background-color: var(--status_canceled_color) !important;
	color: white !important;
}

@media (hover: hover) {
	.button:hover {
		color: white;
		border: thin solid var(--main_color_2);
		background-color: var(--main_color_2);
	}
	.alert_button:hover {
		background-color: var(--status_canceled_color) !important;
		color: white !important;
	}
}

/* Input checkbox styling */
.switch_box {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 40px;
	min-width: 40px;
	height: 5px;
	background: var(--inactive_grey);
	border-radius: 3em;
	position: relative;
	cursor: pointer;
	outline: none;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	user-select: none;
	-webkit-user-select: none;
}

@media (hover: hover) {
	.switch_box:hover::after {
		background-color: var(--main_color_2);
		border: 2px solid white;
	}
}

.switch_box::after {
	position: absolute;
	content: "";
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: white;
	-webkit-box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.3);
	top: 0;
	bottom: 0;
	margin: auto;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.switch_box:checked {
	background: var(--main_color_1);
}

.switch_box:checked::after {
	left: calc(100% - 27px);
	background-color: var(--main_color_2);
	border: 2px solid white;
}

/* Geolocation */

#center_on_user_position {
	display: none;
	position: absolute;
	align-items: center;
	height: var(--tools_width);
	gap: 5px;
	cursor: pointer;
	user-select: none;
	border-radius: 25px;
	background-color: white;
	color: black;
	font-size: 0.8rem;
	padding-left: 5px;
	padding-right: var(--tools_width);
	margin-right: 5px;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	transition: 0.2s;
}

#center_on_user_position div {
	display: flex;
	gap: 15px;
}

#center_on_user_position svg {
	height: 25px;
	width: 25px;
	border-radius: 50%;
}

@media (hover: hover) {
	#center_on_user_position:hover svg {
		fill: var(--main_color_2);
	}
}

/* Info popup */

.ol-popup {
	position: absolute;
	background-color: white;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	padding: 5px 10px;
	border-radius: 5px;
	border: 1px solid white;
	border-color: var(--main_color_1);
	bottom: 45px;
	left: -51px;
	min-width: 170px;
	width: max-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	transition: 0.5s;
}
.ol-popup:after,
.ol-popup:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.ol-popup:after {
	border-top-color: var(--main_color_1_light);
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}
.ol-popup:before {
	border-top-color: var(--main_color_1);
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}
.ol-popup-closer {
	text-decoration: none;
	position: absolute;
	top: 2px;
	right: 8px;
}
.ol-popup-closer:after {
	content: "✖";
	color: white;
}

.ol-popup p:first-of-type:not(li > p) {
	align-self: center;
	text-align: center;
	font-family: var(--content_font_2);
	font-size: 1.2rem;
}

.ol-popup .info {
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-align: center;
	font-size: 0.8rem;
	white-space: nowrap;
}

.ol-popup p::first-letter {
	text-transform: capitalize;
}

.ol-popup ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: max-content;
}

.ol-popup li {
	display: flex;
	justify-content: flex-start;
	gap: 10px;
}

.ol-popup span {
	font-weight: 600;
	min-width: 100px;
}

#info_popup_close {
	display: none;
	cursor: pointer;
	max-width: 20px;
	align-self: flex-end;
	margin-top: -10px;
	margin-right: -10px;
}

#popup-content h2 {
	margin-bottom: 10px;
}

@media (hover: hover) {
	#info_popup_close:hover {
		fill: var(--main_color_2);
	}
}

.ol-popup table td {
	padding: 3px 8px;
}

/* MESSAGE BOX */

#message_box_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100vw;
	height: calc(var(--hundred_vh));
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	transition: 0.5s;
}

#message_box {
	display: flex;
	flex-direction: column;
	min-width: 300px;
	max-width: 600px;
	background-color: white;
	border-radius: 5px;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	padding: 15px;
}

#message_box_title {
	display: flex;
	align-items: center;
	gap: 15px;
	width: 100%;
	font-size: 1.2rem;
	border-bottom: 1px solid var(--main_color_1);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	padding-bottom: 5px;
}

#message_box_title svg {
	fill: var(--main_color_2);
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	max-width: 30px;
	max-height: 30px;
}

#message_box p {
	padding: 15px 0;
	line-height: normal;
}

#message_buttons {
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: flex-end;
}

#message_buttons button {
	width: unset !important;
}

/* OpenLayers */

.ol-rotate {
	top: 220px !important;
	left: 8px !important;
}

.ol-zoom {
	top: 110px !important;
	left: 8px !important;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ol-zoom {
	background: none !important;
}

.ol-zoom-in,
.ol-zoom-out {
	cursor: pointer;
}

.ol-control button {
	width: 22px !important;
	height: 22px !important;
	background-color: white !important;
	color: black !important;
	cursor: pointer;
	margin: unset !important;
	outline: none !important;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px !important;
}

.ol-rotate,
.ol-rotate button,
.ol-zoom button {
	width: var(--tools_width) !important;
	height: var(--tools_width) !important;
	border-radius: 50% !important;
}

.ol-rotate button {
	background-image: url("../../images/icons/icon_ol_north.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: calc(var(--tools_width) - 10px);
}

.ol-rotate button span {
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("../../images/icons/icon_ol_compass.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: calc(var(--tools_width) - 8px);
	width: var(--tools_width);
	height: var(--tools_width);
	color: transparent !important;
}

@media (hover: hover) {
	.ol-control button:hover,
	.ol-rotate:hover {
		color: var(--main_color_2) !important;
		outline: none !important;
	}

	.ol-rotate button:hover {
		background-image: url("../../images/icons/icon_ol_north_orange.svg");
	}

	.ol-rotate button:hover span {
		background-image: url("../../images/icons/icon_ol_compass_orange.svg");
	}
}

#mouse_coordinates {
	display: flex;
}

.ol-mouse-position {
	position: unset !important;
	border-radius: 4px !important;
	font-size: 12px;
	color: var(--main_color_1);
}

#scale-line {
	height: 20px !important;
}

.ol-scale-line {
	position: unset !important;
	background-color: none !important;
	background: none !important;
}

.ol-scale-line-inner {
	border-color: var(--main_color_1) !important;
	color: var(--main_color_1) !important;
}

.ol-attribution {
	background-color: white !important;
	position: unset !important;
	max-width: unset !important;
}

.ol-attribution button {
	border-radius: 50% !important;
}

@media screen and (max-width: 1023px) {
	.ol-rotate {
		top: 204px !important;
		left: 5px !important;
	}

	.ol-zoom {
		top: 104px !important;
		left: 5px !important;
	}

	.ol-attribution {
		font-size: 10px !important;
	}

	.ol-attribution li {
		font-size: 11px !important;
	}
}

/* Measure tool */

.ol-tooltip-measure {
	position: relative;
	background: var(--main_color_2);
	border-radius: 4px;
	color: white;
	padding: 4px 8px;
	opacity: 0.7;
	white-space: nowrap;
	font-size: 15px;
	opacity: 1;
	font-weight: lighter;
}

.ol-tooltip-measure:before {
	border-top: 6px solid var(--main_color_2);
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	content: "";
	position: absolute;
	bottom: -6px;
	margin-left: -7px;
	left: 50%;
}

/* Information */

#information {
	position: absolute;
	bottom: -50vh;
	left: 0;
	right: 0;
	margin: auto;
	display: flex;
	flex-direction: column;
	max-height: 60vh;
	width: 800px;
	max-width: calc(100vw - 10px);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	background-color: white;
	border: thin solid var(--main_color_1_light);
	border-bottom: none;
	box-sizing: border-box;
	transition: 0.2s;
	z-index: 6;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
}

#information_content {
	display: none;
	flex-direction: column;
	padding: 15px;
	overflow: scroll;
	background-color: white;
}

#information_content table {
	width: 100%;
	margin-bottom: 15px;
	border-collapse: separate;
	border-spacing: 0 10px;
}

#terrain_info {
	align-self: center;
}

#terrain_info a,
#information a {
	text-decoration: underline;
	color: var(--main_color_1);
}

.information_td_row {
	display: flex;
	gap: 15px;
}

#line_information {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	z-index: 1;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom: 1px solid var(--main_color_1);
	margin: 15px;
	margin-bottom: 0;
	background-color: white;
	user-select: none;
}

#line_information_title {
	display: flex;
	gap: 10px;
}

#line_information_icon {
	display: none;
	height: 25px;
	width: 25px;
	min-height: 25px;
	min-width: 25px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#line_information_swipe_line {
	position: absolute;
	top: -20px;
	right: 0;
	left: 0;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

#line_information_swipe_line div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

#line_information_swipe_line div div {
	width: 3px;
	height: 3px;
	min-width: 3px;
	min-height: 3px;
	border-radius: 50%;
	background-color: var(--main_color_1_light);
}

@media (hover: hover) {
	#line_information_swipe_line div:hover div {
		background-color: var(--main_color_2);
	}
}

#line_information h2 {
	font-size: 1.2rem;
}

#icon_close_information {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

/* Parcelle information */

#parcelle_information {
	display: none;
	flex-direction: column;
	padding: 15px;
	overflow: scroll;
	background-color: white;
}

#parcelle_information table {
	border-collapse: separate;
	border-spacing: 10px;
}

#parcelle_information .button {
	width: fit-content !important;
}

#parcelle_info {
	display: none;
	flex-direction: column;
}

@media screen and (max-width: 1023px) {
	#parcelle_information table td {
		width: 50%;
	}

	#parcelle_information table tr td:nth-of-type(2) {
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		width: 100%;
		text-align: end;
	}
}

/* Harvest request */

.harvest_request_step_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	animation: harvest_transition 1.5s forwards;
	width: 100%;
}

@keyframes harvest_transition {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.harvest_request_step_wrapper .line_wrapper_no_margin {
	display: flex;
	flex-direction: row;
	gap: 15px;
	justify-content: space-between;
	min-height: 25px;
	align-items: center;
}

.harvest_request_step_wrapper .line_wrapper_no_margin p {
	height: 100%;
	display: flex;
	align-items: flex-end;
}

#harvest_request_step_indicator {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 260px;
	align-self: center;
	user-select: none;
	margin-bottom: 15px;
	margin-top: 15px;
}

.harvest_request_step_indicator_wrapper {
	display: flex;
	align-items: center;
	width: 80px;
}

.first_harvest_request_step_indicator_wrapper {
	width: unset;
}

#harvest_request_step_indicator p {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	border-radius: 50%;
	border: thin solid var(--main_color_1);
	color: var(--font_grey);
	background-color: white;
}

#harvest_request_1_parcelles {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#harvest_request_1_parcelles > div {
	border-bottom: thin solid var(--main_color_1);
}

#harvest_request_perimeter_container {
	gap: 10px;
	display: flex;
	flex-direction: column;
}

.harvest_request_perimeter {
	padding: 5px;
	border-bottom: thin solid var(--main_color_1);
}

.harvest_request_box {
	padding: 5px;
	border-bottom: thin solid var(--main_color_2);
}

.harvest_request_step_indicator_line {
	width: 60px;
	height: 1px;
	border: thin dashed var(--main_color_1);
}

.harvest_request_step_indicator_active_step p {
	border: thin solid var(--main_color_2) !important;
	color: white !important;
	background-color: var(--main_color_2) !important;
	transition: 0.6s;
}

.harvest_request_step_indicator_active_step div {
	border: thin dashed var(--main_color_2);
	transition: 0.6s;
}

.declare_harvest_remove_icon {
	cursor: pointer;
	width: 20px;
	height: 20px;
}

.declare_harvest_remove_icon svg {
	width: 20px;
	height: 20px;
}

#harvest_request_return_arrow {
	position: absolute;
	left: -35px;
	z-index: 2;
	cursor: pointer;
	width: 30px;
	height: 30px;
	transform: rotate(180deg);
}

#harvest_request_return_arrow svg {
	width: 30px;
	height: 30px;
}

#harvest_request_step_indicator_tractor_icon {
	position: absolute;
	bottom: -12px;
	left: -5px;
	z-index: 1;
	height: 60px;
	width: 60px;
	transition: 0.6s;
}

#harvest_request_validate_perimeter_button {
	display: none;
}

#harvest_request_box_list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#harvest_request_box_list li {
	display: flex;
	gap: 15px;
	align-items: center;
}

#harvest_request_box_list li input {
	width: 60px;
	text-align: center;
}

.plus_one_button {
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: thin solid var(--font_grey);
	user-select: none;
}

.input_number_buttons_wrapper {
	display: flex;
	gap: 10px;
	align-items: center;
}

#harvest_request_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

#harvest_request_form div:not(.button_line_wrapper_wrap) {
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

#harvest_request_form input {
	padding: 5px;
	min-width: 200px;
}

#harvest_request_form label {
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
	gap: 2px;
}

#tuto_perimeter {
	display: flex;
	width: 100%;
	height: 250px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url("../../images/images/tuto_perimeter.gif");
	border-radius: 5px;
}

@media (hover: hover) {
	.declare_harvest_remove_icon:hover svg {
		fill: var(--main_color_2);
	}

	#harvest_request_return_arrow:hover svg {
		fill: var(--main_color_2);
	}

	.plus_one_button:hover {
		color: white;
		background-color: var(--main_color_2);
	}
}

/* FLYING SITES TOOL */

#flying_sites .expend_arrow {
	width: 25px;
	fill: var(--main_color_1_light);
	transform: 0.2s;
	cursor: pointer;
}

.flying_sites_canton_li {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.flying_sites_canton_li > div {
	cursor: pointer;
	display: flex;
	gap: 5px;
	width: 100%;
	align-items: center;
	border-bottom: thin solid var(--inactive_grey);
	padding-top: 5px;
	padding-bottom: 5px;
}

.flying_sites_canton_li > div span {
	font-size: 0.6rem;
	transition: 0.2s;
}

#flying_sites_list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.flying_sites_canton_li ul {
	display: none;
	flex-direction: column;
	gap: 10px;
	padding: 5px;
	padding-left: 15px;
}

.flying_sites_canton_li ul li {
	cursor: pointer;
}

@media (hover: hover) {
	.flying_sites_canton_li > div:hover {
		border-bottom: thin solid var(--main_color_2);
	}

	.flying_sites_canton_li > div:hover span {
		color: var(--main_color_2);
	}

	.flying_sites_canton_li ul li:hover {
		color: var(--main_color_2);
	}
}

/* LEGEND */

.legend_container {
	width: 100%;
}

.legend_item {
	display: flex;
	flex-flow: column;
	gap: 10px;
	word-break: break-word;
	width: 100%;
}

.legend_item img {
	max-width: 100%;
}

/* TABLES */

.table_tools {
	display: flex;
	gap: 15px;
	align-items: center;
	min-height: 40px;
	border-bottom: thin solid var(--main_color_1_light);
	white-space: nowrap;
}

.table_tools .tool_icon_wrapper {
	width: 30px;
	height: 30px;
}

.table_tools .tool_icon_wrapper svg {
	width: 30px;
	height: 30px;
}

.table_tools_container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.table_tools label {
	cursor: pointer;
	display: flex;
	gap: 5px;
	align-items: flex-start;
}

.mission_status_filter_checkbox_wrapper {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.table_tools_checkbox_wrapper {
	align-items: flex-end !important;
}

@media (hover: hover) {
	.table_tools .link:hover {
		color: var(--main_color_2);
	}
}

/* ECJSTable-Master custom */

.table-container th {
	font-family: var(--content_font_1);
	font-weight: bold;
	color: var(--font_grey);
}
.table-container td {
	vertical-align: middle;
}

.table-container thead {
	white-space: nowrap;
}

.table-container thead tr th {
	background-color: white;
}

@media (hover: hover) {
	.paginator-button:hover {
		color: white;
		background-color: var(--main_color_2);
		cursor: pointer;
	}

	.table-container tbody tr:hover {
		color: var(--main_color_2);
	}
}

@media screen and (max-width: 1023px) {
	.paginator {
		justify-content: unset;
	}
}

/* Sticky header management */

.table {
	z-index: 1;
	background-color: transparent;
	padding-bottom: 50px;
	padding-right: 20px;
	margin-bottom: 30px;
}

.table th {
	background-color: var(--main_color_1_light) !important;
	position: sticky;
	top: 0;
}

.table.is-striped tbody tr:not(.is-selected):nth-child(odd) {
	background-color: white;
}

/* MISSIONS */

#status_filter_1 {
	color: var(--status_requested_color);
}
#status_filter_2 {
	color: var(--status_planned_color);
}
#status_filter_3 {
	color: var(--status_completed_color);
}
#status_filter_4 {
	color: var(--status_canceled_color);
}

#missions_my_missions,
#missions_summary {
	position: sticky;
	left: 0;
	display: flex;
	flex-direction: column;
}

#missions_my_missions_no_result {
	display: none;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* MISSION */

#mission .button {
	width: 180px;
}

#icon_mission {
	display: none;
}

#mission_mission_status {
	text-align: center;
	margin-bottom: 10px;
}

#mission_upper_wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	margin-bottom: 15px;
	margin-top: 15px;
}

#mission_request,
#mission_plan,
#mission_result {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mission_kml_download_icon {
	margin-left: 25px;
	margin-bottom: 5px;
}

#mission_icon_quit_mission {
	position: absolute;
	right: 0;
}

#mission_icon_quit_mission {
	cursor: pointer;
	width: 25px;
	height: 25px;
	min-width: 25px;
	min-height: 25px;
}

#mission label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	flex: 1;
}

#mission input {
	padding: 0 5px;
}

#mission_request_form_mission_id {
	display: none;
}

.flex_1 {
	flex: 1;
}

.flex_direction_column {
	flex-direction: column;
}

#mission_request_form_parcelles,
#mission_request_form_boxes,
#mission_request_form_perimeters,
#mission_result_form_perimeters {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.flex_align_top {
	align-items: flex-start;
}

.mission_request_form_parcelles_item_wrapper,
.mission_result_form_parcelles_item_wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	padding-bottom: 10px;
}

.mission_request_perimeter_wrapper,
.mission_result_perimeter_wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
}

#mission_request_form_farmer_phone_link {
	display: flex;
	align-items: center;
	gap: 5px;
}

@media (hover: hover) {
	#mission_request_form_farmer_phone_link:hover svg {
		fill: var(--main_color_2);
	}

	#mission_request_form_farmer_phone_link:hover {
		color: var(--main_color_2);
	}
}

#mission_plan_form_pilot_loading {
	display: none;
}

#mission_request_form_parcelles .line_wrapper_no_margin {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 5px;
}

#mission hr {
	width: 100%;
	border: none;
	border-bottom: thin solid var(--main_color_1_light);
}

#icon_missions {
	position: relative;
}

#mission_request_buttons {
	margin: 15px 0;
	gap: 15px;
}

#mission .user_form {
	width: calc(100% - 30px);
}

.mission_request_remove_icon,
.mission_remove_accompagnant {
	width: 20px;
	height: 20px;
	background-image: url("../../images/icons/icon_close.svg");
}

#mission_request .user_form p {
	max-width: 120px;
}

@media (hover: hover) {
	.mission_request_remove_icon:hover {
		cursor: pointer;
		color: var(--main_color_2);
	}

	.mission_remove_accompagnant:hover {
		cursor: pointer;
		color: var(--main_color_2);
	}

	#mission_request .link:hover,
	#mission_result .link:hover {
		cursor: pointer;
		color: var(--main_color_2);
	}
}

.selected_accompagnants {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.selected_accompagnants div {
	display: flex;
	justify-content: space-between;
}

#mission_request_redrawed_perimeter,
#mission_result_redrawed_perimeter {
	display: none;
}

#mission_request_form_boxes > div {
	display: flex;
	gap: 15px;
}

#mission_request_form_boxes input {
	width: 60px;
	text-align: center;
}

#mission_result_form_animals {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mission_result_animals_parcelle_title {
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1rem;
	text-align: center;
	margin-bottom: 5px;

	width: 100%;
}

.mission_result_animals_parcelle_title .expend_arrow {
	position: absolute;
	right: 0;
	width: 25px;
	fill: var(--main_color_1_light);
	transform: 0.2s;
}

.mission_result_animals_parcelle_title .expend_arrow_opened {
	transform: rotate(90deg);
	fill: var(--main_color_2) !important;
}

@media (hover: hover) {
	.mission_result_animals_parcelle_title:hover {
		color: var(--main_color_2);
	}
	.mission_result_animals_parcelle_title:hover svg {
		fill: var(--main_color_2);
	}
}

.mission_result_animals_parcelle_wrapper {
	display: none;
	flex-direction: column;
	gap: 5px;
	border-top: thin solid var(--main_color_2);
	padding-top: 10px;
}

#mission_result_animals_total_container {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mission_result_animals_total_container_title {
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
}

#mission_result_animals_total_container div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#mission_request_form_mission_id,
#mission_request_form_commune_name {
	text-align: end;
}

.mission_result_animal_input,
#mission_result_overflown_parcelles {
	width: 60px !important;
	text-align: center;
}

#mission_result_overflown_area {
	width: 100px;
}

.ml_20px {
	margin-left: 20px;
}

@media screen and (max-width: 1023px) {
	#mission_request_perimeter_area,
	#mission_request_redraw_perimeter,
	#mission_request_redrawed_perimeter,
	#mission_result_redrawed_perimeter,
	#mission_result_redraw_perimeter {
		width: 100%;
		display: flex;
		justify-content: flex-end;
	}

	#mission .user_form {
		width: calc(100% - 30px);
	}
}

#quit_mission_mode_wrapper {
	display: none;
	position: absolute;
	top: 65px;
	flex-direction: column;
	gap: 15px;
	left: 0.5em;
}

#mission_mode_navigation_buttons_wrapper {
	display: none;
	justify-content: space-between;
	align-items: center;
	border-radius: 5px;
	background-color: white;
	text-align: center;
	width: 160px;
	align-self: center;
	border: thin solid var(--main_color_1);
}

#mission_mode_navigation_buttons_wrapper {
	margin-bottom: 15px;
}

#mission_mode_navigation_buttons_wrapper svg {
	cursor: pointer;
	background-color: white;
	border-radius: 5px;
	fill: var(--main_color_1);
	width: 30px;
	height: 30px;
}

@media (hover: hover) {
	#mission_mode_navigation_buttons_wrapper svg:hover {
		fill: white;
		background-color: var(--main_color_2);
	}
}

#mission_legend {
	cursor: pointer;
	display: flex;
	flex-direction: row;
	position: absolute;
	align-items: center;
	gap: 10px;
	bottom: 30px;
	right: calc(var(--logo_width) + 15px);
	background-color: rgba(255, 255, 255, 0.9);
	padding: 5px 15px;
	border-top-right-radius: 5px;
	font-size: 14px;
}

#mission_legend_items_wrapper {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#mission_legend_risk_items,
#mission_legend_mission_items {
	display: flex;
	gap: 10px;
}

#mission_legend_risk_items > p,
#mission_legend_mission_items > p {
	min-width: 50px;
	text-decoration: underline;
}

#mission_legend_mission_items {
	display: none;
}

#mission_legend_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	width: 22px;
	height: 22px;
	min-width: 22px;
	min-height: 22px;
	background-color: white;
}

#mission_legend_icon svg {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
}

.mission_legend_item {
	display: flex;
	gap: 5px;
	align-items: center;
}

#mission_legend .circle {
	content: "";
	height: 10px;
	width: 10px;
	border-radius: 100%;
}

#mission_legend_mission_items .mission_legend_item:nth-of-type(1) .circle {
	background-color: var(--status_requested_color);
}

#mission_legend_mission_items .mission_legend_item:nth-of-type(2) .circle {
	background-color: var(--status_planned_color);
}

#mission_legend_risk_items .mission_legend_item:nth-of-type(1) .circle {
	border: thin solid grey;
	background-color: var(--risk_low_color);
}

#mission_legend_risk_items .mission_legend_item:nth-of-type(2) .circle {
	background-color: var(--risk_moderate_color);
}

#mission_legend_risk_items .mission_legend_item:nth-of-type(3) .circle {
	background-color: var(--risk_high_color);
}

@media screen and (max-width: 1023px) {
	#mission_legend {
		padding: 5px 10px;
	}
}

@media (hover: hover) {
	#mission_legend:hover svg {
		fill: var(--main_color_2);
	}
}

#mission_print_icon {
	position: absolute;
	left: 0;
}

#mission_print {
	display: none;
	flex-direction: column;
	gap: 15px;
	padding: 30px;
}

#mission_print_data {
	display: flex;
	flex-direction: row;
	gap: 30px;
}

#mission_print h2 {
	font-size: 1.6rem;
	align-self: center;
	text-align: center;
	margin-bottom: 35px;
}

#mission_print_request,
#mission_print_plan {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

#mission_print label {
	display: flex;
	justify-content: space-between;
	gap: 15px;
}

#mission_print_map_image {
	object-fit: cover;
	width: 50%;
	height: 300px;
}

/* USER TOOL */

#user_users,
#user_accompagnants {
	flex-direction: column;
	position: sticky;
	left: 0;
}

#user_users_edit,
#user_accompagnants_edit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.user_form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: max-content;
	margin-top: 15px;
}

#user_users .display_tool_header .return_icon,
#user_accompagnants .display_tool_header .return_icon {
	position: absolute;
	left: 0;
}

.user_form input,
.user_form select {
	width: 200px;
	max-width: 200px;
}
.user_form input {
	padding: 0 5px;
}

.user_form label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.user_form p {
	display: flex;
	justify-content: space-between;
}

.user_form .button,
.user_form .button_secondary,
.user_form .button_alert {
	align-self: center;
	width: 180px;
	text-align: center;
	align-items: center;
	justify-content: center;
}

#user_form button,
#accompagnant_form button {
	margin-top: 15px;
}

#user_users_edit,
#user_accompagnants_edit {
	display: none;
}

/* #user_users_table th:first-of-type,
#user_users_table td:first-of-type,
#user_volunteers_table th:first-of-type,
#user_volunteers_table td:first-of-type {
	display: none;
} */

@media screen and (max-width: 1023px) {
	.user_form label {
		width: unset;
	}
	.user_form label {
		flex-direction: column;
		gap: 5px;
		width: unset;
	}
}

/* NOTIFICATION DOT */

.notification_dot {
	position: absolute;
	top: -5px;
	left: -10px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: white;
	font-weight: bold;
	background-color: var(--main_color_2);
	border: thin solid white;
	border-radius: 50%;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
	font-size: 14px;
}

/* KM TOOL */

#km_report,
#km_history {
	display: flex;
	flex-direction: column;
	min-height: 400px;
}

#km_report_container,
#km_history_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

#km_report_container form,
#km_history_container form {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 30px;
	width: 100%;
}

#km_report_container form input,
#km_history_container form input {
	width: 60px;
	text-align: center;
}

#km_report_container form label,
#km_history_container form label {
	width: max-content;
}

#km_report_info {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
}
#km_history_container form {
	flex-direction: row;
	padding-bottom: 10px;
	align-items: center;
	justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
}

#km_history_container form label {
	gap: 5px;
}

#km_history_container form .button {
	width: max-content !important;
	font-size: 1rem !important;
	padding: 5px;
}

#km_history_year {
	text-align: center;
	align-items: center;
	justify-content: center;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 15px;
}

#km_history_no_result {
	margin-top: 15px;
	text-align: center;
	align-items: center;
	justify-content: center;
}

#user_form_km_costs_label {
	display: none !important;
}

@media screen and (max-width: 1023px) {
	#km_report_container form label,
	#km_history_container form label {
		flex-direction: row;
	}

	#km_history_container form {
		padding-left: 5px;
		padding-right: 5px;
	}
}

/* ACCOUNTING TOOL */

#accounting_year,
#accounting_archive,
#accounting_archive_list,
#accounting_per_mission {
	flex-direction: column;
	position: sticky;
	left: 0;
}

#accounting_costs {
	flex-direction: column;
	align-items: center;
}

#accounting_costs_information {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	border-bottom: thin solid var(--main_color_1_light);
	padding-bottom: 15px;
}

#accounting_costs input {
	width: 60px;
	text-align: center;
}

#accounting_archive_edit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#accounting_archive_edit button,
#accounting_cost_form_button {
	margin-top: 15px;
}

/* CONTEXT MENU */

#context_menu {
	position: absolute;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	width: 200px;
	max-width: 90%;
	background-color: rgba(255, 255, 255);
	border-radius: 5px;
	box-shadow: var(--box_shadow_grey) 2px 2px 6px;
}

.context_menu_item {
	display: flex;
	align-items: center;
	gap: 5px;
	width: 100%;
	height: 40px;
	border-bottom: thin solid var(--main_color_1_light);
	cursor: pointer;
	padding: 5px;
}

.context_menu_icon {
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
}

@media (hover: hover) {
	.context_menu_item:hover {
		color: var(--main_color_2);
	}
	.context_menu_item:hover .context_menu_icon svg {
		fill: var(--main_color_2);
	}
}

/* INTRO */

#intro_logo a {
	margin-bottom: 5px;
	margin-top: 5px;
}

#intro_logo a p {
	padding: unset;
}

#intro_msg p {
	display: flex;
	align-items: center;
}

#intro_msg img {
	width: 25px;
	height: 25px;
	min-width: 25px;
	min-height: 25px;
	margin-right: 10px;
}

/* RP PAGE */

.rp_page_form_body {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	margin: 0;
}

.rp_page_form_wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 15px;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.8);
	width: 200px;
	height: max-content;
}

.rp_page_form_wrapper img {
	width: 200px;
}

.rp_page_form_wrapper h1 {
	margin: 15px 0;
	text-align: center;
}
