/* $Id: layout-fixed.css,v 1.1.2.7 2008/01/28 17:41:35 johnalbin 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.
 *
 * This layout is based on the Border Politics Layout Method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/** body **/
  body
  {
    margin: 0;
    padding: 10px;
  }

  #page
  {
    /*
     * If you want to make the page a fixed width and centered in the viewport,
     * this is the standards-compliant way to do that. See also the ie.css file
     * for the necessary IE5 hack to center a div.
     */
    margin-left: auto;
    margin-right: auto;
    width: 980px;
  }

  #page-inner
  {
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

/** header **/
  #header
  {
  }

  #header-inner
  {
  }

/** main (container for everything else) **/
  #main
  {
    position: relative;
  }

  #main-inner
  {
	margin: 0;
  }

/** content **/
  #content,
  .two-sidebars #content
  {
    float: left;
    width: 360px;
    margin-left: 300px; /* The width of #sidebar-left */
    margin-right: -660px; /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
  }

  .sidebar-left #content
  {
    width: 640px;
    margin-left: 300px; /* The width of #sidebar-left. */
    margin-right: -980px; /* Negative value of #content's width + left margin. */
  }

  .sidebar-right #content
  {
    width: 640px;
    margin-left: 0;
    margin-right: -640px; /* Negative value of #content's width + left margin. */
  }

  .no-sidebars #content
  {
    width: 980px;
    margin-left: 0;
    margin-right: -980px; /* Negative value of #content's width + left margin. */
  }

  #content-inner
  {
    margin: 0;
    padding: 0;
	min-height: 300px;
  }


/** sidebar-left **/
  #sidebar-left
  {
    float: left;
    width: 300px;
    margin-left: 0;
    margin-right: -300px; /* Negative value of #sidebar-left's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
  }

  #sidebar-left-inner
  {
    margin: 0 20px 0 0;
    padding: 0;
  }

/** sidebar-right **/
  #sidebar-right
  {
	float: left;
	width: 300px;
	margin-left: 680px; /* Width of content + empty margin space + sidebar-left. */
	margin-right: -980px; /* Negative value of #sidebar-right's width + left margin. */
	padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

  #sidebar-right-inner
  {
    margin: 0 0 0 20px;
    padding: 0;
  }

/** footer **/
  #footer
  {
  }

  #footer-inner
  {
  }

  #closure-blocks
  {
  }

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
  }
