/**
 * @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-bottom {
  /*
   * 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: 1000px;
}

#page {
}

/*
 * Header
 */
#header {
}

#header .section {
  margin-left: 8px;
}

.region-header {
}

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

#main {
}

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

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

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

#content .section {
  margin: 0;
  padding: 0;
  margin-top: 24px;
}

.no-sidebars #content .section {
  margin: 0;
  padding: 0 8px 0 8px;
  margin-top: 24px;
}

.sidebar-first #content .section {
  margin: 0;
  margin-top: 24px;
}

.sidebar-second #content .section {
  margin: 0;
  padding-left: 8px;
  margin-top: 24px;
}

/*
 * Navigation
 */
#navigation {
  width: 100%;
  margin-left: 0; /* LTR */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  height: 32px; /* The navigation can have any arbritrary height. We picked one
                    that is the line-height plus 1em: 1.3 + 1 = 2.3
                    Set this to the same value as the margin-top below. */
}

#navigation .section {
  margin: 0 8px;
}

/*
 * Messages
 */
#messages {
  width: 100%;
  margin-left: 0; /* LTR */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #messages .section. */
}

#messages .section {
  margin-top: 8px;
}

/*
 * Below navigation (custom added)
 */
#below-navigation .section {
  margin: 0px 8px;
}

/*
 * Banner (custom added)
 */
#banner .section {
  margin-top: 8px;
  margin-left: 8px;
  margin-right: 8px;
}

/*
 * Below Banner (custom added)
 */
#below-banner .section {
  margin-top: 8px;
  margin-left: 8px;
  margin-right: 8px;
}

/*
 * Page header (custom added)
 */
#page-header .section {
  margin-top: 24px;
  margin-left: 8px;
  margin-right: 8px;
}

/*
 * Page footer
 */
.region-footer .block {
  margin-left: 8px;
  margin-right: 8px;
}

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

/* Page customizations */
.region-sidebar-first .section {
  margin: 24px 24px 0 8px; /* LTR */
  padding: 0;
}

.page-search .region-sidebar-first .section {
  margin-top: 81px;
}

.page-browse .region-sidebar-first .section {
  margin-top: 55px;
}

.page-taxonomy .region-sidebar-first .section {
  margin-top: 55px;
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 312px;
  margin-top: 0px;
  margin-left: 688px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -1000px; /* 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: 24px 8px 0 24px; /* LTR */
  padding: 0;
}

/* Page customizations */
.node-type-asset .region-sidebar-second .section,
.node-type-template .region-sidebar-second .section,
.node-type-graphic .region-sidebar-second .section,
.node-type-kit .region-sidebar-second .section,
.node-type-bundle .region-sidebar-second .section {
  margin-top: 64px; 
}

/*
.page-frontpage .region-sidebar-second .section {
  margin-top: 52px; 
  padding: 0;
}
*/

/*
 * Third sidebar
 */
.region-sidebar-third {
  float: left; /* LTR */
  width: 100%;
  max-width: 208px;
  min-width: 0px;
  margin-left: 1000px; /* LTR */ /* Width of content + sidebar-first + sidebar-second */
  margin-right: -1208px; /* 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-third .section {
  margin: 0 8px 0 16px; /* LTR */
  padding: 0;
}

/*
 * Footer
 */
.region-footer {
}

/*
 * 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-sidebar-third,
.region-footer,
.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;
}
*/
