@import url('https://fonts.googleapis.com/css?family=Rubik:400,400i,500,500i,700,700i,900,900i&display=swap');
* {
	margin:0;
	padding:0;
	font-family: 'Rubik', sans-serif;
	font-size:14px;	
}
body {
	font-family: 'Rubik', sans-serif;
	background:#ab1000;
}

#header {
	background:url(../images/thai.jpg);
	width:100%;
	height:130px;
	border-bottom:6px solid #de9a00;
}

#header_wrapper {
	width:960px; margin:0 auto;	height:130px;
}

#header_wrapper h2 {
	float:left; 
	background: -webkit-linear-gradient(#ffd334, #eea400);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
	font-size:26px;  
	font-family: 'Rubik', sans-serif;
	font-weight:800; 
	margin:20px 0 0 30px; 
}

#logo {
	float:left; 
	margin-top:20px;
}
#top_menu_wrapper {
	background:#8c0000;
	float:right;
	width:810px;
	height:28px;
	border-bottom:.5px solid #db9801;
	border-left:.5px solid #db9801;
	border-right:.5px solid #db9801;
}

#top_menu {
	width:auto; float:left; margin:6px 0 0 13px;
}

#top_menu a {
	color:#FFF; text-decoration:none; 	
}

#top_menu a:hover {
	color:#FFF; text-decoration:underline; 	
}

#top_menu a:active {
	color:#898989; text-decoration:underline; 	
}

.top_menu_border {
	color:#ff0000;
}

#main_menu_wrapper {
	float:right; 
	height: 28px; 
	margin-top:72px; 
	margin-left:-250px;
}

#main_menu {
	width:auto; 
	height:28px;
}

#main_menu ul {
	height:28px; 
}

#main_menu li {
	float:left; 
	height:28px; 
	list-style:none;
}
#main_menu li a {
	text-decoration:none;
	display:block; 
	line-height:25px; 
	padding:0 19px;
	height:28px; 
	background:url(../images/lang_hover_bg.png); 
	border-left:1px solid #ff9900; 
	border-right:1px solid #484848; 
	color:#fff;
	text-shadow:0px 1px 1px #000;
	font-weight:600;
}
#main_menu li a:hover {
	text-decoration:none;
	display:block; 
	line-height:25px; 
	padding:0 19px;
	height:28px; 
	background:url(../images/lang_active_bg.png); 
	border-left:1px solid #484848; 
	color:#fff;
	font-weight:bold;
}

#main_menu li.active a{
	text-decoration:none;
	display:block; 
	line-height:25px; 
	padding:0 19px;
	height:28px; 
	border-right:1px solid #484848; 
	background:url(../images/lang_active_bg.png); 
	color:#fff;
}

#main {
	background:url(../images/main_bg.png) repeat-x 0 0 scroll #ab1000;
	width:100%;
	height:auto;
	overflow:hidden;
	box-shadow:10px 10px 10px #212121;
}

#main_wrapper {
	width:960px; margin:0 auto;	height:auto;
}

#home_content {
	padding:20px; width:920px; height:auto; background:#101010; margin-top:10px; color:#FFF; float:left;-webkit-box-shadow:  0px 2px 4px 2px #242728; box-shadow:  0px 2px 4px 2px #242728;
}

#left_home_content {
	width:370px; height:auto;	float:left;
}

#header_left_home_content {
	overflow:hidden; width:auto; margin:0 auto;
}

#header_left_home_content img {
	float:left; margin-right:10px; margin-left:10px;
}

#header_left_home_content h2 {
	font-size:24px;	
}

#header_left_home_content p {
	font-size:11px;	
}

#table_left_home_content {
	overflow:hidden;	
}

#table_home_1 {
	width:370px; height:auto;
}

.td1_home1 {
	text-align:center;
	background: -webkit-linear-gradient(#ffd880, #ffb208);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
	border-bottom:1px solid #404040; 
	font-size:20px;
	font-weight:800;
	width:150px; 
	padding:4px 0px;
}

.td2_home1 {
	text-align:center;
	border-bottom:1px solid #404040; 
	font-weight:500; 
	font-size:20px; 
	padding:4px 10px;
}
#table_home_2 {
	width:185px; 
	height:auto; 
	float:left; 
	border-right:1px solid #404040;
}

#table_home_2 caption {
	border-right:1px solid #404040; 
	color:#fff; 
	margin-top:5px; 
	font-size:18px;
}

.td1_home2 {
	padding:2px 0px;
	text-align:center; 
	font-weight:500; 
	font-size:17px !important;
}

.td2_home2 {
	padding:2px 0px;	
	background: -webkit-linear-gradient(#ffd880, #ffb208);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
	text-align:center; 
	font-weight:500; 
	font-size:15px;	
}

#table_home_3 {
	width:185px; height:auto; float:right;
}

#table_home_3 caption {
	color:#fff; 
	margin-top:5px; 
	font-size:18px;
}

#right_home_content {
	width:530px; height:auto;	float:right; 
}

#footer_left_home_content {
	width:100%; background:#282828; text-align:center; padding:11px 0; margin-top:5px;
}

#bottom_content {
	background:url(../images/highlights_bg.gif) repeat-x 0 0 scroll #FFF; width:960px; float:left;-webkit-box-shadow:  0px 2px 4px 2px #242728; box-shadow:  0px 2px 4px 2px #242728;
}

#bottom_content_1 {
	padding:20px; width:920px; height:auto; overflow:hidden;
}

#box1_bottomcontent {
	float:left; padding:10px; width:210px;
}

#box2_bottomcontent {
	float:left; padding:10px; width:210px;
}

#box3_bottomcontent {
	float:left; padding:10px; width:210px;
}

#box4_bottomcontent {
	float:left; padding:10px; width:210px;
}

#result_notice {
	background:url(../images/results_notice_bg.gif) repeat-x scroll 0 0; 
	height:39px; 
	margin-bottom:5px; 
	width:530px; 
	float:left;	
}

#result_notice p {
	background: -webkit-linear-gradient(#ffd880, #ffb208);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
	font-size:14px; 
	font-weight:bold; 
	margin:0; 
	padding:7px 0 0 7px;	
}

#result_notice2 {
	background:url(../images/results_notice_bg.gif) repeat-x scroll 0 0; height:39px; width:535px; float:left;	margin-top:13px; 
}

#result_notice2 p {
	color:#ffc443; font-size:14px; font-weight:bold; margin:0; padding:7px 0 0 7px;	
}

#result_jackpot {
	float:left; text-align:center; width:540px;	
}

#jackpot_logo {
	background:#FFE599; height:38px;	
}

#jackpot_winnings {
	background:#FFCB32; color#111; font-size:14px; font-weight:bold; height:112px; line-height:1.3;	
}

#jackpot_view {
	background:#F57306; height:25px; padding-top:5px;	
}

#jackpot_nextdraw {
	background:#252525; font-size:13.5px; font-weight:bold; height:48px; line-height:1.3; margin-bottom:1px; padding-left:90px; text-align:left;
}

.jackpot-rank {
	display:block; padding-top:8px; color:#000; font-size:14px;
}

.jackpot-prize {
	display:block; color:#555555; font-size:14px;  padding-top:4px;
}

#box1_bottomcontent h3  {
	font-size:12px; color:#646464;
}

#box1_bottomcontent p  {
	font-size:11px; color:#646464;
}

#box1_bottomcontent img {
	float:left; margin-right:3px;
}

#box2_bottomcontent h3  {
	font-size:12px; color:#646464;
}

#box2_bottomcontent p  {
	font-size:11px; color:#646464;
}

#box2_bottomcontent img {
	float:left; margin-right:3px;
}

#box3_bottomcontent h3  {
	font-size:12px; color:#646464;
}

#box3_bottomcontent p  {
	font-size:11px; color:#646464;
}

#box3_bottomcontent img {
	float:left; margin-right:3px;
}

#box4_bottomcontent h3  {
	font-size:12px; color:#646464;
}

#box4_bottomcontent p  {
	font-size:11px; color:#646464;
}

#box4_bottomcontent img {
	float:left; margin-right:3px;
}

.item {
	width:220px; position:relative; float:left; padding:12px 0 12px 20px;
}

.item a {
	color:#464646; display:inline-block; padding-top:5px; font-size:11px; float:left;  text-decoration:none;
}

.item img  {
	float:left; margin-right:4px;
}

#footer {
	margin:15px 0; overflow:hidden; float:left; font-size:11px; color:#fff;
}
#footer a {
	color:#ffc443; font-weight:bold; text-decoration:none;
}

#datepicker {
	width:225px;	
}

#result_date {
	float:right;	
}

.title_day {
	margin-bottom:10px;
	background: -webkit-linear-gradient(#ffd880, #ffb208);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
}

.title_day h1 {
	background: -webkit-linear-gradient(#ffd880, #ffb208);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;	
	font-size:20px; 	
}

.box_day {
	background:#212121; 	
}

.box_responsible {
	background: url(../images/highlights_bg.gif) repeat-x scroll 0 0 #FFFFFF; padding:20px; 	
}

.box_day table {
	width:100%; padding:5px;
}

.boxday-tr1 {
	background:url(../images/op_table_header_bg.gif) repeat-x scroll 0 0;
	font-size:14px;
	color:#ffc443;	
}

.boxday-tr1 td {
	padding:10px; text-align:center; font-weight:bold;
}

.boxday-tr2 {
	color:#fbfbfb;
	background:#101010;
}


.boxday-tr2 td {
	padding:5px;
	text-align:center;
}

.boxday-tr3 {
	color:#fbfbfb;
	background:#310000;
}
.boxday-tr3 td {
	padding:5px;
	text-align:center;
}

.box_responsible p,ul,li {
	color:#000;	
}

#aboutus {
	padding:10px; color:#000;	
}

#livedrawbox {
	width:370px; height:330px; margin:auto;
}

#bgdragon {
	width:958px; height:527px; background:url(../images/bg.jpg); margin-left:-19px; margin-top:10px;
}

#test a
{
text-decoration: none;
color: #FFFFFF;
}
#test a:link
{
text-decoration: none;
color:#FFFFFF;
}
#test a:visited, a.visited
{
text-decoration: none;
color: #FFFF00;
}
#test a:hover, a.hover
{
text-decoration: none;
color: #FFFFFF;
}
#contact_form { 
	padding: 0; 
	width: 400px 
}

#contact_form form { 
	margin: 0px; 
	padding: 0px;
}

#contact_form form .input_field { 
	width: 270px; 
	color: #101010; 
	padding: 5px; 
	border: 1px solid #ab1000;  
	background: #c0c0c0; 
	font-family: 'Rubik', sans-serif;
	font-size: 12px;
	margin-top: 5px;
}

#contact_form form label { 
	display: block; 
	width: 100px; 
	margin-right: 10px; 
	font-size: 12px; 
}

#contact_form form textarea { 
	width: 388px; 
	height: 200px; 
	padding: 5px; 
	color: #101010; 
	border: 1px solid #ab1000;  
	background: #c0c0c0; 
	font-family: 'Rubik', sans-serif;
	font-size: 12px;
	margin-top: 5px;
}

#contact_form form .submit_btn {
	margin: 10px 0px;
	padding: 5px 14px;
	background-color: #111111;
	color: #ffc443;
	border: 1px solid #ab1000;
}
.ling{
	text-align:center;
}
.sp{
	padding-top:5px;
	display: inline-block;
	letter-spacing:5px;
	height: 30px;
	font-size:20px;
	font-weight:bold;
	font-family: 'Rubik', sans-serif;
	color:#fff;
	text-shadow:0px 0px 4px #000;
}
#slideshow { 
    margin: auto; 
    position: relative; 
    width: 370px; 
    height: 150px; 
    padding: 0px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.4); 
}

#slideshow > div { 
    position: absolute; 
}

#slideshow > div > img{ 
    width: 100%;
    height: 140px; 
}

.ball{
	-moz-box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	-webkit-box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fbaf00), color-stop(1, #734405));
	background:-moz-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-webkit-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-o-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-ms-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:linear-gradient(to bottom, #fbaf00 5%, #734405 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbaf00', endColorstr='#734405',GradientType=0);
	background-color:#fbaf00;
	-moz-border-radius:42px;
	-webkit-border-radius:42px;
	border-radius:42px;
	border:1px solid #b56800;
	display:inline-block;
	cursor:pointer;
	color:#462e01;
	font-family: 'Rubik', sans-serif;
	font-size:20px;
	margin:3px 2px;
	font-weight:700;
	width:30px;
	height:30px;
	line-height:30px;
	text-align:center; 
	text-decoration:none;
	text-shadow:0px 1px 0px #ffd357;
}
.xball{
	-moz-box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	-webkit-box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	box-shadow:inset 0px 1.5px 0px 0px #ffe0b2;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fbaf00), color-stop(1, #734405));
	background:-moz-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-webkit-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-o-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:-ms-linear-gradient(top, #fbaf00 5%, #734405 100%);
	background:linear-gradient(to bottom, #fbaf00 5%, #734405 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbaf00', endColorstr='#734405',GradientType=0);
	background-color:#fbaf00;
	-moz-border-radius:42px;
	-webkit-border-radius:42px;
	border-radius:42px;
	border:1px solid #b56800;
	display:inline-block;
	color:#fff;
	font-family: 'Rubik', sans-serif;
	font-size:15px;
	margin:1.5px 1.5px;
	font-weight:500;
	width:28px;
	height:28px;
	line-height:28px;
	text-align:center; 
	text-decoration:none;
	text-shadow:0px 1px 0px #222;
}

/* 6-digit numbers (the database holds 6 digits per prize; the old design had room for 4): same balls, kept on ONE line in the home and live draw panels */
.td1_home1 {
	width:130px; /* was 150px: the number column now has 220px of room for 6 balls (216px) */
}
#table_home_2 .xball, #table_home_3 .xball {
	width:23px;
	height:23px;
	line-height:23px;
	font-size:13px;
	margin:1.5px 1px; /* six balls fit the 170px starter / consolation column */
}
