form {
	border: thin solid #666;
	width: 14em;
	padding: 1em;
    background-color:lightgray;
	font-family: Arial, Helvetica, sans-serif;
}

legend {
	font-size: 1.2em;
	margin-bottom: 1em;
	text-align: center;
	font-weight: bold;
    
}

input[type=number] {
	text-align: center;
    width: 7em;
}

label,
span,
output {
	display: inline-block;
	width: 5em;
}

form p {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

output {
	width: 8em;
	text-align: right;
}
