/**
 * @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,
.region-bottom, 
#divorgmenu,
#footermain
{
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}

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


#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  padding-left: 10px;
  padding-right: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  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;
}
  #logo img {
  width:150px;
  }
    #site-name { /* The name of the website */
  font-size: 10px;
  line-height: 1.3em;
  font-weight:normal;
}
/*
 * Navigation bar
 */


  .sidebar-first #content { /* Span 4 columns, starting in 2nd column from left. */
    float: left;
    width: 60%;
    margin-left: 20%;
    margin-right: -100%;
  }
  .sidebar-first .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 30%;
    margin-left: 0%;
    margin-right: -20%;
  }

  /*
   * 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: 66%;
    margin-left: 0%;
    margin-right: -60%;
  }
  .sidebar-second .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 34%;
    margin-left: 60%;
    margin-right: -100%;
	border-left:1px dotted #ccc;
  }

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

  .two-sidebars #content { /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 70%;
    margin-left: 0;
    margin-right: -80%;
  }
  .two-sidebars .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
 /*   float: right;
    width: 40%;*/
    margin-left: 0;
    margin-right: 0;
	padding:0 0 0px 20px;
	height:100%;
	margin-bottom:0;
	/*border:1px solid red;*/
  }
  .two-sidebars .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
    float: right;
    width: 30%;
    margin-left: 0;
    margin-right: 0;
  }
  
    #logo img {
  vertical-align: bottom;
  width:313px;
  }
   #site-name { /* The name of the website */
  font-size: 13px;
  line-height: 1.3em;
  font-weight:normal;
}
  #main {
    padding-top :10px; /* Move all the children of #main down to make room. */
    position: relative;
  }

