/* $Id$ */

/**
 * @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
 */

#page-wrapper,
.region-page-closure {
  margin-left: auto;
  margin-right: auto;
  width: 990px;
}

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

#main-wrapper {
  position: relative;
}

#content,
.no-sidebars #content {
  float: left; /* LTR */
  width: 990px;
  margin-left: 0; /* LTR */
  margin-right: -990px; /* 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: 670px;
  margin-left: 320px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -990px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

.two-sidebars #content {
  width: 560px;
  margin-left: 320px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -670px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
  margin-top: 60px; /* Set this to the same value as the navigation height above. */
}

.region-sidebar-first {
  float: left; /* LTR */
  width: 320px;
  margin-left: 0; /* LTR */
  margin-right: -320px; /* 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. */
}

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

.region-sidebar-second {
  float: left; /* LTR */
  width: 320px;
  margin-left: 670px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -990px; /* 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 20px; /* LTR */
  padding: 0;
}

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

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