/*-------- CSS -------------*/
/* ------------------Reset--------------------- */
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top;}ol, ul {list-style:none;}blockquote, q {quotes:none;}table, table td {padding:0;border:none;border-collapse:collapse;}img {vertical-align:top;}embed {vertical-align:top;}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block;}
mark, rp, rt, ruby, summary, time {display:inline;}
input, textarea {border:0; padding:0; margin:0; outline: 0;}
iframe {border:0; margin:0; padding:0;}
input, textarea, select {margin:0; padding:0px;}

/*----------------- global ------------------------*/

body {
	margin: auto;
	vertical-align: top;
	background-image: url("../image/bangkokpools-background.jpg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: century;
	cursor: default;
}

.body {
	width: 80%;
	display: block;
	margin: auto;
	color:white;
}

.menu {
	width: 90%;
	display: block;
	text-align: center;
	margin: auto;
	background-color: #1d0d37;
	border-radius: 0px 0px 8px 8px;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

.menu a {
	display: inline-block;
	width: 19%;
	margin: auto;
	text-align: center;
	font-size: 22px;
	padding-top: 10px;
	padding-bottom: 10px;
	color: white;
	text-decoration: none;
	font-weight: normal;
}

.menu a:hover {
	color: gold;
}

#thai {
	width: 9%;
	text-align: right;
}

#eng {
	width: 8%;
	text-align: justify;
}

.logo {
	display: block;
	width: 90%;
	text-align: justify;
	margin: auto;
	padding-top: 25px;
	padding-bottom: 25px;
}

.logo img {
	width: 25%;
	padding-left: 25px;
}

.contain {
	width: 87%;
	display: block;
	text-align: center;
	background-color: rgba(29,13,55,0.75);
	border-radius: 15px;
	margin: auto;
	font-family: century;
	padding: 20px;
	vertical-align: middle;
}

.winnum {
	width: 39%;
	display: inline-block;
	text-align: center;
}

.result {
	width: 95%;
	margin: auto;
	padding-left: 5px;
	padding-right: 5px;
}

.result th {
	color:gold;
	font-size: 26px;
	padding-top: 10px;
}

.result td {
	color: white;
	height:50px;
	line-height:50px;
	vertical-align:top;
	text-align: center;
	letter-spacing: 10px;
	font-size: 32px;
	padding-bottom: 3px;
	border-bottom: 1px solid white;
}

.desc {
	width: 60%;
	display: inline-block;
	text-align: center;
	background: rgba(0,35,126,0.5);
	border-radius: 0px 0px 8px 8px;
}

.desc img {
	width: 100%;
}

.gold {
	color:#ffd239;
	font-size:24px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.bg-white {
	background: rgba(255,255,255,0.3);
}

.row-white {
	background: white;
}

.row-silver {
	background: silver;
}

.prize {
	width: 100%;
	margin: auto;
	padding-left: 5px;
	padding-right: 5px;
}

.prize th {
	color:gold;
	font-size: 24px;
	padding-top: 10px;
}

.prize td {
	color: white;
	width: 33%;
	vertical-align:center;
	text-align: center;
	font-size: 26px;
	padding-bottom: 3px;
}

.history {
	width: 100%;
	margin: auto;
	color:black;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
}

.history th {
	background: silver;
	font-size: 24px;
	padding-top: 3px;
	padding-bottom: 3px;
}

.history td {
	font-size: 18px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 1px solid black;
}

.elephant {
	width: 20%;
	display: inline-block;
	text-align: center;
	position: relative;
}

.elephant img {
	width: 100%;
	margin-top: 150px;
}

.about {
	width: 90%;
	margin: auto;
	color: gold;
	text-align: center;
}

.about h2 {
	font-size: 24px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 25px;
}

.about p {
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#copy {
	color:black;
	text-align:center;
	font-size:26px;
}

#guaranteed {
	 color:gold;
	 padding-top:8px;
	 font-size:20px;
}

/*---------mobile version---------*/
@media only screen and (max-device-width: 1000px) {

.body {
	width: 100%;
}

.menu {
	width: 100%;
}

.menu a {
	font-size: 32px;
	width: 19%;
	font-weight: bold;
	padding-top: 20px;
	padding-bottom: 20px;
}

#thai {
	width: 10%;
}

#eng {
	width: 10%;
}

.logo {
	width: 100%;
	text-align: center;
}

.logo img {
	width: 50%;
}

.contain {
	width: 95%;
}

.winnum {
	width: 90%;
}

.result {
	width: 100%;
}

.result th {
	font-size: 48px;
}

.result td {
	height:70px;
	line-height:70px;
	font-size: 52px;
}

.desc {
	width: 100%;
}

.prize th {
	font-size: 42px;
}

.prize td {
	font-size: 48px;
}

.elephant {
	display:none;
}

.history th {
	font-size: 32px;
}

.history td {
	font-size: 24px;
}

.about {
	width: 100%;
}

.gold {
	font-size:36px;
}

#copy {
	font-size:32px;
}

#guaranteed {
	 font-size:32px;
}

}