/*---------------------------------------------
Main Style Sheet for Parts1Stop.com
author: Rick Hocutt
-----------------------------------------------*/
/* =Page Body
-----------------------------------------------*/

/* Remove padding and margin */
* {
	margin: 0;
	padding: 0;
}
/* body 
-----------------------------------------------
*/
body {
	color: #333;
	text-align: center;
	font: 62.5%/1.6 Geneva, Arial, Helvetica, sans-serif;
	background: url(../images/bkgGrad.gif) repeat-x top scroll #666;
}
p {margin: .5em 0;}
/* =General
-----------------------------------------------
*/
img {
	border: 0;
}
/* =Headings
-----------------------------------------------
*/
h1,h2,h3,h4 {color: #FF0000;}
h1 {
	font-size: 1.6em;
	font-weight: bold;
	padding: .5em;
}
h2 {
	font-size:1.2em;
	padding: .3em 1em;
}
h3 {
	font-size: 1.2em;
	font-weight: bold;
}
h4 {
	font-size: 1.1em;
	font-weight: bold;
}
h5 {
	font-size: 1em;
	font-weight: bold;
}
/* Links
-----------------------------------------------
*/
a:link {color:#0000ff;}
a:visited {color:#333;}
a:hover {color: #999;}

h2 a:link {text-decoration: none;}
h2 a:visited {color:#0000ff;text-decoration: none;}

/* Accessibility 
-----------------------------------------------
*/
#accessibility {
position:absolute;
top:-5000em;
}

/* Page Structure 
-----------------------------------------------
*/
#wrapper {
	position: relative;
	margin: 0 auto;
	width:95%;
	min-width:760px;
	background-color: #FFFFFF;
	font-size: 1.2em;
	text-align:left;
}
#header {
	position:relative;
	height: 108px;
	margin: 0 auto;
	background: url(../images/masthead_bg.jpg) repeat-x top;
}
#header a:link, #header a:visited {
	text-decoration:none;
	color:#0000ff;
}
#header h1{
	margin:0;
	padding:0;
}
#header #mainLogo {
	position:absolute;
	left:0;
	top:0;
	margin:0;
}
/* repeated code per header */
#mainLogo, #mainLogo span {
	width: 532px; height: 108px;
	background-image: url(../images/masthead.jpg);
	background-repeat: no-repeat;
	cursor:pointer;
}
/* This is what moves the text under the span */
#mainLogo span { margin-bottom: -108px; }
/* code for all styled headers */
#header h1 span {
	display: block;
	/* place the span on top */
	position: relative;
	z-index: 1;
}
/* IE5 Mac Hack \*/
#header h1 { overflow: hidden; }
/*/
#header h1 { text-indent: -100em; }
/* End Hack */
#header #mecoLogo {
	left:430px;
	position:absolute;
	top:0px;
	z-index:100;
}
#cart {
	position: absolute;
	top: 0px;
	right: -1px;
	text-align: right;
	z-index: 15;
	background-image: url(../images/cartbg.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	width: 205px;
	padding-top: 5px;
}
#cart a {
	text-decoration: none;
	padding: 5px 25px 5px 5px;
}
#cart p {
	padding: 5px;
}

/* Content
-----------------------------------------------
*/
#contentWrapper {margin-left:20%;}
#contentWrapper ul {margin-left:2em;}
#mainContent {
	position:relative;
	float:left;
	padding:1em;
	width:68%;
}
#mainContentLg {
	float:none;
	padding:1em;
	padding-right: 1em;
}
#mainContentFull {
	float:none;
	padding: 1em;
}
#mainContent ul, #mainContent ol, #mainContentFull ul, #mainContentFull ol {
	margin: .5em 2em;
}
#mainContentLg li, #mainContent li {
	margin-top: 1em;
}
/* categories
-----------------------------------------------
*/
#categories {
	float:left;
	width:20%;
}
#categories h2 {
	padding: 5px;
	color: #FF0000;
	background-image: url(../images/cat_grad.gif);
	background-repeat: repeat-y;
	background-position: left;
}
/* Category Nav List */
#categories ul {
	list-style: none;
}
#categories a {
	display: block;
	text-decoration: none;
	padding: 3px;
	color: #0000CC;
}
#categories a:hover {
	color: #FFFFFF;
	background-color: #0000CC;
}
#categories li {
	float: left;
	display: block;
	vertical-align: baseline;
	border-top: 1px solid #999;
	background-color: #CCCCCC;
	width:100%;
}
/* For ie6 */
* html #categories li a {
	width: 100%;
}
/* Login
-----------------------------------------------
*/
#login {
	border: 1px dotted #777;
	border-right: 0px;
	background-color: #ccc;
	width:25%;
	float:right;
	padding:0 0 .5em .5em;
}
#login ul {
	list-style: none;
	margin:1em 0 0;
}
#login ul li {
	margin: .5em 0;
}
#login h4 {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #0033CC;
	margin: 5px 0px;
	padding: 3px;
}
#login img {
	margin-top: 1em;
}
.login {
	background-color: #EEEEEE;
	border: 1px solid #0033CC;
	padding: 3px;
	margin: 3px 0px;
	font-size: .9em;
}
/* Forms
-----------------------------------------------
*/
#login form .txt {
	width: 95%;
	border: 1px solid #0033CC;
}
#login form label, form.search label {
	float:none;
}
#login form p {margin:.2em 0;}
.error {
	color:#FF0000;
	font-weight:bold;
}
/* Footer
-----------------------------------------------
*/
#footer {
	clear: both;
	background-color: #CCCCCC;
	padding: 0.4em 1.2em;
	font-size: .8em;
	text-align: right;
	border-top: 1px solid #333;
	height: 2em;
}
#footer ul li {
	float: right;
	list-style-type: none;
	padding: 0 0.5em;
	border-right: solid 1px #666;
}
#footer a {
	text-decoration: none;
}
#footer .copyright {
	float: left;
}
/* Floats & Clears
-----------------------------------------------
*/
.clear, .clearBoth {
	clear:both;
}
.floatRight {
	float:right;
}
.floatRightImage {
	float:right;
	padding: 3px;
}
.floatLeft {
	float:left;
}
img.centered, .centered {
	display:block;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

/* Tables
-----------------------------------------------
*/
table {
	border-collapse:collapse;
	border-spacing:0;
	font-size:1em;
	line-height: 1.6em;
}
caption,th {
	text-align:left;
}
td, th {
	padding: 0.1em 0.5em;
}
td {
	border: 1px solid #999;
}
th {
	font-weight: bold;
	color: #fff;
	background-image: url(../images/mainNavBckg.gif);
	background-repeat: repeat-x;
	background-position: top;
	background-color: #0033CC;
	border: 1px solid #fff;
}
tr:hover {
	background: #F0F4FF;
}
.odd {
	background: #ffffdc;
}
/* Sliding Door Buttons
-----------------------------------------------
*/
a.button {
    background: transparent url('../images/buttonRight.gif') no-repeat scroll top right;
    display: block;
    float: left;
    height:61px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
}
a.button span {
    background: transparent url('../images/button.gif') no-repeat;
    display: block;
    line-height: 61px;
    padding-left: 20px;
}
a.button:link, a.button:visited {
    color: #fff;
	font-size:1.3em;
	font-weight:bold;
	text-align:center;
}
p.clearButton {
	clear:both;
	padding-top: 3px;
}
/* Microformat
-----------------------------------------------
*/
.vcard .type {display:none;}
/*
P.I.E. FLOAT CLEARING
See http://www.positioniseverything.net/easyclearing.html 
--------------------- */
.clearfix:after {
  content: ".";
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
}
.clearfix {
  display: inline-block; /* Fixes IE/Mac */
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
