/* Parts de marché des moteurs : tableaux et graphiques SVG. */

.wri-pdm-figure {
    margin: 1.6em 0;
    padding: 0;
}

.wri-pdm-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.wri-pdm-svg text {
    font-family: inherit;
    fill: #52514e;
}

.wri-pdm-svg .wri-pdm-titre {
    font-size: 14px;
    font-weight: 700;
    fill: #0b0b0b;
}

.wri-pdm-svg .wri-pdm-etiquette {
    font-size: 13px;
    fill: #0b0b0b;
}

.wri-pdm-svg .wri-pdm-valeur {
    font-size: 13px;
    font-weight: 700;
    fill: #0b0b0b;
}

.wri-pdm-svg .wri-pdm-graduation {
    font-size: 11px;
}

.wri-pdm-svg .wri-pdm-legende {
    font-size: 12px;
}

.wri-pdm-svg .wri-pdm-directe {
    font-size: 12px;
    font-weight: 700;
}

.wri-pdm-svg .wri-pdm-grille {
    stroke: #e6e5e0;
    stroke-width: 1;
}

.wri-pdm-tableau {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0 0.4em;
}

.wri-pdm-tableau th,
.wri-pdm-tableau td {
    padding: 0.45em 0.7em;
    border-bottom: 1px solid #e6e5e0;
    text-align: right;
}

.wri-pdm-tableau thead th,
.wri-pdm-tableau tbody th {
    text-align: left;
}

.wri-pdm-source,
.wri-pdm-legende-texte {
    font-size: 0.85em;
    color: #52514e;
    margin: 0.4em 0 0;
}

.wri-pdm-table {
    margin: 0.6em 0 0;
    font-size: 0.9em;
}

.wri-pdm-table summary {
    cursor: pointer;
    color: #52514e;
}

.wri-pdm-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.6em;
}

.wri-pdm-table th,
.wri-pdm-table td {
    padding: 0.3em 0.6em;
    border-bottom: 1px solid #e6e5e0;
    text-align: right;
}

.wri-pdm-table tbody th {
    text-align: left;
    font-weight: 400;
}

.wri-pdm-manquant {
    padding: 0.6em 0.9em;
    background: #fcf3d8;
    border-left: 3px solid #eda100;
}

/* Navigation collante : l'accès aux statistiques reste à portée pendant la lecture. */

.wri-pdm-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fcfcfb;
    border-bottom: 1px solid #e6e5e0;
    padding: 0.5em 0;
    margin: 1.2em 0 1.6em;
    font-size: 0.9em;
}

.wri-pdm-nav-axe {
    margin: 0.25em 0;
    line-height: 1.9;
}

.wri-pdm-nav-intitule {
    display: inline-block;
    min-width: 5.6em;
    color: #52514e;
    font-weight: 700;
}

.wri-pdm-nav a {
    display: inline-block;
    padding: 0.1em 0.6em;
    margin-right: 0.2em;
    border: 1px solid #e6e5e0;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.wri-pdm-nav a:hover,
.wri-pdm-nav a:focus {
    border-color: #2a78d6;
    background: #2a78d6;
    color: #fff;
}

.wri-pdm-pays .wri-pdm-exception th,
.wri-pdm-pays .wri-pdm-exception td {
    background: #fdf6ec;
    font-weight: 700;
}

@media (max-width: 640px) {
    .wri-pdm-nav {
        font-size: 0.82em;
    }

    .wri-pdm-nav-intitule {
        display: block;
        min-width: 0;
    }
}

/* Un titre visé par la navigation ne doit pas finir caché dessous. */

.entry-content h2[id],
.entry-content h3[id] {
    scroll-margin-top: 6em;
}
