/* $Id: layout-fixed.css,v 1.17 2009/11/05 12:09:53 johnalbin Exp $ */

/**
 * @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-page-closure {
  /*
   * 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; width: 780px;
}
.wide #page-wrapper,
.wide .region-page-closure { width: 960px;}
#page {
}

/*
 * Header
 */

#header {
}

#header .img {

}


#header .section {
}

#search-box {
}

.region-header {
  clear: both; /* Clear the logo */
  display: inline;
}

/*
 * Main (container for everything else)
 */
/*#main-wrapper {
  position: relative;
}*/

#main {
	marging:0;
}

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

.sidebar-first #content {
  width: 820px; width: 640px;
  margin-left: 140px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -960px; margin-right: -780px; /* LTR */ /* Negative value of #content's width + left margin. */
}
.wide .sidebar-first #content  {width: 820px; margin-right: -960px;}

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

.two-sidebars #content {
  width: 680px; width: 500px;
  margin-left: 140px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -820px; margin-right: -640px; /* LTR */ /* Negative value of #content's width + left margin. */
}
.wide .two-sidebars #content {width: 500px;margin-right: -640px; }

.page-wide #content{
    margin-left: 0!important;
    margin-right: -960px!important; margin-right: -780px!important;
    padding: 0!important;
    width: 960px!important; width: 780px!important;

}
.wide .page-wide #content {
 margin-left: 0!important;
margin-right: -960px!important; width: 960px!important;
}
#content .section {
  margin: 0;
  padding: 0;
}

/*
 * Navigation
 */
#navigation {
  float: left; /* LTR */
  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: 2.3em; /* The navigation can have any arbritrary height. We picked one
                    that is the line-height plus 1em: 1.3 + 1 = 2.3
                    Set this to the same value as the margin-top below. */
}

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
  margin-top: 2.3em; /* Set this to the same value as the navigation height above. */
}

#navigation .section {
}

#navigation ul /* Primary and secondary links */ {
  margin: 0;
  padding: 0;
  text-align: left; /* LTR */
}

#navigation li /* A simple method to get navigation links to appear in one line. */ {
  float: left; /* LTR */
  padding: 0 10px 0 0; /* LTR */
}

/*
 * First sidebar
 */
.region-sidebar-first {
  float: left; /* LTR */
  width: 140px; 
  margin-left: 0; /* LTR */
  margin-right: -140px; /* 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-left:5px;
  padding-right:0;
  padding-top:0;
  padding-bottom:0;
  border-left-width: 3px;
  border-left-style: solid;
  border-left-color: #f2f7f4;
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 140px;
  margin-left: 820px; margin-left: 640px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -960px; margin-right: -780px; /* 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. */
}
.wide .region-sidebar-second {width:320px; margin-left: 640px;  margin-right: -960px; }

.region-sidebar-second .section {
  margin: 0 0 0 20px; /* LTR */
  padding-left:0;
  padding-right:5px;
  padding-top:10;
  padding-bottom:1em;
  background-color: #f2f7f4;
  background-repeat:repeat-y;
  height:100%;
}

/*
 * Footer
 */
#footer {
	text-align:center;
	color:#666;
	border-top-style:solid;
	border-top-color:#333;
	border-top-width:1px;
	padding-top:5px;
	margin-top:0;
}

#footer .section {
}

/*
 * Closure
 */
.region-page-closure /* See also the #page-wrapper declaration above that this div shares. */ {
}

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

#navigation {
  overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
}

/*
 * 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;
}
*/

#node-story {
	margin-bottom:25px;
}
