
.modal-how-works p{
    font-size: 14px;
    /* text-align: center; */
    line-height: 1.6;
}
.modal-how-works h3{
    max-width:300px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}
body.active{
    max-height: 100vh !important;
    overflow: hidden;
}
#users_header{
    border-bottom: 1px solid #303041;
}
.header-nav{
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-nav__menu ul{
    display: flex;
    align-items: center;
}
.header-nav__menu li{
    position: relative;
    margin-left: 43px;
}
.header-nav__menu a{
    color: #A3A3BC;
    position: relative;
    padding: 15px;
}
.header-nav__menu li:hover .how-it-works-btn{
    opacity: 1;
    pointer-events: all;
}
.header-nav__menu .how-it-works-btn{
    position: absolute;
    bottom: -38px;
    background: #232334;
    font-size: 12px;
    margin-left: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
}
.header-nav__menu a.active::before{
    content: '';
    position: absolute;
    background: #5360E4;
    width: 30px;
    height: 3px;
    border-radius: 5px;
    bottom: -5px;
    left: 15px;
}
.header-nav__menu a:hover{
    color: #fff;
}
.mobile-menu{
    display: none;
}
#game-date-name{
    padding: 26px 0 20px;
}
.game-col__date{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.game-col__date p {
    line-height: 1;
    margin-left: 11px;
    margin-top: 2px;
}
#game-access{
    background: #1F1F2F;
    padding: 30px 0px;
    position: relative;
}
#game-access h3{
    margin-bottom: 0;
}
.game-access__wrapper h3{
    text-align: center;
    margin-bottom: 20px !important;
}
.game-access__wrapper form{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.game-access__wrapper form .form-group{
    display: flex;
    flex-direction: column;
}
.game-access__wrapper form .form-group label{
    color: #A3A3BC;
    margin-bottom: 10px;
}
.game-access__wrapper .form-group input{
    width: 285px;
    height: 54px;
    background: rgba(13, 13, 28, 0.6);
    border: 1px solid #303041;
    border-radius: 10px;
    padding-left: 22px;
    color: #fff;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.game-access__wrapper .form-group input::placeholder{
    color: #fff;
}
.game-access__wrapper .form-group input:focus{
    border: 1px solid #303041;
    outline: none;
}
.in__progress::before{
    content: 'Game in Progress';
    position: absolute;
    background: rgba(31, 31, 47, 0.8);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.game-wrapper__table .dataTables_info,
.game-wrapper__table .dataTables_filter,
.game-wrapper__table .dataTables_length{
    display: none;
}
#game-wrapper{
    padding-top: 40px;
    padding-bottom: 60px;
}
.game-wrapper__table table th,
.game-wrapper__table table td{
    padding-left: 0;
}
.game-wrapper__table table th,
.game-wrapper__table tbody{
    border: none !important;
}
.game-wrapper__table table th{
    color: #A3A3BC;
    font-weight: 400;
    pointer-events: none;
}
.game-wrapper__table table td{
    color: #fff;
    border-bottom: 1px solid rgba(163, 163, 188, 0.5);
    font-size: 15px;
    padding: 14px 0;
    position: relative;
}
.game-wrapper__table table td:not(:first-of-type)::before{
    background: rgba(163, 163, 188, 0.5);
    width: 1px;
    height: 27px;
    position: absolute;
    content: '';
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}
.first_place::before{
    position: absolute;
    content: '';
    background: url(../../images/first-place.svg);
    width: 20px;
    height: 15px;
    right: 35px;
    background-size: 100% 100%;
    top: 50%;
    transform: translateY(-50%);
}
.second_place::before{
    position: absolute;
    content: '';
    background: url(../../images/second-place.svg);
    width: 20px;
    height: 15px;
    right: 35px;
    background-size: 100% 100%;
    top: 50%;
    transform: translateY(-50%);
}
.third_place::before{
    position: absolute;
    content: '';
    background: url(../../images/third-place.svg);
    width: 20px;
    height: 15px;
    right: 35px;
    background-size: 100% 100%;
    top: 50%;
    transform: translateY(-50%);
}
.winner-col{
    background: #232334;
    border-radius: 20px;
    text-align: center;
    padding: 49px 40px 44px;
    margin-top: 10px;
}
.winner-col__crown p{
    color: #A3A3BC;
    margin-top: 10px;
}
.game-col__player-name h2{
    margin-top: 10px;
}
.time-left-col{
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #232334;
    padding: 48px 40px 44px;
}
.time-left-col img{
    margin-bottom: 10px;
}
.time-left-col  p{
    font-size: 18px;
    color: rgba(163, 163, 188, 1);
    text-align: center;
    max-width: 288px;
    line-height: 1.6;
}
.time_left{
    font-weight: 600;
    font-size: 38.6875px;
    color: #fff;
    display: block;
    margin-bottom: 10px;
    margin-top: 5px;
}
.time-left-col{
    display: none;
}
.dataTables_paginate{
    display: none;
}
.dataTables_paginate span{
    display: flex;
    justify-content: flex-end;
}
.dataTables_paginate > a{
    display: none;
}
.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;
}
.affiliate-col{
    margin-top: 34px;
}
.affiliate-col p{
    color: #A3A3BC;
    max-width: 336px;
    text-align: center;
    margin: 0 auto 20px;
    line-height: 1.8;
}
@media(max-width: 1024px){
    .header-nav__menu a{
        margin-left: 30px;
    }
    .game-access__wrapper .form-group input{
        width: 170px;
    }
    .header-nav__logo img{
        width: 150px;
    }
    .header-nav__menu{
        display: none;
    }
    .mobile-menu{
        display: block;
    }
    .overlay.active{
        transform: scale(1);
        opacity: 1;
        pointer-events: all;
    }
    .open_nav span{
        background: #fff;
        width: 30px;
        height: 2px;
        display: block;
        margin: 5px 0;
        border-radius: 2.5px;
    }
    .open_nav span,
    .open_nav{
        transition: all .2s ease;
    }
    .open_nav.active span{
        margin: -2px 0;
    }
    .open_nav.active span.line-1{
        transform: rotate(45deg);
    }
    .open_nav.active span.line-2{
        transform: rotate(-45deg);
    }
    .overlay{
        width: 100%;
        height: calc(100% - 80px);
        position: fixed;
        background: #0D0D1C;
        left: 0;
        top: 80px;
        overflow: hidden;
        transition: .5s;
        z-index: 999;
        transform: scale(.5);
        opacity: 0;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .overlay-content {
        position: relative;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 46px;
    }
    .overlay-content li{
        display: flex;
        flex-direction: column;
    }
    .overlay-content a{
        font-size: 24px;
        color: #fff;
        margin-bottom: 40px;
        font-weight: 600;
        display: inline-block;
    }
    .overlay-content a:first-of-type{
        margin-bottom: 10px;
    }
    .overlay-content a:last-of-type{
        color: rgba(255,255,255,.3);
        font-size: 20px;
    }
}
@media(max-width: 767px){
    .game-wrapper__table table td:not(:first-of-type)::before{
        left: -10px;
    }
    #game-wrapper{
        padding-top: 20px;
    }
    .in__progress::before{
        font-size: 30px;
    }
    .game-access__wrapper form .form-group label{
        font-size: 14px;
    }
    .game-access__wrapper .form-group input{
        width: 100%;
        padding-left: 20px;
        font-size: 14px;
    }
    .game-access__wrapper form{
        flex-wrap: wrap;
    }
    .game-access__wrapper form .form-group:last-of-type{
        margin-bottom: 0;
    }
    .game-access__wrapper form .form-group{
        flex-basis: calc(50% - 5px);
        max-width: calc(50% - 5px);
        margin-bottom: 10px;
    }
    #game-wrapper .row{
        flex-direction: column-reverse;
    }
    .time-left-col,
    .winner-col{
        padding: 35px 40px 25px;
    }
    .time_left{
        font-size: 30px;
    }
}