html
{ height: 100%;}

*
{ margin: 0;}

body{
	color:black;
	background-color:#f5f5f5;
}

h2 {
	color:white;
	clear:both;
	background:#2A6EBB;
	padding:2px;
	margin-top:2%;
	margin-bottom: 2%;
}
h3 {
    font-style: italic;
    font-size: 1.4em;
    margin-top: .5em;
}
a {
	color:#01489f;
}
a:hover {
	color:#2a6ebb;
}

a:visited{
	color:#01489f;
}

#main{
	margin: 10px auto;
	width:77%;
	background:white url(../images/paper.jpg) repeat scroll 0% 50%;
	border:3px solid #2A6EBB;
}
@media screen and (max-width:800px){
	#main {
		width:calc(100% - 10px);
	}
}
p.error {
	text-align:center;
	padding-bottom:1%;
}

#title{
	text-align:center;
}
h1.title a{
	font:32pt "Times New Roman", Times, serif;
	text-decoration:none;
	vertical-align:middle;
	color:black;
}
h1.title a span{
	font-size:1.7em;
	color:#2a6ebb;
}

#content{
	margin:2% 6%;
}
#content p{
	padding:.5% 0%;
}

#content ul{
	margin-bottom:1%;
}

/* MENU */
#menu{
	width: 43%;
	margin: 10px auto;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
}
#menu ul {
	list-style:none;
	overflow:hidden;
	margin:0;
	padding:0;
	display:flex;
	flex-wrap:wrap;

}
#menu li {
	flex:1;
	padding:1%;
	margin:0px 2.5% 0px 2.5%;
	text-align:center;
}
#menu a {
	display:block;
	text-decoration:none;
	color:black;
	padding:5px;
}
#menu a:hover {
	background: #2A6EBB;
	color:white;
}
#menu a.current {
	background: #2A6EBB;
	color:white;
}
#menu li.end {
	clear:both;
}
@media screen and (max-width:800px){
	#menu {
		width:100%;
	}
}
/* FOOTER */
#footer{
    clear:both;
}
#footer address{
	font:1em/1em "Arial", helvetica, sans-serif;
	color:black;
	overflow:hidden;
	padding-top:1em;
	text-align:center;
}
#footer address p{
	display:inline;
}

#footer span.bluebullet{
	color:#2A6EBB;
	font-weight:bold;
}
#footer p.copyright{
	font-style:italic;
	text-align:center;
	margin-top:10px;
}
#footer hr{
	width:43%;
	margin:0 auto;
	border-top:1px solid black;
	border-bottom:1px solid black;
	color:black;
}

/* ABOUT */
#callout {
	text-align:center;
	font-size:2em;
	margin:.2em auto;
	font-style:italic;
	font-weight:bold;
}

/* PRODUCTS */
#keypoint-pic{
	text-align:center;
	font-size:1.2em;
	margin:.7em auto;
	font-style:italic;
	font-weight:bold;
	float:right;
	padding:0;
	margin:0 0 0 1%;
	border:thin solid #2A6EBB;
}
#live-tally-pic{
	text-align:center;
	font-size:1.2em;
	margin:.7em auto;
	font-style:italic;
	font-weight:bold;
	float:right;
	padding:0;
	margin:0 0 0 1%;
	border:thin solid #2A6EBB;

}

/* CONTACT */
#quoteform {
	max-width:45%;
	margin:0 auto;
}

#quoteform fieldset {
  border-color: #2A6EBB;
  border-width: 1px;
  border-style: solid;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0px;
}
#quoteform fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
	color:#000000;
}

#quoteform label {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 40%;
	padding: 0px;
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
}

#quoteform input, #quoteform textarea {
	width:15em;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0px 0px 10px; /* set margin on left of form elements rather than right of label aligns textarea better in IE */
    border:2px inset #2A6EBB;
	background:#FFFFFF;
}

#quoteform input#reset,  input#submit{
	margin:5px;
	background-color:#2A6EBB;
	border:medium outset #DDDDDD;
	color:#FFFFFF;
	font-weight:bold;
	width:10em;
}
#quoteform div.formbutton{
	margin:0px auto;
	text-align:center;
}

#quoteform textarea { overflow: auto; }
#quoteform br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}
@media screen and (max-width:800px){
	#quoteform {
		max-width:100%;
	}
}