.custom-container{
    background-color: white;
}

select{
    color: #041831;
    border: none;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: "SF Pro Display Semibold";
    padding-right: 15px;
    width: fit-content;
    width: -moz-fit-content;
}

select option{
  color: #041831;
}

label{
    color: #21B2EC;
    display: block;
    width: fit-content;
    width: -moz-fit-content;
}

.qualified-players{
    display: flex;
    align-items: center;
}

.qualified-players label{
    margin-right: 10px;
}

.left-side-menu{
    position: fixed;
    left: -100%;
    height: 100%;
    transition: 0.7s;
}

.title-table{
    text-transform: uppercase;
    color: #062041;
    font-family: "SF Pro Display Bold";
    font-size: 16px;
}

.table-stat thead th {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1002;
    top: 66px;

}

.table-stat td.fixed-side{
    width: 15%;
}
  
.table-stat thead tr th{
    text-transform: uppercase;
}

.table-stat{
    width: 100%;
}

.table-stat img{
    height: 40px;
    width: 40px;
}

.table-stat .border-right{
        border-right: 1px solid #21B2EC;
}

.table-stat th,
.table-stat td{
    text-align: center;
}

.table-stat th{
    padding-right: 15px;
}

.table-stat th.fixed-side, .table-stat td.fixed-side {
    text-align: initial;
    padding-left: 20px;
}

.table-stat td.team-player-info,
.table-stat th.team-player-info{
    text-align: initial;
    width: 200px;
}

.table-stat th.team-player-info{
    padding-left: 15px;
}

.table-stat .number {
    width: 24px;
}

.table-stat .fixed-side .number, 
.table-stat thead .fixed-side span {
    padding-right: 30px;
}

.table-stat .background-photo img {
    object-fit: cover;
    height: 55px;
    width: 55px;
}

.table-stat thead{
    height: 60px;
}

.table-stat thead .sorting{
    background-image: url(../../img/divers/sort_both_datatable.png);
}
.table-stat thead .sorting_asc{
    background-image: url(../../img/divers/sort_asc_datatable.png) !important;
}
.table-stat thead .sorting_desc{
    background-image: url(../../img/divers/sort_desc_datatable.png) !important;
}
.table-stat thead .sorting, .table-stat thead .sorting_asc, .table-stat thead .sorting_desc {
    background-repeat: no-repeat;
    background-position: center right;
}

.table-stat .background-photo {
    background-color: white;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    overflow: hidden;
    margin: 5px 10px 5px 0;
}

.table-stat svg{
    position: relative;
    top: 9px;
    height: 45px;
}

.filter{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
}

.filter > div{
    margin: 10px 0;
}

.stat-header{
    margin-bottom: 15px;
}

.conteneur-flex{
    display: flex;
    align-items: center;
}

.page-container{
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.dataTables_filter{
    display: none;
}

.table-wrap .bottom{
    display: flex;
    align-items: center;
    width: 100%;
    background: #F4F4F4;
    padding: 7px;
}

.table-stat tr.odd td.sorting_1{
    filter: brightness(1.3);
}
.table-stat tr.even td.sorting_1{
    filter: brightness(1.3);
}

.dataTables_info{
    color: #062041;
    font-size: 13px;
    font-family: "SF Pro Display Medium";
}

th{
    cursor: pointer;
}

.dataTables_paginate{
    margin: auto;
}

.paginate_button{
    cursor: pointer;
}
.paginate_button svg{
    height: 20px;
    fill: #062041;
}
.paginate_button.next{
    margin-left: 20px;
}

@media (max-width: 1440px){ 
    .table-stat thead th {
        top: 0;
    }
    .table-scroll {
        position: relative;
        margin: auto;
        overflow: hidden;
    }
    .table-conteneur .bottom{
        position: sticky;
        bottom: -40px;
        z-index: 1000;
    }
    .table-conteneur {
        overflow-x: scroll;
        overflow-y: hidden;
        position: relative;
    }
    .table-wrap {
        width: 100%;
        overflow-x: auto;
        height: 100vh;
        background-color: #F4F4F4;
    }
    .fixed-side {
        position: sticky;
        position: -webkit-sticky; /* for Safari */
        z-index: 1000;
        left: 0;
        top: auto;
        border-right: 2px solid #041831!important;
    }
    .table-stat thead th.fixed-side {
        z-index: 1003;
    }
    .table-stat {
        border-collapse: separate; /* Don't collapse */
        border-spacing: 0;
    }
}

@media (max-width: 1250px){ 
    .table-wrap {
        height: 75vh;
    }
}

@media (min-width: 1100px){
    .mobile{
        display: none;
    }
}

@media (max-width:1100px){
    .stat-engine-container .custom-container{
        width: 100%;
        padding-left: 20px; 
        padding-right: 20px;
    }
    .mobile{
        display: block;
    }
    .desktop{
        display: none;
    }
    .filter{
        width: 70%;
    }
}

@media (min-width: 900px){
    .mobile{
        display: none;
    }
}
@media (max-width: 900px){
    .mobile{
        display: block;
    }
    .desktop{
        display: none;
    }
    .custom-container{
        padding-left: 20px; 
        padding-right: 20px; 
    }
    .table-stat td.team-player-info{
        text-align: center;
    }
}

@media (max-width: 575px){
    .custom-container {
        padding-top: 15px;
    }
    span.mobile{
        display: initial;
    }
}

@media (max-width: 450px){
    .staff-name, .player-name {
        width: 30%;
    }
}

@media (max-width: 370px){
    .table-stat th.fixed-side,
    .table-stat td.fixed-side{
        padding-left: 5px
    }
}

@media (max-width: 330px){
    .filter{
        width: 100%;
    }
}
