#main{
	display: flex;
	flex-direction: column;
	justify-content: top;
	width : auto;
	/* width : 725.31px; */
	height: 215px;
	margin-top:47px;
	margin-bottom: 25px;
	border : solid #bba992;
	border-width: 4px;
	max-height: 320px;
	overflow-y: auto;
	background-color: #c4deff;
}
/* @media screen and (max-width: 1200px) {
	#main{
		margin-top: unset;
	}
} */
#map-container {
	width: 90%;
	/* width: 717px; */
	height:auto;
	position: relative;
}

svg#map {
    /* min-width: 60%; */
    width: 111%;
	background-color: #c4deff;
	position: relative;
    height: 206px;
}

#legend-container {
	position: absolute;
	bottom: 0;
	right: -9%;
	width: auto;
	display: flex;
	justify-content: flex-end;
	/* padding: 8px 12px; */
	z-index: 10; 
	align-items: center;
	border-radius: 0 12px;
}

#legend{
	/* background-color: #c0d6ee9e; */
	height: auto;
	width: 100%;
}
.legend-simple {
	color: red;
}
.legend-plus {
	color: green;
}

#legend-html.legend-flex {
  display: flex;
  gap: 1.8em;
  align-items: center;
  margin: 4px 10px 4px 12px;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0.5px solid #52483ae0;
}

.legend-text {
	margin-left: 8px;
	font-size: 14px;
}
#legend-item-source, #legend-item-other {
	background-color: rgba(255, 255, 255, 0.4); 
	border-radius: 8px;
	padding: 1px 6px;
}

#rect_l {
	/* background-color: violet; */
	fill:#4b4437cc;
	border-radius: 5px;
	padding: 3px 8px;
}
#text_l {
	font-size: 16px;
	font-weight: 600;
}

.circle-list-1 { /*cercle du sens 1*/
	fill: blue;
	stroke:black;
	alignment-baseline: middle;
}
.circle-list-2 {  /*cercle du sens 2*/
    fill: red;
    stroke:black;
    alignment-baseline: middle;
}
.circle-both {  /*cercle du sens 3*/
    fill: violet;
    stroke:black;
    alignment-baseline: middle;
}

.circle-default{  /*cercle avec aucun des deux sens*/
	fill: orange;
	stroke: #52483ae0;
	alignment-baseline: middle;
	/* stroke-width: 0.6px; */
}

.other, #legend-circle-other {
	fill:#887a74;
	stroke: #8c5200eb;
	/* stroke-width: 2px; */
}

.circle-default {
    fill: orange;
    stroke: #4f0505;
}

.circle-other-path {
	fill:#887a74;
	stroke: #8c5200eb;
}

.circle-no-path {
    fill: #ffad47eb;
    stroke: #403c2aba;
	/* z-index: 3; */
}

#legend-circle-source {
  background: orange;
}

#legend-circle-other {
  background:#887a74;
  border-color: #8c5200eb;
}
.nan{
	fill:transparent;
	stroke:orange;
}

#zoom-controls {
  position: absolute;
  top: 10px;
  right: -8%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

#zoom-controls button {
  background-color: #b68bff87;
  border: 1px solid #888;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 18px;
  cursor: pointer;
}
#zoom-controls button:hover {
  background-color: #8a47fbb3;
}