.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

.marker-cluster-small {  height: 40px !important; width: 40px !important;         border-radius: 50% !important;}
.marker-cluster-medium { height: 80px !important; width: 80px !important;         border-radius: 50% !important;}
.marker-cluster-large { height: 160px !important; width: 160px !important;         border-radius: 50% !important;}

.customMarkerCluster {
	background-clip: padding-box;
	border-radius: 50%;
	}

  .count0 {
    border: solid 4px gray;
    display: inline-block;
    text-align: center;
    margin: 1%;
    background-size: 100% auto;
    }
  
    .count0::after {
      content: '';
      display: inline-block;
      padding-top: 100%;
      vertical-align: middle;
    }
  
    .count0b {
      box-shadow: inset 2000px 0 0 0 rgba(255, 165, 0, 0.5);
      border-color: rgba(255, 165, 0, 1);
    }

    
.count1 {
  border: solid 4px gray;
  display: inline-block;
  text-align: center;
  margin: 1%;
  background-size: 100% auto;
	}

  .count1::after {
    content: '';
    display: inline-block;
    padding-top: 100%;
    vertical-align: middle;
  }

  .count1b {
    box-shadow: inset 2000px 0 0 0 rgba(28, 150, 229, 0.5);
    border-color: rgba(28, 150, 229, 1);
  }

	.count2 {
    border: solid 4px gray;
    display: inline-block;
    text-align: center;
    margin: 1%;
    background-size: 100% auto;
    }
  
    .count2::after {
      content: '';
      display: inline-block;
      padding-top: 100%;
      vertical-align: middle;
    }
  
    .count2b {
      box-shadow: inset 2000px 0 0 0 rgba(255, 0, 0, 0.5);
      border-color: rgba(255, 0, 0, 1);
    }
  
    .count3 {
      border: solid 4px gray;
      display: inline-block;
      text-align: center;
      margin: 1%;
      background-size: 100% auto;
      }
    
      .count3::after {
        content: '';
        display: inline-block;
        padding-top: 100%;
        vertical-align: middle;
      }
    
      .count3b {
        box-shadow: inset 2000px 0 0 0 rgba(87, 63, 4, 0.5);
        border-color: rgb(87, 63, 4);
      }


      .count4 {
        border: solid 4px gray;
        display: inline-block;
        text-align: center;
        margin: 1%;
        background-size: 100% auto;
        }
      
        .count4::after {
          content: '';
          display: inline-block;
          padding-top: 100%;
          vertical-align: middle;
        }
      
        .count4b {
          box-shadow: inset 2000px 0 0 0 rgba(152, 229, 28, 0.5);
          border-color: rgba(152, 229, 28, 1);
        }

        .count5 {
          border: solid 4px gray;
          display: inline-block;
          text-align: center;
          margin: 1%;
          background-size: 100% auto;
          }
        
          .count5::after {
            content: '';
            display: inline-block;
            padding-top: 100%;
            vertical-align: middle;
          }
        
          .count5b {
            box-shadow: inset 2000px 0 0 0 rgba(16, 119, 56, 0.5);
            border-color: rgba(16, 119, 56, 1);
          }

          .count6 {
            border: solid 4px gray;
            display: inline-block;
            text-align: center;
            margin: 1%;
            background-size: 100% auto;
            }
          
            .count6::after {
              content: '';
              display: inline-block;
              padding-top: 100%;
              vertical-align: middle;
            }
          
            .count6b {
              box-shadow: inset 2000px 0 0 0 rgba(152, 26, 229, 0.5);
              border-color: rgba(152, 26, 229, 1);
            }

					
/*Legend specific*/
.legend {
    padding: 6px 0px;
    font-size: 14px;
    background: white;
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 24px;
    text-align: left;
    min-width: max-content;
    right: -20px;
    margin-right: unset !important;
    margin-top: -2px !important;
  }

  				
/*Legend specific*/
.legend2 {
  padding: 6px 0px;
  font-size: 14px;
  background: white;
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  /*border-radius: 5px;*/
  line-height: 24px;
  text-align: left;
  min-width: max-content;

  margin-right: unset !important;
  margin-top: -2px !important;
}

  @media screen and (orientation: portrait) and (min-width:320px) and (max-height: 820px) {
	.legend{
		font-size: 9px;
		z-index: 2 !important;
	}
  }

  @media screen and (orientation: portrait) and (max-width:414px) {
    .legend{
      font-size: 9px;
      z-index: 2 !important;
    }

    .legendBlock {
      position: relative !important;
  }
    }
  

    @media screen and (max-width: 1440px) {
      .left-map .menu-map {
        width: 20vw !important;
    }
  }

  @media screen and (orientation: portrait) and (max-width:720px) and (min-height: 821px) {
    .legend{
      font-size: 9px;
      z-index: 2 !important;
    }
    }
  

  @media screen and (orientation: portrait) and (min-width:720px) {
    .legend{
    
      font-size: 9px;
      margin-right: 0% !important;
      z-index: 2 !important;
    }

  
    }


    .left-map {
      left: 0;
      right: unset;
      height: 100%;
      width: 100vw !important;
      z-index: 9999;
  }

  @media screen and (orientation: landscape) {
	.legend{
		/*left: 85vw;*/
	}
  }

  .legend h4 {
	text-align: center;
	font-size: 16px;
	margin: 2px 12px 8px;
	color: #777;
  }
  
  .legend i {
	width: 18px;
	height: 18px;
	float: left;
	margin: 0 8px 0 0;
	opacity: 0.7;
  }
  
  .legend i.icon {
	background-size: 18px;
	background-color: rgba(255, 255, 255, 1);
  }
  
  .circle {
	height: 25px;
	width: 25px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
  }

  a.buttonLegend {
	display:block;
	float:left;
	color:#fff;
	text-align:center;
	font-size:24px;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid rgba(0,0,0,0.5);
	border-bottom: 3px solid rgba(0,0,0,0.5);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.5), /* Exterior Shadow */
	  inset 0 1px rgba(255,255,255,0.3), /* Top light Line */
	  inset 0 10px rgba(255,255,255,0.2), /* Top Light Shadow */
	  inset 0 10px 20px rgba(255,255,255,0.25), /* Sides Light Shadow */
	  inset 0 -15px 30px rgba(0,0,0,0.3); /* Dark Background */
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.5),
	  inset 0 1px rgba(255,255,255,0.3),
	  inset 0 10px rgba(255,255,255,0.2),
	  inset 0 10px 20px rgba(255,255,255,0.25),
	  inset 0 -15px 30px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 2px 8px rgba(0,0,0,0.5),
	  inset 0 1px rgba(255,255,255,0.3),
	  inset 0 10px rgba(255,255,255,0.2),
	  inset 0 10px 20px rgba(255,255,255,0.25),
	  inset 0 -15px 30px rgba(0,0,0,0.3);
  }
  
  a.buttonLegend:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
  }
  .legendBlock {
    position: fixed;
    height: 52px;
  }
  .legendBlock {
   z-index: 1 !important;
    margin-top: 70px;
    float: right;
  }

  .left-map .menu-map {
    margin: 0;
    width: 20vw;
    margin-left: 0px;
    left: 0px;
    height: 100vh;
    float: left;
    z-index: 1000;
    display: none;
    margin-top: 0 !important;
    /* overflow-y: auto; */
}
  
  .legendTitle {
    z-index: 100 !important;
    position: fixed !important;
  }
  @media screen and (orientation: portrait) {
    .legendTitle {
    top: 40px;
    }
  }

  @media screen and (orientation: landscape) and (min-width: 1281px){
  .legendBlock {
    margin-top: 70px;
    float: right;
  }
  
  .legendTitle {
    z-index: 10000;
    margin-left: 240px;
    margin-top: 70px
  }
}

.leaflet-top .leaflet-right .left-map {
  width: 100%;
}

@media screen and (orientation: landscape) and (max-width: 1281px){
	.legendBlock {
	  margin-top: 200px;
    float: right !important;
	}
	
	.legendTitle {
	  z-index: 10000;
	  margin-left: 52%;
	  margin-top: 200px
	}
  }

.legendcomm1 { background: linear-gradient(0deg, rgb(236, 202, 9) 0.4em, rgb(230, 205, 69) 0.5em, rgb(207, 178, 9) 0.7em,  rgb(180, 155, 9) 0.75em) !important; border: 3px solid white;}
.legendcomm2 { background: linear-gradient(0deg, rgb(146, 145, 145) 0.4em, #C0C0C0 0.5em, #C0C0C0 0.7em,  #a09f9fe1 0.75em) !important; border: 3px solid white;}
.legendcomm3 { background: linear-gradient(0deg, rgb(122, 83, 10) 0.4em, rgb(99, 90, 44) 0.5em, goldenrod  0.7em, rgb(155, 115, 40) 0.75em) !important; border: 3px solid white;}

.buttonLegendComm1 { 
	display: flex;
	justify-content: center;
	align-items: center;
	width: 70px;
	height: 20px;
	text-align: center;
	border-radius: 12px;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	margin: 7px;
}

  .buttonLegendComm1:hover {
	border-color: snow;
	border-width: 4px;
	color: #5e5e5e;
  }
  .buttonLegendComm1:hover::before {
	opacity: 1;
  }
  .buttonLegendComm1::before {
	width: 100%;
	height: 1em;
	position: absolute;
	left: 0;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
	opacity: 0;
	transition: all 0.65s;
	content: "";
  }

@media screen and (orientation: portrait) {
.legendco { display: flex;}

}	

.legendcommcentral {
  position: fixed;
  background-color: transparent;
  display: flex;
}

@media screen and (orientation: landscape) and (max-width: 1280px) {
	.legendco { display: flex;}



	.buttonLegendComm1 { 
		margin: 3px !important;
	}
	
}

@media screen and (orientation: landscape) and (min-width: 1281px) {
	.legendco { display: flex;}

	.buttonLegendComm1 { 
		margin: 12px !important;
	}

	.buttonLegendComm1 :hover { 
	}
}


.buttonLegendComm1,
.buttonLegendComm1 *,
.buttonLegendComm1 :after,
.buttonLegendComm1 :before,
.buttonLegendComm1:after,
.buttonLegendComm1:before {
  border: 0 solid;
  box-sizing: border-box;
}
.buttonLegendComm1 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
}
.buttonLegendComm1:disabled {
  cursor: default;
}
.buttonLegendComm1:-moz-focusring {
  outline: auto;
}
.buttonLegendComm1 svg {
  vertical-align: middle;
}
.buttonLegendComm1 [hidden] {
  display: none;
}
.buttonLegendComm1 {
  --thickness: 0.3rem;
  --roundness: 1.2rem;
  --color: #eff6ff;
  --opacity: 0.8;
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  background: none;
  background: hsla(0, 0%, 100%, 0.2);
  border: none;
  border-radius: var(--roundness);
  color: var(--color);
  cursor: pointer;
  display: block;
  font-family: Poppins, "sans-serif";
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  position: relative;
}
.buttonLegendComm1:hover {
  background: hsla(0, 0%, 100%, 0.3);
  filter: brightness(1.2);
}
.buttonLegendComm1:active {
  --opacity: 0;
  background: hsla(0, 0%, 100%, 0.1);
}
.buttonLegendComm1 svg {
  border-radius: var(--roundness);
  display: block;
  filter: url(#glow);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.buttonLegendComm1 rect {
  fill: none;
  stroke: var(--color);
  stroke-width: var(--thickness);
  rx: var(--roundness);
  stroke-linejoin: round;
  stroke-dasharray: 185%;
  stroke-dashoffset: 80;
  -webkit-animation: snake 2s linear infinite;
  animation: snake 2s linear infinite;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s;
  width: 100%;
}
.buttonLegendComm1:hover rect {
  -webkit-animation-play-state: running;
  animation-play-state: running;
  opacity: var(--opacity);
}
@-webkit-keyframes snake {
  to {
    stroke-dashoffset: 370%;
  }
}
@keyframes snake {
  to {
    stroke-dashoffset: 370%;
  }
}

.modal {
	display: none;
  }
  .modal-back {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba( 0, 0, 0, .25 )
  }
  .modal-container {
	position: fixed;
	top: 50%;
	left: 50%;
	padding: 25px;
	background: white;
	transform: translate(-50%, -50%)
  }


  .modalCities {
    display: none;
    }
    .modalCities-back {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba( 0, 0, 0, .25 )
    }


  .idea-popup-container {
    display: none;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    background-color: var(--FormCouleurFond);
    overflow-y: auto;

    background-size: cover;
}

#IdeaPopup2 h1 {
    color: var(--FormCouleurCarac);
    text-align: center;
    font-size: 52px;
    margin: 10px 0 30px 0;
}
#IdeaPopup2 .closeAnnexPage {
    position: absolute;
    right: 2vw;
    top: 2vh;
}

#IdeaPopup2 #IdeaPopupForm2 {
    position: absolute;
    transform: translate(-50%, -50%) scale(0.7);
    top: 50%;
    left: 50%;
    font-size: var(--FormFontSize);
    background-color: var(--FormCouleurFond);
    text-align: center;
    overflow: hidden;

    max-width: 600px;
    padding: 10px 50px;
}

#IdeaPopup2 .multi-button button {
  height: 50px;
  width: 130px;
  font-weight: bold;
  color: white;
  font-size: var(--FormFontSize);
  border: none;
  margin: -2px;
  padding: 0;
}

#IdeaPopup2 .container {
    padding: 16px;
}

#IdeaPopup2 .popup {
    background-color: green;
    width: 100% !important;
    margin: 30px 0;
    padding: 20px;
    border-radius: 25px;
    max-width: unset;
}




#IdeaPopup2 .popup .content {
    max-height: 100%;
    overflow: auto;
    color: darkgray;
    font-weight: bolder;
}


#IdeaPopup2 .groupe-container {
    background-color: transparent;
}

#IdeaPopup2 #subjectIdea2 {
    width: 300px;
    height: 50vh !important;
    font-size: var(--FormFontSizeCarac);
    vertical-align: top;
    padding-top: 20px;
    padding: 40px;
}

.txtsearch100 {
  width:380px !important;height: 40px !important;font-size:var(--FormFontSizeCarac);vertical-align:unset;padding-top: 0px;padding: 0px;
}



@media screen and (max-width:780px) and (max-height:900px) {
    #IdeaPopup2 .groupe-container {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
    #IdeaPopup2 #IdeaPopupForm2 {
        transform: scale(1);
        margin: 0 !important;
        height: 100%;
        top: 0;
        left: 0;
        max-width: unset;
        min-width: unset;
        padding: 0 !important;
        position: relative;
    }
    #IdeaPopup2 #IdeaPopupForm2 .container {
        height: 100%;
    }
    
    #IdeaPopup2 .popup .content {
        max-height: 100%;
        overflow: auto;
        color: darkgray;
        font-weight: bolder;
    }
    
}

@media screen and (max-width: 767px) {
    #IdeaPopup2 {
        height: 100%;
    }
}

#confirmIdea2 { display: none;}

#confirmSearchCity { display: none;}

#SearchCityPopup h1 {
  color: var(--FormCouleurCarac);
  text-align: center;
  font-size: var(--FormTailleTitre);
  margin: 10px 0 30px 0;
}
#SearchCityPopup .closeAnnexPage {
  position: absolute;
  right: 2vw;
  top: 2vh;
}

#SearchCityPopup #IdeaPopupForm2 {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.72);
  top: 50%;
  left: 50%;
  font-size: var(--FormFontSize);
  background-color: var(--FormCouleurFond);
  text-align: center;
  overflow: hidden;

  max-width: 600px;
  padding: 10px 50px;
}

#SearchCityPopup .multi-button button {
  font-weight: bold;
  color: white;
  font-size: var(--FormFontSize);
  border: none;
  margin: -2px;
  padding: 0;
}

#SearchCityPopup .container {
  padding: 16px;
}

#SearchCityPopup .popup {
  background-color: green;
  width: 100% !important;
  margin: 30px 0;
  padding: 20px;
  border-radius: 25px;
  max-width: unset;
}




#SearchCityPopup .popup .content {
  max-height: 100%;
  overflow: auto;
  color: darkgray;
  font-weight: bolder;
}


#SearchCityPopup .groupe-container {
  background-color: transparent;
}

#SearchCityPopup #subjectIdea2 {
  width: 300px;
  height: 50vh !important;
  font-size: var(--FormFontSizeCarac);
  vertical-align: top;
  padding-top: 20px;
  padding: 40px;
}


@media screen and (max-width:780px) and (max-height:900px) {
  #SearchCityPopup .groupe-container {
      height: 100%;
      width: 100%;
      overflow: hidden;
  }
  #SearchCityPopup #IdeaPopupForm2 {
      transform: scale(1);
      margin: 0 !important;
      height: 100%;
      top: 0;
      left: 0;
      max-width: unset;
      min-width: unset;
      padding: 0 !important;
      position: relative;
  }
  #SearchCityPopup #IdeaPopupForm2 .container {
      height: 100%;
  }
  
  #SearchCityPopup .popup .content {
      max-height: 100%;
      overflow: auto;
      color: darkgray;
      font-weight: bolder;
  }
  
}

@media screen and (max-width: 767px) {
  #SearchCityPopup {
      height: 100%;
      transform: scale(0.5);
  }
}



div.autocomplete {
  position: absolute;
  width: 500px;
  background-color: white;
  margin: 0px;
  padding: 0px;
}

div.autocomplete ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  max-height: 20em;
  overflow: auto;
}

div.autocomplete ul li.selected {
    background-color: #ffb;
}

div.autocomplete ul li {
  list-style-type:none;
  display: block;
  margin: 0;
  padding: 2px;
  cursor: pointer;
}

#IdeaPopupForm3 {
  background-color: var(--FormCouleurFond);
}

.autocomplete-items {
  overflow-y: auto;
  padding: 0 5px;
}
.autocomplete-items div {
	color: #9c9c9c;
  padding: 5px 0;
  border-bottom: 1px solid #e6e6e6;
}
.autocomplete-items div:hover {
	cursor: pointer;
	color: #323232;;
}
.cities-list {
	max-height: 500px;
  overflow-y: auto;
  width: 200px;
  padding: 20px 40px; 
}

.autocomplete-drop-down {
  position: relative;
  width: 30vw;
}

.countries-input,
.countries-list {
  border: none;
  box-sizing: border-box;
  width: 30vw;
}

.countries-input-container {
  height: 2.5rem;
  position: relative;
}

.countries-input {
  height: 2.5rem;
  padding: 1em 0.5em;
  position: relative;
  transition: outline 0.2s ease;
  transition-delay: 0.2s;
}
.countries-input:focus + .input-underline {
  transform: scaleY(0);
}
.countries-input:focus ~ .input-arrow {
  transform: rotate(180deg);
}

.input-underline {
  background: #000;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform-origin: center bottom;
  transition: transform 0.3s ease;
  width: 30vw;
}

.input-arrow {
  position: absolute;
  right: 0.5em;
  top: calc(50% - 0.5rem);
  transition: transform 0.3s ease;
}

.countries-list-container {
  box-shadow: 0 8px 15px 0 rgba(33, 33, 33, 0.2);
  opacity: 0;
  position: relative;
  transform: scaleY(0);
  visibility: hidden;
  transform-origin: center top;
  transition: all 0.3s ease;
  width: 30vw;
}
.countries-list-container.visible {
  opacity: 1;
  transform: scaleY(1);
  visibility: visible;
}

.countries-list {
  align-content: middle;
  display: flex;
  flex-wrap: wrap;
  max-height: 11.5em;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 30vw;
}

.country {
  cursor: pointer;
  padding: 0.5em 0;
  transition: background 0.5s ease;
  width: 30vw;
}
.country:hover {
  background: #CCC;
}
.country span {
  box-sizing: border-box;
  display: inline-block;
}

.country--abbreviation {
  padding: 0 1em;
  width: 18%;
}

.country--name {
  width: 78%;
}

.multi-button button {
  height: 60px;
  width: 150px;
  font-weight: bold;
  color: white;
  font-size: 95%;
  border: none;
  margin: -2.5px;
  padding: 0;
  stroke: black;
  outline: none;
}
