 /* External Style Sheet for screen: C & T Tool and Machine Inc. */
/* XHTML, CSS & PHP Development: Black Cap Design */

* {margin: 0} /* sets margin on everything to 0 to address IE & non-IE rendering inconsistencies  */
img {border: none;} /* removes border on all images */

body 
{
	padding: 0;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px;
	background: white url('../images/bg.gif') repeat-x;
	color: #484848;
	min-width: 994px; /* prevents design collapse (header) on small window resize */	
}
#bodywrap /* to address IE centering bug */
{
	width: 974px;
	margin: 0 auto;
}
.no_display
{
	position:absolute;
	left: 0px;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ============<BANNER>============= */
#banner
{
	height: 178px;
	width: 974px;
	margin-top: 10px; 
}
#logo
{
	position: absolute;
	top: 0;
	left: 33px;
	z-index: 20;	
}
#banner_img
{
	position: absolute;
	top: 0;
	right: 4px;
}
/* ============</BANNER>============ */

/* ===========<3 column layout>=========== */
#container
{
	clear: both;
/*	position: relative;	 necessary for absolute positioning of logo div */
	background-color: white;
	width: 974px;
}
#left_sidebar
{
	float: left;
	width: 240px;
	background-color: white;
	padding: 2px 0 10px 21px;
	margin-bottom: 20px;
}
#content
{
	margin: 0px 256px 16px 256px;
	padding: 20px 6px 0 6px;
	background-color: white; 
}
#right_sidebar
{
	float: right;
	width: 240px;
	padding: 0 0 0 0;
	margin: 0 0px 0 0;
}


/* ===========<3 column layout>=========== */

/* ============<HORIZONTAL NAVIGATION>============ */
#nav
{
	background-color: white;
	background-image: url('../images/nav_bg.gif');
	background-repeat: repeat-x;
	background-position: top left; 
	width: 974px;	
	height: 42px;	
	float: left;
  font-size: 1em;
  font-weight: bold;

}
#nav ul 
{
	margin: 0;
	padding: 0px 10px 0 260px;
	list-style-type: none;
}
#nav li
{
	float: left;
	margin: 0;
	padding: 5px 4px 0 0px;
}
#nav a 
{
  float:left;
	background: url('../images/tab_left.gif') no-repeat left top;
  margin: 0 3px;
  padding: 0 0 0 5px;
  text-decoration:none;
}
#nav a span 
{
  float: left;
  display: block;
	background: url('../images/tab_right.gif') no-repeat;
	background-position: right 0px;
  padding: 3px 12px 7px 5px;
  color: white;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav a span {float:none;}
/* End IE5-Mac hack */
#nav li.active a, #nav li.active a:visited             
{
  background-position: 0% -24px;
  color: black;
}
#nav li.active a span  
{
  background-position: 100% -24px;
  color: black;
}
#nav a:hover
{
  background: url('../images/tab_left_hover.gif') no-repeat;	
  background-position: 0% -24px;
  color: black;
}
#nav a:hover span
{
	background: url('../images/tab_right_hover.gif') no-repeat;
  background-position: 100% -24px;
  color: black;	
}
#nav li.active a:hover
{
	background: url('../images/tab_left.gif') no-repeat;
	background-position: 0% -24px;
	color: black;	
}
#nav li.active a:hover span 
{
	background: url('../images/tab_right.gif') no-repeat;
	background-position: 100% -24px;
	color: black;	
}
/* ---<To force other elements below #nav>--- */ 
.clear_right
{
	clear: right;	 
}
/* ============</HORIZONTAL NAVIGATION>============ */


/* ---------------<CONTENT DIVs>-------------- */

h1
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	margin: 0px 0 8px 0;
	color: #08519d;
}
h2
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	margin: 12px 0 8px 0;
	color: #08519d;
}
h3
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	margin: 8px 0;
	color: #08519d;
	font-style: oblique;
}
h4
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 11px;
	margin: 8px 0;
	color: #08519d;
	text-transform: uppercase;
}
p
{
	margin: 10px 0;
	line-height: 175%;
	font-family: Verdana, Helvetica, Arial, sans-serif;		
}
.sidbar_img
{
	margin: 8px 0 0 -8px;	
}
.single_space /* for single spacing paragraphs */
{
	line-height: 120%;	
}
.large-bold
{
	font-weight: bolder;	
}
.intro, #search_label 
{
	color: #08519d;
	font-weight: bolder;	
	font-size: 12px;
}
#content_search
{
	margin: 0px 0 16px 80px;
	padding: 20px 6px 0 6px;
	background-color: white; 
}
#cse-search-results
{
	width: 800px;

}
.hilite_box_top
{
	background: url('../images/hilite_box_top.gif') no-repeat;
	width: 449px;
	height: 14px;	
}
.hilite_box_bot
{
	background: url('../images/hilite_box_bot.gif') no-repeat;
	width: 449px;
	height: 14px;	
}
.highlight_box
{
	background: url('../images/hilite_box_mid.gif') repeat-y;
	padding: 6px 30px;		
}
.highlight_box p
{
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 14px;	
}
.resize_1
{
	display: block;
	height: 130px;
}
.resize_1_thumb
{
	float: right;
	width: 150px;
	height: 120px;
	margin: 6px 12px 12px 12px;
}
.resize_2_thumb
{
	width: 150px;
	height: 130px;
	margin: 12px;
}
.content_col1
{
 float: left;
 width: 60%; 	
}
.content_col2
{
	float: right;
	width: 38%;
}
.content_col1b
{
 float: left;
 width: 48%; 	
}
.content_col2b
{
	float: right;
	width: 48%;
}
.content_box
{
	display: block;
}

.content_bg1_top
{
	width: 448px;
	height: 40px;
	background: url('../images/content_bg1_top.gif') no-repeat;		
}
.content_bg1_mid
{
	background: url('../images/content_bg1_mid.gif') repeat-y;
	width: 448px;				
}
.content_bg1_mid img
{
	margin-left: 6px;	
}
.content_bg1_bot
{
	width: 448px;
	height: 20px;
	background: url('../images/content_bg1_bot.gif') no-repeat;		
}
.no_break
{
	white-space: nowrap;	
}
.project_img
{
	float:right;
	width: 153px;
/*	height: 100px; */
	border: 1px solid silver;
	margin:12px;
}	
.shop_thumbs
{
	height: 110px;
	padding-top: 10px;
	display:block;	
}
.project_p
{
	min-height: 120px;
	min-height: 140px;	
}	
.bak2top 
{
  font-family: verdana;
  font-size: 10px;
  font-weight: bold;
  color: #08519d;
  background-color: #ececec;
  border: 1px solid;
  border-color: black;
  padding: 2px;
  z-index: 10;
}
.bak2top a
{
  color: #08519d;
  background-color: #ececec;
  border: none;
}
/* ---------------</CONTENT DIVs>-------------- */

/* ---------------<SIDEBAR DIVs>-------------- */
/* ----<Left Sidebar>---- */
/* ---<sidebar navigation tabs>--- */
#img_tab1 a, #img_tab2 a, #img_tab3 a, #img_tab4 a
{
	width: 210px;	
	height: 130px;
	display: block;	
	background: url('../images/machining_tab.jpg') no-repeat;	
}
#img_tab1 a {}
#img_tab2 a {background: url('../images/automation_tab.jpg') no-repeat;}
#img_tab3 a {background: url('../images/dies_tab.jpg') no-repeat;}
#img_tab4 a {background: url('../images/cmm_tab.jpg') no-repeat;}
#img_tab1 a:hover {background-position: left bottom;}
#img_tab2 a:hover {background: url('../images/automation_tab.jpg') no-repeat; background-position: left bottom;}
#img_tab3 a:hover {background: url('../images/dies_tab.jpg') no-repeat; background-position: left bottom;}
#img_tab4 a:hover {background: url('../images/cmm_tab.jpg') no-repeat; background-position: left bottom;}
#img_tab1.active a {background: url('../images/machining_tab.jpg') no-repeat left bottom;}
#img_tab2.active a {background: url('../images/automation_tab.jpg') no-repeat left bottom;}
#img_tab3.active a {background: url('../images/dies_tab.jpg') no-repeat left bottom;}
#img_tab4.active a {background: url('../images/cmm_tab.jpg') no-repeat left bottom;}
/* ---</sidebar navigation tabs>--- */
/* ----</Left Sidebar>----*/

/* ----<Right Sidebar>---- */

#right_sidebar p
{
	margin: 0 0 0 0;
	padding-top: 0px;
	text-align: center;
}
.hr
{
	width: 220px;
	height: 2px;
	background: #bbb;
	display: block;
	margin-left: 20px;	
}
#translator
{
	margin: 10px 0 10px 50px;
}
#cse-search-box
{
	margin: 0 0 0 10px;	
	padding: 10px 0 10px 60px;
	background-image: url('../images/search_icon.jpg');
	background-repeat: no-repeat;
	background-position: 16px 22px;
}
#sitemap, #quote
{
	background-image: url('../images/sitemap_icon.gif');
	background-repeat: no-repeat;
	background-position: 10px 6px;
	height: 40px;
	margin: 10px 0 0px 16px;	
	padding: 10px 0 0px 54px;			
}
#quote
{
	background-image: url('../images/quote_icon.jpg');	
	margin: 0px 0 0px 16px;	
	padding: 0px 0 10px 54px;		
}
#sitemap p, #quote p
{
	font-weight: bold;
	font-size: 12px;
	text-align: left;	
}
/* ----</Right Sidebar>---- */
/* ---------------</SIDEBAR DIVs>-------------- */
/* ---------------<LISTS>-------------- */
ul.arrow
{
	margin: -6px 0 8px 5px;
	padding: 0 8px 0 8px;
	list-style-type: none;	
}
ul.arrow ul
{
	list-style-type: none;
}
ul.arrow li
{
  background: transparent url('../images/arrow.gif') no-repeat;
  padding: 0 0 0 12px;
  background-position: 0px 7px;	
	line-height: 175%;
}
ul.arrow li ul
{
	margin-left: -20px;		
}
ul.arrow li ul li
{
  background: transparent url('../images/arrow2.gif') no-repeat;
  padding: 0 0 0 12px;
  background-position: 0px 7px;	
}
ul.numeric
{
	margin: 0 0 8px 20px;
	padding: 0 8px 0 16px;
	list-style-type: decimal;		
}
ul.numeric li
{
	line-height: 175%;	
}
ul.numeric li ul
{
	margin-left: 0px;
	padding-left: 16px;
}
	
/* ---------------</LISTS>-------------- */

/* -------------<FOOTER>-------------- */
#footer
{
	clear: both;
	border-top: 1px solid #bbb;
	width: 930px;
	margin: 0px 0 0 20px;
	height: 36px;
}
#footer p
{
	color: #bbb;
	margin-top: 0;
}
#design_credit
{
	margin-left: 460px;	
}
/* ===<ANCHORS>=== */
#content p a:link, #content ul a:link, #right_sidebar p a:link
{
	color: #4361c7;
	text-decoration: underline;	
}
#content p a:visited, #content ul a:visited, #right_sidebar p a:visited
{
	color: #cc3300;
	text-decoration: underline;	
}
#content p a:visited:hover, #content ul a:visited:hover, #right_sidebar p a:visited:hover
{
	color: #cc3300;
	text-decoration: none;	
}
#content p a:hover, #content ul a:hover, #right_sidebar p a:hover
{
	color: #4361c7;
	text-decoration: none;	
}
span#design_credit a {color: #bbb; text-decoration: underline;}
span#design_credit a:hover {color: #bbb; text-decoration: none;}

/* ===</ANCHORS>=== */
/* ===<CONTACT FORM>=== */
form
{
	line-height: 175%;
	margin-right: 24px;	
}
#contact_form
{
	width: 408px;	
}
fieldset
{
	border: none;
	display: block;
	padding: 12px;
	background: #ececec;
	border: 1px solid silver;
}
fieldset dl
{
	margin-top: -48px;	
}
.Firstname
{
	visibility: hidden;	
}
.small
{
	width: 200px;	
}
.medium
{
	width: 250px;
}
.large
{
	width: 380px;	
}
textarea.txtmedium
{
 width: 380px;
 height: 68px;	
}
textarea.txtlarge
{
 width: 380px;
 height: 84px;			
}

/* ===</CONTACT FORM>=== */