/*   
CSM Fastener Products Cascading Style Sheet
URI: http://www.csmfastener.com/style.css
Description: Basic stylesheet
Author: Matthew Weber (MoWorld Enterprises)
Author URI: http://www.moworldenterprises.com
Version: 1.0
*/

/*
CSM CSS file organization
-----------------
[1] General
All general items, browser specific hacks

[2] Header
All things specific to the header

[3] Tabs
All things specific to the tabs

[4] Forms
All things specific to sales forms

[5] Main Content
All things specific to the main content

[6] Special Content
All special containers and panels

[7] Footer
All things specific to the header

*/


/*---------[1]General---------*/
body {
	background-color: #FFFFFF;
	background-image: url('http://www.csmfastener.com/pix/background.jpg');
	background-repeat: repeat;
	color: #000; 
	font-family: 'Lucida Grande',Arial, Helvetica, Sans-serif; 
	font-size: .8em;
	line-height: 1.6em;
	padding-top: 50px;
	padding-bottom: 50px;
	margin: 0;
	}

* {
	margin: 0;
	padding: 0;
	}

a { 
	text-decoration: underline; 
	}
	
h1, .weathercity {
	text-decoration: underline;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.6em; 
	color: #f49d13;
	margin: 0 0 0 35px;
	}
  
h1:before {
	content: url('http://www.csmfastener.com/pix/h1_bullet.gif');
	padding-right:3px;
	} 
  
h2 {
	font-size: 1em;
	line-height: 1.4em;
	color: #3F475C;
	margin:0;
	}
  
h3 {
	font-size: .9em; 
	font-style: italic;
	color: #535675;
	margin:0;
	}
  
h4, h5 {
	font-size: .8em; 
	line-height: 1.2em;
	margin:0;
	}
  
h6 {
	color: #535675;
	font-size: 1.5em; 
	line-height: 2.3em;
	margin: 0;
	text-align: center;
	border: thin solid rgb(162,166,173);
	padding: 5px 5px 5px 5px;
	margin: 0 20px 0 60px;
	background-color: #f2f3f5;
	}

strong {
	font-size: .9em;
	line-height: 1.3em;
	margin:0;
	}
  
code {
	font-family: Courier New, Courier, Monaco, monospace;
	font-size: 1em;
	color: #000000;
	background: #eeeeee;
	border: #bbbbbb 1px solid;
	padding: 1px;
	text-align: left;
	}

p {
	color: #FFFFFF;
	margin: 0px;
	}

.quote {
	font-style: italic;
	}

.sidecol_links {
	color:#4A515C;
	font-weight: bold;
	line-height:1.4em;
 	margin: 7px 8px -5px 9px;
	}

pre {
	font-family: "Bitstream Vera Sans Mono", "Courier New", Monaco, Courier, monospace;  /* [3] */
	}

img { 
	border: 0px;
	}

/* The A element */

a  {
	text-decoration: none;
	font-weight: bold;
    }
     
a:link, a:visited, a:active{
	color:#f49d13;	
    }
     
a:hover{
	color:#FFFFFF;	
	}
     
a.side:link,a.side:visited { 
	color: #4A515C;
	font-weight: normal;  
	text-decoration: underline; 
	}
	
a.side:hover,a.side:active { 
	color: #7A8194;
	font-weight: normal; 
	text-decoration: underline; 
	}
	
a.SDAC:link,a.SDAC:visited, a.SDAC:hover,a.SDAC:active { 
	color: #D9DBE2; 
	text-decoration: underline; 
	}

/* ---------[2]Header---------*/

#header {
	padding: 0;
	margin: 0 auto;
	height: 37px;
	width: 100%;
	background-color: #73a0c5;
	background: url('http://www.csmfastener.com/pix/header.gif') no-repeat bottom center;
	}
	
#header p {
	padding:16px 8px 0 0;
	float:right;
	color:#4c5062;
	font-size:.8em;
	}

.logo {
	padding:16px 0 0 8px;
	float:left;
	color:#4c5062;
	font-size:.9em;
	font-weight:bold;
	border:0;
	margin-bottom:-1px;
	}
	
#pictures {
	padding-left:24px;
	float:left;
	color:#4c5062;
	font-size:10px;
	}

/* ---------[3]Tabs---------*/

#tabs {
    float:left;
    padding-left: 0;
    width:750px;
    line-height: 22px;
    }
     
#tabs ul {
    margin:0;
    padding-top:0;
    list-style:none;
    background: #cfd1d9 url('http://www.csmfastener.com/pix/tabs.gif') repeat-x;
    border-bottom:1px solid #a2a6ad;
    float: left;
  	width: 750px;
    }
     
#tabs li {
    float:left;
    border-right:1px solid #a2a6ad;
    margin-top:0;
    padding:0;
    }
    
#tabs a {
    padding: 0 15px 0 15px;
  	text-decoration: none;
  	font-weight:bold;
  	color: #4b5060;
  	float: left;
  	display: block;
    }
     
#tabs > ul a {width:auto;}
	/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a {float:none;}
    /* End IE5-Mac hack */
#tabs a:hover {
	color:#262c3f;
    }

#home #nav-home, #manuf #nav-manuf, #sales #nav-sales, #engineer #nav-engineer, #quality #nav-quality, #history #nav-history, #contact #nav-contact {
    background: #acafb8 url('http://www.csmfastener.com/pix/tabs_active.gif') repeat-x;
    border-right:1px solid #a2a6ad;
	}

#home #nav-home a, #manuf #nav-manuf a, #sales #nav-sales a, #engineer #nav-engineer a, #quality #nav-quality a, #history #nav-history a, #contact #nav-contact a {
	background: #acafb8 url('http://www.csmfastener.com/pix/tabs_active.gif') repeat-x;
    color:#262c3f;
	}

#tabs li:hover, #tabs li:hover a {
	background:url('http://www.csmfastener.com/pix/tabs_active.gif') repeat-x;
    color:#262c3f;
    }

/* ---------[4]Forms---------*/
fieldset {
	margin-left: 40px;
	padding-left: 40px;
	border: none;
	width: 80%;
	}

label {
	width: 120px;
	float: left;
	text-align: right;
	margin-right: 5px;
	display: block;
	padding-left: 40px;
	}

label.required {
	background: url('http://www.csmfastener.com/pix/required_bullet.gif') no-repeat;
	}

input {
	color: #000;
	background: #f49d13;
	border: 1px solid #d7b9c9;
	}

input.submit {
	padding: 0;
	color: #ffffff;
	background: #0000aa;
	border: 2px outset #d7b9c9;
	}

select {
	padding: 0;
	color: #000;
	background: #f49d13;
	border: 1px solid #d7b9c9;
	}

option {
	width: 120px;
	}
	
textarea {
	background: #f49d13;
	border: 1px solid #d7b9c9;
	}

/* ---------[5]Main Content---------*/

#container {
	background: #0000CC url('http://www.csmfastener.com/pix/bg.png') repeat-y;
	margin: 0px auto;
	padding: 0;
	width: 750px;
	}
	
#contentpanel {
	float: left;
	margin-top:10px;
	width: 750px; 
	padding: 0 10px 0 10px; 
	}

#contentpanel p {
	padding: 0 30px 0 30px;
	margin: 5px 5px 5px 5px;
	width: 80%;
	font-size: 1.2em;
	color: #FFFFF;
	}

#contentpanel ul {
	list-style-image: url('http://www.csmfastener.com/pix/list_bullet.gif');
	list-style-type: square;
	list-style-position: inside;
	padding: 5px 5px 5px 5px;
	margin: 0 0 0 35px;
	width: 80%;
	font-size: 1.2em;
    }
     
#contentpanel li {
	color: #FFFFFF;
    margin: 0 0 10px 0;
    padding: 5px 0 10px 0;
    }

/* ---------[6]Special Content---------*/

#contactpanel {
	background-color: #0000aa;
	border: medium double rgb(244,157,19);
	width: 310px;
	float: right;
	margin: 10px 18px 10px 0;
	padding: 10px 10px 10px 10px;
	}

#contactpanel p {
	width: 145px;
	margin: 0 0 10px 160px;
	padding: 0 2px 0 3px;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 20px;
	color: #ffffff;
	}
	
#contactpanel p.emailink {
	background-color: #0000aa;
	}

#contactpanel p.nameplate {
	width: 150px;
	margin: 0 0 10px 0;
	padding: 0;
	text-align: center;
	background-color: #f49d13;
	color: #0000cc;
	font-weight: bold;
	}

#contactpanel img {
	float:left;
	}

/* ---------[7]Footer---------*/

#footer {
	padding:0;
	background: url('http://www.csmfastener.com/pix/footer.gif') no-repeat bottom center; 
	border: none;
	margin: 0 auto;
	height:37px;
	width: 750px;
	clear: both;
	}

#footer p, .modified {
	padding: 0;
	font-size:.8em;
	color: #3F475C;
	}

/* text wrap */

.flow {
	float: left;
	clear: left;
	margin: 0px;
	padding-right:5px;
 	}
