/* Homepage-specific inline styles from index.html */

:root {
    --header-height: 62px;
    --input-placeholder-color: #c8c9d4;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: unset;
    text-decoration: none;
}
*, :after, :before {
    box-sizing: border-box;
}
[v-cloak] { display: none; }
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
    border-radius: 0;
}
::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #353535;
}
::-webkit-scrollbar-track {
    background: #e6e8ec;
    width: 6px;
    height: 6px;
    border-radius: 0;
}

body, html, * {
    font-family: 'Kanit', sans-serif;
}
body {
    height: fit-content;
    background-image: linear-gradient(to bottom, #27273f, #212335);
}
.main-content {
    height: 100%;
    position: relative;
}

.header-block {
    height: 55px;
    display: flex;
    color: #fff;
    width: 100%;
    justify-content: space-between;
}
.header-logo {
    height: 100%;
    padding: 0.75em 0;
}
.header-logo .ic {
    height: 100%;
}
.header-nav {
    display: flex;
    align-items: center;
}
.header-nav-item {
    font-size: 0.85em;
    margin: 0 0.5em;
    color: #dbdbdbc7;
    height: 100%;
    padding: 0 1em;
}
.header-nav-item > .link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-nav-item.active {
    color: #fff;
    border-top: 2px solid #cf2029;
}
a:hover {
    color: #fff;
}
.header-action {
    padding: 0.75em 0;
    display: flex;
    align-items: center;
}
.header-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 0.25em;
    padding: 0.5em 1.2em;
    border-radius: 5em;
    background:#cf2029;
    min-width: 97px;
    box-shadow: -1px -1px 2px #ff2d37bd, 2px 2px 4px #5e0404;
}
.header-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 0.25em;
    padding: 0.5em 1.2em;
    border-radius: 5em;
    background:#212335;
    min-width: 97px;
    box-shadow: -1px -1px 5px #4f5584, 2px 2px 4px #000000e3;
}

.banner-block {
    margin: 1em 0;
    position: relative;
    overflow-x:hidden;
    border-radius: 1em;
}
.banner-item {
    border-radius: 0.5em;
    overflow: hidden;
}
.banner-item .pic {
    border-radius: 0.5em;
    overflow: hidden;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.swiper-pagination {
    position: absolute;
    bottom: 0;
    padding: 0.65em 0;
}
.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-radius: 4px;
    width: 2em;
    background: #f3333c;
}
.game-type-block {
    height: fit-content;
    margin: 0.5em 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.game-type-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 7em;
    background:#27273F;
    margin-right: 0.85em;
    box-shadow: -1px -1px 7px #444863, 2px 2px 6px #000000e3;
    border-radius: 0.5em;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 5.5em;
    margin-bottom: 1em;
}
.game-type-item:hover {
    background: #d7d9e6;
    transition: all 0.2s ease;
}
.game-type-item:hover > .name {
    color: #000;
    font-weight: 350;
}
.game-type-item > .ic{
    width: 35%;
}
.game-type-item > .name{ 
    color: #bbbbbb;
    font-weight: 200;
    margin-top: 0.55em;
}
.game-type-item.jackpot {
    flex-direction: column;
    flex: 1;
    margin-right: 0;
    max-width: 12em;
} 
.game-type-item.jackpot  > .bottom {
    display: flex;
    justify-content: space-between;
    color: #fff;
    margin-top: 0.5em;
    align-items: center;
}
.game-type-item:hover > .bottom{
    color: #000;
    font-weight: 350;
}
.game-type-item.jackpot > .name {
    width: 100%;
    padding-left: 1em;
}
.game-type-item.jackpot  > .bottom > .ic {
    width: 2.2em;
    margin-right: 0.5em;
}
.game-type-item.jackpot  > .bottom > .amount {
    font-size: 1.4em;
    font-weight: 250;
}

#nav-tab-games-show {
    margin-top: 1em;
    margin-bottom: 0.5em;
    border-bottom: 0;
    display: flex;
    flex-wrap: nowrap;
}
#nav-tab-games-show > .nav-link {
    margin-right: 1em;
    border-radius: 2em;
}
#nav-tab-games-show > .nav-link.active {
    background: #cf2029;
    border: 0;
    color: #fff;
}

.game-list-block {
    margin:1em 0;
    margin-top: 2.5em;
}

.game-list-header {
    display: flex;
    justify-content: space-between;
    color: red;
}
.game-list-header > .action-panel {
    display: flex;
}
.game-list-header > .action-panel button {
    border: none;
    outline: none;
    color: #fff;
    background: transparent;
    font-size: 0.9em;
    font-weight: 250;
    margin-right: 1em;
    padding: 0.5em 1.2em;
}
.game-list-header > .action-panel button.active {
    background: #cf2029;
    border-radius: 1em;
}
.game-list-header > .title {
    padding: 0.5em 1em;
    border: 1px solid #fff;
    border-radius: 1em;
    font-weight: 200;
    color: #adadad;
    font-size: 0.9em;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-item,
.grid-sizer {
    width: 20%;
}
.game-list-block > .list {
    margin-top: 1em;
}
.grid-item {
    float: left;
    height: fit-content;
    padding: 0.5em;
}
.grid-item > .pic {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px black);
}
.grid-item--width2 { width: 40%; }
.grid-item--height2 { height: fit-content; }
.why-us-block {
    margin-top: 2em;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.why-us-block > .title {
    color: #fff;
    font-size: 1em;
    font-weight: 350;
}
.why-us-block > .list {
    margin-top: 1em;
}
.why-us-item {
    width: 20%;
    height: 135px;
    padding: 0.5em;
}
.why-us-item--height2 {
    height: 270px;
}
.why-us-item--height3 {
    height: 405px;
}
.why-us-item-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #27273F;
    box-shadow: -1px -1px 5px #4f5584, 2px 2px 4px #000000e3;
    border-radius: 0.5em;
    overflow: hidden;
}
.why-us-item-inner.center-xy {
    justify-content: center;
    align-items: center;
}
.why-us-item-inner> .pic-head {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.why-us-item-inner > .title {
    color: #fff;
    line-height: 1.3;
    margin-top: 0.5em;
    padding: 0.5em;
    font-weight: 200;
}
.why-us-item-inner > .title.center {
    text-align: center;
    padding: 1em;
}
.why-us-item-inner > .para {
    font-size: 0.8em;
    color: #cdcdcd;
    font-weight: 200;
    padding: 0.5em;
}
.why-us-item-sizer {
    width: 20%;
}
.why-us-item--width2 { width: 40%; }

.provider-logo-block {
    display: flex;
    flex-direction: column;	
    margin-top: 2em;
}
.provider-logo-block > .title {
    color: #fff;
    font-size: 1em;
    font-weight: 350;
}
.provider-logo-block > .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1em;
}
.provider-logo-item {
    width: 10.5%;
    height: 3.5em;
    background: #0000004a;
    border-radius: 5px;
    margin: 2px;
}
.provider-logo-item > .pic {
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.footer-block {
    display: flex;
    flex-direction: column;
    margin-top: 2.5em;
}
.footer-block > .bottom {
    display: flex;
    justify-content: space-between;
    font-weight: 200;
    font-size: 0.9em;
    border-top: 0.5px solid #ffffff71;
    color: #ffffffdd;
    padding: 1em 0;
}
.footer-top  {
    display: flex;
}
.footer-top > .left {
    width: 50%;
    padding: 1em 0;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo-web {
    height: 2em;
    object-fit: contain;
    margin-bottom: 1em;
}
.footer-paragraph {
    color: #fff;
    font-size: 0.9em;
    font-weight: 100;
    padding: 0.5em 0;
}
.footer-bank-list {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1em;
}
.footer-bank-list > .ic {
    width: 10%;
    padding: 0.25em;
    object-fit: contain;
}
.footer-top > .right {
    display: flex;
    flex-direction: column;
    padding: 1em 0;
    width: 50%;
    justify-content: space-between;
}
.footer-express-link {
    color: #fff;
    display: flex;
}
.footer-express-link > .link {
    font-size: 0.9em;
    font-weight: 200;
    flex: 1;
    text-align: center;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0000001c;
    margin: 0 1px;
}
.footer-device {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1em;
    justify-content: flex-end;
}
.footer-device-item {
    width: 35%;
    display: flex;
    border-radius: 8px;
    padding: 0.5em 1.2em;
    color:#fff ;
    align-items: center;
    border: 1px solid #ffffff40;
    margin: 3px;
}
.footer-device-item > .ic {
    width: 2em;
    height: auto;
    object-fit: contain;
}
.footer-device-item > .title {
    padding-left: 1em;
}
.footer-social {
    display: flex;
    justify-content: flex-end;
    margin-top: 1em;
}
.footer-social-item {
    height: 2.5em;
    width: 2.5em;
    margin: 0 4px;
}

.footer-social-item > .ic {
    height: 100%;
    width: auto;
    object-fit: contain;
}
@media only screen and (max-width: 390px) {
    .why-us-item-inner > h3.title {
        line-height: 1.1;
        font-size: 0.85em;
    }
    .why-us-item {
        height: 115px !important;
    }
    .why-us-item--height3 {
        height: 345px !important;
    }
    .why-us-item--height2 {
        height: 230px !important;
    }
    .why-us-item-inner > p.para {
        padding: 0.5em 0.85em;
    }
    li.provider-logo-item {
        width:18%;
        margin: 3px;
    }
    .provider-logo-item > img.pic {
        padding: 0.25em;
    }
}
@media only screen and (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .header-block {
        overflow: hidden;
    }
    .header-action {
        position: relative;
        left: -0.5em;
    }
    .footer-block {
        overflow: hidden;
    }
    .game-type-block {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .game-type-item {
        width: 30%;
        margin: 0;
        margin-bottom: 0.5em;
        padding: 1em 0.25em;
    }
    .game-type-block {
        height: fit-content;
    }
    .game-type-item.jackpot {
        width: 97%;
        margin-top: 0.5em;
        padding: 0.25em;
        padding-bottom: 1em;
    }
    .game-type-item.jackpot > .name {
        text-align: center;
        font-size: 1.5em;
        padding: 0;
    }
    .game-list-block {
        margin-top: 1em;
    }
    .grid-item, .grid-sizer {
        width: 32.5%;
    }
    .grid-item--width2 {
        width: 65%;
    }
    .grid-item:last-child {
        display: none;
    }
    .why-us-item-sizer,.why-us-item {
        width: 32.5%;
    }
    .why-us-item-sizer {
        height: fit-content;
    }
    .why-us-item--width2 {
        width: 65%;
    }
    .provider-logo-item {
        width: 13%;
    }
    .footer-top {
        flex-direction: column;
    }
    .footer-top > .left {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    .footer-bank-list {
        justify-content: center;
    }
    .footer-top > .right {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .footer-express-link {
        flex-direction: column;
        width: 50%;
    }
    .footer-device {
        width: 50%;
        margin-top:0;
    }
    .footer-device-item {
        width: 44%;
        padding: 5px;
    }
    .footer-device-item > .ic {
        width: 32%;
    }
    .footer-device-item > .title {
        padding-left: 5px;
        font-size: 0.8em;
    }
    .footer-social {
        width: 100%;
        justify-content: center;
    }
    #nav-tab-games-show > .nav-link {
        margin-right: 0.5em;
        font-size: 0.85em;
    }
    #nav-tab-games-show > .nav-link:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) { 
    #main-nav #navbarSupportedContent {
        background: #150a26 !important;
        top: calc(var(--header-height) - 10px) !important;
        height: calc(99vh - 50px) !important;
        max-height: unset !important
    }
}
