body {
margin: 0;
padding: 0;
color: black;
background: #0062c9;
font: 80% verdana, arial, helvetica, sans-serif;
text-align: center;
line-height: 1.4;
}

#page {
background: #0062c9 url(images/background.png) repeat-x 50% 0px;
padding-top: 214px;
}

#wrapper {
position: relative;
background: #848eff url(images/wrapper.png) repeat-y;
margin: 0px auto 20px auto;
padding: 10px 0 0px 0;
width: 790px;
}

#header {
position: absolute;
top: -165px;
left: 0px;
background: url(images/header.png) no-repeat;
height: 285px;
width: 790px;
margin: 0px;
text-align: center;
}

#header ul {
position: absolute;
top: 40px;
right: 30px;
margin: 0;
padding: 0;
text-align: right;
}

#header li {
display: inline;
color: #ffffff;
}

#header a:link, #header a:visited {
text-decoration: none;
color: #ffffff;
}

#header a:hover {
border-bottom: 1px solid #e2b380;
color: #ffffff;
}

#navigation {position: absolute; top: -214px; left: 20px; margin: 0; padding: 0px; width: 750px; height: 49px; background: url(images/navigation.png);}
#navigation li {position: absolute; top: 0px; display: block; list-style: none;}
#navigation a {height: 49px; display: block; border: none;}
#navigation a:hover {border: none;}

#navigation #index {left: 0px; width: 147px;}
#navigation #webdesign {left: 147px; width: 239px;}
#navigation #portfolio {left: 386px; width: 183px;}
#navigation #contact {left: 569px; width: 181px;}

#navigation #index a:link, #navigation #index a:visited {background: url(images/navigation.png) 0px 0px no-repeat;}
#navigation #webdesign a:link, #navigation #webdesign a:visited {background: url(images/navigation.png) -147px 0px no-repeat;}
#navigation #portfolio a:link, #navigation #portfolio a:visited {background: url(images/navigation.png) -386px 0px no-repeat;}
#navigation #contact a:link, #navigation #contact a:visited {background: url(images/navigation.png) -569px 0px no-repeat;}

#navigation #index a:hover {background: url(images/navigation.png) 0px -48px no-repeat;}
#navigation #webdesign a:hover {background: url(images/navigation.png) -147px -48px no-repeat;}
#navigation #portfolio a:hover {background: url(images/navigation.png) -386px -48px no-repeat;}
#navigation #contact a:hover {background: url(images/navigation.png) -569px -48px no-repeat;}

#content {
position: relative;
margin: 0px 60px 0px 60px;
padding-bottom: 20px;
text-align: justify;
text-align: left;
}

h1 {
position: relative;
margin: 140px -40px 0px -39px;
font: 1em verdana, tahoma, arial;
text-align: center;
text-decoration: none;
font: 2.4em tahoma, 'trebuchet ms', arial, verdana, tahoma, arial;
padding: 0px 0px 0px 0px;
background: url(images/title.png) repeat-x;
background: none;
overflow: hidden;
margin: 0px 0px 10px 0px;
text-align: left;
color: #000080;
}

h2 {
clear: both;
margin: 30px 0 5px 0;
padding: 0px 0 0 0;
font: 1.5em verdana, tahoma, arial;
font: 1.8em 'trebuchet ms', arial, verdana, tahoma, arial;
font: 2em tahoma, 'trebuchet ms', arial, verdana, arial;
color: #000080;
}

h3 {
margin: 20px 0 -20px 0;
padding: 0px;
font: 1em verdana, tahoma, arial;
font-weight: bold;
color: #113311;
}

p {
margin: 10px 0px 10px 0px;
padding: 0px;
}

a {display: inline; text-decoration: none; font: 1em verdana, tahoma, arial; color: #ffffff; border-bottom: 1px solid #e8c390;
 background: url(images/dotted.gif) repeat-x 0 100%; border: none; color: #0062c9; background: none; border-bottom: 1px solid #9090e8; outline: 0;
 }
a:hover {background: none; text-decoration: underline; text-decoration: none; border-bottom: 1px dotted #9090e8;}

ul {
margin-left: 10px;
padding-left: 10px;
list-style-type: square;
}

li {
margin-bottom: 10px;
text-align: left;
}

#footer {
clear: both;
position: relative;
background: #f0f;
background: #00009b;
width: 749px;
margin: 0px 20px 0 21px;
padding: 5px 0 20px 0;
}

#footer ul {
padding: 5px 20px 0 20px;
text-align: center;
margin: 0 0 5px 0;
}

#footer li {
display: inline;
list-style: none;
padding: 0;
margin: 0 40px;
text-align: center;
line-height: 2;
}

#footer a {text-decoration: none; font: .95em tahoma, arial, verdana, tahoma, arial; color: #ffffff; border-bottom: 1px solid #e8c390;
background: url(images/dotted.gif) repeat-x 0 100%; border: none; color: #9ea8e1; padding: 0 0 1px 0; background: none; border-bottom: 1px solid #9090e8;
}
#footer a:hover {background: none; border-bottom: 1px dotted #9090e8;}
#footer acronym a {
border-bottom: 1px dotted #9090e8;
padding: 0;
}
#footer acronym a:hover {
border-bottom: 1px solid #9090e8;
padding: 0;
}

#footer p {
margin: 0px 40px 10px 40px;
text-align: center;
font: .95em tahoma, arial;
color: #9ea8e1;
padding: 0 0 5px 0;
}

.tail {
background: url(images/tail.png) no-repeat;
position: absolute;
bottom: 0px;
left: -21px;
width: 790px;
height: 30px;
}


form {
padding-bottom: 20px;
padding: 0px 0 8px 0;
padding: 8px 16px 16px 16px;
margin: 30px 0;
color: #0062c9;
}

form p {
clear: left;
margin: 0;
padding: 15px 0 15px 5px;
font: .95em arial;
color: #115511;
color: #000;
}

fieldset {
border: 1px solid #bfd9a3;
border: 1px solid #0062c9;
margin: 5px 8px 5px 8px;
margin: 0;
padding: 0 0 10px 15px;
}

fieldset p {font-weight: bold;}

legend {
font: bold 1em arial, helvetica, sans-serif;
color: #115511;
color: #0062c9;
color: #000;
background-color: #cfe9b3;
background-color: #bfd9a3;
background-color: #def;
background-color: #fff;
padding: 2px 5px 4px 5px;
margin: 0px;
border: 1px solid #bfd9a3;
border: 1px solid #0062c9;
font: 1.2em 'trebuchet ms', arial, verdana, tahoma, arial; 
}

.form {
	margin: 20px 30px;
	padding: 10px 10px 10px 20px;
	font: .85em arial;
	text-align: left;
	clear: both;
	margin: 20px 0px;
	padding: 10px 10px 10px 0px;
	font: .85em 'trebuchet ms', arial, sans-serif;
	text-align: left;
}

.submit{
	margin: 0 0 0 154px;
}

label {
	float: left;
	width:25%;
	font: bold 1.2em 'trebuchet ms', verdana, tahoma;
	color: #0062c9;
}

.textinput {
border: 1px solid #0062c9;
width: 425px;
}

textarea {
border: 1px solid #0062c9;
width: 425px;
height: 100px;
}

.sent { margin-top: 40px; color: #50685c; background:#c1bfb0; padding: 10px 10px 10px 15px; font: bold 1.3em arial, verdana, tahoma; border: 1px solid #60786c;}

.failed {color: #a04; background:#c1bfb0; padding: 10px 10px 10px 15px; font: bold 1.3em arial, verdana, tahoma; border: 1px solid #60786c; color: red;}

.floatright {
float: right;
padding: 15px 0 10px 20px;
}

.floatright img {
border: 0px;
}

.floatright p {
font-size: .8em;
margin: 0px;
text-align: center;
}

.border img {
border: 1px solid #000000
}

.clear {clear: both;}

img.border {
border: 1px solid #000000
}

a:link.noborder, a:visited.noborder, a:hover.noborder {
border: none;
}

a:link.imglinkborder, a:visited.imglinkborder {
border: 10px solid #115511;
}

a:hover.imglinkborder {
border: 10px solid #c66802;
}

.inline {display: inline;
}

a:hover img.border {
border: 1px dotted #c66802;
border: 1px solid #e69842;
}

.floatright a, .floatright a:hover {border: none; }

.portfolio a, .portfolio a:hover {border: none; }

a:link img.border, a:visited img.border {border: 1px solid #115511; background: none;}
a:link img.border, a:visited img.border {border: 1px solid #0062c9; background: none;}

a:hover img.border {border: 1px solid #559955;}
a:hover img.border {border: 1px solid #000080;}
