h3, h4, h5, h6{
    line-height: 30px;
    margin-bottom: 24px;
  }

.container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* .header-logo-irsn {
    top: 17px;
    left: 95px;
    width: 95px;
    height: 79px;
    position: absolute;
    box-sizing: border-box;
    border-color: transparent;
  } */

.main-header-content {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    padding: 12px 120px 12px 108px;
    overflow: hidden;
    position: relative;
    /* flex-grow: 1; */
    box-shadow: 0px 16px 16px -16px rgba(0, 0, 0, 0.3199999928474426);
    box-sizing: border-box;
    align-items: center;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
    background-color: #fff;
}

.main-header-content-title {
    display: flex;
    position: relative;
    flex-grow: 1;
    box-sizing: border-box;
    align-items: center;
    border-color: transparent;
    margin-right: 40px;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.main-header-content-title-texte {
    display: flex;
    position: relative;
    flex-grow: 1;
    align-self: stretch;
    box-sizing: border-box;
    align-items: flex-start;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    padding: 10px;
    margin-bottom: 0;
    flex-direction: column;
    }

.main-header-content-title-text1 {
    color: var(--dl-color-light_text-titlegrey);
    height: auto;
    align-self: stretch;
    text-align: left;
    line-height: 28px;
    margin-right: 0;
    margin-bottom: 0px;
    font-family: 'Marianne';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #161616;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    }

.main-header-content-title-text2 {
    color: var(--dl-color-light_text-defaultgrey);
    height: auto;
    align-self: stretch;
    text-align: left;
    line-height: 24px;
    margin-right: 0;
    margin-bottom: 0;
}

.main-header-content-infos {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    box-sizing: border-box;
    border-color: transparent;
    /* margin-right: 40px; */
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
    flex-grow: 1;
}

.main-header-content-infos-contact {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items:  center;
    justify-content: center;
    border-color: transparent;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.main-header-content-infos-glossaire {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items:  center;
    justify-content: center;
    border-color: transparent;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.main-header-content-infos-guide {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items:  center;
    justify-content: center;
    border-color: transparent;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.main-header-content-infos-text {
    color: var(--dl-color-light_text-actionhighbluefrance);
    height: auto;
    align-self: center;
    text-align: left;
    /* line-height: 24px; */
    margin-left: 5px;
    margin-bottom: 0;
  }

#title-tile{
    margin-left: 24px;
}

#nav-search-bar {
    display: flex;
    flex-direction: row;
    /* width: 50%; */
    /* align-self: flex-end; */
    align-items: center;
    background-color: #fff;
    padding-left: 10px;
}

#nav-tools {
    display: flex;
    flex-direction: row;
    /* width: 50%; */
    /* align-self: flex-end; */
    align-items: center;
    justify-content: flex-end;
    background-color: #fff;
    padding-left: 10px;
}

.nav-tools-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    align-items: center;
    /* background-color: #45435c; */
    /* border : 1px solid #000; */
    /* align-self: flex-end; */
    /* justify-content: space-evenly; */
    padding-right: 10px;

}

/*todo mauvais comportement ici quand on est sur la page principale*/
/*reprendre justify-content flex start when on onglet*/
/* justify-content: flex-start; */
#nav-tools2{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    /* justify-content: flex-start; */
    align-self: stretch;
    align-content: center;
    align-items: center;
    column-gap: 4px;
}

.nav-tools-bar-inner-legend-filter{
    display: flex;
    /* position: relative; */
    /* box-sizing: border-box; */
    align-items: center;
    border-color: transparent;
    align-content: flex-end;
    margin-right: 8px;
    /* margin-left: 80px; */
    /* border-radius: 0px 0px 0px 0px;
    margin-bottom: 0px; */
    flex-direction: row;
}

#id-nav-tools-bar-inner-legend-filter{
    cursor: pointer;
}

.nav-tools-bar-inner-legend-filter-icon1 {
    width: 16px;
    height: 16px;
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: flex-start;
    flex-shrink: 0;
    border-color: transparent;
    margin-right: 8px;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.nav-tools-bar-inner-legend-filter-icon1-inner {
        top: 0px;
        left: 0px;
        width: 16px;
        height: 16px;
        position: absolute;
        box-sizing: border-box;
        margin-right: 0;
        margin-bottom: 0;
    }

.nav-tools-bar-inner-legend-filter-text {
    color: var(--dl-color-light_text-actionhighbluefrance);
    height: auto;
    font-family: 'Marianne';
    align-self: auto;
    text-align: left;
    line-height: 24px;
    margin-right: 8px;
    margin-bottom: 0;
}

.nav-tools-bar-inner-legend-filter-icon2 {
    width: 16px;
    height: 16px;
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: flex-start;
    flex-shrink: 0;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
}

.nav-tools-bar-inner-legend-filter-icon2-inner {
    top: 0px;
    left: 0px;
    width: 16px;
    height: 16px;
    position: absolute;
    box-sizing: border-box;
    margin-right: 0;
    margin-bottom: 0;
}

.nav-tools-bar-inner-legend-filter-icon2-inner-rotate {
    top: 0px;
    left: 0px;
    width: 16px;
    height: 16px;
    position: absolute;
    box-sizing: border-box;
    margin-right: 0;
    margin-bottom: 0;
    transform: rotate(180deg);
  }

#filter-button-reduce{
    display: none;
    visibility: hidden;
}

#close-button-onglet{
    display: none;
    visibility: hidden;
}

#save-button{
    display: none;
    visibility: hidden;
}

#button-show-documents{
    display: none;
    visibility: hidden;
    margin-right: 4px;
}

.main-map {
    display: flex;
    flex-direction: column;
  }


#mapid {
    /* position: relative; */
    /* height: 100vh;  or as desired */
    width: 100%;  /* This means "100% of the width of its container", the .col-md-8 */
    height: calc(100vh - 220px);
  }

.main-legend-inner {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    color: #000;
    font-family: 'Marianne';
    font-style: normal;
    word-wrap: break-word;
    height : calc(100vh - 220px);
    overflow-y : auto;
    overflow-x: hidden;

}

#do_populaute {
    height: calc(100vh - 220px);
    overflow-y: auto;
}

.fr-checkbox-group--sm{
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.fr-fieldset__content{
    display: flex;
    row-gap: 12px;
    flex-direction: column;
}

.fr-fieldset__content input[type="checkbox"]:after {
    /*other property*/
    box-sizing: content-box;
    width: 16px;
    height: 16px;
  }


#span-legend-title {
    font-family: 'Marianne';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
}

#main-legend-inner{
    padding-top: 10px;
}

.fr-checkbox-group--sm{
    margin-right: 8px;
}

.fr-my-label {
    text-align: left;
    font-family: 'Marianne';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    /* display: flex;
    flex-direction: row; */
    align-items: center;
    word-wrap: break-word;
}

.fr-fieldset__legend {
    text-align: left;
}

.main-footer-content {
    display: flex;
    /* padding: 16px 12px; */
    margin-left: 50px;
    position: relative;
    align-self: stretch;
    box-sizing: border-box;
    align-items: flex-start;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
    flex-direction: column;
}

.main-footer-content-mentions {
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: center;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    justify-content: space-evenly;
    /*margin-bottom: 24px; */
}

.main-footer-content-mentions-text {
    color: var(--dl-color-light_text-mentiongrey);
    height: auto;
    align-self: auto;
    text-align: left;
    line-height: 20px;
    margin-right: 16px;
    margin-bottom: 0;
}

.main-footer-content-licence {
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: center;
    border-color: transparent;
    margin-right: 0;
    border-radius: 0px 0px 0px 0px;
    margin-bottom: 0;
  }

.main-footer-content-licence-text1 {
    color: var(--dl-color-light_text-mentiongrey);
    height: auto;
    font-size: 12px;
    align-self: auto;
    font-style: Regular;
    text-align: left;
    font-family: Marianne;
    font-weight: 400;
    line-height: 20px;
    font-stretch: normal;
    margin-right: 2px;
    margin-bottom: 0;
    text-decoration: none;
  }

  .main-footer-content-licence-text2 {
    text-decoration: NONE;
  }

  .lorem {
    font-style: 100%;
    font: 10pt Marianne;
    color: #000;
  }

  .rotateimg180 {
    -webkit-transform:rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  #id_toggle_cluster{
    display: flex;
    margin-right: 8px;
  }

  @media screen and (max-width: 750px) {

    body {
        overflow-y: auto;
    }
  
    /* #map-container {
        order: 1;
    } */
  
    /* #showboxsites {
        height: calc(100vh - 220px);
    } */
  
    /* #sidebar-search {
        order: 2;
    }
  
    #sidebar-legend {
        height: calc(100vh - 220px);
        order: 3;
    } */
  
    /* #id_toggle_cluster,
    #id-nav-tools-bar-inner-legend-filter,
    #id-print-button,
    #id-save-button {
        display: none;
    } */
  
    /* a afficher seuelement dans la carte
    /* #filter-button-reduce {
        display: block;
        visibility: visible;
    } */
  
    .header-logo-irsn {
        width: 70vw;
		height: auto;
    }
  
    /* Maintenir les éléments nav-tools et nav-blank cachés sur petits écrans */
    #nav-blank {
        padding-left: 0px;
        display: none;
        visibility: hidden;
    }
  
    /* Cacher également #nav-search-bar sur petits écrans */
    /* #nav-search-bar {
        display: none;
        visibility: hidden;
    } */
  }
  

  @media screen and (max-width:575px){
    #mapid{
        width : 100vw;
    }
  }

  /* @media screen and (max-width: 750px) {
    #nav-search-bar, #nav-blank, #nav-tools, #nav-tools2 {
      flex-direction: column;
      justify-content: center;
    }
  } */
  
#info-image-container {
    position: fixed; /* Toujours fixer par rapport à la fenêtre */
    z-index: 10;
    opacity: 0;
    pointer-events: none; /* Empêche les interactions quand masqué */
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease; /* Transition pour une apparition/disparition douce */
}

#info-image-container[style*="display: block"] {
    opacity: 1;
}
