/**
 * @file
 * Positioning for a fixed-width, desktop-centric layout.
 *
 * 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 uses the Zen Grids plugin for Compass: http://zengrids.com
 */


/*
 * Center the page.
 */

#page,
.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. */
  margin-left: auto;
  margin-right: auto;
  width: 1240px;
   /*width: 980px; */
  box-shadow: 0px 0px 216px 2px grey;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */

#header-top{
  clear:both;
  //height:48px;
}

#header-bottom{
  clear:both;
  height:36px;
}


#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  padding-left: 10px;
  padding-right: 10px;
  word-wrap: break-word;
  _display: inline;
  _overflow: hidden;
  _overflow-y: visible;
}

/*
 * Containers for grid items and flow items.
 */

#header,
#main,
#footer {
  *position: relative;
  *zoom: 1;
}
#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after {
  content: "";
  display: table;
}
#header:after,
#main:after,
#footer:after {
  clear: both;
}

/*
 * Navigation bar
 */

#main {
  padding-top: 60px; /* Move all the children of #main down to make room. */
  position: relative;
}

#navigation {
  position: absolute;
  top: 0; /* Move the navbar up inside #main's padding. */
  //height: 3em;
  width: 1222px;
  border-top:1px solid #b3b3b3;
  border-bottom:1px solid #b3b3b3;
  /* width: 960px; */

}

#indicators{
  margin-bottom: 20px;
}

/*
 * The layout when there is only one sidebar, the left one.
 */

.sidebar-first #content {
  /* Span 4 columns, starting in 2nd column from left. */
  float: left;
  /*width: 715px;*/
  width: 970px;
  margin-left: 244px;
  margin-right: -1235px;
  padding-bottom:10px;
  padding-bottom:10px;
}

.sidebar-first .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 229px;
  margin-left: 0px;
  margin-right: -196px;
}

/*
 * The layout when there is only one sidebar, the right one.
 */

.sidebar-second #content {
  /* Span 4 columns, starting in 1st column from left. */
  float: left;
  width: 744px;
  margin-left: 0px;
  margin-right: -784px;
  padding-bottom:10px;
}

.sidebar-second .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 229px;
  margin-left: 784px;
  margin-right: -980px;
}

/*
 * The layout when there are two sidebars.
 */

.two-sidebars #content {
  /* Span 3 columns, starting in 2nd column from left. */
  float: left;
 /*  width: 471px;*/
  width: 672px;
  margin-left: 244px;
 /*  margin-right: -784px; */
  margin-right: -998px;
  padding-bottom:10px;
}

.two-sidebars .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 229px;
  margin-left: 0px;
  margin-right: -196px;
}

.two-sidebars .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 289px;
  /*margin-left: 677px;*/
  /*margin-right: -980px;*/
  margin-left: 878px;
  margin-right: -980px;
}

#footer-top{

}

.region-footer-top{
  display: table;
  margin:0 auto;
}
