/* Start of CMSMS style sheet 'TAO_LAYOUT_TEST' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #cc9933; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #cc9933;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #000;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ffffff;
}

div#bodyback {
   background: url('uploads/images/main/test2.jpg') center;
}

div#topwrapper {
   height: 25px;
   width: 100%;
   background: url('uploads/images/main/webbing5.png') repeat-x -4px;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: -25px auto 0 auto;       /* this centers wrapper */
   width: 840px;
   *width: 840px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   width: 840px;
   float: left;
}

div#name {
   width: 343px;
   float: left;
   padding: 50px 0 0px 0;
}

div#name_pages{
   float: left;
   padding: 50px 0 0px 0;
}

div#logo {
   float: right;
}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div#breadcrumbs {
   font-size: 1.0em;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   padding-top: 10px;
   float: left; 
   width: 450px
}

 div#breadcrumbs span.lastitem { 
   font-style: italic; 
 } 

 div#content {
   margin: 30px 0 0 -5px;   /* some air above and under menu and content */
   float: left;
   background-color: #ffffff;
}

div#main {
   float: right;
   width: 642px;
   margin: 0 0 0 20px;
   *margin: 0 0 0 0px;
   padding: 0;
}

div#main_image_bg {
   display: inline;
   float: left; 
   margin-bottom: 10px;
   margin-top: -17px;
   margin-left: -10px;
   padding-right: 20px;
   padding-top: 18px;
   background: url('uploads/images/main/photo_map3.png') no-repeat left;
   width: 647px; 
   height: 230px;
}

div#main_image {
   float: left;
   margin: 10px 10px 10px 20px; 
   padding: 0px; 
   background: transparent url('uploads/images/ww.jpg') no-repeat 0px -20px;
   width: 445px;
   height: 180px;
}

div#fadeshow1 {
   float: left;
   margin: 10px 10px 10px 20px; 
   padding: 0px; 
   width: 445px;
   height: 180px;
}

div#slogan {
   float: left;
   margin: -175px 0 0 25px;
   padding: 10px;
   background-color: #ffffff;
   opacity: 0.7;
   filter: alpha(opacity = 70);
   zoom: 1;
   color: #000000;
   text-align: center;
}

div#photo_tag {
   float: right;
   margin: 170px 0 0 0;
   padding: 0px;
   background-color: #ffffff;
   opacity: 0.7;
   filter: alpha(opacity = 70);
   zoom: 1;
   color: #000000;
   text-align: center;
   font-size: 0.7em;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 183px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin: 0;
}

div#join {
  float: left;
  background: url('uploads/images/main/menu_test2.png') repeat-y -13px;
  width: 183px;
}

div#content #join h2 {
  margin: 0px -8px 0px 5px;
  padding: 1em 0.5em 0.6em 1.8em;
  background: url(uploads/images/main/menug2.png) no-repeat -5px 0px;
  height: 16px;
  line-height: 1.3em;
  font-family: Verdana;
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
}

div#sidebar_end {
   float: left;
   width: 183px;
   height: 21px;
   background: url('uploads/images/main/menu_test3.png') no-repeat -13px;
}

div#quicklinksbody {
  float: right;
  width: 146px;
  margin-bottom: 25px;
  padding: 5px 0 0 0;
  *padding: -7px 0 0 0;
  font-size: 1.1em;
}

div#overlay_icons {
   float: left;
   width: 501px;
   height: 113px;
   padding-bottom: 20px;
   margin-top: -94px;
}

div#search_bar {
  float: right;
  width: 146px;
  height: 30px;
  background: url('uploads/images/main/search_bar2.png') no-repeat;
  margin: 0 0 10px 0;
}

div#gearnutz {
  float: left;
  background: url('uploads/images/main/gearnutzbar.png');
  width: 344px;
  height: 21px;
  margin: 0 -5px 0 10px;
  padding: 10px;
  text-align: center;
}

div#bottomwrapper {
  width: 100%;
  height: 35px;
  background: url('uploads/images/main/webbing6.png') repeat-x 4px;
  clear: both;
  margin: 0;
}

/********************
GEARNUTZ MENU
*********************/

div#gearnutz a, div#gearnutz a:link, div#gearnutz a:active, div#gearnutz a:visited {
  font-family: Verdana;
  font-size: 0.8em;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
  color: #333333;
  text-decoration: none;
}

div#gearnutz a:hover {
  font-family: Verdana;
  font-size: 0.8em;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
}

div#gearnutz a:link {
  font-family: Verdana;
  font-size: 0.8em;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

div.pad {
  min-height: 100px;
}

div.pad-top {
  min-height: 150px;
}

div#quicklinksbody a {
  margin: 0 5px 0 0;
  color: #97370c;
  font-size: 0.8em;
}

span.blink a:active, .blink a:visited, .blink a:hover, .bflink a:link {
    text-decoration: none;
    color: #000;
    font-size: 1em;
}

/* TEST PRODUCTS */
div.ProductDirectoryItem {
    float: left;
    width: 192px;
    padding: 10px;
    min-height: 240px;
    margin: auto;
    text-align: center;
}

div.ProductDirectoryHierarchy {
    float: left;
    width: 622px;
    padding: 20px 10px;
    min-height: 180px;
    border-bottom: 1px dotted #333;
}


div.ProductDirectoryItemFeature {
    float: left;
    width: 192px;
    padding: 10px;
    min-height: 180px;
}

/* HEADINGS */
div#content h1 {
   font-size: 1em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2 {
        height: 14px;
	color: #333; 
	font-size: 1.4em; 
        font-weight: bold;
        font-family: Arial;
	text-align: left; 
	padding: 0.5em 0.5em;
        margin: 0 0 1em 0;
}

div#content h3 {
   color: #000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0 0;
}
div#content h4 {
   color: #000; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #000; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#quicklinksbody h4 {
  color: #000;
  font-size: 0.9em;
  text-transform: uppercase;
  text-align: center;
}
/* END HEADINGS */

/* FORMS */
form {
  padding: 6px 6px;
}

div#search_bar form{
  padding: 6px 10px;
}

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
   list-style-image: url('uploads/images/main/listimage.png');
}

div#quicklinksbody ul {
   list-style-image: none;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

div#main #quicklinksbody ul li {
   list-style: none;
   margin: 2px 20px;
}
/* END LISTS */

/* ACCORDIAN */
.sm {list-style:none; width:445px; height:180px; display:block; overflow:hidden}
.sm li {float:left; display:inline; overflow:hidden}
#main .sm li img, #main .sm li, #main .sm ul {margin: 0; padding: 0;}
/* END ACCORDIAN */
/* End of 'TAO_LAYOUT_TEST' */

