/* Jim Ricca Subpage Style */


* {margin:0; padding:0;}
body  {
	font: 76% Verdana,sans-serif;
	background: #5D6B7B;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #000000;
	
}

a:link		{ color: #0000FF; text-decoration: none; }
a:visited	{ color: #0000FF; text-decoration: none; } 
a:active	{ color: #0000FF;  } 
a:hover		{ color: #6699CC;  } 

p {line-height:1.5em; padding-bottom: 1em;}

h1,h2,h3,h4,h5 {padding:.5em 0 1em 0;}

h3 {color:#5d6b7b; font-size:1.3em;}
h4 {font-size:1.1em;}
h5 {font-size:1em; color:#5d6b7b;}

h2.pagetitle {display:block; background-color:#5D6B7B; color:#fff; width: 313px; padding:5px 15px; margin:0; font-weight:normal;}

#container { 
	width: 778px; 
	background: #fff;
	margin: 0 auto;
	text-align: left; 
} 
#header {background: #5D6B7B;}
#header .banner {padding: 20px 0;}
#sidebar1 {
	float: right;
	width: 200px;
	padding: 32px 40px 38px 0;
	margin-right:25px;
}

#sidebar1 ul {
	list-style:none;
	border-top:5px solid #5D6B7B;
}

#sidebar1 li {
	border-bottom:1px solid #ccc;
	padding:.5em 0;
}


#mainContent { 
	margin: 0 330px 0 0;
	padding: 32px 38px 32px 58px; 
} 

#mainContent ul { list-style-type: square; margin-left:3em; padding-right:5em;}

#mainContent li {padding-bottom:1em;}

#portfolio img {padding:7px;}

#portfolio a:hover img{background-color:#ccc;}

.backtotop {font-size:.8em; padding: .5em 0 1.5em 0;}

#footer { 
	padding: 0 10px 0 20px; 
	background:#DDDDDD; 
} 
#footer p {
	margin: 0; 
	padding: 10px 0;
}
.fltrt { 
	float: right;
	margin-left: 8px;
}
.fltlft {
	float: left;
	margin-right: 8px;
}
.clearfloat { 
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

#navcontainer {background: #5D6B7B; overflow:visible; height:50px;}

#navcontainer ul
{
margin-left: 5px;
padding: 0;
list-style-type: none;
text-align: left;
}

#navcontainer ul li { float: left; }

#navcontainer ul li a
{
padding: 0 0 20px 0;
text-decoration: none;
font-size: 10px/12px;
float: left;
height: 30px;
width: 154px;
}

a#navhome {
	width:154px;
	background: transparent url(../images/button-home.gif) no-repeat;
	}
	
a#navhome:hover
{
background-position: -154px 0;
}

a#navabout {
	width:154px;
	background: transparent url(../images/button-about.gif) no-repeat;
	}
	
a#navabout:hover
{
background-position: -154px 0;
}

a#navportfolio {
	width:154px;
	background: transparent url(../images/button-portfolio.gif) no-repeat;
	}
	
a#navportfolio:hover
{
background-position: -154px 0;
}

a#navservices {
	width:154px;
	background: transparent url(../images/button-services.gif) no-repeat;
	}
	
a#navservices:hover
{
background-position: -154px 0;
}

a#navcontact {
	width:154px;
	background: transparent url(../images/button-contact.gif) no-repeat;
	}
	
a#navcontact:hover
{
background-position: -154px 0;
}

li span {
	margin-left:-5000px;
	}
#footer{color: #fff; background: #5D6B7B;
clear:both;width:100%; text-align:center; padding:1.5em 0 1em 0;
}
.copyright {font-size:.9em; padding: 1em 0; color:#dbdfe3;}

#contactinfo {border-top:5px solid #5D6B7B; padding:1em 0;}

.portfoliolink {background-color:#D7EBFF;padding:6px; border:1px solid #99ccff;}