@font-face {
    font-family: "Heading Now Variable";
    src: url("https://s1.quebecormedia.com/infojdem/fonts/heading-now/woff2/HeadingNowVarVF.woff2") format("woff2-variations"), url("https://s1.quebecormedia.com/infojdem/fonts/heading-now/ttf/Heading-Now-Variable.ttf") format("truetype-variations");
    font-weight: 110 1000;
    font-stretch: 100% 1000%;
}

.map-wrapper {
    width: 100%;
    max-width: 80vw;
    min-height: 80vh;
    margin: 50px auto;
    position: relative;
    max-height: 900px;
}
@media (max-width: 500px) {
    .map-wrapper {
        max-width: unset;
        min-height: 75vh;
        max-height: unset;
    }
}

.legende {
    max-width: 170px;
    position: absolute;
    bottom: 10px;
    left: 20px;
    z-index: 2;
    pointer-events: none;
}
.legende img {
    margin: 0;
    width: 100%;
}
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.mapboxgl-ctrl-attrib,
.mapboxgl-ctrl-logo {
    display: none !important;
}
.mapboxgl-popup-content {
    background-color: white;
    min-width: 230px;
}
.mapboxgl-popup-close-button {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.5);
    right: 9px;
    top: 5px;
}
.bus-nom,
.bus-number,
.vitesse {
    font-family: "Heading Now Variable", sans-serif;
    font-size: 22px;
    line-height: 116%;
    font-style: normal;
    font-weight: 850;
    font-stretch: 400%;
    -webkit-font-smoothing: antialiased;
}
.bus-number {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.vitesse-tag {
    color: #979797;
    font-family: "Heading Now Variable", sans-serif;
    font-size: 14px;
    line-height: 120%;
    font-style: normal;
    font-weight: 750;
    font-stretch: 400%;
    -webkit-font-smoothing: antialiased;
    padding: 7px 0;
}
.vitesse-rouge {
    color: #FF0000
}
.bus-rouge {
    color: #FF0000
}
.vitesse-orange {
    color: #FF8A00
}
.bus-orange {
    color: #FF8A00
}
.vitesse-jaune {
    color: #EDC700
}
.bus-jaune {
    color: #EDC700
}
.vitesse-vert {
    color: #00CF3A
}
.bus-vert {
    color: #00CF3A
}