@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Bebas+Neue');
@import url('https://fonts.googleapis.com/css?family=Contrail+One');

.table-wrapper {
    /* box-shadow: 0px 35px 50px rgba(0, 0, 0, 0.2); */
    /* box-shadow: -1px 15px 30px -12px rgb(32, 32, 32); */
    border-radius: 0.7rem;
    margin-bottom: 30px;
}

.fl-table {
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: white;
}

.fl-table td,
.fl-table th {
    text-align: center;
    padding: 8px;
}

.fl-table td {
    border-right: 1px solid #f8f8f8;
    font-size: 14px;
}

.fl-table tr:nth-child(even) {
    background: #f8f8f8;
}

/* DRIVERS */

.ranking_driver_position {
    font-weight: bold;
}

/* .ranking_driver_name {
    text-align: justify !important;
    padding-left: 20px !important;
}

.ranking_constructors_name {
    text-align: justify !important;
    padding-left: 30px !important;
} */

.ranking_driver_points {
    font-weight: bold;
}

.ranking_driver_flag {
    width: 1.5em;
    display: inline;
}

/* CONSTRUCTORS */

.ranking_constructor_position {
    font-weight: bold;
}

/* .ranking_constructor_name {
    text-align: justify !important;
    padding-left: 20px !important;
} */

.ranking_constructor_points {
    font-weight: bold;
}

.ranking_constructor_flag {
    width: 1.5em;
    display: inline;
}

/* Responsive */

@media screen and (max-width: 1270px) {
    .fn {
        display: none;
    }
}

@media (max-width: 1160px) {
    .str_f1_classement_races .fl-table {
        display: block;
        width: 100%;
    }
    .str_f1_classement_races .table-wrapper:before {
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .str_f1_classement_races .fl-table thead,
    .str_f1_classement_races .fl-table tbody,
    .str_f1_classement_races .fl-table thead th {
        display: block;
    }
    .str_f1_classement_races .fl-table thead th:last-child {
        border-bottom: none;
    }
    .str_f1_classement_races .fl-table thead {
        float: left;
    }
    .str_f1_classement_races .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .str_f1_classement_races .fl-table td,
    .str_f1_classement_races .fl-table th {
        padding: 20px 0.625em 0.625em 0.625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .str_f1_classement_races .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .str_f1_classement_races .fl-table tbody tr {
        display: table-cell;
    }
    .str_f1_classement_races .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .str_f1_classement_races .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .str_f1_classement_races .fl-table tr td:nth-child(odd) {
        background: #f8f8f8;
        border-right: 1px solid #e6e4e4;
    }
    .str_f1_classement_races .fl-table tr td:nth-child(even) {
        border-right: 1px solid #e6e4e4;
    }
    .str_f1_classement_races .fl-table tbody td {
        display: block;
        text-align: center;
    }
}


@media (max-width: 875px) {
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before {
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .fl-table thead,
    .fl-table tbody,
    .fl-table thead th {
        display: block;
    }
    .fl-table thead th:last-child {
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td,
    .fl-table th {
        padding: 20px 0.625em 0.625em 0.625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .fl-table tr td:nth-child(odd) {
        background: #f8f8f8;
        border-right: 1px solid #e6e4e4;
    }
    .fl-table tr td:nth-child(even) {
        border-right: 1px solid #e6e4e4;
    }
    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}