#kp-wrapper {
	position: absolute;
	z-index: 1000;
	font-family: helvetica, sans-serif;
	background-color: rgb(100,100,110);
	text-align: left;
}

#kp-header {
	width: 100%
}

#kp-header td:first-child {
	text-align: left;
}

#kp-header td:last-child {
	text-align: right;
}

#kp-header button {
	min-width: 60px;
	border-radius: 6px;
}

#kp-valueBar {
	background-color: rgb(100,100,110);
	padding: 6px;
}

#kp-valueBar table {
	vertical-align: middle;
	width: 100%;
}

#kp-value {
	text-align: center;
	font-size: 34px;
	height: 40px;
	background-color: white;
	max-width: 162px;
	margin: 10px auto 0 auto;
}

#kp-units {
	font-size: 30px;
	color: white;
	background-color: rgb(100,100,110);
	width: 0px;
	padding: 0px;
}

#kp-pad {
	width: 100%;
	border-collapse: separate;
	border-spacing: 8px;	/* border width */
}

#kp-pad td {
	background-color: rgb(230,230,230);
	font-size: 60px;
	text-align: center;
	width: 100px;			/* default */
	height: 100px;			/* default */
	border-radius: 12px;
	padding: 0;
}

/* 3.5" phones in portrait, use smaller pads */
@media only screen and (max-width: 767px), screen and (max-height: 699px) {
	#kp-pad td {
		font-size: 50px;
		width: 70px;
		height: 70px;
		border-radius: 6px;
	}
}

/* 3.5" phones in landscape, use smaller pads */
@media only screen and (max-height: 430px) and (orientation: landscape) {
	#kp-pad {
		border-spacing: 4px;	/* border width */
	}
	#kp-pad td {
		font-size: 30px;
		width: 47px;
		height: 47px;
	}
}
