
@media (max-width: 1200px) {
.homebox .col-md-3 {
	width: 50%;
	float: left;
}
.mblack > li > a {
	padding: 0 20px;
}
.sblack > li > a {
	padding: 8px 10px;
}
#slider_full {
	height: 300px;
}
.box-result {
	width: 50%;
}
.wfix_livelk {
	width: 33.33333333%;
}
.malaysia_cols .w-20, .malaysia_cols .w-40 {
	width: 50%;
}
}

@media (max-width: 991px) {
#slider_full {
	display: none;
}
.maccount > li:first-child b {
	max-width:120px;
}
.bet_normal_odd li .box_betting_style .name {
	font-size: 12px;
}
.digit_text {
	font-size: 12px;
}
.top-line .container {
	max-width: 100%;
}
.account-use {
	position: absolute;
	top: 20px;
	right: 15px;
}
.mar_betlist {
	display: none;
}
.wfix_livelk {
	width: 50%;
}
ul.languages {
	position: absolute;
	right: 15px;
}
/*MENU*/
.mblack {
	position: relative;
	border: none;
}
.b-menu {
	position: absolute;
	top: 0;
	left: -1px;
}
.mobile-menu {
	display: block;
}
 .sub-genmenu::-webkit-scrollbar {
width: 0 !important
}
.sub-genmenu {
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}

.sub-genmenu {
	position: fixed;
	top: 0;
	width: 260px;
	margin-left: -480px;
	overflow-y: auto;
	z-index: 999!important;
	;
	-webkit-overflow-scrolling: touch;
	background-color: #3b3b3b;
	max-height: 100%;
	min-height: 100%;
	height: 100%;
	-moz-box-shadow: 0 0 5px #555;
	-webkit-box-shadow: 0 0 5px#555;
	box-shadow: 0 0 5px #555;
	-webkit-transition: all 600ms ease;
	-moz-transition: all 600ms ease;
	-ms-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}
.sub-genmenu-active {
	position: fixed;
	top: 0px;
	margin-left: 0;
	max-height: 100%;
	height: 100%;
	min-height: 100%;
	-webkit-transition: all 600ms ease;
	-moz-transition: all 600ms ease;
	-ms-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}
.menu-background {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 99;
	background-color: rgba(0,0,0,0.4);
}
/*
.b-menu:hover .sub-genmenu {
	display: block;
}*/
.mblack {
	float: left;
	width: 100%;
	margin: 0;
	background: url(../images/line-horz.png) top repeat-x;
}
.mblack > li {
	width: 100%;
	padding: 0;
	background: none;
}
.mblack > li:first-child {
	display: none;
}
.mblack > li > a {
	font-size: 13px;
	padding: 8px 10px;
	border-radius: 0;
	
	-webkit-box-shadow: inset 0 1px #787878;
-moz-box-shadow: inset 0 1px #787878;
box-shadow: inset 0 1px #787878;
border: 1px solid #292929;
	background-color: #4b4b4b;
	background-image: -webkit-linear-gradient(top, #555, #404040);
	background-image: -moz-linear-gradient(top, #555, #404040);
	background-image: -o-linear-gradient(top, #555, #404040);
	background-image: -ms-linear-gradient(top, #555, #404040);
	background-image: linear-gradient(top, #555, #404040);
	text-shadow: none;
	
	line-height: 24px;
	font-weight: bold;
	color: #fff;
	text-transform:uppercase;
}
.mblack > li:hover > a {
	background: url(../images/line-horz.png) repeat-x top;
	box-shadow: inset 0 1px #787878;
	border: 1px solid #292929;
	color: #ffd737;
}
.mblack li a span {
	float: none;
}
.mblack ul {
	position: relative;
	float: left;
	width: 100%;
	opacity: 1;
	visibility: visible;
	background: #555 url(../images/line-horz.png) repeat-x top;
	
	border: none;
	border-radius: none;
}
.mblack ul a {
	box-shadow: none;
	border: none;
	color: #ddd;
}
.mblack ul li a {
	padding: 10px 20px;
}
.mblack ul li a:hover {
	background: none;
	color: #ffd737;
}
.mblack > li.active > a {
	background-color: #4b4b4b;
	background-image: -webkit-linear-gradient(top, #555, #404040);
	background-image: -moz-linear-gradient(top, #555, #404040);
	background-image: -o-linear-gradient(top, #555, #404040);
	background-image: -ms-linear-gradient(top, #555, #404040);
	background-image: linear-gradient(top, #555, #404040);
	color:#f5c400;
	text-shadow:none;
}
.mblack h5{
	color:#fff;
}
img.iconlivelk {
	margin-top: 0 !important;
}
.menu .cols1, .menu .cols2, .menu .cols3, .menu .cols4, .menu .cols5 {
	position: relative;
	display: block;
}
.menu .cols4, .menu .col4 {
	width: 100%;
	background: #555;
	padding: 10px;
}
.mblack li a img {
	margin-top: 4px;
}
.mblack li > div {
	box-shadow: none;
	background: none;
	border: none;
	padding: 0;
}
.mblack ol {
	margin: 7px 5px;
}
.mblack ol a {
	border: none;
	box-shadow: none;
	color: #ddd;
}
.mblack ol a:hover {
	background: none;
	color: #f5c400;
	text-shadow: none;
}
.mblack h5 {
	margin: 5px 0 0 0;
	font-weight: normal;
}
.menu .cols1, .menu .col1 {
	width: 100%;
}
.sblack {
	top: 0;
	position: relative;
	float: right;
	width: 100%;
	border: none;
	border-radius: 0;
	background: none;
}
.sblack ul {
	min-width: 100%;
}
.sblack > li {
	width: 100%;
	border-right: none;
}
.sblack > li ul {
	position: relative;
	opacity: 1;
	visibility: visible;
	border: none;
	background: #555 url(../images/line-horz.png) repeat-x top;
	
	border-radius: none;
	padding: 10px 20px;
}
.sblack > li > a {
	color: #fff;
	font-size: 13px;
	padding: 12px 10px;
	border-radius: 0;
	
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: none;
	-webkit-box-shadow: inset 0 1px #787878;
-moz-box-shadow: inset 0 1px #787878;
box-shadow: inset 0 1px #787878;
border: 1px solid #292929;
	background-color: #4b4b4b;
	background-image: -webkit-linear-gradient(top, #555, #404040);
	background-image: -moz-linear-gradient(top, #555, #404040);
	background-image: -o-linear-gradient(top, #555, #404040);
	background-image: -ms-linear-gradient(top, #555, #404040);
	background-image: linear-gradient(top, #555, #404040);
	
}
.sblack > li:hover > a {
	background: url(../images/line-horz.png) repeat-x top;
	box-shadow: inset 0 1px #787878;
	border: 1px solid #292929;
	color: #ffd737;
}

.sblack ul a {
	background: none;
	padding: 7px 0px;
	white-space: normal;
	box-shadow: none;
	border: none;
	color: #ddd;
}
.sblack ul a:hover {
	background: none;
	color: #ffd737;
	text-shadow: none;
}
.sblack > li > a i {
	display: none;
}
.wfix_thai {
	width: 100%;
}

.box_QRcode .col-md-4{
	float:left;
	width:33.33333333333333%;
}

}

@media (max-width: 768px) {
.w-10, .w-20, .w-30, .w-40, .w-50, .w-60, .w-70, .w-80, .w-90 {
	width: 100%;
}

.malaysia_cols .w-20, .malaysia_cols .w-40 {
	width: 100%;
}
.height_vn, .height_malay, .height_cam {
	min-height: auto;
}
ul.bet_normal_odd {
	padding: 0;
}
.box-result {
	width: 100%;
}
.homebox .col-md-3 {
	width: 100%;
}
/*LOGIN*/
.servertime {
	top: 52px;
}
.login-form {
	float: right;
	right: 0;
	margin-top: 0;
}
 .login-form fieldset::-webkit-scrollbar {
width: 0 !important
}
.login-form fieldset {
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.login-form fieldset {
	position: fixed;
	top: 0;
	right: 0;
	display: none;
	opacity: 0;
	width: 100%;
	overflow-y: auto;
	z-index: 999 !important;
	-webkit-overflow-scrolling: touch;
	background: #f5c400 url(../images/bg_login.jpg) center top no-repeat;
	max-height: 100%;
	min-height: 100%;
	height: 100%;
	-moz-box-shadow: 0 0 5px #555;
	-webkit-box-shadow: 0 0 5px #555;
	box-shadow: 0 0 5px #555;
	-webkit-transition: all 600ms ease;
	-moz-transition: all 600ms ease;
	-ms-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}



.login-form fieldset.login_input-active {
	position: fixed;
	top: 0px;
	display: block;
	opacity: 1;
	max-height: 100%;
	height: 100%;
	min-height: 100%;
	-webkit-transition: all 600ms ease;
	-moz-transition: all 600ms ease;
	-ms-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}
ul.login_input {
	display: block;
	list-style: none;
	width: 246px;
	margin: 30px auto;
}
ul.login_input li:first-child
 {
	display: block;
}

ul.login_input li:last-child
 {
	display: block;
	text-align:center;
	padding:20px 0 10px;
}

a.backhome{
	text-align:center;
	color:#000;
	display:inline-block;
	line-height:20px;
	text-decoration:underline;
}

a.backhome i{
	font-size:20px;
	padding-right:5px;
	float:left;
}

.lockscroll{
	overflow:hidden;
}

.control_btnlogin {
	position: absolute;
	top: 15px;
	right: 15px;
	display: block;
	width: 143px;
	height: 30px;
	border: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
	line-height: 30px;
	background: #f5c400;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-transform: uppercase;
	color: #222;
	letter-spacing: 0px;
	text-decoration: none;
	-webkit-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	transition: background 0.3s ease;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0px #997a00, inset 0 -1px 0 rgba(255, 255, 255, 0.15), 0 6px 6px 1px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0px #997a00, inset 0 -1px 0 rgba(255, 255, 255, 0.15), 0 6px 6px 1px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0px #997a00, inset 0 -1px 0 rgba(255, 255, 255, 0.15), 0 6px 6px 1px rgba(0, 0, 0, 0.3);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
.control_btnlogin:hover {
	color: #df0a0a;
	background-image: none;
}
.control_btnlogin i.fa-sign-in {
	display: inline-block;
	padding-right: 5px;
	font-size: 16px;
	vertical-align: baseline;
}


ul.login_input li {
	width: 100%;
	margin-bottom: 5px;
	margin-right: 0;
}
.pass_w i {
	position: relative;
	top: 26px;
	float: left;
}
.login-form figure {
	width: 48%;
	float: right;
}
.login-form figure img {
	width: 100%;
	height: 32px;
}
.login-form fieldset input[type="text"], .login-form fieldset input[type="password"] {
	width: 100%;
	height: 34px;
	box-sizing: border-box;
}
.box_capcha {
	margin-top: 20px;
}
.capcha_w {
	width: 48%;
}
a.but_login {
	width: 100%;
	line-height: 34px;
	height: 34px;
	margin-top: 10px;
}



/*End Login*/
ul.style_control li {
	padding: 5px 0;
}
.homebox {
	margin: 5px 0;
}
.contentbox {
	margin: 15px 0;
}
.box-term, .box_terms-heading {
	width: 100%;
}
.box_form span {
	min-width: 70px;
	display: inline-block;
}
.choose_style_num {
	width: 100%;
	float: left;
	padding: 5px 10px;
}
.choose_style_num span {
	width: 100%;
	float: left;
	padding: 0 0 5px 0
}
.bet_market_head {
	float: left;
	width: 100%;
	padding: 10px 5px 3px 5px;
	margin: 0;
}
.bet_market_head .checkbox-inline3 {
	margin: 4px 0;
}
.boxBet_head ul.style_control {
	padding: 5px;
}
.boxBet_head ul.style_control li {
	width: auto;
}
.text_bet_head {
	min-width: 100px;
	display: inline-block;
	padding-left: 5px;
}
.account-use {
	top: 10px;
	font-size: 12px;
	border-radius: 5px;
}
.maccount {
	padding: 4px 0;
}
.maccount > li {
	float: none;
}
.maccount > li:first-child {
	position: absolute;
	top: 75px;
	white-space: nowrap;
	right: 120px;
}
.maccount > li:last-child {
	position: absolute;
	top: 75px;
	right: 60px;
}
.balance {
	padding: 3px 8px;
}
.about_us, .span5 {
	width: 100%;
	padding: 15px;
}
.bgball {
	white-space: normal !important;
}
.fix_thai td {
	font-size: 12px;
}


}

@media (max-width: 480px) {
ul.style_control li {
	width: 100%;
}
.maccount > li:first-child b {
	max-width:100px;
}
.height_vn .bet_normal_odd li .box_betting_style .name {
	font-size: 10px;
}
.height_vn .bet_normal_odd li .box_betting_style {
	padding: 2px;
}
.nav > li > a {
	padding: 10px 8px;
}
.btn_place, .btn_1 {
	padding: 8px 20px;
}
.box_form .btn_1 {
	padding: 5px 20px;
}
.btn_bet {
	width: 32%;
	padding: 8px 0;
	text-align: center;
	margin: 0.6%;
}
.box_btnchange {
	float: left;
	width: 100%;
}
.panel-heading .nav {
	width: 100%;
	margin-top: 5px;
	padding-top: 5px;
	background: url(../images/line-horz.png) top repeat-x
}
.table_market {
	min-width: 265px;
}

.logo a {
  width: 135px;
  margin-top: 7px;
}

}

@media (max-width: 321px) {
.fix_thai td {
	font-size: 11px;
	white-space: normal;
}
.maccount > li:first-child b {
	max-width:70px;
}
}
