/*-------- 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/mexicopools-background.jpg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: arial;
	font-size: 16px;
}

.container {
	width: 75%;
	margin: auto;
}

.header {
	margin: auto;
	text-align: center;
	display: block;
	width: 100%;
	color: #3c5b00;
	background-color: rgba(0,0,0,0);
	background-size: 100% 100%;
	font-size: 16px;
}

#language {
	width: 100%;
	display: inline-block;
}

#language a {
 text-decoration: none;
 color: black;
 cursor: pointer;
}

#time {
	width: 100%;
	display: inline-block;
}

#logo {
	width: 100%;
	display: inline-block;
}

.image-height {
	height: 20px;
	vertical-align: middle;
}

.menu {
	width: 100%;
	display: block;
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	background-image: linear-gradient(to bottom, #689c00, #3c5b00);
}

.menu a {
	width : 19%;
	margin: auto;
	text-align: center;
	text-decoration: none;
	color: white;
	display: inline-block;
}

.menu a:hover {
	color: gold;
}

.prolog {
	width: 100%;
	margin: auto;
	text-align: center;
	display: block;
	color: #3c5b00;
	font-size: 16px;
}

#date {
	height: 45px;
	line-height: 45px;
	width: 24%;
	padding-top: 15px;
	padding-bottom: 15px;
	cursor: default;
	text-decoration: none;
	color: #3c5b00;
	display: inline-block;
}

#period {
	line-height: 45px;
	height: 45px;
	width: 25%;
	padding-top: 15px;
	padding-bottom: 15px;
	cursor: default;
	text-decoration: none;
	color: #3c5b00;
	display: inline-block;
}

#livedraw {
	height: 45px;
	line-height: 45px;
	display: inline-block;
	width: 50%;
	padding-top: 15px;
	padding-bottom: 15px;
	background-image: url("../image/mexicopools-livedraw.png");
	background-repeat: no-repeat;
	background-position: center;
	color: white;
	font-size: 25px;
	cursor: pointer;
	text-decoration: none;
}

.body {
	width: 100%;
	margin: auto;
	text-align: center;
	display: block;
	color: #3c5b00;
}

.body-result {
	width: 100%;
	margin: auto;
	text-align: center;
	display: block;
	color: #3c5b00;
}

.body-result h2 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.left-body {
	width: 49%;
	display: inline-block;
}

.right-body {
	width: 49%;
	display: inline-block;
}

.result {
	text-align:center;
	margin: auto;
	width: 85%;
	color: black;
}

.result td {
	background-image: url("../image/mexicopools-result.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	text-align: center;
	vertical-align: middle;
	height: 110px;
	font-weight: bold;
	font-size: 32px;
	color: black;
	width: 13%;
	display: table-cell;
}

#winning {
	padding: 10px;
	font-size: 25px;
}

.detail {
	padding-top: 25px;
	font-size: 18px;
}

.prize {
	text-align:center;
	margin: auto;
	width: 85%;
	color: black;
}

.prize td {
	background-image: url("../image/mexicopools-jackpot-prize.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
	text-align: center;
	vertical-align: middle;
	height: 110px;
	font-weight: bold;
	font-size: 32px;
	color: black;
	display: table-cell;
}

.footer {
	width: 90%;
	margin: auto;
	text-align: center;
	padding-top: 30px;
	color: #3c5b00;
}

.history {
	width: 90%;
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	display: block;
	color: #3c5b00;	
}

.history-table {
	width: 20%;
	margin: auto;
	padding-left: 5px;
	padding-right: 5px;
	display: inline-block;
	margin-top: 10px;
}

.history-table table {
 width: 100%;   
    
}


.history-table th {
	margin: auto;
	border: 2px solid black;
	padding: 1px;
	background: #436700;
	font-size: 20px;
	color: white;
}

.history-table td {
	margin: auto;
	border: 1px solid black;
	padding: 1px;
	color: black;
	font-size: 18px;
}


/*----------------- End of CSS for index php ------------------------*/


/*----------------- Starf of CSS for Mobile Version ------------------------*/

@media only screen and (max-device-width: 900px) {

body {
	font-size: 12px;
	background-image: none;
}

.container {
	width: 95%;
	margin: auto;
}

.header {
	width: 100%;
	font-size: 24px;
}

#language {
	width: 100%;
}

#time {
	width: 100%;
}

#logo {
	width: 100%;
}

.image-height {
	display: none;
}

.menu {
	width: 100%;
	padding: 5px;
}

.menu a {
	font-size: 28px;
}

.prolog {
	width: 100%;
}

#date {
	width: 49%;
	text-align: center;
	font-size: 24px;
	padding: 0px;
}

#period {
	width: 49%;
	text-align: center;
	font-size: 24px;
	padding: 0px;
}

#livedraw {
	display: none;
}

.container-2 {
	background-image: url("../image/mexicopools-background.jpg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.body {
	width: 100%;
	padding: none;
}

.body-result {
	width: 100%;
	padding: none;
}

.result {
	width: 100%;
}

.result td {
	font-size: 34px;
	width: 15%;
	line-height: 70px;
	height: 70px;
}

#winning {
	padding: 10px;
	font-size: 36px;
}

.prize {
	width: 100%;
}

.prize td {
	font-size: 34px;
	line-height: 70px;
	height: 70px;
}

.detail {
	padding-top: 10px;
	font-size: 26px;
}

.footer {
	width: 90%;
	padding-top: 20px;
}

.history {
	width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
}

.history-table th {
	font-size: 30px;
}

.history-table td {
	font-size: 26px;
}

}

/*----------------- End of CSS for Mobile Version ------------------------*/



