/*-------- 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 ------------------------*/

.container {
	width: 100%;
	text-align: center;
	margin: auto;
	font-family: arial;
}

.logo {
	width: 100%;
	text-align: center;
	margin: auto;
	background-image: linear-gradient(to right, #152b21, #ffffff, #152b21);
	display: block;
}

.logo a {
	width: 50%;
	cursor: default;
}

#lang {
	text-align: right;
	padding: 5px;
	color: white;
	cursor: pointer;
	display: inline-block;
	width: 95%;
}

#lang a {
    color: white;
    text-decoration: none;
    
}

.body {
	width: 100%;
	border-top: 8px solid #f0b62e;
	border-bottom: 8px solid #f0b62e;
	background-image: url("../image/portugalpools-background.jpg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.contain {
	background-color: rgba(255,255,255, 0.2);
	width: 60%;
	text-align: center;
	margin: auto;
	display: block;
	padding-top: 15px;
	padding-bottom: 15px;
}

.menu {
	width: 100%;
	display: block;
	margin: auto;
}

.menu a {
	width: 19%;
	display: inline-block;
	color: white;
	font-size: 20px;
	text-decoration: none;
	padding-top: 10px;
	padding-bottom: 25px;
}

.menu a:hover {
	color: black;
}

.result {
	width: 90%;
	text-align: center;
	margin: auto;
}

.result th {
	background-image: linear-gradient(to bottom, #e10019, #8b0000);
	color: white;
	font-size: 16px;
	padding: 10px;
}

#top-left {
	border-radius: 20px 0px 0px 0px;
}

#top-right {
	border-radius: 0px 20px 0px 0px;
}

#bottom {
	border-radius: 0px 0px 20px 20px;
}

.res-num {
	width: 10%;
	background-image: url("../image/portugalpools-result.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 95%;
	vertical-align: middle;
	display: table-cell;
	height: 110px;
	font-size: 48px;
	font-weight: bold;
	color: black;
}

.res-desc {
	width: 30%;
	background-image: none;
	vertical-align: middle;
	height: 110px;
	text-align: left;
	font-size: 36px;
	font-weight: bold;
	display: table-cell;
	color: white;
	padding-left: 20px;
}

.partner {
	width: 90%;
	display: block;
	margin: auto;
}

.partner p {
	padding: 10px;
	text-align: left;
	color: white;
	font-size: 14px;
}

.partner img {
	display: inline-block;
	width: 80%;
	text-align: center;
}

.footer {
	width: 100%;
	background-image: linear-gradient(to bottom, #fbfbfb, #a9a9a9);
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 14px;
	display:block;
}

.footer p {
	width: 100%;
	color: black;
	text-align: center;
	margin: auto;
	display: inline-block;
}

.desc {
	margin: auto;
	width: 100%;
	padding-top: 15px;
	padding-bottom: 20px;
	color: #f0b62e;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}

.history {
	width: 95%;
	text-align: center;
	margin: auto;
	border: 3px green solid;
}

.history th {
	width: 14%;
	color: white;
	font-size: 18px;
	background-color: rgba(0,0,0,0.3);
	text-align: center;
	padding-top: 7px;
	padding-bottom: 7px;
	border: 3px green solid;
}

.history td {
	width: 14%;
	color: white;
	font-size: 16px;
	padding-top: 4px;
	padding-bottom: 4px;
	background-color: rgba(0,0,0,0.1);
	border-left: 3px green solid;
	border-right: 3px green solid;
	vertical-align: middle;
}

.detail {
	width: 95%;
	text-align: left;
	margin: auto;
	color: white;
	display: block;
}

.detail h1 {
	font-size: 24px;
	padding-top: 20px;
	padding-bottom: 15px;
}

.detail p {
	font-size: 18px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.detail h2 {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	color: #f0b62e;
}

.detail img {
	display: inline-block;
	width: 60%;
	padding-bottom: 20px;
}

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


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

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

#lang {
	font-size: 26px;
}

.contain {
	width: 99%;
}

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

.result th {
	font-size: 36px;
}

.partner p {
	font-size: 12px;
}

.partner img {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.footer {
	background-image: none;
	background-color: white;
}

.history {
	width: 99%;
}

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

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

.detail {
	width: 99%;
}

.detail h1 {
	font-size: 18px;
}

.detail p {
	font-size: 14px;
}

.detail h2 {
	font-size: 20px;
}

.detail img {
	width: 95%;
}

}

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


}

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



