.overloadplay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overloadplay .spinner-border {
    border-right-color: #ffc107;
}

.overloadplay.active {
    display: block;
    opacity: 1;
}

.overloadplay .overloa-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (1.6rem * 5));
}

.overloadplay .over-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    outline: 0;
}



/*-------- CSS Navbar TOP ---------------*/

.makinput {
    color: #ca0202;
}

.navbar {
    position: fixed;
    top: 0rem;
    display: block;
    width: 100%;
    height: 55.19px;
    z-index: 888;
    padding: .1rem 0.5rem !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.bg-navbar {
    background: #e40404;
   /* background: rgba(133, 0, 0, 1);
    background: -moz-linear-gradient(top, rgba(133, 0, 0, 1) 0%, rgba(133, 0, 0, 1) 11%, rgba(230, 3, 3, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(133, 0, 0, 1)), color-stop(11%, rgba(133, 0, 0, 1)), color-stop(100%, rgba(230, 3, 3, 1)));
    background: -webkit-linear-gradient(top, rgba(133, 0, 0, 1) 0%, rgba(133, 0, 0, 1) 11%, rgba(230, 3, 3, 1) 100%);
    background: -o-linear-gradient(top, rgba(133, 0, 0, 1) 0%, rgba(133, 0, 0, 1) 11%, rgba(230, 3, 3, 1) 100%);
    background: -ms-linear-gradient(top, rgba(133, 0, 0, 1) 0%, rgba(133, 0, 0, 1) 11%, rgba(230, 3, 3, 1) 100%);
    background: linear-gradient(to bottom, rgba(133, 0, 0, 1) 0%, rgba(133, 0, 0, 1) 11%, rgba(230, 3, 3, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#850000', endColorstr='#e60303', GradientType=0);*/
   
}

.progress {
    display: none;
}

#NotiIcon .fas {
    font-size: 1.8rem;
    color: #fff
}

#NotiIcon .ballCount {
    display: none;
    position: absolute;
    background-color: #08d;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    right: 2vw;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.1rem;
}

#NotiIcon .ballCount.zero {
    display: none;
}

#NotiIcon .ballCount_all {
    display: none;
    position: absolute;
    background-color: #08d;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    right: 2vw;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.1rem;
}
#notiiconChatsod{
    display: none;
    position: absolute;
    background-color: #08d;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    right: 20px;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.3rem;
}
/*-------- END CSS Navbar TOP ---------------*/


/********* CSS RESET ALL Style ***********/

.btn-danger {
    background-color: #f92444 !important;
    border-color: #fd555e !important;
}

.rowmg0 {
    margin: 0px;
}

.col-pad0 {
    padding: 0px;
}

.col-pad4 {
    padding: 4px;
}

.col-pad8 {
    padding: 8px;
}

.swal2-popup .swal2-title {
    font-size: 1.5em !important;
}

.swal2-popup .swal2-content {
    font-size: 1em !important;
}

.bntplay {
    background-color: #b40101 !important;
    border-color: #df0303 !important;
    width: 100%;
    font-size: 0.75rem;
    border-radius: 5rem;
    -webkit-box-shadow: 2px 2px 5px -1px rgba(249, 36, 68, 0.75);
    -moz-box-shadow: 2px 2px 5px -1px rgba(249, 36, 68, 0.75);
    box-shadow: 2px 2px 5px -1px rgb(249, 36, 68, 1);
    margin-bottom: 0.5rem;
}

.btn_download {
    background-color: #403a3a !important;
    border-color: #6b5c5c !important;
    webkit-box-shadow: 2px 2px 5px -1px rgba(68, 67, 67, 0.75);
    -moz-box-shadow: 2px 2px 5px -1px rgba(249, 36, 68, 0.75);
    box-shadow: 2px 2px 5px -1px rgb(72, 68, 69);
}

.bntSubmit {
    background-color: #e33939 !important;
    border-color: #e33939 !important;
    width: 100%;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    padding: .575rem .75rem;
    -webkit-box-shadow: 2px 2px 5px -1px rgba(249, 36, 68, 0.75);
    -moz-box-shadow: 2px 2px 5px -1px rgba(249, 36, 68, 0.75);
    box-shadow: 2px 2px 5px -1px rgb(249, 36, 68, 1);
}
.bnt-login-signin{
    background: #e33939 !important;
    border-radius: 30px !important;
    color: #ffffff;
}

.container-main {
    width: 100%;
    padding-right: 4px;
    padding-left: 4px;
    margin-right: auto;
    margin-left: auto;
}


/********* END CSS RESET ALL Style ***********/

#content {
    padding-top: 55px;
    padding-bottom: 58px;
    height: inherit;
}

#content .box-menu-home {
    padding-left: 2px;
    padding-right: 2px;
}

#content .box-menu-home .text-menu {
    font-size: 95%;
}

#content .box-menu-home .box-btn {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    border: solid #f30808a8 1px;
}

#content .box-menu-home.box-video img {
    border-radius: 0.5rem;
    height: 216px;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 2px;
}

#banner-x4 img {
    border-radius: 0.5rem;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 2px;
}

#content .box-menu-home .btn-light {
    border-radius: 15px;
    background: -webkit-linear-gradient(135deg, rgba(234, 241, 255, 0.86) 0%, rgb(245, 233, 233) 47%, rgb(255, 254, 254) 48%, rgb(255, 255, 255) 100%);
    background: -moz-linear-gradient(135deg, rgba(234, 241, 255, 0.86) 0%, rgb(245, 233, 233) 47%, rgb(255, 254, 254) 48%, rgb(255, 255, 255) 100%);
    background: -o-linear-gradient(135deg, rgba(234, 241, 255, 0.86) 0%, rgb(245, 233, 233) 47%, rgb(255, 254, 254) 48%, rgb(255, 255, 255) 100%);
    background: linear-gradient(135deg, rgba(234, 241, 255, 0.86) 0%, rgb(245, 233, 233) 47%, rgb(255, 254, 254) 48%, rgb(255, 255, 255) 100%);


    box-shadow: 0 4px 3px rgb(231 42 42 / 50%);
    /*background: rgba(47, 47, 47, 1);
    background: -moz-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(228, 228, 228, 1)), color-stop(47%, rgba(228, 228, 228, 1)), color-stop(48%, rgba(237, 237, 237, 1)), color-stop(100%, rgba(237, 237, 237, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -ms-linear-gradient(135deg, #efefef 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: linear-gradient(135deg, #899094 0%, rgba(228, 228, 228, 1) 47%, rgb(193, 193, 193, 1) 48%, rgba(237, 237, 237, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1);*/
}

#content .box-menu-home .btn-light2 {
    border-radius: 15px;
    background: rgba(90, 16, 16, 1);
    background: -moz-linear-gradient(-45deg, rgba(90, 16, 16, 1) 0%, rgba(31, 4, 4, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(31, 4, 4, 1)), color-stop(100%, rgba(31, 4, 4, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(90, 16, 16, 1) 0%, rgba(31, 4, 4, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(90, 16, 16, 1) 0%, rgba(31, 4, 4, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(90, 16, 16, 1) 0%, rgba(31, 4, 4, 1) 100%);
    background: linear-gradient(135deg, rgba(90, 16, 16, 1) 0%, rgba(31, 4, 4, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#581010', endColorstr='#230505', GradientType=1);
}

#boxhome-01 .box-menu-home .btn-btnregister {
    border-radius: 0.5rem;
    background: rgba(217, 0, 39, 1);
    background: -moz-linear-gradient(-45deg, rgba(217, 0, 39, 1) 0%, rgba(110, 4, 24, 1) 49%, rgba(97, 5, 13, 1) 50%, rgba(113, 0, 20, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(217, 0, 39, 1)), color-stop(49%, rgba(110, 4, 24, 1)), color-stop(50%, rgba(97, 5, 13, 1)), color-stop(100%, rgba(113, 0, 20, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(217, 0, 39, 1) 0%, rgba(110, 4, 24, 1) 49%, rgba(97, 5, 13, 1) 50%, rgba(113, 0, 20, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(217, 0, 39, 1) 0%, rgba(110, 4, 24, 1) 49%, rgba(97, 5, 13, 1) 50%, rgba(113, 0, 20, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(217, 0, 39, 1) 0%, rgba(110, 4, 24, 1) 49%, rgba(97, 5, 13, 1) 50%, rgba(113, 0, 20, 1) 100%);
    background: linear-gradient(135deg, rgba(217, 0, 39, 1) 0%, rgba(110, 4, 24, 1) 49%, rgba(97, 5, 13, 1) 50%, rgba(113, 0, 20, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#d90027', endColorstr='#710014', GradientType=1);
}

#boxhome-01 .box-menu-home .btn-btnLogin {
    border-radius: 0.5rem;
    background: rgba(103, 103, 103, 1);
    background: -moz-linear-gradient(-45deg, rgba(103, 103, 103, 1) 0%, rgba(103, 103, 103, 1) 12%, rgba(103, 103, 103, 1) 25%, rgba(71, 71, 71, 1) 39%, rgba(56, 56, 56, 1) 51%, rgba(56, 56, 56, 1) 59%, rgba(56, 56, 56, 1) 60%, rgba(56, 56, 56, 1) 76%, rgba(56, 56, 56, 1) 91%, rgba(56, 56, 56, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(103, 103, 103, 1)), color-stop(12%, rgba(103, 103, 103, 1)), color-stop(25%, rgba(103, 103, 103, 1)), color-stop(39%, rgba(71, 71, 71, 1)), color-stop(51%, rgba(56, 56, 56, 1)), color-stop(59%, rgba(56, 56, 56, 1)), color-stop(60%, rgba(56, 56, 56, 1)), color-stop(76%, rgba(56, 56, 56, 1)), color-stop(91%, rgba(56, 56, 56, 1)), color-stop(100%, rgba(56, 56, 56, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(103, 103, 103, 1) 0%, rgba(103, 103, 103, 1) 12%, rgba(103, 103, 103, 1) 25%, rgba(71, 71, 71, 1) 39%, rgba(56, 56, 56, 1) 51%, rgba(56, 56, 56, 1) 59%, rgba(56, 56, 56, 1) 60%, rgba(56, 56, 56, 1) 76%, rgba(56, 56, 56, 1) 91%, rgba(56, 56, 56, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(103, 103, 103, 1) 0%, rgba(103, 103, 103, 1) 12%, rgba(103, 103, 103, 1) 25%, rgba(71, 71, 71, 1) 39%, rgba(56, 56, 56, 1) 51%, rgba(56, 56, 56, 1) 59%, rgba(56, 56, 56, 1) 60%, rgba(56, 56, 56, 1) 76%, rgba(56, 56, 56, 1) 91%, rgba(56, 56, 56, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(103, 103, 103, 1) 0%, rgba(103, 103, 103, 1) 12%, rgba(103, 103, 103, 1) 25%, rgba(71, 71, 71, 1) 39%, rgba(56, 56, 56, 1) 51%, rgba(56, 56, 56, 1) 59%, rgba(56, 56, 56, 1) 60%, rgba(56, 56, 56, 1) 76%, rgba(56, 56, 56, 1) 91%, rgba(56, 56, 56, 1) 100%);
    background: linear-gradient(135deg, rgba(103, 103, 103, 1) 0%, rgba(103, 103, 103, 1) 12%, rgba(103, 103, 103, 1) 25%, rgba(71, 71, 71, 1) 39%, rgba(56, 56, 56, 1) 51%, rgba(56, 56, 56, 1) 59%, rgba(56, 56, 56, 1) 60%, rgba(56, 56, 56, 1) 76%, rgba(56, 56, 56, 1) 91%, rgba(56, 56, 56, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#383838', GradientType=1);
}

#boxhome-01 .box-menu-home .btn-btndasboard {
    border-radius: 0.5rem;
    background: rgba(248, 80, 50, 1);
    background: -moz-linear-gradient(-45deg, rgba(248, 80, 50, 1) 0%, rgba(199, 36, 14, 1) 50%, rgba(214, 35, 11, 1) 51%, rgba(240, 47, 23, 1) 71%, rgba(231, 56, 39, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(248, 80, 50, 1)), color-stop(50%, rgba(199, 36, 14, 1)), color-stop(51%, rgba(214, 35, 11, 1)), color-stop(71%, rgba(240, 47, 23, 1)), color-stop(100%, rgba(231, 56, 39, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(248, 80, 50, 1) 0%, rgba(199, 36, 14, 1) 50%, rgba(214, 35, 11, 1) 51%, rgba(240, 47, 23, 1) 71%, rgba(231, 56, 39, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(248, 80, 50, 1) 0%, rgba(199, 36, 14, 1) 50%, rgba(214, 35, 11, 1) 51%, rgba(240, 47, 23, 1) 71%, rgba(231, 56, 39, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(248, 80, 50, 1) 0%, rgba(199, 36, 14, 1) 50%, rgba(214, 35, 11, 1) 51%, rgba(240, 47, 23, 1) 71%, rgba(231, 56, 39, 1) 100%);
    background: linear-gradient(135deg, rgba(248, 80, 50, 1) 0%, rgba(199, 36, 14, 1) 50%, rgba(214, 35, 11, 1) 51%, rgba(240, 47, 23, 1) 71%, rgba(231, 56, 39, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827', GradientType=1);
}


/*------------- Page Casino Sport Slot --------------*/

.boxicon-casino {
    padding: 1rem 0 1rem 0;
}

.boxicon-casino .text-menu {
    /*color: #4a4b4c;*/
    color:#000;
    font-size: 60% !important;
}

.boxicon-casino img {
    width: 100%;
}

.border-titlecasino {
    border-bottom: solid 2px #cc0729;
    padding: 0px !important;
    margin-bottom: 2px;
    margin-top: 2px;
}

.btn-titlecasino {
    border: none;
    border-radius: 12px 12px 0 0;
    background-color: #cc0729 !important;
    color: #fff;
    padding: 1px 1rem 0px 0.5rem;
}


/************ CSS BANNER HOME ********/

#banner-home img {
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}


/*------------ Rich Menu ---------*/

#richmenu {
    position: fixed;
    bottom: -100%;
    width: 100%;
    height: auto;
    padding: 2px;
    background-color: #9a0000;
    -webkit-transition: bottom 0.5s;
    transition: bottom 0.5s;
}

#richmenu .grid-container {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    grid-gap: 0px;
    padding: 2px;
}

#richmenu .grid-container>a {
    text-align: center;
    color: #fff;
    border: solid 1px #fff;
}

#richmenu .grid-container>a:nth-child(2) {
    border-left: none;
    border-right: none;
}

#richmenu .grid-icon {
    padding: 0.8rem;
}

#richmenu .grid-icon img {
    width: 88%;
    max-width: 120px;
}

#richmenu .grid-text {
    font-size: 90%;
    font-weight: 300;
}

#richmenu_contect {
    position: fixed;
    bottom: 56px;
    width: 100%;
    height: auto;
    padding: 2px;
    background-color: #9a0000;
    -webkit-transition: bottom 0.5s;
    transition: bottom 0.5s;
    display: none;
}

#richmenu_contect.active {
    display: block;
}

#richmenu_contect .grid-container {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 0px;
    padding: 2px;
}

#richmenu_contect .grid-container>a {
    text-align: center;
    color: #fff;
    border: solid 1px #fff;
}

#richmenu_contect .grid-container>a:nth-child(2) {
    border-top: none;
    border-bottom: none;
}

#richmenu_contect .grid-icon {
    padding: 0.8rem;
}

#richmenu_contect .grid-icon img {
    width: 88%;
    max-width: 120px;
}

#richmenu_contect .grid-text {
    font-size: 2rem;
    font-weight: 300;
}


/*---------- CSS FOOTER -----------*/

#footer {
    position: fixed;
     /* Gradient รองรับทุกเบราว์เซอร์ */
    background: #e40404;
    bottom: 0rem;
    width: 100%;
    height: 60px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    line-height: 0.8;
    z-index: 888;
    -webkit-transition: bottom 0.5s;
    transition: bottom 0.5s;
}

#footer .grid-container {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    /*grid-gap: 2px;
  padding: 2px;*/
}

#footer .grid-container>a {
    text-align: center;
    color: #fff;
    text-decoration: none;
}

#footer .grid-icon img {
    height: 40px;
}

#footer .grid-text {
    padding-top: 0.2rem;
    font-size: 70%;
    font-weight: 400;
}


/*---------- END FOOTER -----------*/


/*--------- CSS Notification Modal -----------*/

#Notification_Modal .modal-dialog {
    margin: 0rem !important;
}

#Notification_Modal .modal-content {
    border: none !important;
    border-radius: 0rem !important;
    background-color: transparent;
}

#Notification_Modal .modal-header {
    display: block;
    height: 55px;
    padding: 0.5rem 0rem !important;
    background-color: #df0202;
    border-radius: 0rem;
    border-bottom: 1px solid #f52f2f;
    color: #fff;
}

#Notification_Modal .grid-container {
    display: grid;
    grid-template-columns: 10% 50% 40%;
}

#Notification_Modal .grid-container>div {
    padding: 0 0.5rem;
    font-size: 1rem;
}

#Notification_Modal .grid-container>div:nth-child(1)>i {
    text-align: center;
    font-size: 1.75rem;
}

#Notification_Modal .grid-container>div:nth-child(2) {
    text-align: left;
    font-size: 1.2rem;
}

#Notification_Modal .grid-container>div:nth-child(3) {
    text-align: right;
}

#Notification_Modal .grid-container>div:nth-child(3)>button {
    font-size: 0.8rem;
}

#Notification_Modal .modal-body {
    padding: 0.5rem !important;
    height: calc(100vh - 55px);
    background: rgba(121, 141, 156, 0.82);
    overflow-y: scroll;
}

#Notification_Modal .modal-body::-webkit-scrollbar {
    width: 3px;
}


/* Track */

#Notification_Modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

#Notification_Modal .modal-body::-webkit-scrollbar-thumb {
    background: #455767;
    border-radius: 5px;
}


/* Handle on hover */

#Notification_Modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#Notification_Modal .modal-body .list-group-item {
    border-radius: 1rem !important;
    padding: 0.5rem !important;
    background: rgba(254, 254, 254, 1);
    background: -moz-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(253, 253, 253, 1) 49%, rgba(228, 228, 228, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(254, 254, 254, 1)), color-stop(49%, rgba(253, 253, 253, 1)), color-stop(100%, rgba(228, 228, 228, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(253, 253, 253, 1) 49%, rgba(228, 228, 228, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(253, 253, 253, 1) 49%, rgba(228, 228, 228, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(253, 253, 253, 1) 49%, rgba(228, 228, 228, 1) 100%);
    background: linear-gradient(135deg, rgba(254, 254, 254, 1) 0%, rgba(253, 253, 253, 1) 49%, rgba(228, 228, 228, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#dbdbdb', GradientType=1);
}

#Notification_Modal .modal-body .list-group .grid-container {
    display: grid;
    grid-template-columns: 15% 85%;
}

#Notification_Modal .noti-panel {
    padding-left: 0.8rem !important;
}

#Notification_Modal .noti-title {
    font-size: 1rem !important;
}

#Notification_Modal .noti-detail {
    font-size: 0.8rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 40px;
    /* fallback */
    -webkit-line-clamp: 2;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

#Notification_Modal .noti-datetime {
    font-size: 0.6rem !important;
    padding-top: 0.5rem;
}

#Notification_Modal .box-circle {
    text-align: center;
    width: 50px;
    margin: auto;
    padding: 0rem !important;
}

#Notification_Modal .circle01 {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #d9dcde;
    text-align: center;
    padding: 0.65rem;
}

#Notification_Modal .circle01>i {
    font-size: 1.8rem;
}


/*--------- CSS Page Casino Detail -------------*/

.bgcasino_box0 {
    padding: 0rem 0.5rem;
    color: #fff;
    position: fixed;
    z-index: 990;
    /*background: rgba(87,0,15,1);
	background: -moz-linear-gradient(-45deg, rgba(87,0,15,1) 0%, rgba(143,2,34,1) 56%, rgba(204,12,22,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(87,0,15,1)), color-stop(56%, rgba(143,2,34,1)), color-stop(100%, rgba(204,12,22,1)));
	background: -webkit-linear-gradient(-45deg, rgba(87,0,15,1) 0%, rgba(143,2,34,1) 56%, rgba(204,12,22,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(87,0,15,1) 0%, rgba(143,2,34,1) 56%, rgba(204,12,22,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(87,0,15,1) 0%, rgba(143,2,34,1) 56%, rgba(204,12,22,1) 100%);
	background: linear-gradient(135deg, rgba(87,0,15,1) 0%, rgba(143,2,34,1) 56%, rgba(204,12,22,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#57000f', endColorstr='#cc0c16', GradientType=1 );*/
    background-color: #e40404;
    border-top: solid 1px#e7b8b8;
}

#menuBackBar,
#menuTitleCasino {
    width: 100%;
    height: inherit;
}

#menuTitleCasino .grid-container {
    display: grid;
    grid-template-columns: 80% 20%;
    /*grid-gap: 2px;
  padding: 2px;*/
}

#menuTitleCasino label,
#menuTitleCasino a,
#menuBackBar label,
#menuBackBar a {
    font-size: 0.95rem;
    font-weight: 300;
}

#menuBackBar .fas {
    font-size: 2.5rem;
}

#countGame {
    font-size: 0.85rem !important;
    padding: 1rem 0;
    color: #fff;
}

#menuTitleCasino img,
#menuBackBar img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-right: 1.5vw;

}

#menuBackBar .grid-container {
    display: grid;
    grid-template-columns: 20% 80%;
    /*grid-gap: 2px;
  padding: 2px;*/
}

.bgcasino_box1 {
    padding: 0.5rem;
    color: #fff;
    padding-top: 5rem;
    background: rgba(87, 0, 15, 1);
    background: -moz-linear-gradient(-45deg, rgba(87, 0, 15, 1) 0%, rgba(143, 2, 34, 1) 56%, rgba(204, 12, 22, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(87, 0, 15, 1)), color-stop(56%, rgba(143, 2, 34, 1)), color-stop(100%, rgba(204, 12, 22, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(87, 0, 15, 1) 0%, rgba(143, 2, 34, 1) 56%, rgba(204, 12, 22, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(87, 0, 15, 1) 0%, rgba(143, 2, 34, 1) 56%, rgba(204, 12, 22, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(87, 0, 15, 1) 0%, rgba(143, 2, 34, 1) 56%, rgba(204, 12, 22, 1) 100%);
    background: linear-gradient(135deg, rgba(87, 0, 15, 1) 0%, rgba(143, 2, 34, 1) 56%, rgba(204, 12, 22, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#57000f', endColorstr='#cc0c16', GradientType=1);
}

.alert-casino {
    border-radius: 0.5rem !important;
    padding: 0.5rem !important;
    background: rgba(254, 254, 254, 1);
    background: -moz-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(209, 209, 209, 1) 49%, rgba(219, 219, 219, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(254, 254, 254, 1)), color-stop(49%, rgba(209, 209, 209, 1)), color-stop(100%, rgba(219, 219, 219, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(209, 209, 209, 1) 49%, rgba(219, 219, 219, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(209, 209, 209, 1) 49%, rgba(219, 219, 219, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(254, 254, 254, 1) 0%, rgba(209, 209, 209, 1) 49%, rgba(219, 219, 219, 1) 100%);
    background: linear-gradient(135deg, rgba(254, 254, 254, 1) 0%, rgba(209, 209, 209, 1) 49%, rgba(219, 219, 219, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#dbdbdb', GradientType=1);
}

#bgbox_iconcasino {
    border-radius: 8px;
    padding: 1vh 0;
    /*background: rgba(8,9,13,1);
    background: -moz-linear-gradient(45deg, rgba(8,9,13,1) 0%, rgba(139,151,156,1) 100%);
	background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(8,9,13,1)), color-stop(100%, rgba(139,151,156,1)));
    background: -webkit-linear-gradient(45deg, rgba(8,9,13,1) 0%, rgba(139,151,156,1) 100%);
    background: -o-linear-gradient(45deg, rgba(8,9,13,1) 0%, rgba(139,151,156,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(8,9,13,1) 0%, rgba(139,151,156,1) 100%);
    background: linear-gradient(45deg, rgba(8,9,13,1) 0%, rgba(139,151,156,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#08090d', endColorstr='#8b979c', GradientType=1 );*/
    background: rgba(47, 47, 47, 1);
    background: -moz-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(228, 228, 228, 1)), color-stop(47%, rgba(228, 228, 228, 1)), color-stop(48%, rgba(237, 237, 237, 1)), color-stop(100%, rgba(237, 237, 237, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(228, 228, 228, 1) 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: -ms-linear-gradient(135deg, #efefef 0%, rgba(228, 228, 228, 1) 47%, rgba(237, 237, 237, 1) 48%, rgba(237, 237, 237, 1) 100%);
    background: linear-gradient(135deg, #899094 0%, rgba(228, 228, 228, 1) 47%, rgb(193, 193, 193, 1) 48%, rgba(237, 237, 237, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1);
    -webkit-box-shadow: 2px 3px 14px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 3px 14px -1px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 3px 14px -1px rgba(0, 0, 0, 0.75);
}

#bgbox_iconcasino img {
    width: 100%;
}

.text_iconcasino {
    text-align: center;
    color: #4a4b4c;
    padding-top: 0.5rem;
    font-size: 80%;
}


/*---------- CSS ICON GamePlay -----------*/

#gameplay {
    width: 100%;
}

#gameplay .grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    /*grid-gap: 2px;
  padding: 2px;*/
}

#gameplay .grid-container>div {
    text-align: center;
    color: #737373;
}

#gameplay .grid-icon img {
    height: 50px;
}

#gameplay .grid-text {
    padding-top: 0.2rem;
    font-size: 0.9rem;
    font-weight: 300;
}


/*------------ CSS Promotion ----------------*/

#accordionPromotion .card-header {
    background-color: #fff;
}

#accordionPromotion .card {
    border: none;
    margin-top: 0.5rem;
}

#accordionPromotion .card-header .btn-link {
    font-weight: 300;
    color: #646d77;
    font-size: 0.95rem;
    padding-left: 0px;
    text-decoration: none;
}

#accordionPromotion .card-header .btn-link .fas {
    padding-right: 2vw;
}

#accordionPromotion .card-body {
    border-bottom: solid 1px #dfdfdf;
    padding: 0.5rem 0;
}

#accordionPromotion .card-body img {
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

#GamePromotionList {
    width: 100%;
}

#GamePromotionList .grid-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

#GamePromotionList .grid-container a {
    padding: 0.2rem;
}


/*------------- Details Promotion ----------------*/

#DetailPromotion {
    padding-top: 1rem;
}

#Boxslip .box1_right {
    background-color: #d4d4d4;
    color: #101010;
    padding: 1rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 0.9rem;
}

#Boxslip h5 {
    font-size: 0.95rem;
}

#Boxslip .box1_right p {
    margin-bottom: 0px;
    font-size: 3.6vw;
}

#Boxslip .box1_right ul {
    padding-left: 0.9rem;
}

#Boxslip .box1_right ul>li {
    list-style-type: decimal;
    font-size: 3.6vw;
}
#Boxslip .box1_right a{
    color: #ca0202;
    font-weight: 500;
}


/******** Form Register ********/

#RegisForm .form-control {
    border: 1px solid #cfcfcf;
    font-size: 1.1rem;
}

#RegisForm select {
    font-size: 0.9rem !important;
}

#RegisForm .col-form-label {
    font-size: 0.9rem;
    color: #606369;
}

#RegisForm .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #B1B1B1;
    font-weight: 200;
    font-size: 0.8rem;
}

#RegisForm .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: #B1B1B1;
    font-weight: 200;
    font-size: 0.8rem;
}

#RegisForm .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: #B1B1B1;
    font-weight: 200;
    font-size: 0.8rem;
}

#RegisForm .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: #B1B1B1;
    font-weight: 200;
    font-size: 0.8rem;
}

#RegisForm .alert-light {
    border-radius: 1rem !important;
    padding: 0.5rem !important;
    background-color: #d4d4d4;
    border-color: #f5f5f5;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

#RegisForm .grid-container {
    display: grid;
    grid-template-columns: 25% 75%;
}

#RegisForm .game-title {
    font-size: 0.95rem;
}

#RegisForm .noti-panel {
    padding-left: 2vw !important;
}

#RegisForm .text-muted {
    color: #6c757d!important;
    font-size: 0.7rem;
}

#RegisForm .grid-container .pro-detail {
    font-size: 0.7rem;
}

#RegisForm legend {
    padding-left: 0.7rem;
    font-size: 0.95rem;
    border-bottom: solid 1px #d0d0d0;
    margin-top: 2vh;
    font-weight: 600;
    color: #525252;
}

#ListBank.alert-light {
    border-radius: 1rem !important;
    padding: 0.5rem !important;
    background-color: #e1e4e6 !important;
    border-color: #dbe9f3 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    text-decoration: none;
}

#ListBank .grid-container {
    display: grid;
    grid-template-columns: 15% 85%;
}

.progressbar {
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.progressbar li {
    list-style-type: none;
    width: 33.33%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #7d7d7d;
}

.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 27px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}

.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active {
    color: green;
}

.progressbar li.active:before {
    border-color: #55b776;
}

.progressbar li.active+li:after {
    background-color: #55b776;
}


/*--------- CSS FormBank Modal -----------*/

#Formbank_Modal .modal-dialog {
    margin: 0rem !important;
}

#Formbank_Modal .modal-content {
    border: none !important;
    border-radius: 0rem !important;
    background-color: transparent;
}

#Formbank_Modal .modal-header {
    display: block;
    padding: 0.7rem 0rem !important;
    background-color: #b40101;
    border-radius: 0rem;
    color: #fff;
}

#Formbank_Modal .grid-container {
    display: grid;
    grid-template-columns: 15% 85%;
}

#Formbank_Modal .grid-container>div {
    padding: 0 0.5rem;
    font-size: 1rem;
}

#Formbank_Modal .grid-container>div:nth-child(1)>i {
    text-align: center;
    font-size: 1.75rem;
}

#Formbank_Modal .grid-container>div:nth-child(2) {
    text-align: left;
    font-size: 1.2rem;
}

#Formbank_Modal .modal-body {
    padding: 0.2rem !important;
    height: calc(100vh - 53px);
    background: #f5f5f5;
    overflow-y: scroll;
}

#Formbank_Modal .noti-panel {
    padding-left: 0.8rem !important;
}

#Formbank_Modal .noti-title {
    font-size: 1rem !important;
}

#Formbank_Modal .noti-detail {
    font-size: 0.8rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 40px;
    /* fallback */
    -webkit-line-clamp: 2;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

#Formbank_Modal .modal-body::-webkit-scrollbar {
    width: 3px;
}


/* Track */

#Formbank_Modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

#Formbank_Modal .modal-body::-webkit-scrollbar-thumb {
    background: #455767;
    border-radius: 5px;
}


/* Handle on hover */

#Formbank_Modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/**********************************/

.switch {
    font-size: 1rem;
    position: relative;
}

.switch input {
    position: absolute;
    height: 1px;
    width: 1px;
    background: none;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    padding: 0;
}

.switch input+label {
    position: relative;
    min-width: calc(calc(2.375rem * .8) * 2);
    border-radius: calc(2.375rem * .8);
    height: calc(2.375rem * .8);
    line-height: calc(2.375rem * .8);
    display: inline-block;
    cursor: pointer;
    outline: none;
    user-select: none;
    vertical-align: middle;
    text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}

.switch input+label::before,
.switch input+label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(calc(2.375rem * .8) * 2);
    bottom: 0;
    display: block;
}

.switch input+label::before {
    right: 0;
    background-color: #dee2e6;
    border-radius: calc(2.375rem * .8);
    transition: 0.2s all;
}

.switch input+label::after {
    top: 2px;
    left: 2px;
    width: calc(calc(2.375rem * .8) - calc(2px * 2));
    height: calc(calc(2.375rem * .8) - calc(2px * 2));
    border-radius: 50%;
    background-color: white;
    transition: 0.2s all;
}

.switch input:checked+label::before {
    background-color: #08d;
}

.switch input:checked+label::after {
    margin-left: calc(2.375rem * .8);
}

.switch input:focus+label::before {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}

.switch input:disabled+label {
    color: #868e96;
    cursor: not-allowed;
}

.switch input:disabled+label::before {
    background-color: #e9ecef;
}

.switch.switch-sm {
    font-size: 0.875rem;
}

.switch.switch-sm input+label {
    min-width: calc(calc(1.9375rem * .8) * 2);
    height: calc(1.9375rem * .8);
    line-height: calc(1.9375rem * .8);
    text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}

.switch.switch-sm input+label::before {
    width: calc(calc(1.9375rem * .8) * 2);
}

.switch.switch-sm input+label::after {
    width: calc(calc(1.9375rem * .8) - calc(2px * 2));
    height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}

.switch.switch-sm input:checked+label::after {
    margin-left: calc(1.9375rem * .8);
}

.switch.switch-lg {
    font-size: 1.25rem;
}

.switch.switch-lg input+label {
    min-width: calc(calc(3rem * .8) * 2);
    height: calc(3rem * .8);
    line-height: calc(3rem * .8);
    text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}

.switch.switch-lg input+label::before {
    width: calc(calc(3rem * .8) * 2);
}

.switch.switch-lg input+label::after {
    width: calc(calc(3rem * .8) - calc(2px * 2));
    height: calc(calc(3rem * .8) - calc(2px * 2));
}

.switch.switch-lg input:checked+label::after {
    margin-left: calc(3rem * .8);
}

.switch+.switch {
    margin-left: 1rem;
}



@media (max-width: 576px) { 
    #content > div:nth-child(1) > div > div.col-10.col-pad0 > h5{
        font-size:1.45rem !important;
    }
}
@media (min-width: 576px) { 
    #Formbank_Modal .modal-dialog ,#Notification_Modal .modal-dialog{
        margin: auto !important;
    }
    #content > div:nth-child(1) > div > div.col-10.col-pad0 > h5{
        font-size:1.45rem !important;
    }
    #content > div:nth-child(1) > div > div:nth-child(1) > a > label > i{
        font-size:2rem !important;
    }
    #content,.bgcasino_box0,#footer .grid-container{
        max-width: 430px;
        margin: auto;
    }
    .dashboard-menutop{
        max-width: 430px;
    }
    .dashboard-menutop h5{
        font-size: 1.5rem !important;
    }
    #content > div.container-main.dashboard-menutop > div > div:nth-child(1) > a > label > i{
        font-size: 2rem !important;
        cursor: pointer;
    }
    #formSubmit > h5{
        font-size: 1.25rem !important;
    }
    .bntSubmit{
        font-size: 1.25rem;
    }

    #Boxslip h5 {
        font-size: 0.9rem;
    }
    #Boxslip .box1_right p ,#Boxslip .box1_right ul>li {
        margin-bottom: 0px;
        font-size: 0.9rem;
    }
    #RegisForm .col-form-label {
        font-size:  0.9rem;
    }
    #RegisForm select {
        font-size: 0.9rem;
    }
    #emailHelp{
        font-size: 0.9rem !important;
    }
    .bntpass{
        border-radius: 2rem;
        width:50%;

    }
	
	.my-images img {
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    width: 150px; /* ปรับขนาดรูปภาพตัวอย่าง */
    height: 100px;
    object-fit: cover;
    transition: border-color 0.3s;
}
.my-images img:hover {
    border-color: #333;
}

}

