/*
 * 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 Border Politics 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 {
  margin: 0;
  padding: 0;
}

#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.
   */
  overflow: hidden;
}

#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;
}

/* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
   to the link. Un-comment the following CSS to use this technique. */

#skip-to-nav a,
#skip-to-nav a:hover,
#skip-to-nav a:visited {
  position: absolute;
  left: 0;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skip-to-nav a:active,
#skip-to-nav a:focus {
  position: static;
  width: auto;
  height: auto;
}

/** 
 * HEADER 
 */
#header {
}

#header-inner {
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0 25px 0;
  position: relative;
  width: 930px;
}

#logo-title {
  position: relative;
  width: 930px;
}

#logo {
  margin: 0 0 0 0;
  padding: 0;
  float: left;
}

h1#site-name,
div#site-name {
  margin: 0;
  font-size: 2em;
  line-height: 1.3em;
}

#site-slogan {
}

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

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

#main-inner {
  margin-left: auto;
  margin-right: auto;
  width: 930px;
}

/** 
 * CONTENT 
 */
#content,
.two-sidebars #content,
.sidebar-first.sidebar-second {
  float: left;
  width: 450px;
  margin-left: 240px; /* The width of #sidebar-left */
  margin-right: -690px; /* Negative value of #content's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}

.sidebar-left #content,
.sidebar-first #content {
  width: 690px;
  margin-left: 240px; /* The width of #sidebar-left. */
  margin-right: -930px; /* Negative value of #content's width + left margin. */
}

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

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

#content-inner {
  margin: 0;
  padding: 0;
}

.front #content {
  width: 930px;
  margin-left: 0;
  margin-right: -930px;
}

/** 
 * 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: 85px; /* 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. */
}

#actions {
  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. *//* 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. */
  
}

#actions-inner {
}


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

.front #navbar {
  height: 40px;
}

#navbar-inner {
}

#search-box {
}

#primary {
}

#secondary {
}

#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 10px 0 0;
}

/** 
 * SIDEBAR-LEFT 
 */
#sidebar-left {
  float: left;
  width: 240px;
  margin-left: 0;
  margin-right: -240px; /* 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: 0 30px 0 0;
  padding: 0;
}

/** 
 * SIDEBAR-RIGHT 
 */
#sidebar-right {
  float: left;
  width: 240px;
  margin-left: 690px; /* Width of content + sidebar-left. */
  margin-right: -930px; /* 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 0 0 30px;
  padding: 0;
}

.front #sidebar-right {
  width: 480px;
  margin-left: 450px;
  margin-right: -930px;
}

.front #sidebar-left {
  width: 450px;
  margin-left: 0;
  margin-right: -480px;
}

/** 
 * FOOTER 
 */
#footer {
  background: #4C433F url(../images/footer_bg.png) top left repeat-x;
  position: relative;
}

#footer-inner {
  margin-left: auto;
  margin-right: auto;
  width: 930px;
}

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

#page {
  background: transparent url(../images/main_top.png) repeat-x scroll left top;
}
