* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #DFF2F9;
	text-align: center;
	font-size: 84%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0; 
	margin-bottom: 20px;
	color: #58595B;
}

body.home {
	background-color: #fff;
}

a:link, a:visited {
  /* color: #333333; */
   color: #47B8D6;
   text-decoration: none;
}

a:hover, a:active {  
  color: #B6B7BA;
  text-decoration: underline;
}

#container {
	width: 750px;
	border: none;
	position: relative;
	margin-left: auto;
	margin-right: auto; 
	margin-top: 40px;
	text-align: left;
	background-color: #fff;
	background-repeat: no-repeat;
	height: 675px;
}

body.home #container  {
	background-image: url(images/home-page-bkg.jpg);
	height: 525px;
	margin-top: 80px;
}

body.about #container {
	background-image: url(images/about-page-bkg.jpg);
}

body.portfolio #container {
	background-image: url(images/portfolio-page-bkg.jpg);
}

body.services #container {
	background-image: url(images/services-page-bkg.jpg);
}

body.testimonials #container {
	background-image: url(images/testimonials-page-bkg.jpg);
}

body.contact #container {
	background-image: url(images/contact-page-bkg.jpg);
}

body.blank #container {
	background-image: url(images/blank-page-bkg.jpg);
}

body.resources #container {
	background-image: url(images/resources-bkg.jpg);
}

body.faq #container {
	background-image: url(images/faqs-page-bkg.jpg);
}


body.notecards #container {
	background-image: url(images/notecards-bkg.jpg);
}

#topnav {
	position: absolute;
	top: 20px;
	right: 10px;
}

#topnav.row2 {
	position: absolute;
	top: 50px;
	right: 10px;
}

body.home #topnav {
	right: 10px;
}

#topnav ul {
  margin: 0;
  padding: 0;
}

#topnav li, #topnav ul {
	list-style-type: none;
	display: inline;
}

#topnav li {
	height: 27px;
}

#topnav li a {
   float: left; 
	color: #636468;
	padding: 10px;
	font-size: .9em;
	font-weight: normal;
	text-align: center;
}

#topnav li a:hover, #topnav li a:active {
	text-decoration: none;
}

#topnav a.current {
	background-image: url(images/blue-nav-circle.jpg);
	background-position: center;
	background-repeat: no-repeat;
}

body.home #topnav a.current {
	background-image: none;
}

#content {
	position: absolute;
   right: 40px;
	width: 410px;
	top: 200px;
}

body.home #content {
	right: 50px;
	width: 300px;
	top: 200px;
}

body.portfolio #content {
	width: 650px;
	right: 10px;
}

body.notecards #content {
	width: 650px;
	right: 10px;
}

#maincontent {
   padding-top: 200px;
   height: 450px;
   width: 650px;
   overflow: auto;
}

#contentleft {
   float:left;
	width: 300px;
	margin-top: 200px;
	padding: 0 20px 0 90px;
}

#contentright {
   float: left;
	width: 300px;
	margin-top: 200px;
}

#content h1, #contentright h1, #contentleft h1 {
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 10px;
}

#content h2, #contentright h2, #contentleft h2 {
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 0px;
}

#content p, #contentleft p, #contentright p {
   margin-bottom: 8px;
	line-height: 1.2em;
}

#sidearea {
   position: absolute;
   left: 124px;
	width: 410px;
	top: 210px;
}


#footer {
	font-size: .7em;
	text-align: right;
	width: 750px;
	margin-top: 8px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 10px;
	color: #626262;
	text-align: center;
}

#footer p {
	 margin: 4px 0 0 0;
}

p.copyright {
	padding-top: 8px;
}

#portfoliolist {
	list-style-type: none;
}
#portfoliolist li {
	float: left;
	margin-right: 6px;
	margin-bottom: 10px;
	height: 184px;
	width: 148px;
	text-align: center;
}

#portfoliolist img {
	display: block;
	border: 2px solid #DFF2F9;
}

p.quote {
	font-style: italic;
}

hr {
	clear: both;
	background-color: #DFF2F9;
	height: 2px;
	border: 0;
	color: #DFF2F9;
	width: 100%;
	text-align: center;
}

/* form */
td.formlabel {	
	font-weight: bold;
	padding-right: 6px;
	vertical-align: top;
}

table.form td {
	padding: 0px 4px 4px 0;
	font-size: .8em; 
}

table.form {
	width: 300px;
}

textbox {
	font-size: .9em;
}

fieldset {
width: 300px;
border: none;
}

table.form img {
	padding: 8px 0 8px 0;
}


/* styles for gallery script */
td.desc {
	text-align: left;
	padding: 0 10px 10px 10px;
	vertical-align: top;
}

div.largenav {
	display: block;
	width: 368px; 
	position:relative;
	margin-bottom: 10px; 
	height: 30px; 
}

div.thumbnav {
	display: block;
	width: 100%;
	height: 20px;
}


#portfoliolist img.thumb {
	margin: 0 4px 4px 0;
	border: 2px solid #DFF2F9;
}


img.portfoliolg {
	margin-bottom: 10px;
	border: 2px solid #DFF2F9;
}