/* $Id: layout-liquid.css,v 1.5 2008/09/14 10:39:32 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 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
  {
    padding: 0;
    background: #FAECC9 none repeat scroll 0 0;
  }

  #page
  {
    padding: 0 10px;
    margin: auto;
    width: 890px;
    background: transparent url(images/edge_gradient.png) scroll repeat-y 0 0;
  }

  #page-inner
  {
    background: #ffffff none repeat scroll 0 0;
    padding-bottom: 1%;
    min-height: 700px;
    border-bottom: 1px solid #111;
  }

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

  a:link
  {
    color: #912020;
  }
  a:hover
  {
    color: #E12E2E;
  }
  a:focus
  {
    outline-style: none;
  }

  h2
  {
    font-size: 1.75em;
  }
/** header **/
  #header
  {
    background: transparent url(images/header_gradient.png) scroll repeat-x 0 0;
    height: 100px;
    border-bottom: 1px solid #111;
  }

  #header-inner
  {
  }

  #logo-title
  {
  }

  #logo
  {
    float: left;
    margin: 10px 10px 0 25px;
    padding: 0;
  }

  #site-name
  {
  }

  #site-slogan
  {
  }

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

/** main (container for everything else) **/
  #main
  {
    margin: 5px;
    clear: both;
  }

  #main-inner
  {
    margin-top: 10px;
  }

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

  #content-inner,
  .no-sidebars #content-inner
  {
    margin: 0;
    padding: 0;
  }

  .sidebar-left #content-inner
  {
    padding-left: 200px; /* The width + left margin of #sidebar-left. */
    padding-right: 0;
  }

  .sidebar-right #content-inner
  {
    padding-left: 0;
    padding-right: 200px; /* The width + right margin of #sidebar-right. */
  }

  .two-sidebars #content-inner
  {
    padding-left: 200px; /* The width + left margin of #sidebar-left. */
    padding-right: 370px; /* The width + right margin of #sidebar-right. */
  }

/** 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: 40px; /* 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: 45px; /* Set this to the same value as the navbar height above. */
  }

  #navbar-inner
  {
  }

  #search-box
  {
    width: 350px;
    float: left;
    text-align: right;
    margin-top: 20px;
    color: white; /* just until we figure out what we really want */
  }

  #primary
  {
    margin-left: 20px; /* Width of search-box */
  }

  #primary li a img
  {
    vertical-align: text-top;
  }

  #secondary
  {
    margin-left: 20px; /* Width of search-box */
  }

  #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. */
  {
    padding: 0 10px 0 0;
  }

  #navbar li,
  #primary li 
  {
    height: 35px;
    width: 110px;
    float: left;
    padding: 0 5px;
  }
  #primary li
  {
    background: transparent url(images/blh_tab.png) no-repeat scroll 0 0;
    text-align: center;
    width: 115px;
    text-transform: uppercase;
  }
  #secondary li
  {
    width: 125px;
  }
  #navbar li
  {
    /*background: transparent url(images/buttons.png) no-repeat scroll -20px -55px;*/
  }
  #navbar li a,
  #primary li a
  {
    color: #111;
    position: relative;
    top: 10px;
/*    font-weight: bold;*/
  }
  #navbar li a
  {
    font-size: 110%
  }
  #primary li a
  {
    font-size: 120%;
  }
  #primary li a:hover,
  #primary li a.active
  {
    color: #9B2222;
  }
  #navbar li:hover
  {
  /*  background: transparent url(images/buttons.png) no-repeat scroll -190px -55px;*/
  }

  /* There are many methods to get navbar links to appear in one line.
   * Here's an alternate method: */
  /*
  #navbar li
  {
    display: inline;
    padding: 0 10px 0 0;
  }
  */

/** 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: 0 20px 0 0;
    padding: 0;
  }

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

  #sidebar-right-inner
  {
    margin: 0 0 0 20px;
    padding: 0;
  }

/** footer **/
  #footer
  {
    border-top: 1px solid #ddd;
    font-size: 80%;
  }

  #footer-inner
  {
  }

/** closure **/
  #closure-blocks
  {
  }

/** 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
  {
    border-top: 2px solid;
    border-bottom: 2px solid;
  }

  /* If a div.clear-block doesn't have any content after it, Firefox and Safari
     will mistakenly place several pixels worth of space between the bottom of
     the div and the bottom of the viewport. This fixes it. */
  #page { overflow-y: hidden; } /* CSS3 property */


/** additional definitions **/

/* manufacturer grid page view */

.view-display-id-page_1 table.views-view-grid 
{
}
.view-display-id-page_1 table.views-view-grid tr
{
}
.view-display-id-page_1 table.views-view-grid tr td
{
/*  margin: 5px;*/
  width: 50%; 
}
.view-display-id-page_1 table.views-view-grid tr td .views-field-field-image-cache-fid
{
  float: left;
  margin: 5px 20px 0px 5px;
}

/* about page */
.view-display-id-page_2 ul.ui-tabs-nav li a
{
  background: transparent url(images/buttons_thin.png) scroll no-repeat -20px 0;
  width: 142px;
  height: 20px;
  padding: 7px;
  text-align: center;
}
.view-display-id-page_2 ul.ui-tabs-nav li a:hover,
.view-display-id-page_2 ul.ui-tabs-nav li.active a
{
  background: transparent url(images/buttons_thin.png) scroll no-repeat -191px 0;
  color: #111111;
}
