:root {
    /* Colors used by IVB */
    /* Colors of Innsbruck city trams */
    --tram-1: RGB(169,126,130);
    --tram-2: RGB(180,78,105);
    --tram-3: RGB(158,84,95);
    --tram-5: RGB(132,81,101);
    --tram-6: RGB(0,102,51);
    --tram-stb: RGB(57,4,18);
    --tram-text: RGB(255,255,255);
    
    /* Colors of Innsbruck city busses */
    --bus-a: RGB(55,120,167);
    --bus-c: RGB(148,196,225);
    --bus-f: RGB(93,0,143);
    --bus-j: RGB(135,59,151);
    --bus-k: RGB(193,157,216);
    --bus-m: RGB(172,128,73);
    --bus-r: RGB(191,85,23);
    --bus-s: rgb(166,28,30); /* Sightseer */
    --bus-t: RGB(129,184,23);
    --bus-w: RGB(0,167,88);
    --bus-nightline: RGB(22,50,89); /* applies to N1, N2, N3, N7 and N8 */
    --bus-city-text: RGB(255,255,255);
    
    /* Colors of special public transport */
    --spt-hbb: RGB(194,107,162);
    --spt-text: RGB(255,255,255);
    
    /* Colors of regional busses */
    --bus-regional: RGB(251,225,18);
    --bus-regional-text: RGB(90,90,90);
    
    /* Colors used by VVT */
    --vvt-tram: RGB(160,7,45);
    --vvt-bus: RGB(0,163,212);
    --vvt-sbahn: RGB(0,163,212); /* trains designated with an S followed by a number */
    --vvt-train: RGB(80,80,80); /* all non-S-Bahn trains */
    
    --vvt-text: RGB(255,255,255);
}

.inline-ivb-1-letter, .inline-ivb-2-letter, .inline-ivb-3-letter, .inline-ivb-regional {
    display: inline-block;
    vertical-align: text-bottom;
    font-weight: 800;
    min-width: 1rem;
    border-radius: 0.2rem;
    text-align: center;
    overflow: hidden;
    background-color: RGB(193,157,216);
    border: 2px RGB(80,80,80) solid;
    color: white;
    margin: 0.25rem 0.1rem;
}

.inline-ivb-1-letter, .inline-ivb-2-letter, .inline-ivb-regional {
    font-size: 0.7rem;
}

.inline-ivb-3-letter {
    font-size: 0.45rem;
}

.inline-ivb-regional {
    min-width: 2rem;
    font-size: 0.7rem;
    background-color: var(--bus-regional);
    color: var(--bus-regional-text);
    border-color: var(--bus-regional-text);
}


