/*-------- 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 ------------------------*/


/*----------------- Start of CSS for index php ------------------------*/
body {
	margin: auto;
	height: auto;
	vertical-align: top;
	background-image: url("../image/tokyopools-background.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	font-family: arial;
}

.container {
	width: 70%;
	margin: auto;
	padding: none;
	border: none;
}

.header {
	display: block;
	margin: auto;
	padding-top: 15%;
	text-align: center;
}

.menu-1 {
	display: flex;
	width: 70%;
	margin: auto;
}

.menu-1 a {
	width: 25%;
	margin: auto;
	padding-top: 15px;
	padding-bottom: 15px;
	text-decoration: none;
	color: black;
	font-size: 100%;
}

.menu-1 a:hover {
	color: red;
}

#eng {
	text-align: right;
	width: 12%;
}

#jap {
	text-align: left;
	width: 12%;
}

.menu-2 {
	display: flex;
	width: 100%;
	margin: auto;
	background-image: url("../image/tokyopools-day.png");
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	line-height: 40px;
}

.menu-2 a {
	width: 12%;
	margin: auto;
	padding-top: 5px;
	padding-bottom: 5px;
	text-decoration: none;
	color: white;
	font-size: 100%;
}

.menu-2 a:hover {
	color: black;
	
}

#winnum {
	width: 70%;
	margin: auto;
	text-align: center;
	font-family: elephant;
	font-size: 150%;
	font-weight: 900;
	padding: 10px;
	cursor: default;
}

.date-period {
	width: 70%;
	margin: auto;
	text-align: center;
	display: flex;
	padding: 10px;
}

.date-period a {
	width: 50%;
	margin: auto;
	text-align: center;
	text-decoration: none;
	cursor: default;
	color: black;
}

.prize {
	width: 70%;
	display: flex;
	margin: auto;
	text-align: center;
}

.description {
	width: 80%;
	display: block;
	margin: auto;
	text-align: center;
}

.description h1 {
	width: 100%;
	text-align: left;
	padding: 10px;
	font-size: 125%;
}

.description p {
	width: 100%;
	text-align: left;
	padding: 5px;
	font-size: 100%;	
}

.left {
	float: left;
	width: 20%;
}

.center {
	float: middle;
	width: 60%;
}

.right {
	float: right;
	width: 20%;
}

.result {
	width: 80%;
	font-family: elephant;
	font-size: 125%;
	margin: auto;
}

.result td {
	width: 25%;
	text-align: center;
	background-image: url("../image/tokyopools-result-ball.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	line-height: 100px;
	color: white;
	padding-top: 10px;
	padding-bottom: 10px;
	cursor: default;
}

.resultdesc {
	width: 100%;
	font-family: arial;
	font-weight: bold;
	font-size: 100%;
	margin: auto;
}

.resultdesc td {
	width: 100%;
	text-align: right;
	line-height: 100px;
	color: black;
	padding-top: 10px;
	padding-bottom: 10px;
	cursor: default;
}

.jackpot {
	width: 100%;
	margin: auto;
	text-align: center;
	font-family: elephant;
	font-size: 120%;
	font-weight: 900;
	cursor: default;
}

#jp-1 {
	background-image: url("../image/tokyopools-1st-prize.png");
	background-size: 75%;
	background-repeat: no-repeat;
	background-position: center;
	line-height: 150px;
}

#jp-2 {
	background-image: url("../image/tokyopools-2nd-prize.png");
	background-size: 75%;
	background-repeat: no-repeat;
	background-position: center;
	line-height: 150px;
}

#jp-3 {
	background-image: url("../image/tokyopools-3rd-prize.png");
	background-size: 75%;
	background-repeat: no-repeat;
	background-position: center;
	line-height: 150px;
}

.history {
	width: 90%;
	margin: auto;
	text-align: center;
}

.history th {
	width: 20%;
	font-weight: 900;
	font-size: 125%;
	border: 1px solid black;
	padding: 7px;
	font-family: elephant;
}

.history td {
	width: 20%;
	font-size: 100%;
	border: 1px solid black;
	padding: 5px;
	font-family: arial;
}

.desc-footer {
	width: 70%;
	text-align: center;
	margin: auto;
	padding: 20px;
	cursor: default;
}

/*----------------- End of CSS for index php ------------------------*/


/*----------------- Starf of CSS for Mobile Version ------------------------*/

@media only screen and (max-device-width: 900px) {

.container {
	width: 100%;
}

.menu-1 {
	width: 100%;
}

.menu-1 a {
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 200%;
}

.menu-2 {
	line-height: 40px;
}

.menu-2 a {
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 150%;
}

.date-period {
	width: 100%;
	padding: 5px;
	font-size: 200%;
}

#winnum {
	width: 100%;
	font-size: 100%;
}

.prize {
	width: 100%;
}

.description {
	width: 90%;
	display: block;
	margin: auto;
	text-align: center;
}

.description h1 {
	width: 100%;
	text-align: left;
	padding: 5px;
	font-size: 100%;
}

.description p {
	width: 100%;
	text-align: left;
	padding: 2px;
	font-size: 90%;	
}

.left {
	float: left;
	width: 30%;
}

.center {
	float: right;
	width: 65%;
}

.right {
	display: none;
	width: 1%;
}

.result {
	width: 100%;
	font-size: 100%;
}

.jackpot {
	font-size: 200%;
}

#jp-1 {
	background-size: 100%;
	line-height: 180px;
}

#jp-2 {
	background-size: 100%;
	line-height: 180px;
}

#jp-3 {
	background-size: 100%;
	line-height: 180px;
	
}

.desc-footer {
	width: 90%;
	font-size: 90%;
}

#date {
	width: 30%;
}

.history {
	width: 95%;
	margin: auto;
	text-align: center;
}

.history th {
	width: 19%;
	font-weight: 900;
	font-size: 200%;
	border: 1px solid black;
	padding: 2px;
	font-family: elephant;
}

.history td {
	width: 17%;
	font-size: 150%;
	padding: 2px;
}

.resultdesc {
	width: 100%;
	font-size: 250%;
}

.resultdesc td {
	text-align: center;
	line-height: 125px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.result {
	width: 100%;
	font-size: 250%;
}

.result td {
	width: 25%;
	text-align: center;
	background-image: url("../image/tokyopools-result-ball.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	line-height: 125px;
	color: white;
	padding-top: 5px;
	padding-bottom: 5px;
}

}

@media only screen and (max-device-width: 450px) {

.menu-2 {
	line-height: 50px;
}

.menu-2 a {
	padding-top: 1px;
	padding-bottom: 1px;
	font-size: 175%;
}

}

/*----------------- End of CSS for Mobile Version ------------------------*/



