/**
 * 02/10/25 : ajout mise en forme Suggestions
 * 09/10/25 : ajout mise en forme des marker-*
 * 10/12/25 : gestion des TR cliquables tr[href]
 * 15/12/25 : ajout .marker-commande-* & refonte mise en forme de .marker-icon + Cartographie > Filtrage
 */
body {
    background-color: AliceBlue;
}

tr[href] {
	cursor: pointer;
}
.table>tbody>tr[href]:hover>* {
    --bs-table-color-state: var(--bs-table-hover-color);
    --bs-table-bg-state: var(--bs-table-hover-bg);
}

/********************************************/
/* 		Suggestions (ie autocomplete) 		*/
.suggest-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.suggest-items > * {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
  display: block;
  padding: 4px;
}
.suggest-reverse {
  top: inherit;
  bottom: 100%;
}
.suggest-reverse > * {
  border-bottom-style: none;
  border-top: 1px solid #d4d4d4;
}
.suggest-items > *:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.suggest-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/********************************************/
/* 			Cartographie > Markers 			*/
.marker-icon {
	/* background-color: rgb(255 255 255 / 50%); */
	filter: drop-shadow(-1px -1px white) drop-shadow(-1px +1px white) drop-shadow(+1px +1px white) drop-shadow(+1px -1px white);
}
.marker-site { color: blue; }
.marker-client { color: green; }
.marker-commande { color: green; }
.marker-commande-valide { color: orange; }
.marker-commande-confirme { color: red; }
.marker-commande-expedie { color: blue; }
.marker-commande-facture {
	color: white;
	filter: drop-shadow(-1px -1px black) drop-shadow(-1px +1px black) drop-shadow(+1px +1px black) drop-shadow(+1px -1px black);
}

/********************************************/
/* 		 Cartographie > Affrètement			*/
.map-control-affretement {
	border: 2px solid rgba(0,0,0,.2);
	background-clip: padding-box;
	box-shadow: none;
	background: #fff;
	border-radius: 5px;
}
.map-control-affretement-toggle {
	width: 44px;
	height: 44px;
	display: block;
	padding: .5em;
	color: grey !important;
}
.map-control-affretement-expanded .map-control-affretement-toggle {
	display: none;
}
.map-control-affretement-list {
	min-width: 44px;
	max-width: 33vw;
	min-height: 44px;
	display: none;
	padding: .5em;
}
.map-control-affretement-expanded .map-control-affretement-list {
	display: block;
}

/********************************************/
/* 		 Cartographie > Filtrage			*/
.map-control-filtrage {
	border: 2px solid rgba(0,0,0,.2);
	background-clip: padding-box;
	box-shadow: none;
	background: #fff;
	border-radius: 5px;
}
.map-control-filtrage-toggle {
	width: 44px;
	height: 44px;
	display: block;
	padding: .5em;
	color: grey !important;
}
.map-control-filtrage-expanded .map-control-filtrage-toggle {
	display: none;
}
.map-control-filtrage-list {
	min-width: 44px;
	max-width: 33vw;
	min-height: 44px;
	display: none;
	padding: .5em;
}
.map-control-filtrage-list svg {
	height: 1.25em;
	vertical-align: top;
}
.map-control-filtrage-list li {
	padding: .5em .25em .5em .25em; 
}
.map-control-filtrage-list ul {
	margin-top: .25em;
}
.map-control-filtrage-expanded .map-control-filtrage-list {
	display: block;
}

