@import url('https://fonts.googleapis.com/css?family=Mitr:200,300,400,500&subset=latin-ext,thai,vietnamese');



@font-face {
    font-family: NotosansThai;
    font-display: swap;
    src: url(../font/NotoSansThai-Regular.eot);
    src: url(../font/NotoSansThai-Regular.woff2) format("woff2"), url(../font/NotoSansThai-Regular.woff) format("woff"), url(../font/NotoSansThai-Regular.ttf) format("truetype"), url(../font/NotoSansThai-Regular.svg#NotoSansThai-Regular) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: NotosansThai-Medium;
    font-display: swap;
    src: url(../font/NotoSansThai-Medium.eot);
    src: url(../font/NotoSansThai-Medium.woff2) format("woff2"), url(../font/NotoSansThai-Medium.woff) format("woff"), url(../font/NotoSansThai-Medium.ttf) format("truetype"), url(../font/NotoSansThai-Medium.svg#NotoSansThai-Medium) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: NotosansThai-bold;
    font-display: swap;
    src: url(../font/NotoSansThai-Bold.eot);
    src: url(../font/NotoSansThai-Bold.woff2) format("woff2"), url(../font/NotoSansThai-Bold.woff) format("woff"), url(../font/NotoSansThai-Bold.ttf) format("truetype"), url(../font/NotoSansThai-Bold.svg#NotoSansThai-Bold) format("svg");
    font-weight: 700;
    font-style: normal;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* test */
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    position: relative;

}

html,
body {
    font-family: 'NotosansThai', sans-serif;
    letter-spacing: 1;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;

}

.fixed-bg {

    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background: url(../images/bg-black.jpg) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale')";
}

@media screen and (max-width:768px) {
    .fixed-bg {
        width: 100vw;
    }
}

/* body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg-black.jpg) repeat-x top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  } */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Mitr', sans-serif;
}

.navbar {
    width: 100%;
    height: auto;
    /* background: #970215; */
    background-color: #790000;
    color: white;
    padding: 8px 0;
}

/* notice bar */

/* .notice-bar {
    border-radius: 10px;
    padding: 2px;
    background: #b90504;
    height: 24px;
    width: 100%;
}

.label-notice {
    border-radius: 9px;
    background: white;
    height: 20px;
    color: #28a745;
    font-size: 14px;
    line-height: 20px;
    padding: 0px 8px;
    width: auto;
    white-space: nowrap
} */

.notice-bar {
    border-radius: 20px;
    padding: 2px;
    background: #b90504;
    height: 24px;
    width: auto;
    display: inline-flex;
}

.label-notice {
    /* border-radius: 20px; */
    /* background: white;  */
    height: 24px;
    /* color: #970215; */
    color: #28a745;
    font-size: 14px;
    line-height: 24px;
    /* padding: 0px 8px; */
    width: auto;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    margin-right: 5px;
}

.label-notice .online {
    width: auto;
    border-radius: 20px;
    background: #28a745;
    height: 24px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    color: white;
    padding: 8px 2px 8px 8px;
    display: inline-flex;
    margin-right: 0px;
    line-height: 1;
    align-items: center;
    font-size: 12px;
}

.label-notice .numonline {
    width: auto;
    border-radius: 20px;
    background: white;
    height: 24px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    color: #28a745;
    padding: 8px 8px 8px 5px;
    display: inline-flex;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 0px;
    text-align: center;
    line-height: 1;
    align-items: center;
    border: #28a745 2px solid;
}

@media screen and (max-width: 376px) {
    .label-notice i {
        display: none !important;
    }
}

.txt-notice {
    line-height: 20px;
    font-size: 16px;
    color: #fff;
    width: 100%;
    display: inline-flex;
}

/* notice bar */

/* error form */
.has-error {
    text-align: left;
}

.has-error input,
.has-error select,
.has-error textarea,
.has-error small {
    color: red !important;
}

.has-error input,
.has-error select,
.has-error textarea {
    border: 1px solid red !important;
    color: red !important;
}

.has-success input,
.has-success select,
.has-success textarea,
.has-success small {
    color: green !important;
}

.has-success input,
.has-success select,
.has-success textarea {
    border: 1px solid green !important;
    color: green !important;
}

/* error form */

.indexlogo {
    width: 100%;
    text-align: left;
}

/* .logoindex{
    background: url(../images/lottery.svg) no-repeat top center;
    background-size: cover;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
} */
.logoindex {
    /* background: url(../images/logo-fifalotto-white.png) no-repeat top center; */
    background-size: cover;
    width: 208px;
    height: 40px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.logoindex img {
    width: 100%;
}

.txtindex {
    display: inline-block;
    vertical-align: middle;
    color: #790000;
    font-size: 2em;
    text-shadow: #fff 1px 1px 0px;
}

.bgwhitealpha {
    /* background: rgba(179, 227, 236, 0.6); */
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border: rgba(255, 255, 255, 1) 2px solid;
}

.bgwhitealpha h6 {
    /* color: #970215; */
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6.text-danger {
    color: #970215 !important;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 span {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 14px;
}

.bgwhitealpha .card-header {
    font-weight: 400;
    font-family: 'Mitr', sans-serif;
}

.bgwhitealpha .border-card-right {
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    /* border-radius: 0px; */
}

.bgwhitealpha .border-card-right:last-child {
    border-right: none !important;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;

    /* border-radius: 0px; */
}

.bgwhitealpha .sub-card-header {
    font-size: 80%;
    /* line-height: 25px; */
    line-height: 1;
    padding: 5px 0px !important;
    vertical-align: middle;
    min-height: 25px;
    /* font-family: 'NotosansThai', sans-serif !important; */
}

.bgwhitealpha .bg-danger {
    border-radius: 3px;
}

.border-active {
    border: #970215 2px solid;
    /* background: rgba(38, 166, 91, 0.6); */
    background: rgba(151, 2, 21, 0.5);
    /* transition: border 0.5s linear; */
    transition: border 0.5s, opacity 0.8s linear;
}

.border-active h6 {
    color: #fff;
    ;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px #790000;
    font-size: 110%;
    font-weight: 400;
}

.border-active h6 span.badge-dark {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.0);
    /* color: #970215; */
    /* color: #049372; */
    /* background: white; */

    color: #fff;
    background-color: #dc3545;

    font-weight: 400;
    font-size: 14px;
}

.border-active .btn-dark {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.border-active .bg-danger {
    background-color: rgba(255, 255, 255, 1.0) !important;
    border-radius: 3px;
    color: #970215 !important;
}



.bglogin {
    background: #e8e8e8;
    border-radius: 5px;
    border: #790000 2px solid;
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: #d53529 0 0 3px;
    margin-top: 10px;
}

.subbglogin {
    background: #970215;
    border-radius: 5px;
    border: #790000 2px solid;
    border-top: #790000 1px solid;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: #d53529 0 0 3px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.subbglogin .rule a {
    /* color: aqua; */
    color: lightcoral;
    text-decoration: none;
    line-height: 30px;
}

.subbglogin .rule a:hover {
    color: white;
    text-shadow: #970215 1px 1px 0px;
}

.subbglogin .rule {
    text-align: right;
}

.subbglogin .submenulogin {
    text-align: right;
}

.subbglogin .submenulogin .btoutline {
    background: white;
    border-radius: 5px;
}

.form-middle {
    vertical-align: middle;
    font-size: 12px;
    line-height: 10px;
}

.form-middle label {
    font-size: 13px;
    vertical-align: -webkit-baseline-middle;
    /*font-family: tahoma;*/
    font-family: Mitr;
    line-height: 0px;
}

.form-middle .remember {
    text-align: right;
    color: #051f34;
    line-height: 20px;
    margin-bottom: 2px;
    /*text-shadow: #dbf7ff 1px 1px 0px;*/
}

.form-middle .forgot {
    font-size: 13px;
    text-align: right;
    /*font-family: tahoma;*/
    font-family: Mitr;
    line-height: 0px;
    margin-top: -5px;
}

.form-middle .forgot a {
    color: #970215;
    /* text-shadow: #07396f 1px 1px 0px; */
    text-decoration: none;
}

.form-middle .forgot a:hover {
    color: #051f34;
    text-shadow: #dbf7ff 1px 1px 0px;
}

footer.bg-danger div.footer-copyright a {
    color: lightcoral;
    text-decoration: none;
}

footer.bg-danger div.footer-copyright a:hover {
    color: lightcyan;
    text-decoration: none;
}

footer.bg-danger div.footer-copyright {
    color: white;
    text-shadow: 1px 1px 0 #970215;
}

footer.bg-danger {
    background: #790000 !important;
}

#footer-member.bg-danger div.footer-copyright a {
    color: #b90504;
    text-decoration: none;
}

#footer-member.bg-danger div.footer-copyright a:hover {
    color: lightcyan;
    text-decoration: none;
}

#footer-member.bg-danger div.footer-copyright {
    color: white;
    text-shadow: 1px 1px 0 #000;
}

#footer-member.bg-danger {
    background: #101010 !important;
}

@media (hover: none) {
    body {
        background-attachment: initial;
    }
}

@media screen and (max-width:768px) {
    .indexlogo {
        text-align: center;
    }

    .form-middle .remember {
        text-align: left;
        line-height: 12px;
        vertical-align: middle;
    }

    .form-middle label {
        font-size: 14px;
    }

    .form-middle .forgot {
        line-height: 20px;
        font-size: 14px;
        margin-top: 0;
    }

    .subbglogin .rule {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .bgwhitealpha .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 0.5em !important;
        -moz-column-gap: 0.5em !important;
        column-gap: 0.5em !important;
        orphans: 1;
        widows: 1;
    }

    .bgwhitealpha .sub-card-header {
        font-family: 'NotosansThai', sans-serif !important;
    }
}

@media (min-width: 768px) {
    .bgwhitealpha .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 0.5em !important;
        -moz-column-gap: 0.5em !important;
        column-gap: 0.5em !important;
        orphans: 1;
        widows: 1;
    }

    .bgwhitealpha .sub-card-header {
        font-family: 'Mitr', sans-serif !important;
    }
}


/************* button-select-category ***********/

.button-select-category .dropdown-menu .dropdown-item {
    padding: 5px 10px;
    border-top: 1px solid #d7eff3;
}

.button-select-category .dropdown-menu .dropdown-item:first-child {
    border-top: 1px solid white;
}

.button-select-category .dropdown-toggle::before,
.button-select-category .dropdown-toggle::after {
    /* display: none;  */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.button-select-category {
    /* display: none; */

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;

    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 15;
    text-align: center;

}

.button-select-category i.fa-times {
    display: none;
    font-style: normal;
}

.button-select-category a {
    color: #970215 !important;
    display: block;
    cursor: pointer;
    font-size: 14px;

}

.button-select-category a.text-dark {
    color: #fff !important;
    background: #970215 !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category a.text-dark:active {
    color: #fff !important;
    /*background: #b90504 !important;*/
    background: #b90504 !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category a:active {
    color: #fff !important;
    /* background: #970215 !important; */
    background: #b90504 !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category.show i.fa-times {
    display: block;
}

.button-select-category.show i.fa-search {
    display: none;
}

.button-select-category button {
    width: 47px;
    height: 47px;
    line-height: 24px;
    padding: 9px 10px;
    text-align: center;
    /* color: #fff; */
    color: #970215;
    border-radius: 47px;
    /* background-color: #970215; */
    background-color: #fff;
    border: 3px solid #b90504;
    -webkit-box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.button-select-category button i {
    /* color: #fff; */
    color: #970215;
    font-size: 24px;
    vertical-align: middle;
    text-align: center;
}

/************* end button-select-category ***********/

/********************** carousel slide ****************/

.carousel-inner {
    height: auto;
    width: 100%;
}

/* Count nav-pills */
.nav-slide {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide {
    width: 100%;
    counter-reset: number;
}

.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

#nav1.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: none;
    display: inline-block;
    visibility: hidden;
}

#nav1.nav-slide>li>.flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, .3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, .3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.nav-slide .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #970215;
    -moz-box-shadow: inset 0px 0px 0px 2px #970215;
    box-shadow: inset 0px 0px 0px 2px #970215;
}

.nav-slide li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    min-width: 30px;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee {
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide-yeekee {
    width: 100%;
    counter-reset: number;
}

.nav-slide-yeekee>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

.nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #970215;
    -moz-box-shadow: inset 0px 0px 0px 2px #970215;
    box-shadow: inset 0px 0px 0px 2px #970215;
    font-weight: bold;
}

/************************/
.nav-slide li,
.nav-slide-yeekee li {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    color: black !important;
    text-shadow: #fff 1px 1px 0px;
}

/************************/
.border-active .nav-slide .active,
.border-active .nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #d53529;
    -moz-box-shadow: inset 0px 0px 0px 2px #d53529;
    box-shadow: inset 0px 0px 0px 2px #d53529;
}

.border-active .nav-slide li,
.border-active .nav-slide-yeekee li {
    color: white !important;
    text-shadow: black 1px 1px 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

.border-active .nav-slide li.active,
.border-active .nav-slide-yeekee li.active {
    color: #790000 !important;
    text-shadow: #fff 1px 1px 0px;
    background-color: #fff;
}

/*************************/



.carousel-view ol {
    margin-top: 0;
    margin-bottom: 0rem;
}

.carousel-view {
    display: none;
    margin-bottom: 0rem;
    position: relative;
}


@media screen and (max-width:768px) {
    .carousel-view {
        display: block;
    }

    .pc-view {
        display: none !important;
    }

    .nav-slide li {
        position: relative;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        /* display: inline-block; */
        /* width: 24% !important; */
        width: 32.4% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        text-indent: 0px !important;
    }

    .nav-slide {
        position: relative;
        flex-wrap: wrap;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide-yeekee li {
        position: relative;
        -ms-flex: none;
        flex: none;
        /* display: inline-block; */
        width: 11.3% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        margin-bottom: 3px;
        text-indent: 0px;
    }

    .nav-slide-yeekee {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide li,
    .nav-slide-yeekee li {
        cursor: pointer;
        background-color: rgba(108, 117, 125, 0.2);
        font-size: 14px;
        font-weight: 400;
        text-shadow: none;
        border-radius: 2px;
    }

}

@media screen and (max-width:321px) {
    .nav-slide li {
        width: 32.0% !important;
        font-size: 11.5px;
    }

}

[role="button"] {
    cursor: pointer;
    /* แสดงตัวชี้เมาส์ */
}

.box__chip-lists .price:hover {
    background: rgb(131, 128, 128) !important;
}

.number-is-duplicate-active {
    background: #efda7e !important;
    color: #000 !important;
}

.contain {

    overflow: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/********************** end carousel slide ****************/

/********* end index **********/

/********* member ************/

.topnavbar {
    width: 100%;
    height: auto;
    background: #b90504;
    color: white;
    padding: 8px 0;
    border-bottom: var( --topnavbar-color) ;
}

.sticky-top {
    z-index: unset !important;
}

.botnavbar {
    width: 100%;
    height: auto;
    /*background: #b90504; 
    color: white;*/
    /* background: #f8f9fa; */
    /* background:#ccc; */
    background: #ececec;
    /* border-top: 1px #fcfcfc solid; */
    /* padding: 8px 0; */

}

.botnavbar.fixed-bottom {
    z-index: 998;
}

.memberlogo {
    width: auto;
    text-align: left;
}

.logomember {
    /* background: url(../images/lottery.svg) no-repeat top center; */
    background-size: cover;
    width: 125px;
    height: 24px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

#logosymbol {
    display: none;
}



@media screen and (max-width:765px) {
    .logomember {
        margin-left: 0px;
    }
}

@media screen and (max-width:321px) {
    .logomember {
        width: 35px;
        height: 35px;
        margin-top: 0px;
    }

    #logosymbol {
        display: inline-block;
        width: 100%;
        border-radius: 2px;
        box-shadow: #333 0px 0px 1px;
    }

    #logofull {
        display: none;
    }
}

.logomember img {
    width: 100%;
}

.txtlogomember {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    font-size: 1em;
    text-shadow: #790000 1px 1px 0px;
}

#menu-profile {
    margin-left: 5px;
    padding-right: 20px;
    display: inline-block;
    cursor: pointer;
}

#menu-profile.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}

/* #MenuProfile.dropdown-toggle:hover > .dropdown-menu{
    display: block !important;
} */
#menu-profile-dropdown>.dropdown-item:hover {
    background-color: #eee !important;
}

/* menu-pc */
#menu-pc {
    vertical-align: middle;
}

#menu-pc a {
    color: #500202;
    text-decoration: none;
    display: inline-block;
    margin-top: 2px;
    padding: 0 10px;
    font-size: 24px;
    vertical-align: middle;
    text-shadow: 1px 1px 0 #d80505;
}

#menu-pc a:hover,
#menu-pc a:active,
#menu-pc a.active {
    color: rgba(0, 0, 0, 1);
    text-shadow: 1px 1px 1px red;
}

.pc-view .bootstrap-select a,
.mobile-view .bootstrap-select a {
    font-size: initial;
    text-shadow: initial;
    color: initial;
}

.pc-view .bootstrap-select,
.mobile-view .bootstrap-select {
    background: transparent;
    height: auto;
}

.pc-view .bootstrap-select .btn-sm {
    background: rgba(0, 0, 0, .2);
}

.mobile-view .bootstrap-select .btn-block {
    background: rgba(0, 0, 0, .0);
}

.pc-view .bootstrap-select .filter-option-inner {
    min-width: 20px;
    max-width: 20px;
}

.pc-view .bootstrap-select .filter-option-inner span,
.mobile-view .bootstrap-select .filter-option-inner span {
    border-radius: 1px;
}

.pc-view .bootstrap-select>.dropdown-toggle,
.mobile-view .bootstrap-select>.dropdown-toggle {
    padding-right: 22px;
}

/* menu-mobile */
#menu-mobile {
    vertical-align: middle;
}

#menu-mobile a {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    padding: 8px 0;
    text-align: center;
    border-left: 1px #ececec solid;
    border-right: 1px #ececec solid;
    border-top: #cecece 1px solid;
}

#menu-mobile a:hover,
#menu-mobile a:active,
#menu-mobile a.active {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(255, 255, 255, 0.9) 1px solid;
    box-shadow: inset 0 -5px 0 #500202;
    border-top: #aeaeae 1px solid;
}

#menu-mobile a:hover:last-child,
#menu-mobile a:active:last-child {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(0, 0, 0, 0.05) 1px solid;
    /* border-right: rgba(255,255,255,0.6) 1px solid; */
}

#menu-mobile i {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    /* text-shadow: 1px 1px 0 #fff; */

    background-color: #565656;
    color: transparent;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

#menu-mobile a:hover i,
#menu-mobile a:active i,
#menu-mobile a.active i {
    color: #500202;
    text-shadow: #fff 1px 1px 0px;

}

#menu-mobile ul li {
    background: #ccc;
    display: inline-block;
}

/* #menu-mobile .support {
    background: #343a40;
    color: #fff;
    box-shadow: inset 0px 5px 0px #555;
}

#menu-mobile .support i {
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    vertical-align: middle;

    background-color: #222;
    color: transparent;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
} */


#menu-mobile .support {
    background: #28a745;
    color: #fff;
    box-shadow: inset 0px 5px 0px #555;
}

#menu-mobile .support i {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    /* text-shadow: 1px 1px 0 #fff; */

    background-color: #222;
    color: transparent;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

#menu-mobile a.support.active i,
#menu-mobile a.support:active i,
#menu-mobile a.support:hover i {
    color: #28a745;
    text-shadow: #fff 1px 1px 0px;
}

#menu-mobile a.support:hover,
#menu-mobile a.support:active,
#menu-mobile a.support.active {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(255, 255, 255, 0.9) 1px solid;
    box-shadow: inset 0 -5px 0 #28a745;
    border-top: #aeaeae 1px solid;
}

/* Sidebar */
.linemenu-x {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 24px;
    min-height: 24px;
    height: auto;
    display: inline-block;
    margin-left: 5px;
    margin-right: 15px;
    margin-top: 0;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    /* margin: 40px 0; */
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebarCollapsePC {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    padding: 0px;
}

#sidebarCollapse {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
}

#sidebarCollapse i {
    line-height: 24px;
    margin-top: 2.5px;
    padding-right: 0px;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    right: -257px;
    height: 100vh;
    z-index: 1023;
    background: #f8f9fa;
    color: #888;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    right: 0;
}

.mobile-view {
    display: none !important;
}

/* this for circle dismiss */
/* #dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius:35px;
    text-align: center;
    background: #f8f9fa;
    -webkit-box-shadow:inset 0px 0px 0px 2px #970215;
    -moz-box-shadow:inset 0px 0px 0px 2px #970215;
    box-shadow:inset 0px 0px 0px 2px #970215;
    color: #dc3545;
    
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 36px;
    z-index: 999;
} */

#dismiss {
    color: #dc3545;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 36px;
    z-index: 999;
}


#dismiss:hover {
    color: #f8f9fa;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    /* background: #f6f6f6; */
    background: #970215;
    font-size: 16px !important;
    box-shadow: #c1c1c1 0 1px 3px;
    z-index: 998;
    position: relative;
    color: #fff;
}

#sidebar .sidebar-header img {
    border: 3px solid white;
    background: white;
    box-shadow: #500202 0px 2px 1px;
}

#sidebar ul.components {
    padding: 0px 0;
    border-bottom: 1px solid #ddd;
    background: #ececec;
    z-index: 997;
    position: relative;
}

#sidebar ul p {
    color: #f8f9fa;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    color: #555;
    text-shadow: #fff 1px 1px 0;
    border-bottom: #fff 1px dashed;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: #970215;
    /* background: #f8f9fa; */
    background: white;
    border-bottom: #f8f9fa 1px dashed;
}

#sidebar ul li:last-child a {
    border-bottom: #fff 1px solid;
}

#sidebar ul li.active>a,
#sidebar a[aria-expanded="true"] {
    color: #b90504;
    /* background: #f8f9fa; */
    background: white;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

/* .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
} */

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #f8f9fa;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebar ul.CTAs {
    padding: 10px 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    border: #b90504 solid 1px;
}

#sidebar ul.CTAs a:hover {
    border: #b90504 solid 1px;
}

a.download {
    background: #f8f9fa;
    color: #970215;
}

a.article,
a.article:hover {
    background: #970215 !important;
    color: #fff !important;
}

a.logout {
    background: #970215 !important;
    color: #fff !important;
    border: #b90504 solid 1px;
    text-shadow: #500202 1px 1px 0 !important;
}

a.logout:hover {
    background: #fff !important;
    color: #970215 !important;
    border: #b90504 solid 1px;
    text-shadow: #fff 1px 1px 0 !important;
}

#re-credit {
    display: inline-block;
    cursor: pointer !important;
    font-size: 18px;
    vertical-align: middle;
    padding: 0;

}

#re-credit span {
    border: 2px solid #b90504;
    transition: all 0.5s;
    color: #790000 !important;
    background: #fff !important;
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit:hover span {
    transition: all 0.5s;
    border: 2px solid #970215;
    cursor: pointer;

    background: #500202;
    color: #fff;
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit.active span {
    /* color: #fff;
    background-color: #970215; */
    transition: all 0.5s;
    border: 2px solid #970215;
    cursor: pointer;

    background: #500202 !important;
    color: #fff !important;
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit i,
#re-credit span {

    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    margin-left: 0;
}

#re-credit i {
    font-size: 18px;
    background: #b90504;
    border-radius: 18px;
}

.refresh-icon.fa-spin {
    color: #500202;
    /* transform: rotate(180deg);
    transition: transform 0.5s linear, color 0.1s linear; */
    transition: all 0.5s linear, color 0.1s linear;
}

.refresh-icon {
    transition: color 0.1s linear;
}


/* ---------------------------------------------------
    CARD STYLE
----------------------------------------------------- */
.card-main {
    border-radius: 10px;
    margin: 10px;
    background: rgba(121, 0, 0, 0.5);
    border: #790000 1px solid;
    height: auto;
}

.card-main h2 {
    margin-bottom: -7px;
    /* font-family: 'NotosansThai', sans-serif; */
    font-weight: 300;
    text-shadow: #500202 1px 1px 0;
    transform: scaleX(0.85);
}

.card-sub {
    border-radius: 50px;
    margin: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 1);
    border: #fff 1px solid;
    height: auto;
    margin-bottom: -20px;
    z-index: 100;
    position: relative;
}

.btn-credit {
    border-radius: 50px;
}

.text-black {
    color: black;
}

.menu-grid {
    overflow: hidden;
}

a.menu-grid.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.btn-red {
    color: #fff;
    background-color: #790000 !important;
    border-color: #970215 !important;
}

.btn-red:hover,
.btn-red:active {
    color: #fff;
    background-color: #970215 !important;
    border-color: #790000 !important;
}

a.menu-grid.hothot {
    overflow: hidden;
    border: 1px solid #e9dbdb;
    color: #970215;
    box-shadow: inset 0 -0px 10px rgba(255, 155, 155, 0.2);
    animation: hotPulse 1s infinite ease-in-out;
}

@keyframes hotPulse {
    0%, 100% {
        box-shadow: inset 0 -0px 10px rgba(255, 102, 102, 0.2);
    }

    50% {
        box-shadow: inset 0 -0px 15px rgba(252, 82, 82, 0.4);
    }
}

a.menu-grid.hot {
    overflow: hidden;
    /* border: 1px solid #dab3b0; */
    border: 1px solid #e9dbdb;
    color: #970215;
    box-shadow: inset 0 -0px 10px rgba(255, 155, 155, 0.2);
}

a.menu-grid {
    padding: 10px;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #eee;
    margin-top: 5px;
    /*margin-bottom: 5px;*/
    color: #555;
    text-decoration: none;
    text-shadow: #fff 1px 1px 0;
    line-height: 1.2;
}

.menu-grid i {
    font-size: 30px;
}

a.menu-grid:hover,
a.menu-grid:active {
    color: #500202;

    background: #eee;
    border: 1px solid #e5e5e5;
}

.row .col-3 a.menu-grid,
.row .col-md-1 a.menu-grid,
.row .col-lg-1 a.menu-grid {
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 8px;
    width: 100%;
    font-size: 14px;
    min-width: 50px;
    line-height: 1.5;
}

.row .col-3 .menu-grid i,
.row .col-md-1 .menu-grid i {
    font-size: 30px;
}

.row .col-4 .menu-grid i.sn-icon,
.row .col-md-1 .menu-grid i.sn-icon {
    font-size: 35px !important;
    line-height: 0.9 !important
}

a.menu-grid.powerball {
    line-height: 1.2 !important;
}

.row-menu-grid .row .col-4,
.row-menu-grid .row .col-6,
.row-menu-grid .row .col-3 {
    /* padding-right:0px !important; */
    padding-right: 8px;
    padding-left: 8px;
}

.main-content {
    margin-top: 0px;
    border-radius: 0px;
    /* margin-bottom: 60px; */
}

.row-menu-grid {
    border-radius: 5px;
    margin-bottom: 60px;
}

.menu-grid.menu-money {
    background: #343a40;
    color: #fff;
    text-shadow: #222 1px 1px 0;
    border-radius: 0px;
    box-shadow: inset 10px -0px 0px #790000;
    min-height: 60px;
    padding: 15px;
    padding-right: 5px;
}

.menu-grid.menu-money i {
    color: #dc3545;
    text-shadow: #222 1px 1px 0;
}

.menu-grid.menu-money:hover,
.menu-grid.menu-money:active {
    background: #151515;
    color: #fff;
    text-shadow: #222 1px 1px 0;
    border-radius: 0px;
    box-shadow: inset 10px -0px 0px #d80505;
}

.menu-grid.menu-money:hover i,
.menu-grid.menu-money:active i {
    color: #d80505;
    text-shadow: #222 1px 1px 0;
}

/************ribbon****************/
@import url(https://fonts.googleapis.com/css?family=Lato:700);

/* common */
.ribbon {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #790000;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 80px;
    padding: 2px 0;
    background-color: #970215;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font: 500 10px/1 'Lato', sans-serif !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-transform: uppercase;
    text-align: center;
}

/* soon ribbon */

.ribbon-soon {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
}

.ribbon-soon::before,
.ribbon-soon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #333;
}

.ribbon-soon span {
    position: absolute;
    display: block;
    width: 80px;
    padding: 2px 0;
    background-color: #555;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font: 500 8px/1 'NotosansThai', sans-serif !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-transform: uppercase;
    text-align: center;
}

/* top left*/
.ribbon-top-left {
    top: 5px;
    left: 8px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: -3px;
    top: 6px;
    transform: rotate(-45deg);
}


/************ribbon****************/

.box-news {
    width: 100%;
    display: flex;
}

.h-box-news {
    line-height: 0.9;
    background: #500202;
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    display: flex;
}

.h-box-news span b {
    font-family: Mitr;
    font-weight: 400;
}

.h-box-news .icon-news {
    display: inline-block;
    padding-left: 20px;
    padding-right: 10px;
    box-shadow: inset 7px 0px 0px #970215;
    height: 100%;
    min-height: 35px;
}

.h-box-news .icon-news i {
    font-size: 35px;
    color: #dc3545;
}

.h-box-news .txt-h {
    display: inline-block;
}

.txt-box-news {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 10px;
    background: #fff;
    border: #e0e0e0 1px solid;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.txt-box-news a {
    color: #343a40;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.txt-box-news a:hover {
    color: #000;
}

.txt-box-news a img {
    border-radius: 5px;
    margin-right: 10px;
    width: 120px;
    object-fit: contain;
    align-self: center;
    flex: 0 0 auto;
    transition: all 0.3s;
}

.txt-box-news a:hover img,
.txt-box-news a:focus img {
    object-position: 50% 50%;
    transform: scale(1.1);
    transition: all 0.3s;
}

.txt-box-news .text-news {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    overflow: hidden;
    height: auto;
    align-self: center;
    width: 100%;
    word-wrap: break-word;
}

.txt-box-news a .text-news p {
    line-height: 1.3;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    word-wrap: break-word;
    font-size: 14px;
}

.txt-box-news a .text-news span {
    font-family: tahoma;
    font-size: 12px;
    font-weight: 400;
    background: #aaa;

    width: auto;
    flex: 0 0 auto;
}

.txt-box-news a:hover .text-news span {
    background: #555;
}


.txt-box-news a .text-news h1 {
    line-height: 1.5;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    font-size: 14px;
    word-wrap: break-word;
}

.txt-box-news a:hover .text-news h1 {
    color: #970215;
}


/****************************/

.txt-box-news1 a {
    color: #343a40;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
}

.txt-box-news1 a:hover {
    color: #000;
}

.txt-box-news1 a img {
    border-radius: 5px;
    margin: 5px;
    margin-top: 0px;
    object-fit: contain;
    align-self: center;
    flex: 0 0 auto;
    transition: all 0.3s;
}

.txt-box-news1 a:hover img,
.txt-box-news1 a:focus img {
    object-position: 50% 50%;
    transform: scale(0.95);
    transition: all 0.3s;
}

.txt-box-news1 .text-news {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    overflow: hidden;
    height: auto;
    align-self: center;
    width: 100%;
    word-wrap: break-word;
}

.txt-box-news1 a .text-news p {
    line-height: 1.3;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    word-wrap: break-word;
    font-size: 14px;
}

.txt-box-news1 a .text-news span {
    font-family: tahoma;
    font-size: 12px;
    font-weight: 400;
    background: #aaa;

    width: auto;
    flex: 0 0 auto;
}

.txt-box-news1 a:hover .text-news span {
    background: #555;
}


.txt-box-news1 a .text-news h6 {
    line-height: 1.5;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    font-size: 14px;
    word-wrap: break-word;
}

.txt-box-news1s a:hover .text-news h6 {
    color: #970215;
}

/* .img-news{
    width: 100%;
    max-width: 600px;
    margin: 10px;
    float: left;
}
.news-detail{
    float: left;
} */

.title-news-hilight {
    font-size: 130%;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    background: white;
}

.title-news-hilight span {
    background-color: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.title-news-hilight::before {
    content: '';
    display: block;
    height: 4px;
    background: #ddd;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    left: 10px;
    right: 10px;
}

/*--------------bubble-------------------*/

/* remimder bubble styling */

.bubblechat blockquote {
    margin: 10px 10px 0;
    background: #efefef;
    padding: 20px 60px;
    position: relative;
    border: none;
    border-radius: 8px;
    text-align: center;
}

.bubblechat blockquote:before,
.bubblechat blockquote:after {
    content: "\201C";
    position: absolute;
    font-size: 80px;
    line-height: 1;
    /* color: #757f9a; */
    color: lightcoral;
    font-style: normal;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.bubblechat blockquote:before {
    top: -8px;
    left: 3px;
}

.bubblechat blockquote:after {
    content: "\201D";
    right: 0px;
    bottom: -0.5em;
}

.bubblechat div.bubble-arrow {
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #efefef;
    margin: 0 0 0 60px;
}

.bubblechat {
    position: fixed;
    left: 5px;
    bottom: 10px;
    max-width: 250px;
    z-index: 1031;
}

.bubblechat p {
    margin: 8px 0 0 20px;
    text-align: left;
    color: #fff;
}

.bubblechat .boxclose {
    background: #fff !important;
    border: none;
    position: absolute;
    z-index: 1032;
    text-align: center;
    right: 15px;
    top: 15px;
    border-radius: 20px;
    border: 5px solid #fff;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 0.8 !important;
    padding: 0px 0px;
    font-size: 15px;
    cursor: pointer;
    color: lightcoral;
}

.bubblechat a {
    color: #500202;
    text-decoration: none;
}

.bubblechat a:hover {
    color: #b90504;
}

.bar-powerball {
    width: 100%;
    background-color: #151515;
    color: white;
    display: inline-block;
    padding: 5px 0;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    border-bottom: #970215 2px solid;
    display: none;
}

.bar-powerball i {
    font-size: 28px;
    line-height: 20px;
    vertical-align: middle;
}

.bar-powerball-pc {
    width: auto;
    /* background-color: #151515; */
    color: white;
    display: inline-block;
    padding: 5px 0;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    margin-left: 10px;
}

.bar-powerball-pc i {
    font-size: 28px;
    line-height: 20px;
    vertical-align: middle;
}

/*****************************/

.ribbonbar {
    font-weight: 600;
    color: #fff;
    background: #dc3545;
    padding-top: 0px;
    font-size: 18px;
    line-height: 20px;
    /* width: max-content; */
    width: auto;
    position: relative;
    text-align: center;
    height: 27px;
    /* margin: 3em auto 0 auto; */
    filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.1));
    border-right: 3px solid #dc3545;
    border-left: 3px solid #dc3545;
    margin-left: 20px;
    text-shadow: #500202 1px 1px 0;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.ribbonbar:after,
.ribbonbar:before {
    content: "";
    position: relative;
    display: inline-block;
    border: 13.5px solid #dc3545;
    height: 27px;
}

.ribbonbar:before {
    left: -20px;
    border-right-width: 5px;
    border-left-color: transparent;
    filter: drop-shadow(-6px 6px 3px rgba(0, 0, 0, 0.04));
    position: relative;
}

.ribbonbar:after {
    right: -20px;
    border-left-width: 5px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    position: relative;
}

.ribbonbar .odometer {
    line-height: 1;
    margin-top: -15px;
    margin-left: -20px;
    margin-right: -20px;
    min-width: 50px;
}

/* end bubble chat */
/* -----------------------lotto card-------------------- */
.ribbon-lotto {
    background: rgba(0, 0, 0, .3);
    height: 30px;
    width: auto;
    display: inline-block;
    position: absolute;
    color: #FFF;
    line-height: 30px;
    padding: 0px 10px;
    margin-top: 5px;
    border-left: rgba(0, 0, 0, .3) 1px solid;
}

.ribbon-lotto:after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    border: 15px solid rgba(0, 0, 0, .3);
    right: -15px;
    height: 30px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

ul.countdown {
    list-style: none;
    margin: 0px 0;
    padding: 0px 0px;
    text-align: center;
    position: relative;
    display: flex;
    overflow: hidden;
    height: 30px;
    align-items: center;
}

ul.countdown li {
    display: inline-flex;
    margin: 0px;
}

ul.countdown li span {
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
}

ul.countdown li.seperator {
    font-size: 20px;
    line-height: 30px;
    vertical-align: middle;
}

ul.countdown li p {
    color: #a7abb1;
    font-size: 14px;
}

.lotto-card {
    width: 100%;
    display: inline-block;
}

a .lotto-card {
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(255, 255, 255, 0.5) 0 0 10px;
}

a .lotto-card:hover,
a.lotto-card:focus {
    box-shadow: #555 0px 0px 10px;
    /* border: 2px solid rgba(0,0,0,0.5); */

}

.lotto-head {
    width: 100%;
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px;
    color: white;
    text-align: right;
    text-shadow: rgba(0, 0, 0, .3) 1px 1px 0;
}

.lotto-head>h5 {
    font-weight: 400 !important;
    text-align: right;
    margin-bottom: 0px;
}

.lotto-head span {
    font-weight: 400;
}

.ribbon-lotto span.round {
    font-size: 10px;
    line-height: 10px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    background: rgba(0, 0, 0, .5);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    padding: 1px 2px;
    padding-bottom: 3px;
    margin-top: -2px;
    margin-right: 2px;
    font-family: tahoma;
    transform: scaleX(0.90);
}

.lotto-head.lotto-government {
    background-color: #17a2b8;
    border: #108496 1px solid;
}

.lotto-head.lotto-thaistock {
    background-color: #007bff;
    border: #0364cc 1px solid;
}

.lotto-head.lotto-foreignstock {
    background-color: #6610f2;
    border: #4f06c5 1px solid;
}

.lotto-head.lotto-yeekee {
    background-color: #dc3545;
    border: #aa1423 1px solid;
}

/* .lotto-head.lotto-jetsadabet {
    background-color: #fd7e14;
    border: #c45b06 1px solid;
}

.lotto-head.lotto-jetsadavip {
    background-color: #e83e8c;
    border: #b1185f 1px solid;
} */

.lotto-head.lotto-la {
    background-color: #fd7e14;
    border: #c45b06 1px solid;
}

.lotto-head.lotto-vn {
    background-color: #e83e8c;
    border: #b1185f 1px solid;
}

.lotto-head.lotto-my {
    background-color: #28a745;
    border: #1c8b36 1px solid;
}

.lotto-head.lotto-gsb {
    background-color: #f90a86;
    border: #ff1d92 1px solid;
}

.ribbon-lotto-img {
    display: inline-block;
    position: absolute;
    color: #FFF;
    line-height: 20px;
    padding: 0px 5px;
    margin-top: 5px;
}

.ribbon-lotto-img img {
    height: 50px;
}

.ribbon-lotto-img span {
    height: 50px;
    font-size: 50px;
    background-size: cover;
    margin-left: -5px;
}

@media screen and (max-width:420px) {
    .ribbon-lotto-img {
        display: inline-block;
        position: absolute;
        color: #FFF;
        line-height: 20px;
        padding: 0px 5px;
        margin-top: 5px;
    }

    .ribbon-lotto-img img {
        height: 40px !important;
    }

    .ribbon-lotto-img span {
        height: 40px;
        font-size: 40px !important;
        background-size: cover;

    }
}

.lotto-head.lotto-baac {
    background-color: #13007d;
    border: #0e005c 1px solid;
}

.lotto-time {
    width: 100%;
    display: flex;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px;
    background: white;
    border: #ccc 1px solid;
    border-top: none;
    text-align: right;
    font-size: 27px;
    line-height: 30px;
    color: #bbb;
    flex-direction: row;
    justify-content: space-between;
}

.lotto-time i {
    /* float: left; */
    display: inline-flex;
}

.tanghuay-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-bottom: 0px;
    background: rgba(0, 0, 0, .1);
    border: #ccc 1px solid;
    text-align: right;
    font-size: 18px;
    line-height: 20px;
    /* color: #dc3545; */
    color: #aa1423;
    text-shadow: #fff 1px 1px 0;
    border-radius: 5px;
    overflow: hidden;
}

.tanghuay-time_day {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-bottom: 0px;
    background: rgba(0, 0, 0, .1);
    border: #ccc 1px solid;
    text-align: right;
    font-size: 15px;
    line-height: 20px;
    /* color: #dc3545; */
    color: #aa1423;
    text-shadow: #fff 1px 1px 0;
    border-radius: 5px;
    overflow: hidden;
}

.lotto-time span {
    font-size: 75%;
}


@media screen and (max-width:376px) {
    .time-government i {
        display: none;
    }

    .time-government span {
        text-align: center !important;
        width: 100% !important;
    }

    .time-government {
        vertical-align: middle;
        height: 100%;
    }
}

@media screen and (max-width:321px) {

    .time-government span {
        font-size: 70%;
    }
}

.tanghuay-time i {
    margin-right: 5px;
    display: inline-flex;
}

.tanghuay-time ul li span {
    font-weight: bold !important;
}

.tanghuay-time ul li.seperator {
    font-weight: bold !important;
}

.tanghuay-time_day i {
    margin-right: 5px;
    display: inline-flex;
}

.tanghuay-time_day ul li span {
    font-weight: bold !important;
}

.tanghuay-time_day ul li.seperator {
    font-weight: bold !important;
}

@media screen and (max-width:376px) {
    .tanghuay-time i {
        display: none;
    }

    .tanghuay-time span {
        font-size: 75%;
    }
}

@media screen and (max-width:321px) {

    .tanghuay-time span {
        font-size: 75%;
    }
}

@media screen and (max-width:321px) {
    .tanghuay-time_day i {
        display: none;
    }

    .tanghuay-time_day {
        font-size: 10px;
    }

    .tanghuay-h4 {
        font-size: 80%;
    }
}

@media screen and (min-width:321px) and (max-width:430px) {
    .tanghuay-time_day i {
        display: none;
    }

    .tanghuay-time_day {
        font-size: 15px;
    }

    .tanghuay-h4 {
        font-size: 100%;
    }
}

@media only screen and (min-width: 480px) {
    .tanghuay-time_day {
        font-size: 20px;
    }
}

.bar-back {
    border-top: #ddd 1px solid;
    border-bottom: #ddd 1px solid;
    line-height: 20px;
    padding: 10px;
    background: white;
    font-size: 20px;
}

.bar-back a {
    color: #aaa;
    text-decoration: none;
}

.bar-back a.btn {
    color: white;
}

.bar-back a.btn:hover,
.bar-back a.btn:focus {
    color: white;
}

.bar-back a.btn-outline-secondary {
    color: #555;
}

.bar-back a.btn-outline-secondary:hover,
.bar-back a.btn-outline-secondary:focus {
    color: #fff;
}

.bar-back a:hover,
.bar-back a:focus {
    color: #970215;
}

.col-lotto .row .col-6,
.col-lotto .row .col-4,
.col-lotto .row .col-3 {
    margin-bottom: 5px;
    padding: 0 5px;
}

/* .col-lotto .row .col-4 .btn,.col-lotto .row .col-6 .btn{
    line-height: 1.2;
    overflow: hidden;
} */
.col-lotto .bg-btn {
    background: white;
    border-radius: 5px;
    border: 1px solid white;
    box-shadow: rgba(255, 255, 255, 0.5) 0 0 3px;
    width: auto;
}

.bg-option {
    background: rgba(0, 0, 0, .2);
    color: #151515;
    text-shadow: #eee 1px 1px 0px;
}

.flex-fill .bg-btn {
    margin: 2.5px;
}

.btn-tanghuay {
    line-height: 1;
}

.btn-panghuay {
    line-height: 1;
}

.row-btn-tanghuay .btn.active .badge {
    background: rgba(0, 0, 0, .5) !important;
}

.row-btn-tanghuay .btn div:first-child {
    margin-left: -8px;
    margin-top: -5px;
    margin-bottom: -5px;
    padding: 5px;
    padding-top: 8px;
    border-radius: 0px;
    vertical-align: middle;
}

.row-btn-tanghuay .col-6 button div:first-child {
    width: 80%;
}

.row-btn-tanghuay .btn span {
    font-family: Arial, Helvetica, sans-serif;
    /* font-weight: 400; */
}

.row-btn-tanghuay .btn div:first-child i {
    font-size: 22px;
    font-style: normal;
    text-align: center;
}

.row-btn-tanghuay .btn div:last-child {
    font-style: normal;
    text-align: center;
    width: 20%;
}

.row-btn-tanghuay .flex-fill {
    margin: 2.5px;
    width: auto;
}

.row-btn-tanghuay .btn.active div:first-child {
    background: rgba(0, 0, 0, .5) !important;
}

.row-btn-tanghuay .btn.active {
    /* box-shadow: black 1px 1px 8px; */
    outline: 1px dashed black;
    outline-offset: 2px;
}

.btn-outline-red {
    color: #dc3545;
    /* background-color: transparent; */
    background-color: rgba(255, 0, 0, 0.1);
    background-image: none;
    border-color: #dc3545;
}

.btn-outline-red.active {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-blue {
    color: #007bff;
    /* background-color: transparent; */
    background-color: rgba(0, 89, 255, 0.05);
    background-image: none;
    border-color: #007bff;
}

.btn-outline-blue.active {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-green {
    color: #28a745;
    /* background-color: transparent; */
    background-color: rgba(0, 255, 106, 0.1);
    background-image: none;
    border-color: #28a745;
}

.btn-outline-green.active {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

/* .col-lotto .row .col-4 .btn:hover .badge,.col-lotto .row .col-6 .btn:hover .badge, .col-lotto .row .col-4 .btn.active .badge,.col-lotto .row .col-6 .btn.active .badge{
    background: rgba(0, 0, 0, .5) !important;
} */
/* .col-lotto .row .col-4 .btn div:first-child,.col-lotto .row .col-6 .btn div:first-child{
    margin-left:-8px;
    margin-top:-5px;
    margin-bottom: -5px;
    padding: 0 5px;
    padding-top: 8px;
    border-radius: 0px;
    vertical-align: middle;
} */
/* .col-lotto .row .col-4 .btn div:first-child i,.col-lotto .row .col-6 .btn div:first-child i{
    line-height: 1;
} */
/* .col-lotto .row .col-4 .btn:hover div:first-child,.col-lotto .row .col-6 .btn:hover div:first-child, .col-lotto .row .col-4 .btn.active div:first-child,.col-lotto .row .col-6 .btn.active div:first-child{
    background: rgba(0, 0, 0, .5) !important;
} */
/* .col-lotto .row .col-4 .btn span,.col-lotto .row .col-6 .btn span{
    font-family: tahoma;
    font-weight: 400;
} */
/* .col-lotto .row .col-4 .btn i,.col-lotto .row .col-6 .btn i{
    font-size: 25px;
    font-style: normal;
} */
.lotto-title h4 {
    font-family: inherit !important;
    /* color: #dc3545; */
    /* color: #aa1423; */
    color: #343a40;
    line-height: 1;
    margin-bottom: 0px;
}

.lotto-close {
    -webkit-filter: opacity(70%) grayscale(100%);
    /* Safari */
    filter: opacity(70%) grayscale(100%);
}

.lotto-close .ribbon-lotto {
    background: rgba(0, 0, 0, 1);
    border-left: rgba(0, 0, 0, 1) 1px solid;
    vertical-align: top;
}

.lotto-close .ribbon-lotto:after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    border: 15px solid rgba(0, 0, 0, 1);
    right: -15px;
    height: 30px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

/**********************************************/

.btn-move {
    padding: 0px;
    /* border: #970215 1px solid; */
    background: #970215;
    font-size: 16px;
    line-height: 30px;
    height: 30px !important;
    margin-bottom: 0px;
    color: white;
    cursor: pointer;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: 1s;
}

.btn-move a {
    color: white;
    transition: 1s;
}

#hide-list-huay,
#show-list-huay {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2px;
}

#hide-list-huay {
    transition: all 1s;
}

#show-list-huay {
    transition: all 1s;
}

.btn-move span {
    display: inline-block;
    width: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 1s;
    height: 100%;
    vertical-align: middle;
}

span.btn-move {
    display: inline-flex;
    width: 100%;
    text-align: center;
    overflow: hidden;
    height: 100%;
    transition: all 1s;
    vertical-align: middle;
    margin-bottom: 0px;
    margin-right: 2px;
    white-space: nowrap;
}

.btn-move-left:before,
.btn-move-right:after {
    content: "";
    position: relative;
    height: 30px;
    display: flex;
}

.btn-move-left {
    color: #fff !important;
    background: #333;
    margin-left: 15px !important;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.btn-move-right {
    color: #fff !important;
    background: #333;
    margin-right: 15px !important;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.btn-move-left:before {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #333;
    margin-left: -15px;
}

.btn-move-right:after {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #333;
    margin-right: -15px;
}

.sidebar-tanghuay {
    width: 100%;
    padding-left: 7px;
}

#sidebar-huay {
    display: flex;
    flex-flow: column;
    justify-content: start;
    align-items: stretch;
    overflow: hidden;
    transition: all 1s;
}

#show_poy_list {
    opacity: 1;
    width: 30%;
    transition: all 1s;
}

#numpage_2 h3.mb-0 {
    font-family: inherit;
    font-size: 125%;
}

#numpage_1,
#numpage_2 {
    transition: all 1s;
}

.sidebar-huay {
    /* min-width: 300px; */
    width: 100%;
    background: #111;
    border-radius: 3px;
    padding: 3px;
    height: 80vmin;
    transition: 1s;
}

.sidebar-huay .btn {
    margin-bottom: -5px;
}

.sidebar-huay .title-huay {
    color: #dc3545;
    font-family: inherit;
    /* background: #790000; */
    height: 25px;
    line-height: 1;
    width: 100%;
    padding-left: 5px;
    border-bottom: #333 1px dashed;
}

.sidebar-huay .title-huay i {
    font-size: 16px;
}

.sidebar-huay .list-huay {
    overflow-y: scroll;
    overflow-x: hidden;
    background: transparent;
    color: white;
    height: 100vmin;
}

.sidebar-huay .list-huay ol.num-huay {
    list-style: none;
    counter-reset: number;
    border-radius: 5px;
    overflow: hidden;
}

ol.num-huay li {
    counter-increment: number;
}

ol.num-huay li::before {
    content: counter(number) ". ";
    font-weight: bold;
    width: 1.2em;
    text-align: left;
    display: inline-block;
    margin-right: 10px;
    color: #555;
    padding-left: 3px;
    font-size: 80%;
}

ol.num-huay li:nth-child(odd) {
    background: rgba(255, 255, 255, .07);
}

.list-huay::-webkit-scrollbar {
    width: 8px;
    background: transparent;
    margin-left: 3px;
}

.list-huay::-webkit-scrollbar-track {

    border-radius: 6px;
    background: #52000b;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.list-huay::-webkit-scrollbar-thumb {
    border-radius: 6px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);

    background: #c72d3c;
}

.num-pad {
    width: 100%;
}

.num-pad h4 {
    font-family: inherit;
    color: #aa1423;
}

.label-number {
    text-align: center;
    width: 100%;
}

label.number {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px 5px;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    line-height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border: solid 1px #000000;
    color: #970215;
    border-radius: 2px;
    background-color: rgba(229, 229, 229, 0.2);
    border: solid 1px #970215;
    position: relative;
    vertical-align: middle;
}

label.number span {
    background: rgba(152, 59, 59, 0.8);
    width: 2px;
    height: 70%;
    position: absolute;
    top: 15%;
    left: 50%;
    animation-name: blink;
    animation-duration: 800ms;
    animation-iteration-count: infinite;
    opacity: 1;
}

.key-pad>.row>.col-3 {
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 4px;
}

.key-pad>.row>.col-3 .btn {
    font-size: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.key-pad>.row>.col-3 .btn-blank {
    color: #fff;
    background-color: #ccc;
    background-image: none;
    border-color: #bbb;
    width: 100%;
    height: 100%;
}

.key-pad>.row>.col-3 .btn-reset,
.key-pad>.row>.col-3 .btn-cancel {
    font-size: 16px;
    line-height: 1;
    height: 100%;
    word-break: break-all;
}

.box__condition-info h3 {
    font-size: 18px;
    border-radius: 5px;
    background: #dc3545;
    padding: 5px 10px;
    color: white;
    font-weight: normal;
}

.box__condition-info h2 {
    font-family: inherit;
    color: #dc3545;
    border-bottom: #ccc 1px dashed;
    font-size: 22px;
}

.box__condition-info {
    background: rgba(0, 0, 0, .05);
    border-radius: 5px;
    border: #ccc 1px solid;
    padding: 5px;
    line-height: 1.2;
}

.box__condition-info p {
    padding: 0 5px;
    margin-bottom: 0px;
}

.bet_num_count {
    font-size: 90%;
    text-align: center;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 500;
    text-shadow: #000 1px 1px 0px;
    color: #fff;
}

.g3-huay {
    width: auto !important;
}

.multiply-change {
    background: #dc948e !important;
    color: #000 !important;
}

body.modal-open {
    overflow: hidden;
    /* ปิดการเลื่อนของหน้า */
}


@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


@media screen and (max-width:992px) {
    .sidebar-huay {
        width: auto;
        /* min-width: 300px; */
        min-width: 20%;
        height: 100vmin;
    }
}

@media screen and (max-width:768px) {
    .g3-huay {
        width: 100% !important;
    }

    .sidebar-tanghuay>.d-flex>.flex-fill {
        display: inline-flex;
        flex: 1 0 26% !important;
    }

    .sidebar-huay .title-huay {
        font-size: 14px;
        height: 20px;
    }

    .sidebar-huay .title-huay i {
        font-size: 12px !important;
    }

    .sidebar-huay {
        width: auto;
        min-width: 20%;
    }

    #show_poy_list {
        opacity: 1;
        width: 28%;
        transition: all 1s;
    }

}

@media screen and (max-width:415px) {
    .sidebar-huay {
        width: auto;
        min-width: 80px;
        height: 100%;
    }

    .sidebar-huay .title-huay {
        font-size: 14px;
    }

    .sidebar-huay .title-huay i {
        font-size: 10px !important;
        display: none;
    }

    .num-huay {
        font-size: 14px;
    }

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        font-size: 14px;
        line-height: 1;
        height: 100%;
        word-break: break-all;
    }
}

@media screen and (max-width:376px) {
    .btn-tanghuay {
        font-size: 10px;
    }

    .row .col-3 a.menu-grid,
    .row .col-md-1 a.menu-grid,
    .row .col-lg-1 a.menu-grid,
    .row .col-4 a.menu-grid {
        padding: 0px;
        padding-top: 10px;
        padding-bottom: 3px;
        width: 100%;
        font-size: 12px;
        min-width: 50px;
        line-height: 1.5;
    }

    .sidebar-huay {
        height: 80%;
    }

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        font-size: 12px;
        line-height: 1;
        height: 100%;
    }
}

@media screen and (max-width:321px) {

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        /* font-size: 10px; */
        line-height: 1;
        height: 100%;
        /* word-break: break-all; */
    }

    .key-pad>.row>.col-3 .btn-reset span,
    .key-pad>.row>.col-3 .btn-cancel span {
        display: block
    }

    .lotto-title>h4 {
        font-size: 18px;
    }

    ul.countdown {
        font-size: 18px !important;
    }

    .row-btn-tanghuay .btn div:first-child i {
        font-size: 14px;
        font-style: normal;
        height: 100%;
    }

    .row-btn-tanghuay .btn div:last-child {
        font-style: normal;
        text-align: center;
        width: 27%;
    }

    .row-btn-tanghuay .btn span {
        font-family: Arial, Helvetica, sans-serif;
        /* font-weight: 400; */
        font-size: 10px;
    }

    .btn-tanghuay {
        font-size: 12px !important;
        padding-right: 2px !important;
    }

    .btn-panghuay {
        font-size: 12px !important;
        padding-right: 2px !important;
    }
}

label.number {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**********************************************/
.txt-24 {
    color: #28a745;
    animation: text-flicker 3s linear infinite;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

#offset {
    animation: letter-flicker 2s linear infinite;

}

@keyframes text-flicker {
    0% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    2% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    8% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    9% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    12% {
        opacity: 0.1;
        text-shadow: 0px 0px rgba(22, 242, 59, 1);
    }

    20% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    25% {
        opacity: 0.3;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    30% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    70% {
        opacity: 0.7;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    72% {
        opacity: 0.2;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    77% {
        opacity: .9;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    100% {
        opacity: .9;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }
}

@keyframes border-flicker {
    0% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    2% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    4% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    8% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    70% {
        opacity: 0.7;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    100% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
}

@keyframes letter-flicker {
    0% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    2% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    4% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }


    19% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    21% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    23% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    80% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    83% {
        opacity: 0.4;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    87% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }
}

.js-odoo {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    fill: #fff;
    transform: scaleX(0.85);
}

span.js-odoo g {
    font-weight: 300;
    font-family: 'Mitr', sans-serif;
}

span.js-odoo g text {
    margin-right: 10px;
}

.js-odoo svg {
    transform: scaleX(0.85);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    /* padding-bottom: 56px; */
}

@media screen and (max-width:992px) {
    .row-menu-grid {
        border-radius: 0px;
        margin-bottom: 50px;
    }

    .main-content {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .txt-box-news {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .txt-box-news .d-flex {
        margin-bottom: 8px;
        padding-bottom: 10px !important;
        border-bottom: #ccc dashed 1px;
    }

    .bar-powerball {
        display: block !important;
    }

    .bar-powerball-pc {
        display: none;
    }

    .ribbonbar .odometer {
        line-height: 1;
        margin-top: -20px;
        margin-left: -20px;
        margin-right: -20px;
        min-width: 50px;
    }
}

@media screen and (max-width:768px) {

    .mobile-view {
        display: block !important;
    }

    .container-fluid {
        padding: 0px;
        height: auto;
        /* margin-bottom: 52px; */
        z-index: 1;
    }

    .row-menu-grid {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .main-content {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .txt-box-news {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .txt-box-news .d-flex {
        margin-bottom: 8px;
        padding-bottom: 10px !important;
        border-bottom: #ccc dashed 1px;
    }

    .bubblechat {
        display: none;
    }

    ul.countdown {
        list-style: none;
        margin: 0px 0;
        padding: 0;
        display: flex;
        text-align: right;
        overflow: hidden;
        height: 25px;
    }

    ul.countdown li {
        display: inline-block;
    }

    ul.countdown li span {
        font-size: 25px;
        font-weight: 300;
        line-height: 25px;
    }

    ul.countdown li.seperator {
        font-size: 15px;
        line-height: 30px;
        vertical-align: middle;

    }

    ul.countdown li p {
        color: #a7abb1;
        font-size: 14px;
    }

    .lotto-head>h5 {
        font-weight: 400 !important;
        text-align: right;
        margin-bottom: 0px;
        font-size: 14px;
    }

    .ribbon-lotto {
        background: rgba(0, 0, 0, .3);
        height: 20px;
        width: auto;
        display: inline-block;
        position: absolute;
        color: #FFF;
        line-height: 20px;
        padding: 0px 5px;
        margin-top: 5px;
        border-left: rgba(0, 0, 0, .3) 1px solid;
        font-size: 16px;
    }

    .ribbon-lotto i {
        font-size: 14px;
    }

    .ribbon-lotto:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 0;
        border: 10px solid rgba(0, 0, 0, .3);
        right: -10px;
        height: 20px;
        border-left-width: 0px;
        border-right-color: transparent;
        filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    }

    .lotto-close .ribbon-lotto:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 0;
        border: 10px solid rgba(0, 0, 0, 1);
        right: -10px;
        height: 20px;
        border-left-width: 0px;
        border-right-color: transparent;
        filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    }

    .lotto-close .ribbon-lotto span.round {
        color: black;
        background: rgba(255, 255, 255, 0.5);
        padding: 0px 2px;
        padding-bottom: 2px;
    }

    .bg-option>.d-flex>.flex-fill {
        flex: 1 0 21% !important;
    }

    .bg-option .bg-btn button {
        padding: 5px;
    }

    .option2btn:active, .option2btn.active, .option2btn.focus {
        background: black !important;
        outline: #000 1px dashed !important;
        outline-offset: 1px !important;
    }


    .bar-powerball {
        display: block;
    }

    .bar-powerball-pc {
        display: none;
    }

    .btn-tanghuay {
        font-size: 12px !important;
        padding-right: 4px;
    }

    .btn-panghuay {
        font-size: 12px !important;
        padding-right: 4px;
    }
}


/********* end member ********/

/*************page loading *****************/
#app {
    position: relative;
    opacity: 1;
    transition: all 0.3s;
}

#loading {
    background: url("../images/loading-dots.gif") no-repeat center center rgba(0, 0, 0, 0.5);
    background-size: 100px;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 9999;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/******************bank***********************/
.icon-bank {
    padding: 10px 40px;
    border-radius: 5px;
    width: 100%;
}

img.icon-bank {
    width: 100%;
    height: auto;
    min-height: 50px;
    min-width: 50px;
}

.icon-kbank {
    background: #138f2d;
}

.icon-scb {
    background: #4e2e7f;
}

.icon-ktb {
    background: #1ba5e1;
}

.icon-bbl {
    background: #1e4598;
}


/* #firsttime label::before, #secondtime label::before{
    content:"\f22d";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    margin-right: 5px;
} */

.input-hidden {
    position: absolute;
    left: -9999px;
}

input[type=radio]:checked+label>img {
    border: 1px solid #fff;
    box-shadow: 0 0 3px 3px #090;
}

input[type=radio]:checked+label {
    background: #090;
    color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

input[type=radio]+label {
    margin-bottom: 15px !important;

}

input[type=radio]+label>span {
    font-weight: normal;
    text-align: center;
    margin: 0 5px;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s;
}

input[type=radio]+label>span.badge {
    margin: 0 5px 5px 5px;
}

input[type=radio]:checked+label>span.badge {
    margin: 0 5px 5px 5px;
}

input[type=radio]:checked+label>span {
    margin: 0 5px;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
    transition: all 0.3s;
}

input[type=radio]:checked+label::after {
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -20px;
    margin-left: -5px;
    color: green;
    background: white;
    padding: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 16px;
    border: #090 2px solid;
    text-align: center;
}

input[type=radio]+label::before {
    content: "";
    display: none;
}

/* Stuff after this is only to make things more pretty */
input[type=radio]+label>img {
    border: 1px solid #444;
    width: 100%;
    transition: 500ms all;
}

input[type=radio]:checked+label>img {
    transform: none;
    /* rotateZ(-10deg) 
      rotateX(10deg); */
}

.detail-bank {
    padding: 10px 10px;
}

@media screen and (max-width:768px) {
    .icon-bank {
        padding: 5px 20px;
    }

    .detail-bank {
        padding: 5px 5px;
    }

    input[type=radio]+label {
        font-size: 85%;
    }

    input[type=radio]+label>span.badge {
        margin: 0 3px 2px 3px;
    }

    input[type=radio]:checked+label>span.badge {
        margin: 0 3px 2px 3px;
    }

    input[type=radio]+label>span {
        margin: 0 3px 2px 3px;
    }

    input[type=radio]:checked+label>span {
        margin: 0 3px 2px 3px;
    }
}


.fromacc::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #b8daff;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: 80px;
    color: #212529;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    right: -15px;
    z-index: 10;
    color: lightseagreen;
}

.dataTables_wrapper.form-inline {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dataTables_wrapper {
    padding: 10px;
}

.dataTables_wrapper>.row {
    width: 100%;
}

.dataTables_wrapper>.row>.col-sm-12 {
    padding: 0 5px;
}

.dataTables_length label {
    display: inline-block;
    margin-bottom: 5px;
    width: auto;
}

.dataTables_length label span {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    font-size: 90%;
}

.dataTables_filter label {
    display: inline-block;
    margin-bottom: 5px;
    width: auto;
}

.datatable th.datetime {
    width: 15%;
    text-align: center;
}

.datatable th.datetime span {
    display: inline-block;
}

.datatable th.option {
    width: 8%;
    text-align: center;
}

.datatable th.totalbet {
    width: 15%;
    text-align: center;
}

.datatable th.totalbet span {
    display: inline-block;
}

.datatable th,
.datatable td {
    vertical-align: middle !important;
}

.datatable th:first-child,
.datatable td:first-child {
    padding-left: 10px;
}

.dataTables_paginate .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

@media screen and (max-width:768px) {
    .fromacc::after {
        content: "";
        /* display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center; */

        width: 0;
        height: 0;
        border-right: 30px solid transparent;
        border-top: 30px solid #b8daff;
        border-left: 30px solid transparent;

        display: block;
        text-align: center;
        position: relative;
        font-size: 80px;
        color: #212529;
        top: 0;
        left: 50%;
        bottom: 0;
        margin-top: -16px;
        right: 0;
        margin-left: -35px;

        z-index: 10;
        color: lightseagreen;
        margin-bottom: 0px !important
    }

    .toacc {
        margin-top: -40px;
    }

    .datatable th,
    .datatable td,
    .datatable .btn i {
        font-size: 12px;
    }

    .datatable .btn {
        padding: 0px 5px;
    }

    .dataTables_filter label input {
        width: 100% !important;
    }

    .dataTables_filter label {
        padding-right: 5px !important;
    }

    .dataTables_length {
        text-align: left !important;
    }

    .dataTables_length label {
        padding-left: 5px !important;
        vertical-align: middle;
    }

    .dataTables_wrapper {
        padding: 0px;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin: 2px 0;
        white-space: nowrap;
        justify-content: center;
    }

    .datatable th.datetime {
        width: 33%;
    }

    .datatable th.option {
        width: 10%;
    }

    .datatable th.totalbet {
        width: 25%;
    }
}

ol.list-numsets {
    list-style: none;
    counter-reset: my-awesome-counter;
}

ol.list-numsets li {
    counter-increment: my-awesome-counter;
    position: relative;
}

ol.list-numsets li::before {
    position: absolute;
    content: counter(my-awesome-counter) ". ";
    background: #d6d8db;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
    margin-left: -60px;
    min-width: 50px;
    text-align: center;
}

/************ add bank status **************/
.addbankstatus {
    width: 100%;
    display: block;
    margin: 10px 0;
}

.addbankstatus .status {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5px 0px;
    min-width: 140px;
}

.addbankstatus .status small {
    color: black;
    font-weight: bold;
}

.addbankstatus .status.wait {
    background: #1ba5e1;
    color: white;
}

.addbankstatus .status.confirm {
    background: #28a745;
    color: white;
}

.addbankstatus .status.cancel {
    background: #dc3545;
    color: white;
}

/*******************poyyyyyyyyyyyyyyyy*******************/
.btn-poy {
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: all 0.5s;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 99%;
    margin-top: 2px;
}

.btn-poy.active,
.btn-poy:hover {
    border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-top: rgba(255, 255, 255, 0.5) 5px solid !important;
    transform: all 0.5s;
}


.btn-poy span {
    display: inline-block;
    line-height: 1.2;
}

.btn-poy div {
    height: 100%;
    text-align: left;
}

.btn-poy i {
    font-size: 120%;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    margin-top: -8px;
}

@media screen and (max-width:992px) {
    .btn-poy {
        font-size: 75%;
        line-height: 1.2;
        vertical-align: middle;
    }

    .btn-poy span {
        display: block;
    }

    .btn-poy i {
        font-size: 180%;
        margin-right: 5px;
        vertical-align: middle;
        display: inline-block;
    }
}

@media screen and (max-width:320px) {
    .btn-poy i {
        display: none;
    }
}

.poy-content {
    height: 0px;
    width: 100%;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    transition: all 0.0s;
}

.poy-content.active {
    max-height: 100%;
    display: block;
    position: relative;
    padding: 10px !important;
    z-index: 1 !important;
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: all 0.5s;
}

.poy-list {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    border: #111 1px solid;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 2.5px;
    margin-right: 2.5px;
}

.poy-list {
    width: 32.6% !important;
}

@media screen and (max-width: 1199.98px) {
    .poy-list {
        width: 49% !important;
    }
}

@media screen and (max-width: 991.98px) {
    .poy-list {
        width: 48.8% !important;
    }
}

@media screen and (max-width: 767.98px) {
    .poy-list {
        width: 99% !important;
    }
}

.poy-list-content {
    background: white;
    padding: 5px 10px;
    color: #6c757d;
}

.poy-list-content .row .col .ribbon-lotto i {
    font-size: 14px !important;
}

.poy-list-content .row .col .ribbon-lotto {
    background: rgba(0, 0, 0, .3);
    height: 20px;
    width: auto;
    display: inline-block;
    position: absolute;
    color: #FFF;
    line-height: 20px;
    padding: 0px 5px;
    margin-top: 5px;
    border-left: rgba(0, 0, 0, .3) 1px solid;
    font-size: 16px;
}

.poy-list-content .row .col .ribbon-lotto:after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    border: 10px solid rgba(0, 0, 0, .3);
    right: -10px;
    height: 20px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

.poy-list-head {
    width: 100%;
    min-height: 30px;
    line-height: 1;
    border-bottom: #111 1px solid;
    padding: 6px 10px 0px 10px;
    vertical-align: middle;
    background: #fff;
    overflow: hidden;
}

.poy-government small,
.poy-thaistock small,
.poy-foreignstock small,
.poy-yeekee small {
    font-weight: normal !important;
}

.poy-type {
    font-weight: lighter;
    padding: 5px;
    border-radius: 3px;
    line-height: 1.2;
    text-align: right;
    background: #eee;
    color: #000;
}

.poy-type h3 {
    line-height: 1;
    margin-bottom: 0;
}

.number-win {
    color: cadetblue;
    font-size: 170%;
    line-height: 1;
}

.poy-government {
    background: #17a2b8;
}

.poy-thaistock {
    background: #007bff;
}

.poy-foreignstock {
    background: #6610f2;
}

.poy-yeekee {
    background: #dc3545;
}

.poy-list-head .poy-status {
    display: block;
    float: right;
    margin-top: -6px;
    margin-right: -10px;
    width: auto;
    min-height: 30px;
    /* box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 4px solid rgba(255, 255, 255, 0.5); */
    color: #000;
    font-size: 80%;
    /* padding-top: 12px; */
    padding-top: 8px;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}

/* .poy-status::before{
    content: "Status";
    font-size: 50% !important;
    line-height: 1;
    display: block;
    position: relative;
    margin-top: -9px;
    color: rgba(0, 0, 0, 0.4);
    border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
} */
.poy-list-head .poy-status.notyet {
    background: #ffc107;
}

.poy-list-head .poy-status.success {
    background: #3ac028;
    color: white;
}

.poy-list-head .poy-status.win {
    background: #3ac028;
    color: white;
}

.poy-list-head .poy-status.lost {
    background: #dc3545;
    color: white;
}


/*******************accordion********************/
.accordion .card {
    margin: 5px 0 0;
}

.accordion .card-header {
    font-family: inherit;
    font-weight: normal;
    color: #111;
    background: #fff;
    outline: 0;
    cursor: pointer;
    padding: 0;
}

.accordion .card-header h4 {
    font-family: inherit;
}

.accordion .card-header:hover {
    background: #eee;
}

.accordion .card-body {
    position: relative;
    margin: 0 0 0;
    padding: 10px;
    color: #fff;
    background: #333;
}

.accordion .card-body a {
    color: lightcoral;
}

.accordion .card-body:after {
    position: absolute;
    top: -14px;
    left: 25px;
    display: block;
    width: 0;
    height: 0;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
    content: '';
}

/************* tab ***************/
#menucredit .nav-tabs {
    border-bottom: 1px solid white;
}

#menucredit .nav-link {
    color: #000;
    background: #dee2e6;
    border: white 1px solid;
}

#menucredit .nav-link.active {
    color: white;
    background: #b90504;
    border: indianred 1px solid;
}

/*****************profile setting***************/

.button-upload-file {
    overflow: hidden;
    position: relative;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.button-upload-file input {
    width: 2000px;
    height: 2000px;
    display: block;
    position: absolute;
    top: -100%;
    left: -100%;
}

.button-upload-file .preview {
    position: relative;
    z-index: 2;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 80px;
    height: 80px;
    display: block;
    overflow: hidden;
}

.button-upload-file img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

}

.button-upload-file .icon {
    height: 32px;
    width: 32px;
    background: #3b5898;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    right: 0px;
    text-align: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    padding: 5px 0px 0px 1px;
}

.button-upload-file .icon i {
    color: #fff;
}

.profilesetting .col-12 {
    margin-bottom: 10px;
}

/***************** btn-af ***************/

.btn-af i {
    font-size: 150%;
    line-height: 1;
}

.btn-af {
    padding-left: 0px;
    padding-right: 0px;
    background: white;
    border-radius: 0.25rem;
}

@media screen and (max-width:321px) {
    .btn-af {
        font-size: 90%;
    }
}

/********** btn-hand ***************/
.btn-hand {
    padding: 5px 25px;
}

.text-user {
    width: 100%;
    word-wrap: none;
    padding: 0 2px;
}

@media screen and (max-width:321px) {
    .btn-hand {
        font-size: 80%;
        padding: 5px 20px;
        padding-bottom: 0px;
    }

    .text-user {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 60px;
        font-size: 80%;
        padding: 0 2px;
    }
}

#contentbox {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.box-list-jackpot {
    width: 100%;
    height: 140px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}


.btn-line {
    background: url(https://www.lottovip.com/assets/images/line-contact-icon-white.png) center center no-repeat;
    background-size: cover;
    height: 32px;
    width: 32px;
    line-height: 0;
    border-radius: 5px;
    vertical-align: middle;
    margin-top: 3px;
    margin-left: 5px;
    margin-right: 5px;
}

/***********************************/

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.0rem rgba(0, 123, 255, 0.25);
}

.box__keyboard .btn-outline-primary.active, .box__keyboard .btn-outline-primary:active {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    text-decoration: none !important
}

.btn-outline-primary:hover {
    color: #007bff;
    background-color: unset;
    border-color: #007bff;
    text-decoration: none !important
}

.mobileHoverFix:hover,
.mobileHoverFix.hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}


/************************************/

.spinner {
    margin: 0 auto;
    margin-top: 100px;
    width: 100px;
    height: 100px;
    text-align: center;
    font-size: 10px;
    z-index: 88;
}

.spinner>div {
    background-color: #a0171d;
    height: 100%;
    width: 10px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
    margin-left: 4px;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
    margin-left: 4px;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
    margin-left: 4px;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
    margin-left: 4px;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

/***************************/
small.smallspan {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width:575px) {
    small.smallspan {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    small.smallspan span:first-child {
        margin-right: 5px;
    }
}

@media screen and (min-width:1012px) {
    small.smallspan {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        margin-top: 3px;
    }

    small.smallspan span:first-child {
        margin-right: 5px;
    }
}

.txt-app span {
    display: inline-block;
}

.btn-app {
    width: 100%;
    max-width: 200px;
}

.img-app {
    width: 100%;
    max-width: 600px;
}


.bt-room input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

.bt-room label {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    background-color: #454545;
    color: white;
    /* padding: 5px 10px; */
    padding: 5px 5px;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 0px !important;
}

.bt-room input[type="radio"]+.bt-room label {
    margin-bottom: 0px !important;
    display: inline-block;
}

.bt-room input[type="radio"]:checked+label.bt-diamond span, .bt-room input[type="radio"]:checked+label.bt-platinum span, .bt-room input[type="radio"]:checked+label.bt-vip span {
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-diamond span.badge, .bt-room input[type="radio"]:checked+label.bt-platinum span.badge, .bt-room input[type="radio"]:checked+label.bt-vip span.badge {
    text-align: center;
}

.bt-room input[type="radio"]:checked+label.bt-diamond {
    background: url(../images/diamond-bg.gif) center center;
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-platinum {
    background: url(../images/diamond-bg.gif) top center;
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-vip {
    background-color: #790000;
    text-align: right;
}

.bt-room input[type=radio]:checked+label.bt-vip::after, .bt-room input[type=radio]:checked+label.bt-diamond::after, .bt-room input[type=radio]:checked+label.bt-platinum::after {
    content: "";
    border: none;
    background: none;
}

.bt-room input[type=radio]:checked+label.bt-vip::before {
    content: "\f587";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #C70039;
    background: white;
    padding: 1px;
    padding-left: 2px;
    padding-top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #C70039 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}

.bt-room input[type=radio]:checked+label.bt-diamond::before {
    content: "\f3a5";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #006EE3;
    background: white;
    padding: 1px;
    padding-top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #006EE3 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}

.bt-room input[type=radio]:checked+label.bt-platinum::before {
    content: "\f6cf";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #A000DC;
    background: white;
    padding: 1px;
    padding-top: 2px;
    padding-left: 2.5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #A000DC 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}


.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#accordionExample .card-header button.btn-link {
    color: darkred;
    white-space: normal;
    width: 100%;
    text-align: left;
}

#accordionExample.accordion .card-header:hover {
    background: darkred;
    color: #fff;
}

#accordionExample .card-header:hover button.btn-link {
    color: #fff;
}

.btn-contactbox {
    width: 100%;
    text-align: center;
    max-height: 100px;
}

.btn-contactbox i {
    font-size: 50px;
}

.btn-contactbox span {
    display: block;
}

.dd-box {
    /* width:256px; */
    width: auto;
    height: auto;
}

.dd-gold {
    /* font: bold 16px/36px sans-serif; */
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    /* color:#3c2e09; */
    color: lightgoldenrodyellow;
    text-shadow: 0 1px #000;
    /* text-shadow:0 1px #fe98; */
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #ffa3;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    box-shadow: 0 0 0 1px #0003, 0 2px 2px #0003;
}

.dd-box .badge {
    text-shadow: #000 1px 1px 0px;
    background: #6A2E04;
    color: lightgoldenrodyellow;
    font-size: 100%;
    border: yellow 2px dotted;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.dd-box img {
    height: 30px;
    margin-bottom: 5px;
}

.dd-box b {
    display: inline;
    color: orange;
    text-shadow: block 1px 1px 0px;
}

@media screen and (max-width:766px) {
    .dd-gold {
        line-height: 24px;
        padding-top: 5px;
    }
}

h1.circular {
    -webkit-text-stroke: 1px black;
    color: white;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.imgCnt {
    position: relative;
    width: 40px;
    top: -16px;
}

.imgtop, .imgbelow {
    position: absolute;
}

.imgtop {
    z-index: 1;
}

.imgbelow {
    z-index: 0;
}

+.dd-box {
    /* width:256px; */
    width: auto;
    height: auto;
}

.dd-gold {
    /* font: bold 16px/36px sans-serif; */
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    /* color:#3c2e09; */
    color: lightgoldenrodyellow;
    text-shadow: 0 1px #000;
    /* text-shadow:0 1px #fe98; */
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #ffa3;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    box-shadow: 0 0 0 1px #0003, 0 2px 2px #0003;
}

.dd-box .badge {
    text-shadow: #000 1px 1px 0px;
    background: #6A2E04;
    color: lightgoldenrodyellow;
    font-size: 100%;
    border: yellow 2px dotted;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.dd-box img {
    height: 30px;
    margin-bottom: 5px;
}

.dd-box b {
    display: inline;
    color: orange;
    text-shadow: block 1px 1px 0px;
}

@media screen and (max-width:766px) {
    .dd-gold {
        line-height: 24px;
        padding-top: 5px;
    }
}

.recommendnumber {
    display: block;
    text-align: center;
    font-size: 1.5em;
    margin: 5px auto;
    padding: 10px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border: 2px gray solid;
    height: auto;
    background-color: #E74C3C;
    position: relative;
    -webkit-animation-name: example;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    line-height: 1.2;
}

.recommendnumber span, .recommendnumber small {
    display: inline-flex;
}

.recommendnumber:hover {
    border-color: crimson;
}

a.recomnum {
    text-decoration: none !important;
}

.returnbtn {
    display: block;
    text-align: center;
    font-size: 1.5em;
    margin: 5px auto;
    padding: 10px;
    width: 100%;
    text-decoration: none;
    border: 2px black solid;
    background: gray;
    color: white;
    line-height: 1.2;
    border-radius: 5px;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
    0% {
        background-color: #C0392B;
    }

    25% {
        background-color: #F1C40F;
    }

    50% {
        background-color: #5DADE2;
    }

    75% {
        background-color: #27AE60;
    }

    100% {
        background-color: #C0392B;
    }
}

/* Standard syntax */
@keyframes example {
    0% {
        background-color: #C0392B;
    }

    25% {
        background-color: #F1C40F;
    }

    50% {
        background-color: #5DADE2;
    }

    75% {
        background-color: #27AE60;
    }

    100% {
        background-color: #C0392B;
    }
}

/************ button recom ***************/
.tab-recom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.btn-recom {
    text-align: center;
    color: white;
    margin: 2px;
    flex: 0 0 48%;
    max-width: 50%;
    position: relative;
}

.btn-recom a {
    color: white;
}

.twonum {
    border: #006EE3 2px solid;
    background: #3498DB;
}

.twonum.active {
    background: #0D41FF !important;
    border: white 2px dashed !important;
}

.threenum {
    border: #C0392B 2px solid;
    background: #EC7063;
}

.threenum.active {
    background: #C0392B !important;
    border: white 2px dashed !important;
}

.livebtn {
    display: block;
    text-align: center;
    font-size: 1em;
    margin: 0px auto;
    padding: 5px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border: 1px #555 solid;
    height: auto;
    background-color: #E74C3C;
    position: relative;
    -webkit-animation-name: examplez;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1s;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    /* Safari 4.0 - 8.0 */
    animation-name: examplez;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    line-height: 1;
    text-decoration: none;
}

.livebtn small {
    display: flex;
    justify-content: center;
    align-items: center;
    color: lightgoldenrodyellow;
}

.livebtn i {
    font-size: 0.9em;
    vertical-align: top;
}

.livebtn span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: lightgoldenrodyellow;
}

.livebtn:hover {
    border-color: crimson;
    text-decoration: none !important;
}

a:hover .livebtn {
    text-decoration: none !important;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes examplez {
    0% {
        background-color: #C0392B;
    }

    50% {
        background-color: #641E16;
    }

    100% {
        background-color: #C0392B;
    }
}

/* Standard syntax */
@keyframes examplez {
    0% {
        background-color: #C0392B;
    }

    50% {
        background-color: #641E16;
    }

    100% {
        background-color: #C0392B;
    }
}

.lotto-head.lotto-vn-vip {
    background-color: rgb(150, 99, 196);
    border: rgb(109, 40, 170) 1px solid;
}

.lotto-head.lotto-vn-vip2 {
    background-color: rgb(61, 88, 196);
    border: rgb(38, 0, 232) 1px solid;
}

/* ****************************** */
.btn-outline-danger:not(:disabled):not(.disabled).active {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-outline-danger {
    color: #dc3545 !important;
    background-color: white !important;
    background-image: none;
    border-color: #dc3545 !important;
    word-wrap: break-word;
    overflow: hidden;
}

@media screen and (max-width:320px) {
    .btn-af.btn-outline-danger {
        font-size: 80%;
    }
}

.btn-outline-danger:hover {
    color: white !important;
    background-color: #dc3545 !important;
    background-image: none;
    border-color: #dc3545 !important;
}

.page-link:hover {
    z-index: 2;
    color: #dca235;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link {
    z-index: 2;
    color: #333;
    text-decoration: none;
}


.btn-rood {
    padding: 5px;
    border-radius: 0;
    border-right: 0;
    width: 100%;
}

.btn-group-toggle:last-child>.btn-rood {
    border-right: solid 1px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.btn-group-toggle:first-child>.btn-rood {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.txt-num {
    font-family: 'Mitr', cursive;
}

.btn-group-toggle>.btn-outline-danger.focus, .btn-group-toggle>.btn-outline-danger:hover {
    background: none !important;
    color: #dc3545 !important;
}

.btn-group-toggle>.btn-outline-danger.focus.active, .btn-group-toggle>.btn-outline-danger.active {
    color: white !important;
    background: #dc3545 !important;
}

.btn-limitnum {
    border: #FFCC00 1px solid;
    color: #FFCC00;
    font-weight: bold;
}

.btn-group-toggle>.btn-limitnum.focus, .btn-group-toggle>.btn-limitnum:hover {
    background: none !important;
    color: #FFCC00 !important;
}

.btn-group-toggle>.btn-limitnum.focus.active, .btn-group-toggle>.btn-limitnum.active {
    color: white !important;
    background: #FFCC00 !important;
}

.btn-group-toggle>.btn-outline-secondary.focus, .btn-group-toggle>.btn-outline-secondary:hover {
    background: none !important;
    color: #6c757d !important;
}

.btn-group-toggle>.btn-outline-secondary.focus.active, .btn-group-toggle>.btn-outline-secondary.active {
    color: white !important;
    background: #6c757d !important;
}

#samtua {
    position: relative;
}

/* #ninetybtn,#roodfrontbtn,#roodbackbtn{
    margin-left: -8px;
}
@media screen and (max-width:767.98px){
    #ninetybtn,#roodfrontbtn,#roodbackbtn{
        margin-left: 0px;
    }
} */
.overlay-disable {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .5;
    z-index: 10;
}

/* animated button */

.animated-button1 {
    background: linear-gradient(-30deg, #3d0b0b 50%, #2b0808 50%);
    padding: 8px 15px;
    margin: 5px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #f7d4d4;
    font-size: 16px;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.animated-button1::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad8585;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
}

.animated-button1:hover::before {
    opacity: 0.2;
}

.animated-button1 span {
    position: absolute;
}

.animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}


.animated-button1::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad8585;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
}

.animated-button1:hover::before {
    opacity: 0.2;
}

.animated-button1 span {
    position: absolute;
}

.animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

.animated-button1 {
    margin-top: -10px;
    width: 100%;
}

.animated-button1:hover {
    text-decoration: none;
    color: gold;
}

.topbox {
    border: 1px #333 solid;
    border-radius: 5px;
    display: block;
    margin-top: 0px;
    padding: 10px 0;
    background: #343a40;
    /* color: lightgoldenrodyellow; */
    line-height: 1;
}

.marqueemain {
    background-color: #fff;
    border: #555 1px solid;
    padding: 5px 10px;
    margin-bottom: 0px;
}

/********************upload file*****************/
.file-upload {
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: #fff;
    background: rgb(31, 119, 178);
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid rgb(21, 96, 130);
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.file-upload-btn:hover {
    background: rgb(24, 137, 212);
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
}

.file-upload-btn:active {
    border: 0;
    transition: all .2s ease;
}

.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    margin-top: 20px;
    border: 2px dashed rgb(31, 82, 178);
    position: relative;
}

.image-dropping,
.image-upload-wrap:hover {
    background-color: rgb(64, 142, 216);
    border: 2px dashed #ffffff;
}

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

.drag-text h3 {
    font-weight: 100;
    text-transform: uppercase;
    color: rgb(5, 37, 95);
    padding: 60px 0;
}

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.remove-image:hover {
    background: #c13b2a;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
}

.remove-image:active {
    border: 0;
    transition: all .2s ease;
}

/********************** carousel slide ****************/
.carousel-view>.bg-danger {
    background-color: #d59929 !important;
    color: white !important;
}

.carousel-inner {
    height: auto;
    width: 100%;
}

/* Count nav-pills */
.nav-slide {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide {
    width: 100%;
    counter-reset: number;
}

.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

#nav1.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: none;
    display: inline-block;
    visibility: hidden;
}

#nav1.nav-slide>li>.flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, .3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, .3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.nav-slide .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #976f02;
    -moz-box-shadow: inset 0px 0px 0px 2px #976f02;
    box-shadow: inset 0px 0px 0px 2px #976f02;
}

.nav-slide li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    min-width: 30px;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee {
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide-yeekee {
    width: 100%;
    counter-reset: number;
}

.nav-slide-yeekee>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

.nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #976f02;
    -moz-box-shadow: inset 0px 0px 0px 2px #976f02;
    box-shadow: inset 0px 0px 0px 2px #976f02;
    font-weight: bold;
}

/************************/
.nav-slide li,
.nav-slide-yeekee li {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    color: black !important;
    text-shadow: #fff 1px 1px 0px;
}

/************************/
.border-active .nav-slide .active,
.border-active .nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #d59929;
    -moz-box-shadow: inset 0px 0px 0px 2px #d59929;
    box-shadow: inset 0px 0px 0px 2px #d59929;
}

.border-active .nav-slide li,
.border-active .nav-slide-yeekee li {
    color: white !important;
    text-shadow: black 1px 1px 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

.border-active .nav-slide li.active,
.border-active .nav-slide-yeekee li.active {
    color: #444 !important;
    text-shadow: #fff 1px 1px 0px;
    background-color: #fff;
}

/*************************/



.carousel-view ol {
    margin-top: 0;
    margin-bottom: 0rem;
}

.carousel-view {
    display: none;
    margin-bottom: 0rem;
    position: relative;
}



@media screen and (max-width:768px) {
    .carousel-view {
        display: block;
    }

    .pc-view {
        display: none !important;
    }

    .nav-slide li {
        position: relative;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        /* display: inline-block; */
        /* width: 24% !important; */
        width: 32.4% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        text-indent: 0px !important;
    }

    .nav-slide {
        position: relative;
        flex-wrap: wrap;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide-yeekee li {
        position: relative;
        -ms-flex: none;
        flex: none;
        /* display: inline-block; */
        width: 11.3% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        margin-bottom: 3px;
        text-indent: 0px;
    }

    .nav-slide-yeekee {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide li,
    .nav-slide-yeekee li {
        cursor: pointer;
        background-color: rgba(108, 117, 125, 0.2);
        font-size: 14px;
        font-weight: 400;
        text-shadow: none;
        border-radius: 2px;
    }

}

@media screen and (max-width:321px) {
    .nav-slide li {
        width: 32.0% !important;
        font-size: 11.5px;
    }

}

/********************** end carousel slide ****************/

.text-danger {
    color: rgb(189, 132, 41) !important;
}

.border-danger {
    border-color: #f5bd70 !important;
}

.bgwhitealpha .card-header {
    font-weight: 400;
    font-size: 100%;
}

.bgwhitealpha h6.text-danger {
    color: #976f02 !important;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 {
    /* color: #976f02; */
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 span {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 14px;
}

.bgwhitealpha h6 span.badge-danger {
    background-color: #976f02;
}

.bgwhitealpha {
    /* background: rgba(179, 227, 236, 0.6); */
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border: rgba(255, 255, 255, 1) 2px solid;
}

.bgwhitealpha h6 span.flag-icon {
    font-size: 40px;
    margin-top: -15px;
    margin-left: -15px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 8px;
    max-width: 50px;
    background-size: cover;
    border: #555 1px solid;
    border-top-color: #ccc;
    border-left-color: #ccc;
}

.card-header span.flag-icon {
    font-size: 30px;
    top: -8px;
    left: -10px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 8px;
    max-width: 50px;
    background-size: cover;
    display: flex;
    border: #555 1px solid;
    border-top-color: #333;
    border-left-color: #333;
}

.btn-contactbox-game {
    width: 100%;
    text-align: center;
    height: 100%;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-contactbox-game i {
    font-size: 50px;
}

.btn-contactbox-game span {
    display: block;
    white-space: pre-line;
    line-height: 1;
    margin-bottom: 5px;
}

.modal-dialog {
    max-height: 90%;
    /* Set maximum height for the dialog */
    margin: auto;
    /* Center it vertically */
}

.modal-content {
    max-height: 100%;
    /* Ensure the modal content doesn'mext overflow */
    overflow: hidden;
    /* Prevent horizontal overflow */
}

.modal-body {
    overflow-y: auto;
    /* Enable vertical scrolling */
    max-height: calc(90vh - 150px);
    /* Adjust height to fit the viewport */
    padding: 15px;
    /* Add padding inside the modal body */
}




/* @import url("https://fonts.googleapis.com/css?family=Mitr:200,300,400,500&subset=latin-ext,thai,vietnamese");

@font-face {
  font-family: NotoserifThai;
  font-display: swap;
  src: url(../static/font/Notoserif/NotoSerifThai-Regular.eot);
  src: url(../static/font/Notoserif/NotoSerifThai-Regular.woff2) format("woff2"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.woff) format("woff"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.ttf) format("truetype"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.svg#NotoSerifThai-Regular)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotoserifThai-bold;
  font-display: swap;
  src: url(../static/font/Notoserif/NotoSerifThai-Bold.eot);
  src: url(../static/font/Notoserif/NotoSerifThai-Bold.woff2) format("woff2"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.woff) format("woff"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.ttf) format("truetype"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.svg#NotoSerifThai-Bold)
      format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Regular.eot);
  src: url(../static/font/Notosans/NotoSansThai-Regular.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Regular.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Regular.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Regular.svg#NotoSansThai-Regular)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai-Medium;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Medium.eot);
  src: url(../static/font/Notosans/NotoSansThai-Medium.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Medium.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Medium.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Medium.svg#NotoSansThai-Medium)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai-bold;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Bold.eot);
  src: url(../static/font/Notosans/NotoSansThai-Bold.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Bold.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Bold.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Bold.svg#NotoSansThai-Bold)
      format("svg");
  font-weight: 700;
  font-style: normal;
} */

@font-face {
    font-family: "Omyim";
    font-display: swap;
    src: url(../../assets/custom/font/PSLxOmyim.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Iconic";
    font-display: swap;
    src: url(../igame-index-lobby-wm/font/FC\ Iconic\ Regular.otf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Iconic-bold";
    font-display: swap;
    src: url(../../assets/custom/font/FC\ Iconic\ Bold.otf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Omyim-bold";
    font-display: swap;
    src: url(../../assets/custom/font/PSLxOmyim\ Bold.otf) format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Kittithada";
    font-display: swap;
    src: url(../../assets/custom/font/PSLxKittithada.otf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Kittithada-bold";
    font-display: swap;
    src: url(../../assets/custom/font/PSLxKittithada\ Bold.otf) format("truetype");
    font-weight: 700;
    font-style: normal;
}

/* @import url("https://fonts.googleapis.com/css?family=Mitr:200,300,400,500&subset=latin-ext,thai,vietnamese");

@font-face {
  font-family: NotoserifThai;
  font-display: swap;
  src: url(../static/font/Notoserif/NotoSerifThai-Regular.eot);
  src: url(../static/font/Notoserif/NotoSerifThai-Regular.woff2) format("woff2"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.woff) format("woff"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.ttf) format("truetype"),
    url(../static/font/Notoserif/NotoSerifThai-Regular.svg#NotoSerifThai-Regular)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotoserifThai-bold;
  font-display: swap;
  src: url(../static/font/Notoserif/NotoSerifThai-Bold.eot);
  src: url(../static/font/Notoserif/NotoSerifThai-Bold.woff2) format("woff2"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.woff) format("woff"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.ttf) format("truetype"),
    url(../static/font/Notoserif/NotoSerifThai-Bold.svg#NotoSerifThai-Bold)
      format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Regular.eot);
  src: url(../static/font/Notosans/NotoSansThai-Regular.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Regular.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Regular.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Regular.svg#NotoSansThai-Regular)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai-Medium;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Medium.eot);
  src: url(../static/font/Notosans/NotoSansThai-Medium.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Medium.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Medium.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Medium.svg#NotoSansThai-Medium)
      format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: NotosansThai-bold;
  font-display: swap;
  src: url(../static/font/Notosans/NotoSansThai-Bold.eot);
  src: url(../static/font/Notosans/NotoSansThai-Bold.woff2) format("woff2"),
    url(../static/font/Notosans/NotoSansThai-Bold.woff) format("woff"),
    url(../static/font/Notosans/NotoSansThai-Bold.ttf) format("truetype"),
    url(../static/font/Notosans/NotoSansThai-Bold.svg#NotoSansThai-Bold)
      format("svg");
  font-weight: 700;
  font-style: normal;
} */

/* Start Customize Theme Section */
/* :root {
    --main-font-family: "Iconic", sans-serif;
    --sub-font-family: "Kittithada", sans-serif;
    --text-title-color: black;
    --text-sub-title-color: #2F0504;

    --text-primary-color: #D24274;
    --bg-primary-color: #a90202;
    --border-primary-color: #936408;
    --text-on-bg-primary-color: #ffffff;

    --card-main-bg-color: rgb(208, 45, 31);
    --card-main-text-color: #4e2d80;

    --text-secondary-color: #faab18;
    --bg-secondary-color: #faab18;
    --border-secondary-color: #FDF689;
    --text-on-bg-secondary-color: #4e2d80;

    --bg-dark-color: #902242;
    --border-dark-color: #391274;
    --text-on-bg-dark-color: #ffffff;

    --link-text-color: white;
    --link-hover-text-color: #CF4146;

    --card-header-bg-color: #9c1417;
    --card-header-text-color: #ffffff;
    --card-header-border-color: #a04344;

    --card-main-money-text-color: #faab18;

    --main-background: #000;
    --main-gradient-color: #C1C1C1;

    --text-result: #383838 --
} */

/* End Customize Theme Section */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #dad4d4;
    border-radius: 10px;
}

a:hover {
    text-decoration: none;
    color: white;
}

.modal-body a:hover {
    color: #a97111;
}

/* test */
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888888;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    position: relative;
}

html,
body {
    font-family: var(--main-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1;
}

textarea,
input[type],
button[type],
select {
    font-size: 1.2rem;
    line-height: 1;
    /* height: auto; */
}

button[type] {
    font-size: 1.2rem !important;
    line-height: 1;
}

.btn {
    line-height: 1.2;
    font-size: 1.2rem;
}

a {
    /* font-size: 1.2rem; */
    line-height: 1;
}

.style-eye {
    margin-left: -6%;
    border-radius: 0px 21px 22px 0px;
    border: 1px solid #FFFFFF;
    z-index: 100;
}

.dvImageTextBox {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.dvImageTextBox input {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 5px 5px #00000029;
    border: 1px solid #FFFFFF;
    border-radius: 22px;
    display: block;
    width: 100%;
    padding-inline-start: 33px;
    color: black;
}


.dvImageTextBox.box-pwd input {
    border-radius: 22px 0px 0 22px;
}

@media screen and (max-width: 390px) {

    .dvImageTextBox.box-pwd input {
        border-radius: 0.25rem 0px 0 0.25rem;
    }

    .style-eye {
        margin-left: -1%;
        border-radius: 0px 0.25rem 0.25rem 0px;
    }
}


.dvImageTextBox img {
    position: absolute;
    top: 12px;
    left: 7px;
    height: 38%;
    margin: 3px;
    padding: 1px;
}

.dvImageTextBox i {
    position: absolute;
    top: 6px;
    left: 7px;
    height: 50%;
    color: white;
    font-size: 0.8rem;
}

.form-control {
    height: fit-content !important;
    color: black;
}

/*.form-control:focus {*/
/*  background-color: var(--main-background);*/
/*  color: white;*/
/*}*/

/*input:-webkit-autofill {*/
/*  -webkit-text-fill-color: #a9b0b8 !important;*/
/*}*/

/*input:-webkit-autofill,*/
/*input:-webkit-autofill:hover,*/
/*input:-webkit-autofill:invalid,*/
/*input:-webkit-autofill:focus,*/
/*input:-webkit-autofill:active {*/
/*  -webkit-box-shadow: 0 0 0 30px var(--main-background) inset !important;*/
/*}*/

.fixed-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background: url(../images/bg-black.jpg) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale')";
}

@media screen and (max-width: 768px) {
    .card-3main-m {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 0 0.2rem #5e6164);
        border-radius: 10px;
    }

    .bg-balance-m {
        text-align: center;
        filter: drop-shadow(0 0 0.2rem #5e6164);
    }

    .dvImageTextBox {
        filter: drop-shadow(0 0 0.2rem #5e6164);
    }

    .dvImageTextBox input {
        border-radius: 5px;
    }

    .fixed-bg {
        width: 100vw;
    }

    html,
    body {
        font-size: 1.1rem;
    }

    .input-price {
        font-size: 1rem !important;
    }
}

/* body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg-black.jpg) repeat-x top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  } */
/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mitr", sans-serif;
} */

.navbar {
    width: 100%;
    height: auto;
    background: var(--bg-primary-color);
    /* background-color: #790000; */
    /* background-image: linear-gradient(to right, #ffe66f, #dcab4c, #b37430, #85411a, #551202); */
    /* background-color: #F2AE33; */
    /* background-image: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);; */
    color: var(--text-on-bg-primary-color);
    padding: 8px 0;
}

/* notice bar */

/* .notice-bar {
    border-radius: 10px;
    padding: 2px;
    background: #b90504;
    height: 24px;
    width: 100%;
}

.label-notice {
    border-radius: 9px;
    background: white;
    height: 20px;
    color: #28a745;
    font-size: 14px;
    line-height: 20px;
    padding: 0px 8px;
    width: auto;
    white-space: nowrap
} */

.notice-bar {
    border-radius: 12px;
    padding: 2px;
    /* background: #b90504; */
    background: black;
    height: 30px;
    width: auto;
    display: inline-flex;
}

.label-notice {
    /* border-radius: 20px; */
    /* background: white;  */
    height: 24px;
    /* color: var(--bg-primary-color); */
    color: #28a745;
    font-size: 14px;
    line-height: 24px;
    /* padding: 0px 8px; */
    width: auto;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    margin-right: 5px;
}

.label-notice .online {
    width: auto;
    border-radius: 20px;
    background: #28a745;
    height: 24px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    color: white;
    padding: 8px 2px 8px 8px;
    display: inline-flex;
    margin-right: 0px;
    line-height: 1;
    align-items: center;
    font-size: 12px;
}

.label-notice .numonline {
    width: auto;
    border-radius: 20px;
    background: white;
    height: 24px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    color: #28a745;
    padding: 8px 8px 8px 5px;
    display: inline-flex;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 0px;
    text-align: center;
    line-height: 1;
    align-items: center;
    border: #28a745 2px solid;
}

@media screen and (max-width: 376px) {
    .label-notice i {
        display: none !important;
    }
}

.txt-notice {
    line-height: 25px;
    font-size: 16px;
    color: #fff;
    width: 100%;
    display: inline-flex;
}

/* notice bar */

/* error form */
.has-error {
    text-align: left;
}

.has-error input,
.has-error select,
.has-error textarea,
.has-error small {
    color: red !important;
}

.has-error input,
.has-error select,
.has-error textarea {
    border: 1px solid red !important;
    color: red !important;
}

.has-success input,
.has-success select,
.has-success textarea,
.has-success small {
    color: green !important;
}

.has-success input,
.has-success select,
.has-success textarea {
    border: 1px solid green !important;
    color: green !important;
}

/* error form */

.indexlogo {
    width: 100%;
    text-align: left;
}

/* .logoindex{
    background: url(../images/lottery.svg) no-repeat top center;
    background-size: cover;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
} */
.logoindex {
    /* background: url(../images/logo-fifalotto-white.png) no-repeat top center; */
    background-size: cover;
    width: 208px;
    height: 40px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.logoindex img {
    width: 100%;
    height: auto;
    /* margin-top: -0.9rem; */
}

.txtindex {
    display: inline-block;
    vertical-align: middle;
    color: #790000;
    font-size: 2em;
    text-shadow: #fff 1px 1px 0px;
}

.bgwhitealpha {
    /* background: rgba(179, 227, 236, 0.6); */
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border: rgba(255, 255, 255, 1) 2px solid;
}

.bgwhitealpha h6 {
    color: var(--text-title-color) !important;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6.text-danger {
    color: var(--text-title-color) !important;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 span {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 14px;
}

.bgwhitealpha .card-header {
    font-weight: 400;
    /* font-family: "Mitr", sans-serif; */
}

.bgwhitealpha .card-theme-header {
    font-weight: 400;
    /* font-family: "Mitr", sans-serif; */
}

.bgwhitealpha .border-card-right {
    border-right: 2px solid rgba(0, 0, 0, 0.125);
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    /* border-radius: 0px; */
}

.bgwhitealpha .border-card-right:last-child {
    border-right: none !important;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;

    /* border-radius: 0px; */
}

.bgwhitealpha .sub-card-header {
    font-size: 80%;
    /* line-height: 25px; */
    line-height: 1;
    padding: 5px 0px !important;
    vertical-align: middle;
    min-height: 25px;
    /* font-family: 'NotosansThai', sans-serif !important; */
}

.bgwhitealpha .bg-danger {
    border-radius: 3px;
}

.card-theme-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    color: var(--card-header-text-color);
    background-color: var(--card-header-bg-color);
    border-bottom: 1px solid var(--card-header-border-color);
}

.card-header-text {
    color: var(--text-secondary-color);
}

.border-active {
    border: var(--bg-primary-color) 2px solid;
    /* background: rgba(38, 166, 91, 0.6); */
    background: rgba(151, 2, 21, 0.5);
    /* transition: border 0.5s linear; */
    transition: border 0.5s, opacity 0.8s linear;
}

.border-active h6 {
    color: #fff;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px #790000;
    font-size: 110%;
    font-weight: 400;
}

.border-active h6 span.badge-dark {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0);
    /* color: var(--bg-primary-color); */
    /* color: #049372; */
    /* background: white; */

    color: #fff;
    background-color: #dc3545;

    font-weight: 400;
    font-size: 14px;
}

.border-active .btn-dark {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.border-active .bg-danger {
    background-color: rgba(255, 255, 255, 1) !important;
    border-radius: 3px;
    color: var(--text-primary-color) !important;
}

.bglogin {
    /* background: #e8e8e8;
    border-radius: 5px;
    border: #790000 2px solid;
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: #d53529 0 0 3px;
    margin-top: 10px; */
    background: #e8e8e8;
    border-radius: 5px;
    border: var(--border-primary-color) 2px solid;
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: var(--bg-primary-color) 0 0 3px;
    margin-top: 10px;
}

.subbglogin {
    /* background: var(--bg-primary-color);
    border-radius: 5px;
    border: #790000 2px solid;
    border-top: #790000 1px solid;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: #d53529 0 0 3px;
    margin-bottom: 10px;
    vertical-align: middle; */
    background: #e8e8e8;
    border-radius: 5px;
    border: var(--border-primary-color) 2px solid;
    border-top: var(--border-primary-color) 1px solid;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: var(--bg-primary-color) 0 0 3px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.subbglogin .rule a {
    color: var(--link-text-color);
    text-decoration: underline;
    line-height: 30px;
}

.subbglogin .rule a:hover {
    color: var(--link-hover-text-color);
    /* text-shadow: var(--link-hover-text-color) 1px 1px 0px; */
}

.subbglogin .rule {
    text-align: right;
}

.subbglogin .submenulogin {
    text-align: right;
}

.subbglogin .submenulogin .btoutline {
    background: white;
    border-radius: 5px;
}

.form-middle {
    vertical-align: middle;
    font-size: 12px;
    line-height: 10px;
}

.form-middle label {
    font-size: 13px;
    vertical-align: -webkit-baseline-middle;
    /*font-family: tahoma;*/
    /* font-family: Mitr; */
    line-height: 0px;
}

.form-middle .remember {
    text-align: right;
    color: #051f34;
    line-height: 20px;
    margin-bottom: 2px;
    /*text-shadow: #dbf7ff 1px 1px 0px;*/
}

.form-middle .forgot {
    font-size: 13px;
    text-align: right;
    /*font-family: tahoma;*/
    /* font-family: Mitr; */
    line-height: 0px;
    margin-top: -5px;
}

.form-middle .forgot a {
    color: var(--text-primary-color);
    /* text-shadow: #07396f 1px 1px 0px; */
    text-decoration: none;
}

.form-middle .forgot a:hover {
    color: #051f34;
    text-shadow: #dbf7ff 1px 1px 0px;
}

footer.bg-danger div.footer-copyright a {
    color: var(--text-on-bg-primary-color);
    text-decoration: none;
}

footer.bg-danger div.footer-copyright a:hover {
    color: var(--border-primary-color);
    text-decoration: none;
}

footer.bg-danger div.footer-copyright div.footer-text {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

footer.bg-danger div.footer-copyright {
    color: var(--text-on-bg-primary-color);
    text-shadow: 1px 1px 0 var(--border-primary-color);
    height: 100%;
    vertical-align: middle;
}

footer.bg-danger {
    background: var(--bg-primary-color) !important;
}

#footer-member.bg-danger div.footer-copyright a {
    color: var(--text-on-bg-secondary-color);
    text-decoration: none;
}

#footer-member.bg-danger div.footer-copyright a:hover {
    color: var(--border-secondary-color);
    text-decoration: none;
}

#footer-member.bg-danger div.footer-copyright {
    color: var(--text-on-bg-secondary-color);
    text-shadow: 1px 1px 0 #000;
    font-size: 26px !important;
}

#footer-member.bg-danger {
    background: #101010 !important;
}

@media (hover: none) {
    body {
        background-attachment: initial;
    }
}

@media screen and (max-width: 768px) {
    .indexlogo {
        text-align: center;
        margin-bottom: 24px;
    }

    .form-middle .remember {
        text-align: left;
        line-height: 12px;
        vertical-align: middle;
    }

    .form-middle label {
        font-size: 14px;
    }

    .form-middle .forgot {
        line-height: 20px;
        font-size: 14px;
        margin-top: 0;
    }

    .subbglogin .rule {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .bgwhitealpha .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 0.5em !important;
        -moz-column-gap: 0.5em !important;
        column-gap: 0.5em !important;
        orphans: 1;
        widows: 1;
    }

    /* .bgwhitealpha .sub-card-header {
    font-family: "NotosansThai", sans-serif !important;
  } */
}

@media (min-width: 768px) {
    .bgwhitealpha .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 0.5em !important;
        -moz-column-gap: 0.5em !important;
        column-gap: 0.5em !important;
        orphans: 1;
        widows: 1;
    }

    /* .bgwhitealpha .sub-card-header {
    font-family: "Mitr", sans-serif !important;
  } */
}

/************* button-select-category ***********/

.button-select-category .dropdown-menu .dropdown-item {
    padding: 5px 10px;
    border-top: 1px solid #d7eff3;
}

.button-select-category .dropdown-menu .dropdown-item:first-child {
    border-top: 1px solid white;
}

.button-select-category .dropdown-toggle::before,
.button-select-category .dropdown-toggle::after {
    /* display: none;  */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.button-select-category {
    /* display: none; */

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;

    position: fixed;
    right: 10px;
    bottom: 70px;
    z-index: 15;
    text-align: center;

    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 15;
    text-align: center;
}

.button-select-category i.fa-times {
    display: none;
    font-style: normal;
}

.button-select-category a {
    color: var(--text-primary-color) !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category a.text-dark {
    color: var(--text-on-bg-primary-color) !important;
    background: var(--bg-primary-color) !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category a.text-dark:active {
    color: var(--text-on-bg-primary-color) !important;
    background: var(--bg-primary-color) !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category a:active {
    color: var(--text-on-bg-primary-color) !important;
    background: var(--bg-primary-color) !important;
    display: block;
    cursor: pointer;
    font-size: 14px;
}

.button-select-category.show i.fa-times {
    display: block;
}

.button-select-category.show i.fa-search {
    display: none;
}

.button-select-category button {
    width: 47px;
    height: 47px;
    line-height: 24px;
    padding: 9px 10px;
    text-align: center;
    /* color: #fff; */
    color: var(--text-primary-color);
    border-radius: 47px;
    /* background-color: var(--bg-primary-color); */
    background-color: #fff;
    border: 3px solid var(--border-primary-color);
    -webkit-box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.button-select-category button i {
    /* color: #fff; */
    color: var(--text-primary-color);
    font-size: 24px;
    vertical-align: middle;
    text-align: center;
}

/************* end button-select-category ***********/

/********************** carousel slide ****************/

.carousel-inner {
    height: auto;
    width: 100%;
}

/* Count nav-pills */
.nav-slide {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide {
    width: 100%;
    counter-reset: number;
}

.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

#nav1.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: none;
    display: inline-block;
    visibility: hidden;
}

#nav1.nav-slide>li>.flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card--theme-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.nav-slide .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
    -moz-box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
    box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
}

.nav-slide li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    min-width: 30px;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee {
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide-yeekee {
    width: 100%;
    counter-reset: number;
}

.nav-slide-yeekee>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

.nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
    -moz-box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
    box-shadow: inset 0px 0px 0px 2px var(--bg-primary-color);
    font-weight: bold;
}

/************************/
.nav-slide li,
.nav-slide-yeekee li {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 16px !important;
    color: var(--text-primary-color) !important;
    text-shadow: #fff 1px 1px 0px;
}

/************************/
.border-active .nav-slide .active,
.border-active .nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #d53529;
    -moz-box-shadow: inset 0px 0px 0px 2px #d53529;
    box-shadow: inset 0px 0px 0px 2px #d53529;
}

.border-active .nav-slide li,
.border-active .nav-slide-yeekee li {
    color: white !important;
    text-shadow: black 1px 1px 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

.border-active .nav-slide li.active,
.border-active .nav-slide-yeekee li.active {
    color: #790000 !important;
    text-shadow: #fff 1px 1px 0px;
    background-color: #fff;
}

/*************************/

.carousel-view ol {
    margin-top: 0;
    margin-bottom: 0rem;
}

.carousel-view {
    display: none;
    margin-bottom: 0rem;
    position: relative;
}

@media screen and (max-width: 768px) {
    .button-select-category button {
        margin-bottom: 60px;
    }

    .carousel-view {
        display: block;
    }

    .pc-view {
        display: none !important;
    }

    .nav-slide li {
        position: relative;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        /* display: inline-block; */
        /* width: 24% !important; */
        /* width: 32.4% !important; */
        width: 47.5% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        text-indent: 0px !important;
    }

    .nav-slide {
        position: relative;
        flex-wrap: wrap;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide-yeekee li {
        position: relative;
        -ms-flex: none;
        flex: none;
        /* display: inline-block; */
        width: 11.3% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        margin-bottom: 3px;
        text-indent: 0px;
    }

    .nav-slide-yeekee {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide li,
    .nav-slide-yeekee li {
        cursor: pointer;
        background-color: rgba(45, 28, 75, 0.2);
        font-size: 14px;
        font-weight: 400;
        text-shadow: none;
        border-radius: 2px;
    }
}

@media screen and (max-width: 321px) {
    .nav-slide li {
        width: 32% !important;
        font-size: 11.5px;
    }
}

/********************** end carousel slide ****************/

/********* end index **********/

/********* member ************/

.topnavbar {
    background: none;
    width: 100%;
    height: auto;
    color: var(--text-on-bg-primary-color);
    padding: 12px 0;
    padding-bottom: 25px;
    margin-bottom: 15px;
}

.topnavbar.sticky-top {
    z-index: 998;
}

.botnavbar {
    width: 100%;
    height: auto;
    /*background: #b90504;
    color: white;*/
    /* background: #f8f9fa; */
    /* background:#ccc; */
    background: #ececec;
    /* border-top: 1px #fcfcfc solid; */
    /* padding: 8px 0; */
}

.botnavbar.fixed-bottom {
    z-index: 998;
}

.memberlogo {
    width: auto;
    margin-left: -20px;
    text-align: left;
}

.logomember {
    /* background: url(../images/lottery.svg) no-repeat top center; */
    background-size: cover;
    width: auto;
    height: 60px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

#logosymbol {
    display: none;
}

@media screen and (max-width: 765px) {
    .logomember {
        margin-left: 0px;
    }

    .topnavbar {
        background-color: #640A12;
        padding: 6px 0;
        padding-bottom: 6px;
        /*border-top: #F2D048 6px solid;*/
    }
}

@media screen and (max-width: 321px) {
    .logomember {
        width: 35px;
        height: 35px;
        margin-top: 0px;
    }

    #logosymbol {
        display: inline-block;
        width: auto;
        border-radius: 2px;
        box-shadow: #333 0px 0px 1px;
    }

    #logofull {
        display: none;
    }
}



.txtlogomember {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    font-size: 1em;
    text-shadow: #790000 1px 1px 0px;
}

#menu-profile {
    /*margin-left: 5px;*/
    padding-right: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#menu-profile.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}


#menu-profile-dropdown>.dropdown-item:hover {
    background-color: #eee !important;
}

/* menu-pc */
#menu-pc {
    vertical-align: middle;
    display: flex;
    align-items: center;
}

#menu-pc a {
    color: var(--text-on-bg-primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 2px;
    padding: 0 10px;
    font-size: 24px;
    vertical-align: middle;
    font-weight: bold;
    /*text-shadow: 1px 1px 0 var(--border-secondary-color);*/
}

#menu-pc a:hover,
#menu-pc a:active,
#menu-pc a.active {
    color: #d8b754;
    /*text-shadow: 1px 1px 1px var(--border-primary-color);*/
}

.pc-view .bootstrap-select a,
.mobile-view .bootstrap-select a {
    font-size: initial;
    text-shadow: initial;
    color: initial;
}

.pc-view .bootstrap-select,
.mobile-view .bootstrap-select {
    background: transparent;
    height: auto;
}

.pc-view .bootstrap-select .btn-sm {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-view .bootstrap-select .btn-block {
    background: rgba(0, 0, 0, 0);
}

.pc-view .bootstrap-select .filter-option-inner {
    min-width: 20px;
    max-width: 20px;
}

.pc-view .bootstrap-select .filter-option-inner span,
.mobile-view .bootstrap-select .filter-option-inner span {
    border-radius: 1px;
}

.pc-view .bootstrap-select>.dropdown-toggle,
.mobile-view .bootstrap-select>.dropdown-toggle {
    padding-right: 22px;
}

/* menu-mobile */
#menu-mobile {
    vertical-align: middle;
}

#menu-mobile a {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    padding: 8px 0;
    text-align: center;
    border-left: 1px #ececec solid;
    border-right: 1px #ececec solid;
    border-top: #cecece 1px solid;
}

#menu-mobile a:hover,
#menu-mobile a:active,
#menu-mobile a.active {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(255, 255, 255, 0.9) 1px solid;
    box-shadow: inset 0 -5px 0 #500202;
    border-top: #aeaeae 1px solid;
}

#menu-mobile a:hover:last-child,
#menu-mobile a:active:last-child {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(0, 0, 0, 0.05) 1px solid;
    /* border-right: rgba(255,255,255,0.6) 1px solid; */
}

#menu-mobile i {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    /* text-shadow: 1px 1px 0 #fff; */

    background-color: #565656;
    color: transparent;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
    -webkit-background-clip: text;
    /*-moz-background-clip: text;*/
    /*background-clip: text;*/
}

#menu-mobile a:hover i,
#menu-mobile a:active i,
#menu-mobile a.active i {
    color: #500202;
    text-shadow: #fff 1px 1px 0px;
}

#menu-mobile ul li {
    background: #ccc;
    display: inline-block;
}

/* #menu-mobile .support {
    background: #343a40;
    color: #fff;
    box-shadow: inset 0px 5px 0px #555;
}

#menu-mobile .support i {
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    vertical-align: middle;

    background-color: #222;
    color: transparent;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
} */

#menu-mobile .support {
    background: #28a745;
    color: #fff;
    box-shadow: inset 0px 5px 0px #555;
}

#menu-mobile .support i {
    text-decoration: none;
    display: inline-block;
    /* margin-top:2px;
    padding: 0 10px; */
    font-size: 24px;
    vertical-align: middle;
    /* text-shadow: 1px 1px 0 #fff; */

    background-color: #222;
    color: transparent;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

#menu-mobile a.support.active i,
#menu-mobile a.support:active i,
#menu-mobile a.support:hover i {
    color: #28a745;
    text-shadow: #fff 1px 1px 0px;
}

#menu-mobile a.support:hover,
#menu-mobile a.support:active,
#menu-mobile a.support.active {
    background: rgba(0, 0, 0, 0.1);
    border-left: rgba(0, 0, 0, 0.1) 1px solid;
    border-right: rgba(255, 255, 255, 0.9) 1px solid;
    box-shadow: inset 0 -5px 0 #28a745;
    border-top: #aeaeae 1px solid;
}

/* Sidebar */
.linemenu-x {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 24px;
    min-height: 24px;
    height: auto;
    display: inline-block;
    margin-left: 5px;
    margin-right: 15px;
    margin-top: 0;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    /* margin: 40px 0; */
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebarCollapsePC {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    padding: 0px;
}

#sidebarCollapse {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
}

#sidebarCollapse i {
    line-height: 24px;
    margin-top: 2.5px;
    padding-right: 0px;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    right: -257px;
    height: 100vh;
    z-index: 1023;
    background: #f8f9fa;
    color: #888;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    right: -10px;
}

.mobile-view {
    display: none !important;
}

/* this for circle dismiss */
/* #dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius:35px;
    text-align: center;
    background: #f8f9fa;
    -webkit-box-shadow:inset 0px 0px 0px 2px var(--bg-primary-color);
    -moz-box-shadow:inset 0px 0px 0px 2px var(--bg-primary-color);
    box-shadow:inset 0px 0px 0px 2px var(--bg-primary-color);
    color: #dc3545;

    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 36px;
    z-index: 999;
} */

#dismiss {
    color: var(--text-on-bg-primary-color);
    text-align: center;
    position: absolute;
    top: 0px;
    left: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 36px;
    z-index: 999;
}

#dismiss:hover {
    color: var(--text-primary-color);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    /* background: #f6f6f6; */
    background: var(--bg-primary-color);
    font-size: 16px !important;
    box-shadow: #c1c1c1 0 1px 3px;
    z-index: 998;
    position: relative;
    color: var(--text-on-bg-primary-color);
}

#sidebar .sidebar-header img {
    border: 3px solid white;
    background: white;
    box-shadow: #500202 0px 2px 1px;
}

#sidebar ul.components {
    padding: 0px 0;
    border-bottom: 1px solid #ddd;
    background: #ececec;
    z-index: 997;
    position: relative;
}

#sidebar ul p {
    color: #f8f9fa;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    color: #555;
    text-shadow: #fff 1px 1px 0;
    border-bottom: #fff 1px dashed;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: var(--text-primary-color);
    /* background: #f8f9fa; */
    background: white;
    border-bottom: #f8f9fa 1px dashed;
}

/* #sidebar ul li:last-child a {
  border-bottom: #fff 1px solid;
} */

#sidebar ul li.active>a,
#sidebar a[aria-expanded="true"] {
    color: var(--text-primary-color);
    /* background: #f8f9fa; */
    background: var(--text-on-bg-primary-color);
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #f8f9fa;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebar ul.CTAs {
    padding: 10px 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    border: var(--border-primary-color) solid 1px;
}

#sidebar ul.CTAs a:hover {
    border: var(--border-primary-color) solid 1px;
}

a.download {
    background: #f8f9fa;
    color: var(--text-primary-color);
}

a.article,
a.article:hover {
    background: var(--bg-primary-color) !important;
    color: var(--text-on-bg-primary-color) !important;
}

a.logout {
    background: var(--bg-primary-color) !important;
    color: var(--text-on-bg-primary-color) !important;
    border: var(--border-primary-color) solid 1px;
    text-shadow: var(--border-primary-color) 1px 1px 0 !important;
}

a.logout:hover {
    background: var(--text-on-bg-primary-color) !important;
    color: var(--text-primary-color) !important;
    border: var(--border-primary-color) solid 1px;
    text-shadow: var(--text-on-bg-primary-color) 1px 1px 0 !important;
}

#re-credit {
    display: inline-block;
    cursor: pointer !important;
    font-size: 18px;
    vertical-align: middle;
    padding: 0;
}

#re-credit span {
    border: 2px solid var(--bg-primary-color);
    transition: all 0.5s;
    color: var(--border-primary-color) !important;
    background: var(--text-on-bg-primary-color) !important;
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit:hover span {
    transition: all 0.5s;
    border: 2px solid var(--bg-primary-color);
    cursor: pointer;

    background: var(--border-primary-color);
    color: var(--text-on-bg-primary-color);
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit.active span {
    /* color: #fff;
    background-color: var(--bg-primary-color); */
    transition: all 0.5s;
    border: 2px solid var(--bg-primary-color);
    cursor: pointer;

    background: var(--border-primary-color) !important;
    color: var(--text-on-bg-primary-color) !important;
    transition: all 0.5s linear, color 0.1s linear;
}

#re-credit i,
#re-credit span {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    margin-left: 0;
}

#re-credit i {
    font-size: 18px;
    background: var(--bg-primary-color);
    border-radius: 18px;
}

.refresh-icon.fa-spin {
    color: var(--border-primary-color);
    /* transform: rotate(180deg);
    transition: transform 0.5s linear, color 0.1s linear; */
    transition: all 0.5s linear, color 0.1s linear;
}

.refresh-icon {
    transition: color 0.1s linear;
}

/* ---------------------------------------------------
    CARD STYLE
----------------------------------------------------- */
.card-main {
    border-radius: 10px;
    margin: 20px 0px;
    background: var(--card-main-bg-color);
    color: var(--card-main-text-color);
    border: var(--border-primary-color) 1px solid;
    height: auto;
}

.card-main h2 {
    margin-bottom: -7px;
    /* font-family: 'NotosansThai', sans-serif; */
    font-weight: 300;
    text-shadow: var(--border-primary-color) 1px 1px 0;
    transform: scaleX(0.85);
}

.card-sub {
    border-radius: 50px;
    margin: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 1);
    border: #fff 1px solid;
    height: auto;
    margin-bottom: -20px;
    z-index: 100;
    position: relative;
}

.btn-credit {
    border-radius: 50px;
}

.text-black {
    color: black;
}

.menu-grid {
    overflow: hidden;
}

a.menu-grid.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.btn-red {
    color: var(--text-on-bg-primary-color);
    background-color: var(--bg-primary-color) !important;
    border-color: var(--bg-primary-color) !important;
}

.btn-red:hover,
.btn-red:active {
    color: var(--text-on-bg-primary-color);
    background-color: var(--bg-primary-color) !important;
    border-color: var(--bg-primary-color) !important;
}

a.menu-grid.hot {
    overflow: hidden;
    /* border: 1px solid #dab3b0; */
    border: 1px solid var(--border-primary-color);
    color: var(--text-primary-color);
    box-shadow: inset 0 -0px 10px rgba(255, 155, 155, 0.2);
}

a.menu-grid {
    padding: 10px;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid var(--border-primary-color);
    margin-top: 5px;
    margin-bottom: 5px;
    color: #555;
    text-decoration: none;
    text-shadow: var(--text-on-bg-primary-color) 1px 1px 0;
    line-height: 1.2;
}

.menu-grid i {
    font-size: 30px;
}

a.menu-grid:hover,
a.menu-grid:active {
    color: var(--border-primary-color);

    background: #eee;
    border: 1px solid #e5e5e5;
}

.row .col-3 a.menu-grid,
.row .col-md-1 a.menu-grid,
.row .col-lg-1 a.menu-grid {
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 8px;
    width: 100%;
    font-size: 14px;
    min-width: 50px;
    line-height: 1.5;
}

.row .col-3 .menu-grid i,
.row .col-md-1 .menu-grid i {
    font-size: 30px;
}

.row .col-4 .menu-grid i.sn-icon,
.row .col-md-1 .menu-grid i.sn-icon {
    font-size: 35px !important;
    line-height: 0.9 !important;
}

a.menu-grid.powerball {
    line-height: 1.2 !important;
}

.row-menu-grid .row .col-4,
.row-menu-grid .row .col-6,
.row-menu-grid .row .col-3 {
    /* padding-right:0px !important; */
    padding-right: 8px;
    padding-left: 8px;
}

.main-content {
    margin-top: 0px;
    border-radius: 0px;
    /*background-color: white !important;*/
    /* margin-bottom: 60px; */
}

.row-menu-grid {
    border-radius: 25px;
    margin-bottom: 60px;
}

.menu-grid.menu-money {
    background: var(--bg-dark-color);
    color: var(--text-on-bg-primary-color);
    text-shadow: var(--border-dark-color) 1px 1px 0;
    border-radius: 0px;
    box-shadow: inset 10px -0px 0px var(--border-primary-color);
    min-height: 60px;
    padding: 15px;
    padding-right: 5px;
}

.menu-grid.menu-money i {
    color: var(--text-primary-color);
    text-shadow: #222 1px 1px 0;
}

.menu-grid.menu-money:hover,
.menu-grid.menu-money:active {
    background: var(--border-dark-color);
    color: var(--text-on-bg-dark-color);
    text-shadow: var(--border-dark-color) 1px 1px 0;
    border-radius: 0px;
    box-shadow: inset 10px -0px 0px var(--bg-primary-color);
}

.menu-grid.menu-money:hover i,
.menu-grid.menu-money:active i {
    color: var(--bg-primary-color);
    text-shadow: var(--border-dark-color) 1px 1px 0;
}

/************ribbon****************/
/* @import url(https://fonts.googleapis.com/css?family=Lato:700); */

/* common */
.ribbon {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid var(--border-primary-color);
}

.ribbon span {
    position: absolute;
    display: block;
    width: 80px;
    padding: 2px 0;
    background-color: var(--bg-primary-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-on-bg-primary-color);
    /* font: 500 10px/1 "Lato", sans-serif !important; */
    font-size: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
}

/* soon ribbon */

.ribbon-soon {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
}

.ribbon-soon::before,
.ribbon-soon::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid #333;
}

.ribbon-soon span {
    position: absolute;
    display: block;
    width: 80px;
    padding: 2px 0;
    background-color: #555;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font: 500 8px/1 "NotosansThai", sans-serif !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
}

/* top left*/
.ribbon-top-left {
    top: 5px;
    left: 0px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: -3px;
    top: 6px;
    transform: rotate(-45deg);
}

/************ribbon****************/

.box-news {
    width: 100%;
    display: flex;
}

.h-box-news {
    line-height: 0.9;
    background: #500202;
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    display: flex;
}

.h-box-news span b {
    /* font-family: Mitr; */
    font-weight: 400;
}

.h-box-news .icon-news {
    display: inline-block;
    padding-left: 20px;
    padding-right: 10px;
    box-shadow: inset 7px 0px 0px var(--bg-primary-color);
    height: 100%;
    min-height: 35px;
}

.h-box-news .icon-news i {
    font-size: 35px;
    color: #dc3545;
}

.h-box-news .txt-h {
    display: inline-block;
}

.txt-box-news {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 10px;
    background: #fff;
    border: #e0e0e0 1px solid;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.txt-box-news a {
    color: #343a40;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.txt-box-news a:hover {
    color: #000;
}

.txt-box-news a img {
    border-radius: 5px;
    margin-right: 10px;
    width: 120px;
    object-fit: contain;
    align-self: center;
    flex: 0 0 auto;
    transition: all 0.3s;
}

.txt-box-news a:hover img,
.txt-box-news a:focus img {
    object-position: 50% 50%;
    transform: scale(1.1);
    transition: all 0.3s;
}

.txt-box-news .text-news {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    overflow: hidden;
    height: auto;
    align-self: center;
    width: 100%;
    word-wrap: break-word;
}

.txt-box-news a .text-news p {
    line-height: 1.3;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    word-wrap: break-word;
    font-size: 14px;
}

.txt-box-news a .text-news span {
    /* font-family: tahoma; */
    font-size: 12px;
    font-weight: 400;
    background: #aaa;

    width: auto;
    flex: 0 0 auto;
}

.txt-box-news a:hover .text-news span {
    background: #555;
}

.txt-box-news a .text-news h1 {
    line-height: 1.5;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    font-size: 14px;
    word-wrap: break-word;
}

.txt-box-news a:hover .text-news h1 {
    color: var(--text-primary-color);
}

/****************************/

.txt-box-news1 a {
    color: #343a40;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
}

.txt-box-news1 a:hover {
    color: #000;
}

.txt-box-news1 a img {
    border-radius: 5px;
    margin: 5px;
    margin-top: 0px;
    object-fit: contain;
    align-self: center;
    flex: 0 0 auto;
    transition: all 0.3s;
}

.txt-box-news1 a:hover img,
.txt-box-news1 a:focus img {
    object-position: 50% 50%;
    transform: scale(0.95);
    transition: all 0.3s;
}

.txt-box-news1 .text-news {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    overflow: hidden;
    height: auto;
    align-self: center;
    width: 100%;
    word-wrap: break-word;
}

.txt-box-news1 a .text-news p {
    line-height: 1.3;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    word-wrap: break-word;
    font-size: 14px;
}

.txt-box-news1 a .text-news span {
    /* font-family: tahoma; */
    font-size: 12px;
    font-weight: 400;
    background: #aaa;

    width: auto;
    flex: 0 0 auto;
}

.txt-box-news1 a:hover .text-news span {
    background: #555;
}

.txt-box-news1 a .text-news h6 {
    line-height: 1.5;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    font-size: 14px;
    word-wrap: break-word;
}

.txt-box-news1s a:hover .text-news h6 {
    color: var(--text-primary-color);
}

/* .img-news{
    width: 100%;
    max-width: 600px;
    margin: 10px;
    float: left;
}
.news-detail{
    float: left;
} */

.title-news-hilight {
    font-size: 130%;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    background: white;
}

.title-news-hilight span {
    background-color: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.title-news-hilight::before {
    content: "";
    display: block;
    height: 4px;
    background: #ddd;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    left: 10px;
    right: 10px;
}

/*--------------bubble-------------------*/

/* remimder bubble styling */

.bubblechat blockquote {
    margin: 10px 10px 0;
    background: #efefef;
    padding: 20px 60px;
    position: relative;
    border: none;
    border-radius: 8px;
    text-align: center;
}

.bubblechat blockquote:before,
.bubblechat blockquote:after {
    content: "\201C";
    position: absolute;
    font-size: 80px;
    line-height: 1;
    /* color: #757f9a; */
    color: lightcoral;
    font-style: normal;
    /* font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif; */
}

.bubblechat blockquote:before {
    top: -8px;
    left: 3px;
}

.bubblechat blockquote:after {
    content: "\201D";
    right: 0px;
    bottom: -0.5em;
}

.bubblechat div.bubble-arrow {
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #efefef;
    margin: 0 0 0 60px;
}

.bubblechat {
    position: fixed;
    left: 5px;
    bottom: 10px;
    max-width: 250px;
    z-index: 1031;
}

.bubblechat p {
    margin: 8px 0 0 20px;
    text-align: left;
    color: #fff;
}

.bubblechat .boxclose {
    background: #fff !important;
    border: none;
    position: absolute;
    z-index: 1032;
    text-align: center;
    right: 15px;
    top: 15px;
    border-radius: 20px;
    border: 5px solid #fff;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 0.8 !important;
    padding: 0px 0px;
    font-size: 15px;
    cursor: pointer;
    color: lightcoral;
}

.bubblechat a {
    color: #500202;
    text-decoration: none;
}

.bubblechat a:hover {
    color: #b90504;
}

.bar-powerball {
    width: 100%;
    background-color: #151515;
    color: var(--text-on-bg-primary-color);
    display: inline-block;
    padding: 5px 0;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    border-bottom: var(--bg-primary-color) 2px solid;
    display: none;
}

.bar-powerball i {
    font-size: 28px;
    line-height: 20px;
    vertical-align: middle;
}

.bar-powerball-pc {
    width: auto;
    /* background-color: #151515; */
    color: white;
    display: inline-block;
    padding: 5px 0;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    margin-left: 10px;
}

.bar-powerball-pc i {
    font-size: 28px;
    line-height: 20px;
    vertical-align: middle;
}

/*****************************/

.ribbonbar {
    font-weight: 600;
    color: #fff;
    background: #dc3545;
    padding-top: 0px;
    font-size: 18px;
    line-height: 20px;
    /* width: max-content; */
    width: auto;
    position: relative;
    text-align: center;
    height: 27px;
    /* margin: 3em auto 0 auto; */
    filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.1));
    border-right: 2px solid #dc3545;
    border-left: 2px solid #dc3545;
    margin-left: 20px;
    text-shadow: #500202 1px 1px 0;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.ribbonbar:after,
.ribbonbar:before {
    content: "";
    position: relative;
    display: inline-block;
    border: 13.5px solid #dc3545;
    height: 27px;
}

.ribbonbar:before {
    left: -20px;
    border-right-width: 5px;
    border-left-color: transparent;
    filter: drop-shadow(-6px 6px 3px rgba(0, 0, 0, 0.04));
    position: relative;
}

.ribbonbar:after {
    right: -20px;
    border-left-width: 5px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    position: relative;
}

.ribbonbar .odometer {
    line-height: 1;
    margin-top: -15px;
    margin-left: -20px;
    margin-right: -20px;
    min-width: 50px;
}

/* end bubble chat */
/* -----------------------lotto card-------------------- */
.ribbon-lotto {
    background: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: auto;
    display: inline-block;
    position: absolute;
    color: #fff;
    line-height: 30px;
    padding: 0px 10px;
    margin-top: 5px;
    border-left: rgba(0, 0, 0, 0.3) 1px solid;
}

.ribbon-lotto:after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    border: 15px solid rgba(0, 0, 0, 0.3);
    right: -15px;
    height: 30px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

.ribbon-lotto-img {
    height: 30px;
    width: auto;
    display: inline-block;
    /* position: absolute; */
    color: #fff;
    line-height: 30px;
    margin-top: 5px;
}

ul.countdown {
    list-style: none;
    margin: 0px 0;
    padding: 0px 0px;
    text-align: center;
    position: relative;
    display: flex;
    overflow: hidden;
    height: 30px;
    align-items: center;
}

ul.countdown li {
    display: inline-flex;
    margin: 0px;
}

ul.countdown li span {
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
}

ul.countdown li.seperator {
    font-size: 20px;
    line-height: 30px;
    vertical-align: middle;
}

ul.countdown li p {
    color: #a7abb1;
    font-size: 14px;
}

.lotto-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

a .lotto-card {
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(255, 255, 255, 0.5) 0 0 10px;
}

a .lotto-card:hover,
a.lotto-card:focus {
    box-shadow: #555 0px 0px 10px;
    /* border: 2px solid rgba(0,0,0,0.5); */
}

.lotto-head {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px;
    color: white;
    text-align: right;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 0;
}

.lotto-head-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary-color);
}

.lotto-head>div {
    flex-grow: 1;
}

.lotto-head .lotto-name {
    font-weight: 400 !important;
    text-align: right;
    margin-bottom: 0px;
    /* font-size: 12px; */
    -webkit-text-stroke: 0.1px rgb(156, 154, 154);
    /* width and color */
}

@media only screen and (min-width: 740px) {
    .lotto-head .lotto-name {
        /* font-size: 16px; */
    }
}

.lotto-head span {
    font-weight: 400;
}

.ribbon-lotto span.round {
    font-size: 12px;
    line-height: 10px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    padding: 1px 2px;
    padding-bottom: 3px;
    margin-top: -2px;
    margin-right: 2px;
    /* font-family: tahoma; */
    transform: scaleX(0.9);
}

.lotto-head.lotto-government {
    background-color: #17a2b8;
    border: #108496 1px solid;
}

.lotto-head.lotto-thaistock {
    background-color: #007bff;
    border: #0364cc 1px solid;
}

.lotto-head.lotto-foreignstock {
    background-color: #6610f2;
    border: #4f06c5 1px solid;
}

.lotto-head.lotto-yeekee {
    /* background-color: #dc3545; */
    /* border: #aa1423 1px solid; */
    display: flex;
    flex-direction: column;
}


.lotto-head.lotto-la {
    background-color: #fd7e14;
    border: #c45b06 1px solid;
}

.lotto-head.lotto-vn {
    background-color: #e83e8c;
    border: #b1185f 1px solid;
}

.lotto-head.lotto-my {
    background-color: #28a745;
    border: #1c8b36 1px solid;
}

.lotto-head.lotto-sg {
    background-color: #65b1c4;
    border: #5996a5 1px solid;
}

.lotto-head.lotto-gsb {
    background-color: #f90a86;
    border: #ff1d92 1px solid;
}

.ribbon-lotto-img {
    display: inline-block;
    /* position: absolute; */
    color: #fff;
    line-height: 20px;
    padding: 0px 5px;
    margin-top: 5px;
}

.ribbon-lotto-img img {
    height: 50px;
}

.ribbon-lotto-img span {
    height: 50px;
    font-size: 50px;
    background-size: cover;
    margin-left: -5px;
}

@media screen and (max-width: 420px) {
    .ribbon-lotto-img {
        display: inline-block;
        /* position: absolute; */
        color: #fff;
        line-height: 20px;
        padding: 0px 5px;
        margin-top: 5px;
    }

    .ribbon-lotto-img img {
        height: 40px !important;
    }

    .ribbon-lotto-img span {
        height: 40px;
        font-size: 40px !important;
        background-size: cover;
    }
}

.lotto-head.lotto-baac {
    background-color: #13007d;
    border: #0e005c 1px solid;
}

.lotto-time {
    width: 100%;
    display: flex;
    padding: 1px;
    border-top: none;
    text-align: right;
    font-size: 1.7rem;
    line-height: 30px;
    flex-direction: row;
    justify-content: space-between;
    font-weight: bold;
}

@media screen and (max-width: 1199px) {
    .lotto-time {
        width: 100%;
        display: flex;
        padding: 1px;
        border-top: none;
        text-align: right;
        font-size: 1.7rem;
        line-height: 30px;
        flex-direction: row;
        justify-content: space-between;
        font-weight: bold;
    }
}

.lotto-time i {
    /* float: left; */
    display: inline-flex;
}

.tanghuay-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-bottom: 0px;
    background: rgba(0, 0, 0, 0.1);
    border: #ccc 1px solid;
    text-align: right;
    font-size: 18px;
    line-height: 20px;
    /* color: #dc3545; */
    color: var(--text-primary-color);
    text-shadow: var(--text-on-bg-primary-color) 1px 1px 0;
    border-radius: 5px;
    overflow: hidden;
}

.tanghuay-time_day {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-bottom: 0px;
    background: rgba(0, 0, 0, 0.1);
    border: #ccc 1px solid;
    text-align: right;
    font-size: 15px;
    line-height: 20px;
    /* color: #dc3545; */
    color: var(--border-primary-color);
    text-shadow: var(--text-on-bg-primary-color) 1px 1px 0;
    border-radius: 5px;
    overflow: hidden;
}

.lotto-time span {
    font-size: 80%;
}

@media screen and (max-width: 413px) {
    .lotto-time span {
        font-size: 77%;
    }
}

@media screen and (max-width: 376px) {

    .time-government span {
        text-align: center !important;
        width: 100% !important;
    }

    .time-government {
        vertical-align: middle;
        /* height: 100%; */
    }
}

@media screen and (max-width: 321px) {
    .time-government span {
        font-size: 70%;
    }
}

.tanghuay-time i {
    margin-right: 5px;
    display: inline-flex;
}

.tanghuay-time ul li span {
    font-weight: bold !important;
}

.tanghuay-time ul li.seperator {
    font-weight: bold !important;
}

.tanghuay-time_day i {
    margin-right: 5px;
    display: inline-flex;
}

.tanghuay-time_day ul li span {
    font-weight: bold !important;
}

.tanghuay-time_day ul li.seperator {
    font-weight: bold !important;
}

@media screen and (max-width: 376px) {
    .tanghuay-time i {
        display: none;
    }

    .tanghuay-time span {
        font-size: 75%;
    }
}

@media screen and (max-width: 321px) {
    .tanghuay-time span {
        font-size: 75%;
    }
}

@media screen and (max-width: 321px) {
    .tanghuay-time_day i {
        display: none;
    }

    .tanghuay-time_day {
        font-size: 10px;
    }

    .tanghuay-h4 {
        font-size: 80%;
    }
}

@media screen and (min-width: 321px) and (max-width: 430px) {
    .tanghuay-time_day i {
        display: none;
    }

    .tanghuay-time_day {
        font-size: 15px;
    }

    .tanghuay-h4 {
        font-size: 100%;
    }
}

@media only screen and (min-width: 480px) {
    .tanghuay-time_day {
        font-size: 20px;
    }
}

.bar-back {

    line-height: 20px;
    padding: 10px;
    background: white;
    font-size: 20px;
    border-radius: 10px 10px 0px 0px;
    margin-top: 20px;

}

.bar-back a {
    color: #aaa;
    text-decoration: none;
}

.bar-back a.btn {
    color: white;
}

.bar-back a.btn:hover,
.bar-back a.btn:focus {
    color: white;
}

.bar-back a.btn-outline-secondary {
    color: #555;
}

.bar-back a.btn-outline-secondary:hover,
.bar-back a.btn-outline-secondary:focus {
    color: #fff;
}

.bar-back a:hover,
.bar-back a:focus {
    color: var(--text-primary-color);
}

.col-lotto .row .col-6,
.col-lotto .row .col-4,
.col-lotto .row .col-3 {
    margin-bottom: 5px;
    padding: 0 5px;
}

/* .col-lotto .row .col-4 .btn,.col-lotto .row .col-6 .btn{
    line-height: 1.2;
    overflow: hidden;
} */
.col-lotto .bg-btn {
    background: white;
    border-radius: 5px;
    border: 1px solid white;
    box-shadow: rgba(255, 255, 255, 0.5) 0 0 3px;
    width: auto;
}

.bg-option {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    /*text-shadow: #eee 1px 1px 0px;*/
}

.flex-fill .bg-btn {
    margin: 2.5px;
}

.btn-tanghuay {
    line-height: 1;
}

.btn-panghuay {
    line-height: 1;
}

.row-btn-tanghuay .btn.active .badge {
    background: rgba(0, 0, 0, 0.5) !important;
    outline: 1px dashed white;
}

.row-btn-tanghuay .btn div:first-child {
    margin-left: -8px;
    margin-top: -5px;
    margin-bottom: -5px;
    padding: 5px;
    padding-top: 8px;
    border-radius: 0px;
    vertical-align: middle;
}

.row-btn-tanghuay .col-6 button div:first-child {
    width: 80%;
}

.row-btn-tanghuay .btn span {
    /* font-family: Arial, Helvetica, sans-serif; */
    /* font-weight: 400; */
}

.row-btn-tanghuay .btn div:first-child i {
    font-size: 1.3rem;
    font-style: normal;
    text-align: center;
}


.reward-jubwin-badge {
    font-size: 1.3rem;
}

@media screen and (max-width: 768px) {

    .row-btn-tanghuay .btn div:first-child i {
        font-size: 1rem;
    }

    .reward-jubwin-badge {
        font-size: 1rem;
    }
}

@media (min-width: 640px) {
    .row-btn-tanghuay .btn div:first-child i {
        font-size: 22px;
    }
}

.row-btn-tanghuay .btn div:last-child {
    font-style: normal;
    text-align: center;
    width: 29%;
}

.fill-price-equal,
.search-name-poy {
    font-size: 1rem !important;
    height: 100% !important;
}

@media screen and (max-width: 768px) {
    .row-btn-tanghuay .btn div:last-child {
        width: 31%;
    }

    .fill-price-equal,
    .search-name-poy {
        font-size: 0.875rem !important;
        height: 100% !important;
    }
}


.row-btn-tanghuay .flex-fill {
    margin: 2.5px;
    width: auto;
}

.row-btn-tanghuay .btn.active div:first-child {
    background: rgba(0, 0, 0, 0.5) !important;
}

.row-btn-tanghuay .btn.active {
    /* box-shadow: black 1px 1px 8px; */
    outline: 1px dashed white;
    outline-offset: 2px;
}

.btn-outline-red {
    color: #b27f30;
    background-color: rgba(255, 0, 0, 0.1);
    background-image: none;
    border-color: #b27f30;
}

.btn-outline-red.active {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-blue {
    color: #b27f31;
    /* background-color: transparent; */
    background-color: rgba(0, 89, 255, 0.05);
    background-image: none;
    border-color: #b27f31;
}

btn-outline-primary-jubwin:active,
.btn-outline-blue.active {
    color: #fff;
    background-color: #b78432;
    border-color: #b78432;
}

.btn-outline-green {
    color: #28a745;
    /* background-color: transparent; */
    background-color: rgba(0, 255, 106, 0.1);
    background-image: none;
    border-color: #28a745;
}

.btn-outline-green.active {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.bg-button-option-jubwin {
    background-color: #b27f31;
}

/* .col-lotto .row .col-4 .btn:hover .badge,.col-lotto .row .col-6 .btn:hover .badge, .col-lotto .row .col-4 .btn.active .badge,.col-lotto .row .col-6 .btn.active .badge{
    background: rgba(0, 0, 0, .5) !important;
} */
/* .col-lotto .row .col-4 .btn div:first-child,.col-lotto .row .col-6 .btn div:first-child{
    margin-left:-8px;
    margin-top:-5px;
    margin-bottom: -5px;
    padding: 0 5px;
    padding-top: 8px;
    border-radius: 0px;
    vertical-align: middle;
} */
/* .col-lotto .row .col-4 .btn div:first-child i,.col-lotto .row .col-6 .btn div:first-child i{
    line-height: 1;
} */
/* .col-lotto .row .col-4 .btn:hover div:first-child,.col-lotto .row .col-6 .btn:hover div:first-child, .col-lotto .row .col-4 .btn.active div:first-child,.col-lotto .row .col-6 .btn.active div:first-child{
    background: rgba(0, 0, 0, .5) !important;
} */
/* .col-lotto .row .col-4 .btn span,.col-lotto .row .col-6 .btn span{
    font-family: tahoma;
    font-weight: 400;
} */
/* .col-lotto .row .col-4 .btn i,.col-lotto .row .col-6 .btn i{
    font-size: 25px;
    font-style: normal;
} */
.lotto-title h4 {
    font-family: inherit !important;
    color: black;
    line-height: 1;
    margin-bottom: 0px;
    font-size: 1.4rem;
}

.lotto-title.lotto-title-result h4 {
    color: #fff !important
}

.lotto-close {
    -webkit-filter: opacity(70%) grayscale(100%);
    /* Safari */
    filter: opacity(70%) grayscale(100%);
}

.lotto-close .ribbon-lotto {
    background: rgba(0, 0, 0, 1);
    border-left: rgba(0, 0, 0, 1) 1px solid;
    vertical-align: top;
}

.lotto-close .ribbon-lotto:after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    border: 15px solid rgba(0, 0, 0, 1);
    right: -15px;
    height: 30px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

/**********************************************/

.btn-move {
    padding: 0px;
    /* border: var(--bg-primary-color) 1px solid; */
    background: var(--bg-primary-color);
    font-size: 16px;
    line-height: 30px;
    height: 30px !important;
    margin-bottom: 0px;
    color: var(--text-on-bg-primary-color);
    cursor: pointer;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: 1s;
}

.btn-move a {
    color: white;
    transition: 1s;
}

#hide-list-huay,
#show-list-huay {
    overflow: hidden;
    width: 50%;
    margin-bottom: 2px;
}

@media screen and (max-width: 767px) {

    #hide-list-huay,
    #show-list-huay {
        overflow: hidden;
        width: 100%;
        margin-bottom: 2px;
    }
}

#hide-list-huay {
    transition: all 1s;
}

#show-list-huay {
    transition: all 1s;
}

.btn-move span {
    display: inline-block;
    width: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 1s;
    height: 100%;
    vertical-align: middle;
}

span.btn-move {
    display: inline-flex;
    width: 100%;
    text-align: center;
    overflow: hidden;
    height: 100%;
    transition: all 1s;
    vertical-align: middle;
    margin-bottom: 0px;
    margin-right: 2px;
    white-space: nowrap;
}

.btn-move-left:before,
.btn-move-right:after {
    content: "";
    position: relative;
    height: 30px;
    display: flex;

}


.btn-move-left {
    color: #fff !important;
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    margin-left: 15px !important;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.btn-move-right {
    color: #fff !important;
    background: rgba(188, 116, 5, 1);
    margin-right: 15px !important;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.btn-move-left:before {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #933985;
    margin-left: -15px;

}

.btn-move-right:after {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #333;
    margin-right: -15px;
}

.sidebar-tanghuay {
    width: 100%;
    padding-left: 7px;
}

#sidebar-huay {
    display: flex;
    flex-flow: column;
    justify-content: start;
    align-items: stretch;
    overflow: hidden;
    transition: all 1s;
}

#show_poy_list {
    opacity: 1;
    width: 55%;
    transition: all 1s;
}

#numpage_2 h3.mb-0 {
    font-family: inherit;
    font-size: 125%;
}

#numpage_1,
#numpage_2 {
    transition: all 1s;
}

.sidebar-huay {
    /* min-width: 300px; */
    width: 100%;
    padding: 3px;
    height: 80vmin;
    transition: 1s;
    background: transparent linear-gradient(180deg, #F19F90 0%, #745A54 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
}

.sidebar-huay .btn {
    margin-bottom: -5px;
}

.sidebar-huay .title-huay {
    color: var(--text-on-bg-dark-color);
    font-family: inherit;
    /* background: #790000; */
    height: 25px;
    line-height: 1;
    width: 100%;
    padding-left: 5px;
    border-bottom: #333 1px dashed;
}

.sidebar-huay .title-huay i {
    font-size: 1.3rem;
}

.sidebar-huay .list-huay {
    overflow-y: scroll;
    overflow-x: hidden;
    color: black;
    height: 100vmin;
    background-color: white;
    border-radius: 5px;
}

.sidebar-huay .list-huay ol.num-huay {
    list-style: none;
    counter-reset: number;
    border-radius: 5px;
    overflow: hidden;
}

ol.num-huay li {
    counter-increment: number;
}

ol.num-huay li::before {
    content: counter(number) ". ";
    font-weight: bold;
    width: 1.2em;
    text-align: left;
    display: inline-block;
    margin-right: 10px;
    color: #555;
    padding-left: 3px;
    font-size: 80%;
    align-self: center;
}

ol.num-huay li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.07);
}

.list-huay::-webkit-scrollbar {
    width: 8px;
    background: transparent;
    margin-left: 3px;
}

.list-huay::-webkit-scrollbar-track {
    border-radius: 6px;
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.list-huay::-webkit-scrollbar-thumb {
    border-radius: 6px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);

    background: #c72d3c;
}

.num-pad {
    width: 100%;
}

.num-pad h4 {
    font-family: inherit;
    color: var(--text-title-color);
}

.label-number {
    text-align: center;
    width: 100%;
}

label.number {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px 5px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    border: solid 1px #000;
    color: black;
    border-radius: 2px;
    position: relative;
    vertical-align: middle;
    background-color: white;
}

label.number span {
    background: rgba(152, 59, 59, 0.8);
    width: 2px;
    height: 70%;
    position: absolute;
    top: 15%;
    left: 50%;
    animation-name: blink;
    animation-duration: 800ms;
    animation-iteration-count: infinite;
    opacity: 1;
}

.key-pad>.row>.col-3 {
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 4px;
}

.key-pad>.row>.col-3 .btn {
    font-size: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.key-pad>.row>.col-3 .btn-blank {
    color: #fff;
    background-color: #ccc;
    background-image: none;
    border-color: #bbb;
    width: 100%;
    height: 100%;
}

.box__condition-info h3 {
    /* font-size: 18px; */
    font-size: 1.2rem;
    border-radius: 5px;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 100%) 0% 0% no-repeat padding-box;
    padding: 5px 10px;
    color: var(--text-on-bg-primary-color);
    font-weight: normal;
}

.box__condition-info h2 {
    font-family: inherit;
    color: #022223;
    border-bottom: black 1px solid;
    font-size: 1.3rem;
}

.box__condition-info {
    background: #C1C1C1 0% 0% no-repeat padding-box;
    border-radius: 5px;
    padding: 5px;
    line-height: 1.2;
}

.box__condition-info p {
    padding: 0 5px;
    margin-bottom: 0px;
    color: #022223;
}


.bet_num_count {
    font-size: 90%;
    text-align: center;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 500;
    text-shadow: #000 1px 1px 0px;
    color: #fff;
}

.g3-huay {
    width: auto !important;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media screen and (max-width: 992px) {
    .sidebar-huay {
        width: auto;
        /* min-width: 300px; */
        min-width: 20%;
        height: 100vmin;
    }
}

@media screen and (max-width: 768px) {


    .g3-huay {
        width: 100% !important;
    }

    .sidebar-tanghuay>.d-flex>.flex-fill {
        display: inline-flex;
        flex: 1 0 26% !important;
    }

    .sidebar-huay .title-huay {
        font-size: 1.2rem;
        height: 20px;
    }

    .sidebar-huay .title-huay i {
        font-size: 1.3rem !important;
    }

    .sidebar-huay {
        width: auto;
        min-width: 20%;
    }

    #show_poy_list {
        opacity: 1;
        width: 48%;
        transition: all 1s;
    }
}

@media screen and (max-width: 415px) {
    .sidebar-huay {
        width: auto;
        min-width: 80px;
        height: 100%;
    }

    .sidebar-huay .title-huay {
        font-size: 14px;
    }

    .sidebar-huay .title-huay i {
        font-size: 10px !important;
        display: none;
    }

    .num-huay {
        font-size: 14px;
    }

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        font-size: 14px;
        line-height: 1;
        height: 100%;
        word-break: break-all;
    }
}

@media screen and (max-width: 376px) {
    .btn-tanghuay {
        font-size: 10px;
    }

    .row .col-3 a.menu-grid,
    .row .col-md-1 a.menu-grid,
    .row .col-lg-1 a.menu-grid,
    .row .col-4 a.menu-grid {
        padding: 0px;
        padding-top: 10px;
        padding-bottom: 8px;
        width: 100%;
        font-size: 16px;
        min-width: 50px;
        line-height: 1.5;
    }

    .sidebar-huay {
        height: 80%;
    }

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        font-size: 16px;
        line-height: 1;
        height: 100%;
    }
}

@media screen and (max-width: 321px) {

    .key-pad>.row>.col-3 .btn-reset,
    .key-pad>.row>.col-3 .btn-cancel {
        /* font-size: 10px; */
        line-height: 1;
        height: 100%;
        /* word-break: break-all; */
    }

    .key-pad>.row>.col-3 .btn-reset span,
    .key-pad>.row>.col-3 .btn-cancel span {
        display: block;
    }

    .lotto-title>h4 {
        font-size: 18px;
    }

    ul.countdown {
        font-size: 18px !important;
    }

    .row-btn-tanghuay .btn div:first-child i {
        font-size: 14px;
        font-style: normal;
        height: 100%;
    }

    .row-btn-tanghuay .btn div:last-child {
        font-style: normal;
        text-align: center;
        width: 27%;
    }

    .row-btn-tanghuay .btn span {
        /* font-family: Arial, Helvetica, sans-serif; */
        /* font-weight: 400; */
        font-size: 10px;
    }

    .btn-tanghuay {
        font-size: 16px !important;
        padding-right: 2px !important;
    }

    .btn-panghuay {
        font-size: 16px !important;
        padding-right: 2px !important;
    }
}

label.number {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**********************************************/
.txt-24 {
    color: #07B507;
    animation: 3s linear infinite;
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
}

.txt-24-yk {
    color: #07B507;
    animation: text-flicker 3s linear infinite;
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

.txt-yk-page {
    color: #07B507;
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .txt-24 {
        justify-content: space-evenly;
    }
}

#offset {
    animation: 2s linear infinite;
}

@keyframes text-flicker {
    0% {
        opacity: 0.1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    2% {
        opacity: 1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    8% {
        opacity: 0.1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    9% {
        opacity: 1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    12% {
        opacity: 0.1;
        /*text-shadow: 0px 0px rgba(22, 242, 59, 1);*/
    }

    20% {
        opacity: 1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    25% {
        opacity: 0.3;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    30% {
        opacity: 1;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    70% {
        opacity: 0.7;
        /*text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);*/
    }

    72% {
        opacity: 0.2;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    77% {
        opacity: 0.9;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    100% {
        opacity: 0.9;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }
}

@keyframes border-flicker {
    0% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    2% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    4% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    8% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    70% {
        opacity: 0.7;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    100% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
}

@keyframes letter-flicker {
    0% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    2% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    4% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    19% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    21% {
        opacity: 0.1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    23% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    80% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    83% {
        opacity: 0.4;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }

    87% {
        opacity: 1;
        text-shadow: 0px 0px 29px rgba(22, 242, 59, 1);
    }
}

.js-odoo {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    fill: #fff;
    transform: scaleX(0.85);
}

span.js-odoo g {
    font-weight: 300;
    /* font-family: "Mitr", sans-serif; */
}

span.js-odoo g text {
    margin-right: 10px;
}

.js-odoo svg {
    transform: scaleX(0.85);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    /* padding-bottom: 56px; */
}

@media screen and (max-width: 992px) {
    .row-menu-grid {
        border-radius: 0px;
        margin-bottom: 50px;
    }

    .main-content {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .txt-box-news {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .txt-box-news .d-flex {
        margin-bottom: 8px;
        padding-bottom: 10px !important;
        border-bottom: #ccc dashed 1px;
    }

    .bar-powerball {
        display: block !important;
    }

    .bar-powerball-pc {
        display: none;
    }

    .ribbonbar .odometer {
        line-height: 1;
        margin-top: -20px;
        margin-left: -20px;
        margin-right: -20px;
        min-width: 50px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-view {
        display: flex !important;
        justify-content: center;
        align-items: center;

    }

    .mobile-viewx {
        display: block !important;
        justify-content: center;
        align-items: center;

    }

    .container-fluid {
        padding: 0px;
        height: auto;
        /* margin-bottom: 52px; */
        z-index: 1;
    }

    .row-menu-grid {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .main-content {
        border-radius: 0px;
        /* margin-bottom: 50px; */
    }

    .txt-box-news {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .txt-box-news .d-flex {
        margin-bottom: 8px;
        padding-bottom: 10px !important;
        border-bottom: #ccc dashed 1px;
    }

    .bubblechat {
        display: none;
    }

    ul.countdown {
        list-style: none;
        margin: 0px 0;
        padding: 0;
        display: flex;
        text-align: right;
        overflow: hidden;
        height: 25px;
    }

    ul.countdown li {
        display: inline-block;
    }

    ul.countdown li span {
        font-size: 25px;
        font-weight: 300;
        line-height: 25px;
    }

    ul.countdown li.seperator {
        font-size: 15px;
        line-height: 30px;
        vertical-align: middle;
    }

    ul.countdown li p {
        color: #a7abb1;
        font-size: 14px;
    }

    .lotto-head>h5 {
        font-weight: 400 !important;
        text-align: right;
        margin-bottom: 0px;
        font-size: 14px;
    }

    .ribbon-lotto {
        background: rgba(0, 0, 0, 0.3);
        height: 20px;
        width: auto;
        display: inline-block;
        position: absolute;
        color: #fff;
        line-height: 20px;
        padding: 0px 5px;
        margin-top: 5px;
        border-left: rgba(0, 0, 0, 0.3) 1px solid;
        font-size: 16px;
    }

    .ribbon-lotto i {
        font-size: 14px;
    }

    .ribbon-lotto:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 0;
        border: 10px solid rgba(0, 0, 0, 0.3);
        right: -10px;
        height: 20px;
        border-left-width: 0px;
        border-right-color: transparent;
        filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    }

    .lotto-close .ribbon-lotto:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 0;
        border: 10px solid rgba(0, 0, 0, 1);
        right: -10px;
        height: 20px;
        border-left-width: 0px;
        border-right-color: transparent;
        filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
    }

    .lotto-close .ribbon-lotto span.round {
        color: black;
        background: rgba(255, 255, 255, 0.5);
        padding: 0px 2px;
        padding-bottom: 2px;
    }

    .bg-option>.d-flex>.flex-fill {
        flex: 1 0 21% !important;
    }

    .bg-option .bg-btn button {
        padding: 5px;
    }

    .option2btn:active,
    .option2btn.active,
    .option2btn.focus {
        /*background: black !important;*/
        outline: #000 1px dashed !important;
        outline-offset: 1px !important;
    }

    .bar-powerball {
        display: block;
    }

    .bar-powerball-pc {
        display: none;
    }

    .btn-tanghuay {
        font-size: 1.1rem;
        /* padding-right: 4px; */
    }

    .btn-panghuay {
        font-size: 1.2rem;
        padding-right: 4px;
    }
}

/********* end member ********/

/*************page loading *****************/
#app {
    position: relative;
    opacity: 1;
    transition: all 0.3s;
    min-height: 90vh;
}

#loading {
    background: url("../images/loading-dots.gif") no-repeat center center rgba(0, 0, 0, 0.5);
    background-size: 100px;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 9999;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/******************bank***********************/
.icon-bank {
    padding: 10px 40px;
    border-radius: 5px;
    width: 100%;
}

img.icon-bank {
    width: 100%;
    height: auto;
    min-height: 50px;
    min-width: 50px;
}

.icon-kbank {
    background: #138f2d;
}

.icon-scb {
    background: #4e2e7f;
}

.icon-ktb {
    background: #1ba5e1;
}

.icon-bbl {
    background: #1e4598;
}

.icon-bay {
    background: #fec43b;
}

.icon-cimb {
    background: #7e2f36;
}

.icon-ibank {
    background: #184615;
}

.icon-kk {
    background: #199cc5;
}

.icon-lhb {
    background: #373e48;
}

.icon-sc {
    background: #0f6ea1;
}

.icon-tbnk {
    background: #fc4f1f;
}

.icon-tisco {
    background: #12549f;
}

.icon-tmb {
    background: #1279be;
}

.icon-uob {
    background: #0b3979;
}

/* #firsttime label::before, #secondtime label::before{
    content:"\f22d";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    margin-right: 5px;
} */

.input-hidden {
    position: absolute;
    left: -9999px;
}

input[type="radio"]:checked+label>img {
    border: 1px solid #fff;
    box-shadow: 0 0 3px 3px #090;
}

input[type="radio"]:checked+label {
    background: #090;
    color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

input[type="radio"]+label {
    margin-bottom: 15px !important;
}

input[type="radio"]+label>span {
    font-weight: normal;
    text-align: center;
    margin: 0 5px;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s;
}

input[type="radio"]+label>span.badge {
    margin: 0 5px 5px 5px;
}

input[type="radio"]:checked+label>span.badge {
    margin: 0 5px 5px 5px;
}

input[type="radio"]:checked+label>span {
    margin: 0 5px;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
    transition: all 0.3s;
}

input[type="radio"]:checked+label::after {
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -20px;
    margin-left: -5px;
    color: green;
    background: white;
    padding: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 16px;
    border: #090 2px solid;
    text-align: center;
}

input[type="radio"]+label::before {
    content: "";
    display: none;
}

/* Stuff after this is only to make things more pretty */
input[type="radio"]+label>img {
    border: 1px solid #444;
    width: 100%;
    transition: 500ms all;
}

input[type="radio"]:checked+label>img {
    transform: none;
    /* rotateZ(-10deg)
      rotateX(10deg); */
}

.detail-bank {
    padding: 10px 10px;
}

@media screen and (max-width: 768px) {
    .icon-bank {
        padding: 5px 20px;
    }

    .detail-bank {
        padding: 5px 5px;
    }

    input[type="radio"]+label {
        font-size: 85%;
    }

    input[type="radio"]+label>span.badge {
        margin: 0 3px 2px 3px;
    }

    input[type="radio"]:checked+label>span.badge {
        margin: 0 3px 2px 3px;
    }

    input[type="radio"]+label>span {
        margin: 0 3px 2px 3px;
    }

    input[type="radio"]:checked+label>span {
        margin: 0 3px 2px 3px;
    }
}

.fromacc::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #b8daff;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: 80px;
    color: #212529;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    right: -15px;
    z-index: 10;
    color: lightseagreen;
}

.dataTables_wrapper.form-inline {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dataTables_wrapper {
    padding: 10px;
}

.dataTables_wrapper>.row {
    width: 100%;
}

.dataTables_wrapper>.row>.col-sm-12 {
    padding: 0 5px;
}

.dataTables_length label {
    display: inline-block;
    margin-bottom: 5px;
    width: auto;
}

.dataTables_length label span {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    font-size: 90%;
}

.dataTables_filter label {
    display: inline-block;
    margin-bottom: 5px;
    width: auto;
}

.datatable th.datetime {
    width: 25%;
    text-align: center;
}

.datatable th.datetime span {
    display: inline-block;
}

.datatable th.option {
    width: 8%;
    text-align: center;
}

.datatable th.totalbet {
    width: 15%;
    text-align: center;
}

.datatable th.totalbet span {
    display: inline-block;
}

.datatable th,
.datatable td {
    vertical-align: middle !important;
}

.datatable th:first-child,
.datatable td:first-child {
    padding-left: 10px;
}

.dataTables_paginate .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

@media screen and (max-width: 768px) {
    .fromacc::after {
        content: "";
        /* display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center; */

        width: 0;
        height: 0;
        border-right: 30px solid transparent;
        border-top: 30px solid #b8daff;
        border-left: 30px solid transparent;

        display: block;
        text-align: center;
        position: relative;
        font-size: 80px;
        color: #212529;
        top: 0;
        left: 50%;
        bottom: 0;
        margin-top: -16px;
        right: 0;
        margin-left: -35px;

        z-index: 10;
        color: lightseagreen;
        margin-bottom: 0px !important;
    }

    .toacc {
        margin-top: -40px;
    }

    .datatable th,
    .datatable td,
    .datatable .btn i {
        font-size: 16px;
    }

    .datatable .btn {
        padding: 0px 5px;
    }

    .dataTables_filter label input {
        width: 100% !important;
    }

    .dataTables_filter label {
        padding-right: 5px !important;
    }

    .dataTables_length {
        text-align: left !important;
    }

    .dataTables_length label {
        padding-left: 5px !important;
        vertical-align: middle;
    }

    .dataTables_wrapper {
        padding: 0px;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin: 2px 0;
        white-space: nowrap;
        justify-content: center;
    }

    .datatable th.datetime {
        width: 33%;
    }

    .datatable th.option {
        width: 10%;
    }

    .datatable th.totalbet {
        width: 25%;
    }
}

ol.list-numsets {
    list-style: none;
    counter-reset: my-awesome-counter;
}

ol.list-numsets li {
    counter-increment: my-awesome-counter;
    position: relative;
}

ol.list-numsets li::before {
    position: absolute;
    content: counter(my-awesome-counter) ". ";
    background: #d6d8db;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
    margin-left: -60px;
    min-width: 50px;
    text-align: center;
}

/************ add bank status **************/
.addbankstatus {
    width: 100%;
    display: block;
    margin: 10px 0;
}

.addbankstatus .status {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5px 0px;
    min-width: 140px;
}

.addbankstatus .status small {
    color: black;
    font-weight: bold;
}

.addbankstatus .status.wait {
    background: #1ba5e1;
    color: white;
}

.addbankstatus .status.confirm {
    background: #28a745;
    color: white;
}

.addbankstatus .status.cancel {
    background: #dc3545;
    color: white;
}

/*******************poyyyyyyyyyyyyyyyy*******************/
.btn-poy {
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: all 0.5s;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 99%;
    margin-top: 2px;
}

.btn-poy.active,
.btn-poy:hover {
    border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-top: rgba(255, 255, 255, 0.5) 5px solid !important;
    transform: all 0.5s;
}

.btn-poy span {
    display: inline-block;
    line-height: 1.2;
}

.btn-poy div {
    height: 100%;
    text-align: left;
}

.btn-poy i {
    font-size: 120%;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    margin-top: -8px;
}

@media screen and (max-width: 992px) {
    .btn-poy {
        font-size: 75%;
        line-height: 1.2;
        vertical-align: middle;
    }

    .btn-poy span {
        display: block;
    }

    .btn-poy i {
        font-size: 180%;
        margin-right: 5px;
        vertical-align: middle;
        display: inline-block;
    }
}

@media screen and (max-width: 320px) {
    .btn-poy i {
        display: none;
    }
}

.poy-content {
    height: 0px;
    width: 100%;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    transition: all 0s;
}

.poy-content.active {
    max-height: 100%;
    display: block;
    position: relative;
    padding: 10px !important;
    z-index: 1 !important;
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: all 0.5s;
}

.poy-list {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    border: #111 1px solid;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 2.5px;
    margin-right: 2.5px;
}

.poy-list {
    width: 32.6% !important;
}

@media screen and (max-width: 1199.98px) {
    .poy-list {
        width: 49% !important;
    }
}

@media screen and (max-width: 991.98px) {
    .poy-list {
        width: 48.8% !important;
    }
}

@media screen and (max-width: 767.98px) {
    .poy-list {
        width: 99% !important;
    }
}

.poy-list-content {
    background: white;
    padding: 5px 10px;
    color: #6c757d;
}

.poy-list-content .row .col .ribbon-lotto i {
    font-size: 14px !important;
}

.poy-list-content .row .col .ribbon-lotto {
    background: rgba(0, 0, 0, 0.3);
    height: 20px;
    width: auto;
    display: inline-block;
    position: absolute;
    color: #fff;
    line-height: 20px;
    padding: 0px 5px;
    margin-top: 5px;
    border-left: rgba(0, 0, 0, 0.3) 1px solid;
    font-size: 16px;
}

.poy-list-content .row .col .ribbon-lotto:after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    border: 10px solid rgba(0, 0, 0, 0.3);
    right: -10px;
    height: 20px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}

.poy-list-head {
    width: 100%;
    min-height: 30px;
    line-height: 1;
    border-bottom: #111 1px solid;
    padding: 6px 10px 0px 10px;
    vertical-align: middle;
    background: #fff;
    overflow: hidden;
}

.poy-government small,
.poy-thaistock small,
.poy-foreignstock small,
.poy-yeekee small {
    font-weight: normal !important;
}

.poy-type {
    font-weight: lighter;
    padding: 5px;
    border-radius: 3px;
    line-height: 1.2;
    text-align: right;
    background: #eee;
    color: #000;
}

.poy-type h3 {
    line-height: 1;
    margin-bottom: 0;
}

.number-win {
    color: cadetblue;
    font-size: 170%;
    line-height: 1;
}

.poy-government {
    background: #17a2b8;
}

.poy-thaistock {
    background: #007bff;
}

.poy-foreignstock {
    background: #6610f2;
}

.poy-yeekee {
    background: #dc3545;
}

.poy-list-head .poy-status {
    display: block;
    float: right;
    margin-top: -6px;
    margin-right: -10px;
    width: auto;
    min-height: 30px;
    /* box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 4px solid rgba(255, 255, 255, 0.5); */
    color: #000;
    font-size: 80%;
    /* padding-top: 12px; */
    padding-top: 8px;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}

/* .poy-status::before{
    content: "Status";
    font-size: 50% !important;
    line-height: 1;
    display: block;
    position: relative;
    margin-top: -9px;
    color: rgba(0, 0, 0, 0.4);
    border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
} */
.poy-list-head .poy-status.notyet {
    background: #ffc107;
}

.poy-list-head .poy-status.success {
    background: #3ac028;
    color: white;
}

.poy-list-head .poy-status.win {
    background: #3ac028;
    color: white;
}

.poy-list-head .poy-status.lost {
    background: #dc3545;
    color: white;
}

.poy-list-head .poy-status.close {
    background: #b3b1b1;
    color: black;
}

/*******************accordion********************/
.accordion .card {
    margin: 5px 0 0;
}

.accordion .card-header {
    font-family: inherit;
    font-weight: normal;
    color: #111;
    background: #fff;
    outline: 0;
    cursor: pointer;
    padding: 0;
}

.accordion .card-header h4 {
    font-family: inherit;
}

.accordion .card-header:hover {
    background: #eee;
}

.accordion .card-body {
    position: relative;
    margin: 0 0 0;
    padding: 10px;
    color: #fff;
    background: #333;
}

.accordion .card-body a {
    color: lightcoral;
}

.accordion .card-body:after {
    position: absolute;
    top: -14px;
    left: 25px;
    display: block;
    width: 0;
    height: 0;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
    content: "";
}

/************* tab ***************/
#menucredit .nav-tabs {
    border-bottom: 1px solid white;
}

#menucredit .nav-link {
    color: #000;
    background: #dee2e6;
    border: white 1px solid;
}

#menucredit .nav-link.active {
    color: var(--text-on-bg-primary-color);
    background: var(--bg-primary-color);
    border: var(--border-primary-color) 1px solid;
}

/*****************profile setting***************/

.button-upload-file {
    overflow: hidden;
    position: relative;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.button-upload-file input {
    width: 2000px;
    height: 2000px;
    display: block;
    position: absolute;
    top: -100%;
    left: -100%;
}

.button-upload-file .preview {
    position: relative;
    z-index: 2;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 80px;
    height: 80px;
    display: block;
    overflow: hidden;
}

.button-upload-file img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.button-upload-file .icon {
    height: 32px;
    width: 32px;
    background: #3b5898;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    right: 0px;
    text-align: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    padding: 5px 0px 0px 1px;
}

.button-upload-file .icon i {
    color: #fff;
}

.profilesetting .col-12 {
    margin-bottom: 10px;
}

/***************** btn-af ***************/

.btn-af i {
    font-size: 150%;
    line-height: 1;
}

.btn-af {
    padding-left: 0px;
    padding-right: 0px;
    background: white;
    border-radius: 0.25rem;
}

@media screen and (max-width: 321px) {
    .btn-af {
        font-size: 90%;
    }
}

/********** btn-hand ***************/
.btn-hand {
    padding: 5px 25px;
}

.text-user {
    width: 100%;
    word-wrap: none;
    padding: 0 2px;
}

@media screen and (max-width: 321px) {
    .btn-hand {
        font-size: 80%;
        padding: 5px 20px;
        padding-bottom: 0px;
    }

    .text-user {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 60px;
        font-size: 80%;
        padding: 0 2px;
    }
}

#contentbox {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.box-list-jackpot {
    width: 100%;
    height: 140px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}

.btn-line {
    background: url(../images/line-contact-icon-white.png) center center no-repeat;
    background-size: cover;
    height: 32px;
    width: 32px;
    line-height: 0;
    border-radius: 5px;
    vertical-align: middle;
    margin-top: 3px;
    margin-left: 5px;
    margin-right: 5px;
}

/***********************************/

.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(0, 123, 255, 0.25);
}

.box__keyboard .btn-outline-primary.active,
.box__keyboard .btn-outline-primary:active {
    color: #fff;
    background-color: #b27f31;
    border-color: #b27f31;
    text-decoration: none !important;
}

.btn-outline-primary:hover {
    color: #007bff;
    background-color: unset;
    border-color: #007bff;
    text-decoration: none !important;
}

.btn-outline-primary-jubwin {
    color: #b27f31;
    background-color: unset;
    border-color: #b27f31;
    text-decoration: none !important;
}

.mobileHoverFix:hover,
.mobileHoverFix.hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/************************************/

.spinner {
    margin: 0 auto;
    margin-top: 100px;
    width: 100px;
    height: 100px;
    text-align: center;
    font-size: 10px;
    z-index: 88;
}

.spinner>div {
    background-color: #a0171d;
    height: 100%;
    width: 10px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
    margin-left: 4px;
}

.spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
    margin-left: 4px;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
    margin-left: 4px;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
    margin-left: 4px;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

/***************************/
small.smallspan {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 575px) {
    small.smallspan {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    small.smallspan span:first-child {
        margin-right: 5px;
    }
}

@media screen and (min-width: 1012px) {
    small.smallspan {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        margin-top: 3px;
    }

    small.smallspan span:first-child {
        margin-right: 5px;
    }
}

.txt-app span {
    display: inline-block;
}

.btn-app {
    width: 100%;
    max-width: 200px;
}

.img-app {
    width: 100%;
    max-width: 600px;
}

.bt-room input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

.bt-room label {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    background-color: #454545;
    color: white;
    /* padding: 5px 10px; */
    padding: 5px 5px;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 0px !important;
}

.bt-room input[type="radio"]+.bt-room label {
    margin-bottom: 0px !important;
    display: inline-block;
}

.bt-room input[type="radio"]:checked+label.bt-diamond span,
.bt-room input[type="radio"]:checked+label.bt-platinum span,
.bt-room input[type="radio"]:checked+label.bt-vip span {
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-diamond span.badge,
.bt-room input[type="radio"]:checked+label.bt-platinum span.badge,
.bt-room input[type="radio"]:checked+label.bt-vip span.badge {
    text-align: center;
}

.bt-room input[type="radio"]:checked+label.bt-diamond {
    background: url(../images/diamond-bg.gif) center center;
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-platinum {
    background: url(../images/diamond-bg.gif) top center;
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-vip {
    background-color: #790000;
    text-align: right;
}

.bt-room input[type="radio"]:checked+label.bt-vip::after,
.bt-room input[type="radio"]:checked+label.bt-diamond::after,
.bt-room input[type="radio"]:checked+label.bt-platinum::after {
    content: "";
    border: none;
    background: none;
}

.bt-room input[type="radio"]:checked+label.bt-vip::before {
    content: "\f587";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #c70039;
    background: white;
    padding: 1px;
    padding-left: 2px;
    padding-top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #c70039 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}

.bt-room input[type="radio"]:checked+label.bt-diamond::before {
    content: "\f3a5";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #006ee3;
    background: white;
    padding: 1px;
    padding-top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #006ee3 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}

.bt-room input[type="radio"]:checked+label.bt-platinum::before {
    content: "\f6cf";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: -15px;
    margin-left: 0px;
    color: #a000dc;
    background: white;
    padding: 1px;
    padding-top: 2px;
    padding-left: 2.5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 14px;
    border: #a000dc 2px solid;
    /* text-align: center; */
    /* text-align: right; */
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#accordionExample .card-header button.btn-link {
    color: darkred;
    white-space: normal;
    width: 100%;
    text-align: left;
}

#accordionExample.accordion .card-header:hover {
    background: darkred;
    color: #fff;
}

#accordionExample .card-header:hover button.btn-link {
    color: #fff;
}

.btn-contactbox {
    width: 100%;
    text-align: center;
    max-height: 100px;
}

.btn-contactbox i {
    font-size: 50px;
}

.btn-contactbox span {
    display: block;
}

.dd-box {
    /* width:256px; */
    width: auto;
    height: auto;
}

.dd-gold {
    /* font: bold 16px/36px sans-serif; */
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    /* color:#3c2e09; */
    color: lightgoldenrodyellow;
    text-shadow: 0 1px #000;
    /* text-shadow:0 1px #fe98; */
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #ffa3;
    background: radial-gradient(ellipse farthest-corner at right bottom,
            #fedb37 0%,
            #fdb931 8%,
            #9f7928 30%,
            #8a6e2f 40%,
            transparent 80%),
        radial-gradient(ellipse farthest-corner at left top,
            #ffffff 0%,
            #ffffac 8%,
            #d1b464 25%,
            #5d4a1f 62.5%,
            #5d4a1f 100%);
    box-shadow: 0 0 0 1px #0003, 0 2px 2px #0003;
}

.dd-box .badge {
    text-shadow: #000 1px 1px 0px;
    background: #6a2e04;
    color: lightgoldenrodyellow;
    font-size: 100%;
    border: yellow 2px dotted;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.dd-box img {
    height: 30px;
    margin-bottom: 5px;
}

.dd-box b {
    display: inline;
    color: orange;
    text-shadow: block 1px 1px 0px;
}

@media screen and (max-width: 766px) {
    .dd-gold {
        line-height: 24px;
        padding-top: 5px;
    }
}

h1.circular {
    -webkit-text-stroke: 1px black;
    color: white;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
        -1px 1px 0 #000, 1px 1px 0 #000;
}

.imgCnt {
    position: relative;
    width: 40px;
    top: -16px;
}

.imgtop,
.imgbelow {
    position: absolute;
}

.imgtop {
    z-index: 1;
}

.imgbelow {
    z-index: 0;
}

.dd-box {
    /* width:256px; */
    width: auto;
    height: auto;
}

.dd-gold {
    /* font: bold 16px/36px sans-serif; */
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    /* color:#3c2e09; */
    color: lightgoldenrodyellow;
    text-shadow: 0 1px #000;
    /* text-shadow:0 1px #fe98; */
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #ffa3;
    background: radial-gradient(ellipse farthest-corner at right bottom,
            #fedb37 0%,
            #fdb931 8%,
            #9f7928 30%,
            #8a6e2f 40%,
            transparent 80%),
        radial-gradient(ellipse farthest-corner at left top,
            #ffffff 0%,
            #ffffac 8%,
            #d1b464 25%,
            #5d4a1f 62.5%,
            #5d4a1f 100%);
    box-shadow: 0 0 0 1px #0003, 0 2px 2px #0003;
}

.dd-box .badge {
    text-shadow: #000 1px 1px 0px;
    background: #6a2e04;
    color: lightgoldenrodyellow;
    font-size: 100%;
    border: yellow 2px dotted;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.dd-box img {
    height: 30px;
    margin-bottom: 5px;
}

.dd-box b {
    display: inline;
    color: orange;
    text-shadow: block 1px 1px 0px;
}

@media screen and (max-width: 766px) {
    .dd-gold {
        line-height: 24px;
        padding-top: 5px;
    }
}

.recommendnumber {
    display: block;
    text-align: center;
    font-size: 1.5em;
    margin: 5px auto;
    padding: 10px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border: 2px gray solid;
    height: auto;
    background-color: #e74c3c;
    position: relative;
    -webkit-animation-name: example;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    line-height: 1.2;
}

.recommendnumber span,
.recommendnumber small {
    display: inline-flex;
}

.recommendnumber:hover {
    border-color: crimson;
}

a.recomnum {
    text-decoration: none !important;
}

.returnbtn {
    display: block;
    text-align: center;
    font-size: 1.5em;
    margin: 5px auto;
    padding: 10px;
    width: 100%;
    text-decoration: none;
    border: 2px black solid;
    background: gray;
    color: white;
    line-height: 1.2;
    border-radius: 5px;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
    0% {
        background-color: #c0392b;
    }

    25% {
        background-color: #f1c40f;
    }

    50% {
        background-color: #5dade2;
    }

    75% {
        background-color: #27ae60;
    }

    100% {
        background-color: #c0392b;
    }
}

/* Standard syntax */
@keyframes example {
    0% {
        background-color: #c0392b;
    }

    25% {
        background-color: #f1c40f;
    }

    50% {
        background-color: #5dade2;
    }

    75% {
        background-color: #27ae60;
    }

    100% {
        background-color: #c0392b;
    }
}

/************ button recom ***************/
.tab-recom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-recom {
    text-align: center;
    color: white;
    margin: 2px;
    flex: 0 0 48%;
    max-width: 50%;
    position: relative;
}

.btn-recom a {
    color: white;
}

.twonum {
    border: #006ee3 2px solid;
    background: #3498db;
}

.twonum.active {
    background: #0d41ff !important;
    border: white 2px dashed !important;
}

.threenum {
    border: #c0392b 2px solid;
    background: #ec7063;
}

.threenum.active {
    background: #c0392b !important;
    border: white 2px dashed !important;
}

.livebtn {
    display: block;
    text-align: center;
    font-size: 1em;
    margin: 0px auto;
    padding: 5px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border: 1px #555 solid;
    height: auto;
    background-color: #e74c3c;
    position: relative;
    -webkit-animation-name: examplez;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1s;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    /* Safari 4.0 - 8.0 */
    animation-name: examplez;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    line-height: 1;
    text-decoration: none;
}

.livebtn small {
    display: flex;
    justify-content: center;
    align-items: center;
    color: lightgoldenrodyellow;
}

.livebtn i {
    font-size: 0.9em;
    vertical-align: top;
}

.livebtn span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: lightgoldenrodyellow;
}

.livebtn:hover {
    border-color: crimson;
    text-decoration: none !important;
}

a:hover .livebtn {
    text-decoration: none !important;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes examplez {
    0% {
        background-color: #c0392b;
    }

    50% {
        background-color: #641e16;
    }

    100% {
        background-color: #c0392b;
    }
}

/* Standard syntax */
@keyframes examplez {
    0% {
        background-color: #c0392b;
    }

    50% {
        background-color: #641e16;
    }

    100% {
        background-color: #c0392b;
    }
}

.lotto-head.lotto-vn-vip {
    background-color: rgb(150, 99, 196);
    border: rgb(109, 40, 170) 1px solid;
}

.lotto-head.lotto-vn-vip2 {
    background-color: rgb(61, 88, 196);
    border: rgb(38, 0, 232) 1px solid;
}

/* ****************************** */
.btn-outline-danger:not(:disabled):not(.disabled).active {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-outline-danger {
    color: #dc3545 !important;
    background-color: white !important;
    background-image: none;
    border-color: #dc3545 !important;
    word-wrap: break-word;
    overflow: hidden;
}

@media screen and (max-width: 320px) {
    .btn-af.btn-outline-danger {
        font-size: 80%;
    }
}

.btn-outline-danger:hover {
    color: white !important;
    background-color: #dc3545 !important;
    background-image: none;
    border-color: #dc3545 !important;
}

.page-link:hover {
    z-index: 2;
    color: #dca235;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link {
    z-index: 2;
    color: #333;
    text-decoration: none;
}

.btn-rood {
    padding: 5px;
    border-radius: 0;
    border-right: 0;
    width: 100%;
}

.btn-group-toggle:last-child>.btn-rood {
    border-right: solid 1px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.btn-group-toggle:first-child>.btn-rood {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.txt-num {
    /* font-family: "Mitr", cursive; */
}

.btn-group-toggle>.btn-outline-danger.focus,
.btn-group-toggle>.btn-outline-danger:hover {
    background: none !important;
    color: var(--text-primary-color) !important;
}

.btn-group-toggle>.btn-outline-danger.focus.active,
.btn-group-toggle>.btn-outline-danger.active {
    color: white !important;
    background: var(--bg-primary-color) !important;
}

.btn-closenum {
    /* border: #dc3545 1px solid;
    color: #dc3545; */
    border: #5a5959 1px solid;
    color: #5a5959;
    font-weight: bold;
}

.btn-group-toggle>.btn-closenum.focus,
.btn-group-toggle>.btn-closenum:hover {
    background: none !important;
    /* color: #dc3545 !important; */
    color: #383737 !important;
}

.btn-group-toggle>.btn-closenum.focus.active,
.btn-group-toggle>.btn-closenum.active {
    color: white !important;
    /* background: #dc3545 !important; */
    background: #383737 !important;
}

.btn-limitnum {
    border: #ffcc00 1px solid;
    color: #ffcc00;
    font-weight: bold;
}

.btn-group-toggle>.btn-limitnum.focus,
.btn-group-toggle>.btn-limitnum:hover {
    background: none !important;
    color: #ffcc00 !important;
}

.btn-group-toggle>.btn-limitnum.focus.active,
.btn-group-toggle>.btn-limitnum.active {
    color: white !important;
    background: #ffcc00 !important;
}

.btn-group-toggle>.btn-outline-secondary.focus,
.btn-group-toggle>.btn-outline-secondary:hover {
    background: none !important;
    color: #6c757d !important;
}

.btn-group-toggle>.btn-outline-secondary.focus.active,
.btn-group-toggle>.btn-outline-secondary.active {
    color: white !important;
    background: #6c757d !important;
}
#nav-tab1.nav-pills .nav-link.active {
  color: var(--text-on-bg-primary-color);
  text-shadow: var(--border-primary-color) 1px 1px 0;
  background: var(--bg-primary-color);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  padding: 20px 0 !important;
  border-bottom-width: 8px;
}

#nav-tab1.nav-pills .nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--border-primary-color) 1px solid;
  background: var(--bg-primary-select-color);
  border-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--text-on-bg-primary-color);
}
#samtua {
    position: relative;
}

/* #ninetybtn,#roodfrontbtn,#roodbackbtn{
    margin-left: -8px;
}
@media screen and (max-width:767.98px){
    #ninetybtn,#roodfrontbtn,#roodbackbtn{
        margin-left: 0px;
    }
} */
.overlay-disable {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.5;
    z-index: 10;
}

/* animated button */

.animated-button1 {
    background: linear-gradient(-30deg, #3d0b0b 50%, #2b0808 50%);
    padding: 8px 15px;
    margin: 5px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #f7d4d4;
    font-size: 16px;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.animated-button1::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad8585;
    opacity: 0;
    -webkit-transition: 0.2s opacity ease-in-out;
    transition: 0.2s opacity ease-in-out;
}

.animated-button1:hover::before {
    opacity: 0.2;
}

.animated-button1 span {
    position: absolute;
}

.animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear,
            right top,
            left top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear,
            left bottom,
            left top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear,
            left top,
            right top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

.animated-button1::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad8585;
    opacity: 0;
    -webkit-transition: 0.2s opacity ease-in-out;
    transition: 0.2s opacity ease-in-out;
}

.animated-button1:hover::before {
    opacity: 0.2;
}

.animated-button1 span {
    position: absolute;
}

.animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear,
            right top,
            left top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear,
            left bottom,
            left top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear,
            left top,
            right top,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(rgba(43, 8, 8, 0)),
            to(#d92626));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

.animated-button1 {
    margin-top: -10px;
    width: 100%;
}

.animated-button1:hover {
    text-decoration: none;
    color: gold;
}

.topbox {
    border: 1px #333 solid;
    /* border-radius: 5px; */
    display: block;
    margin-top: 0px;
    padding: 8px 0;
    background: #343a40;
    /* color: lightgoldenrodyellow; */
    line-height: 1.2;
}

.marqueemain {
    background-color: #fff;
    border: #555 1px solid;
    padding: 5px 10px;
    margin-bottom: 0px;
}

/********************upload file*****************/
.file-upload {
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: #fff;
    background: rgb(31, 119, 178);
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid rgb(21, 96, 130);
    transition: all 0.2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.file-upload-btn:hover {
    background: rgb(24, 137, 212);
    color: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-upload-btn:active {
    border: 0;
    transition: all 0.2s ease;
}

.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    margin-top: 20px;
    border: 2px dashed rgb(31, 82, 178);
    position: relative;
}

.image-dropping,
.image-upload-wrap:hover {
    background-color: rgb(64, 142, 216);
    border: 2px dashed #ffffff;
}

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

.drag-text h3 {
    font-weight: 100;
    text-transform: uppercase;
    color: rgb(5, 37, 95);
    padding: 60px 0;
}

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all 0.2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.remove-image:hover {
    background: #c13b2a;
    color: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.remove-image:active {
    border: 0;
    transition: all 0.2s ease;
}

/********************** carousel slide ****************/
.carousel-view>.bg-danger {
    background-color: #d59929 !important;
    color: white !important;
}

.carousel-inner {
    height: auto;
    width: 100%;
}

/* Count nav-pills */
.nav-slide {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide {
    width: 100%;
    counter-reset: number;
}

.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

#nav1.nav-slide>li>span:before {
    content: counter(number);
    counter-increment: none;
    display: inline-block;
    visibility: hidden;
}

#nav1.nav-slide>li>.flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.card-theme-header .flag-icon {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
    float: left;
    margin-left: 5px !important;
    margin-top: 3px !important;
}

.nav-slide .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #976f02;
    -moz-box-shadow: inset 0px 0px 0px 2px #976f02;
    box-shadow: inset 0px 0px 0px 2px #976f02;
}

.nav-slide li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto !important;
    min-width: 30px;
    height: auto !important;
    padding: 5px;
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 3px;
    text-indent: 0px !important;
    cursor: pointer;
}

.nav-slide-yeekee {
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.nav-slide-yeekee {
    width: 100%;
    counter-reset: number;
}

.nav-slide-yeekee>li>span:before {
    content: counter(number);
    counter-increment: number;
    display: inline-block;
}

.nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #976f02;
    -moz-box-shadow: inset 0px 0px 0px 2px #976f02;
    box-shadow: inset 0px 0px 0px 2px #976f02;
    font-weight: bold;
}

/************************/
.nav-slide li,
.nav-slide-yeekee li {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 16px !important;
    color: black !important;
    text-shadow: #fff 1px 1px 0px;
}

/************************/
.border-active .nav-slide .active,
.border-active .nav-slide-yeekee .active {
    background-color: #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #d59929;
    -moz-box-shadow: inset 0px 0px 0px 2px #d59929;
    box-shadow: inset 0px 0px 0px 2px #d59929;
}

.border-active .nav-slide li,
.border-active .nav-slide-yeekee li {
    color: white !important;
    text-shadow: black 1px 1px 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

.border-active .nav-slide li.active,
.border-active .nav-slide-yeekee li.active {
    color: #444 !important;
    text-shadow: #fff 1px 1px 0px;
    background-color: #fff;
}

/*************************/

.carousel-view ol {
    margin-top: 0;
    margin-bottom: 0rem;
}

.carousel-view {
    display: none;
    margin-bottom: 0rem;
    position: relative;
}

@media screen and (max-width: 768px) {
    .carousel-view {
        display: block;
    }

    .pc-view {
        display: none !important;
    }

    .nav-slide li {
        position: relative;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        /* display: inline-block; */
        /* width: 24% !important; */
        /* width: 32.4% !important; */
        width: 47.5% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        text-indent: 0px !important;
    }

    .nav-slide {
        position: relative;
        flex-wrap: wrap;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide-yeekee li {
        position: relative;
        -ms-flex: none;
        flex: none;
        /* display: inline-block; */
        width: 11.3% !important;
        height: auto !important;
        padding: 3px 0;
        text-align: center;
        vertical-align: top;
        margin-right: 1.5px;
        margin-left: 1.5px;
        margin-bottom: 3px;
        text-indent: 0px;
    }

    .nav-slide-yeekee {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        /* display: inline-block; */
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        list-style: none;
    }

    .nav-slide li,
    .nav-slide-yeekee li {
        cursor: pointer;
        background-color: rgba(78, 45, 128, 0.5);
        color: var(--text-primary-color);
        font-size: 14px;
        font-weight: 400;
        text-shadow: none;
        border-radius: 2px;
    }
}

@media screen and (max-width: 321px) {
    .nav-slide li {
        width: 32% !important;
        font-size: 11.5px;
    }
}

/********************** end carousel slide ****************/

.text-danger {
    color: rgb(189, 132, 41) !important;
}

.text-danger {
    color: #dc3545 !important;
}

.border-danger {
    border-color: #f5bd70 !important;
}

.bgwhitealpha .card-header {
    font-weight: 400;
    font-size: 100%;
}

.bgwhitealpha h6.text-danger {
    color: #976f02 !important;
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 {
    /* color: #976f02; */
    margin: 5px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 110%;
}

.bgwhitealpha h6 span {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 14px;
}

.bgwhitealpha h6 span.badge-danger {
    background-color: #976f02;
}

.bgwhitealpha {
    /* background: rgba(179, 227, 236, 0.6); */
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border: rgba(255, 255, 255, 1) 2px solid;
}

.bgwhitealpha h6 span.flag-icon {
    font-size: 40px;
    margin-top: -15px;
    margin-left: -15px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 8px;
    max-width: 50px;
    background-size: cover;
    border: #555 1px solid;
    border-top-color: #ccc;
    border-left-color: #ccc;
}

.card-header span.flag-icon {
    font-size: 30px;
    top: -8px;
    left: -10px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 8px;
    max-width: 50px;
    background-size: cover;
    display: flex;
    border: #555 1px solid;
    border-top-color: #333;
    border-left-color: #333;
}

.disable-scroll {
    height: 100%;
    overflow: hidden;
    width: 100%;
    position: fixed;
}

.disable-dbl-tap-zoom {
    touch-action: manipulation;
}

.bg-grey {
    background: #eee;
}

.text-normal {
    white-space: normal;
}

.notice-content {
    display: block;
}

@media only screen and (min-width: 740px) {
    .notice-content {
        display: none;
    }
}

.notice-content-desktop {
    display: none;
}

@media only screen and (min-width: 740px) {
    .notice-content-desktop {
        display: block;
    }
}

.underline {
    text-decoration: underline;
}

.btn-cancle-last-add-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#section-content {
    margin-bottom: 60px;
}

a:hover {
    text-decoration: none;
}

.flex-wrap {
    flex-wrap: wrap;
}



.btn-theme-primary {
    color: var(--text-on-bg-primary-color);
    background-color: var(--bg-primary-color);
    border-color: var(--bg-primary-color);
}

.bg-gradient-theme-primary {
    background: linear-gradient(90deg, rgba(1, 111, 98, 1) 0%, rgba(2, 34, 35, 1) 100%);
    color: white;
    border-radius: 10px 10px 0px 0px;
}

.bg-gradient-theme-secondary {
    background: linear-gradient(90deg, rgba(68, 67, 71, 1) 0%, rgba(11, 13, 12, 1) 100%);
    border-radius: 0px 0px 10px 10px;
    ;
    color: white;
}

.btn-gradiant-yellow {
    background: linear-gradient(180deg, rgba(247, 206, 96, 1) 0%, rgba(188, 116, 5, 1) 100%) padding-box;
    color: white;
    width: 100%;
    font-size: 1.3rem !important;
    font-weight: bold;
}

.btn-gradiant-yellow-left {
    background: linear-gradient(180deg, rgba(247, 206, 96, 1) 0%, rgba(188, 116, 5, 1) 100%) padding-box;
    color: white;
    width: 100%;
    font-size: 1.3rem !important;
    font-weight: bold;
}

.btn-gradiant-login {
    color: white;
    width: 100%;
    font-size: 1.1rem !important;
    font-weight: bold;
    height: 100%;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 49%, #CF4146 100%) 0% 0% no-repeat padding-box;
}

.btn-gradiant-login-m {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 49%, #CF4146 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 5px 5px #00000029;
    color: white;
    width: 100%;
    font-size: 1.1rem !important;
    font-weight: bold;
    border-radius: 17px;
    border: 1px solid white;
}

.btn-gradiant-login-th {
    background: #C21328 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 5px 5px #00000029;
    color: white;
    width: 100%;
    font-size: 1.1rem !important;
    font-weight: bold;
    height: 100%;
}

.btn-gradiant-green-left {
    background: linear-gradient(90deg, rgba(1, 111, 98, 1) 0%, rgba(2, 34, 35, 1) 100%) padding-box;
    color: white;
    width: 100%;
    font-size: 1.3rem !important;
    font-weight: bold;
}


.btn-theme-primary:hover {
    color: var(--text-on-bg-primary-color);
    background-color: var(--border-primary-color);
    border-color: var(--border-primary-color);
}

.text-theme-primary {
    color: var(--text-title-color);
}

.text-theme-secondary {
    color: var(--text-sub-title-color);
}

.btn-group-toggle>.btn-theme-outline-primary.focus,
.btn-group-toggle>.btn-theme-outline-primary:hover {
    background: none !important;
    color: var(--bg-primary-color) !important;
}

.btn-group-toggle>.btn-theme-outline-primary.focus.active,
.btn-group-toggle>.btn-theme-outline-primary.active {
    color: var(--text-on-bg-primary-color) !important;
    background: var(--bg-primary-color) !important;
}

.btn-theme-outline-primary:not(:disabled):not(.disabled).active {
    color: var(--text-on-bg-primary-color) !important;
    background-color: var(--bg-primary-color) !important;
    border-color: var(--border-primary-color) !important;
}

.btn-theme-outline-primary {
    color: var(--bg-primary-color) !important;
    background-color: var(--text-on-bg-primary-color) !important;
    background-image: none;
    border-color: var(--bg-primary-color) !important;
    word-wrap: break-word;
    overflow: hidden;
}

@media screen and (max-width: 320px) {
    .btn-af.btn-theme-outline-primary {
        font-size: 80%;
    }
}

.btn-theme-outline-primary:hover {
    color: var(--text-on-bg-primary-color) !important;
    background-color: var(--bg-primary-color) !important;
    background-image: none;
    border-color: var(--border-primary-color) !important;
}

.bg-theme-dark {
    background-color: var(--bg-dark-color) !important;
    color: var(--text-on-bg-dark-color);
}

.badge-theme-primary {
    color: black;
    background: linear-gradient(180deg, rgba(247, 206, 96, 1) 0%, rgba(188, 116, 5, 1) 100%);
}

.badge-theme-primary[href]:hover,
.badge-theme-primary[href]:focus {
    color: var(--text-on-bg-primary-color);
    text-decoration: none;
    background-color: var(--border-primary-color);
}


/***** JACK CSS *****/

/* input
{
  font-size: 18px !important;
} */

.top-header-bar {
    background: url(../custom/top-header-bar.png) no-repeat;
    background-size: cover;
    height: 40px;
}

.header-bar {
    background-color: #001314;
    /*background: url(../custom/header-bar.png) no-repeat top center;*/
    background-size: cover;
}

.custom-bg {
    /*background-color: #03363A;*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background: url(https://cdn.javisx.com/image/43c47f76-2ea1-48ea-aaf6-98a603516513.jpg) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale')";
}

.handlemenu {
    position: absolute;
    will-change: transform;
    top: 0px;
    left: 0px;
    transform: translate3d(-98px, 30px, 0px);
}


@media screen and (max-width: 768px) {
    .custom-bg {
        background: url(https://cdn.javisx.com/image/fe849bf1-323f-4c86-af2e-996b0e76b173.jpg) no-repeat top center;
        background-size: cover;
    }

    .handlemenu {
        position: absolute;
        transform: translate3d(-143px, 30px, 0px);
        top: 0px;
        left: 0px;
        will-change: transform;
    }
}

.custombglogin .rule a {
    color: var(--link-text-color);
    text-decoration: underline;
    line-height: 30px;
}

.custombglogin .rule a:hover {
    color: var(--link-hover-text-color);
}

.custombglogin .rule {
    text-align: right;
}


.btn-login-white {
    background: white;
    color: #000;
    font-size: 1.1rem !important;
    font-weight: bold;
    height: 100%;
    align-items: center;
}

.btn-login-white-m {
    color: #E29E39;
    font-size: 1.1rem !important;
    font-weight: bold;
    border-radius: 22px;
    background: #F5F5F5 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 5px 5px #00000029;
    border: 2px solid #FFFFFF;
}

.btn-login-white-popup {
    color: #CE9C49;
    font-size: 1.1rem !important;
    font-weight: bold;
    border-radius: 22px;
    background: #F5F5F5 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 5px 5px #00000029;
    border: 2px solid #FFFFFF;
}

.btn-login-register-admin {
    background: #DB2036;
    color: white;
    font-size: 1rem !important;
    padding: 2px;
    border-radius: 19px;
}

.btn-login-register-admin-m {
    background: #DB2036;
    color: white;
    font-weight: bold;
    border-radius: 22px;
    /*border: 1px solid var(--border-secondary-color);*/
    font-size: 1.2rem !important;
    box-shadow: inset 2px 0 4px #00000029;

}

.btn-login-register-admin-m:hover,
.btn-login-white-popup:hover,
.btn-gradiant-login-m:hover,
.btn-login-white:hover,
.btn-gradiant-login:hover,
.btn-login-register-admin:hover {
    color: var(--text-on-bg-primary-color);
    background-color: var(--bg-primary-color);
    border-color: var(--bg-primary-color);
}

.btn-outline-custom {
    border-color: var(--border-primary-color);
    background: transparent linear-gradient(180deg, #F8D364 0%, #BA7202 100%) 0% 0% no-repeat padding-box;
    color: white;
}

.btn-outline-custom:hover {
    color: var(--text-on-bg-primary-color);
    background-color: var(--bg-primary-color);
    border-color: var(--bg-primary-color);
}

.btn-outline-custom:focus,
.btn-outline-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.contentbox {
    background: rgba(255, 255, 255, 0.9);
    border: rgba(255, 255, 255, 1) 1px solid;
    min-height: 90vh;
}

.section-title {
    background: transparent linear-gradient(180deg, #E2B975 0%, #F19F90 100%) 0% 0% no-repeat padding-box;
    font-weight: bold;
    color: #ffffff;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1.1rem;
}

.huay-card {
    background: var(--border-secondary-color) 0% 0% no-repeat padding-box;
    ;
    /*padding: 5px 10px 10px 10px;*/
}

.huay-card-stock {
    background: linear-gradient(#3c3795, #a53594, #da2128);
    border-radius: 10px;
    color: #ffffff;
}

.huay-card-digital {
    background: transparent linear-gradient(180deg, #00B6CE 0%, #0059A5 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    color: #ffffff;
}

.huay-card-stock-special {
    background: linear-gradient(0deg, rgb(73 232 191) 0%, rgb(22, 195, 150) 79%);
    border-radius: 10px;
    color: #ffffff;
}

.huay-card-yeekee {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 3px #00000033;
}

.huay-card-yeekee5 {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 3px #00000033;
}

.huay-card-th {
    background-color: #0077FF;
    color: #ffffff;
    border-radius: 5px;
}

.huay-card-aom {
    background-color: #f272ca;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-baac {
    background-color: #5fb256;
    border-radius: 5px;
    color: #ffffff;
}


.huay-card-la,
.huay-card-lapls,
.huay-card-land,
.huay-card-laospecial,
.huay-card-larr,
.huay-card-lalt,
.huay-card-lad,
.huay-card-lank,
.huay-card-lavl,
.huay-card-lapp,
.huay-card-lapm,
.huay-card-lamid,
.huay-card-lavx,
.huay-card-larj,
.huay-card-latn,
.huay-card-ladd,
.huay-card-lag,
.huay-card-lam,
.huay-card-laeco {
    background-color: #1b75bc;
    border-radius: 5px;
    color: #ffffff;
}


.huay-card-ca {
    background-color: #d7361c;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-my,
.huay-card-ml {
    background-color: #8fcef9;
    border-radius: 5px;
    color: #ffffff;
}


.huay-card-n22,
.huay-card-sgn,
.huay-card-hc,
.huay-card-hnm,
.huay-card-hncy,
.huay-card-vn,
.huay-card-hc2on,
.huay-card-hcon,
.huay-card-vnon,
.huay-card-hc2 {
    background-color: #ee3129;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-dja,
.huay-card-djv {
    background-color: #33ffcc;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-eur {
    background-color: #88bee7;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-hco {
    background-color: #ff9900;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-hnlocal,
.huay-card-hcd {
    background-color: #ee3129;
    border-radius: 5px;
    color: #ffffff;
}


.huay-card-hc2o,
.huay-card-vno {
    background-color: #ff9900;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-lav {
    background-color: #1b75bc;
    border-radius: 5px;
    color: #ffffff;
}

.huay-card-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin-bottom: 5px;
}

.huay-card-icon {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    margin-top: 5px;
}

.huay-card-product {
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
    background-color: #1a653c;

}

.huay-card-product-stock {
    background-color: #2e3192;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-digital {
    background-color: #0059A5;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-stock-special {
    background-color: #1a653c;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}


.huay-card-product-yeekee {
    background-color: #022223;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-th {
    background-color: #002B5B;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-aom {
    background-color: #ec008c;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-baac {
    background-color: #148341;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-hc,
.huay-card-product-n19,
.huay-card-product-hc2,
.huay-card-product-hc2on,
.huay-card-product-hcon,
.huay-card-product-vnon,
.huay-card-product-hnsp,
.huay-card-product-vn {
    background-color: #be1d2d;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-ml {
    background-color: #1c89d3;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-my {
    background-color: #1c89d3;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-ca,
.huay-card-product-hnlocal,
.huay-card-product-n22,
.huay-card-product-sgn,
.huay-card-product-hc,
.huay-card-product-hc2,
.huay-card-product-hcd,
.huay-card-product-hncy,
.huay-card-product-hnm {
    background-color: #be1d2d;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-djv {
    background-color: #00cccc;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-lalt,
.huay-card-product-laospecial,
.huay-card-product-larr,
.huay-card-product-la,
.huay-card-product-lapls,
.huay-card-product-land,
.huay-card-product-lav,
.huay-card-product-lamid,
.huay-card-product-lapp,
.huay-card-product-larj,
.huay-card-product-lavl,
.huay-card-product-latn,
.huay-card-product-ladd,
.huay-card-product-laeco,
.huay-card-product-lank,
.huay-card-product-lapm,
.huay-card-product-lam,
.huay-card-product-lavx,
.huay-card-product-lag,
.huay-card-product-lad {
    background-color: #2b3990;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}


.huay-card-product-eur {
    background-color: #3142b1;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.huay-card-product-hc2o,
.huay-card-product-vno,
.huay-card-product-hco {
    background-color: #ff6600;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}


.huay-card-body {
    background-color: #ffffff;
    color: var(--text-primary-color);
    width: 100%;
    border-radius: 10px;
}

.huay-card-period {
    float: right;
    background-color: #ffffff;
    color: var(--text-primary-color);
    width: 35%;
    border-radius: 40px;
    text-align: center;
    font-size: 0.9rem;
    margin: 10px 5px;
}

.huay-card-product-name {
    font-weight: bold;
    font-size: 1.3rem;
    display: inline-block;
    width: 60%;
    height: 100%;
    text-align: center;
    margin-top: 5px;
}

.huay-card-product-name-lotto {
    font-size: 1.3rem;
    display: inline-block;
    width: 60%;
    height: 100%;
    text-align: left;
    margin-top: 5px;
}

.huay-card-period-lotto {
    float: left;
    background-color: #ffffff;
    color: #022223;
    width: 55%;
    border-radius: 7px;
    text-align: center;
    font-size: 0.7rem;
    margin: 5px 0px;
    font-weight: bold;
}

.huay-card-period-lotto-yk {
    float: left;
    background-color: #ffffff;
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    margin: 5px 0px;
    padding: 2px;
    color: #022223;
    font-weight: bold;
}

.huay-card-name-lotto {
    text-align: left;
    font-weight: bold;
    font-size: 1.14rem;
    height: 2rem;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .huay-card-name-lotto {
        font-size: 1rem;
    }
}

.huay-card-name-lotto-yk {
    text-align: left;
    font-weight: bold;
    font-size: 1.14rem;
    height: 0.8rem;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {

    .huay-card-name-lotto-yk {
        font-size: 1rem;
    }
}

.huay-card-period-yk {
    float: right;
    background-color: #ffffff;
    color: var(--text-primary-color);
    width: 40%;
    border-radius: 7px;
    text-align: center;
    font-size: 0.9rem;
    margin: 10px 5px;
}


.huay-card-product-name-yk {
    font-size: 1.3rem;
    display: inline-block;
    width: 53%;
    height: 100%;
    text-align: left;
    margin-top: 5px;
}

.huay-card-product-yeekee {
    /* font-size: 24px; */
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    margin-top: 5px;
}

.huay-card-border-right {
    background: url(../custom/vertical-bar.png) no-repeat right;
    background-size: 2px 90%;
}

.huay-card-border-bottom-right {
    background: url(../custom/horizontal-bar.png) no-repeat bottom right;
    background-size: 80% 2px;
    padding-bottom: 5px;
}

.huay-card-border-bottom-left {
    background: url(../custom/horizontal-bar.png) no-repeat bottom left;
    background-size: 80% 2px;
    padding-bottom: 5px;
    /*border-left: 1.5px solid #707070;*/

}

.huay-card-border-bottom-th {
    background-size: 2px 90%;
    border-bottom: 2px solid #707070;
}


.huay-card-border-separate {
    background: url(../custom/horizontal-bar.png) no-repeat top;
    background-size: 95% 2px;
}

.bg-theme-secondary {
    background-color: var(--bg-dark-color);
    color: var(--text-primary-color);
}

.result-number-text {
    font-size: 28px;
}

.choke-home-bar {
    padding: 3px;
    background: var(--bg-primary-color);
}

.choke-card-main {
    border-radius: 20px;
    margin: 20px 0px;
    background: url(../custom/card-main-bg.png) no-repeat;
    -webkit-background-size: cover;
    /* For WebKit*/
    -moz-background-size: cover;
    /* Mozilla*/
    -o-background-size: cover;
    /* Opera*/
    background-size: cover;
    /* Generic*/
    color: var(--card-main-text-color);
    /* border: var(--border-primary-color) 1px solid; */
    height: auto;
    /* font-size: 26px; */
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .choke-card-main {
        background: url(../custom/card-main-bg.png) no-repeat;
    }
}

/* @supports (-webkit-touch-callout: none) {
  CSS specific to iOS devices
  .text-money-main {
    color: #9f7928;
    font-size: 2rem;
    font-weight: bold;
    line-height: 35px;
  }
}

@supports not (-webkit-touch-callout: none) {
  CSS for other than iOS devices
  .text-money-main {
    background: radial-gradient(
        ellipse farthest-corner at right bottom,
        #fedb37 0%,
        #fdb931 8%,
        #9f7928 30%,
        #8a6e2f 40%,
        transparent 80%
      ),
      radial-gradient(
        ellipse farthest-corner at left top,
        #ffffff 0%,
        #ffffac 8%,
        #d1b464 25%,
        #5d4a1f 62.5%,
        #5d4a1f 100%
      );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background: #49317b;
    color: #ebab42;
    padding: 20px 15px 15px 15px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 35px;
  }
} */

.register-logo-mobile {
    height: auto;
    width: 75%;
}

.main-banner-top {
    padding: 10px !important;
    background-color: azure;
    border-radius: 5px;
}

.text-money-main {
    background: #49317b;
    color: #ebab42;
    padding: 20px 15px 15px 15px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 35px;
    border-radius: 10px;
    margin-top: -10px;
    margin-left: 10px;
    z-index: 0;
}

.card-info-main {
    background: #49317b;
    color: #ffffff;
    border-radius: 10px;
    margin-left: 10px;
}

.card-info-main a {
    color: white;
}

.card-info-main a:hover {
    color: var(--bg-secondary-color);
}

.card-info-main-mobile {
    background: #49317b;
    color: #ffffff;
    border-radius: 10px;
    margin-left: 10px;
    font-size: 0.8rem !important;
}

.card-info-main-mobile a {
    color: white;
    font-size: 0.8rem !important;
}

.card-info-main-mobile a:hover {
    color: var(--bg-secondary-color);
}

.border-banner-register {
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .main-banner-top {
        padding: 0px !important;
        background-color: azure;
        border-radius: 5px;
    }

    .choke-card-sub {
        width: 90% !important;
        padding: 5px !important;
        margin-left: 5% !important;
    }
}

.choke-card-sub {
    border-radius: 10px !important;
    background: linear-gradient(to right, #3c3795, #a53594, #da2128);
    /* border: #fff 1px solid; */
    height: auto;
    margin-bottom: -110px;
    z-index: 100;
    position: relative;
    text-align: center;
    width: 86%;
    margin-left: 7%;
    padding: 10px;
}

.choke-bt-navbar {
    display: none;
}

@media only screen and (max-width: 768px) {
    .choke-bt-navbar {
        background: linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
        overflow: hidden;
        position: fixed;
        bottom: 0;
        width: 95%;
        height: 60px;
        transform: none;
        display: flex;
        justify-content: space-around;
        z-index: 19;
        border-radius: 13px 13px 0px 0px;
        border-top: 5px solid #C13F96;
    }

    /* Style the links inside the navigation bar */
    .choke-bt-navbar a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 0;
        text-decoration: none;
        font-size: 17px;
        align-self: center;
        flex-basis: 0;
        flex-grow: 1;
    }

    .choke-bt-navbar a i {
        font-size: 16px;
        padding: 0px;
    }

    /* Change the color of links on hover */
    .choke-bt-navbar a:hover {
        /*background-color: #ddd;*/
        color: black;
    }

    /* Add a green background color to the active link */
    .choke-bt-navbar a.active {
        background-color: #04aa6d;
        color: white;
    }

    /* Hide the link that should open and close the navbar on small screens */
    .choke-bt-navbar .icon {
        display: none;
    }

    .choke-bt-menu-label {
        font-size: 1rem;
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .choke-font-size {
        font-size: 1.2rem !important;
    }



    .bg-light-main {
        padding-bottom: 30px;
        margin-top: 40px;
    }

    .choke-bg-light {
        padding-top: 75px !important;
    }
}

.rotate {
    animation: rotation 4s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(359deg);
    }
}

.choke-font-size {
    font-size: 1rem !important;
}

.choke-bg-light {
    background: url(../custom/card-menu-bg.png) no-repeat center !important;
    -webkit-background-size: cover;
    /* For WebKit*/
    -moz-background-size: cover;
    /* Mozilla*/
    -o-background-size: cover;
    /* Opera*/
    background-size: cover;
    /* Generic*/
    border-radius: 10px;
    padding-top: 120px;
}

.bg-light-main {
    background-image: linear-gradient(#413f41,
            #5c595c,
            #c7c7c2,
            #e4e0e0) !important;
    border-radius: 15px;
}

.btn-theme-number-pad {
    color: var(--text-on-bg-primary-color);
    background: transparent linear-gradient(180deg, #C78D36 0%, #F4D751 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 10px;
    /*border-color: var(--bg-primary-color);*/
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 2rem;
}

.btn-theme-rand-pad {
    color: var(--text-on-bg-primary-color);
    background-color: #be770a;
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 2rem;
    height: 100%;
    border-radius: 10px;
}

.bg-lottery {

    background-color: white;
}

.btn-theme-cancel-last {
    color: #ffffff;
    background: #E29E39 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    line-height: 2rem;
    border-radius: 10px;

}

.btn-theme-clear-all {
    color: #ffffff;
    background: #DB2036 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    line-height: 2rem;
    border-radius: 10px;

}

.btn-theme-back-space {
    color: white;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 10px;
    font-size: 1rem !important;
    line-height: 2rem;
}

.bg-lottery-header-bar {
    color: #ffffff;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
    font-size: 1.5rem !important;
}

.btn-choke-rule {
    color: #ffffff !important;
    background-color: #CB0001;
}

.btn-choke-rule:hover {
    color: #ffffff !important;
}

.choke-lotto-title {
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0px;
    font-size: 1.5rem;
}

.choke-tanghuay-time_day {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-bottom: 0px;
    /* background: rgba(0, 0, 0, 0.1);
  border: #ccc 1px solid; */
    text-align: right;
    font-size: 15px;
    line-height: 15px;
    /* color: #dc3545; */
    color: #ffffff;
    /* border-radius: 5px; */
    overflow: hidden;
    font-size: 1rem;
}

.sidebar-huay .list-huay ol.num-huay {
    list-style: none;
    counter-reset: number;
    border-radius: 5px;
    overflow: hidden;
}

ol.choke-num-huay li {
    counter-increment: number;
}

ol.choke-num-huay li::before {
    content: counter(number) ". ";
    font-weight: bold;
    width: 1.2em;
    text-align: left;
    display: inline-block;
    margin-right: 10px;
    /* color: #555; */
    padding-left: 3px;
    font-size: 80%;
    line-height: 1.2rem;
    align-self: center;
}

ol.choke-num-huay li:nth-child(odd) {
    background: #ebbb4d;
}

.choke-nav-link.active {
    color: var(--text-on-bg-primary-color);
    /*text-shadow: var(--border-primary-color) 1px 1px 0;*/
    /*background-color: var(--bg-primary-color);*/
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    font-weight: bold;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choke-nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: white;
    margin: 5px;
    min-height: 60px;
}

.choke-nav-link:hover {
    color: white;
}

@media screen and (max-width: 768px) {
    .choke-nav-link {
        font-weight: normal;

    }
}

.choke-nav-link2.active {
    color: white;
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.choke-nav-link2 {
    display: flex;
    background: transparent linear-gradient(180deg, #F2D048 0%, #DEB861 100%) 0% 0% no-repeat padding-box;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: 400;
    color: white;
    margin: 5px;
}

.choke-nav-link2:hover {
    color: white;
}

.btn-outline-choke {
    color: white;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: bold;
    text-align: center !important;
    border-radius: 5px;
    background: transparent linear-gradient(180deg, #F2D048 0%, #DEB861 100%) 0% 0% no-repeat padding-box;
}

.btn-outline-choke.active {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    color: var(--text-on-bg-primary-color);
}

.btn-outline-choke:hover {
    color: white;
}

@media screen and (max-width: 768px) {
    .btn-outline-choke {
        font-weight: normal;
    }
}

.btn-price {
    color: white;
    line-height: 2rem;
    font-weight: bold;
    text-align: center !important;
    background: linear-gradient(180deg, rgba(247, 206, 96, 1) 0%, rgba(188, 116, 5, 1) 100%) padding-box;
}

.btn-price-numpad {
    color: black;
    line-height: 2rem;
    text-align: center !important;
    background: #00C300 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    height: 100%;

}

.pagemodal-wrapper.open .pagemodal {
    margin-top: 115px !important;
}

.btn-outline-danger-choke {
    color: var(--text-primary-color) !important;
    background-color: white !important;
    background-image: none;
    border-color: var(--bg-primary-color) !important;
    word-wrap: break-word;
    overflow: hidden;
}

.btn-outline-danger-choke.active {
    color: var(--text-on-bg-primary-color) !important;
    background-color: var(--bg-primary-color) !important;
}

.star-center {
    font-size: 0.75rem !important;
    margin-left: -22px !important;
    margin-top: 7.5px !important;
}

.choke-btn-font {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    height: auto !important;
}

.result-card {
    border-radius: 5px;
    border: 1px solid;
    /* margin-top: 5px;  */
    z-index: 1;
    /* padding: 15px 20px; */
}

.result-card span {
    margin-top: 5px;
    margin-bottom: 5px;
    color: var(--text-primary-color);
}

.result-card-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 0.9rem;
    min-height: 40px;
    margin-top: 10px;
}

.result-flag-border {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: 1px solid var(--text-primary-color);
}

.result-text-product-mobile {
    font-size: 1rem;
}

.text-award-choke {
    font-weight: bold;
    font-size: 1.7rem;
    margin-top: -10px;
    margin-bottom: 7px;
    letter-spacing: 1.2px;
}

.toast-container {
    max-width: 90vw !important;
}


.broadcast-icon {
    /*padding: 10px;*/
    /* border-right: 1px solid #585858; */
    /*box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,*/
    rgba(0, 0, 0, 0.22) 0 px 15 px 12 px;
}

.broadcast-row {
    background: white;
    border-radius: 20px;
    height: 30px;
    color: black;
    font-size: 1rem;
    align-items: center;
}

.broadcast-icon-mobile {
    padding: 5px;
    /* border-right: 1px solid #585858; */
    /*box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,rgba(0, 0, 0, 0.22) 0px 15px 12px;*/
}

.txt-notice-main {
    line-height: 30px;
    font-size: 1rem;
    color: white;
    width: 100%;
    display: inline-flex;
}

.image-btn-effect:hover {
    border: 1px rgba(78, 45, 128, 0.5) solid;
    border-radius: 10px;
    padding: 5px;
    box-shadow: inset 0 0 5px rgba(78, 45, 128, 0.7),
        0 0 5px rgba(78, 45, 128, 0.4);
    outline-color: rgba(78, 45, 128, 0);
    outline-offset: 10px;
    text-shadow: 1px 1px 2px #e4c467;
}

.image-btn-effect2:hover {
    transform: scale(1.05);
}

.image-btn-effect3:hover {
    transform: scale(1.1);
}


.border-setting-profile {
    box-shadow: -2px 0 1px 0px rgba(20, 20, 20, 0.9);
}

.show-cursor {
    cursor: pointer;
}

.btn-jubwin {
    animation: letter-flicker 2s linear infinite;
    height: 100%;
    font-weight: bold;
    font-size: 1rem;
}

.btn-rule {
    background: linear-gradient(to bottom, #C78D36, #F4D751);
    color: white;
    width: 95%;
    font-size: 0.8rem;
}

.btn-rate {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    color: white;
    width: 95%;
    font-size: 0.8rem;
}

.btn-close-time {
    background-color: #FF0000;
    color: white;
    width: 95%;
    font-size: 0.8rem;
    font-weight: bold;
}


.badge-primary-mhandee {
    color: #fff;
    background-color: #444347;
}

.login-btn {
    border: var(--border-secondary-color) 1px solid;
    background-color: var(--main-background);
    padding-top: 10px;
    padding-bottom: 10px
}

.img-game-login {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.img-top-lotto-login {
    width: 100%;
    height: auto;
    display: block;
}

.border-top-lotto {
    background: linear-gradient(to bottom, #707070, #b6adad);
    border-radius: 5px;
    padding: 3px;

}

/*.detail-top-lotto {*/
/*  border-radius: 5px;*/
/*  background-color: white;*/
/*  position: absolute;*/
/*  left: 50%;*/
/*  top: 70%;*/
/*  transform: translate(-50%, 50%);*/
/*}*/

.name-top-lotto-login {
    color: white;
    font-weight: bold;
    padding: 10px;
    margin: 3px;
    margin-top: -5px;
    font-size: inherit;
    text-align: center;
    border-radius: 5px;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
}

.top-result-lotto-bg {
    /*background: #ABB8DA 0% 0% no-repeat padding-box;*/
}

.bg-flag-on-top-lotto {
    float: right;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1000;
    background: transparent linear-gradient(180deg, #E2B975 0%, #320509 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000033;
    padding: 8px;
    margin: 32px;
    border-radius: 5px;
    opacity: 1;
}

.flag-on-top-lotto {
    height: 25px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
}

.flag-on-top-lotto-m {
    height: 20px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
}

.flag-on-top-lotto-main {
    height: 30px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
    margin-bottom: 7px;
}

.flag-on-countdown-m {
    height: 40px;
    width: auto;
    border-radius: 50%;
    /*padding: 1px;*/
    align-self: center;
    border: 1px solid white;
}


.flag-on-countdown-yk-m {
    height: 23px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
    align-self: center;
}

.flag-on-countdown-yk-m {
    height: 20px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
    align-self: center;
}

.txt-flag-on-countdown-m {
    font-size: medium;
    font-weight: bold;
}

.top-lotto-text {
    color: white;
    text-align: center;
    font-weight: bolder;
    font-size: 2rem;
    border-radius: 5px;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
}

.text-top {
    padding-left: 20%;
    padding-top: 15px;
    padding-bottom: 5px;
}

.bg-promote-login {
    background: transparent linear-gradient(180deg, #FCF2BE 0%, #CE9C49 100%) 0% 0% no-repeat padding-box;
}

.btn-remain-text-login {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    border-radius: 1px;
    opacity: 1;
    color: white;
    width: 95%;
    font-size: 0.8rem;
}

.btn-period-text-login {
    background: #7491AB 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 2px;
    opacity: 1;
    color: black;
    width: 95%;
    font-size: 0.8rem;
}

@media screen and (min-width: 992px) and (max-width: 1120px) {
    .btn-remain-text-login {
        width: 95%;
        font-size: 0.6rem;
    }

    .btn-period-text-login {
        font-size: 0.6rem;
    }
}


.lotto-ramian-time-login {
    width: 100%;
    display: flex;
    padding: 5px;
    border-top: none;
    text-align: right;
    font-size: 27px;
    line-height: 30px;
    color: #bbb;
    flex-direction: row;
    justify-content: center;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 1px;
}

.top {
    position: relative;
    display: inline-block;
}

.top .detail-top-lotto {
    position: absolute;
    left: 50%;
    bottom: 17%;
    transform: translate(-50%, 50%);
    color: #fff;
    padding: 1px;
    border-radius: 5px;
    background-color: white;
    width: 86%;
}

.ng-image-slider .ng-image-slider-container .main {
    overflow: hidden;
    position: absolute;
    height: 100px !important;
    width: 100%;
}

.ng-image-slider {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100px !important;
}

.bg-promote-center {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    text-align: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 70px;
    height: 70px;
    align-items: center;
}

.bg-promote-center-m {
    background: transparent linear-gradient(180deg, #C78D36 0%, #F4D751 100%) 0% 0% no-repeat padding-box;
    text-align: center;
    border-radius: 0.2rem;
    display: flex;
    justify-content: center;
    height: 1.65rem;
    align-items: center;
    padding-left: 6px;
    padding-right: 6px;
}


.img-promote-center {
    height: 33px;
}

.img-promote-center-m {
    height: 15px;
}

.text-yellow-login {
    text-align: left;
    letter-spacing: 0px;
    color: black;
    opacity: 1;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: larger;
}

.txt-login-desc3 {
    color: black;
    font-size: 1rem;
}

@media screen and (min-width: 768px) and (max-width: 1120px) {
    .text-yellow-login {
        font-size: large;
    }
}

.text-yellow-login-m {
    text-align: left;
    letter-spacing: 0px;
    color: #fff;
    opacity: 1;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: small;
}

.bg-result-login {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    padding: 20px;
    margin-top: 15px;
    /*margin-left: 10%;*/
    margin-right: 30px;
    border-radius: 10px;
    margin-bottom: 40px;

}

.result-login-topic {
    color: white;
    font-weight: bold;
    font-size: larger;
}

.result-login-topic-th {
    color: white;
    font-weight: bold;
}

.content-promote {
    align-items: center;
    /*justify-content: center;*/
}

.header-th-login {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 49%, #CF4146 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #FDF689;
    border-radius: 10px;
    color: #fff;
    justify-content: space-between;
    font-weight: 100;
}

.header-lotto-login {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 49%, #CF4146 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #FDF689;
    border-radius: 10px;
    color: #fff;
    justify-content: space-between;
    font-weight: 100;
}

.th-result-login-game {
    color: white;
    font-weight: 100;
    text-align: center;
    font-size: 1rem;
    justify-content: space-evenly;
}

.th-result-login-only {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 10px;
}

.th-result-login-only.th-result-login-game {
    color: white;
}

.th-result-login-game-m {
    color: white;
    font-weight: 100;
    text-align: center;
    font-size: 1rem;
}

.header-result-game-m {
    color: white;
    font-weight: 100;
    text-align: center;
    font-size: 0.9rem;
}

.th-result-login-bg {
    color: black;
    background: transparent linear-gradient(180deg, #C78D36 0%, #F4D751 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 5px;
    padding: 3px;
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: larger;
}

.th-result-login-bg3 {
    color: black;
    background: white;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 5px;
    padding: 3px;
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: larger;
}


.bg-countdown-th {
    background: #060000 0% 0% no-repeat padding-box;
    border: 3px solid #DA4827;
    padding: 8px 8px 3px 8px;
    color: #DA4827;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
}

.bg-countdown-th-main {
    background: var(--main-background) 0% 0% no-repeat padding-box;
    border: var(--border-secondary-color) 3px solid;
    padding: 8px 8px 3px 8px;
    color: var(--border-secondary-color);
    font-weight: bold;
    width: 16%;
}

.bg-countdown-th2 {
    background: transparent linear-gradient(180deg, #414141 0%, #C21328 45%, #060000 100%) 0% 0% no-repeat padding-box;
    border: 3px solid #FDF689;
    padding: 8px 8px 3px 8px;
    color: #FDF689;
    font-weight: bold;
    border-radius: 8px;
}

.bg-countdown-th2-main {
    background: transparent linear-gradient(180deg, #403F3F 0%, #01060F 100%) 0% 0% no-repeat padding-box;
    border: 3px solid #F2D048;
    border-radius: 10px;
    padding: 5px 8px 3px 8px;
    color: #F2D048;
    /*font-weight: bold;*/
    width: 60px;
    height: 60px;
}

.bg-countdown-th-close {
    background: transparent linear-gradient(180deg, #403F3F 0%, #01060F 100%) 0% 0% no-repeat padding-box;
    border: gray 3px solid;
    padding: 8px 8px 3px 8px;
    color: gray;
    font-weight: bold;
    border-radius: 15px;
}

.bg-countdown-th-close-main {
    padding: 5px 8px 3px 8px;
    overflow: hidden;
    font-size: 1rem !important;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: black 0% 0% no-repeat padding-box;
    color: gray;
    font-weight: bold;
}

.vl {
    background-color: #DB2036;
    height: 21px;
    margin: 0 auto;
    width: 2px;
}

.vl-close {
    background-color: gray;
    height: 21px;
    margin: 0 auto;
    width: 2px;
}

.text-countdown-th {
    font-size: 4rem;
    font-weight: bold;
}

.text-countdown-th-main {
    font-size: 1.9rem;
    font-weight: bold;
    /*display: flex;*/
    justify-content: center;
    /*height: 100%;*/
    align-items: center;
}

.img-button {
    width: 100%;
    /*margin-bottom:4px;*/
}

.setting-main-icon {
    width: 73px
}

.bg-topic-countdown-th-main {
    background: var(--main-background) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-weight: 100;
    width: 16%;
}

@media screen and (min-width: 769px) and (max-width: 991px) {

    .remain-time-main,
    .remain-time-main-none,
    .remain-left-red {
        font-size: 1rem;
    }

    .setting-main-icon {
        width: 60px
    }

    .bg-user-txt {
        font-size: 0.6rem;
    }

    .text-countdown-th-main {
        font-size: 1.4rem;
    }

    .bg-countdown-th-main,
    .bg-countdown-th2-main {
        padding: 0px;
    }
}

.uline-result-app {
    border-top: 4px solid #EBC74B;
    width: 92%;
    border-radius: 3px;
}

.bg-topic-countdown-th-login {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 10px;
    padding: 8px;
    color: white;
    font-weight: 100;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .btn-rate {
        font-size: 0.7rem;
    }

    .th-result-login-bg {
        background: white;
    }

    .th-result-login-only {
        background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    }

    .header-lotto-login,
    .header-th-login {
        background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
        border: none;
    }

    .bg-countdown-th-close-main {
        background: white 0% 0% no-repeat padding-box;
        color: gray;
        font-weight: bold;
        border-radius: 50%;
        height: 40px;
        width: 40px;
        padding: 1px;
        overflow: hidden;
        font-size: 1rem !important;
    }

    .text-countdown-th-main {
        font-size: 1.4rem;
        font-weight: bold;
        display: flex;
        justify-content: center;
        height: 100%;
        align-items: center;
    }

    .bg-topic-countdown-th {
        background: transparent linear-gradient(180deg, #5CD6F6 0%, #69A9D2 49%, #5CD6F6 100%) 0% 0% no-repeat padding-box;
        box-shadow: inset 0px 3px 6px #00000029;
        border-radius: 10px;
        padding: 8px;
        color: white;
        font-weight: 100;
        align-items: center;
    }

    .th-result-login-game {
        color: white;
    }

    .star-center {
        margin-left: -20px !important;
    }

    .bg-topic-countdown-th-main {
        width: 65px;
        height: 58px;
    }

    .bg-countdown-th2-main,
    .bg-countdown-th-main {
        background: #FFFFFF 0% 0% no-repeat padding-box;
        box-shadow: inset 0px 3px 6px #00000029;
        color: black;
        font-weight: bold;
        border-radius: 50%;
        height: 40px;
        width: 40px;
        overflow: hidden;
        border: none;
        padding: 0px
    }

    .bg-countdown-th2-main {
        color: #C21328;
    }

    .bg-countdown-th2,
    .bg-countdown-th {
        width: 25%;
        padding: 0px;
    }

    .bg-promote-login {
        background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box
    }

}


.text-countdown-th-name {
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.text-countdown-th-main-name {
    font-size: large;
    font-weight: bold;
    color: white;
}

.text-countdown-th-name2 {
    font-size: larger;
    font-weight: bold;
    color: #DB2036;
}

.text-countdown-th-name-main {
    font-size: 0.7rem;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.text-countdown-th-name-main-th {
    font-size: 0.7rem;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.text-countdown-th-name-main2 {
    font-size: 0.6rem;
    color: white;
    text-align: center;
}


.text-countdown-th-name-close {
    font-size: larger;
    font-weight: bold;
    color: gray;
    text-align: center;

}

.text-countdown-th-name-close-main {
    font-size: 0.7rem;
    color: gray;
    text-align: center;
    white-space: nowrap;

}

@media screen and (max-width: 970px) {
    .text-countdown-th {
        font-size: 3rem;
        font-weight: bold;
    }

    .text-countdown-th-name2,
    .text-countdown-th-name {
        font-size: small;
        font-weight: bold;
    }

    .text-countdown-th-name-close {
        font-size: large;
        font-weight: bold;
        color: gray;
    }
}

@media screen and (max-width: 860px) {
    .text-countdown-th {
        font-size: 2rem;
        font-weight: bold;
    }


    .text-countdown-th-name-close {
        font-size: medium;
        font-weight: bold;
        color: gray;
    }
}

.uline {
    border-top: 1px solid #D9AB41;
    width: 50%;
}

.uline-app-m {
    border-top: 1px solid #fff;
    width: 100%;
}

.ulineCountdown {
    border-top: 3px solid #F2D048;
    width: 10px;
    align-self: center;
}

.ulineCountdown-close {
    border-top: 3px solid gray;
    width: 10px;
    align-self: center;
}

.result-product-name-login-m {
    text-align: -webkit-left;
    font-size: 1.1rem;
}

.text-provider-name-login {
    color: #fff;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
    margin-left: 3px;
    border-radius: 0px 0px 25px 25px;
    padding: 5px;
    font-size: small;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-provider-name-login {
    padding: 3px;
    padding-bottom: 0px;
    border-radius: 25px 25px 0px 0px
}

.img-contact-main {
    height: 2rem;
    width: auto;
}

.countdown-th-circle {
    justify-content: center;
}

.main-remain-money {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
}

.bg-result-login-topic {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: white;
    text-align: center;
}

@media screen and (min-width: 767px) {

    .text-provider-name-login {
        border-radius: 0px 0px 35px 35px;
        font-size: small;
        margin-right: 15px;
        margin-left: 15px;
        height: 30px;
    }

    .broadcast-row {
        border-radius: 7px;
    }

    .img-provider-name-login {
        padding: 15px;
        padding-bottom: 0px;
        border-radius: 35px 35px 0px 0px
    }

}


.bg-result-login-inner-m {
    border-radius: 10px;
    background: #640A12;
    overflow-y: scroll;
    height: 480px;
}

.bg-result-login-inner {
    border-radius: 10px;
    background: #2F0900 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    overflow-y: scroll;
    height: 780px;
    color: white;
}

.bg-login-popup {
    background: url(https://cdn.javisx.com/image/43c47f76-2ea1-48ea-aaf6-98a603516513.jpg) no-repeat top center;
    /*border: 1px solid #707070;*/
    border-radius: 10px;
    background-size: cover;
}

@media screen and (max-width: 766px) {
    .text-provider-name-login {
        border-radius: 0px 0px 20px 20px
    }

    .img-provider-name-login {
        border-radius: 20px 20px 0px 0px
    }

    .uline-app-m {

        background: white;
        width: 100%;
        border-radius: 5px;
        padding: 1px;


    }

    .bg-main-m {
        background: transparent linear-gradient(180deg, #AFBDDF 0%, #A59FDA 15%, #997AD5 36%, #956CD3 47%, #E0A5B8 100%) 0% 0% no-repeat padding-box;
        margin-top: -8px;
    }

    .countdown-th-circle {
        justify-content: center;
    }

    .bg-login-popup {
        background: url(https://cdn.javisx.com/image/fe849bf1-323f-4c86-af2e-996b0e76b173.jpg) no-repeat top center;
        background-size: cover;
    }
}

.close-button-popup-login {
    border-radius: 50%;
    border: 4px solid #fff;
    /*padding: 20px;*/
    width: 40px;
    height: 40px;
}

/*.main-remain-money {*/
/*  background: url(../custom/card-main-money.png) no-repeat center;*/
/*  border-radius: 10px;*/
/*  background-size:cover;*/
/*}*/

.text-balance-main {
    font-size: 2.8rem;
    color: #FDF689;
    font-weight: 100;
    text-align: left;
}

.text-white-balance {
    color: #E6E6E6;
    font-size: 1.3rem;
    align-self: center;
}

.bg-username {
    background: #DFDFDF 0% 0% no-repeat padding-box;
    border-radius: 5px;
    padding: 5px;
    color: black;
    margin-right: 3px;
    margin-left: -2px;
    padding-left: 10px;

}

.bg-statement {
    box-shadow: 0px 3px 6px #00000029;
    background: #CF4146 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 7px;
    font-size: large;
}

.bg-statement-m {
    background: linear-gradient(180deg, #DCB45F, #F1EAAA, #DCB45F, #F1EAAA, #DCB45F) 0% 0% no-repeat padding-box;
    border-radius: 5px;
}

.bg-main-button {
    background: transparent linear-gradient(180deg, #2F0504 0%, #0A0B0E 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;

}

.bg-main-button-m {
    background: transparent linear-gradient(180deg, #CB5769 0%, #F27689 100%) 0% 0% no-repeat padding-box;
    margin-top: -3px;
    border-radius: 0px 0px 5px 5px;
}

.deposit {
    background: transparent linear-gradient(180deg, #169a4c 0%, #1af5e7 100%) 0% 0% no-repeat padding-box;
    color: white;
    justify-content: center;
    border-radius: 5px 0px 0px 5px;
    padding: 14px 6px;
    font-weight: bold;
    align-items: center;
}

.withdraw {
    align-items: center;
    background-color: #cd181a;
    color: white;
    justify-content: center;
    border-radius: 0px 5px 5px 0px;
    padding: 14px 6px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .text-balance-main {
        font-size: 2.8rem;
        color: white;
        font-weight: 100;
    }

    .withdraw {
        border: 1px #fff solid;
        border-radius: 4px;
    }

    .deposit {
        border-radius: 4px;
    }
}


.request-all {
    background: transparent linear-gradient(180deg, #E2B975 0%, #F19F90 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: white;
    padding: 10px;
    justify-content: center;
    font-weight: bold;
    text-align: center;
}

.request-all-m {
    background-color: #642737;
    border-radius: 5px;
    color: white;
    justify-content: space-around;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}

.box-btn {
    position: relative;
    padding: 13px 2px;
    color: white;
    background: transparent linear-gradient(180deg, #FFF4F6 0%, #FF7B8F 44%, #86273A 100%) 0% 0% no-repeat padding-box;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    border: 2px #fff solid;
    font-size: 0.7rem;
}

.col-5.image-btn-effect2:hover {
    transform: scale(0.95);
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    .box-btn {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 768px) {
    .box-btn {
        font-size: 0.73rem;
    }

    .img-contact-main {
        height: 2.7rem;
        width: auto;
        padding-left: 2px;
    }
}

.box-btn:hover {
    /*font-size: 30px;*/
    background: linear-gradient(to bottom, #e26e7f, #892b3e);
    color: white;
}

.bg-aura-btn {
    background: linear-gradient(to bottom, #d97484, #8e2d40);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 0 0 0.6px #812f3f;
    margin: 2px;
}


.dot {
    height: 18px;
    width: 18px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
}

.report-main {
    border-radius: 5px;
    color: white;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin-bottom: 48px;
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 50%, #CF4146 100%) 0% 0% no-repeat padding-box;
}

.report-main-m {
    background: transparent linear-gradient(180deg, #414141 0%, #C21328 45%, #060000 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    padding: 9px;
    margin-bottom: 10px;
}

.report-main-m:hover {
    color: white;
}

.bg-huay-almost-close {
    background: rgba(255, 255, 255, 0.5) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    width: 100%;

}


.bg-link-product-main-green {
    background-color: #00C300;
    border-radius: 24px;
    justify-content: flex-end;
    align-items: center;
}

.bg-link-product-main-none {
    background-color: #707070;
    border-radius: 24px;
    justify-content: flex-end;
    align-items: center;
}

.head-huay-almost-close {
    background: transparent linear-gradient(180deg, #CF4146 0%, #640A12 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    box-shadow: 0px 0px 6px #FFFFFF29;
    width: 100%;
    color: #FCF2BE;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: larger;
}

.head-huay-almost-close-m {
    background: transparent linear-gradient(180deg, #FFF4F6 0%, #FF7B8F 44%, #86273A 100%) 0% 0% no-repeat padding-box;
    width: 80%;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: larger;
    border-radius: 3px;
    filter: drop-shadow(0 0 0.2rem gray);
}

.flag-near-close-lotto {
    height: 25px;
    width: 25px;
    border-radius: 50%;
}

.flag-near-close-lotto-none {
    height: 19px;
    width: 19px;
    background-color: #707070;
    border-radius: 50%;
    margin: 2px;
    float: right;
    display: none;
}

.bg-near-close-lotto-detail {
    background: transparent linear-gradient(180deg, #2F0504 0%, #0A0B0E 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 24px;
    padding: 7px;
    font-size: 1.3rem;
    align-items: center;
    color: white;
}

.bg-near-close-lotto-detail-white {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 24px;
    padding: 7px;
    font-size: 1.3rem;
    align-items: center;
    /*padding-left: 30px;*/
}

.bg-near-close-lotto-detail-1 {
    background: transparent linear-gradient(90deg, #E2B975 0%, #F19F90 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    box-shadow: inset 0px 3px 6px #00000029;
    padding: 13px;
    font-size: 1.3rem;
    align-items: center;
    padding-left: 16px;
}


.bg-near-close-lotto-detail-close {
    background: transparent linear-gradient(90deg, #A7A7A7 0%, #0F0F0F 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    box-shadow: inset 0px 3px 6px #00000029;
    padding: 13px;
    font-size: 1.3rem;
    align-items: center;
    padding-left: 16px;
}

.space-box-white-remain-time {
    flex-grow: 1
}

.space-box-white-remain-time-close {
    width: 76%
}

.close-time-near-close-lotto {
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding-top: 4px;
}

.user-in-card-main {
    color: black;
    font-size: 2.5rem;
    letter-spacing: 3px;
}

.remain-txt {
    color: black;
    font-weight: 400;
}

@media screen and (max-width: 991px) {

    .remain-txt {
        font-size: 0.8rem;
    }

    .text-balance-main {
        font-size: 1.9rem;
    }

    .user-in-card-main {
        font-size: 1.9rem;
    }

    .bg-near-close-lotto-detail-1,
    .bg-near-close-lotto-detail,
    .bg-near-close-lotto-detail-close {
        padding: 7px;
    }
}

.lotto-name-main {
    color: white;
    font-size: 1.2rem;
    white-space: nowrap;
}

.flag-word-main {
    color: white;
    font-size: 1.4rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    place-content: center;
}

.flag-word-main-none {
    color: #707070;
    font-size: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    place-content: center;
}

.remain-time-main {
    color: #00C300;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 24px;
    align-self: center;
    text-align: center;
}

.remain-time-main-none {
    color: #707070;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 24px;
    text-align: center;

}

@media screen and (max-width: 768px) {
    .flag-near-close-lotto {
        padding: 4px;
    }

    .remain-time-main {
        color: #00C300;
    }

    .remain-time-main-none {
        color: #707070;
    }

    .bg-near-close-lotto-detail {
        border-radius: 8px;
    }

    .flag-word-main {
        color: white;
        font-size: 1rem;
        white-space: nowrap;
    }

}


.lotto-name-main-none {
    color: #707070;
    align-self: center;
}

.flag-word-main-none {
    color: rgba(0, 0, 0, 0);
    font-size: 1rem;
    white-space: nowrap;
}


.icon-clock-main {
    font-size: 30px;
    color: #00C300;
    display: flex;
    justify-content: center;
}

.icon-backspace {
    font-size: 30px;
    background: transparent linear-gradient(180deg, #C78D36 0%, #e29e39 100%) 0% 0% no-repeat padding-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    justify-content: center;
}

.icon-clock-main-none {
    color: #707070;
}

.remain-money-text-m {
    font-size: large;
    color: var(--border-secondary-color);
}

.line-main-m {
    background: linear-gradient(180deg, #403F3F 0%, #01060F 100%) 0% 0% no-repeat padding-box;
    width: 100%;
    padding: 2px;
    border-radius: 5px;
}

.remain-left-red {
    color: red;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lotto-name-main-black {
    color: #000;
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
    align-self: center;
}

.lotto-name-main-white {
    color: #fff;
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
    align-self: center;
}

.remain-left-red-none {
    color: #707070;
}

.bg-card-head {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
}

.username-text-head {
    color: #fff;
    font-size: large;
}

.bg-balance {
    color: white;
    background: url(../custom/bg-balance.png) no-repeat center;
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
    border-radius: 10px;
}

.bg-lottery-product {
    position: relative;
    padding: 0px 5px;
    color: white;
    background: transparent linear-gradient(180deg, #DFDFDF 0%, #DFDFDF 100%) 0% 0% no-repeat padding-box;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 3px 2px -2px #a39c9c;
}

.bg-lottery-product::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 5px;
    background: transparent linear-gradient(180deg, #b3b3b3 0%, #e2e2e2 100%) 0% 0% no-repeat padding-box;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.img-lottery-product {
    /*margin-top: 1px;*/
    /*margin-bottom: 1px;*/
    height: 166px;
}

@media screen and (min-width: 583px) and (max-width: 760px) {
    .img-lottery-product {
        /*margin-top: -1px;*/
        /*margin-bottom: -2px;*/
        height: 166px;
        margin-left: -2px;
    }

}

@media screen and (max-width: 768px) {

    .lotto-name-main-white {
        color: white;
        font-weight: 200;
    }

    .remain-time-main,
    .remain-left-red {
        box-shadow: none;
    }

    .bg-near-close-lotto-detail {
        background: transparent linear-gradient(90deg, #CF4146 0%, #640A12 100%) 0% 0% no-repeat padding-box;
    }

    .txt-24 {
        justify-content: space-evenly;
    }
}

.bg-flag-lottery-product {
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 3px #00000033;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bg-product-name-lottery-yk {
    background: transparent linear-gradient(180deg, #CB0001 0%, #2F0900 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.bg-product-name-lottery-yk5 {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 3px #00000029;
    border-radius: 5px;
    height: 100%;
}

.flag-on-lottery-product {
    height: 35px;
    width: auto;
    border-radius: 50%;
    padding: 1px;
}

.bg-rule-product {
    background: white;
    border-radius: 5px;
}

.flag-bg-product {
    position: initial;
    /*background: url(/assets/custom/flag/YK.png) repeat !important;*/
    background-size: cover !important;
    background-position: center !important;
    border-radius: 15px 0px 0px 15px;
}

.close-period-text {
    color: var(--border-secondary-color);
    font-weight: 500 !important;
    /*font-size: small !important;*/
}

.bg-yk-round {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: #97281E;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
}

.bg-bet-num {
    background-color: white;
    color: black;
    border-radius: 10px
}

.bg-result {
    background-color: white;
    color: #383838;
    border-radius: 10px;

}

.text-th-award1 {
    font-weight: bold;
    color: var(--text-result);
}

.result-th-award1 {
    font-weight: bold;
    color: var(--text-result);
    font-size: 3rem;
}


.text-th-award {
    font-weight: bold;
    color: var(--text-result);
    font-size: medium;

}

.result-th-award {
    font-weight: bold;
    color: var(--text-result);

}

.text-th-award2 {
    font-weight: bold;
    color: var(--text-result);
    font-size: large;

}

.result-th-award2 {
    font-weight: bold;
    color: red;
    font-size: 3rem;
}

.text-result-topic {
    font-weight: bold;
}

.bg-setting-main {
    background-color: #e6e6e6;
    color: black;
    border-radius: 5px;
}

.text-secondary {
    color: #000000 !important;
}

.tel-setting {
    line-height: 1.3 !important;
}

.box-countdown-th {
    width: 100%;
    height: 135px;
    color: white;
    text-align: center;
}

.box-countdown-th-main {
    width: 100%;
    height: 153px;
    color: white;
    text-align: center;
}

.box-countdown-th-main-m {
    width: 100%;
    height: 143px;
    color: white;
    text-align: center;
}

.container-countdown {
    width: 100%;
    /*position: relative;*/
}

.blue-test {
    background-color: rgba(255, 240, 242, 0.7);
    position: absolute;
    top: -58px;
    width: 93%;
    border-radius: 10px;
}

.blue-test-main {
    background-color: rgba(255, 240, 242, 0.7);
    position: absolute;
    top: -58px;
    width: 88%;
    border-radius: 25px;
}

.green-test {
    background: transparent linear-gradient(180deg, #FFF4F6 0%, #FF7B8F 51%, #86273A 100%) 0% 0% no-repeat padding-box;
    position: absolute;
    top: -49px;
    border-radius: 10px;
}

.green-test-main {
    background: transparent linear-gradient(180deg, #FFF4F6 0%, #FF7B8F 51%, #86273A 100%) 0% 0% no-repeat padding-box;
    position: absolute;
    top: -49px;
    border-radius: 25px;
}

@media screen and (max-width: 768px) {
    .green-test-main {
        border-radius: 15px;
        background: transparent linear-gradient(180deg, #FFF4F6 0%, #FF7B8F 51%, #86273A 100%) 0% 0% no-repeat padding-box;
    }

    .red-test-main {
        border-radius: 15px;
        margin-top: 13px;
    }

    .blue-test-main {
        border-radius: 15px;
        /*background-color: rgba(134, 39, 58, 0.7);*/
    }

    .main-remain-money {
        border-radius: 15px;
        background-size: cover;
    }
}

.yk-countdown-login {
    background: transparent linear-gradient(180deg, #CB5769 0%, #F27689 100%) 0% 0% no-repeat padding-box;
    justify-content: space-around;
    font-size: large;
    opacity: 1;
    border-radius: 20px;
}

.yk-countdown-login-main {
    background: transparent linear-gradient(180deg, #CB5769 0%, #F27689 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 7px #FFFFFF29;
    justify-content: space-around;
    font-size: large;
    opacity: 1;
    border-radius: 20px;
}

.yk-countdown-login-remaintime {
    background: white;
    color: #00C300;
    justify-content: space-around;
    border-radius: 10px;
    width: 28%;
    overflow: hidden;
    align-items: center;
}

.btn-statement {
    background-color: #3c326a;
    color: white;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
}

.btn-main2 {
    color: white;
    font-size: 0.8rem;
}

.btn-request-all {
    background-color: #866dac;
    color: white;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
}

.bg-app {
    /*background: transparent linear-gradient(180deg, #403F3F 0%, #01060F 100%) 0% 0% no-repeat padding-box;*/
    /*border-top: #F2D048 10px solid;*/
    margin-bottom: 10px;
}

.logo-app-popup {
    height: auto;
    width: 54%;
    /*margin: -51px 0px;*/
}

@media screen and (max-width: 768px) {
    .logo-app {
        height: auto;
        width: 80%;
        margin: 20px 0px 11px 0px;
        filter: drop-shadow(0 0 0.2rem #5e6164);
    }

    .logo-app-popup {
        height: auto;
        width: 60%;
        /*margin: -45px 0px;*/
    }

    .bg-app {
        background: none;
        border: none;
    }

    .btn-request-all {
        display: flex;
        padding: 0.65rem 8px;
    }

    .btn-statement {
        display: flex;
        padding: 0.65rem 10px;
    }

    .yk-countdown-login {
        background: transparent linear-gradient(180deg, #CB5769 0%, #F27689 48%, #FEADC0 100%) 0% 0% no-repeat padding-box;
    }

    .broadcast-row {
        background: transparent linear-gradient(90deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
        color: black;
        border: 1px solid white;
    }
}

@media screen and (min-width: 1200px) {
    .yk-countdown-login-remaintime {
        width: 22%;
    }
}

.yk-countdown-login-yk-round {
    background: black;
    color: white;
    justify-content: space-between;
    border-radius: 7px;
    padding: 2px;
}

.dot-yk-round {
    height: 10px;
    width: 10px;
    background-color: #00C300;
    border-radius: 50%;
    display: inline-block;
    align-self: center;
}

.register-word {
    /*margin-top: -15px;*/
}

.bg-link-product-main {
    background-color: #DB2036;
    border-radius: 24px;
    justify-content: flex-end;
    align-items: center;
}



.bg-transaction-menu {
    background: url(../custom/main-bg-transaction-menu.jpg) no-repeat bottom;
    border-radius: 10px;
    background-size: cover;
    height: 95%;
}

.icon-request-main {
    color: #E96C22;
    background: white;
    font-size: small;
    border-radius: 4px;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em !important;
}

.icon-report-main {
    color: #DB2036;
    background: white;
    font-size: small;
    border-radius: 4px;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em !important;
}

.box-count-down-thai-size {
    margin-bottom: 92px;
    margin-top: 50px;
    position: relative
}

@media screen and (min-width: 460px) and (max-width: 767px) {
    .box-count-down-thai-size {
        margin-bottom: 108px;
        margin-top: 50px;
        position: relative
    }
}


.slick-main .slick-slide {
    margin: 12px;
    /*}*/
}

.slick-main .slick-center {
    -moz-transform: scale(1.08);
    -ms-transform: scale(1.08);
    -o-transform: scale(1.08);
    -webkit-transform: scale(1.08);
    opacity: 1;
    transform: scale(1.1);

}

.droupdown-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.box__chip-lists .price {
    padding: 7px !important;
}

.banner-main {
    border-radius: 11px;
}

.bg-report-statement {
    background-color: rgba(228, 223, 234, 1);
    border-radius: 5px;
}


.bg-main-remain-time {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 5px;
    width: 46%;
    text-align: center;
}

.bg-main-btn {
    /*background: transparent linear-gradient(180deg, rgba(171, 184, 218, 0.5) 0%, rgb(201 197 207 / 50%)*/
    /*46%, rgb(81 73 73 / 50%) 100%) 0% 0% no-repeat padding-box;*/
    background: rgba(0, 0, 0, 0.5);
    ;
    border-radius: 10px;
    margin-bottom: 50px !important;
}

.btn-contactbox-main {
    background: transparent linear-gradient(180deg, #414141 0%, #C21328 45%, #060000 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
}

.btn-contactbox-main:hover {
    color: #ffffff;
}

.user-txt-m {
    background: transparent linear-gradient(180deg, #C13F96 0%, #352E64 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    font-size: 0.9rem;
}

.text-remain-money-m {
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.text-remain-money {
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 1rem;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-main-btn-m {
    /*background: transparent linear-gradient(180deg, #DCA2B4 0%, #866DAC 48%, #ABB8DA 100%) 0% 0% no-repeat padding-box;*/
    padding-bottom: 75px;
}

.blink1 {
    /*width: 200px;*/
    /*height: 200px;*/
    border-radius: 100px;
    background-color: #DB2036;
    animation: glow1 1s infinite alternate;
}

@keyframes glow1 {
    from {
        box-shadow: 0 0 5px -5px #ff8306;
    }

    to {
        box-shadow: 0 0 5px 5px #dcb849;
    }
}


.bg-user-txt {
    background: #000 0% 0% no-repeat padding-box;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    align-self: center;
    color: white;
    padding: 3px 10px;
    margin-left: 55px;
}

.btn-money {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.btn-panghuay-h {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-main-custom {
    background: #2F0900 0% 0% no-repeat padding-box !important;
}

.color-back-custom {
    color: white !important;
}

.button-consonants-item.active {
    background-color: #e3be5c !important;
    color: #ffffff !important;
}


html, body {
    height: 100%;
}

#bodybg {
    min-height: 100%;
    margin: 0;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bar-back {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
}

.main {
    flex: 1 1 auto;
    /* padding อื่น ๆ ตามต้องการ */
}

#footer {
    /* ไม่ต้อง fixed */
    /* ถ้าต้องให้มีเงา/เส้นคั่นก็ใส่ border-top/box-shadow */
}


