/* $Id: fluid-layout.css,v 1.1 2009/08/21 20:05:37 aross Exp $ */ 

/*
 * LAYOUT STYLES - a slightly modified version of the fluid layout CSS used in 
 * Zen theme. Changes are to column widths used.  
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 */


/** body **/

  #page,
  #closure-blocks
  {
    min-width: 960px; /* Don't allow the browser to make the site unreadable. */
  }

  #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-blocks
  {
    clear: both; /* Clear the logo */
  }

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


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

  #content-inner,
  .no-sidebars #content-inner
  {
    min-height: 500px;
    margin: 15px 10px;
    padding-left: 20px;
  }

  .sidebar-left #content-inner
  {
    padding-left: 210px; /* The width + left margin of #sidebar-left. */
    padding-right: 0;
  }

  .sidebar-right #content-inner
  {
    padding-right: 210px; /* The width + right margin of #sidebar-right. */
    padding-left: 20px;
  }

  .two-sidebars #content-inner
  {
    padding-left: 210px; /* The width + left margin of #sidebar-left. */
    padding-right: 210px; /* The width + right margin of #sidebar-right. */
  }

/** navbar **/
  #navbar
  {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    height: auto; /* The navbar can have any arbritrary height. We picked one
                      that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
                      Set this to the same value as the margin-top below. */
  }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    margin-top: 35px; /* Set this to the same value as the navbar height above. */
  }

  #search-box
  {
    width: 200px;
    margin-right: 20px; /* Negative value of #search-box's width. */
    float: right;
  }

  #secondary
  {
    float: right;
  }

  #navbar ul /* Primary and secondary links */
  {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    float: left;
    padding: 0 10px 0 0;
  }

/** sidebar-left **/
  #sidebar-left
  {
    float: left;
    width: 210px;
    margin-left: 0;
    margin-right: -210px; /* 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: right;
    width: 210px;
    margin-left: -210px; /* Negative value of #sidebar-right's width + right margin. */
    margin-right: 0;
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

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

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

  #navbar
  {
    overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
  }

  /* If a div.clear-block doesn't have any content after it and its bottom edge
     touches the bottom of the viewport, Firefox and Safari will mistakenly
     place several pixels worth of space between the bottom of the div and the
     bottom of the viewport. Uncomment this CSS property to fix this.
     Note: with some over-large content, this property might cause scrollbars
     to appear on the #page div.
  */
  /*
  #page
  {
    overflow-y: hidden;
  }
  */
