.hidden {
    display: none;
}

/*** Styles Carte ***/
#map {
    width: 100%;
    height: 650px;
}

.pager-limit {
    text-align: right;
}

@media (max-width: 678px) {
    .pager-limit {
        text-align: center;
    }
}

@media (max-width: 768px) {
    #map {
        height: 600px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #map {
        height: 729px;
    }
}

/* TODO DSFR : si migration Openlayers à voir si toujours utile */
.carto-message-hidden {
    display: none;
}
@media (min-width: 768px) {
    /* line 13, ../sass/_carto.scss */
    .carto-message-display {
      background-color: black;
      color: white;
      opacity: 0.5;
      position: absolute;
      z-index: 9999;
      text-align: center;
      font-size: 36px;
      font-size: 2.25rem;
      height: 650px !important;
    }
  }
  .minimap-info-bulle {
    width: 300px !important;
    height: 300px !important;
    padding: 0.3rem;
  }
/* TODO verifier si il faut aussi sur mobile */
@media (min-width: 48em) {
    #popup .fr-table td, .fr-table th {
        padding: 0.5rem;
    }
    #popup .fr-table thead td, .fr-table thead th {
        padding-bottom: 0.5rem;
    }
    #popup .fr-table {
        margin-bottom: inherit;
    }
}
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
  }
  .ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
  .ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
  }
  .ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
  }
  .ol-popup-closer {
    text-decoration: none;
    background: none;
    position: absolute;
    top: 8px;
    right: 8px;
  }
  .ol-popup-closer:after {
    content: " ";
  }



/* Resultat pas top à retravailler
#encadre_localisation {
    border: 1px solid #ccc;
}
*/

/* Styles Boutons  menu internaute */
.pc--link-menu-internaute {
    max-width: none !important;
    max-height: none !important;
    white-space: normal !important;
}

/* Styles Boutons dans tableau */
td.pc--action-btn {
    text-align: end;
}

/* Style spinner autocomplete */
input[type="text"].loading {
    padding-right: 20px; /* Espacement pour le spinner */
    background-image: url("data:image/svg+xml,%3Csvg viewBox%3D%220 0 100 100%22 xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cstyle%3Esvg %7B animation%3A 2s linear infinite svg-animation%3B max-width%3A 100px%3B %7D %40keyframes svg-animation %7B 0%25 %7B transform%3A rotateZ(0deg)%3B %7D 100%25 %7B transform%3A rotateZ(360deg) %7D %7D circle %7B animation%3A 1.4s ease-in-out infinite both circle-animation%3B display%3A block%3B fill%3A transparent%3B stroke%3A %232f3d4c%3B stroke-linecap%3A round%3B stroke-dasharray%3A 283%3B stroke-dashoffset%3A 280%3B stroke-width%3A 10px%3B transform-origin%3A 50%25 50%25%3B %7D %40keyframes circle-animation %7B 0%25 %2C 25%25 %7B stroke-dashoffset%3A 280%3B transform%3A rotate(0)%3B %7D 50%25 %2C 75%25 %7B stroke-dashoffset%3A 75%3B transform%3A rotate(45deg)%3B %7D 100%25 %7B stroke-dashoffset%3A 280%3B transform%3A rotate(360deg)%3B %7D %7D %3C/style%3E%3Ccircle cx%3D%2250%22 cy%3D%2250%22 r%3D%2245%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}
  
input[type="text"].loading {
    background-image: url("data:image/svg+xml,%3Csvg viewBox%3D%220 0 100 100%22 xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cstyle%3Esvg %7B animation%3A 2s linear infinite svg-animation%3B max-width%3A 100px%3B %7D %40keyframes svg-animation %7B 0%25 %7B transform%3A rotateZ(0deg)%3B %7D 100%25 %7B transform%3A rotateZ(360deg) %7D %7D circle %7B animation%3A 1.4s ease-in-out infinite both circle-animation%3B display%3A block%3B fill%3A transparent%3B stroke%3A %232f3d4c%3B stroke-linecap%3A round%3B stroke-dasharray%3A 283%3B stroke-dashoffset%3A 280%3B stroke-width%3A 10px%3B transform-origin%3A 50%25 50%25%3B %7D %40keyframes circle-animation %7B 0%25 %2C 25%25 %7B stroke-dashoffset%3A 280%3B transform%3A rotate(0)%3B %7D 50%25 %2C 75%25 %7B stroke-dashoffset%3A 75%3B transform%3A rotate(45deg)%3B %7D 100%25 %7B stroke-dashoffset%3A 280%3B transform%3A rotate(360deg)%3B %7D %7D %3C/style%3E%3Ccircle cx%3D%2250%22 cy%3D%2250%22 r%3D%2245%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - .5rem) 50%;
    background-size: 1.5em;
}

/* Carte Espace Iternaute - Favoris */

#favoris_zone_carte #coord_pdvs {
    display: none;
}

#favoris_zone_carte .indisponible {
    text-align: center;
    color: red;
}

#fav_map,
#favoris_zone_carte .indisponible img {
    display: inline-block;
    width: 100%;
    height: 340px;
}

#favoris_zone_carte #measureToolTipMap {
    width: 100%;
    position: relative;
    top: -338px;
    text-align: right;
    z-index: 1000;
    -webkit-margin-end: 5px;
    -moz-margin-end: 5px;
    -o-margin-end: 5px;
    margin-right: 5px;
}

#favoris_zone_carte .radius-error {
    color: red;
}

/* Tableau Points de vente Favoris*/

.pc--table-legende span{
color: #000091; /* Ref DSFR : $blue-france-sun-113 */
}

.autoroute {
    width:1rem;
}

#tab_resultat {
    /*border-bottom: 0px solid #9f2b79;
    border: 1px solid #1a698b;*/
    border-collapse: collapse;
    overflow: auto;
    font-size: 12px;
    font-size: 0.75rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.suppr-pdv {
    color: #000091 ;
}
#tab_resultat .fr-icon-alert-fill {
    color: #000091 ;
}

@media (min-width: 768px) {

    #tab_resultat {
        font-size: 14px;
        font-size: 0.875rem;
    }
}

#tab_resultat th {
    display: table-cell;
    height: 25px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#tab_resultat th a
{
    text-decoration: none;
}

#tab_resultat [href] {
    background-image: none;
}

#tab_resultat th.largeur25 {
    width: 25%;
}

#tab_resultat th div.double_entete {
    display: inline-block;
    margin-right: 2rem;
}

#tab_resultat th div.double_entete:last-child a.title {
    padding-left: 10px;
}

#tab_resultat tr:first-child {
    height: 20px;
    vertical-align: top;
    font-size: 12px;
    font-size: 0.75rem;
}

@media (min-width: 768px) {

    #tab_resultat tr:first-child {
        font-size: 15px;
        font-size: 0.9375rem;
    }
}

#tab_resultat tr:first-child th {
    -webkit-padding-before: 5px;
    -moz-padding-before: 5px;
    -o-padding-before: 5px;
    padding-top: 5px;
}

#tab_resultat tr:first-child th:first-child {
    border-left: 0px;
    text-align: left;
    height: 60px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-padding-start: 20px;
    -moz-padding-start: 20px;
    -o-padding-start: 20px;
    padding-left: 20px;
}

#tab_resultat tr:first-child th:first-child a {
    display: inline-block;
    -webkit-padding-end: 10px;
    -moz-padding-end: 10px;
    -o-padding-end: 10px;
    padding-right: 10px;
    -webkit-padding-before: 7px;
    -moz-padding-before: 7px;
    -o-padding-before: 7px;
    padding-top: 7px;
}

#tab_resultat tr:first-child th:first-child a:first-child {
    -webkit-padding-before: 0px;
    -moz-padding-before: 0px;
    -o-padding-before: 0px;
    padding-top: 0px;
}

#tab_resultat tr:first-child th:not(:first-child) {
    width: 8%;
}

#tab_resultat tr:nth-child(2) th {
    width: 56px;
}

#tab_resultat div.entete-separator div {
    height: 4px;
}

#tab_resultat tr div.minimap {
    display: inline-block;
    width: 240px;
    height: 150px;
}

@media (min-width: 768px) {

    #tab_resultat tr div.minimap {
        width: 440px;
        height: 300px;
        margin: 10px 0px;
    }
}

#tab_resultat tr div.minimap img {
    width: 200px;
    height: 150px;
}

@media (min-width: 768px) {

    #tab_resultat tr div.minimap img {
        width: 400px;
        height: 300px;
    }
}

#tab_resultat tr div.minimap div.map {
    position: relative;
    width: 200px;
    height: 150px;
}

@media (min-width: 768px) {

    #tab_resultat tr div.minimap div.map {
        width: 400px;
        height: 300px;
    }
}

#tab_resultat tr div.minimap div.olMap {
    width: 200px;
    height: 150px;
}

@media (min-width: 768px) {

    #tab_resultat tr div.minimap div.olMap {
        width: 400px;
        height: 300px;
    }
}

#tab_resultat tr div#horaires ul {
    margin: 0px 0px 0px 0px;
    list-style: none;
    vertical-align: top;
    display: inline-block;
}

#tab_resultat tr div#horaires strong {
    display: block;
    width: 100%;
}

#tab_resultat tr div#service_name {
    height: 1.5rem
}

#tab_resultat tr .hours {
    margin: 10px 0px;
}

#tab_resultat tr #infos-details {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

#tab_resultat tr #infos-details ul li {
    list-style-type: none;
    display: inline;
}

#tab_resultat tr .actions {
    margin-left: 10px;
    display: none;
}

#tab_resultat td {
    /*border-left: 1px solid #9f2b79;
    border-right: 1px solid #9f2b79;*/
    padding: 10px 0px;
}

@media (min-width: 768px) {

    #tab_resultat td {
        padding: 10px;
    }
}

#tab_resultat td.chiffres {
    text-align: center;
}

#tab_resultat td:first-child {
    border-left: 0px;
    text-align: left;
    padding: 10px 5px;
}

@media (min-width: 768px) {

    #tab_resultat td:first-child {
        -webkit-padding-start: 20px;
        -moz-padding-start: 20px;
        -o-padding-start: 20px;
        padding-left: 20px;
    }
}

#tab_resultat td:last-child {
    border-right: 0px;
}

#tab_resultat td.station-rupture {
    background-color: #a2195b;
}

#tab_resultat td.station-rupture span {
    color: white;
}

#tab_resultat td.textToRight {
    text-align: right;
}

#tab_resultat td.textToCenter {
    text-align: center;
}

#tab_resultat .infos div.minimap .map .minimap,
#tab_resultat tr.infos td div.minimap .map .minimap {
    box-shadow: 0px 0px 10px #aaa;
}


#tab_resultat tr.infos div.infos {
    width: 100%;
}

#tab_resultat tr.infos td {
    padding: 20px;
    /*border-bottom: 1px solid #9f2b79;
    border-top: 1px solid #9f2b79;
    color: black;*/
}

#tab_resultat tr.infos td div.infos {
    float: left;
    height: 300px;
}

#tab_resultat tr.infos td div.minimap {
    float: right;
    width: 440px;
}

#tab_resultat tr.infos td div.minimap div.map {
    position: relative;
    width: 400px;
    float: left;
}

#tab_resultat tr.infos .minimap {
    float: right;
}

#tab_resultat tr.infos td div.minimap .map .minimap {
    box-shadow: 0px 0px 10px #aaa;
}

td.tri {
    /*background: #2475a3 none;
    color: white;
    color: white;*/
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

td.tri a {
    /*color: white;*/
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.tri-unclickable {
    color:#000091;
}

.tri-clickable,
.tri-unclickable {
    width: 10px;
    height: 10px;
    margin: 0px 5px;
}


.tri-clickable {
    cursor: pointer;
}

.tri-clickable .cls-1 {
    fill: white;
}

.tri-unclickable .cls-1 {
    fill: #9f2b79;
}

.tdprixdate {
    display: table-cell;
    height: 25px;
    /*background: #2475a3 none;
    border-left: 1px solid #9f2b79;
    border-right: 1px solid #9f2b79;
    color: white;*/
    text-align: center !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px 0px 10px 0px !important;
}

.tdprixdate a {
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}


/* Pictos des services */
.picto-service {
    width: 2rem;
}

.services ul {
    margin-bottom: 0px;
}

.services ul li {
    display: inline-block;
}

.masquer {
    display: none;
/* Styles pour les blocs disclose */
}


summary {
    list-style: none;
    text-decoration: underline;
   
}
summary + div {
    cursor: default; /* Pour éviter le curseur pointer sur le bloc lié au DSFR */
}

#limit {
    display: inline;
}

.show-form-btn {
    text-align: center;
}

/* correctifs RGAA pour autocomplete jquery */
.ui-menu .ui-menu-item {
    color: var(--text-active-blue-france);
    background-color: #fff;
}
.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background-color: var(--text-active-blue-france);
    border-color: var(--text-active-blue-france);
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
}
@media (max-width: 400px) {
    /* Correcif RGAA chevauchement */
    .fr-password__checkbox {
        top: 35px;
    }
}

/* 
* Permet de sur un lien sr-only qui a le focus d'apparaitre à l'écan comme un skiplink 
* Demande suite audit RGAA que les liens deviennent visible en navigation clavier.
*/
.fr-sr-only:focus {
    position: relative;
}