.modal[open] {
    display: grid!important;
}
/* Errors page */

.error-page-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 100px auto;
    padding: 0 50px;
}

.error-page-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.error-page-header {
    display: flex;
    align-items: center;
    font-size: 120px;
    line-height: 150px;
    height: 150px;
    font-weight: 600;
    gap: 20px;
}

.error-page-header img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.error-page-description {
    font-size: 35px;
    padding-top: 30px;
    line-height: 50px;
}

.error-page-goHome {
    margin-top: 30px;
}

a.f-gohome-link {
    display: inline-block;
    background: linear-gradient(360deg, #212121, #70002e, #df005b);
    border: 2px solid #5f5f5f;
    font-size: 20px;
    line-height: 40px;
    padding: 0 40px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all .3s;
}

.f-gohome-link:hover {
    background: linear-gradient(360deg, #df005b, #70002e, #212121);
}

/* end Errors page */

/* account */
.user-lvl-icon {
    position: relative;
    color: #000;
    cursor: pointer;
}

.user-lvl-1 {
    background: gold;
}

.user-lvl-2 {
    background: green;
}

.user-lvl-3 {
    background: red;
}

.user-lvl-4 {
    background: blue;
}

.user-lvl-5 {
    background: violet;
}

.user-lvl-6 {
    background: purple;
}

.profile__content > div {
    position: relative
}

#security.userTableTab .fa-coins_svg {
    margin-left: 5px;
}

@keyframes faetPulsation {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 1; }
}

.faetPulsation {
    animation: faetPulsation 3s infinite;
}

.discover__section h2 {
    text-align: left;
}

.lvl-rank-wrp {
    border-radius: 11px;
    position: relative;
    overflow: hidden;
    background: #1e1e1e;
}

.lvl-rank-wrp .lvl-rank-bg {
    background: #e81c5a;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.lvl-rank-wrp input {
    margin: 0;
    z-index: 4;
    position: relative;
    background: transparent;
}

#ref_content {
    border-top: 1px solid #2c2c2c;
    padding-top: 20px;
}

.opacity03 {
    opacity: 0.3;
}

.faet-tooltip {
    position: relative
}

.faet-tooltip-text {
    display: none;
    position: absolute;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    border: none;
    border-bottom: 3px solid #e81c5a;
    background: #2a2a2a;
    flex-wrap: wrap;
    cursor: pointer;
}

.faet-tooltip:hover .faet-tooltip-text {
    opacity: 1;
    display: flex;
    width: auto;
    min-width: 350px;
    max-width: 500px
}
.g_sidebar_footer {
    position: relative;
}

.faet-tooltip2-text {
    display: none;
    position: absolute;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 16px;
    padding-top: 15px;
    margin-top: -5px;
    left: 0;
    color: #6b6b6b;
}

.faet-tooltip2-bg {
    background: #242424;
    padding: 10px;
    border-radius: 10px;
}

.faet-tooltip2-text a {
    text-decoration: none;
    color: #ff0d6c;
}

.faet-tooltip2-text a:hover {
    color: #ff5a9c;
}

.faet-tooltip2:hover .faet-tooltip2-text {
    display: block;
}

a#notifications:hover {
    cursor: pointer;
}

#notifications .header_notifications_window {
    border-radius: 10px;
    padding: 10px 5px;
    left: auto;
    right: 0;
    position: absolute;
    padding-bottom: 15px;
}

.profile__name {
    max-width: calc(100% - 40px);
}

.profile__name > span, .dropdown__header .dropdown__avatar + div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.auth_dlg, .auth_dlg .login_title {
    height: auto!important;
}

.auth_dlg .auth_header, .auth_dlg .auth_content, .auth_dlg .login {
    position: relative!important;
    height: auto !important;
    top: 0 !important;
    text-align: center;
    background: transparent;
}

.auth_dlg .auth_header {
    padding-top: 0;
}

.auth_dlg .pf_fields {
    border-bottom: 2px solid #3e3e3e;
    padding-bottom: 20px;
    margin-bottom: 20px;
    background: transparent;
    height: auto !important;
}

.auth_dlg .login_fields .icon {
    top: calc(50% - 5px);
}

.auth_dlg .login_fields__submit {
    top: 40px !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    position: relative !important;
    margin: 0 auto !important;
    display: block !important;
}

.adminLoginWrp {

}

.adminLoginWrp form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.adminLoginWrp form input {
    padding: 5px 10px;
    border-radius: 10px;
    background: #777777;
    border: 2px solid #e81c5a;
    opacity: 1 !important;
}

.adminLoginWrp form button {
    background: linear-gradient(180deg, #4a0016, #770024, #e81c5a);
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #fff;
    transition: all .3s;
}

.adminLoginWrp form button:hover {
    background: linear-gradient(180deg, #e81c5a, #770024, #4a0016);
}

.promotions {
    margin: 50px 0
}

.promotions__items {
    grid-template-columns: 1fr 1fr 1fr;
}
.promotions__item .promotions__img {
    top: 0;
    right: -12px;
    max-height: 100%;
    height: auto;
    max-width: 60%;
    width: auto;
}
@media(max-width: 1200px) {
    .promotions__items {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 576px) {
    .promotions__items {
        grid-template-columns: 1fr;
    }
}

header {
    z-index: 3;
}

.promo-modal-content {
    padding: 20px
}

.lBlock .line2 .balanceEndBet .block .value {
    display: flex;
}
.lBlock .line2 .balanceEndBet .block img {
    margin-right: 5px;
}

.gameHistoryCont {
    padding: 50px 0;
}

.noData {
    padding: 50px 0;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

#table-payments-history-tabpanel-1, #table-payments-history-tabpanel-2, #table-payments-history-tabpanel-3 {
    min-width: unset!important;
}

/* f@eToN's slider */
#faetons-carousel {
    overflow: hidden;
    position: relative;
}

.faetons-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.faetons-slide {
    flex: 0 0 100%;
}

@media (min-width: 767px) {
    .faetons-slide {
        flex: 0 0 calc(50% - 20px);
        margin-right: 20px;
    }
}

@media (min-width: 1200px) {
    .faetons-slide {
        flex: 0 0 calc(33.3333% - 20px);
        margin-right: 20px;
    }
}

.header__avatar-img {
    overflow: hidden;
}

.profile__col > div > picture {
    border-radius: 20px;
    overflow: hidden;
}

.faetModal {
    background: rgba(0, 0, 0, 0.9);
    z-index: 25;
    display: flex;
    align-items: center!important;      /* по перпендикулярній осі */
    justify-content: center!important;
}

/* CHAT */
.chat_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #242424;
}
.chat_event_timer {
    position: relative;
    margin: 0;
}

/* ROULETTE styles */
.highliteWinNum {
   border: 1.5px solid #fff;
    box-shadow: 0 0 2px #fff;
}
.lBlock .tokens {
    width: 100%;
    overflow: hidden;
    gap: 13px;
    display: flex;
}
.lBlock .tokens.slick-slider {
    display: block;
}
.lBlock .tokens .tc {
    float: left;
}

.roulette-container .roulette-game-container.inRoll::before {
    content: 'There are no more bets. Wait for the result.';
    position: absolute;
    left: 13px;
    right: 13px;
    top: 2px;
    bottom: 40px;
    background: rgba(0, 0, 0, 1.7);
    color: #fff;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 20px;
    opacity: .4;
}


/* ЧАТ */
#chat .chat__flow {
    padding-bottom: 30px;
}

.chat .chat_messages #chat .message {
    overflow: unset;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#chat .message .user {
    display: grid;
    grid-template-columns: 35px calc(100% - 35px);
    grid-template-areas:
        "item1 item2"
        "item1 item3";
}

#chat .message .user .image {
    grid-area: item1;
    width: 30px;
}

#chat .message .user .image img {
    border-radius: 8px;
    overflow: hidden;
}

#chat .user .name {
    grid-area: item2;
    position: relative;
    max-width: 100%;
    height: 16px;
}

#chat .user .name a {
    text-overflow: ellipsis;
    display: inline-block;
    max-width: calc(100% - 35px);
    overflow: hidden;
    margin: 0 !important;
    top: 0;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

#chat .user .name a:hover {
    color: #2ee0d1;
}

#chat .message-admin .user a {
    color: #e9a443!important;
}

#chat .user .name .badge {
    top: 0;
    right: 0;
    bottom: auto;
    position: absolute;
}

#chat .message_content {
    grid-area: item3;
    margin-top: 0;
    margin-left: 0;
    color: #979797;
    font-size: 12px;
    line-height: 1.4;
}

.chat .chat_mod_drop_send {
    display: none;
}

.ref-list > table {
    width: 100%;
}

.ref-list > table thead {
    height: 40px;
    line-height: 40px;
    color: #5b5b5b;
}

.ref-list > table thead th {
    font-weight: bold;
    text-align: center;
    width: auto;
}

.ref-list > table tbody td {
    padding: 5px 0;
    text-align: center;
    width: auto;
}

.ref-list > table thead th:nth-child(1), .ref-list > table tbody td:nth-child(1) {
    width: 50px;
    text-align: left;
}

.ref-list > table thead th:nth-child(4), .ref-list > table tbody td:nth-child(4) {
    width: 160px;
    text-align: right;
}
