.my-bets {
  
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-auto-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    place-items:  center;
}

.bet-card {
    background: var(--color-4);
    display: flex;
    flex-direction: column;
    margin: 5;
    padding: 8;
    width: 450;
    border-radius: 3px;
}

.bet-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: var(--color-1);
}

.bet-bets {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bet-quali {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 16%;
    min-width: 120;
    margin: 4 8 4 0;
}

.bet-quali-titre {
    background: var(--color-1);
    font-size: 13;
    text-align: center;
    padding: 2 4 2 4;
    color: var(--color-4);
    border-radius: 3px 3px 0px 0px;
}

.bet-quali-data {
    background: var(--color-2);
    display: flex;
    flex-direction: row;
    padding: 4;
    justify-content: space-between;
    border-radius: 0px 0px 3px 3px;
}

.bet-race-titre {
    background: var(--color-1);
    font-size: 13;
    text-align: center;
    padding: 2 4 2 4;
    color: var(--color-4);
    border-radius: 3px 3px 0px 0px;
}

.bet-race-data {
    background: var(--color-2);
    display: flex;
    flex-direction: row;
    padding: 4;
    justify-content: space-between;
    border-radius: 0px 0px 3px 3px;
}

.bet-race {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 16%;
    min-width: 120;
    margin: 4 8 4 0;
}

.bet-q {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.bet-r {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.bet-val {
    background: var(--color-1);
    width: 50;
    margin: 2 0 2 0;
    text-align: center;
}

.bet-third-pan {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4 0 0 0;
}

.bet-points {
    min-width: 140;
    margin: 4 0 4 0;
}

.bet-points-data {
    background: var(--color-2);
    padding: 4;
    border-radius: 0px 0px 3px 3px;
    display: flex;
}

.green {
    background: green;
    color: white;
}

.bet-label {
    font-size: 10;
    color:var(--color-3); 
}

.bet-fl {
    background: var(--color-2);
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    border-radius: 3px;
}

.bet-fl-titre {
    background: var(--color-1);
    font-size: 13;
    text-align: center;
    padding: 2 4 2 4;
    color: var(--color-4);
    border-radius: 3px 3px 0px 0px;
}

.bet-fl-data {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2 4 2 4;
}

.bet-label-fl {
    display: flex;
    font-size: 10;
    color:var(--color-3);
    align-items: center;
}

.bet-drs {
    background: var(--color-2);
    border-radius: 3px;
}

.bet-drs-data {
    text-align: center;
}

.bet-val-pts {
    background: var(--color-5);
    color: var(--color-1);
}

.pts-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.pts-vals {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

@media only screen and (max-width: 2100px)
{
    .my-bets {
        grid-template-columns: 33% 33% 33%;
    }
}

@media only screen and (max-width: 1430px)
{
    .my-bets {
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (max-width: 1000px)
{
    .my-bets {
        grid-template-columns: 100%;
    }
}

