/*
Copyright SigT, Inc.
Created by James Ravn (jsravn@yahoo.com) for www.smcpanels.com

LAYOUT

1. Globals
2. Body
   a) Main
      i) Header
         - Logo
         - Title
         - Navbar
     ii) Content
         - Frontpage Index
         - Product Listing
         - Pricelist
         - Contact
         - Admin Login
         - Search
         - Register
         - Admin Page
         - Coming Soon
*/

/* Globals */

* { 
  margin: 0;
  padding: 0;
}

/* Body */

html { 
  background-color: #eee;
}

body {
  margin: 0.5em 0;
  font-family: arial, serif, sans-serif, helvetica;
}

a, a:visited {
  color: #00c;
  text-decoration: none;
  border-bottom: solid 1px #00c;
}

a:hover, a:active {
  color: red;
  border-bottom: solid 1px red;
}

img { 
  border: 0;
}

/* Main (< Body) */

#main { 
  margin: 0 auto;
  padding: 0;
  width: 760px;
}

/* Header (< Main)*/

#header {
  height: 145px;
  border: 1px solid #333;
  color: #000;
  
  background-color: #fff;
  background-image: url(/images/headerbg.png);
  background-repeat: repeat-x;
  background-position: 0 -25;
}

/* Logo (< Header) */

#logo { 
  margin-top: 10px;
  margin-left: 10px;
  float: left;
  width: 120px;
}

#logo a, #logo a:visited, #logo a:hover, #logo a:active { 
  border-bottom: none;
}

/* Title (< Header) */

#title { 
  margin-top: 10px;
  text-align: center;
}

/* Navbar (< Header) */

#navbar {
  clear: both;
  text-align: center;
}

#navbar form { 
  display: inline;
}

#navbar p {
  font-size: medium;
  word-spacing: 0.2em;
  display: inline;
}

/* Content (< Main) */

#content {
  margin: 0.5em 0;
  padding: 0.5em;
  border: 1px solid #333;
  color: #000;
  background-color: #fff;
  font-size: small;
  text-align: left;
}

#content h2 {
  margin: 0 0 .5em;
  padding: 0 2.0em;
  font-size: large;
  text-align: center;
  text-decoration: underline;
}

/* Frontpage Index (< Content) */

.productentry {
  margin-top: 5px;
  margin-bottom: 10px;
  height: 243px;
}

.productentry h3 {
  margin-bottom: 5px;
  float: right;
  clear: right;
  width: 420px;
  text-align: center;
  font-size: medium;
  font-weight: bold;
  border: 1px solid #000;
}

.floatcenter p {
  text-align: justify;
}

.floatleft {
  float: left;
  width: 320px;
  height: 240px;
}

.floatleft img {
  border: 1px solid #333;
  border-right: 0;
}

.floatright {
  float: right;
  clear: right;
  width: 14em;
}

.floatright p {
  margin: 0.2em 0 0.2em 20px;
  padding: 0.5em 0.4em;
  border: 1px solid #000;
}

/* Product Listing (< Content) */

#itemlistingheader table { 
  margin: 5px 5px 0;
  border-collapse: collapse;
  width: 734px;
}

#itemlistingheader p { 
  display: inline;
}

#itemlistingheader tr { 
  vertical-align: bottom;
  text-align: left;
  font-size: small;
  font-weight: bold;
}

#itemlistingheader td { 
  border: 1px solid #fff;
}

#itemlistingback { 
  text-align: center;
}

#itemlistingheader .itemimage {
  width: 54px;
}

#itemlistingheader .partnumber { 
  padding: 0 10px;
  width: 150px;
}

#itemlistingheader .description { 
  padding: 0 10px;
  width: 430px;
}

#itemlistingheader .detail { 
  padding: 0 10px;
}

.itementry { 
  margin: 5px;
  padding: 0;
  border: 1px solid #000;
  height: 56px;
}

.itementry p { 
  display: inline;
}

.itementry .itemimage { 
  margin: 2px;
  padding: 0;
  float: left;
  width: 50px;
  height: 50px;
  border: 1px solid #000;
}

.itementry .itemimage a { 
  border-bottom: none;
}

.itementry .partnumber { 
  padding: 10px;
  float: left;
  height: 36px;
  width: 150px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  font-size: small;
}

.itementry .description { 
  padding: 10px;
  float: left;
  height: 36px;
  width: 430px;
  border-right: 1px solid #000;
  font-size: small;
  overflow: auto;
}

.itementry .detail, .itementry .price { 
  margin: 0;
  padding: 4px;
  float: right;
  clear: right;
  width: 40px;
  height: 20px;
  border: 0;
}

/* Pricelist (< Content) */

#pricelist table { 
  margin: auto;
  border-collapse: collapse;
}

#pricelist td { 
  padding-left: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
  border: 1px solid #000;
}

#pricelist .columnone { 
  padding-right: 5px;
  text-align: right;
}

#pricelist .columntwo { 
  padding-right: 10px;
  text-align: left;
}

#pricelist p { 
  text-align: center;
  margin-top: 1em;
}

/* Contact (< Content) */

#contact p { 
  text-align: center;
  margin-bottom: 0.5em;
}

#contact table { 
  margin: auto;
  border-collapse: collapse;
}

#contact td { 
  padding-left: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
  border: 1px solid #000;
}

#contact .columnone { 
  padding-right: 5px;
  text-align: right;
}

#contact .columntwo { 
  padding-right: 10px;
  text-align: left;
}

/* Admin Login (< Content) */

#adminlogin p { 
  text-align: center;
  font-size: large;
}

#adminlogin form { 
  text-align: center;
}

/* Search (< Content) */

#search form { 
  text-align: center;
}

#search li { 
  margin: 1.5em 2em 1.5em 3.5em;
}

/* Register (< Content) */

#register form { 
  text-align: center;
}

#register p { 
  text-align: center;
  margin: .5em;
}

#register table { 
  margin: auto;
  width: 70%
}

#register td { 
  height: 2em;
}

#register .colone { 
  background-color: #ddd;
  width: 55%;
}

#register .coltwo { 
  width: 33%;
}

#register .colthree { 
  width: 12%;
}

/* Admin Page (< Content) */

#admin * { 
  margin: 0.5em;
}

/* Coming Soon (< Content) */

#comingsoon h3 { 
  text-align: center;
  margin-bottom: 0.5em;
}

#comingsoon li { 
  margin-left: 2em;
  margin-bottom: 0.5em;
}