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

#page {
}

/*
 * Header
 */
#header {
	height:115px;
}

#header .section {
}

.region-header {
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
  clear:both;
  	padding-top:20px;
//padding-top:10px;
	display:block;
	
}

#main {
clear:both;
position:relative;
}

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

.sidebar-first #content,
.sidebar-first #secondary-content,
#secondary-content{
  width: 695px;
  margin-left: 245px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -940px; /* LTR */ /* Negative value of #content's width + left margin. */
}
.not-front.sidebar-first #content {
	margin-left:0;
}


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

.two-sidebars #content{
	float:left;
  width: 450px;
  margin-left: 245px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -705px; /* LTR */ /* Negative value of #content's width + left margin. */
}
.two-sidebars #content-sub-header {
width:720px;	
}
.not-front.two-sidebars #content {
margin-left:0;
width:455px;
margin-right:-455px;
background:url(../images/body-borders-bg-lower.gif) 229px repeat-y;
}
.two-sidebars #secondary-content #content {
	margin-left:0;
}
.two-sidebars #secondary-content {
width:695px;
margin-left:245px;
margin-right:-940px;
}


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

/*
 * Navigation
 */
#navigation {
  float: left; /* LTR */
  clear:both;
  position:relative;
  z-index:235;
  width: 100%;
  margin-left: 0; /* LTR */
  margin-right: -100%; /* LTR */ /* Negative value of #navigation's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  height: 5em; 
}

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {

}

#navigation .section {
}

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

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 235px;
  margin-left: 705px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -940px; /* 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. */
}
.not-front .region-sidebar-second {
	width:241px;
	margin-right:-696px;
	margin-left:455px;
	
}

.region-sidebar-second .section {
  margin: 0 0 0 20px; /* LTR */
  padding: 0;
}

.not-front .region-sidebar-second .section {
  margin: 0 0 0 15px; /* LTR */
  padding: 0;
}

/*
 * Footer
 */
.region-footer {
	padding-top:10px;
}

/*
 * 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;
}
*/
#secondary-content-main {
position:relative;

}

#content-header {
float: left;

width: 100%;
margin-left: 0;

padding: 0;
height: 365px;
clear:both;
margin-top:15px;
//margin-top:75px;
}
#content-header .section {
position:relative;
clear:both;
height:365px;
}
.not-front #content-header {
	width:705px;
	
	clear:both;
	height:auto;
	margin:0;
}
.not-front #content-header .section {
height:auto;
clear:none;
}
