/*------------- RESET CSS -----------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}


body {
    width: 100%;
    
	background: url(../img/Background-Shanghai.jpg) top center no-repeat white;
	background-size: 100%;
	background-attachment: fixed;
	font-family: 'Noto Serif SC', serif;

}

.container {
	width: 1000px;
	margin: auto;
}


.head {
	width: 100%;
	box-sizing: border-box;
	background: #5b5b5b;
	
	
}

.head td {
    
    border-bottom: 4px solid #ffba00;

}

.head td:hover {
    
    border-bottom: 4px solid #ff0000;

}

.head table {
    width: 100%;
    
}

#logo {
	display: block;
	width: 320px;
	height: 50px;
	background: url(../img/Logo-Shanghai-Lottery.png) center no-repeat;
	background-size: 100% 100%;
	margin: auto;
}


.buttons {
    width: 16.25%;
    vertical-align: middle;
    text-align: center;
}

.buttons a {
	text-decoration: none;
	color: white;
	font-size: 16px;
	font-weight: bold;
	transition: 0.5s ease;
}


.buttons a:hover {
	color: #ffba00;
	
}



.breadcumb {
	height: 20px;
	
}

.content {
	width: 100%;
	background: rgba(81,81,81,0.6);	
	box-sizing: border-box;
	display: block;
	padding: 30px 0px 0px 0px;
	color: white;
	border: 1px solid #5b5b5b;
}

.content ol {
	padding: 10px 40px;
	
}

.content h2 {
	margin: 0px 0px 20px 20px;
	font-size: 32px;
}

#winning {
	width: 90%;
	height: 280px;
	text-align: center;
	margin: auto;
	
	background: url(../img/Result-Table-Shanghai.png) top center no-repeat;
	background-size: 100% 100%;
	padding-top: 100px;
}

#winning table {
	width: 80%;
	margin: auto;
	
	
	
}

.today {
	width: 100%;
	text-align: center;
	padding: 5px 0px 10px 0px;
	color: white;
	font-size: 34px;
	font-weight: bolder;
	
}

.time {
	width: 50%;
	text-align: center;
	color: white;
}

.goldfont {
	color: gold;
	
}

.windesc {
	width: 50%;
	text-align: center;
	color: gold;
	font-size: 32px;
	font-weight: bolder;
	vertical-align: middle;
	
}

.windesc img {
    margin-top: 10px;
	width: 45px;
	height: 45px;
}

.info {
	width: 100%;
	box-sizing: border-box;
	padding: 15px;
}

.blinking {
	opacity: 1;
	animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}




.foot {
	width: 100%;
	box-sizing: border-box;
	background: #feb900;
	color: white;
	text-align: center;
	border: 1px solid #5b5b5b;
}

.foot p {
	background: #5b5b5b;
	width: 100%;
	padding: 10px 0px;
}

.foot img {
	width: 200px;
	height: 85px;
	margin: 15px;
}

.result {
	width: 100%;
	text-align: center;
	height: 720px;
	padding: 0px 25px;
	
}

.fetch {
	width: 29%;
	margin: 15px;
	float: left;
}

.resdate {
	text-align: center;
	background: #8f0004;
	color: white;
}

.periodate {
	text-align: center;
	background: #8f0004;
	color: white;
}

.fetch table {
	width: 100%;
	
}

.nameprize {
    color: gold;
    background: #5b5b5b;
}

.numprize {
    color: white;
    background: #5b5b5b;
}

.fetch td {
	width: 50%;
	padding: 5px;
	text-align: center;
	border: 1px gold solid;
}

.prize {
	width: 100%;
	padding: 15px;
	text-align: center;
}

.prizer {
	display: table-cell;
	width: 300px;
	padding: 10px;
}


.prizer table {
	width: 100%;
	
}


.prizer td {
	width: 100%;
	text-align: center;
}

.prize1 {
    background: url(../img/Icon-Prize1-Shanghai.png) top center no-repeat;
    width: 250px;
    height: 180px;
    padding-top: 130px;
}

.prize2 {
    background: url(../img/Icon-Prize2-Shanghai.png) top center no-repeat;
    width: 250px;
    height: 190px;
    padding-top: 140px;
}

.prize3 {
    background: url(../img/Icon-Prize3-Shanghai.png) top center no-repeat;
    width: 250px;
    height: 190px;
    padding-top: 140px;
}

.prizer span {
   
	font-weight: bold;
	color: gold;
	font-size: 20px;
	animation: myspan 2s infinite;
}

@keyframes myspan {
  25% {
	  
	  color: green;
	  
  }
  
  50% {
    color: red;
  }
  
  75% {
	  
	  color: blue;
  }
  
}

.total {
	padding: 15px 0px;
	font-size: 24px;
	font-weight: bold;
	border: 1px solid #787878;
	border-radius: 15px;
	color: gold;
	animation: myprize 1s infinite;
}

@keyframes myprize {
  25% {
	  
	  color: green;
	  
  }
  
  50% {
    color: red;
  }
  
  75% {
	  
	  color: blue;
  }
  
}



