/* $Id: layout.css,v 1.5.2.1 2007/01/17 05:28:41 jjeff Exp $ */

/**
*  LAYOUT STYLES
*
*  Define CSS classes to create a table-free,
*  3-column, 2-column, or single column layout 
*  depending on whether blocks are enabled in the 
*  left or right columns.
*/

/**
 * Layout
 */

#container {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
 /* max-width: 1270px; */
}

/* With 3 columns, require a minimum width of 1000px to ensure there is enough horizontal space. */
body.both-sidebars {
  /*min-width: 980px;*/
}
/* With 2 columsn, require a minimum width of 800px. */
body.sidebar-left, body.sidebar-right {
  /*min-width: 780px;*/
}

/* We must define 100% width to avoid the body being too narrow for near-empty pages */
#main {
  float: left;
  width: 99%;
}

/* So we move the #main container over the sidebars to compensate */
body.sidebar-left #main {
  margin-left: -210px;
}
body.sidebar-right #main {
  margin-right: -210px;
}
body.both-sidebars #main {
  margin: 0 -210px;
}

#squeeze {
  position: relative;
  padding: 0 1em;
}

/* And add blanks left and right for the sidebars to fill */
body.sidebar-left #squeeze {
  margin-left: 210px;
}
body.sidebar-right #squeeze {
  margin-right: 210px;
}
body.both-sidebars #squeeze {
  margin: 0 210px;
}

/* We ensure the sidebars are still clickable using z-index */
#container .sidebar {
  margin: 0em;
  padding 0em;
  /*width: 12em;*/
  width: 165px;
  float: left;
  z-index: 2;
  position: relative;
  border-right: 1px solid #ccc;
/*  border-left: 1px solid #ccc; */
  border-bottom: 1px solid #ccc;
  background-color: #f9f9f9;
}

#container .sidebar .block {
  margin: 0em;
  padding-bottom: 15px;
}

#sidebar-left .block {
  padding: 0em;
  margin: 0em;
  margin-left: 1em;
}

#sidebar-right .block {
  padding: 0em;
}

.block .content {
  margin: 0em;
  padding: 0em;
}

#footer {
  float: none;
  clear: both;
  margin: 4em 0 -3em;
}


/*
body.sidebar-left  #footer {
  margin-left: -210px;
}

body.sidebar-right #footer {
  margin-right: -210px;
}

body.both-sidebars #footer {
  margin: 0 -210px;
}

