/*
    Corrections de chargement, chargees APRES css/new/style.min.css (theme fige, a ne pas modifier).
    But : que la page s'affiche d'un coup, sans changement de police ni saut de mise en page.
*/

/*
    Menu : le theme utilisait Montserrat-ExtraBold.ttf.woff (113 Ko, non compresse, sans cache).
    Remplace par la Montserrat de Google Fonts en woff2 (38 Ko, police variable, prechargee dans
    generic_head.php). Cette declaration couvre les graisses 100 a 900 ; le menu demande 800,
    c'est donc elle qui est choisie et l'ancien fichier n'est plus telecharge.
*/
@font-face {
    font-family: 'Montserrat-ExtraBold';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
header > nav > .container > ul > li > a > span.title {
    font-weight: 800;
}

/*
    Palmares (palmares-team.php) : il demande "Bebas Neue Bold" et "Montserrat", qui n'etaient
    declarees nulle part ; le navigateur affichait une police par defaut.
*/
@font-face {
    font-family: 'Bebas Neue Bold';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/bebasneue/v16/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
    Carrousels des sponsors (accueil et pied de page) : Owl Carousel les cache (display:none) tant
    que js/new/script.js, charge en bas de page, ne les a pas demarres. Ils apparaissaient alors
    d'un coup et poussaient tout le contenu situe dessous. On affiche les logos en ligne des le
    depart, a la taille qu'ils auront ensuite ; Owl prend le relais sans decaler la page.
*/
section#sponsors .owl-carousel:not(.owl-loaded),
section#sponsorsFooter .owl-carousel:not(.owl-loaded) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
}
section#sponsors .owl-carousel:not(.owl-loaded) > a,
section#sponsorsFooter .owl-carousel:not(.owl-loaded) > a {
    flex: 0 0 auto;
    margin: 0 25px;
}
section#sponsors .owl-carousel:not(.owl-loaded) > a > img,
section#sponsorsFooter .owl-carousel:not(.owl-loaded) > a > img {
    display: block;
    width: 150px;
    height: auto;
}
