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

#page,
#closure-blocks
{
  /*
   * 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: 920px;
}

#page-inner
{
  padding-top: 50px
}

#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
{
  height: 185px;
  position: relative;
}

#logo-title
{
}

#logo
{
  float: left;
}

#site-name
{
}

#site-slogan
{
}

#header-blocks
{
  clear: both; /* Clear the logo */
  position: absolute;
  top: 140px;
  left: 210px;
}

/*
 * Main (container for everything else)
 */
#main
{
  position: relative;
  margin-bottom: 20px;
}

#main-inner
{
}

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

.sidebar-left #content
{
  width: 760px;
  margin-left: 200px; /* The width of #sidebar-left. */
  margin-right: -920px; /* Negative value of #content's width + left margin. */
}

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

.two-sidebars #content
{
  width: 560px;
  margin-left: 200px; /* The width of #sidebar-left */
  margin-right: -760px; /* Negative value of #content's width + left margin. */
}

#content-inner
{
  margin: 0;
  padding: 20px 10px 0 0;
}
body.page-home-page #content-inner
{
  padding-right: 0;
}

#content-area
{
  padding-left: 210px;
}
body.page-home-page #content-area
{
  padding-left: 0;
}

#content-header {
  clear: both;
  margin-bottom: 20px;
}

/*
 * Navbar
 */
#navbar
{
}

.with-navbar #content,
.with-navbar #sidebar-left,
.with-navbar #sidebar-right
{
}

#navbar-inner
{
  height: 150px;
}

#search-box
{
  position: absolute;
  top: 120px;
  right: 0;
}

#primary
{
}

#secondary
{
}

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

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

/*
 * Sidebar-left
 */#block-views-services-block_1 {
  margin: 2em 0 0 0;
}
#block-views-services-block_1 ul {
  margin: 0;
  padding: 0;
}
#block-views-services-block_1 li {
  display: inline;
  list-style-type: none;
}
#block-views-services-block_1 li a.imagecache-logo {
  margin: 0 5px 5px 0;  
  float: left;
  width: 90px;
  height: 63px;
  background: #403C37;
  padding: 3px;
}
#block-views-services-block_1 li a.imagecache-logo img {
  vertical-align: middle;
}
#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 20px 0 0;
  padding: 0;
}

/*
 * Sidebar-right
 */
#sidebar-right
{
  float: left;
  width: 200px;
  margin-left: 760px; /* Width of content + sidebar-left. */
  margin-right: -920px; /* 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
{
  margin-bottom: 20px;
}

#footer-message
{
  text-align: center;
}

/*
 * 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 */
  position: absolute;
  top: -172px;
  left: 210px;
  right: 0;
}

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