  #mapid {
    position: absolute;
    height: 100%;
    width: 100%;
  }
  
  .cursor-pointer{
    cursor: pointer;
  }

  .modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 10000; /* Sit on top */
      /* padding-top: 100px; /* Location of the box  */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgba(0,0,0,0.4); 
      /* backdrop-filter: blur(2px); */
  }
  .modal-content {
    background-color: rgb(255,255,255); 
    padding-top: 10%; 
    margin: auto;
    display: block;
    width: 80%;
    max-width: 80%;
    max-height: 75%;
    width: auto;
  }

.modal-dark-content {
  background-color: #000;
}
  .zByZenviron {
    width: 10%;
    min-width: 100px;
  }

  #byZenviron {
    top: 10px;
    left: 10px;
    position: absolute;
    z-index: 1000;
  }

  #photoPage {
    background-color: rgb(0,0,0);;
    max-width: 100vh;
    min-height: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #poiDetailPage {
    background-color: white;
    max-width: 70vh;
    min-height: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #photoModalCaption {
    font-size: 2em;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 80%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 2em;
  }

  #poiDetailModalCaption {
    font-size: 2em;
    margin: auto;
    display: block;
    width: 50%;
    max-width: 50%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 2em;
  }

  #photoModalCopyright {
    font-size: 0.7em;
    font-style: italic;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 80%;
    text-align: right;
    color: #ccc;
    padding: 10px 0;
    height: 1em;
  }

  #categoriesModal {
    padding-top: 50px;
  }

  #categoriesModalCaption {
    font-size: 2em;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 80%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    border-radius: 0.3em;
    overflow: hidden;
  }

  /* Add Animation - Zoom in the Modal */
  .modal-content, #photoModalCaption {
    width: auto;
    height: auto;
    max-height: 85%;

    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  .modal-content, #photoModalCopyright {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  .modal-content, #categoriesModalCaption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  @-webkit-keyframes zoom {
      from {-webkit-transform:scale(0)}
      to {-webkit-transform:scale(1)}
  }

  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }

  .zoomDiv {
    position: absolute;
    z-index: 500;
    top: 10px;
    right: 10px;
    width: 35px;
  }

  .loader-overlay {
    height: 200px;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    position: absolute;
    z-index: 10000;
    opacity: 75%;
  }

  .zMapButton {
    position: initial;
    width: inherit;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 10px;
    opacity: 1;
    border-style: solid;
    border-color: #0F5B7D;
    cursor: pointer;
  }

  /* The Close Button */
  .modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #0F5B7D;
    font-size: 23px;
    font-weight: bold;
    transition: 0.3s;
    background-color: white;
    border-color: #0F5B7D;
    border-style: solid;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    text-align: center;
    z-index: 10001;
  }

  .modal-close:hover {
    color: #7f7b7b;
    text-decoration: none;
    cursor: pointer;
  }

  /* 100% Image Width on Smaller Screens */
  /*
  @media only screen and (max-width: 80%){
     .modal-content {
       width: 100%;
     }
   }
   */

  .zClose {
    display: none;
    color: #0F5B7D !important;
    border-radius: 16px !important;
    opacity: 1 !important;
    right: 10px !important;
    top: 10px !important;
    font-size: 14px !important;
    width: 20px !important;
    padding-top: 3px;
    padding-right: 1px;
    height: 20px !important;
  }

  .zTitleContainer {
      background-color: #0F5B7D;
  }
  .zTitle {
      color: white;
      font-size: 18px;
      padding: 10px 30px 0px 10px;
      margin: 0px;
      font-weight: bold;
  }
  .zListItem {
      height: 32px;
  }
  .zHidden {
      visibility: hidden;
      display: none;
  }
  .zCommune {
    color: white;
    font-size: 16px;
    padding: 0px 10px 10px 10px;
    margin: 0px;
  }

  .zImageContainer {
      position: relative;
      /* width: 100%; */
      /* padding-top: 100%; */
      overflow: hidden;
  }
  .zImageContainer:after {
    content: '';
    display:inline-block;
    vertical-align: top;
    width: 100%;
    height: 0;
    padding-top: 100%;
  } 

  .square {
    width: 100%;
    /* padding-bottom: 100%; */
    /* background-size: cover; */
    /* background-position: center; */
    object-fit: cover;
  }

  .zPoiImageContainer {
    display: flex;
    width: 100%;
    position:relative;
    overflow:hidden;
    padding-bottom:100%;
    margin-bottom: 15px;
  }

  .zPoiImage{
    position:absolute;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    object-fit: cover;
  }

  .zPoiImageContainer:after {
    content: '';
    display:inline-block;
    vertical-align: top;
    width: 100%;
    height: 0;
    /* padding-top: 100%; */
  } 

  .zPoiImagePage{
    display: flex;
  }

  .zImageSource {
      background-image: url('/images/loader.svg');
      background-color: #c6e1f7;
      position: absolute;
      display: block;
  }
  .zImageSafe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
  }
  .zCopyContainer {
    position: absolute;
    float: right;
    bottom: 0px;
    right: 0px;
    padding: 2px;
    margin: 0px;
  }
  .zCopyright {
    margin-bottom: 0px;
    color: white;
    background-color: #7e7878;
    padding: 2px;
    border-radius: 5px;
    font-size: 10px;
  }

  .zToolsContainer {
    height: 45px;
    background-color: white;
    color: #0F5B7D;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;

  }
  .zTrackContainer {
    padding: 0px 15px;
    background-color: white;
    color: #0F5B7D;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
  }

  .zTrackContainer img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .zSquare {
    padding-bottom: 60%;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .zRow {
    height: 45px;
    margin: 0px;
    text-align: center;
  }
  .zCol {
      color: #0F5B7D;
  }
  .zClassementLogo {
      height: auto;
      position: absolute;
      display: block;
      top: 15px;
      width: 20%;
      left: 15px;
      filter: drop-shadow(3px 3px 3px #222);
  }
  .zMHlogo {
      height: auto;
      position: absolute;
      display: block;
      top: 15px;
      width: 12%;
      left: calc(100% - 12% - 15px);
      filter: drop-shadow(3px 3px 3px #222);
  }
  .zActionIcon {
      height: auto;
      position: absolute;
      display: block;
      bottom: 5%;
      width: 12%;
      left: 5%;
      filter: drop-shadow(3px 3px 3px #222);
  }
  .zToolIcon {
    height: -webkit-fill-available;
    width: inherit;
    cursor: pointer;
    max-height: 40px;
  }
  .zIcon {
    height: 32px;
    width: inherit;
  }
  .zDisableIcon {
    cursor: auto;
    filter: opacity(0.3);
  }
  .zDescriptionContainer {
      background-color: white;
      color: #0F5B7D;
  }
  .zDescription {
      padding: 10px;
      font-size: 18px;
      user-select: none;
      white-space: pre-wrap;
  }
  .zSourceContainer {
    background-color: white;
    color: #0F5B7D;
    padding: 10px;
    font-style: italic;
    user-select: none;
    white-space: pre-wrap;
    line-height: 0.8;
    border-block-width: 2px;
    border-style: ridge;
    margin-left: 10px;
    margin-right: 10px;
  }
  .zInfoContainer {
      background-color: white;
      color: #0F5B7D;
  }
  #zTitleTrack {
    padding: 0px 10px 0px 10px;
    user-select: none;
    white-space: pre-wrap;
    font-size: 24px;
    font-weight: bold;
  }

  .zInfo {
      padding: 0px 10px 0px 10px;
      font-size: 18px;
      user-select: none;
      white-space: pre-wrap;
  }
  .zNoMarginBottom {
      margin-bottom: 0px;
  }
  .zInfoBold {
      font-size: 24px;
  }
  .zContainer {
      background-color: white;
      color: #0F5B7D;
      padding: 15px;
  }
  .zContainerContent {
      padding-top: 5px;
      position: absolute;
      font-size: 18px;
      user-select: none;
      white-space: nowrap;
      height: 45px;
  }