/* $Id: layout-fixed.css,v 1.17 2009/11/05 12:09:53 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-wrapper,
.region-page-closure,
#footer-wrapper {
  /*
   * 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 {
  margin-top: 10px;
}

/*
 * Header
 */
#header {
  margin-bottom: 10px;
  border: 1px solid #C9C9C9;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

#header .header-inner {
  height: 97px;
  position: relative;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

#search-box {
  position: absolute;
  width: 155px;
  height: 30px;
  left: 764px;
  top: 20px;
  border: 1px solid #C9C9C9;
  padding: 10px 10px 3px 10px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

/*
 * Navigation
 */
#navigation {
  position: absolute;
  right: 0;
  top: 75px;
  width: 100%;
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  height: 25px;
}

#navigation .section {
  float: right;
  /*margin-right: 25px;*/
}

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

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

.region-header {
  clear: both; /* Clear the logo */
}

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

#main {
}

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

.sidebar-first #content {
  width: 720px;
  margin-left: 0px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -720px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

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

#content .section {
  margin: 0;
  padding: 0;
}

/*
 * First sidebar
 */
.region-sidebar-first {
  float: left; /* LTR */
  width: 240px;
  margin-left: 720px; /* LTR */
  margin-right: -960px; /* LTR */ /* Negative value of .region-sidebar-first's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-first .section. */
}

.two-sidebars .region-sidebar-first {
  margin-left: 480px;
  margin-right: -720px;
}

.region-sidebar-first .section {
  margin: 0 0 0 10px; /* LTR */
  padding: 0;
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 240px;
  margin-left: 720px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}

.region-sidebar-second .section {
  margin: 0 0 0 10px; /* LTR */
  padding: 0;
}

#content-area {
  padding: 25px 0 0 25px;
}

#content-area-inner {
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/*
 * Footer
 */
#footer {
  border-top: 1px solid #DADADA;
  border-bottom: 1px solid #DADADA;
}

#footer .section {
  overflow: hidden;
  padding: 15px 5px 5px 5px;
}

/*
 * Closure
 */
#closure {
  height: 45px;
}

.region-page-closure /* See also the #page-wrapper declaration above that this div shares. */ {
  overflow: visible;
  padding-top: 15px;
}


/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}


/*
 * If a div.clearfix 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-wrapper div.
 */
/*
#page-wrapper {
  overflow-y: hidden;
}
*/
