/**
 * @file
 * Positioning for responsive 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 {
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin:0 auto 1% auto;
}
.region-bottom {
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin-left: auto;
  margin-right: auto;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */
#tn,
#main-menu,
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  overflow: visible;
  word-wrap: break-word;
}
#header,
#navigation,
#footer {
  padding-left: 10px;
  padding-right: 10px;
}

/*
 * Containers for grid items and flow items.
 */

#tn{padding:1% 0; background:#CC9933;}
#tnb {margin:0 auto;}

#tnb,
#header,
#main,
#footer {
  position: relative;
  overflow: hidden;
  *zoom: 1;
}
#header {
	overflow:visible !important;
	height:152px;}

#navigation {padding:0;
margin:0 auto;
width:98%;
  border-left: 1px solid #333;
    border-right: 1px solid #333;
  -moz-box-shadow: inset 0 0 5px #888;
-webkit-box-shadow: inset 0 0 5px #888;
box-shadow: inner 0 0 5px #888;
  background: #E3DDDB;
}
/*
 * Navigation bar
 */


  /*
   * The layout when there is only one sidebar, the left one.
   */
   #site-slogan {font-size:1em;}
   #page {width:980px;}
   #tn {
 width:960px;
 background: rgba(0,0,0,0.7);
 z-index:1;
   }
  /*
   * The layout when there is only one sidebar, the right one.
   */

  .sidebar-second #content { /* Span 4 columns, starting in 1st column from left. */
    width: 100%;
    margin-left: 0;
  }
  .sidebar-second .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 25%;
    margin-left: 74%;
    margin-right: -100%;
	margin-top:-110px;
  }
  .not-logged-in .region-sidebar-second {
    width: 25%;
  }
