/*
 *	Specific stylesheet for Internet explorer 8 & 9
 *
 *	Classes lt-ie9 and lt-ie8 on the html tag
 */

 /*
  * IE < 9
  */

  .lt-ie9 #page {
    position: relative;
    width: 1000px;
  }

  .lt-ie9 #footer,
  .lt-ie9 .region-bottom {
    float: left;
    width: 100%;
  }

  .lt-ie9 #page #footer .block-menu {
    width: 17%;
  }

 /*
   * The layout when there is only one sidebar, the left one.
   */

   .lt-ie9 .two-sidebars.not-front .region-sidebar-second {
      float: left;
      clear: both;
      background: transparent;
      width: 100%;
      margin: 1em 0;
   }

   .lt-ie9 .two-sidebars.not-front .region-sidebar-second .block {
      float: left;
      display: inline;
      width: 32%;
      margin: 0 5px;
   }

  .lt-ie9 .sidebar-first #content { /* Span 4 columns, starting in 2nd column from left. */
    float: left;
    width: 65%;
    margin-left: 35%;
    margin-right: -100%;
  }
  .lt-ie9 .sidebar-first .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -35%;
  }

  .lt-ie9 #page .view-homepage-widgets.news-features-events .views-row {
    width: 45%;
  }

  .lt-ie9 #page #footer #block-block-8 {
    clear: both;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    height: 100%;
    width: 220px;
  }

  .lt-ie9 #page #footer #block-block-8 img {
    position: absolute;
    bottom: 30px;
  }

  /*
   * The layout when there is only one sidebar, the right one.
   */

  .lt-ie9 .sidebar-second #content { /* Span 4 columns, starting in 1st column from left. */
    float: left;
    width: 70%;
    margin-left: 0%;
    margin-right: -70%;
  }
  .lt-ie9 .sidebar-second .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 30%;
    margin-left: 70%;
    margin-right: -100%;
  }

  /*
   * The layout when there are two sidebars.
   */

  .lt-ie9 .two-sidebars #content { /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 70%;
    margin-left: 30%;
    margin-right: -100%;
  }
  .lt-ie9 .two-sidebars .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }
  .lt-ie9 .two-sidebars .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 20%;
    margin-left: 80%;
    margin-right: -100%;
  }

 /*
  * IE8
  */

  .lt-ie9 .two-sidebars.not-front #block-views-homepage-widgets-block-1 .views-slideshow-controls-bottom {
    margin-top: 0;
  }


 /*
  * IE7
  */

  .lt-ie8 #main {
    position: static;
    margin-top: -15px;
  }

  .lt-ie8 #header {
    overflow: visible;
    z-index: 9999;
  }

  .lt-ie8 .two-sidebars.not-front #block-views-homepage-widgets-block-1 .views-slideshow-controls-bottom {
    margin-top: -25px;
  }

  /* Should really sort the footer sitemap on IE7 properly */

  .lt-ie8 #page #footer #block-menu-menu-footer-library-menu {
    clear: none;
  }

  .lt-ie8 #page #footer #block-block-8 {
    float: left;
    position: static;
    padding: 10px 0;
    width: 100%;
  }

  .lt-ie8 #page #footer #block-block-8 #address {
    padding: 10px;
  }

  .lt-ie8 #page #footer #block-block-8 img {
    bottom: 75px;
    right: 20px;
  }

/* Fix one of the search boxes in form.css (site is live and easier to upload one file) */

#block-search-form #edit-submit--2 {
    background: url('../images/search-icon.png') -5px -1px no-repeat #7fa3cf;
    border: none;
    border-radius: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;

    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;

    color: #FFF;   
    font-size: 1.8em;
    text-align: right;
    padding: 6px 8px 6px 33px;
}