
.interactive-map {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .filters-map {
    width: 87%;
    display: flex;
    align-items: center;
    margin: auto;
    padding: 40px 0;
  }
  
  .filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .filters-map .filters-map-title {
    margin: 0 20px 0 0;
    white-space: nowrap;
  }
  
  @media screen and (max-width: 1124px) {
    .filters-map {
      flex-direction: column;
    }
  
    .filters-map-title {
      margin: 0 0 15px 0 !important;
    }
  
    .filters-container {
      justify-content: center;
    }
  
    #category-container {
      width: calc(100% - 40px) !important;
      padding-left: 0 !important;
      margin-bottom: 15px;
    }
  
    #map {
      height: 70vh !important;
      width: 100vw !important;
      z-index: 0;
    }
  }
  
  .filters-map p {
    font-weight: 700;
    color: black;
  }
  
  .filters-map-title {
    margin-right: 12px;
  }
  
  .critere_button {
    border: 2px solid #cccccc;
    color: black !important;
    text-transform: uppercase;
    background-color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    border-radius: 5px;
    white-space: nowrap;
    padding: 10px 15px;
    margin-bottom: 12px;
  }
  
  .critere_button span {
    text-align: center;
  }
  
  @media only screen and (max-width: 650px) {
    .map-listing-mobile {
      display: block;
      margin-top: 20px;
    }
  
    .map-listing-mobile .infos {
      display: none;
      margin-top: 20px;
    }
  
    .map-listing-mobile > div {
      position: relative;
    }
  
    .map-listing-mobile .single {
      margin-bottom: 15px;
      padding: 10px;
      background-color: #f2f2f2;
    }
  
    .map-listing-mobile .single .agglo-name,
    .map-listing-mobile .single .agglo-communes {
      font-size: 15px !important;
    }
  
    .map-listing-mobile .single .agglo-description {
      font-size: 14px !important;
    }
  
    .map-listing-mobile .single.revelation_on .infos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .map-listing-mobile .single.revelation_on .image-agglo {
      height: 50px;
    }
  
    .cross:before {
      -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    .cross:after {
      -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
      transform: rotate(90deg);
    }
  
    .cross {
      position: absolute;
      right: 0;
      top: 16px;
      width: 32px;
      height: 32px;
      right: 7px;
      -webkit-transition: all 0.5s;
      -o-transition: all 0.5s;
      transition: all 0.5s;
    }
  
    .cross:hover {
      cursor: pointer;
    }
  
    .cross.open:before {
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition: all 0.5s;
      -o-transition: all 0.5s;
      transition: all 0.5s;
    }
  
    .cross:before,
    .cross:after {
      height: 14px;
    }
  
    .cross:before,
    .cross:after {
      position: absolute;
      left: 15px;
      content: " ";
      height: 16px;
      width: 2px;
      background-color: #000;
    }
  
    .cross.open:after {
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition: all 0.5s;
      -o-transition: all 0.5s;
      transition: all 0.5s;
    }
  
    #pop-up {
      display: none;
    }
  
    .filters-container {
      display: flex;
      flex-direction: column;
    }
  
    .critere_button {
      margin-right: 0 !important;
      margin-bottom: 15px;
      justify-content: flex-start;
      min-width: 90%;
    }
  
    .critere_button span {
      text-align: left;
    }
  
    .critere_button:not(:last-child) {
      margin-right: 0px !important;
    }
  
    .critere_button {
      white-space: normal;
      max-width: 90%;
    }
  }
  
  .critere_button:not(:last-child) {
    margin-right: 12px;
  }
  
  .critere_button:hover,
  .critere_button:active {
    background-color: white;
    color: #000000;
    cursor: pointer;
  }
  
  .critere_button img {
    max-width: 40px;
    max-height: 40px;
    margin-right: 10px;
  }
  
  #category-container,
  .category-container {
    width: 24%;
    padding-left: 35px;
    height: auto;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
  }
  
  #category-name,
  .category-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  #category-name img,
  .category-name img {
    max-width: 40px;
    max-height: 40px;
    margin-right: 20px;
  }
  
  .category_title {
    margin: 0;
    /* white-space: nowrap; */
    font-family: "Galatea", Sans-serif;
    font-weight: 900;
    color: black;
    font-size: 18px;
  }
  
  #category-listing,
  .category-listing {
    max-height: 100%;
    overflow-y: auto;
  }
  
  #category-listing h6,
  .category-listing h6 {
    font-weight: bold;
    text-transform: uppercase;
  }
  
  #category-listing ul li,
  .category-listing ul li {
    list-style: none;
    display: flex;
  }
  
  #category-listing ul.tramways li,
  .category-listing ul.tramways li {
    align-items: center;
    display: flex;
  }
  
  #category-listing ul li span,
  .category-listing ul li span {
    display: flex;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    margin-right: 10px;
  }
  
  #category-listing ul li span.extinction-aucune,
  .category-listing ul li span.extinction-aucune {
    background-color: #fdca40;
  }
  
  #category-listing ul li span.extinction-baisse,
  .category-listing ul li span.extinction-baisse {
    background-color: #caf0f8;
  }
  
  #category-listing ul li span.extinction-partielle,
  .category-listing ul li span.extinction-partielle {
    background-color: #2fb3fb;
  }
  
  #category-listing ul li span.extinction-totale,
  .category-listing ul li span.extinction-totale {
    background-color: #5853f8;
  }
  
  #category-listing ul li span.line,
  .category-listing ul li span.line {
    height: 3px;
  }
  
  #category-listing ul li span.tpg-17 {
    background-color: #33bdec;
  }
  
  #category-listing ul li span.tpg-14 {
    background-color: #5a1e82;
  }
  
  #category-listing ul li span.tpg-22 {
    background-color: #5a1e82;
  }
  
  #category-listing ul li span.tpg-42 {
    background-color: #89cbbe;
  }
  
  #category-listing ul li span.tpg-M {
    background-color: #ff9baa;
  }
  
  #category-listing ul li span.tpg-12 {
    background-color: #f7b533;
  }
  
  #category-listing ul li span.tpg-18 {
    background-color: #c659a1;
  }
  
  #category-listing ul li span.tpg-15 {
    background-color: #9d6c49;
  }
  
  #category-listing ul li span.tpg-21 {
    background-color: #78003c;
  }
  
  #category-listing ul li span.tpg {
    background-color: #fd5312;
  }
  
  #category-listing ul li span.tac {
    background-color: #2273b9;
  }
  
  #category-listing ul li span.but {
    background-color: #0d4271;
  }
  
  #category-listing ul li span.cgn {
    background-color: #193b7a;
  }
  
  #category-listing ul li span.tub {
    background-color: #1297a3;
  }
  
  #category-listing ul li span.proximiti {
    background-color: #e30279;
  }
  
  .element_in_multiple_element.block {
    display: block;
  }
  
  .mobility-infos {
    width: auto;
    min-width: 150px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 999;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
  }
  
  .mobility-infos:not(.active) {
    display: none;
  }
  
  .single_element,
  .element_in_multiple_element {
    padding: 15px 0;
    display: flex;
    width: calc(100% - 15px);
  }
  
  .single_element:not(:last-child),
  .element_in_multiple_element:not(:last-child) {
    border-bottom: 1px solid #cccccc;
  }
  
  #map {
    height: 100vh !important;
    width: 100vw !important;
    z-index: 0;
  }
  
  .single_element > span:not(.show_on_map),
  .element_in_multiple_element > span:not(.show_on_map) {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    background-color: #f2f2f2;
    width: 25px;
    height: 25px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
  }
  
  .show_on_map {
    color: #ea632b;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
  }
  
  .show_on_map:hover {
    text-decoration: underline;
  }
  
  .show_on_map:hover {
    cursor: pointer;
  }
  
  .right_side {
    color: black;
    font-family: "Galatea", Sans-serif;
    font-size: 18px;
    font-weight: normal;
  }
  
  .multiple_element_button {
    cursor: pointer;
    font-family: "Galatea", Sans-serif;
    font-size: 16px;
    border: 1px solid #cccccc;
    padding: 10px 15px;
    display: block;
    width: 95%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
  }
  
  .multiple_element_button img {
    width: 46px;
    margin-right: 27px;
  }
  
  .multiple_element_button[data-displayed="true"] {
    border: 1px solid black;
    background: black;
    color: white !important;
  }
  
  .multiple_element {
    margin-bottom: 15px;
  }
  
  .leaflet-popup {
    bottom: 30px !important;
  }
  
  /* LIENS/FICHIERS UTILES */
  
  .genevois-utils-links-container h4,
  .genevois-utils-files-container h4 {
    position: relative;
  }
  
  .genevois-utils-links-container {
    background-color: transparent;
  }
  
  .genevois-utils-links-container,
  .genevois-utils-files-container {
    margin-top: 30px;
  }
  
  .genevois-utils-files-container {
    padding: 25px;
    background-color: #e9e4e2;
  }
  
  .elementor-background-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-image: url(/wp-content/uploads/icon.png);
    background-position: -180px 449px;
    background-repeat: no-repeat;
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  }
  
  .swat-documents-container .slick-slide {
    opacity: 1 !important;
  }
  .js-breadcrumb.hidden {
    display: none;
  }
  .single-evenement .page-content {
    padding-bottom: 80px;
  }
  
  
  .interactive-map-global {
    position: relative;
  }
  
  .interactive-map-global .category {
    background-color: white;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 50px;
    max-height: 40vh;
    max-width: 290px;
    overflow: auto;
    border-radius: 7px;
    transform: scale(0.7);
    padding: 10px;
  }
  
  .filters-map-global {
    background-color: white;
    position: absolute;
    z-index: 1;
    right: 30px;
    bottom: 5%;
    max-height: 74%;
    border-radius: 7px;
    overflow: auto;
    padding-right: 3px;
    transition: 1s;
  }
  
  .filters-map-global ul li label {
    line-height: 1rem;
    font-size: 0.7rem;
  }
  
  .filters-map-global li {
    list-style: none;
  }
  .filters-container-global li{
    list-style: none;
  
  }
  .filters-map-global ul {
    margin-left: -15px;
  }
  
  .category::-webkit-scrollbar,
  .filters-map-global::-webkit-scrollbar , .open::-webkit-scrollbar {
    width: 0.5em;
  }
  
  .category::-webkit-scrollbar-track,
  .filters-map-global::-webkit-scrollbar , .open::-webkit-scrollbar {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  .category::-webkit-scrollbar-thumb,
  .filters-map-global::-webkit-scrollbar , .open::-webkit-scrollbar {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    border-radius: 10px;
  }
  .open {
    background-color: white;
    position: absolute;
    z-index: 1;
    right: 30px;
    top: 15%;
    border-radius: 7px;
    overflow: auto;
    height: 62vh;
    padding-right: 3px;
    transition: 1s;
  }
  
  .open-filter {
    display: none;
  }
  #toggle {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    margin-left: 5px;
    margin-top: 5px;
    display: none;
  }
  .hard-coded-childs-child::before{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  .hard-coded-childs-child{
    color: #000;
    font-size: 1.2rem;
    padding: 3px;
  }
  .mauve-child::before{
    background-color: #5853F8;
  }
  .bleu-white-child::before{
   background-color: #CAF0F8;
  }
  .bleu-ciel-child::before{
    background-color: #2FB3FB;
   }
   .yellow-child::before{
   background-color:#fdca40 ;
   }
  
@media screen and (max-width: 1200px) {
  #map {
    height: 100vh !important;
  }
  .filters-map-global{
    max-height: 70%;
  }
  @media screen and (max-width: 1024px) {
      .single-evenement .page-content {
        padding-bottom: 60px;
      }
      .filters-map-global{
        max-height: 80%;
      }
    }
    @media screen and (max-width: 640px) {
      .single-evenement .page-content {
        padding-bottom: 40px;
      }
      .category {
        display: none;
      }
      .filters-map-global ul {
        display: none;
      }
      .filters-map-global {
        background-color: white;
        width: 40px;
        height: 40px !important;
        transition: 1s;
        display: grid;
        align-items: center;
        top: 15%;
      }
      .filters-map-global .open-filter {
        display: block;
      }
    
      #toggle {
        display: block;
        cursor: pointer;
      }
    }
}