/**
 * @file
 * Positioning for a fixed-width, desktop-centric layout.
 *
 * 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 uses the Zen Grids plugin for Compass: http://zengrids.com
 */


/*
 * Center the page.
 */

#header,
#main,
#content-bottom,
#footer,
#navigation {
  /* If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. */
  margin-left: auto;
  margin-right: auto;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */

#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  border: 0;
  word-wrap: break-word;
  _display: inline;
  _overflow: hidden;
  _overflow-y: visible;
}

/*
 * Containers for grid items and flow items.
 */

#header,
#main,
#footer {
}
#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after {
  content: "";
  display: table;
}
#header:after,
#main:after,
#footer:after,
#navigation:after {
  clear: both;
}

/*
 * Navigation bar
 */

#main {

}
/*
 * The layout when there is only one sidebar, the left one.
 */

.sidebar-first #content {
  /* Span 4 columns, starting in 2nd column from left. */

}

.sidebar-first .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */

}
.region-sidebar-first {

}
.region-sidebar-second {

}
/*
 * The layout when there is only one sidebar, the right one.
 */

.sidebar-second #content {
  /* Span 4 columns, starting in 1st column from left. */

}

.sidebar-second .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */

}

/*
 * The layout when there are two sidebars.
 */
/*.not-front  #content,*/
.two-sidebars #content { 
  /* Span 3 columns, starting in 2nd column from left. */

}

.two-sidebars .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */

}

.not-front .region-sidebar-second,
.two-sidebars .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */

}
