/* $Id: layout-fixed.css,v 1.5.2.3 2009/02/13 19:20:19 johnalbin Exp $ */

/*
 * LAYOUT STYLES
 *
 * 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 {
	padding: 0;
	margin: 0;
	background: #ffffff url(images/bg_top.jpg) no-repeat center top;
	width: 100%;
	display: table;
  }
  
  #bg-bottom
  {
	padding: 0;
	margin: 0;
	background: transparent url(images/bg_bottom.jpg) no-repeat bottom center;
	width: 100%;
	display: table;
  }

  #page,
  #closure-blocks
  {
    /*
     * 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 ie.css file
     * for the necessary IE5 hack to center a div.
     */
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 320px;
    width: 800px;
  }

  #page-inner
  {
  }


/** header **/
  #header
  {
	height: 290px;
	background:transparent url(images/edge.png) no-repeat scroll bottom;
  
  }

  #header-inner
  {
	vertical-align: bottom;
  }

  #logo-title
  {
	float: left;
	position: absolute;
	top: 230px;
	margin-bottom: 5px;
  }

  #logo
  {
    float: right;
  }

  #site-name
  {
  }

  #site-slogan
  {
  }

  #header-blocks
  {
    clear: both; /* Clear the logo */
  }

/** main (container for everything else) **/
  #main
  {
    background:transparent url(images/bg_main.png) repeat scroll;
	position: relative;
	color: #000000;
	min-height: 700px;
  }

  #main-inner
  {
  	padding: 5px 10px 20px 10px;
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
  }

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

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


  #content-inner
  {
    margin: 0;
    padding: 0;
  }
  
  
  /** navbar **/
  #navbar
  {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    height: 260px; /* The navbar can have any arbritrary height. We picked one
                      that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
                      Set this to the same value as the margin-top below. */
	border: #ABABAB 1px solid;
  }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    margin-top: 270px; /* Set this to the same value as the navbar height above. */
  }

  #navbar-inner
  {
  }

/** sidebar-right **/
  #sidebar-right
  {
    background:transparent url(images/bg_sb.png) no-repeat top left;
    float: left;
    width: 270px;
    margin-left: 510px; /* Width of content + sidebar-left. */
    margin-right: -780px; /* Negative value of #sidebar-right's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
	
  }

  #sidebar-right-inner
  {
    margin: 13px 0 0 9px;
	padding: 5px 0 10px 10px;
	border-top: #ABABAB 1px solid;
	border-left: #ABABAB 1px solid;
  }

/** footer **/
  #footer
  {
    background:transparent url(images/footer.png) no-repeat bottom;
	padding: 0 7px;
  }

  #footer-inner
  {
	border-top: #ababab 1px solid;
	text-align: center;
	padding: 3px;
  }

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

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
  }

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

  /* If a div.clear-block 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 div.
  */
  /*
  #page
  {
    overflow-y: hidden;
  }
  */
