body:not(.cke_editable)::before{
	content: '';
	background: #9B0002 url('img/bg.webp') center center no-repeat;
	background-size: cover;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}
body{
}
.fContent{
	padding-bottom: 200px;
	/* background: #9B0002 url('img/background.webp?a=1') center center repeat;
	background-size: cover; */
}
@media (max-width: 550px) {
	/* body:not(.cke_editable){
		background: #9B0002 url('img/background-mobile.png') center center no-repeat;
		background-size: cover;
	} */
	/* .fContent{
		padding-bottom: 200px;
		background: #9B0002 url('img/background-mobile.png') center center repeat;
		background-size: cover;
	} */
}

.login_logo{
	padding-bottom: 20px;
}
.home_layout{
	padding-top: 15px;
}
/* .front_layout a:not(.btn),
.front_layout a:not(.btn):hover{
	color: #fff92c;
} */
.m_inner .m_login .card.bgBlur{
	border-radius: 20px;
}
.m_inner .m_regis .card.bgBlur a:not(.dd-option):not(.dd-selected),
.m_inner .m_login .card.bgBlur a:not(.dd-option):not(.dd-selected){
	color: #fff;
	text-decoration: underline;
}
.dd-options,
.dd-select{
	border-radius: 25px!important;
}
#main_menu{
	padding-top: 0;
	padding-bottom: 0;
	background: #5B2401;
	background: linear-gradient(-90deg, rgba(91, 36, 1, 1) 0%, rgba(61, 9, 0, 1) 100%);
}
.navbar-brand > img{
	height: 90px;
}
.h_money > ul > li{
	padding: 0 5px;
}
.h_losereturn .loseinfo{
	background: rgba(0, 0, 0, 0.5);
}
.navbar-toggler span,
.navbar-toggler span:nth-child(2){
	background-color: #FD9208;
}
.mLang a{
	color: #FD9208;
}
.mLang a.active{
	color: #fff;
}
.m_inner .m_box .m_left .m_menu > ul > li > a{
	color: #fff;
}
.h_mainmenu{
	display: flex;
	gap: 5px;
	margin-bottom: 15px;
	overflow-x: auto;     /* เลื่อนได้เฉพาะแนวนอน */
	overflow-y: hidden;   /* ห้ามเลื่อนแนวตั้ง */
	white-space: nowrap;  /* กันบรรทัดขึ้นลง */
	-webkit-overflow-scrolling: touch; /* ทำให้เลื่อนนุ่มบน iOS */
}
/* สำหรับ Chrome, Safari */
.h_mainmenu {
	padding-left: 10px;
	padding-right: 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE, Edge */
}
.h_mainmenu::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.h_mainmenu a{
	padding: 10px 5px;
	flex: 0 0 auto;       /* ให้ไอเท็มไม่หด */
	-webkit-transition: all .25s ease;
	   -moz-transition: all .25s ease;
	    -ms-transition: all .25s ease;
	     -o-transition: all .25s ease;
	        transition: all .25s ease;
}
.h_mainmenu a:hover{
	-webkit-transform: scale(1.1);
	   -moz-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	     -o-transform: scale(1.1);
	        transform: scale(1.1);
}
.mFooterMenu,
#main_menu{
	border-color: #FD9208;
}
.mFooterMenu{
	max-width: 800px;
	margin: auto;
	margin-bottom: 15px;
	border-radius: 30px;
	background: #FF0000;
	padding: 0;
	padding-top: 20px;
}
@media (max-width: 829px) {
	.mFooterMenu{
		max-width: 690px;
	}
}
.mFooterMenu > .container{
	background: #070101;
	background: linear-gradient(0deg, rgba(7, 1, 1, 1) 0%, rgba(64, 11, 15, 1) 100%);
	padding: 5px 0;
	border-radius: 30px;
	max-width: 100%;
	min-width: 100%;
}
.mFooterMenu a{
	min-width: 90px;
	max-width: 90px;
	height: 90px;
	padding-bottom: 0;
	display: block;
	-webkit-transition: all .25s ease;
   -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
     -o-transition: all .25s ease;
        transition: all .25s ease;
}
.mFooterMenu a > img{
	height: 100%;
	/* width: 100%; */
}
.mFooterMenu a:hover{
	-webkit-transform: translateY(-5px);
	   -moz-transform: translateY(-5px);
	    -ms-transform: translateY(-5px);
	     -o-transform: translateY(-5px);
	        transform: translateY(-5px);
}
.mFooterMenu a#fHome{
	background: #070101;
	background: linear-gradient(0deg, rgba(7, 1, 1, 1) 0%, rgba(64, 11, 15, 1) 100%);
	border: 15px solid #FF0000;
	border-radius: 50%;
	margin-top: -140px;
	min-width: 120px;
	max-width: 120px;
	height: 120px;
}
.mFooterMenu a#fHome:hover{
	min-width: 125px;
	max-width: 125px;
	height: 125px;
	border: 10px solid #850E19;
}
@media (max-width: 767px) {
	.mFooterMenu a{
		min-width: 80px;
		max-width: 80px;
		height: 80px;
	}
	.mFooterMenu{
		max-width: calc(100% - 30px);
	}

	.mFooterMenu,
	.mFooterMenu > .container{
		border-radius: 5vw;
	}
}
@media (max-width: 550px) {
	.mFooterMenu a#fHome{
		position: absolute;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	.mFooterMenu a#fHome:hover,
	.mFooterMenu a#fHome{
		min-width: 80px;
	    max-width: 80px;
	    height: 80px;
	    margin-top: -95px;
	}
	.mFooterMenu a{
		min-width: 12%;
		max-width: 12%;
	}
	.mFooterMenu > .container{
		justify-content: space-between;
		padding-left: 15px;
		padding-right: 15px;
	}
	.mFooterMenu a#fSport{
		margin-right: 10%;
	}
	.mFooterMenu a#fCasino{
		margin-left: 10%;
	}
}

.mainmessage{
	background: rgb(253 112 8 / 68%) ;
	color: #000;
}
.h_losereturn table{
	color: #fff;
}
.h_amount{
	background: url('../theme/img/bg.png') center center no-repeat;
	background-size: calc(100% + 10px) calc(100% + 10px);
    border: none;
    border-radius: 20px;
    color: gold;
    border: 5px solid #000;
}
.login_title .ms strong,
.h_promotions > nav .nav-tabs .nav-item.show .nav-link,
.h_promotions > nav .nav-tabs .nav-link.active,
.h_promotions > nav .nav-tabs .nav-link,
.h_promotions > h1{
	color: gold!important;
	text-shadow: 0px 0px 10px #000;
}

.card.bgBlur{
	background: hsl(0deg 0% 0% / 50%);
	backdrop-filter: blur(5px);
	color: #fff;
}
.card.bgBlur_{
	background: #fff;
}
.card.bgBlur_ .login_title .ms strong{
	color: #000!important;
	text-shadow: none;
}
.card.bgBlur .form-control{
	border-radius: 25px;
	background: #E0E1E3;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4) inset;
	border: none;
}
.m_login .card.bgBlur .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, 
.m_login .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
	border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.m_login .card.bgBlur  .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
	border-radius: 25px;
	position: absolute;
	right: 0;
	height: 100%;
	z-index: 7;
	width: 46px;
}
.card.bgBlur .form-control::placeholder{
	color: #aaa;
}
.h_message{
	padding: 10px 20px;
	padding-bottom: 5px;
	background: #FD7108;
	border-radius: 40px;
	box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5) inset;
	margin-top: 15px;
	margin-bottom: 15px;
	font-size: 30px;
	font-weight: 400;
}
.login_title .ms{
	background: none;
}
.login_title .ms strong{
	color: #fff;
}
.dd-selected,
.dd-selected:hover{
	color: #000;
}
nav .mMoney{
	background: #FD7F08;
	border: 2px solid #FD7F08;
}
nav .mMoney,
nav .mMoney .mIcon,
nav .mMoney a.mReset{
	color: #5B0001;
}
nav .mMoney .mIcon{
	/* color: #FECB09; */
}
.h_menu {
    background: hsl(359.34deg 100% 17.84% / 80%);
    padding: 5px;
    border-radius: 0;
}
.mFooterMenu a{
	color: #fff;
}
.mFooterMenu a:hover, .mFooterMenu a.active{
	color: red;
}
.mFooterMenu a svg path.cls-1,
.mFooterMenu a svg path,
.mFooterMenu a svg polygon{
	fill: #fff!important;
}
.mFooterMenu a:hover svg path.cls-1,
.mFooterMenu a:hover svg path,
.mFooterMenu a.active svg path.cls-1,
.mFooterMenu a.active svg path{
	fill: red!important;
}
.home_lottobox .card-header, .row_lottos .card-header{
	background:#850e19;
	color: #fff;
	border-bottom: 1px solid #000;
}
.lotto-header .card-title{
	color: #fff;
}
.home_lottobox .card-body, .row_lottos .card-body{
	background: #fcc785;
}
.lotolists .info:hover{
	background: #e1be00;
	background: linear-gradient(90deg, #e1be00 0%, #ffffff 100%);
}
.m_inner .m_box .m_left{
	background-image: url('img/bg.png?t=2');
	border-color: #d8a32f;

}
.m_inner .m_box .m_left .m_menu > ul > li:hover > a,
.m_inner .m_box .m_left .m_menu > ul > li.active > a,
.m_inner .m_box .m_left .profile > .ms2{
	color:#fff;
}
.m_inner .m_box .m_left .m_menu > ul > li > ul > li > a{
	color: #fff;
}
.home_lottobox:not(.games) .card .card-body img{
	max-width: 100%;
	height: auto!important;
}
.h_menu > ul > li a.img{
	overflow: hidden;
}
.h_menu > ul > li a.img img{
	object-fit: 100%;
}
#new_popup .pBody{
	top: 185px;
}
#new_popup .pBody .pMessage{
	height: 220px;
}
.m_inner .m_box .m_left .profile > .ms1,
.m_inner .m_box .m_left .m_menu > ul > li > ul,
.m_inner .m_box .m_left .m_menu > ul > li > ul > li.active > a{
	color: #fff;
}
#newpopup{
	padding: 0;
	padding-bottom: 20px;
	background: #440F00;
	border: 8px solid #aa8745;
	display: none;
	border-radius: 3px;
}
#newpopup::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 180px;
	background: url('/public/theme/img/bg-popup-top.png') top center no-repeat;
	background-size: 100%;
	z-index: -1;
}
#newpopup::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 180px;
	background: url('/public/theme/img/bg-popup-bottom.png') bottom center no-repeat;
	background-size: 100%;
	z-index: -1;
}
#newpopup .fancybox-close-small{
	display: none!important;
}
#newpopup .pBody{
	display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    width: 100%;
    background: #440F00;
}
#newpopup .pBody .pMessage{
	padding-left: 20px;
	padding-right: 20px;
}
#newpopup{
	border-radius: 35px;
	border-width: 3px;
	background: #440F00;
	padding-bottom: 0;
}
#newpopup .pBg{
	background: #440F00 url('../theme/img/bg-popup-line.png');
	background-repeat: repeat;
	background-size: 100% 100%;
	border-radius: 25px;
	border: 10px solid #440F00;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3) inset;
	padding: 30px;
	text-align: center;
}
#newpopup .pBody > .pTitle{
	background: #440F00;
	color: #fff;
	padding: 15px 80px;
	width: 100%;
	text-align: center;
	font-size: 30px;
	margin-bottom: 0;
	padding-top: 20px;
}
#newpopup .pBody .close{
	background: red;
	color: #fff;
	padding-left: 40px;
	padding-right: 40px;
	margin-bottom: 10px;
}
#newpopup .pBody .pLine{
	color: #000;
}
#newpopup .pBody .pLine a{
	color: #2b2c6f;
}
@media (min-width: 767px) {
	.search_box .type_game{
		gap: 10px;
	}	
}
.front_layout .btn-dark,
.front_layout .btn-danger,
.front_layout .btn-success,
.front_layout .btn-primary,
.front_layout .btn-secondary,
.front_layout .btn-warning,
.front_layout .btn-outline-success,
.front_layout .btn-outline-primary{
	border-radius: 25px;
	padding-left: 20px;
	padding-right: 20px;
}
.front_layout .btn-info,
.front_layout .btn-primary,
.front_layout .btn-success{
	border-radius: 25px;
	border: none;
}
.front_layout .btn-primary{
	background: #FC0009;
	color: #FFF;
	border: none;
}
.front_layout .btn-primary:hover{
	background: red;
}
.front_layout .btn-success{
	background: #17B326;
	color: #FFF;
	border: none;
}
.front_layout .btn-success:hover{
	background: green;
}
.search_box .type_game > a{
	background: #FEC37D;
	color: #000;
	border: none;
	border-radius: 3px!important;
	-webkit-transition: none;
	   -moz-transition: none;
	    -ms-transition: none;
	     -o-transition: none;
	        transition: none;
}
.search_box .type_game > a:hover,
.search_box .type_game > a.active{
	background: #7B1820;
	color: #fff;
}
.slick-dots{
	bottom: 20px;
}
.slick-dots li.slick-active button::before{
	color: #e1be00;
}
#PayoutForm .form-control,
#PaymentForm .form-control{
	border: none;
	border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4) inset;
}
#PayoutForm .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback),
#PaymentForm .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
	border: none;
	border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
#home_slide .img > img{
	width: 100%;
}
@media (max-width:767px) {
	.h_message{
		font-size: 1rem;
	}
	.h_mainmenu a > img{
		height: 110px;
	}

}
@media (max-width:700px) {
	#newpopup{
	/*padding: 13vw 10vw; */
	}
	#newpopup .pBody > .pTitle{
		font-size: 5vw;
		/* font-size: 4vw;
		padding: 2vw 15vw; */
	}
	#newpopup{
		background-size: 100% calc(100% - 27vw);
	}
	.mFooterMenu{
		margin-bottom: 10px;
		padding-top: 10px;
	}
	.mFooterMenu a#fHome{
		border-width: 10px;
	}
}

@media (max-width: 550px) {
	#main_menu > .container{
		padding-left: 10px;
		padding-right: 5px;
	}
	.mLang a{
		font-size: 1rem;
	}
	#main_menu{
		padding-top: 7px;
		padding-bottom: 7px;
	}
	.h_mainmenu a > img{
		height: 80px;
	}
	#new_popup .pBody{
		top: 125px;
	}
	.navbar-brand > img{
		height: 80px;
	}
	.h_amount{
		padding-top: 40px;
		padding-bottom: 40px;
		margin: 0 -13px;
    	margin-bottom: 15px;
    	border: none;
    	border-radius: 0;
	}
	.home_layout{
		padding-top: 0;
	}
	.fContent{
		padding-top: 85px;
		padding-bottom: 125px;
	}
	.mFooterMenu a{
		height: 60px;
	}
	.quckadmin{
		bottom: 110px;
	}
	.h_mainmenu{
		padding-left: 5px;
		padding-right: 5px;
	}
	.h_mainmenu a{
		padding: 10px 2px;
	}
}
@media (max-width: 424px) {
	.fContent{
		padding-top: 65px;
	}
	#new_popup .pBody{
		top: 110px;
		left: 25px;
		right: 25px;
	}
    #new_popup .pBody .pMessage {
        height: 160px;
        font-size: 1rem;
    }
    .navbar-brand > img{
		height: 35px;
	}
	nav .mMoney{
		padding-top: 0;
		padding-bottom: 0;
	}
}