/* $Id: layout-fixed.css,v 1.9 2009/02/13 19:21:45 johnalbin Exp $ */

/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * 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 Zen Columns 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
{
}

#page-content,
#closure-blocks,
.breadcrumb,
#header,
#primary-inner,
#secondary-inner,
#promo-banner
{
  /*
   * 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 ie6.css file
   * for the necessary IE5/IE6quirks hack to center a div.
   */
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

#page-content
{
  clear: left;
}

#page-content-inner
{
  padding: 22px 0 40px 0;
}


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

#skip-to-nav
{
  float: right;
  margin: 0 !important;
  font-size: 0.8em;
}

#skip-to-nav a:link, #skip-to-nav a:visited
{
  color: #fff; /* Same as background color of page */
}

#skip-to-nav a:hover
{
  color: #000;
  text-decoration: none;
}

/* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
   to the link. Un-comment the following CSS to use this technique. */
/*
#skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
{
  position: absolute;
  left: 0;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skip-to-nav a:active, #skip-to-nav a:focus
{
  position: static;
  width: auto;
  height: auto;
}
*/

/*
 * Header
 */
#header
{
}

#header-inner
{
  padding: 25px 22px 30px 25px;
}

#logo-title
{
}

#logo
{
  float: left;
}

#site-name
{
}

#site-slogan
{
}

#post-state /* Positioning statement region*/
{
  padding:0;
  margin: -8px 0 0 0;
  width: 657px;
  height: 78px; /* Because this is the height of the logo */
  float: left;
}


#header-blocks
{
  clear: both; /* Clear the logo  Un-clear this div and it will float up next to logo*/
}

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

#main-inner
{
}

/*
 * Content
 */
#content,
.no-sidebars #content
{
  float: left;
  width: 960px;
  margin-left: 0;
  margin-right: -960px; /* Negative value of #content's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}

.sidebar-left #content
{
  float: left;
  width: 746px;
  margin-left: 214px; /* The width of #sidebar-left. */
  margin-right: -960px; /* Negative value of #content's width + left margin. */
}

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

.front.sidebar-left #content
{
  float: left;
  width: 681px;
  margin-left: 279px; /* The width of #sidebar-left. */
  margin-right: -960px; /* Negative value of #content's width + left margin. */
}


.two-sidebars #content,
.front.two-sidebars #content
{
  width: 532px;
  margin-left: 214px; /* The width of #sidebar-left */
  margin-right: -746px; /* Negative value of #content's width + left margin. */
}

/*.section-admin #content /* Logged into the admin; wider for tables */
{
	/*width: 100%;*/
}


#content-inner
{
  margin: 0;
  padding: 0 36px 0 22px;
}

.front.sidebar-left #content-inner
{
  padding: 0 22px 0 84px;
}

/*
 * Navbar
 */
#navbar
{
  float: left;
  width: 100%;
  margin-left: 0;
  margin-bottom: 20px;
  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: 0; /* Set this to the same value as the navbar height above. */
}

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

.front #navbar .with-promo
{
  height: 179px; /* The navbar can have any arbritrary height. We picked one
                      that is twice the line-height pluse 1em: 4 x 1.3 + 1 = 6.2
                      Set this to the same value as the margin-top below. */
}

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

.front .with-navbar #sidebar-right
{
    margin-top: 0.6em; /* Set this to the same value as the navbar height above. */
}

#navbar-inner
{
}

#search-box
{
  /*width: 200px;*/
  margin-bottom: 30px;
}

#primary
{
  margin-left: 0; /* Unset Zen core */
}

#secondary
{
  margin-left: 0; /* Unset Zen core */
}

#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;
}

/* There are many methods to get navbar links to appear in one line.
 * Here's an alternate method: */
/*
#navbar li
{
  display: inline;
  padding: 0 10px 0 0;
}
*/

#navbar #promo
{
  clear: left;
  height: 133px;
}
  
#navbar #promo-banner-inner
{
  padding: 22px;
}

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

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

.two-sidebars #sidebar-left
{
  float: left;
  width: 200px;
  margin-left: 0;
  margin-right: -200px; /* 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 0 0 22px;
  padding: 0;
}

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

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


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

/*
 * Footer
 */
#footer
{
  margin-left: auto;
  margin-right: auto;
	width: 960px;
}

#footer-inner
{
  padding: 22px;
}

/*
 * Closure
 */
#closure-blocks /* See also the #page declaration above that this div shares. */
{
}

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