/*---------------------------------------------------
------reset styles (much of this from eric meyer)-----
-----------------------------------------------------*/

body, div, span, object,
h1, h2, h3, h4, h5, h6, p, blockquote, 
a, cite, code, em, img, samp,
strong, dl, dt, dd, ol, ul, li,
fieldset, form, table, caption, tbody, tfoot, 
thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
}

body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
/* ---------------------------------------------------
----------------basic elements-----------------------
----------------------------------------------------- */

body {text-align: center;	
}
ol {padding-left:1.2em;
}
ol li {
	list-style-type:decimal;
	font: bold italic 1em arial, sans-serif;
	color:#ff0000;
	padding: .3em .5em 0 0;
}
ol li span {
	font:.8em verdana, sans-serif;
	color:#000;	
}
p { 
	font: .8em/1.4em verdana, sans-serif; 
	text-align: left;
	color:#000000;
}
h2 {
	color: #000;
	font: bold 1.5em verdana, arial, sans-serif;
}
a:link { 
	color: #ff0000;
	font:  .8em verdana, sans-serif;
}
a:visited { 
	font: .8em verdana, sans-serif;
	color: #ff0000;
}
a:hover, a:active { 
	text-decoration: underline; 
	color: #ff0000;
}

/*-----------------specific divs---------------------*/

/*-----------------------------------------
------------------top----------------------
------------------------------------------*/
#top {
	height: 192px;
	background: url(images/sm-main-image-bg.gif);
}
#top .content{
	width:800px;
	height: 192px;
	margin: 0 auto;
	background: url(images/sm-main-image.jpg) no-repeat bottom;
	position: relative;
}

/*unique, larger #top for index.html, as sort of a semi-splash page.*/
body#index #top{
	height: 312px;
	background: url(images/main-image-bg.jpg);
}

body#index #top .content {
	height: 312px;
	background: url(images/main-image.jpg) no-repeat bottom;
	}
/*end unique index.html #top*/

#top .content h1 {
	margin:0 auto;
	background: url(images/header-bar.gif);
}	
#top .content h1 a {
	display:block;
	text-indent:-5000px;
	height: 75px;
	margin: 0 auto;
	width:211px;
	color:#000000;
	background: url(images/header-logo.gif);
}
#top .content h2 {
	text-align:left;
	margin: 50px 0 0 350px;
}
#top .content h2 span{
	display:block;
	margin-left:100px;
	color:#000080;
}
/*-------------------------tagline--------------------------*/
#top .content #tagline {
	text-align: left;
	float: right;
	margin-top: 60px;
	padding-right:130px; /*ie6 seems to double the margin, so I'm using padding to position.*/
}
#top .content #tagline h2 span{
	color:navy;
	margin-left: 70px;
}
/*--------------------------navigation---------------------*/				
#top .content ul{
	clear: both;
	position: absolute;
	bottom: 0px;
	right:0;
	margin:0;
	font: bold .8em verdana, sans-serif;
}
#top ul{
	margin:0 30px 0 0;
}
#top ul li{
	display:block;
	float: left;
}				
#top ul a {
	display: block;
	font: bold .9em verdana, sans-serif;
	color:#ffffff;
	text-decoration:none;
	padding:5px 5px 3px;
	margin: 5px 0 0 5px;
	background: url(images/tab.gif) bottom;
	width:auto !important;/*this makes compliant browsers ignore the IE6 hack on the next line*/
	width: .1em; /*for some reason, this is the only way to make the whole tab clickable in IE*/
}
#top ul a:hover {
	margin-top: 0;
	padding-bottom: 8px;
}
#top ul a.here {
	margin-top:5px;
	padding-bottom:13px;
	background:#ee1c24;
}
#top ul a.here:hover {
	margin-top:0;
	padding-bottom:18px;
}			
	
/*-----------------------------------------
-------------main-text---------------------
-----------------------------------------*/

#main-text {border-top: 5px solid #ee1c24;
}
#main-text .content {
	width: 800px;
	margin: 0 auto;
}
#main-text .content h3 {	
	padding: 70px 0 30px 95px;
	font:bold 1em verdana, sans-serif;
	color:#000;
}
#main-text .content h3 span {
	display:block;
	font:bold 1.7em verdana, sans-serif;
	color:#000080;
}
h3#power{background: url(images/power-icon.jpg) no-repeat bottom left;
}
h3#service{background: url(images/service-icon.jpg) no-repeat bottom left;
}

/*-------------intro------------*/
#main-text .content #intro {
	float: left;
	width: 220px;
	background: url(images/note-slice.jpg) repeat-y right;
}
#intro h2 {
	background: url(images/note-top.jpg) no-repeat top right;
	padding-top:25px;
}
#intro p {
	padding:0 25px 70px 40px;
	background:url(images/note-bottom.jpg) no-repeat bottom right;
}

/*------------sidebar--------------*/
#main-text .content #sidebar{
	float:left;
	width:220px;
	padding:0 10px 10px 10px;
	margin-left: -780px;
	margin-top:15em;
}

/*-------------columns, used for the main text of each page--------------*/
/*common to most pages*/
#main-text .col{
	text-align:left;
	float:left;
	width: 500px;
	margin-left:10px;
	padding:20px;	
	border-left:2px #ee1c24 dotted;
	border-right:2px #ee1c24 dotted;
}
/*page-specific layout*/
#main-text #col-one, #main-text #col-two {
	text-align:left;
	float:left;
	width: 250px;
	margin-left:20px;
	padding: 0 0 15px 0;
}
body#why-us .col{
	padding-top:0;	
	height:650px;
}
body#portfolio .col{
	height:500px;
}

body#portfolio .col img {
	margin:10px;
	border: 2px solid #ff0000;
}
body#contact .col{
	height:400px;
}

body#contact .col p span{
	color:#ee1c24;
	font:bold 1.5em verdana;
	padding-top:10px;
	margin-right: 5px;
}
body#contact .col p{
	display:block;
	margin-top:10px;
}

/*--------------form---------------------*/

body#contact #form-title{
	color: #ee1c24;
	font:bold 1.2em verdana;
	margin-left:-20px
}
.col form{
	margin-left:20px;
}
.col label{
	display: block;
	margin-top:10px;
}
#name:focus, #info:focus, #message:focus{
	background:#fffbbb;
}
#submit-button{
	display: block;
	margin-top:5px;
}

#input{
	margin-bottom:10px;
}
	
/*-----------------------------------------
-------------footer---------------------
-----------------------------------------*/
#footer {
	clear:both;
	width:100%;
	background: url(images/footer-bg.gif) top repeat-x;
}
#footer .content {
	clear:both;
	width:700px;
	margin:0 auto;
	background: url(images/phone.jpg) top left no-repeat;
}
#footer .content a:link, 
#footer .content a:visited { 
	float: left;
	font: bold 1.4em verdana, sans-serif;
	color: blue;
	padding: 25px 0 10px 300px;
}
#footer .content a:hover {
	color:navy;
}
#footer .content p {
	clear:both;
	font-size:.8em;
	margin:0 0 0 320px;
	padding-bottom:10px;

}

/*-----------------------------------------
-------------copyright---------------------
-----------------------------------------*/
#copyright{
	background: #ee1c24;
	clear:both;
	border-top:10px solid white;
}
#copyright ul {
	background: url(images/bottom-logo.gif) no-repeat center right;
	padding:3px 0 7px 0;
}
#copyright ul li{
	display:inline;
	margin: 0 10px;
}
#copyright ul a:link, 
#copyright ul a:visited { 
	color: #ffffff;
	font:  .7em verdana, sans-serif;
}
#copyright ul a:hover {
	border-bottom:3px double;
}
#copyright a.here {
	text-decoration: none;
}
#copyright p {
	background:#fff;
	text-align:center;
	font-size:.7em;
	padding: 5px 0 5px 0;
}