#contact {
width: 400px;
  margin-left: auto ;
  margin-right: auto ;

}

#EmailForm {
	width: 360px;
	text-align: left;
	padding-bottom: 20px;
	border: none;
}
#EmailForm.full { width: 100%; }


#EmailForm fieldset {
    border: none;
}

#EmailForm legend {
	display: none;
}
#EmailForm h3 {
	clear: both;
	padding: 15px 0 5px;
color: #016DBF;
	font-size: 125%;
line-height:20px;
	font-weight: bold;
}

#EmailForm label,
#EmailForm p {
	display: block;
	clear: both;
	width: 310px;
	font-size: 1em;
	line-height: 1.5em;
	padding: 0 0 9px;
}

#EmailForm input {
	display: block;
	margin-top: 3px;
}

#EmailForm select {
	float: left;
	display: block;
}

#EmailForm label.first,
#EmailForm label.city {
    clear: left;
    margin-right: 10px;
    width: 150px;
}

#EmailForm label.second,
#EmailForm label.state {
	float: left;
	clear: none;
	margin: 0 10px 0 0;
	width: 150px;
}
#EmailForm label.state { width: 60px; }

#EmailForm label.first input,
#EmailForm label.city input,
#EmailForm label.second input {
	float: left;
	width: 150px;
	padding: 0;
}

#EmailForm label.state select {
	width: 60px;
	float: left;
	margin-top: 3px;
}

#EmailForm label.zip,
#EmailForm label.zip input {
	float: left;
	width: 80px;
}
#EmailForm label.zip { clear: none; }

#EmailForm label {
	float: left;
	clear: left;
	width: 310px;
	margin: 0;
	line-height: 1.5em;
}

#EmailForm label input {
	float: left;
	width: 310px;
	padding: 0;
}

#EmailForm input.radio,
#EmailForm input#radiobutton_1,
#EmailForm input#radiobutton_2,
#EmailForm input#radiobutton_3,
#EmailForm input#radiobutton_4 {
	clear: left;
	float: left;
	padding: 0;
	margin: 0;
}

#EmailForm label.radio,
#EmailForm label.radioitem {
	clear: none;
	margin: 0 0 0 25px;
	padding: 0 0 15px;
}

#EmailForm input.checkbox,
#EmailForm input#checkbox_1,
#EmailForm input#checkbox_2,
#EmailForm input#checkbox_3,
#EmailForm input#checkbox_4 {
	clear: both;
	float: left;
	padding: 0;
	margin: 0;
}

#EmailForm label.checkbox {
	clear: none;
	margin: 0 0 0 25px;
	padding: 0 0 15px;
}
/* style the #EmailForm elements to look similar across browsers ... emulates Safari */
#EmailForm label input,
#EmailForm textarea {
    border: 1px solid #ddd;
    border-left-color: #c3c3c3;
    border-top-color: #7c7c7c;
    padding: 0 2px;
    height: 18px;
    line-height: 20px;
    background: #fff url(images/input-bg.gif) repeat-x top left;
}
#EmailForm input.checkbox,
#EmailForm select {
    border: 1px solid #ddd;
    border-left-color: #c3c3c3;
    border-top-color: #7c7c7c;
    background-color: #fff;    
}
#EmailForm textarea {
	margin-top: 3px;
	width: 383px;
	height: auto;
	display: block;
}

#EmailForm label input.calc {
    text-align: right;
    width: 100px;
    clear: left;
    padding: 0;
}
#EmailForm input.button {
    clear: left;
    border: 1px solid #ddd;
    border-left-color: #c3c3c3;
    border-top-color: #7c7c7c;
	background-color: #EBE9ED;}

#field {border:none} /* No border */
.required { color: red; }
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

.borders {
border-style:none;
}

p{
margin:10px auto;
padding:0;
max-width:768px;
}

h3.postInfo{
color: #016DBF;
line-height: 20px;
}

a:link {color: #016DBF;}

body {
background:#fff url('images/bgsub.gif') repeat-x;
margin: 0;
padding:0;
font: 81% Georgia,Times,serif;
line-height: 28px;
}

.wrapper {
margin: 0 auto;
padding: 0;
width: 100%;
max-width:1600px;
text-align: center;
}

.header {
display:block;
width:100%;
height: 123px;
margin-left:auto;
margin-right:auto;
text-align: center;
}

.logo {
float:left;
width:30%;
height:100%;
text-align: right;
padding-left: 0px;
padding-bottom: 1px;
}
.underlinemenu{
font-size:181%;
font-weight:bolder; 
font-family:Georgia,Times,serif;
padding-top: 64px;
width: 68%;
float: right;
}

.underlinemenu ul{
padding: 0px 0px 0px 20px; /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/
margin: 0;
text-align: center;}

.underlinemenu ul li{
display: inline;
}

.underlinemenu ul li a{
color: #1c1c1c;
padding: 6px 3px 4px 3px; /*top padding is 6px, bottom padding is 3px*/
margin-right: 20px; /*spacing between each menu link*/
text-decoration: none;
border-bottom: 3px solid #FFFFFF;
display: inline-block;
}

.underlinemenu ul li a:hover{
border-bottom: 3px solid #016DBF; /*bottom border is 3px*/
display: inline-block;
}

.featured {
text-align: left;
margin-right: 75%;
margin-left: 14%;
width: 370px;
height: 142px;
}

.content {
width:100%;
margin: 0 auto;
}

.contentleft {
float:left;
width: 49%;
text-align: right;
line-height: 20px;
}

.contentleft img {
padding-right: 5px;
text-align:center;
margin:0 auto;
}

.clients {
line-height: 22px;
}

.contentright {
text-align: left;
line-height: 20px;
width: 483px;
float:left;
}

div.footer {
width:100%;
font-size:12px;
text-align:center;
padding-top:25px;
padding-bottom: 10px;
color:#666;
margin:0 auto;
clear:both;
}


div.clear {
clear: both;
display: block;
overflow: hidden;
width: 0;
height: 0;
}


h2 {
margin: 0;
padding-top:25px;
}

h3 {
margin: 0;
padding-top:5px;
}

h3.portfolio {
color:#016DBF;
}

h4.view {
text-align:center;
margin:5px 0 0 0px;
}

.portfolio ul {
list-style-type:none;
padding: 0;
margin: 0;
}

.portfolio li {
text-align:center;
}

.portfolio a img:hover {
border-color:#0066CC;
}
.portfolio a img {
border:1px solid #CCCCCC;
margin:2px;
padding:5px;
}
