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


#page,
.region-footer {
  margin-left: auto;
  margin-right: auto;
  width: 962px;
  padding: 0 14px;
  background: url(../images/bg-pagewrapper.png) no-repeat left 120px;
}

/*
 * Header
 */
#header {
  height: 134px;
  overflow: hidden;
}

#header .section {
  position: relative;
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
  background: #fff url(../images/bg-main-top.png) no-repeat left top;
  border: 1px solid #000;
  border-bottom: 0;
}

#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: 705px;
  margin-left: 255px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

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

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

/*
 * Navigation
 */
#navigation {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px; /* A fixed width that sits above the #main area. */
  margin-top: -50px;
  margin-left: 0; /* LTR */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
}

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

#navigation .section {
}

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

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 312px;
  margin-left: 648px; /* 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 16px 0 0; /* LTR */
  padding: 0;
}

/**
 * Main bottom (added by TPC)
 */
.region-main-bottom {
  clear: both;
  padding: 0 40px;
}

/*
 * Footer
 */
.region-footer {
  overflow: hidden;
  padding: 1.5em 0;
  position: relative;
}

/*
 * Page bottom
 */
.region-bottom /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-bottom {
  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;
}
*/

/**
 * front page layout overrides
 */
.front #content {
  margin-right: 0;
}
.front .region-sidebar-second {
  margin-left: 0;
}

.front #content .section {
  margin: 0 16px;
}

.front #content .block {
  margin: 0;
}

.front .region-main-bottom {
  padding: 0 16px;
}

.front .region-main-bottom .block {
  float: left;
  width: 296px;
  margin-right: 18px;
}

.front .region-main-bottom .block.last {
  margin-right: 0;
}

.front h1.title,
.front div.tabs {
  display: none;
}

