
@font-face {
    font-family: Galibier;
    font-display: swap;
    src: url(/static/fonts/galibier-regular-144d0b8f66.woff2) format("woff2");
    font-weight:normal;
    font-style:normal;
}
@font-face {
    font-family: Galibier;
    font-display: swap;
    src: url(/static/fonts/galibier-bold-2e962f4581.woff2) format("woff2");
    font-weight:bold;
    font-style:normal;
}
/*@font-face {
    font-family: Galibier;
    font-display: swap;
    src: url(/static/fonts/galibier-light-6f9481b86f.woff2) format("woff2");
    font-weight:light;
    font-style:light;
}*/
@font-face {
    font-family: Galibier;
    font-display: swap;
    src: url(/static/fonts/galibier-regularitalic-6b3b6800a2.woff2) format("woff2");
    font-weight:normal;
    font-style:italic;
}

.statsBars .progress {
    height:0.3em;
}
.statsprofil {
    max-height:7em;
}
.statsBars .progress-bar {
    background-color: grey; 
    transition: background-color 0.3s;
}
.statsBars .statsItem:hover .progress-bar{
    background-color: var(--hover-color, grey);
    transition: background-color 0.3s;
}
.statsBars .statsItem:hover .statsColor{
    color: var(--hover-color, grey);
    transition: background-color 0.3s;
}

.pb {
    background-size:120% 120%;
    width:1.2em;
    height:1.2em;
    display: inline-block;
    background-image: url('/static/images/icons/pb.svg');
    background-repeat: no-repeat;
    background-position: center;
}
.sb {
    background-size:120% 120%;
    width:1.2em;
    height:1.2em;
    display: inline-block;
    background-image: url('/static/images/icons/sb.svg');
    background-repeat: no-repeat;
    background-position: center;
}


.slider-values {
    position: relative;
    height: 1.5em;
}

.time-label {
    position: absolute;
    margin-left:-1em;
    min-width:2em;
    top: 0.2em;
    background-color: white;
    border-radius: 3px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.photoDiv {
    width:5em;
    min-height:4em;
}

body {
    font-family:'Galibier';
    /*font-weight:800;*/
}
.segMenu::-webkit-scrollbar {
    -webkit-appearance: none;
    width:5px;
    height:0px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-weight:600;
}

.nav-stages {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}
.nav-stages .nav-item {
    text-wrap:nowrap;
}
.nav-stages::-webkit-scrollbar {
    -webkit-appearance: none;
    height:5px;
    width:0px;
}

.nextResult{
    background-color:rgba(220,220,220,1.0);
    outline:solid 0.1em black;/*#ffce07;*/
    clip-path:inset(-0.1em)!important;
}
.nextResult:last-child{
    border-bottom-right-radius: var(--bs-border-radius) !important;
    border-bottom-left-radius: var(--bs-border-radius) !important;
}
.miniprofil {
    height:3.0em;
    display:block;
    filter:brightness(0);
} 
.miniprofil:hover {
    filter:unset!important;
} 

.logolink {
    color:white;
}
.logolink:hover {
    color:#ffc107;
}

html {
    position: relative;
    min-height: 100%;
}


.infoCard .form-control{
    padding-top: 0;
    padding-bottom: 0;
}

@media only screen and (min-device-width: 677px) {
    .infoCard .input-group-text{
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .dont-collapse-sm {
      display: block!important;
      height: auto !important;
      visibility: visible;
    }
    .miniNavbar {
        position: sticky;
        margin:0 -10em 0 -10em;
    }
    .miniNavbar ul {
        padding:0 10em 0 10em;
    }
    
    .championshipsRecap{
        height:5.5em;
    }
    .championshipsRecap .top3 {
        font-size:0.9em;
    }
    .championshipsRecap .miniProfil {
        height:5em;
    }

  }


@media only screen and (max-width: 800px) {
    .prenom{
        font-size:0em;
    }
    .initiale{
        font-size:1em!important;
    }
    .table{
        border:none;
    }

}

.fi {
    /*width:1.2em;
    line-height:1.1em;*/
    width: 1.2em;
    line-height: 0.7em;
    height: 0.8em;
}
.fi-uci {
    background-image: url(/static/images/icons/uci_flag.png);
}
.fi-oly {
    background-image: url(/static/images/icons/olympic_flag2.png);
}
.fi-Americas {
    background-image: url(/static/images/icons/panamerican_flag.png);
}
.fi-Europe {
    background-image: url(/static/images/icons/uec_flag.png);
}
.fi-Oceania {
    background-image: url(/static/images/icons/oceania_flag.png);
}
.fi-Asia {
    background-image: url(/static/images/icons/asian_flag.png);
}

.bg-lightgreen {
    background-color:rgba(0,180,0,0.2)
}
.bg-lightred {
    background-color:rgba(180,0,0,0.2)
}

@media only screen and (max-width: 676px) {
    .infoCard .input-group-text{
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .scroll-sm{
        max-height:8em;
        overflow-y:scroll;
    }
    .hide-small, .hs {
        display:none;
    }
    .championshipsTitle{
        font-size:.9em;
    }
    .championshipsRecap{
        height:5.2em;
    }
    .championshipsRecap .top3 {
        font-size:0.8em;
    }
    .championshipsRecap .miniProfil {
        height:4em;
    }

    .statsprofil {
        max-height:5em;
    }

    /*.table-sm {
        padding: 0.1rem 0.1rem!important;
    }*/
    .table-sm td{
        padding: 0.15rem 0.15rem!important;
    }
    td .fi {
        width:0.9rem;
        line-height:0.8rem;
    }
    table {
        font-size: 0.8rem!important;
    }
    table * {
        border-bottom-width: 0.01rem!important;
    }
    
    h4 {
        font-size: 1.2rem!important;
    }
    h5 {
        font-size: 1.0rem!important;
    }
    h6 {
        font-size: 0.8rem!important;
    }
    div {
        font-size: 0.8rem;
    }
    .selYear .btn {
        padding-right: 0.4rem !important;
        padding-left: 0.4rem !important;
    }
    .btn {
        font-size: 0.8rem!important;
    }
    .form-control, .form-select {
        font-size: 0.8rem!important;
    }

    .card-footer .form-control {
        padding-right: 0;
        padding-left: 0.5em;
    }
    
    td {
        border-color: gray;
    }
    tbody {
        border-style: none;
    }
    
    table.c1hs td:nth-child(1), table.c1hs th:nth-child(1), table.c2hs td:nth-child(2), table.c2hs th:nth-child(2),
    table.c3hs td:nth-child(3), table.c3hs th:nth-child(3), table.c4hs td:nth-child(4), table.c4hs th:nth-child(4),
    table.c5hs td:nth-child(5), table.c5hs th:nth-child(5), table.c6hs td:nth-child(6), table.c6hs th:nth-child(6),
    table.c7hs td:nth-child(7), table.c7hs th:nth-child(7), table.c8hs td:nth-child(8), table.c8hs th:nth-child(8),
    table.c9hs td:nth-child(9), table.c9hs th:nth-child(9), table.c10hs td:nth-child(10), table.c10hs th:nth-child(10),
    table.c11hs td:nth-child(11), table.c11hs th:nth-child(11), table.c12hs td:nth-child(12), table.c12hs th:nth-child(12) {
        display: none;
    }
    /*.selYear .input-group-text{
        display:none;
       }*/
   .selYear .input-group-text, .selYear .btn{
    padding:0;
   }
   .selYear .form-select {
    padding: 0.375rem 0.3rem 0.375rem 0.1rem;
    background-position: right 0.1rem center;
   }

   .hbig {
    display:unset!important;
    }
    .table.c10nw td:nth-child(10){
        max-width: 0;
        overflow: hidden;
        width: 30%;
        text-wrap: nowrap;
        text-overflow: ellipsis;
    }
    .table.c10nw td:nth-child(10):hover{
        max-width: 0;
        overflow: visible;
        width: 30%;
    }

    .riderCard{
        position: absolute;
        z-index: 1;
        top: -2em;
        left: 8em;
        margin-top:0!important;
    }
    .player.xl-to-large{
        transform: scale(0.3)!important;
    }
    #playercard_container {
        height: 260px!important;
    }
    .counter {
        transform: scale(0.7);
        margin-top: -20px!important;
        margin-bottom: -30px!important;
    }
    .cardcont .offcanvas, .offcanvas.offcanvas-end{
        width: 13rem!important;
    }

    .segMenu{
        max-height: 180px!important; 
        overflow:scroll;
        border-right:none!important;
    }

    .perfsMenu{
        max-height: 250px!important; 
        overflow:scroll;
    }

    .miniNavbar {
        position:sticky;
        width: -webkit-fill-available;
        top:45;
        z-index:500;
    }

    .perfscont .offcanvas{
        /*height:2000rem;*/
        padding: 0;
        background-color: transparent;
        width:90%!important;
        top:5rem!important;
        border-left:none;
        
    }
    .popover{
        width:60%!important;
}
    table.fullrow1 thead {
        display:none;
    }
    table.fullrow1 tbody td:nth-child(1){
        width:100%;
        border-bottom:none;
    }
    table.fullrow1 tbody td:last-child{
        display:none;
    }
    table.fullrow1 tbody tr>td:not(:first-child){
        flex:1;
        text-align:center;
    }
    table.fullrow1 tr{
        display: flex;
        flex-wrap: wrap;
    }
    .progress{
        --bs-progress-height:0.5rem;
    }
}
/* end of max-width 676px */


.table-nowrap td{
    text-wrap:nowrap;
}
.bib {
    border:0.5px solid;
    padding:1px 2px;
    background-color:white;
}
.popover{
    font-family:inherit!important;
    width:25%;
    max-width:100%;
}
.popover-body {
    padding:0!important;
}
.table-xs > :not(caption) > * > * {
    padding: 0.1rem 0.25rem;
}

.predcanvas .offcanvas{
    top:5rem!important;
    border-right:none;
}

.perfscont .offcanvas{
    /*height:2000rem;*/
    padding: 0;
    background-color: transparent;
    width:50%;
    top:5rem!important;
    border-left:none;

}

.table.c3nwcut td:nth-child(3){
    max-width: 0;
    overflow: hidden;
    width: 40%;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}
.table.c4nw td:nth-child(4){
    text-wrap: nowrap;
}

.cardcont .offcanvas.offcanvas-end {
        width: 16rem;
}
.table.c2nopad td:nth-child(2){
    padding: 0!important;
}
.table.c5nw td:nth-child(5){
    text-wrap: nowrap;
}
.cardcont .offcanvas.offcanvas-end{
    margin-left: 0em!important;
    transform:translateX(+70%);
}

.cardcont .offcanvas.show{
    transform:none;
}
.cardcont .offcanvas{
    height:2000rem;
    padding: 0;
    background-color: transparent;
    visibility: visible;
    width: 16rem;
    border: none!important;
    top:5rem!important;
    pointer-events:none;
}
.cardcont .offcanvas #playercard_container {
    pointer-events: auto;
    position:fixed;
}



.cardcont .offcanvas button {
    position: fixed;
    margin-right: 16rem;
    margin-top: 8rem;
    z-index:10;
    pointer-events:auto;
}

.initiale{
    font-size:0em;
}


.tablenergy td{
    border-bottom-width:0;
}
.nopaddingb td{
    padding-bottom:0;
}
.nopaddingt td{
    padding-top:0;
}
  

@media only screen and (max-width: 676px) {
    .hide-small{
        display:none;
    }
    .table-sm {
        padding: 0.15rem 0.15rem;
    }
    table.col1hide td:nth-child(1) {
        display: none!important;
      }
    table.col2hide td:nth-child(2) {
        display: none!important;
    }
    table.col3hide td:nth-child(3) {
        display: none!important;
      }
    table.col4hide td:nth-child(4) {
        display: none!important;
    }
    table.col5hide td:nth-child(5) {
        display: none!important;
      }
    table.col6hide td:nth-child(6) {
        display: none!important;
    }
}

@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    #no-longer-tables table,
    #no-longer-tables thead,
    #no-longer-tables tbody,
    #no-longer-tables th:nth-child(1),
    #no-longer-tables td:nth-child(1),
    #no-longer-tables tr {
    display: block;
    text-align:center;
    }
     
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-longer-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
    }

    #no-longer-tables tr { 
        border: none;
        border-bottom: 1px solid #ccc;
    }
    #no-longer-tables .raceCalendar td:last-child {
        width:1%;
    }
    #no-longer-tables .raceCalendar td:nth-child(2) {
        width:1%;
    }
    #no-longer-tables .raceCalendar td:nth-child(5) {
        width:1%;
    }
    
      
    #no-longer-tables td {
    /* Behave like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    white-space: normal;
    text-align:left;
    }
    #no-longer-tables .top3 td {
        position:static;

    }
    #no-longer-tables th {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        white-space: normal;
        text-align:center;
    }

    #no-longer-tables td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
    }
     
    /*
    Label the data
    */
    #no-longer-tables td:before { content: attr(data-title); }
    }

.hbig {
    display:none;
}

.image-container {
    position: relative;
    background-image: url('');
    background-repeat:no-repeat;
    background-size:auto 100%;
    background-position: right;
}
@media only screen and (min-device-width: 677px) {
    .image-container {
        margin-left: -20vw;
    }
}
.filter-zone {
    position: absolute;
    top: 0;
    right: 12%; /* Position initiale de la tranche (en pourcentage de la largeur) */
    width: 0%; /* Largeur initiale de la tranche */
    background-image: url('');
    background-size:auto 100%;
    background-position: right;
    background-repeat:no-repeat;
    filter: brightness(0); /* Appliquez votre filtre ici */
    pointer-events: none; /* Pour éviter l'interaction avec la zone filtrée */
}
.seg-card .card{
    height:6em;
    background-position: left;
    background-size: auto 100%; 
    background-repeat:no-repeat; 
    filter:grayscale(1);
}
.seg-card .card:hover{
    filter:initial;
}
.seg-card .card.active{
    filter:initial;
}
.segMenuH{
    max-width: 100%; 
    -webkit-overflow-scrolling: touch;
    width: 100%;
    overflow-x: scroll;
}
.segMenuH::-webkit-scrollbar {
    -webkit-appearance: none;
    width:0px;
    height:5px;
}

header.sticky-top{
    overflow:hidden;
}
.dropdown-menu{
    position:fixed!important;
}
.segMenu{
    max-height: 300px; 
    height: 300px;
    overflow:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling: touch;
    --bs-border-width: 3px;
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}
.clickRows a{
    pointer-events: none;
}
.clickRows tr{
    cursor: pointer;
}
.clickRows tr.active td{
    background-color: #c4c1c1;
    font-weight: bolder;
}
.clickRows tr.active{
    outline: solid 3px #ffc107;
    box-shadow:0px 4px 4px rgba(0, 0, 0, 0.40)
}
.clickRows tr.active img{
    filter: initial!important;
}


.maxWidth0{
    max-width:0;
}

.rowSelected {
    /*border-bottom: 1px solid;*/
    background-color:#adadad;
}
.clickTable td {
    padding:0;
    border:0
}


.blackRanking {
    background-color: #232323;
    color: #f7ce2e!important;
}
.blackRanking a{
    color: #f7ce2e!important;
}
.blackRanking .progress-bar {
    background-color: #f7ce2e!important;
}
.blackRanking tr:nth-of-type(odd) {
    color: #f7ce2e!important;
}
.blackRanking > tbody > tr:nth-of-type(odd) > * {
    color: #f7ce2e!important;
}


.progress-bar {
    background-color: grey;
}

.clickTable td a.blockLink {
    display: block;
    padding:0.25em 0.25em;
}

.clickTable tbody:hover {
    background-color: #e4e4e4;
}

.clickTable3 tbody:hover {
    background-color: #e4e4e4;
}
.clickTable3 td {
    clip-path: inset(0);
    position:relative;
}

.clickTable2 tr {
    position: relative;
    clip-path: inset(0);   /* for Safari and iOS */
}

.clickTable3 tr {
    position: relative;
}

body {
    background-color: #e4e4e4;
}

.relief {
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.40);
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
  display: block;
  margin-top: 0.125em;
  margin-left: 0.125em;
}


.navBlack {
    background-color: #000000;
}

.navBlack a {
    color: rgba(var(--bs-light-rgb)) !important;
}

.navBlack .nav-link {
    /*padding: 1.5rem !important;*/
    padding: 0;
    transition: all 1s ease;
}

/*
.navBlack .nav-link:hover {
    color:  #000000!important;
    background-color: rgba(var(--bs-warning-rgb)) !important;
    transform: rotateX(90deg);

}
*/

.navBlack .dropdown-menu {
    background-color:  #000000!important;
}
.navBlack .dropdown-menu .dropdown-item:hover {
    color: rgba(var(--bs-warning-rgb)) !important;
    background-color: #000000!important;
}
.navBlack .dropdown-menu:hover > .navBlack .dropdown-toggle {
    color:  #000000!important;
    background-color: rgba(var(--bs-warning-rgb)) !important;
}


.three-d div, .three-d div::before, .three-d div::after {
    display: block;
    transition: all .3s ease-out;
    transform-style: preserve-3d;
}
.three-d {
    position: relative;
    cursor: pointer;
    transition: all .07s linear;
}
.three-d div {
    display: block;
    padding: 1.5rem;
    perspective: -200px;
}
.three-d div::before, .three-d div::after {
    padding: 1.5rem;
    content: attr(title);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000000;
    box-sizing: border-box;
}
.three-d div::before {
    transform: rotateX(0deg) translateZ(2rem);
}
.three-d div::after {
    transform: rotateX(-90deg) translateZ(2rem);
    color:  #000000!important;
    background-color: rgba(var(--bs-warning-rgb)) !important;
}
li:hover .three-d div, .three-d:focus div {
    transform: translateZ(-2rem) rotateX(90deg);
}

.navBlack a:active > .navBlack .nav-link{
    padding: 1em;
}

.navBlack .nav-link:active{
    padding: 1em;
}



/*


.navBlack .nav-link {
    display: block;
    padding: 18px 35px;
    perspective: -200px;
}

.navBlack .nav-link::before, .navBlack .nav-link::after {
    top: 0;
    left: 0;
    text-align: center;
    content: attr(title);
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
}
.navBlack .nav-link::before {
    transform: rotateX(0deg) translateZ(-3rem);
}
.navBlack .nav-link::after {
    transform: rotateX(-90deg) translateZ(3rem);
    color:  #000000!important;
    background-color: rgba(var(--bs-warning-rgb)) !important;
}
*/
.article-link:hover{
    background-color:rgba(var(--bs-warning-rgb));
}

.footer-link:hover {
    background-color:rgba(0, 0, 0, 0.075);
}

.performance-container {
    display: flex;
    align-items: center;
    font-size: 2em;
    font-weight: bolder;
    white-space: nowrap;
}

.main-number-container {
    position: relative;
    display: flex;
    align-items: center;
}

.main-number {
    font-size:1em;
    color: rgb(244, 102, 22);
}

.sup-container {
    font-size: 0.5em;
    margin-left: 0.4em;
    position:absolute;
    top: 0.6em;
    left: 2.1em;
    align-items: center;
}

.sup-container i {
    font-size: 0.8em;
}

.sup-arrow {
    font-size: 2em;
    color: black;
}

.sup-text {
    font-size: 0.8em;
    color:black;
}
.circled-text{
    border:solid 1px gray;
    border-radius:60%;
    -moz-border-radius:60%;
    -webkit-border-radius:60%;
}
.main-arrow-container {
    margin-left: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-arrow {
    font-size: 0.6em;
    position: absolute;
    top: 2em;
    left: 1em;
    color:black;
}

.main-text {
    width:16em;
    margin-top:0.3em;
    font-size: 0.5em;
    color: black;
}

.input-group-text{
    font-size:1em;
}

.startlistlevel td{
    padding:0;
    font-size:0.9em;
}
.startlistlevel td:first-child {
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 0;
    width:40%;
}
.startlistlevel tr:last-child td{
    border:none;
}
.startlistlevel td .progress-bar {
    height:1em;
}
.calculator .input-group-text{
    min-width:2em;
}

table.col2nowrap50 td:nth-child(2) {
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 0;
    width:50%;
}
table.col2nowrap td:nth-child(2) {
text-overflow: ellipsis;
overflow: hidden;
text-wrap: nowrap;
max-width: 0;
width:60%;
}

.btn-special {
    background-color:rgba(var(--bs-warning-rgb));
    color:black;
}
.btn-special:hover {
    background-color:black;
    color:rgba(var(--bs-warning-rgb));
}


table.col4nowrap td:nth-child(4) {
    text-wrap: nowrap;
  }

  table.c1ra td:nth-child(1), table.c1ra th:nth-child(1), table.c2ra td:nth-child(2), table.c2ra th:nth-child(2),
  table.c3ra td:nth-child(3), table.c3ra th:nth-child(3), table.c4ra td:nth-child(4), table.c4ra th:nth-child(4),
  table.c5ra td:nth-child(5), table.c5ra th:nth-child(5), table.c6ra td:nth-child(6), table.c6ra th:nth-child(6),
  table.c7ra td:nth-child(7), table.c7ra th:nth-child(7), table.c8ra td:nth-child(8), table.c8ra th:nth-child(8),
  table.c9ra td:nth-child(9), table.c9ra th:nth-child(9), table.c10ra td:nth-child(10), table.c10ra th:nth-child(10),
  table.c11ra td:nth-child(11), table.c11ra th:nth-child(11), table.c12ra td:nth-child(12), table.c12ra th:nth-child(12) {
      text-align: right;
  }


table.col1right td:nth-child(1) {
    text-align: right;
  }
table.col2right td:nth-child(2) {
    text-align: right;
}
table.col3right td:nth-child(3) {
    text-align: right;
  }
table.col4right td:nth-child(4) {
    text-align: right;
}
table.col5right td:nth-child(5) {
    text-align: right;
  }
table.col6right td:nth-child(6) {
    text-align: right;
}

table.col3center td:nth-child(3) {
    text-align: center;
  }
table.col4center td:nth-child(4) {
    text-align: center;
  }

table.col3left td:nth-child(3) {
    text-align: left!important;
}

div.bg-transparent .nav-link{
    color:rgb(var(--bs-light-rgb));
}
.nav-link.active{
    font-weight:bold;
}

.bg-image-blur{
    filter: blur(4px);
    -webkit-filter: blur(4px);
    transform:scaleX(-1);
    /* Full height */
    height: 60em;

    /* Center and scale the image nicely */
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position:absolute;
    z-index:-1;
}

tr.hide-table-padding td {
padding: 0;
}

.expand-button {
    position: relative;
}

.accordion-toggle .expand-button:after
{
    position: absolute;
    left:0rem;
    top: 50%;
    transform: translate(0, -50%);
    font-family: "bootstrap-icons";
    content: '\F278';
}
.accordion-toggle.collapsed .expand-button:after
{   
    font-family: "bootstrap-icons";
    content: '\F27E';
}






.counter{
    color: #319B38;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 140px;
    height: 180px;
    padding: 40px 28px 0;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.counter:before,
.counter:after{
    content: '';
    background: linear-gradient(135deg,#fff,#f1f1f1);
    height: 98px;
    width: 98px;
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #008533;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    top: 50px;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.counter:before{
    background: linear-gradient(135deg, #00652F 50%, transparent 50%);
    box-shadow: none;
    top: 80px;
}
.counter .counter-icon{
    font-size: 35px;
    line-height: 40px;
    margin: 10px 0 6px;
}
.counter h3{
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    margin: 0 0 16px;
}
.counter .counter-value{
    color: #000000;
    background: linear-gradient(to right, #0C8412, #319B38);
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    width: 100%;
    padding: 5px 0 26px;
    position: absolute;
    left: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0, 50% 85%);
}
.counter.yellow{ color: #ffc107; }
.counter.yellow:after{
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #ffc107;
}
.counter.yellow:before{
    background: linear-gradient(135deg, #c39305 50%,transparent 50%);
}
.counter.yellow .counter-value{
    background: linear-gradient(to right, #ffcd37, #fdbe00);
}

.counter.gray{ color: black; }
.counter.gray:after{
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #6c6a66;
}
.counter.gray:before{
    background: linear-gradient(135deg, #454440 50%,transparent 50%);
}
.counter.gray .counter-value{
    color: white;
    background: linear-gradient(to right, #807e75, #4d4b46);
}

.counter:hover {
    transition: transform 0.8s;
    /* transform: rotate3d(0, 1, 0,180deg);
	/* -webkit-transform: rotateX(90deg);
	/* transform: rotateX(90deg); /* Text bleed at 90º */
}

.counter:hover{ color: #ffc107; }
.counter:hover:after{
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #ffc107;
}
.counter:hover:before{
    background: linear-gradient(135deg, #c39305 50%,transparent 50%);
}

.counter:hover .counter-value{
    color:#000000;
    background: linear-gradient(to right, #ffcd37, #fdbe00);
}



.flip-card {
    background-color: transparent;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

.counter:hover .flip-card-inner{
    transform: rotate3d(0, 1, 0,180deg);
  }

  .flip-card-front {
    color: white!important;
    background: linear-gradient(to right, #807e75, #4d4b46)!important;
  }

  /* Style the back side */
  .flip-card-back {
    color:#000000!important;
    font-size:18px!important;
    transform: rotateY(180deg);
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    background: linear-gradient(to right, #ffcd37, #fdbe00)!important;
  }





.counter.blue{ color: #1B9FD1; }
.counter.blue:after{
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #288EBB;
}
.counter.blue:before{
    background: linear-gradient(135deg, #1167C3 50%, transparent 50%);
}
.counter.blue .counter-value{
    background: linear-gradient(to right, #0784C3, #32AAEE);
}
.counter.red{ color: #D85411; }
.counter.red:after{
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #BF4C13;
}
.counter.red:before{
    background: linear-gradient(135deg, #A60810 50%, transparent 50%);
}
.counter.red .counter-value{
    background: linear-gradient(to right, #CC2D00, #FC6000);
}
@media screen and (max-width:990px){
    .counter{ margin-bottom: 0px; }
}


/*Eliminates padding, centers the thumbnail */


    
    /* Styles the thumbnail */
    
    
    /* Styles the lightbox, removes it from sight and adds the fade-in transition */
    
    .lightbox-target {
    position: fixed;
    right:0;
    top: -100%;
    width: 100%;
    background: rgba(0,0,0,.7);
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    overflow: hidden;
     
    }
    
    /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */
    
    .lightbox-target img {
    margin: auto;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    bottom: 0;
    max-height: 0%;
    max-width: 0%;
    border: 3px solid white;
    box-shadow: 0px 0px 8px rgba(0,0,0,.3);
    box-sizing: border-box;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
      
    }
    
    /* Styles the close link, adds the slide down transition */
    
    a.lightbox-close {
    display: block;
    width:50px;
    height:50px;
    box-sizing: border-box;
    background: white;
    color: black;
    text-decoration: none;
    position: absolute;
    top: -80px;
    right: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    }
    
    /* Provides part of the "X" to eliminate an image from the close link */
    
    a.lightbox-close:before {
    content: "";
    display: block;
    height: 30px;
    width: 1px;
    background: black;
    position: absolute;
    left: 26px;
    top:10px;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
    }
    
    /* Provides part of the "X" to eliminate an image from the close link */
    
    a.lightbox-close:after {
    content: "";
    display: block;
    height: 30px;
    width: 1px;
    background: black;
    position: absolute;
    left: 26px;
    top:10px;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
    }
    
    /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */
    
    .lightbox-target:target {
    opacity: 1;
    z-index:1200;
    top: 0;
    bottom: 0;
      overflow:scroll;
    }
    
    .lightbox-target:target img {
    max-height: 100%;
    max-width: 100%;
    }
    
    .lightbox-target:target a.lightbox-close {
    top: 0;
    }
    
.pctbar {
    width: 6em;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.05);
    overflow:hidden;
    border: solid 1px grey;
    border-bottom-right-radius: var(--bs-border-radius) ;
    border-top-right-radius: var(--bs-border-radius) ;
    border-left: 0;
}

.pctbar.pctbar-reverse {
    text-align:right;
    border-bottom-left-radius: var(--bs-border-radius) !important;
    border-top-left-radius: var(--bs-border-radius) !important;
    border-right: 0 !important;
    border-left:solid 1px grey;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.pctbar.hash {
    background: linear-gradient(-45deg, rgba(0,0,0,0.1)25%, transparent 25%, transparent 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.pctbar-fill {
    height: 1em;
    display: inline-block;
}
.pctbar-fill.pctbar-green {
    background-color:#008533;
}
.pctbar-fill.pctbar-red {
    background-color:#A60810;
}
.pctbar-fill.pctbar-gradient.pctbar-green {
    background:linear-gradient(to right, rgba(250, 200, 0, 1) 10%, #008533 60%);
}
.pctbar-reverse .pctbar-fill.pctbar-gradient.pctbar-red {
    background:linear-gradient(to right,#A60810 40%, rgba(250, 200, 0, 1) 90%);
}
.pctbar-separator {
    width: 3px; /* Largeur de la délimitation */
    display:inline-block;
    height: 1.4em; /* Hauteur de la délimitation (peut dépasser les progress bars) */
    background-color: #000; /* Couleur de la délimitation */
    position: relative;
    top: 0.2em; /* Pour que ça dépasse vers le haut */
    z-index: 1; /* Assure que la délimitation soit au-dessus des progress bars */
}




/* CX */


.navButton[aria-expanded="true"] i {
    color: rgba(var(--bs-warning-rgb)) !important;
}

.raceCalendar {
    border: none;
}

td .catCourse{
    font-size:0.8em;
    text-wrap: nowrap;
}

td .catIcons{
    margin: 0;
    min-width:8em;
    max-width:10em;
}


.iconH {
    margin-bottom:0.1em;
}
.iconResult span{
    color:white;
}
.iconResult.iconH{
    background-color: #01631b;
    
}
.iconResult.iconW{
    background-color: #540069;
}

.iconResult.iconH:hover span{
    color: #01631b;
}
.iconResult.iconW:hover span{
    color: #540069;
}
.iconResult.iconH:hover{
    background-color: white;
    border-color: #01631b;
}
.iconResult.iconW:hover{
    background-color: white;
    border-color: #540069;
}

.iconNoResult.iconH{
    border-color: #01631b;
    color:#01631b; 
}
.iconNoResult.iconW{
    border-color: #540069;
    color: #540069;
}

.raceCalendar td {
    padding-top:0.15em;
    padding-bottom:0.15em;
}

.likedRaces .btn{
    background-color:rgba(40,167,69,0.2);
    border-color:rgba(40,167,69,1.0);
    padding-top:0.1em;
    padding-bottom:0.1em;
    padding-left:0.2em;
    padding-right:0.2em;
}


.btnGroupCats .btn {
    width:3em;
    height:2.5em;
    border-color:black;
}
.btnGroupCatsM .btn.active, .btnGroupCatsM .btn:hover{
    border-width: 2;
    font-weight:bolder;
    color: white;
    background-color: rgba(1,99,27,1.0);
    border-color: rgba(1,99,27,1.0);
}

.btnGroupCatsW .btn.active, .btnGroupCatsW .btn:hover{
    background-color: rgba(84,0,105,1.0);
    color: white;
    border-color: rgba(84,0,105,1.0);
    border-width: 2;
    font-weight:bolder;
}
.btnGroupCatsW .btn{
    background-color: rgba(84,0,105,0.5);
    color: black;
}

.btnGroupCatsM .btn{
    background-color: rgba(1,99,27,0.5);
    color: black;
}

#no-longer-tables .top3 td img {
    height:100% 
}


.minibar-wrapper {
    width:12em;
    position:absolute;
    bottom:0;
    height:15%; 
}
.minibar {
    background-color:rgba(100, 100, 100, 0.8);
    height:100%;
    display:inline-block; 
}

table.col3relative td:nth-child(3) {
    position:relative;
}
table.col3relative td:nth-child(3) a{
    position:relative;
    z-index:1;
}


.share-btn-group {
    position: relative;
    display: inline-block;
}
.share-btn-group .share-icons {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease-in-out;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index:10;
}
.share-btn-group:hover .share-icons {
    opacity: 1;
    transform: scaleY(1);
}
.share-icons a {
    color: #333;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}
.share-icons a:first-child {
    border-top: none;
}
.share-icons a:hover {
    background-color: #f0f0f0;
}