/*   
Theme Name: Graycer Screw Products Company
Theme URI: http://graycer.com/new
Description: Theme developed for Graycer Screw Products Company
Author: Michael Eisenwasser (Michael Web Design)
Author URI: http://www.michaelwebdesign.com/
Version: 1.0
.
License Statement: This theme is developed exclusively for Graycer Screw Products Company and may not be used for any other site without their explicit consent.
.
*/

/* Reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;list-style: none;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}
* {padding:0;margin:0;}

/* general */
body {
	background: #26313d;
	font-family: "Lucida Grande", Arial, Helvetica, sans-serif;
	font-size: 80%;
	color: #444;
}
a {
	color: #0b6aab;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	text-decoration: underline;
	font-weight: bold;
}
.clear {
	clear: both;
}
p {
	line-height: 1.4;
}
.floatleft {
	float: left;
}
.floatright {
	float: right;
}

/* global width layout */
div.fluid {
	width: 100%;
	float: left;
	min-width: 1000px;
}
div.wrap {
	width: 957px;
	float: left;
	margin-left: 17px;
	display: inline;
	position: relative;
	z-index: 0;
}


/* Top */

div#header {
	background: #395e7b;
	padding: 14px 0;
}
div#logo {
	float: left;
	width: 249px;
	height: 110px;
	margin-left: 10px;
	display: inline;
	background: url(images/logo.png) top left no-repeat;
	cursor: pointer;
}
div#slogan {
	width: 290px;
	height: 29px;
	background: url(images/slogan.png) top right no-repeat;
	position: absolute;
	right: 5px;
	bottom: -2px;
	display: none;
}
div#navbar {
	background: #94b4c9;
	position: relative;
	z-index: 100;
}
div#main {
	background: #384452 url(images/main-bg.png) top repeat-x;
	padding: 20px 0 35px;
}


/* content */
div#content {
	float: left;
	width: 640px;
	background: #fff;
	border-bottom: 2px solid #202a33;
	border-right: 1px solid #202a33;
	position: relative;
	z-index: 1;
}
div#content-header {
	float: left;
	width: 596px;
	background: #e2e8ec;
	border-bottom: 1px solid #d2d5d8;
	padding: 17px 22px;
}
div#content-header h1 {
	color: #303e4c;
	font-size: 1.4em;
}
div#content-header span {
	font-size: .9em;
	font-weight: bold;
	margin-top: 5px;
	display: block;
}
div#content-main {
	float: left;
	padding: 20px 22px;
	width: 596px;
	background: #fff;
	min-height: 450px;
	height: auto !important; /* fixes IE6 min-height bug */
	height: 450px; /* fixes IE6 min-height bug */
}
div#content-main h1 {
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.45;
	padding-bottom: 1em;
}
div#content-main p {
	padding-bottom: 1em;
}
div#content-main hr {
	margin: 1em 0 2em;
}
div#content-main ul {
	padding: 0 0 1em;
	line-height: 1.4;
}
div#content-main li {
	list-style-type: disc;
	margin-left: 35px;
	padding: 0 0 1em;
}
div#content-breadcrumb {
	float: left;
	width: 596px;
	background: #e2e8ec;
	border-top: 1px solid #d2d5d8;
	padding: 8px 22px;
}
div#content-breadcrumb h3 {
	padding: 0;
	margin: 0;
	font-size: .9em;
	font-weight: normal;
	color: #6a7b8c;
}
div#content-breadcrumb h3 a:link,
div#content-breadcrumb h3 a:visited {
	font-weight: normal;
	color: #394856;
	text-decoration: none;
}
div#content-breadcrumb h3 a:active,
div#content-breadcrumb h3 a:hover {
	text-decoration: underline;
	color: #394856;
}
/* content thin */
div#content.thin {
	width: 574px !important;
}
div#content-header.thin,
div#content-main.thin,
div#content-breadcrumb.thin {
	width: 530px !important;
}
/* Product Samples page */
div#content-main.product-samples img {
	float: left;
	padding: 5px;
	width: 288px !important;
	height: 237px !important;
}
div#content-main.product-samples br {
	display: none;
}



/* footer */
div#footer {
	background: #26313d;
	padding: 31px 0;
	clear: both;
}
div#footer .wrap {
	width: 939px;
	padding: 0 5px;
}
div#footer h2 {
	color: #bbb;
	font-size: 1.1em;
	font-weight: bold;
	padding-bottom: 1em;
	margin: 0;
}
div#footer p {
	color: #bbb;
	font-size: .9em;
	line-height: 1.6;
	padding-bottom: 1em;
}
div#footer p.promote {
	font-style: italic;
}
div#footer a:link,
div#footer a:visited {
	color: #bbb;
	border-bottom: 1px dotted #bbb;
	font-weight: normal;
}
div#footer a:active,
div#footer a:hover {
	color: #fff;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}
/* footer credits */
.credit {
	text-align: center;
	padding: 0 10px;
	font-size: .9em;
}
.credit p {
	padding-bottom: .5em !important;
}


/* sidebar */
div.sidebar {
	float: right;
	background: #5588aa url(images/sidebar-bg.png) top left no-repeat;
	border-top: 1px solid #94b0c4;
	border-bottom: 2px solid #202a33;
	border-right: 1px solid #202a33;
	width: 290px;
	padding: 4px;
	position: relative;
	margin-bottom: 19px;
}
div.sidebar h2 {
	color: #fff;
	padding: 7px 12px 10px;
	margin: 0;
	font-size: 1.1em;
	float: left;
}
div.sidebar h3 a {
	position: absolute;
	top: 13px;
	right: 12px;
	color: #fff;
	font-weight: normal;
	font-size: .8em;
}
div.sidebar #product-img {
	border-top: 1px solid #2c3845;
	border-left: 1px solid #2c3845;
	border-right: 1px solid #94b0c4;
	border-bottom: 1px solid #94b0c4;
	float: left;
	width: 288px;
	height: 237px;
	background: #040207;
	cursor: pointer;
	overflow: hidden;
}
div.sidebar .list {
	float: left;
	width: 288px;
	background: #fff;
	border-top: 1px solid #2c3845;
	border-left: 1px solid #2c3845;
	border-right: 1px solid #fff;
}
div.sidebar .list ul {
	padding: 0;
	margin: 0;
}
div.sidebar .list li a {
	color: #444;
	border-bottom: 1px solid #ddd;
	padding: 8px 12px;
	width: 264px;
	margin: 0;
	display: block;
	clear: left;
	font-weight: normal;
	text-decoration: none;
}
div.sidebar .list li a:hover {
	background: #e2e8ec;
}
/* sidebar wide (map) */
div.sidebar.wide {
	width: 356px !important;
}
div.sidebar.wide #map {
	float: left;
	width: 354px;
	background: #fff;
	border-top: 1px solid #2c3845;
	border-left: 1px solid #2c3845;
	border-right: 1px solid #94b0c4;
	border-bottom: 1px solid #94b0c4;
}



/* search */
form#search {
	position: absolute;
	top: 0;
	right: 3px;
}
input#search-input {
	background: url(images/search.png) top right no-repeat;
	border: 0;
	color: #47494a;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 13px;
	padding: 4px 27px 3px 7px;
	width: 259px;
	height: 20px;
	position: absolute;
	right: 0;
	top: 5px;
}
*:first-child+html input#search-input,
* html input#search-input {
	padding: 3px 30px 4px 5px;
}
input#search-button {
	position: absolute;
	right: 1px;
	top: 6px;
	cursor: pointer;
}
.alert {
	color: red;
	font-weight: bold;
}


/* News items */
.post {
	border-bottom: 1px solid #d2d5d8;
	float: left;
	width: 100%;
	padding: 20px 0 12px;
	position: relative;
}
.post h1 {
	color: #444;
	font-size: 1.2em;
}
.post h1 a {
	font-size: .7em;
}
.post h3 {
	font-size: .8em;
	font-weight: bold;
	position: absolute;
	top: 23px;
	right: 0;
}
.post p {
	padding: 12px 0 0 !important;
}

