/* Réecriture de variables tagify */
:root {
    --tagify-dd-item-pad: .5em .7em;
}

/* parents input "explorer la ligne"*/
.explo-ligne-box tags {
    border: 1px solid var(--gris-form);
    border-radius: 8px;
    background-color: #ffffff;
    -webkit-box-shadow: inset 0px 1px 4px 1px rgba(0,0,0,0.12); 
    box-shadow: inset 0px 0px 4px 1px rgba(0,0,0,0.12);
    margin-bottom: 12px;
    width: 100%;
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    color: var(--noir-texte);
    font-style: normal;
    font-weight: 400;
    color:var(--noir-texte);
}

/* champs d'input */
.explo-ligne-box tags .tagify__input {
    padding: 12px 12px;
    margin: 0;
}

/* Croix pour vider les inputs */
.tagify__tag__removeBtn {
    width: 20px;
    height: 20px;
    font: 15px Roboto;
}

.tagify__tag__removeBtn:hover {
    background: var(--secondary-dark);
}

/* parent menu dropdown */
.tagify__dropdown {
    transform: translateY(12px);
    border-radius: 8px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid var(--gris-form);
}

/* conteneur intermédiaire dropdown*/
.tagify__dropdown__wrapper {
    background: var(--gris-background);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    
}

/* élément dropdown ligne de bus */
.tagify__dropdown__item {
    border-bottom: 1px solid var(--secondary-light);
    font-family: 'Cabin', sans-serif;
    color: var(--noir-clair);
    font-size: 16px;
    font-weight: 400;
    padding: 12px 12px;
    margin: 0px;
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: none;
    gap: 10px;
}

/* hover des items de dropdown */
.tagify__dropdown__item--active, .tagify__dropdown__item:hover {
    background: var(--gris-bleu);
}

/* contre-règle pour :hover champ ville */
.dropdown-ville .tagify__dropdown__item--active {
    color: var(--noir-clair);
}

/* style spécial dernier dropdown_item de la liste */
.tagify__dropdown__item:last-of-type {
    border-bottom: none;
}

/* carré couleur */
.infobus-num-ligne {
    background: var(--primary-grad2);
    display: flex;
    padding: 4px 6px 3px 6px;
    min-width: 48px;
    width: 48px;
    min-height: 31px;
    height: 31px;
}

/* chiffre dans carré couleur */
.num-ligne-content {
    margin: auto;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-align: center;
}

/* conteneur texte*/
.infobus-texte {
    width: max-content;
    display: flex;
    flex-direction: column;
}

/* Texte nom de ligne */
.infobus-ligne {
    font-family: 'Cabin', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--noir-clair);
    margin-bottom: 0px;
    line-height: 1.1;
}

/* Texte terminus */
.infobus-terminus {
    font-family: 'Cabin', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--gris);
    margin: 0;
}

/* Couper le texte en ... si trop long */
.infobus-texte, .infobus-texte * {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.badge-ligne {
    padding: 4px 6px 3px 6px;
    min-width: 40px;
    width: 48px;
    height: 31px;
    background: var(--primary-grad2);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    color: #ffffff;
  }
  .info-ligne-bus-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .info-ligne-txt-bloc {
    display: flex;
    flex-direction: column;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  #Barre_info_ligne .bloc-gauche .txt-bloc-info-ligne {
    display: block;
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--noir-texte);
    margin: 0;
  }
  .info-ligne-txt-bloc * {
    margin: 0;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .ligne-localisation {
    font-size: 13px;
  }
  #Barre_info_ligne .bloc-gauche .txt-bloc-info-ligne-terminus {
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gris);
  }

  /* Style du message en bas de select si il y a trop de lignes à lister */
  .tagify__dropdown__footer {
    width: 100%;
    background-color: var(--gris-bleu);
    color: var(--noir-texte);
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
  }
  