/**
 * @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-top: 25px;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

#page {
  margin: auto;
}

/*
 * Header
 */
#header {
  margin-top: 20px;
  height: 87px;
  width: 960px;
  position: relative;
}

#header .section {
}

#header a#logo /* Wrapping link for logo */ {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
  padding-left: 61px;
  padding-right: 0px;
}

.region-header {
}

div#logo-wrapper {
  width: 206px; /* Same height as sidebar-first */
  float: left;
  position: relative;
  height: 87px;
}


div#name-and-slogan {
  position: relative;
  width: 351px;
  height: 87px;
  left: 0px;
}

div#site-name {
  bottom: 0px;
  position: absolute;
  width: 351px; /* Same width as div#name-and-slogan */
}

/*
 * Navigation
 */

#header-menus {
  position: relative;
  float: right;
  height: 87px;
  width: 403px;
}

#secondary-menu {
  margin: 0;
}

#navigation {
  position: absolute;
  bottom: 0px;
  width: 403px;
  /* 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: 57px;
}

#navigation .section {
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 0px;
  width: 403px;
}

#navigation ul {
  margin: 0;
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
  margin-top: 12px;
  margin-bottom: 12px;
}

#main {
}

/*
 * Content
 */
#content,
.no-sidebars #content {
  float: left; /* LTR */
  width: 450px;
  margin-left: 206px; /* LTR */
  margin-right: -656px; /* LTR */
  /* Negative value of #content's width + left margin. */
  height: 403px;
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
  overflow-y: auto;
}

.sidebar-first #content {
  width: 450px;
  margin-left: 206px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -656px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

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

#content .section {
  margin: 0;
  padding: 20px;
  overflow: auto;
  height: 363px;
}

#content {
  z-index: 2;
  position: relative;
}

/*
 * First sidebar
 */
.region-sidebar-first {
  position: absolute; /* LTR */
  width: 206px;
  margin-left: 0; /* LTR */
  margin-right: -206px; /* 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 43px 0 0; /* LTR */
  padding: 0;
}

.region-sidebar-first ul.menu {
  margin-top: 0;
  padding-left: 0;
  line-height: 1em;
}

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

#main-right-wrapper {
  position: absolute;
  width: 304px;
  margin-left: 557px;
  padding-top: 57px;
  padding-left: 99px;
  margin-right: -960px;
  height: 403px;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

#main-right-wrapper .section {
  position: relative;
  height: 403px;
  width: 254px;
  margin-bottom: -57px;
  padding-left: 25px;
  padding-right: 25px;
}

div.region-highlighted {
  width: 254px; /* Same width as #main-right-wrapper */
  height: 403px;
  position: relative;
}

/*
 * Footer
 */
.region-footer {
  position: relative;
  width: 960px;
  height: 50px;
}

.region-footer #block-locale-language {
  position: absolute;
  left: 877px;
  margin-right: -877px;
  width: 83px;
}

.region-footer #block-locale-language ul {
  padding: 0;
  margin: 0;
}

.region-footer #block-search-form {
  position: absolute;
  left: 877px;
  top: 20px;
  margin-right: -877px;
  width: 83px;
}

.region-footer #block-block-4 {
  position: absolute;
  left: 680px;
  top: 0px;
  margin-right: -680px;
  width: 43px;
}

.region-footer #block-block-3 {
  left: 727px;
  margin-right: -727px;
  position: absolute;
  width: 150px;
}

/*
 * 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-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;
}
*/

/*
 * Sections without right sidebar (for wider content)
 */
body.section-user #main-right-wrapper,
body.section-translate #main-right-wrapper {
	display: none;
}

body.section-user #content,
body.section-translate #content {
	width: 754px;
	margin-top: 0px;
	background-image: none;
}

