/* $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: 0;
  }

  #page
  {
    margin: 0 auto;
  padding: 0;
  width: 100%;
  }

  #page-inner
  {
     /*
     * 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: 960px;
  position: relative;
  }

/** header **/
  #header
  {
    margin: 0;
  padding: 0;
  width: 100%;
  height: 96px;
  position: relative;
  z-index: 60;
  }
  
  #header-inner{
  
  }

/** main (container for everything else) **/
  #main
  {
    margin: 0;
  padding: 18px 18px 20px 18px;
  width: 924px;
  }

  #main-inner
  {
  min-height: 300px;
  }

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

  .sidebar-first #content
  {
    width: 766px;
    margin-left: 158px; /* The width of #sidebar-left. */
    margin-right: -924px; /* Negative value of #content's width + left margin. */
  }

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

  .no-sidebars #content, .sidebar-second.page-event #content
  {
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #content's width + left margin. */
  }

  #content-inner
  {
    margin: 0;
    padding: 0;
  }
  
  
  .not-front.sidebar-second #content div.tabs,
  .not-front.no-sidebars #content div.tabs,
  .sidebar-second #content .breadcrumb,
  .no-sidebars #content .breadcrumb
  {
    margin: 1em;
  }

/** nav **/
#nav
{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 30px;
}
#nav ul{
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
#nav ul li{
  margin: 0;
  padding: 0 1px 0 0;
  display: block;
  float: left;
}
#nav ul li a{
  padding: 7px 8px 0 8px;
  height: 23px;
  display: block;
  float: left;
}
#nav #primary-links{
  margin: 0 0 0 100px;
}


/** sidebar-left **/
  #sidebar-left
  {
    float: left;
    width: 158px;
    margin-left: 0;
    margin-right: -158px; /* 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;
    padding: 10px 18px 0 0;
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: left;
    width: 268px;
    margin-left: 656px; /* Width of content + sidebar-left. */
    margin-right: -924px; /* 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;
    padding: 0 0 0 18px;
  }

/** footer **/
  #lp-footer
  {
    margin: 0;
  padding: 0;
  width: 100%;
  min-height: 219px;
  }

  #lp-footer-inner
  {
    margin: 0 auto;
    padding: 0;
    width: 960px;
  }

  #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 */
  }


/** Admin Bar **/
#admin-bar-margin{
  width: 100%;
  height: 30px;
  line-height: 0;
  font-size: 0;
}
#admin-bar
{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 200;
}
#admin-bar-wrapper{
  width: 100%;
  height: 100%;
  position: relative;
}
#admin-bar-content-wrapper{
  margin: 0;
  margin-right: -51px;
  padding: 0;
  width: 100%;
  height: 30px;
  float: left;
}

#admin-bar-content{
  margin: 0;
  margin-left: 51px;
  padding: 0; 
  height: 30px;
}

#admin-bar-button{
  width: 50px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 21;

}
#admin-bar-button a{
  display: block;
  width: 50px;
  height: 30px;
}

#logintoboggan{
  float: right;
  padding: 4px 10px 0 0;
}
