html {
	margin: 0;
	padding: 0;
	height: 100%;
}

body{
	text-align: center;
	font-family: Arial; sans-serif;
	margin: 0;
	padding: 0;
	font-size: 14px;
	background-color: #BFBFBF;
	background: -webkit-linear-gradient(#B0B0B0, #F0F0F0); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#B0B0B0, #F0F0F0); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#B0B0B0, #F0F0F0); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#B0B0B0, #F0F0F0); /* Standard syntax */	
	height:99.4%; /*Fixes odd issue with it being just over 100% of the window...*/
	/*height: 	100%;*/
	background-repeat: no-repeat;
	background-attachment: fixed;
	
}

#header {
	top: 0;
 }
img {
	border: 0px none;
}
.imlogo{
	position:absolute;
	bottom:	40%;
	left: 0.5%;
}

div#container {
	width: 1060px;
	margin: 0 auto;
	margin-bottom: 0;
	min-height: 100%;
	text-align: left;
	/*padding-top: 1px;*/
	position: relative;
	background-color: #EEEEEE;
}

/*Main navigation bar setup*/
#navitems{
	display: inline-table;
	width: 100%;
	/*height: 40px;*/
	padding: 0px 0px 0px 0px;
	margin-top: 2px;
	margin-bottom: 2px;
}
#navitems li{
display: table-cell;
border-right: 2px solid #FFFFFF;
height: 35px;
}

#navitems li:hover {
		background-color: #A79898;

}

.logobar{
	position: relative;
	display: inline;
	margin: 0;
	padding-bottom: 0px;
}

.navlinks{	
	font-style: normal;
	font-family: 'xoloniumbold', Lucidia sans, sans-serif;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	background-color: #877878;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-width: 2px;
	border-bottom-width: 0px;
	border-color: #292929;
	border-style: solid;
	padding-top: 0px;
	padding-bottom: 3.5px;
	padding-left: 0px;
	padding-right: 0px;
	width: 100%;
	color:	#929292;
	margin-top: -5px;
}

#navitems a{
	display:block;
	height: 100%;
}
#navitems A:link, #navitems A:visited {
	color: #A0BBBC;
	text-decoration: none;
}

#navitems A:active{
	color:	#929292;
	text-decoration: none;
}
#navitems A:hover{
	color:	#826060;
	text-decoration: none;
	font-style: italic;
}

#subnavitems{
	display: inline-table;
	width: 100%;
	padding: 0px 0px 0px 0px;
	margin-top: 1px;
	margin-bottom: 1px;
	height: 45px;
}

#subnavitems li{
	display: table-cell;
	border-right: 2px solid #FFFFFF;
	height: 100%;
}

#subnavitems li:hover {
		background-color: #F7E8E8;

}

.subnavlinks{	
	font-style: normal;
	font-family: 'xoloniumregular', Lucidia sans, sans-serif;
	font-size: 16px;
	text-align: center;
	font-weight: normal;
	background-color: #C7B8B8;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-width: 2px;
	border-top-style: dotted;
	border-bottom-width: 0px;
	border-color: #292929;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	width: 100%;
	color:	#929292;
	margin-top: -5px;
	vertical-align: middle;
}

#subnavitems a{
	display: block;
	height: 100%;	
} 

#subnavitems A:link, #subnavitems A:visited {
	color: #607B7C;
	text-decoration: none;
}

#subnavitems A:active{
	color:	#CCBBCC;
	text-decoration: none;
}
#subnavitems A:hover{
	color:	#8866a4;
	text-decoration: none;
	font-style: italic;
}

/*Main text area*/
div#mainbod{	
	/*border-left:	3px solid #000000;
	border-right:	3px solid #000000;*/
	border-top-color:	#292929;
	border-top-width:	3px;
	border-top-style:	solid;	
	background-color: #EEEEEE;
	padding:	10px;
	padding-bottom:	50px;
	min-height: 100%;
}

#footer {
	margin-top:	-50px;	
	width: 100%;
	height:	50px;
	position: absolute;
	bottom: 0px;
	background-color: #877878;
	font-size: 10px;
	color: #C7B8B8;
	padding: 0px;
	margin-top: 1px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-width: 2px;
	border-bottom-width: 0px;
	border-color: #292929;
	border-style: solid;
	padding-bottom: 0;
}

#footerstuff {
	display: inline-table;
	width: 99%;
	padding: 0px 5px 0px 5px;
	margin-top: 3px;
	margin-right: 10px;
}

#footerstuff li{
display: table-cell;
}

h1{
	padding-left: 5px;
	margin-left: 1%;
	width: 63%;
	color: white;
	font-size: 20px;
	font-weight: bold;
	background: -webkit-linear-gradient(left, #977878 , #EEEEEE); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, #977878, #EEEEEE); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, #977878, #EEEEEE); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to right, #977878 , #EEEEEE); /* Standard syntax */
}

h2{
	padding-left:	5px;
	margin-left:	1%;
	width:	63%;
	font-size:	18px;
	font-weight:	normal;
	color:	#333333;
	background: -webkit-linear-gradient(left, #B79898 , #EEEEEE); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, #977878, #EEEEEE); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, #977878, #EEEEEE); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to right, #B79898 , #EEEEEE); /* Standard syntax */
}

p{
	padding-left: 5px;
	margin-left: 1%;
	width: 98%;
}

.bodlist li{
	list-style-type: none;
}

.bodlist A:link, .bodlist A:visited{
	text-decoration:	none;
	color: #444444;
}
.bodlist a:hover, .bodlist a:active{
	text-decoration: none;
	font-style: italic;
	font-weight: bold;
	color:	#447760;
}

.halfspanleft{	
	/*width:	49%;
	float:	left;*/
	flex: 1;
	
}

.halfspanright{
	flex: 1;
}

.jobtitle{
	font-style: italic;
	font-weight: bolder;
	color: #1144a0;
}

.motto{
	font-style: italic;
	font-size: larger;
	font-weight: bolder;
	color: #1144aa;
}

/*Selected page formatting*/
body#home li#homenav, body#about li#aboutnav, body#services li#servicesnav, body#contact li#contactnav{
	background-color: #C7B8B8;
	color: #929292;
}

body#home li#homenav A:link, body#about li#aboutnav A:link, body#services li#servicesnav A:link, body#contact li#contactnav A:link,
body#home li#homenav A:visited, body#about li#aboutnav A:visited, body#services li#servicesnav A:visited, body#contact li#contactnav A:visited{
	color: #929292;
}

/*Service specific pages*/
body#services div#products li#productnav a, body#services div#systems li#systemsnav a, body#services div#electronics li#electrnav a,
body#services div#databases li#databasenav a, body#services div#projects li#projectnav a, body#services div#plm li#plmnav a{
	color: #727272;
	font-weight: bold;
	background-color: #C7B8B8;
}

#mainbod h1 a:link, #mainbod h1 a:visited{
	text-decoration: none;
	color: inherit;
}

#mainbod h1 a:hover, #mainbod h1 a:active{
	font-style: italic;
	color: #3333CC;
}

#mainbod h2 a:link, #mainbod h2 a:visited{
	text-decoration: none;
	color: inherit;
}

#mainbod h2 a:hover, #mainbod h2 a:active{
	font-style: italic;
	color: #3333CC;
}

#mainbod #bios p a:link, #mainbod #bios p a:visited{
	color: #000000;
	text-decoration: none;
}

#mainbod #bios p a:hover{
	font-style: italic;
	color: #ff0000;
}

.biodetail{
	display: flex;
}

#mainbod a.subduedlink:link, #mainbod a.subduedlink:visited{
	color: #333333;
	text-decoration: none;
}

#mainbod a.subduedlink:hover{
	font-style: italic;
	color: #ff0000;
}

#footer a.subduedlink:link, #footer a.subduedlink:visited{
	color: #A79898;
	text-decoration: none;
}

#footer a.subduedlink:hover{
	font-style: italic;
	color: #F78888;
}