@media (max-width: 767px) {
    .div_radio_promotion small {
        font-size: 70%;
    }
    .contentmodal {
        padding-bottom: 5rem;
    }
}
@media (min-width: 768px) {
    .contentmodal {
        margin-top: 5rem !important;
    }
    .navbarmain {
        z-index: 6;
    }
    #lobbytab .contentmodal {
        min-width: 80%;
    }
}
.border-radius-50 {
    border-radius: 50px;
}
.btn-default {
    /*background: var(--main-theme-color) !important;*/
    color: #fff;
    border: 0;
}
.loadingspin {
    z-index: 999999;
}
.myAlert-top {
    height: auto;
}
.cursor-pointer {
    cursor: pointer;
}
.walletList {
    display: block;
}
.div_radio_promotion input[type="radio"] {
    width: auto;
}
#returncreditct .modaldiv {
    z-index: 999;
}
#qrcode img {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.page-link {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    margin-left: 2px;
    background-image: var(--main-theme-color),
        var(--main-theme-color);
    color: #f5f5f5;
    border: 0 solid transparent;
    border-radius: 0.25rem;
}
.page-link:hover {
    background: #f5f5f5;
}
.page-link:hover {
    color: #f5dbae;
}
.page-item.active .page-link {
    background: var(--main-theme-color) !important;
    box-shadow: 0 11px 15px #e2ba774f;
    color: #fff;
    border: 0 solid transparent;
    border-radius: 0.25rem;
}
.collapse .input-group {
    flex-wrap: inherit;
}
hr {
    border-top: 1px solid #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.form-control {
    height: auto;
}
.listht-p {
    box-shadow: 0 0 0 2px grey;
}
.history-scroll {
    overflow-y: auto;
    max-height: 450px;
    padding: 0 20px;
    overflow-x: hidden;
}
.history-lobby-scroll {
    overflow-y: auto;
    max-height: 520px;
    overflow-x: hidden;
}
.spinner {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 3px solid;
    margin-right: 7px;
    position: relative;
    top: 5px;
    border-color: #a68348;
    border-right-color: #f5dbae;
    animation: spinner-d3wgkg 1s infinite linear;
}
@keyframes spinner-d3wgkg {
    to {
        transform: rotate(1turn);
    }
}
.iningridgame img {
    box-shadow: none;
}
.gridgame.alone .iningridgame:before {
    background-image: none;
    background-origin: unset;
    background-clip: unset;
    box-shadow: none;
    background: 0 0;
    border: none;
}
.ingridgame.menu-game {
    padding: 3px !important;
}
.ingridgame.menu-game img {
    box-shadow: 0 0 2px 0 #000 !important;
    border-radius: 20px !important;
}
.section-announce {
    width: 100%;
    height: 100%;
    background-color: #f5dbae;
    background: var(--main-theme-color) !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 10px 10px;
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 430px) {
    .tabgamemenu {
        margin-top: 90px;
    }
}
body::after {
    background: #181721;
    background: linear-gradient(116deg, #2d2b2f, #18151cf7), var(--base-bg-main);
    background-size: cover;
}
@media (max-width: 320px) {
    .game-menu-img-overlay:hover::after {
        padding: 3px 5px !important;
        font-size: 0.7rem !important;
    }
}
@media (max-width: 767px) {
    .sidegamebar {
        padding-bottom: 80px;
    }
    .game-menu-img-overlay:hover::after {
        padding: 4px 5px !important;
        border-radius: 8px !important;
    }
}
.img-hot-type-icon {
    width: 20px !important;
    height: 20px !important;
}
.ingridgame.menu-game:hover img {
    transform: scale(1) !important;
}
.game-menu-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 20px;
}
.game-menu-img-overlay:hover::before {
    background: #00000094;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
.game-menu-img-overlay:hover::after {
    color: var(--font-active-color);
    border: none;
    background: var(--main-theme-color);
    box-shadow: 0 3px 5px #e2ba774f;
    padding: 6px 10px;
    border-radius: 8px;
    content: "เข้าเล่น";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.x-feed-news-header {
    z-index: 3;
    height: 30px;
    width: 100%;
}
.x-feed-news-header .-feed-news-inner-wrapper .-icon-container {
    margin-left: 0.5rem;
}
.x-feed-news-header .-feed-news-inner-wrapper .-track {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: 0.5rem;
}
.x-feed-news-header .-feed-news-inner-wrapper .-track .-track-item {
    color: #fff;
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: x-marquee 15s linear infinite;
    animation: x-marquee 15s linear infinite;
}
@keyframes x-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.x-feed-news-header .-feed-news-inner-wrapper .-track .-track-item:hover {
    animation-play-state: paused;
}
.swiper-container-2 {
    padding: 10px;
}
