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

#main-menu,
#secondary-menu,
#main {
  /*
   * 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: 960px;
} 


#header, 
#mission,
.region-promo,
.breadcrumb,
#footer,
.region-page-closure {
  margin-left: auto;
  margin-right: auto;
  width: 990px;
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  margin-left: auto;
  margin-right: auto;
  width: 990px;
#  position: relative;
}

/*
 * Content
 */

#content,
.no-sidebars #content {
  float: left; /* LTR */
  width: 990px;
  margin-left: 0; /* LTR */
  margin-right: -990px; /* LTR */ /* Negative value of #content's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
  position: relative;
}

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

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

.front.sidebar-first #content {
  width: 681px;
  margin-left: 279px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

.two-sidebars #content,
.front.two-sidebars #content {
  width: 482px;
  margin-left: 250px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -746px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

.front.sidebar-second #content .section {
  padding: 0 84px 0 22px;
}

.front.sidebar-first #content .section {
  padding: 0 22px 0 84px;
}

.content {
  clear:  both;
}

/*
 * Navigation
 */
#navigation {
  margin: 0;
  padding: 0;
}

.front #navigation.with-promo {
  min-height: 179px;
}

/*#navigation li, 
.menu-name-main-menu li /* A simple method to get navigation links to appear in one line.  {
  float: left; 
}*/

.menu-name-menu-topbar-menu li {
 float: left;
}

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

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

.two-sidebars .region-sidebar-first {
  float: left; /* LTR */
  width: 240px;
  margin-left: 0; /* LTR */
  margin-right: -250px; /* 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 22px; /* LTR */
  padding: 0 0 0 5px;
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 214px;
  margin-left: 746px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -990px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
  padding: 6px 8px 0 20px; /* CHANGED! DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}

.front .region-sidebar-second {
  float: left; /* LTR */
  width: 279px;
  margin-left: 681px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -990px; /* 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. */
}

.two-sidebars .region-sidebar-second {
  float: left; /* LTR */
  width: 200px;
  margin-left: 760px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -990px; /* 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 22px 0 0; /* LTR */
  padding-left: 0;
}

/*
 * Footer
 */
div #footer {
  padding: 16px 15px 12px;
  background: #EAECD1;
  border-top: 2px solid #71CA1A;
  color: #719600;
  overflow:hidden;
}

/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.region-page-closure {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}

.wrapper_bar {
  /* height:72px; */
  width: 580px;
  /* background: #EAECD1; */
  float: right;
  position:relative;
  }

.region-topbar{
  /* background: url('bar2.png') no-repeat; */
  width:580px;
  height:28px;
  padding: 5px 0 0 6px;
}

.dlab-tagline {
    float: left;
    margin-left: 15px;
    color: #719600;
    font-size: 0.9em;
    line-height: 1.2em;
    margin-top: 5px;
}

.element-invisible{
   display: none;
    height: 0;
    margin: 0;
    padding: 0;
}
