#content {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
  width: 100%;
}

/**************************************************************
   Top menu and logo
 **************************************************************/

#header {
  clear: both;
  position: relative;
  height: 1em;
  margin: 0 auto;
  border-bottom: 1px solid #FFFFFF;
  background-color: #1C66AF;
}


#header a img {
  position: absolute;
  top: 15px;
  left: 645px;
}

#header ul {
  position: relative;
  top: 2em;
  left: -1em;
  padding: 0;
  float: right;
}

html>body #header ul {
  top: 1em;
} 

#header ul li {
  display: inline;
  list-style: none;
}

#header ul li a {
  float: left;
  padding: 0 1em;
  font: 400 1.1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;
  color: #808080;
  border-right: 1px solid #808080;
}

#header ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#header ul li a:hover {
  color: #FF0000;
}


/**************************************************************
   Header Image
 **************************************************************/

#headerImg {
  margin: 0 auto;
  height: 100px;
  background: url(img?bg-header_image.jpg) no-repeat top left;
  background-color: #1C66AF;
}


/**************************************************************
   Top Block Menu
 **************************************************************/

#menu {
  margin: 0 auto;
  background: #2295D4;
}

#menu ul {
  width: 100%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
  background: #2295D4 url(img?bg-menu.gif) repeat-x 34px 1px;
}

#menu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu ul li a {
  float: left;
  height: 34px;
  cursor: pointer;
  font: 400 1.2em arial, sans-serif;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}

#menu ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#menu ul li a span {
  display: block;
  padding: 8px 7px;
}


#menu ul li a span.desc {
  font-size: 0.8em;
  color: #FFFFFF;
}


#menu ul li a:hover,
#menu ul li a.here {
  background: #5AB4E4 url(img?bg-menu.gif) repeat-x 34px -34px;
}

#menu ul li a:hover span.desc,
#menu ul li a.here span.desc {
  color: #FFF;
}

.home a#home,
.about a#about,
.services a#services,
.portfolio a#portfolio,
.contact a#contact
{
  background: #1C66AF url(img?bg-menu.gif) repeat-x 34px -68px;
}

/**************************************************************
   Page Content
 **************************************************************/

#page {
  clear: both;
  float: left;
  width: 100%;
  margin-bottom: 5em;
  text-align: left;
}

#contMain {
  overflow: hidden;
}

#columns {
  margin: 0 auto;
  text-align: left;
}

#subCont {
  height: 160px;
  margin-top: -20px;
  margin-left: -10px;
  margin-right: -10px;
  border-bottom: 15px solid #FFFFFF;
  background-color: transparent;
}

#submenu {
  height: 160px;
  margin-top: -20px;
  margin-left: -10px;
  margin-right: -10px;
  border-bottom: 15px solid #FFFFFF;
  background-color: transparent;
}

#sublogin {
  position: relative;
  left: 180px;
  top: -90px;
  z-index: 2;
}

#sublogin input#password {
  width: 110px;
}

#sublogin #submit {
  position: relative;
  left: 120px;
  top: -35px;
  height: 28px;
  width: 22px;
  display: block;
}

#sublogin #forgot {
  position: relative;
  left: -58px;
  top: -24px;
  height: 10px;
  width: 100px;
  display: block;
}

/* Column borders padding */
.menuPad {
  margin-top: -90px;
  padding-left: 80px;
  background: transparent url('img?bg-submenu.gif') repeat-y top left;
}

.mainPad {
  padding-top: 20px;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
}

.horzPad {
  width: 250px;
  border-top: 1px solid #FFFFFF;
  background: #516D91 url('img?bg-submenu.gif') repeat-y top left;
}

/* Column widths */
.width {
  width: 776px;
}

.width10 {
  width: 10%;
}

.width15 {
  width: 15%;
}

.width20 {
  width: 19%;
}

.width25 {
  width: 22.18%;
}

.width35 {
  width: 35%;
}

.width50 {
  width: 48%;
}

.width55 {
  width: 55%;
}

.width60 {
  width: 60%;
}

.width73 {
  width: 73%;
}

.width75 {
  width: 65.2%;
}

.width100 {
  width: 100%;
}


/**************************************************************
   Footer
 **************************************************************/


#footer {
  clear: both;
  float: left;
  width: 100%;
  height: 5em;
  margin-top: -5em;
}

#footer #bg {
  position: relative;
  height: 5em;
  margin: 0 auto;
  background: #306DD7 url(img?bg-footer.gif) repeat-x top left;
}

#footer #bg #copy {
  float: left;
  text-align: left;
  padding: 0.5em 1em;
  letter-spacing: 0.05em;
  font: 400 0.8em arial, sans-serif;
  line-height: 1em !important;
  line-height: 1.2em;
  color: #000;
}

#footer #bg #copy a {
  color: #000;
}

#footer #bg ul {
  float: right;
  margin: 0.5em 1em 0 0 !important;
  margin: 0.5em 0.5em 0 0;
  padding: 0;
}

#footer #bg ul li {
  display: inline;
  list-style: none;
}

#footer #bg ul li a {
  float: left;
  padding: 0.1em 1em;
  font: 400 1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;
  color: #000000;
  border-right: 1px solid #000000;
}

#footer #bg ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#footer #bg ul li a:hover {
  color: #1B3F8B;
}

/**************************************************************
   Generic Display 
 **************************************************************/


.block {
  display: block;
}

.none {
  display: none;
}

.clear {
  clear: both;
}

.marginRight {
  margin-right: 4%;
}

.marginBottom {
  margin-bottom: 10px;
}

.paddingLeft {
  padding-left: 500px;
}

.paddingRight {
  padding-right: 5px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.rightMargin {
  margin-right:14px;
}

.topMargin {
  margin-top:8px;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignTop {
  vertical-align: top;
}

.alignMiddle {
  vertical-align: middle;
}

.alignBottom {
  vertical-align: bottom;
}

.lightBlueBg {
  height: 160px;
  width: 250px;
  background: transparent url('img?bg-subheader_left.jpg') no-repeat top left;
}



.mainBg {
  height: 160px;
  width: 116px;
  float: left;
  clear: right;
  border-top: 1px solid #FFFFFF;
  background: transparent url('img?bg-subheader_main.jpg') no-repeat top left;
}

.greyBg {
  height: 160px;
  width: 429px;
  float: left;
  border-top: 1px solid #FFFFFF;
  background: transparent url('img?bg-subheader_loading.gif') no-repeat 0px 20px;
}

.loadingBg {
  height: 160px;
  width: 429px;
  float: left;
  border-top: 1px solid #FFFFFF;
  background: transparent url('img?bg-subheader_loading.gif') no-repeat 0px -140px;
}

.prop {
  height:370px;
  float:right;
  width:1px;
  background: transparent;
}

.clear {
  clear:both;
  height:1px;
  overflow:hidden;
  background: transparent;
}

#portfolio .imgwrapper {
	float: left;
	margin: 0 15px 15px 15px;
	padding: 2px;
}
#portfolio .imgwrapper span {
	display:block;
	text-align:center;	
}
#portfolio .imgwrapper img {
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 4px;
}
#portfolio .imgwrapper a:visited img {
	background-color:#fff;	
}
#portfolio .imgwrapper a:hover img, #espg .imgwrapper a:focus img {
	background-color: #cff;
}
#portfolio .imgwrapper a:hover, #espg .imgwrapper a:focus {
	color:#000;
}

#portfolio #directories {
	padding-top: 10px;
	border-bottom:0px solid #ddd;
	font-size: 14px;
}

#portfolio div.catthumbs {
	margin:5px;
	padding:5px;
	display:block;
	text-decoration:none;
}
#portfolio div.catthumbs div {
	margin:10px;
	padding:2px;
	text-align:center;
	float:left;
        height:200px;
	width:210px;
	font-size:10px;
        margin-bottom:-25px;
}
#portfolio div.catthumbs img.tnexample{
        text-align:center;
	margin:5px;
	margin:0 auto;
	display:block;
	border:0;
	background-color: #fff;
	border: 1px solid #ccc;
	padding:4px;
}
#portfolio div.catthumbs a{
	text-decoration:none;
}
#portfolio .catthumbs a:visited img {
	background-color:#fff;	
}
#portfolio .catthumbs a:hover img, #portfolio .catthumbs a:focus img {
	background-color: #cff;
}
#portfolio .catthumbs a:hover, #portfolio .catthumbs a:focus {
	color:#699;
}
