body {text-align: center; background: #9f684a url(/themes/cnc_routing//images/bg.jpg) repeat-x ;
		color: #304b52;
		font: .8em arial, verdana, sans-serif; 
		line-height: 20px;
		margin-top: 0; 
}

img { border: 0; }

#wrapper { width: 977px; margin: 0 auto; text-align: left; position: relative;  background:#9f684a; }
#top { clear: both; }
#content { width: 975px; float: left; border: solid 1px #dae4e0; background: #fff; min-height:300px }
#left { width: 580px; float: left; padding: 20px 10px 10px 25px; }
#right { width: 300px; float: left; padding: 30px 0 0 30px; }
#footer { clear: both; height: 152px; background: url(/themes/cnc_routing/../images/footer1.jpg) #806961; margin: 5px 20px 0 20px; }
#footerinner { padding: 12px 0 0 230px; color: #fff; }

#inner { padding: 10px 0 10px 10px; }

#inner-polarity { padding: 35px; }

.picbox1 { float: left; background: #ae9d94; border: solid 1px #d5e1dd; padding: 25px 8px 10px 8px; margin: 20px 22px 0 22px; }
.picbox2 { float: left; background: #ae9d94; border: solid 1px #d5e1dd; padding: 25px 8px 10px 8px; margin: 20px 22px 0 0; }
.picbox3 { float: left; background: #ae9d94; border: solid 1px #d5e1dd; padding: 25px 8px 10px 8px; margin: 20px 0 0 0;  }


h1 { font: 1.2em verdana, arial, sans-serif; font-weight: 700; }
h2 { font: 1.4em arial, verdana, sans serif; color: #e6e0da;  font-weight: 700; text-align: center; margin-top: 5px; }
h3 { font: 1.1em verdana, arial, sans serif; padding: 5px 0 0 5px; background-image: url(/themes/cnc_routing/../images/bluefade.jpg); background-repeat: repeat-x; height: 30px; font-weight: 700; margin: 0; }

.paddingpic { padding: 6px 0 0 0; }
.picright { float: right; margin: 0 0 0 10px; }
.picleft { float: left; margin: 0 10px 0 0; }
.paddingtop { padding-top: 10px; }


div#nav a { font: 1.4em arial, verdana, sans-serif; color:#fff; text-decoration: none; background:none; font-weight:500;  padding: 6px 3px 6px 6px }
div#nav a:visited { font: 1.4em arial, verdana, sans-serif; color:#fff; text-decoration: none; background:none; font-weight:500;  padding: 6px 3px 6px 6px; }
div#nav a:hover { font: 1.4em arial, verdana, sans-serif; color:#b2e19b; text-decoration: none; background:none;  font-weight:500; padding: 6px 3px 6px 6px; }


a:link { color: #b4b25d; text-decoration: underline; background: transparent; font-weight: 700; }
a:visited { color: #b4b25d; text-decoration: underline; background: transparent; font-weight: 700;}
a:hover { color: #5a5928; text-decoration: underline; background: ; font-weight: 700; }

a.link2:link { color: #e8f87e; text-decoration: underline; background: transparent; font-size:1em; font-weight: 500; }
a.link2:visited { color: #e8f87e; background: transparent; text-decoration: underline; font-size:1em;  font-weight: 500; }
a.link2:hover { color: #b4b25d; background: transparent;  text-decoration: underline; font-size:1em;  font-weight: 500; }

.nolink { color: #800000; text-transform: uppercase; background: transparent; font-weight: 700; }

.brown { color: #9e8158; font-size: 1.2em; font-weight: 700; }
.bold { font-weight: 700; }
.dots { background-image: url(/themes/cnc_routing//images/dots.gif); background-repeat: repeat-x; height: 1px; }
.line { background: #053905; height: 1px; clear: both; padding: 0; margin: 0 0 10px 0; }
.border { border: solid 1px #c7e3c7; }

.clear { clear: both; }
.left { float: left; }
.right { float: right; }

.leftgallery { float: left; padding: 5px; border: solid 1px #d7c5d7; margin: 5px; background-color: #e5dbe5; }
.galleryback { width: 400px; }

/*Innerfade */
#portfolio { list-style: none; margin: 0; padding: 0; }
ul#portfolio li img{
	border: 1px solid #ccc;
	padding: 4px;
	list-style: none; margin: 0;
}

/*Lightbox enlarging images effect */
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#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: transparent url(/themes/cnc_routing/../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/themes/cnc_routing/../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/themes/cnc_routing/../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;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
	
#navbar { background: #9f684a url(/themes/cnc_routing//images/navbg.jpg) repeat-x; height: 40px; padding: 2px 0 0 30px; z-index: 1000; position: relative; }

#navbar-polarity {
   margin: 0;
   padding: 0;
   height: 1.4em; }
   
#navbar-polarity li {
   list-style: none;
   float: left; }
   
#navbar-polarity li a {
   display: block;
   padding: 6px 20px 6px 6px;
   color: #fff;
   text-decoration: none; 
   font: 1.4em arial, verdana, sans-serif; 
   margin-top: 2px;
}
  
#navbar-polarity li a:hover {
   display: block;
   padding: 6px 20px 6px 6px;
   color:#b2e19b;
   text-decoration: none; 
   font: 1.4em arial, verdana, sans-serif; 
}   
#navbar-polarity li ul {
   display: none; 
   width: 13em; /* Width to help Opera out */
   background: none;}
   
#navbar-polarity li:hover ul {
   display: block;
   position: absolute;
   margin: 0;
   padding: 0;
}
   
#navbar-polarity li:hover li {
   float: none; }
   
#navbar-polarity li:hover li a {
   background-color: #8a5a40;
   border: 1px solid #c69a82;
   color: #fff;
   padding-left: 8px;
   font-size: 1.2em; }
   
#navbar-polarity li li a:hover {
   background-color: #694633; }