textarea:focus, textarea:active,
select:focus,
select:active,
input:focus,
input:active,
button:focus,
button:active {
    outline: none;
    outline-color: transparent;
    outline-style: none;
}

input.form-control::placeholder {
    color: #8493C1;
}

html,
body {
    height: 100%;
    margin: 0;
}

html {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

body {
    background: #161A26;
    color: #FFFFFF;
    font-family: 'Sarabun', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding-top: 48px;
}

.wrapper {
    min-height: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -36px;
    background-color: #282F44;
}

.wrapper > .container {
    overflow: hidden;
}

.footer,
.push {
    height: 36px;
}

footer {
    background-color: #161A26;
    padding: 8px 0 8px 0;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
}

footer p {
    margin-bottom: 0;
}

footer strong {
    color: #E8BD70;
}

a {
    color: #FFF;
    font-weight: 400;
}

a:hover, a:active {
    color: #FFF;
}

a.link-danger {
    color: #FF5160;
}

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.btn,
.form-control,
.input-group-text,
.custom-select {
    height: 46px;
    border-radius: 24px;
    font-size: 1.063rem;
}

label {
    margin-left: 16px;
}

.btn {
    font-weight: 600;
    padding-left: 16px;
    padding-right: 16px;
    line-height: normal;
    box-shadow: 0px 4px rgba(0, 0, 0, 0.3);
    border: none;
}

.btn.disabled, .btn.disabled:hover, .btn.disabled:active, .btn.disabled:focus {
    background-color: #161A26 !important;
    color: #48526E !important;
    opacity: 1 !important;
    cursor: default !important;
}

.btn {
    line-height: 30px;
}

.btn.btn-sm {
    line-height: 24px;
}

.btn-icon-suffix {
    display: flex;
    justify-content: space-between;
    line-height: 30px;
}

.btn-icon-suffix .fal {
    font-size: 1.5rem;
    line-height: 34px;
    margin-left: 8px;
}

.btn-sm {
    height: 36px;
    font-size: 0.875rem;
}

.btn-sm.btn-icon-suffix .fal {
    font-size: 1.2rem;
    margin-top: 2px;
    line-height: 24px;
}

.btn-primary {
    background: #E8BD70;
    color: #161A26;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);
    /*background: #E8BD70;*/
    /*background: linear-gradient(0deg, #E8BD70 0%, #efd19c 100%);*/
    /*color: #161A26;*/
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    /*color: #161A26 !important;*/
    /*background-color: #e1a944 !important;*/
    color: #161A26 !important;
    background-color: #E8BD70 !important;
}

.btn-deposit {
    background: #19bba3;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);
}

.btn-deposit:hover, .btn-deposit:active, .btn-deposit:focus {
    color: #ffffff !important;
    background-color: #19bba3 !important;
}

.btn-orange {
    background: #E8BD70;
    color: #161A26;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);
}

.btn-orange:hover, .btn-orange:active, .btn-orange:focus {
    color: #161A26 !important;
    background-color: #E8BD70 !important;
}

.btn-play {
    background: #000000;
    color: #E8BD70;
    border: 2px solid #E8BD70;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-play:hover, .btn-play:active, .btn-play:focus {
    color: #E8BD70 !important;
    background-color: #000000 !important;
}

.btn-blue {
    background: #000000;
    color: #12A1D6;
    border: 2px solid #12A1D6;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-blue:hover, .btn-blue:active, .btn-blue:focus {
    color: #12A1D6 !important;
    background-color: #000000 !important;
}

.btn-red {
    background: #000000;
    color: #FF5160;
    border: 2px solid #FF5160;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-red:hover, .btn-red:active, .btn-red:focus {
    color: #FF5160 !important;
    background-color: #000000 !important;
}

.btn-lotto-open {
    background: #000000;
    color: #19BBA3;
    border: 2px solid #19BBA3;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-lotto-open:hover, .btn-lotto-open:active, .btn-lotto-open:focus {
    color: #19BBA3 !important;
    background-color: #000000 !important;
}

.btn-lotto-closed {
    background: #000000;
    color: #FF5160;
    border: 2px solid #FF5160;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-lotto-closed:hover, .btn-lotto-closed:active, .btn-lotto-closed:focus {
    color: #FF5160 !important;
    background-color: #000000 !important;
}

.btn-maintenance {
    background: #000000;
    color: #8493C1;
    border: 2px solid #8493C1;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-maintenance:hover, .btn-maintenance:active, .btn-maintenance:focus {
    color: #8493C1 !important;
    background-color: #000000 !important;
}

.btn-add {
    background: #161A26;
    color: #8493C1;
    border: 2px solid #8493C1;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);*/
}

.btn-add:hover, .btn-add:active, .btn-add:focus {
    color: #8493C1 !important;
    background-color: #161A26 !important;
}


.btn-lotto1 {
    background: #161A26;
    color: #ffffff;
    border: 2px solid #fff;
}

.btn-lotto1:hover, .btn-lotto1:active, .btn-lotto1:focus {
    color: #ffffff;
    background-color: #161A26;
}


.btn-withdraw {
    background: #fff;
    color: #000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0px 4px rgba(0, 0, 0, 0.3);
}

.btn-withdraw:hover, .btn-withdraw:active, .btn-withdraw:focus {
    color: #000 !important;
    background-color: #fff !important;
}


.btn-secondary {
    background-color: #FFF;
    color: #161A26;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    color: #48526E !important;
    background-color: #EEE !important;
}

.btn-default {
    background-color: #161A26;
    background: linear-gradient(0deg, #161A26 0%, #1f2536 100%);
    color: #FFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0px 4px rgba(0, 0, 0, 0.3);
}

.btn-default:hover, .btn-default:active, .btn-default:focus {
    color: #FFF !important;
    background-color: #000 !important;
}

.btn-ghost {
    border: 2px solid #FFF;
    color: #FFF;
    background-color: transparent;
    box-shadow: none;
}

.btn-ghost:hover, .btn-ghost:active, .btn-ghost:focus {
    color: #FFF !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-danger {
    background: linear-gradient(0deg, #FF5160 0%, #ff6b77 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0px 4px rgba(0, 0, 0, 0.3);
}

.btn-actions .btn {
    margin-bottom: 16px;
}

.btn-actions .btn:last-child {
    margin-bottom: 0;
    margin-top: 0;
}

.btn-check {
    padding: 0;
}

.btn-check label {
    margin: 0 0 0 24px;
    padding: 4px 8px;
    line-height: 1.4rem;
}

.text-danger {
    color: #FF5160 !important;
}

.text-success {
    color: #19BBA3 !important;
}

.text-info {
    color: #12A1D6 !important;
}

.text-primary {
    color: #E8BD70 !important;
}

.text-dark {
    color: #48526E !important;
}

.form-control,
.input-group-text {
    font-weight: 500;
    background-color: #161A26 !important;
    border-color: #48526E;
    color: #FFF !important;
    padding-left: 16px;
    padding-right: 16px;
}

.form-control:active, .form-control:focus,
.input-group-text:active,
.input-group-text:focus {
    color: #FFF;
    background-color: #161A26;
    box-shadow: none;
    border-color: #48526E;
}

.input-group-text {
    border-right: none;
}

.input-group-text .fal {
    font-size: 1.125rem;
}

.input-group-prepend + .form-control {
    border-left: none;
    padding-left: 8px;
}

.input-group-prepend .input-group-text {
    padding-right: 8px;
}

.input-group-append .input-group-text {
    padding: 0 8px;
    border: none;
    height: 36px;
}

.error .input-group .input-group-text {
    border-color: #FF5160;
}

.error .input-group .input-group-text .fal {
    color: #FF5160;
}

.error .form-control,
.error .input-group-append {
    border-color: #FF5160;
}


.alert {
    border-radius: 16px;
    border: none;
    color: #FFF !important;
}

.alert-primary {
    background-color: #12A1D6;
}

.alert-danger {
    background-color: #FF5160;
}

.alert-success {
    background-color: #19BBA3;
}

.card {
    border: none;
    border-radius: 16px;
    background-color: #161A26;
}

.card .card-body {
    padding: 16px;
}

.input-group-append {
    padding: 4px;
    background-color: #161A26;
    border: 1px solid #48526E;
    border-left: none;
    border-radius: 0 24px 24px 0;
}

.input-group-append .btn {
    border-radius: 24px !important;
    z-index: 0;
}

.input-group-append .btn .checkbox {
    margin-left: 4px;
}

.input-group.btn-append .form-control {
    border-right: none;
    line-height: 1.8em;
}

.form-element-block {
    padding: 0 16px;
    margin: 8px 0 0 0;
}

.form-element-block.icon-prepend {
    padding-left: 40px;
    position: relative;
}

.form-element-block.icon-prepend .fal {
    position: absolute;
    left: 16px;
    top: 4px;
    margin-right: 0;
}

.table {
    color: #FFF;
}

.table thead th, .table th, .table td {
    border-color: #48526E;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.2);
}

.custom-select {
    -webkit-appearance: none;
    background: #161A26 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='#FFF' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
    border-color: #48526E;
    color: #FFF;
    padding-left: 16px;
    padding-right: 16px;
}

.modal-dialog .modal-content {
    background-color: #282F44;
    border-radius: 16px;
    padding: 32px;
}

.modal-dialog .modal-content .modal-header,
.modal-dialog .modal-content .modal-body,
.modal-dialog .modal-content .modal-footer {
    text-align: center;
    border: none;
    padding: 0;
}

.modal-dialog .modal-content .modal-header {
    display: block;
    padding-bottom: 8px;
}

.modal-dialog .modal-content .modal-header .fal {
    font-size: 2.6rem;
}

.modal-dialog .modal-content .modal-header .modal-title {
    color: #E8BD70;
    font-weight: 400;
}

.modal-dialog .modal-content .modal-body {
    padding-bottom: 32px;
}

.modal-dialog .modal-content .modal-footer .btn {
    margin: 0 0 16px 0;
}

.modal-dialog .modal-content .modal-footer .btn:last-child {
    margin-bottom: 0;
}

.info-block.error {
    color: #FF5160;
}

.info-block.success {
    color: #19BBA3;
}

.info-block.warning {
    color: #F47905;
}

.badge {
    font-weight: 500;
}

.badge.badge-success {
    background-color: #19BBA3;
}

.badge.badge-info {
    background-color: #12A1D6;
}

h1.brand {
    display: block;
    width: 98px;
    height: 97px;
    text-indent: -999em;
    overflow: hidden;
    background: url("../img/brand-full@2x.png") no-repeat center top;
    background-size: 100%;
    margin-left: auto;
    margin-right: auto;
}

.number {
    font-family: 'Roboto Mono', monospace, 'Sarabun', sans-serif;
}

.section-title {
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    color: #E8BD70;
    margin: 48px 0 16px 0;
    position: relative;
}

.section-title .icon-prepend {
    position: absolute;
    right: 8px;
    top: 4px;
}

.section-subtitle {
    font-weight: 500;
    font-size: 1.125rem;
    color: #FFF;
    margin: 16px 0 8px 16px;
}

.navbar {
    height: 48px;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #282F44;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-bottom: solid 1px #3b4564;
    padding: 0;
}

.navbar .navbar-brand {
    display: block;
    width: 48px;
    height: 46px;
    text-indent: -999em;
    overflow: hidden;
    background: url("../img/brand-symbol@2x.png") no-repeat center top;
    background-size: 100%;
    padding: 0;
    margin: 0;
}

.navbar .navbar-toggler {
    padding: 0;
    text-align: center;
    position: relative;
}

.navbar .navbar-toggler-icon {
    font-size: 1.5rem;
    color: #FFF;
    height: auto;
    width: 48px;
}

.navbar .notification-badge {
    position: absolute;
    right: 0;
    top: -8px;
}

.main-nav {
    padding: 0 16px;
    margin-bottom: 16px;
}

.main-nav .active a {
    color: #E8BD70;
}

.main-nav a {
    color: #FFF;
    font-weight: 500;
    font-size: 0.953rem;
    margin-right: 16px;
}

.main-nav a .fal {
    font-size: 1.4rem;
    margin-right: 8px;
}

.main-nav .nav-item {
    padding: 8px;
    margin: 0;
    border-radius: 1rem;
    position: relative;
}

.main-nav .nav-item .fal {
    display: inline-block;
    width: 26px;
    text-align: center;
}

.main-nav .nav-item.active {
    background-color: #161A26;
}

.main-nav .nav-item.add-divider {
    margin-top: 32px;
}

.main-nav .nav-item.add-divider:before {
    content: "";
    display: block;
    height: 1px;
    background-color: #48526E;
    position: absolute;
    left: 0;
    top: -16px;
    right: 0;
}

.main-nav .nav-item .notification-badge {
    position: absolute;
    left: 16px;
    top: 0;
}

.main-nav .nav-item.grid-item {
    text-align: center;
    padding: 16px 8px;
}

.main-nav .nav-item.grid-item .fal {
    width: auto;
    font-size: 2rem;
    display: block;
    margin: 0 auto 8px auto;
}

.main-nav .nav-item.grid-item .notification-badge {
    left: 50%;
    top: 0;
}

.main-nav .nav-item .nav-link {
    padding: 0;
    margin: 0;
}

.announce-message {
    background-color: #12A1D6;
    color: #FFF;
    font-size: 0.8rem;
    padding: 4px 4px 4px 32px;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 8px 8px;
    height: 30px;
}

.announce-message .fas {
    position: absolute;
    left: 8px;
    top: 8px;
}

.announce-message p {
    margin: 0;
}

.member-header {
    display: block;
    background-color: #161A26;
    padding: 48px 16px 64px 16px;
    margin-bottom: -16px;
    position: relative;
}

.member-header:after {
    display: block;
    content: "";
    width: 100%;
    height: 64px;
    border-radius: 32px;
    background-color: #282F44;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -32px;
}

.member-header .member-controls {
    display: flex;
    height: 56px;
    padding: 0.5rem 0;
    justify-content: space-between;
}

.member-header .member-name {
    text-align: center;
    font-size: 0.953rem;
    margin-bottom: 0;
}

.member-header .member-name .fal {
    font-size: 1.125rem;
    display: inline-block;
    margin-right: 8px;
}

.member-header .credit-available {
    display: block;
    text-align: center;
    color: #E8BD70;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.lang-toggler {
    display: block;
    width: 28px;
    height: 28px;
    overflow: hidden;
    text-indent: -999em;
    border: 2px solid #FFF;
    border-radius: 50%;
}

.lang-toggler.lang-th {
    background: url("../img/lang-th@2x.png") no-repeat center top;
    background-size: 100%;
}

.lang-toggler.lang-en {
    background: url("../img/lang-en@2x.png") no-repeat center top;
    background-size: 100%;
}

.index-nav {
    display: flex;
    justify-content: flex-end;
}

.index-nav .lang-toggler {
    margin: 8px;
}

.icon-prepend {
    font-size: 1rem !important;
}

.icon-prepend .fal {
    display: inline-block;
    width: 1rem;
    text-align: center;
    margin-right: 8px;
}

.userbar {
    /* position: fixed; */
    z-index: 1;
    /* top: 48px; */
    left: 0;
    right: 0;
    background-color: #161A26;
    padding: 8px 0;
    font-size: 0.953rem;
}

.userbar .container {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
}

.userbar .member-name,
.userbar .credit-available {
    font-size: 0.953rem;
    margin: 0;
}

.userbar .member-name .fal {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.2rem;
}

.userbar .credit-available {
    color: #E8BD70;
}

.mini-flag {
    width: 18px;
}

.card-table {
    border-radius: 16px;
    background-color: #161A26;
    margin-bottom: 16px;
    position: relative;
    padding: 32px 16px 16px 16px;
    margin-top: 32px;
}

.card-table .mini-flag {
    margin-right: 4px;
}

.card-table .card-table-header {
    border-radius: 2rem;
    border: 1px solid #48526E;
    font-size: 0.953rem;
    font-weight: 600;
    background-color: #282F44;
    position: absolute;
    left: 16px;
    right: 16px;
    top: -18px;
    padding: 8px 16px 8px 16px;
    display: flex;
}

.card-table .card-table-header .title {
    color: #E8BD70;
    flex: 50%;
}

.card-table .card-table-header .date {
    flex: 50%;
}

.card-table .card-table-title {
    font-weight: 500;
    font-size: 0.953rem;
    color: #8493C1;
    margin: 16px 0 2.6666666667px 0;
}

.card-table .lotto-prize-number {
    font-family: 'Roboto Mono', monospace, 'Sarabun', sans-serif;
    font-size: 0.953rem;
    display: block;
    margin-bottom: 0;
}

.card-table .lotto-prize-number.first-prize {
    color: #FF5160;
}

.card-table .lotto-prize-number.prize-tba {
    color: #48526E;
}

.card-table .lotto-prize-number span:first-child {
    margin-right: 16px;
}

.card-table.grid-prize .lotto-prize-number {
    /*font-size: 1.25rem;*/
    font-size: 1rem;
}

.card-table.list-prize .table-row {
    border-bottom: 1px solid #48526E;
    padding: 8px 0;
}

.card-table.list-prize .table-row .col {
    padding: 0;
}

.card-table hr {
    background-color: #282F44;
    margin: 16px 0 0 0;
}

.card-table:last-child {
    margin-bottom: 0;
}

.main-service-group > [class^="col-"] {
    display: flex;
}

.main-service-group .main-service-item {
    display: block;
    width: 100%;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 0;
}

.main-service-group .main-service-item h4 {
    font-size: 0.953rem;
    text-align: center;
}

.main-service-group .main-service-item:hover, .main-service-group .main-service-item:focus, .main-service-group .main-service-item:active {
    text-decoration: none;
}

.main-service-group .main-service-item.mini-msi {
    border: none;
}

.main-service-group .main-service-item.mini-msi h4 {
    font-size: 0.812rem;
}

.main-service-group .main-service-item.mini-msi .main-service-icon {
    width: 48px;
    height: 48px;
}

.main-service-item.xs-msi {
    border: none;
}

.main-service-item.xs-msi h4 {
    font-size: 0.85rem;
    margin-bottom: 0px
}

.main-service-item.xs-msi .main-service-icon {
    width: 40px;
    height: 40px;
}

.main-service-group .main-service-item:after {
    display: block;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #161A26;
    opacity: 1;
    border-radius: 12px;
    z-index: -1;
}

.main-service-group .notification-badge {
    position: absolute;
    z-index: 1;
    left: 60%;
    top: 10px;
}

.main-service-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
}

.msi-lotto,
.msi-casino,
.msi-game,
.msi-soccer,
.msi-shooting,
.msi-crash {
    border: solid 4px #E8BD70;
}

.msi-lotto.main-service-item:after,
.msi-casino.main-service-item:after,
.msi-game.main-service-item:after,
.msi-soccer.main-service-item:after,
.msi-shooting.main-service-item:after,
.msi-crash.main-service-item:after {
    opacity: .6;
}

.msi-lotto .main-service-icon,
.msi-casino .main-service-icon,
.msi-game .main-service-icon,
.msi-soccer .main-service-icon,
.msi-shooting .main-service-icon,
.msi-crash .main-service-icon {
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-name: bounce;
}

@keyframes bounce {
    0% {
        transform: scale(1, 1) translateY(0);
    }
    10% {
        transform: scale(1.1, 0.9) translateY(0);
    }
    30% {
        transform: scale(0.9, 1.1) translateY(-10px);
    }
    50% {
        transform: scale(1.05, 0.95) translateY(0);
    }
    57% {
        transform: scale(1, 1) translateY(-5px);
    }
    64% {
        transform: scale(1, 1) translateY(0);
    }
    100% {
        transform: scale(1, 1) translateY(0);
    }
}

.msi-lotto {
    background-image: url("../img/msi-lotto.png");
    background-size: cover;
    border-color: #FAB10C;
}

.msi-lotto .main-service-icon {
    background: url("../img/msi-lotto@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-casino {
    background-image: url("../img/msi-casino.png");
    background-size: cover;
    border-color: #FF5C78;
}

.msi-casino .main-service-icon {
    background: url("../img/msi-casino@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-game {
    background-image: url("../img/msi-game.png");
    background-size: cover;
    border-color: #29CEED;
}

.msi-game .main-service-icon {
    background: url("../img/msi-game@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-shooting {
    background-image: url("../img/msi-shooting.png");
    background-size: cover;
    border-color: #7B5AE4;
}

.msi-shooting .main-service-icon {
    background: url("../img/msi-shooting@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-crash {
    background-image: url("../img/msi-crash.png");
    background-size: cover;
    border-color: #29CEED;
}

.msi-crash .main-service-icon {
    background: url("../img/msi-game@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-soccer {
    background-image: url("../img/msi-soccer.png");
    background-size: cover;
    border-color: #61E45A;
}

.msi-soccer .main-service-icon {
    background: url("../img/msi-soccer@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-lotto-white .main-service-icon {
    background: url("../img/msi-lotto-white@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-casino-white .main-service-icon {
    background: url("../img/msi-casino-white@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-game-white .main-service-icon {
    background: url("../img/msi-game-white@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-soccer-white .main-service-icon {
    background: url("../img/msi-soccer-white@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-prize .main-service-icon {
    background: url("../img/msi-prize@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-record .main-service-icon {
    background: url("../img/msi-record@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-numbers .main-service-icon {
    background: url("../img/msi-numbers@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-news .main-service-icon {
    background: url("../img/msi-news@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-vip .main-service-icon {
    background: url("../img/msi-vip@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-contact .main-service-icon {
    background: url("../img/msi-contact@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-gift .main-service-icon {
    background: url("../img/msi-gift@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-rules .main-service-icon {
    background: url("../img/msi-rules@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-settings .main-service-icon {
    background: url("../img/msi-settings@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-logouts .main-service-icon {
    background: url("../img/msi-signout@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-recommended .main-service-icon {
    background: url("../img/msi-recommended@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-report .main-service-icon {
    background: url("../img/msi-report@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-exchange .main-service-icon {
    background: url("../img/msi-exchange@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-home .main-service-icon {
    background: url("../img/msi-home@2x.png") no-repeat center top;
    background-size: 100%;
}

.msi-coin-exchange .main-service-icon {
    background: url("../img/msi-coin-exchange@2x.png") no-repeat center top;
    background-size: 100%;
}

.list-news .media {
    display: block;
    background-color: #161A26;
    border-radius: 16px;
    margin-bottom: 16px;
}

.list-news .media a {
    display: flex;
    padding: 16px;
    text-decoration: none;
}

.list-news .media a:hover .media-heading, .list-news .media a:focus .media-heading, .list-news .media a:active .media-heading {
    text-decoration: underline;
}

.list-news .media .media-heading {
    font-size: 0.953rem;
    margin: 0 0 5.3333333333px 0;
}

.list-news .media .media-date {
    font-size: 0.812rem;
    color: #8493C1;
}

.list-news .media .thumbnail {
    margin-right: 16px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
}

.casino-item {
    border-radius: 16px;
    position: relative;
    margin-bottom: 16px;
}

.casino-item img {
    width: 100%;
    border-radius: 16px 16px 0 0;
    margin-bottom: 64px;
}

.casino-item .casino-info {
    padding: 16px;
    background: black;
    background: linear-gradient(0deg, black 0%, black 70%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0 0 16px 16px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.casino-item .casino-info .casino-title {
    font-size: 0.953rem;
    margin: 8px 0;
}

.casino-item.highlight img {
    margin-bottom: 32px;
}

.casino-item.highlight .casino-info {
    display: flex;
    justify-content: space-between;
}

.casino-item.highlight .casino-info .casino-title {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.casino-item.popular-item:after {
    display: block;
    content: "";
    position: absolute;
    width: 75px;
    height: 24px;
    background: url("../img/badge-popular@2x.png") no-repeat center top;
    background-size: 100%;
    left: 16px;
    top: -4px;
}

.lotto-item.media {
    background-color: #161A26;
    border-radius: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lotto-item.media img {
    width: 32px;
    margin: 16px 0 0 -4px;
}

.lotto-item.media .media-body {
    padding: 8px 8px 0 8px;
}

.lotto-item.media .media-body .media-title {
    font-size: 1rem;
    margin-bottom: 2px;
}

.lotto-item.media .media-body .lotto-status {
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid #48526E;
    color: #19BBA3;
    font-size: 0.83rem;
}

.lotto-item.media .media-body .lotto-status.status-closed {
    color: #FF5160;
}

.lotto-item.media .lotto-countdown {
    flex: 0 0 100%;
    font-family: 'Roboto Mono', monospace, 'Sarabun', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 4px 8px;
}

.lotto-item.media .lotto-countdown .fal {
    color: #8493C1;
    margin-right: 8px;
}

.lotto-item.media .lotto-countdown.status-closed {
    color: #48526E;
}

.lotto-item.media:hover, .lotto-item.media:active, .lotto-item.media:focus {
    text-decoration: none;
}

.lotto-item.media:hover .media-title, .lotto-item.media:active .media-title, .lotto-item.media:focus .media-title {
    text-decoration: underline;
}

.nav-tabs {
    border-bottom: 4px solid #161A26;
    font-size: 0.875rem;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: 16px;
}

.nav-tabs .nav-link {
    color: #8493C1;
    border-radius: 0;
    border: none;
    border-bottom: 4px solid transparent;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
}

.nav-tabs .nav-link .fal {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    border: none;
    border-bottom: 4px solid #E8BD70 !important;
    color: #FFF;
}

.nav-tabs .nav-link.active .fal {
    color: #E8BD70;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-bottom-color: transparent;
}

.nav-tabs .nav-item {
    margin-bottom: -4px;
    display: flex;
    align-items: flex-end;
    flex: 1;
}

.data-table {
    margin-bottom: 8px;
    overflow: hidden;
}

.data-table .table-item {
    background-color: #161A26;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 8px;
}

.data-table .table-item .item-title {
    color: #E8BD70;
}

.data-table .table-item .item-title .badge {
    margin-right: 8px;
}

.data-table .table-item .item-col {
    font-weight: 500;
    margin-bottom: 8px;
}

.data-table .table-item .item-col .label-block {
    color: #8493C1;
    display: block;
    font-size: 0.953rem;
    font-weight: 400;
}

.bank-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.pagination .page-item .page-link {
    border: none;
    background-color: transparent;
    border-radius: 32px !important;
    padding-left: 16px;
    padding-right: 16px;
    color: #FFF;
    font-weight: 500;
}

.pagination .page-item .page-link.nav-arrow {
    background-color: #FFF;
    color: #48526E;
}

.pagination .page-item.active {
    background-color: transparent;
}

.pagination .page-item.active .page-link {
    color: #E8BD70;
}

.pagination .page-item.disabled .page-link {
    background-color: #161A26;
    color: #48526E;
}

.pagination .page-item.disabled .page-link.nav-ellipsis {
    background-color: transparent;
}

.scrollable-content {
    overflow: scroll;
    margin-bottom: 16px;
    background-color: #161A26;
    padding: 16px;
    border-radius: 16px;
}

.scrollable-content.terms {
    max-height: 400px;
}

.notification-badge {
    background-color: #FF5160;
    font-weight: 600;
    font-size: 0.7rem;
    color: #FFF;
    text-align: center;
    min-width: 26px;
    height: 22px;
    line-height: 22px;
    border-radius: 13px;
    padding: 0 8px;
    display: inline-block;
}

@media screen and (min-width: 820px) {
    .lang-toggler {
        order: 99;
    }

    .navbar .navbar-collapse .user-actions,
    .navbar .navbar-collapse .navbar-nav {
        margin-left: 30%;
        margin-right: 30%;
    }

    .btn-actions {
        display: flex;
        justify-content: space-between;
    }

    .btn-actions .btn-primary {
        order: 99;
        margin-left: 16px;
    }

    .btn-actions .btn-deposit {
        order: 99;
        margin-left: 16px;
    }

    .btn-actions .btn-withdraw {
        order: 99;
        margin-left: 16px;
    }

    .main-service-group .main-service-item.mini-msi-lg h4 {
        font-size: 0.812rem;
    }

    .main-service-group .main-service-item.mini-msi-lg .main-service-icon {
        width: 48px;
        height: 48px;
    }

    .main-service-item.xs-msi-lg h4 {
        font-size: 0.85rem;
        margin-bottom: 0px;
    }

    .main-service-item.xs-msi-lg .main-service-icon {
        width: 40px;
        height: 40px;
    }

    .pagination {
        justify-content: center;
    }
}

@media screen and (max-width: 820px) {
    .pagination {
        justify-content: space-between;
    }
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-color: #161A26;
}

.fullscreen-modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.fullscreen-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0;
    box-shadow: none;
}


.fullscreen-modal-title {
    font-weight: 300;
    font-size: 2em;
    color: #fff;
    line-height: 30px;
}

.fullscreen-modal-body {
    position: absolute;
    top: 50px;
    bottom: 0px;
    width: 100%;
    font-weight: 300;
    overflow: auto;
}

.fullscreen-modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0px;
    padding: 10px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid #48526E;
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #000 inset;
    transition: background-color 5000s ease-in-out 0s;
}

.fv-plugins-bootstrap .fv-plugins-icon {
    line-height: 48px;
}

.fv-plugins-bootstrap .fv-help-block {
    padding-left: 15px;
}

input[type="text"]:disabled {
    color: #bbbbbb !important;
}

.userbar {
    padding: 6px 0;
}

.white-rounded {
    border: 1px solid #ffffff;
}

.graysale {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.nav-item.add-divider {
    margin-top: 24px !important;
    margin-bottom: 10px !important;
}

.msi-container {
    background-image: url('../img/msi-container@2x.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}



.caret {
    background: rgba(59, 88, 152, 0.8);
    width: 2px;
    height: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: flash 1.5s infinite;
    -moz-animation: flash 1.5s infinite;
    -o-animation: flash 1.5s infinite;
    animation: flash 1.5s infinite;
}

.marquee {
    height: 50px;
    overflow: hidden;
    position: relative;
    background-color: #161a26;
    border: 1px solid #E8BD70;
    border-radius: 12px;
}

.marquee p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
}
