/*
  +------------------------------------------------------------------+
  | MikeCherim.com                                                   |
  | CSS: List Boxes                                                  |
  | Cascading Style Sheet                                            |
  | Copyright Aug 2007                                               |
  | Use with attribution by visible link please!                     |
  | Attribute to: <a href="http://green-beast.com/">Mike Cherim</a>  |
  +------------------------------------------------------------------+
*/ 

/*
  Below is the CSS need for the list. I also added the CSS used for 
  the wrapper and headings and paras. I will mark them as separate.
  Please note that if you use this, you may need to zero or re-
  calculate the padding and margin of the ul, li, h3 (if used) and p.
  The reason is I am using a gloab reset with nothing spec'd for ul
  and li so mine are effectively zero except as marked.
*/

/*
  First define a content are width and position, if needed. I'm centering
  the 623px wide shell
*/
#clb-shell {
	width : 960px;
}

/* 
  My main experiment sub-heading. Just setting color
*/
#clb-shell h2 {
  color : #669900;
}

/*
  Now I'm resetting the paragraph padding (it was zeroed). I'm also clearing
  the p, but I don't really need this for the top one, only the bottom. The 
  top has no effect (it'll clear the heading by default), but it is needed 
  for the bottom (depending on the shell width versus the ul width). It may 
  not be needed at all. Your situation will determine.
*/
#clb-shell p {
  padding : 10px;
  clear : both;
}

/*
  I define the width of the ul, set the height (in ems!) align the text and
  remove list styles. The last may not be needed on most browsers
*/
ul#clb {
  width : 860px;
  height : 9em;
  text-align : center;
  list-style-type : none;
}

/*
  Now I style the individual boxes (li)
*/
ul#clb li {
  margin : 0 2px;
  border : 1px solid #666;
  width : 200px;
  height : auto;
  background : #ffffea url(images/clb_li_back.jpg);
  float : left; 
  display : inline;
}

/*
  Style the li links
*/
#clb-shell a {
  color : #669900;
}
#clb-shell a:hover, #clb-shell a:focus, #clb-shell a:active {
  color : #000;
  text-decoration : none;
}
#clb-shell a:focus, #clb-shell a:active {
  background-color : #fff;
}

/*
  Style the h3 links
*/
#clb-shell ul#clb h3 a {
  color : #ffffaa;
  display : block;
  width : 194px;
  padding : 2px 3px;
  background : #86AE86; 
  border-bottom : 1px solid #666;
  text-decoration : none;
}
#clb-shell ul#clb h3 a:hover, #clb-shell ul#clb h3 a:focus, #clb-shell ul#clb h3 a:active {
  background : #957412 url(images/clb_h3_back_over.jpg) repeat-x;
  color : #fff;
}

/*
  This tyles the text p content within the li separately. The most important 
  thing here is to re-kill the padding and add the margin to create good gutters
*/
ul#clb p {
  font-size : 0.9em;
  padding : 0;
  margin : 10px;
}

/* End Styles */
