html { 

 }

body{
background:#9c9b9c url(background3.jpg) no-repeat;
font-family: Helvetica, Arial, Verdana, "Lucida Grande", sans-serif;
font-size: 62.5%;
line-height:220%;
margin: 0;
padding: 0;
}


#container{
margin: 0 auto;
padding:0;
width:960px;
margin-top:10px;
text-align:left;


}
#adey{
background:url(adey.gif) no-repeat;
position:absolute;
top:900px;
left:15px;
height:320px;
width:250px;
text-indent:-5000px;
z-index:1000;
}

#header{
background:url(newtitlegif.gif) center top no-repeat;
height:250px;
margin-bottom:20px;
}
#header h1{
text-indent:-5000px;
border:0;
}

#outercontent{
background:url(paperback.png) top center no-repeat;
width:980px;
height:700px;
position:relative;

}
#content{
background:url(paper.gif) top center no-repeat;
height:772px;
position:relative;
top:70px;

}


#innercontent{
width:620px;
position: relative;
top:50px;
left:210px;
overflow:auto;
height:530px;}

#innercontentform{
width:620px;
position: relative;
top:50px;
left:210px;
overflow:auto;
height:540px;}

.nav {

padding:0;
margin-bottom:20px;

}

.nav ul{

padding:0;
margin: 0;
}

.nav ul li{

list-style: none;
float:left;
padding-left:40px;
}

.nav ul li a.menuhome{
position:relative;
background:url("home.gif") top left no-repeat;
height:26px;
width:100px;
text-indent:-5000px;
display:block;

}
.nav a.menuhome:hover{
background-position:0 -26px;
}

.nav ul li a.menuport{
background:url("portbutton.gif") top left no-repeat;
height:26px;
width:150px;
text-indent:-5000px;
display:block;

}
.nav a.menuport:hover{
background-position:0 -26px;

}

.nav ul li a.menucontact{
background:url("contactbutton.gif") top left no-repeat;
height:26px;
width:125px;
text-indent:-5000px;
display:block;

}
.nav a.menucontact:hover{
background-position:0 -26px;

}

.nav ul li a.menulinks{
background:url("linksbutton.gif") top left no-repeat;
height:26px;
width:103px;
text-indent:-5000px;
display:block;

}
.nav a.menulinks:hover{
background-position:0 -26px;

}




.nav .menucv{
background:url("cvbutton.gif") top left no-repeat;
height:28px;
width:54px;
text-indent:-5000px;
display:block;

}
.nav .menucv:hover{
background-position:0 -28px;
}

.nav .menuabout{
background:url("aboutbutton.gif") top left no-repeat;
height:28px;
width:150px;
text-indent:-5000px;
display:block;

}
.nav .menuabout:hover{
background-position:0 -31px;
}



.image{

margin-right:10px;
border:none;
padding: 5px;

}

p{
font-size:1.4em;
}


.box{
margin-bottom:70px;
margin-top:30px;
}

h2{
font-size:2.2em;
color:#534823;
text-align:center;
letter-spacing:2px;
}

h3{
font-size:1.8em;
margin-top:5px;
}

h3 a:link{
color:black;
text-decoration:none;
border-bottom:1px dotted #000;
padding-bottom:1px;
}
h3 a:visited{
color:black;
text-decoration:none;
}
h3 a:hover{
color:rgb(102,146,172);
border-bottom:1px dotted rgb(102,146,172);
}
.figure{
float:left;
padding-bottom:10px;

}
.caption{
text-align:center;
font-size:1em;
padding:0;
margin:0;
}

.clear:after {
	    content: ".";
	    display: block;
	    height: 0;
	    font-size: 0;
	    clear: both;
	    visibility: hidden;
	}
	.clear {
	    min-height: 1px;
	}
	* html .clear {
	    height: 1px;
	}

.normal{
font-size:1.5em;
}
.introtext{
font-size:1.6em;
font-weight:bold;
}

.miniheader{
font-size:1.7em;
}
.cvbutton{
border:0px;
margin-top:40px;
margin-left:80px;

}

a.cvtext{
font-size:1.6em;
color:black;

}
a.linktext{
font-size:1.0em;
color:black;

}

a.cvtext:hover,a.linktext:hover,a.aboutlink:hover {
color:rgb(102,146,172);
}

a.marthov img:hover{
background-color:rgb(102,146,172);
}

h1{
font-size:2.4em;
text-align:center;
margin:0;
margin-bottom:10px;
padding:0;
border-bottom:1px solid black;

}

/*----------Contact Form Layout-----------*/
form{
margin-left:50px;
padding:0;
width:470px;
margin-top:0;
}

fieldset {

padding-left:30px;
padding-bottom:10px;
border: 1px solid #9c9b9c;
}

legend {
margin-left: 1em;
font-size:1.5em;
font-weight:bold;
}

label {
display: block;
margin-top:15px;
font-size:1.5em;
padding-bottom:0.5em;
}

.submit{
margin-top:10px;
background:#9c9b9c;
border:1px solid #9c9b9c;
cursor:pointer
}
.submit:hover{
background:#534823;
border:1px solid #534823;
color:#9c9b9c;

}

.inputbox{

width:15em;
}

.textbox{
width:400px;
height:200px;
margin:0;
}

.textbox, .inputbox{
color:#534823;
font-family: Georgia, "Times New Roman", Serif;
border:1px solid #9c9b9c;
padding:5px;
}

/*--------End of form section---------*/


.validation{
float:right;
margin-top:50px;
border:0;
height:31px;
width:88px;
 
}
.validation {
border:0;
height:31px;
width:88px;
 
}
#contactform label.error{
font-size:1.2em;
color:#f00;
display:block;
font-family:Verdana, sans-Serif;
font-weight:bold;
margin-top:-35px;
margin-left:225px;

}
#contactform input.error, #contactform textarea.error{
	background:#ffa9b8;
	border:1px solid red;
}