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

#menu-top-inner,
#header,
#info-line-inner,
#main,
#footer-inner,
#menu-bottom .region,
.region-page-closure {
  /*
   * 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: 962px;
}
/* Replace margin admin menu by header-wrapper padding (=> white for Planetarium) */
body.admin-menu { margin-top: 0 !important; }
body.admin-menu #header-wrapper { padding-top: 30px; }

/*
 * Main
 */
#main {
	position: relative;
	width: 932px;
	min-height: 50px;
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0 30px;
}

/*
 * Content
 */
.sidebar-second #content {
	position: relative;
	float: left;
	width: 602px;
}
#content,
.no-sidebars #content,
#content .no-sidebars{
  width: 932px;
  margin: 0;
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: right;
  width: 300px;
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}
.region-sidebar-second .section {
  margin: 0;
  padding: 0;
}

/*
 * Footer
 */
#footer-inner {
	width: 932px;
	padding: 0 30px;
}

/*
 * Prevent overflowing content
 */
#header,
#content,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.region-page-closure {
	position: relative;
	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;
}
*/
