/** body **/
body
{
  background: url('images/bg.gif') top center;
}

body.cke_editable {
  background: none;
}

  #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;
    width: 924px;
  }

  #page-inner
  {
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

  #skip-to-nav
  {
    float: right;
    margin: 0 !important;
    font-size: 0.8em;
  }

  #skip-to-nav a:link, #skip-to-nav a:visited
  {
    color: #fff; /* Same as background color of page */
  }

  #skip-to-nav a:hover
  {
    color: #000;
    text-decoration: none;
  }


/** header **/
#header
{
  height: 126px;
  background: url('images/header_bg.gif') no-repeat;
  position: relative;
}

#header-inner
{
  padding: 20px 40px 0;
}

  #logo
  {
    float: left;
  }

#search-box
{
  top: 0;
  left: 640px;
  width: 262px;
  height: 40px;
  position: absolute;
}
#search-box form
{
  display: inline;
  line-height: 40px;
}
#search-box input.form-text
{
  font-size: 13px;
  font-weight: bold;
  color: #555;
  width: 150px;
}

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


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

#main-inner
{
  background: url('images/page_middle.gif') repeat-y;
}

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

  .sidebar-left #content
  {
    width: 724px;
    margin-left: 200px; /* The width of #sidebar-left. */
    margin-right: -924px; /* Negative value of #content's width + left margin. */
  }

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

  .two-sidebars #content
  {
    width: 442px;
    margin-left: 200px; /* The width of #sidebar-left */
    margin-right: -642px; /* Negative value of #content's width + left margin. */
  }

#content-inner
{
  margin: 0;
  padding: 0 30px 40px 42px;
}
.two-sidebars #content-inner
{
  padding-left: 30px;
}

/** navbar **/
  #navbar
  {
    background: url('images/page_top.gif') no-repeat;
    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: 54px; /* 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. */
  }

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

  #navbar-inner
  {
  }

  #primary
  {
    margin: 6px 0 0 40px;
  }

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

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

#navbar li.active a,
#navbar li.active-trail a
{
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}


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

  #sidebar-left-inner
  {
    margin-left: 2px;
    padding: 0;
  }

  #sidebar-left #block-views-Blog-block_2 {
    padding-left: 10px;
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: left;
    width: 282px;
    margin-left: 644px; /* Width of content + sidebar-left. */
    margin-right: -924px; /* 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: 0 42px 0 0;
    padding: 0;
  }

/** footer **/
#footer
{
  background: url(images/page_bottom.png) no-repeat;
  padding: 30px;
}

  #footer-inner
  {
  }

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