/**
 * @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,html {
  height: 100%;
}

#page-wrapper,
.region-bottom {
  /*
   * 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-left: auto;
  margin-right: auto;
  width: 990px;
}

#page {}

#bottom-gradient {
  height: auto;
  min-height: 100%;
  /*make sure at least as high as the viewport */
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/*
 * Header
 */
#header {}

#header .section {}

#site-title {
  margin-top: 12px;
  width: 620px;
  float: left;
  margin-bottom: 12px;
}

#site-title #logo {
  margin-top: 30px;
  margin-bottom: 20px;
}

.region-header {}

#apachesolr-panels-search-block {
  float: right;
  border-top: solid 1px;
  padding-top: 12px;
  width: 315px;
  margin-bottom: 12px;
  clear: both;
  /* make sure serach stays underneath title text */
  margin-top: -52px;
  /* then push it back up its own height */
  padding-left: 30px;
}

#apachesolr-panels-search-block div {
  display: inline;
  margin: 0;
}

.form-item-apachesolr-panels-search-form .form-text {
  width: 200px;
}

.pane-apachesolr-form .form-submit,
.block-apachesolr-panels .form-submit {
  width: 80px;
  margin-right: 24px;
  height: 24px;
}

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

#main {}

/*
 * Columns
 */

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

#content .one-sidebar-left .panel-col {
  width: 730px;
  margin-left: 244px;
  /* LTR */
  /* The width of .region-sidebar-first. */
  margin-right: -974px;
  /* LTR */
  /* Negative value of #content's width + left margin. */
}

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

#content .two-sidebars .panel-col {
  width: 486px;
  margin-left: 244px;
  /* LTR */
  /* The width of .region-sidebar-first */
  margin-right: -730px;
  /* LTR */
  /* Negative value of #content's width + left margin. */
}

#content .panel-3col .panel-col-first {
  float: left;
  /* LTR */
  width: 244px;
  margin-left: 0;
  /* LTR */
  margin-right: -244px;
  /* 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. */
}

#content .panel-3col .panel-col-last {
  float: left;
  /* LTR */
  width: 244px;
  margin-left: 730px;
  /* LTR */
  /* Width of content + sidebar-first. */
  margin-right: -974px;
  /* 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. */
}

.front #content .panel-3col .panel-col {
  /* first column is wider for front page */
  float: left;
  /* LTR */
  width: 244px;
  margin-left: 486px;
  /* LTR */
  margin-right: -730px;
  /* 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. */
}

/*styling to take effect if no middle panel content, make left column
 * expand to take middle panel area. */
#main #content .no-sidebar-middle .panel-col-first {
  width: 730px;
  margin-right: -730px;
}

.front #content .panel-3col .panel-col-first {
  /* first column is wider for front page */
  width: 486px;
  margin-left: 0;
  /* LTR */
  margin-right: -486px;
  /* LTR */
  /* Negative value of #content's width + left margin. */
}

.panel-3col .panel-col-first .inside {
  margin: 0 0px 0 0;
  /* LTR */
  padding: 0;
}

.panel-3col .panel-col .inside,
.panel-3col .panel-col-first .inside,
.panel-3col .panel-col-last .inside {
  margin: 0 0 0 0px;
  /* LTR */
  padding: 0 18px;
}

/*
 * Interior Content
 */

#content .section {
  margin: 0;
  padding: 0;
}

#content-footer-wrapper {
  clear: both;
  border-top: 1px solid;
}

#content-footer p,
#content-footer ul {
  float: left;
}

#content-footer li {
  display: inline;
}

/*
 * Navigation
 */
#navigation {
  float: left;
  /* LTR */
  width: 100%;
  clear: both;
  padding: 0;
  /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  margin-bottom: 12px;
  height: 56px;
  /* 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 .section {}

/*
 * Frontpage Masthead
 */

#frontpage_mast {
  width: 100%;
  clear: both;
  margin-bottom: 12px;
}

#frontpage_mast #leftside,
#frontpage_mast #rightside {
  float: left;
}

#frontpage_mast #leftside {
  width: 432px;
  margin-right: 36px;
  padding-left: 27px;
  padding-right: 18px;
  /* faux columns technique in color.css to make height match #rightside */
}

#frontpage_mast #rightside {
  width: 477px;
}

/*
 * Footer
 */
.region-footer {}

#footer {
  padding-bottom: 48px;
}

#footer #site_details,
#footer #key_links {
  float: left;
  padding-left: 18px;
}

#footer #bottom_footer_right {
  margin-top: 19px;
}

#footer #bottom_footer_right,
#footer #bottom_footer_right div {
  float: right;
  clear: right;
}

#footer #copyright {
  border-top: solid 1px;
  padding-top: 12px;
  width: 342px;
  margin-top: 30px;
}

#footer #copyright,
#footer #inversed_logos {
  padding-right: 28px;
}

#footer #copyright p {
  margin: 0px;
  float: right;
}

#footer_logos {
  margin-bottom: 48px;
  clear: both;
  padding: 18px;
}

#footer_logos img {
  float: left;
  margin-right: 20px;
}

#footer_logos p {
  margin: 0px;
}

#content-footer .page_updated {
  width: 253px;
}

/*
 * Page bottom
 */
.region-bottom {}

/*
 * Prevent overflowing content
 */

#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-footer,
.region-bottom {
  overflow: visible;
  word-wrap: break-word;
  /* A very nice CSS3 property */
}

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

/* WR#89466 custom styling for recaptcha */
#recaptcha_custom_theme_widget > input {
  clear: both;
  display: block;
}

#content #recaptcha_custom_theme_widget img {
  border-top: none;
}

.recaptcha_help, .recaptcha_only_if_image,
.recaptcha_only_if_audio, .recaptcha_get_another_captcha {
  display: inline-block;
}