/* $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 {
  position: relative;
  background-color: #F2F2F2;
}

#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: 15px auto;
  width: 960px;
  background-color: #fff;
}

#page {
}

/*
 * Header
 */
#header {
  position: relative;
  height:150px;
  background: url("../images/header.jpg") top left;
  overflow:hidden;
  z-index: 10;
}

#header.collapsed {
  border-top: #999 1px solid;
  border-left: #999 1px solid;
  border-right: #999 1px solid;
  height: 80px;
  background: #fff;
}

#header .section {
}

a#logo
{
  position: absolute;
  left: 25px;
  top: 30px;
}
#header.collapsed a#logo 
{
  position: relative;
  left: 20px;
  top: 4px;
}

#search-box
{
  position: absolute;
  top: 75px;
  right: 20px;
}

#header.collapsed #search-box
{
  top: 44px;
  z-index: 100;  
}

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

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
  border-left: #999 1px solid;
  border-right: #999 1px solid;
  }

#main {
}

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

.sidebar-first #content {
  width: 760px;
  margin-left: 200px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
}

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

.two-sidebars #content {
  width: 560px;
  margin-left: 200px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -760px; /* LTR */ /* Negative value of #content's width + left margin. */
}

#content .section {
  margin: 0;
  padding: 10px 20px;
}

/*
 * Navigation
 */
#block-menu-menu-usermenu
{
    position: absolute;
    top: 10px;
    right: 20px;
}
#block-menu-menu-usermenu h2.title
{
  clip:rect(1px, 1px, 1px, 1px);
  position:absolute !important;
}

#block-menu-menu-usermenu ul.menu li.leaf /* A simple method to get navigation links to appear in one line. */ {
  float: left; /* LTR */
  display: block;
  padding-left: 20px;
}

#block-menu-menu-usermenu li a,
#block-menu-menu-usermenu li a:link,
#block-menu-menu-usermenu li a:visited
{
  text-decoration:none;
  color: #fff;
  font-size: 1.2em;
}
#block-menu-menu-usermenu li a:active,
#block-menu-menu-usermenu li a:hover,
#block-menu-menu-usermenu li a:focus,
#block-menu-menu-usermenu li a.active
{
  color: #ff0;
}

#header.collapsed #block-menu-menu-usermenu li a,
#header.collapsed #block-menu-menu-usermenu li a:link,
#header.collapsed #block-menu-menu-usermenu li a:visited
{
  color: #224f23;
}
#header.collapsed #block-menu-menu-usermenu li a:active,
#header.collapsed #block-menu-menu-usermenu li a:hover,
#header.collapsed #block-menu-menu-usermenu li a:focus,
#header.collapsed #block-menu-menu-usermenu li a.active
{
  color: #439744;
}
 
#navigation{
  position: absolute;
  width: 950px;
  bottom: 0px;
  left: -10px; /* LTR */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  z-index: 90;
}
#navigation-inner{
  position:relative;
  float: left;
  width: 100%;
  background-color: #439744;
  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. */
}
#navigation-wrap{
  position: relative;
  clear: both;
  float:left;
  background: url("../images/navigation-wrap.png");
  height: 10px;
  width: 10px;
}

.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 h2.title
{
  clip:rect(1px, 1px, 1px, 1px);
  position:absolute !important;
}
#navigation ul.menu /* Primary and secondary links */ {
  margin: 0 0 0 35px;
  padding: 5px 0 0 10px;
  text-align: left; /* LTR */
}

#navigation ul.menu li.leaf /* A simple method to get navigation links to appear in one line. */ {
  float: left; /* LTR */
  padding: 2px 20px 0 0; /* LTR */
  display: block;
}

#navigation li a,
#navigation li a:link,
#navigation li a:visited
{
  text-decoration:none;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.2em;
}
#navigation li a:active,
#navigation li a:hover,
#navigation li a:focus,
#navigation li a.active
{
  color: #ff0;
}

/*
 * Group banner & local nav menu
 */
#og-header {
  position: relative;
  margin: 0;
}
div#og-header-inner
{
  border-right: #999 1px solid;
  border-left: #999 1px solid;
  padding-right: 8px;
}

div#og-banner 
{
  position: relative;
  padding: 10px 10px 0 20px;
}

div#og-banner h2
{
  background-color: #FFFFFF;
  border: 2px solid #754C23;
  border-bottom:none;
  font-weight: normal;
  font-size: 2em;
  margin: 0;  
  padding: 20px 10px;
  -moz-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}
div#og-banner h2 a
{
  color: #000;
  text-decoration: none;
}
div#og-banner-image
{
  text-align: right;
}
div#og-banner-image img
{
  position: relative;
  right: 10px;
  bottom: -4px;
}
div#og-banner-image a
{
  padding: 0;
  margin: 0;
  line-height: 0;
}

div#og-localmenu
{
  position: relative;
  top: 0px;
  left: -10px; /* LTR */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  z-index: 100;
}
div#og-localmenu-inner
{
  width: 100%;
  background-color: #97622D;
  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. */
}
div#og-localmenu-wrap
{
  position: absolute;
  background: url("../images/localmenu-wrap.png");
  height: 10px;
  width: 10px;
  left:0px;
  top: 2.3em;
  overflow: visible;
}

div#og-localmenu ul /* Primary links */ {
  margin: 0 0 0 42px;
  padding: 5px 0 0 10px;
  text-align: left;
}

div#og-localmenu li /* A simple method to get navigation links to appear in one line. */ {
  float: left;
  padding: 1px 15px 0 15px;
  list-style: none;
  background: #97622D;
  position: relative;
  border-right:1px solid #4E3317;
}

div#og-localmenu li.last /* A simple method to get navigation links to appear in one line. */ {
  border-right: none;
}

#og-localmenu li.expanded /* A simple method to get navigation links to appear in one line. */ {
  padding-right: 20px;
}

div#og-localmenu li .sf-sub-indicator {
  background: url('../images/arrows-ffffff.png') no-repeat -10px -100px
  display: block;
  height: 10px;
  overflow: hidden;
  position: absolute;
  right: 5px;
  text-indent: -999em;
  top: 0.4em;
  width: 10px;
}

div#og-localmenu li a,
div#og-localmenu li a:link,
div#og-localmenu li a:visited
{
  text-decoration:none;
  color: #fff;
  font-size: 1.2em;
}
div#og-localmenu li a:active,
div#og-localmenu li a:hover,
div#og-localmenu li a:focus,
div#og-localmenu li a.active
{
  color: #ff0;
}

div#og-localmenu li a:hover,
div#og-localmenu li a.active li{
  background: #97622D;
}

#og-localmenu a {
	letter-spacing: .1em;
}
div#og-localmenu ul ul {
  background: #97622D;
  position: absolute;
  padding: 5px 6px;
  margin: 5px 0 0 0;
  -moz-border-radius-bottomleft: 0px;
  -moz-border-radius-topright: 0px;
  -webkit-border-top-right-radius: 0px;
  -webkit-border-bottom-left-radius: 0px;
}

div#og-localmenu ul ul li {
  float: left;
  clear:left;
  padding: 5px 0 4px 0;
  margin: 0;
  border-right: none;
}

h1.title,
h2.title
{
  border-bottom: 2px solid #9AA6B1;
  margin: 0.6em 0;
}

/*
 * First sidebar
 */
.region-sidebar-first {
  float: left; /* LTR */
  width: 200px;
  margin-left: 0; /* LTR */
  margin-right: -200px; /* 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 0 0 0; /* LTR */
  padding: 10px 0 10px 20px;
}

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

.region-sidebar-second .section {
  margin: 0; /* LTR */
  padding: 10px 20px 10px 0;
}

/*
 * content sidebar
 */
div.region-contentbar{
  float: right;
  width: 180px;
  margin: 0 0 1em 1.2em;
}

/*
 * Footer
 */
#footer {
}

#footer .section {
  background-color: #224F23;
  padding: 1em;
  color: #fff;
}
#footer .section table th {
  padding: 2px 5px;
}
#footer .section table td {
  color: #333;
}
#footer .section a
{
  color: #EF621D;
}
/*
 * 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;
}
*/
