@media(min-width: 1025px){
    .games-col-all{
        width: 20% !important;
    }
}

.dataTables_paginate > a{
    display: none;
}
.dataTables_paginate span{
    display: flex;
    justify-content: flex-end;
}
.dataTables_paginate span a{
    background: #232334;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
}
.dataTables_paginate span a.current{
    background: #5360E4;
}
.dataTables_paginate span a:hover{
    color: #fff;
    background: #5360E4;
}
#game_section{
    padding: 25px 0 41px;  
    border-bottom: 1px solid #303041; 
}
#game_section .container{
    max-width: 1440px;
}
.game-single{
    background: #232334;
    border-radius: 8px; 
    padding: 48px 10px 22px 20px;
}
.dataTables_paginate{
    position: absolute;
    bottom: -30px;
    width: 100%;
    left: 0;
}
.game-single h3{
    margin-bottom: 23px;
    font-size: 20px;
}
#history_section{
    padding-top: 22px;
    margin-bottom: 15px;
}
.dataTables_filter input{
    background-color: #232334;
    border-radius: 112px;
    border: 1px solid #232334;
    height: 48px;
    padding-left: 27px;
    font-size: 14px;
    color: #fff;
    background-image: url(../../images/search-icon.svg);
    background-repeat: no-repeat;
    background-position-x: 94%;
    background-position-y: 50%;
    padding-right: 40px;
    font-size: 16px;
    width: 308px !important;
}
.dataTables_filter label{
    font-size: 0;
}
.dataTables_filter input::placeholder{
    color: #A3A3BC;
}
.dataTables_length{
    display: none !important;
}
.dataTables_length select:focus,
.dataTables_filter input:focus{
    background-color: #232334;
    outline: none;
    border: 1px solid #232334;
    color: #fff;
}
.dataTables_length select{
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #232334;
    height: 48px;
    border-radius: 5px;
    border: 1px solid #232334;
    color: #A3A3BC;
    background-image: url(../../images/select-icon.svg) !important;
    background-position-x: 95%;
    background-repeat: no-repeat;
    background-position-y: 50%;
    padding-left: 10px;
    width: 100%;
    font-size: 16px !important;
}
#table_games h2{
    padding-top: 38px;
    margin-bottom: -40px;
}
.game-history-table{
    position: relative;
    padding-bottom: 50px;
}
.game-history-table .table{
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
.dataTables_wrapper{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 30px;
}
.dataTables_length{
    order: 2;
    flex-basis: 212px;
    max-width: 212px;
}
.dataTables_length label{
    width: 100%;
    font-size: 0;
}
.dataTables_filter{
    order: 1;
    flex-basis: calc(100%);
    max-width: calc(100%);
    display: flex;
    justify-content: flex-end;
}
.game-history-table table{
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 38px;
}
.dataTables_info{
    display: none;
}
#table_games tr th{
    border: none !important;
    box-shadow: none !important;
    padding-left: 0;
    color: rgba(163, 163, 188, 1);
    font-weight: 400;
    cursor: pointer;
}
#table_games tbody{
    border-top: 1px solid rgba(48, 48, 65, 1);
}
#table_games tbody td{
    padding-left: 0;
    border-bottom: 1px solid rgba(48, 48, 65, 1);
    padding: 17px 0;
    font-size: 15px;
    color: #fff;
    position: relative;
}
#table_games tbody td:not(:first-of-type)::before{
    content: '';
    position: absolute;
    background: #303041;
    width: 1px;
    height: 27px;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}
#table_games tbody td a{
    display: flex;
    position: relative;
}
#table_games tbody td a::before{
    content: '';
    position: absolute;
    background: url(../../images/arrow-right-lead.svg);
    width: 13px;
    height: 8px;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}
#table_games tbody .game_finished,
#table_games tbody .game_finished a{
    color: rgba(109, 255, 203, 1) !important;
}
#table_games tbody .game_in_progress a{
    color: rgba(255, 241, 115, 1);
}
@media(max-width: 1440px){
    .game-single h3{
        font-size: 18px;
    }
}
@media(max-width: 1024px){
    .game-history-table{
        max-height: calc(100vh - 500px);
    }
    .game-single{
        margin-bottom: 24px;
        padding: 38px 10px 22px 20px;
    }
    .game-single h3{
        font-size: 18px;
        margin-bottom: 18px;
    }
    .history-search{
        flex-basis: 35%;
        max-width: 35%;
    }
    .history-filter{
        flex-basis: 25%;
        max-width: 25%;
    }
}
@media(max-width: 767px){
    .game-single{
        padding: 25px 10px 20px;
        margin-bottom: 8px;
    }
    .game-single h3{
        font-size: 16px;
        margin-bottom: 10px;
    }
    #game_section .row{
        margin-left: -4px;
        margin-right: -4px;
    }
    #game_section .col-6{
        padding-left: 4px;
        padding-right: 4px;
    }
    #game_section{
        padding: 20px 0;
    }
    .dataTables_filter input{
        max-width: 330px;
        margin: 0 auto;
    }
    .dataTables_filter label{
        width: 100%;
        text-align: center;
    }
    .history-filter select{
        max-width: 200px;
        margin: 20px auto 0;
    }
    #table_games h2{
        margin-bottom: 20px;
        text-align: center;
    }
    .dataTables_length,
    .dataTables_filter{
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .dataTables_length{
        margin-top: 20px;
        text-align: center;
    }
    .dataTables_length select{
        width: 180px;
    }
    .game-history-table{
        max-height: calc(100vh - 200px);
    }
    .fl-page{
        margin-bottom: 50px;
        overflow: visible !important;
    }
    #table_games tbody td{
        min-width: 170px;
    }
    .dataTables_wrapper{
        margin-bottom: 0px;
    }
}