/* HKPOOLS CSS */

.livedrawbtn {
	background:#bc0032; color:#FFF; font-weight:bold;
	font-size:16px; display:inline-block; padding:5px 18px;
	animation: pulse 1s infinite;
	border:2px solid #333;
}
.livedrawbtn:hover {
	background:#333; color:#FFF;
	animation:none;
	border:2px solid #333;
}

@keyframes pulse {
  0%, 49% {
    background-color: #d30038;
	border-color:#333333;
  }
  50%, 100% {
    background-color: #333333;
	border-color:#d30038;
  }
}

.hkresult {
	font-family:'Tahoma', Arial, Sans-Serif;
	width:100%; max-width:900px;
	font-size:14px;
}
.hkresultwidget {
	width:98%; max-width:320px;
	background:#FFF;
}
.hkresult thead th {
	background:#0000A0; border:2px solid #AAA;
	color:#FF0; font-weight:bold;
}
.hkresult tbody td {
	text-align:center; font-weight:bold;
	color:#333; border:2px solid #AAA;
}
.hkresult.dailyhk tbody td {
	font-size:13px;
}
.hkresultwidget thead th {
	padding:3px 5px;  font-size:12px;
	border:1px solid #AAA;
}
.hkresultwidget tbody td {
	font-weight:normal; font-size:12px;
	color:#333; padding:3px 5px;
	border:1px solid #AAA;
}
.ballhk {    
	background: #990000;
    color: #FFF;
    display: inline-block;
    padding: 3px;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    font-size: 20px;
    font-family: arial;
    line-height: 20px;
    font-weight: normal;
	text-align:center;
	cursor:default;
}
@media (max-width:767px){
	.livedrawtable td table td {
		display:block; width:100%;
	}
}
body.page-id-65 {
	background:#F1F1F1 !important;
}
.bbp-pagination-links > * {
	text-decoration:none !important;
}
.livedrawtable td, .livedrawtable th {
	border:2px solid #ADADAD;
}
.livedrawtable th {
	text-align:center;background:#0000A0;color:#FF0;
	font-weight:bold;font-size:18px;padding:3px 5px;
}
.livedrawtable td {
	padding:8px 12px; color:#ff0000; font-weight:bold; font-size:14px;
}
.livedrawtable table {
	border:none; width:100%; margin:0;
}
.livedrawtable table th, .livedrawtable table td {
	border:none; padding:0 0 10px 0;
}
.livedrawtable table tr:last-child td {
	padding-bottom:0;
}
.paginations {
	margin-top:30px;
}
.paginations .page-numbers {
	margin:0 5px;
}
.paginations .page-numbers.current {
	opacity:0.4;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								  supported by Chrome and Opera */
}
#drawing-table {
	margin:0; width:100%;
	border-collapse: collapse;
}
#drawing-table, #drawing-table td, #drawing-table th {
	border: 1px solid #CCC;
	cursor: default; padding:2px !important;
}
#drawing-table tr:nth-last-child(5n+1) {
	background: none repeat scroll 0 0 #e8e4e7 !important;
}
.hkresx {
	color: #d7d1d1;
	font-weight: normal;
	width: 20px; cursor:pointer !important;
}
.top{
	background:#0000A0 !important;
	color:#FF0; text-transform:uppercase;
}
.hkres {
	font-weight: bold;
	width: 20px; cursor:pointer !important;
}
.top.hkresx {
	color:#b7b7b7;
}
.paitowrap {
	position:relative; padding-top:50px;
}
.menu2 {
	background: #464646 none repeat scroll 0 0;
	position: absolute;
	top:0; left:0;
	width: 100%;
	z-index: 99999;
	padding: 5px 6px;
}
#clear {
	float: right;
}
#color-selector p {
	clear: both;
}
.color {
	float: left;
	height: 25px;
	position: relative;
	width: 9.7%;
}
.color.eraser {
	background: none repeat scroll 0 0 white;
cursor: pointer;
border : 1px solid black;
}
.color.red:hover, .color.pink:hover, .color.green:hover, .color.violet:hover, .color.teal:hover, .color.Blue:hover, .color.Grey:hover, .color.Orange:hover, .color.eraser:hover {
	border : 1px solid white;
}
.color.Red {
	background: none repeat scroll 0 0 #ff5050;
cursor: pointer;
border : 1px solid black;
}
.color.Pink {
	background: none repeat scroll 0 0 #ff99cc;
cursor: pointer;
border : 1px solid black;
}
.color.Green {
	background: none repeat scroll 0 0 #a9d08e;
cursor: pointer;
border : 1px solid black;
}
.color.Violet {
	background: none repeat scroll 0 0 #9966ff;
cursor: pointer;
border : 1px solid black;
}
.color.Teal {
	background: none repeat scroll 0 0 #66ffcc;
cursor: pointer;
border : 1px solid black;
}
.color.Blue {
	background: none repeat scroll 0 0 #9bc2e6;
cursor: pointer;
border : 1px solid black;
}
.color.Grey {
	background: none repeat scroll 0 0 #b2b2b2;
cursor: pointer;
border : 1px solid black;
}
.color.Orange{
	background: none repeat scroll 0 0 #f4b084;
cursor: pointer;
border : 1px solid black;
}
.color input {
	background: rgba(0, 0, 0, 0);
	border: 0 none;
	float: right;
	left: 220px;
	position: absolute;
}
.colorpicker_submit {
	color: #ffffff;
}
.colorpicker {
	z-index: 20;
}
.selected {
	border: 1px solid white;
}
#btnClear {
	float: left;
	margin-top: 0;
	width: 10%;
cursor: pointer;
height: 23px;
margin-top: 1px;
}
.mobiledespaito { text-align:center; font-size:12px; padding-bottom:5px; margin-top:-5px; color:#F00; font-weight:bold; display:none; }

@media (max-width:767px){
	#drawing-table, #drawing-table td, #drawing-table th {
		padding:1px !important; font-size:10px; background:#FFF;
	}
	#btnClear {
		font-size:8px; padding-left:0; padding-right:0;
	}
	.drawingresponsive {
		overflow-x:auto;
	}
	.mobiledespaito {
		display:block;
	}
}

@media (max-width:540px){
	.livedrawtable th {
		font-size:16px;
	}
	.livedrawtable table th, .livedrawtable table td {
		display:block; width:100%;
		padding-bottom:9px !important; 
	}
	.nopadmobile {
		padding:0 !important;
	}
	.hkresult:not(.hkresultwidget) tr th:nth-child(2), .hkresult:not(.hkresultwidget) tr td:nth-child(2), .hkresult:not(.hkresultwidget) tr th:last-child, .hkresult:not(.hkresultwidget) tr td:last-child {
		display:none;
	}
	.hkresult:not(.hkresultwidget) tr th, .hkresult:not(.hkresultwidget) tr td {
		padding:3px;
	}
	.ballhk {
		width:20px; height:20px; font-size:14px; line-height:14px;
	}
}

