/*
Theme Name: Solihull Life Opportunities
Author: David Rapson
Description: Custom theme for Solihull Life Opportunities
*/


/*
  SOLO THEME by DAVID RAPSON

  COLOUR SCHEME
  -------------

  Hex Code    Description   Usage

  #121c4f     Dark blue     Navigation / header gradient
  #7f9dbf     Mid blue      Header contact box / header border
  #dfe8ff     Pale blue     Active navigation / latest posts (homepage)
  #f0ecfa     Grey blue     Fallback background colour

  FONT STACKS
  -----------

  Body face:    Trebuchet MS, Verdana, sans-serif
  Display face: Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif

  N.B. Droid Sans uses the Google Fonts API
  http://fonts.googleapis.com/css?family=Droid+Sans:400,700
  See stylesheet in head.

*/

/*= @group Reset
---------------------------------------------------------------------- */


article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/*= @group Base
---------------------------------------------------------------------- */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 0.875em; line-height: 1.5; /* 14px over 21px line-height */ }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* Must be declared twice */
::-moz-selection { background: #dfe8ff; color: #333; text-shadow: none; }
::selection { background: #dfe8ff; color: #333; text-shadow: none; }

/*= @group Elements
---------------------------------------------------------------------- */

  b, strong { font-weight: bold; }
  i, em, dfn, .byline { font-style: italic; }
  abbr[title] { border-bottom: 1px dotted; }
  abbr { font-variant: small-caps; }
  mark { background-color: $secondary-color; color: white; padding: 0 0.5em; }
  ins { background: #ff9; color: #000; text-decoration: none; }

  hr {
    clear: both;
    border: 1px solid #bbb;
    border-width: 0 0 1px 0;
    margin-bottom: 1em;
  }

  /*= @group LINKS
  ---------------------------------------------------------------------- */

  a, a:link         { color: #092a7b; text-decoration: none; border-bottom: 1px dotted #999; }
  a:hover, a:active { color: #b3c5ef; outline: 0; }
  a:focus           { outline: thin dotted; }

  /*= @group EMBEDED CONTENT
  ---------------------------------------------------------------------- */

  /* _width hack is for IE6 and below */
  /*img, embed, object, video { max-width: 100%; _width: 100%; }*/
  img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
  /* Correct overflow displayed oddly in IE9 */
  svg:not(:root) { overflow: hidden; }

  /*= @group Lists
  ---------------------------------------------------------------------- */

  li { list-style-position: outisde; }
  ul, ol { margin: 0; padding: 0 0 0 1.5em; }
  ul li { list-style-type: disc; }
  ol li { list-style-type: decimal; }
  dt { font-weight: bold; }
  dd { margin: 0 0 0.5em 0; }
  nav ul, nav ol, .nav ul, .nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

  /*= @group Quotes
  ---------------------------------------------------------------------- */

  q { quotes: none; }
  q:before, q:after { content: ""; content: none; }

  blockquote{
    color: #444;
    border-left: 2px solid #ddd;
    text-indent: -0.4em;
    line-height: 1.5em;
    margin: 1.5em 0;
  }
    blockquote p {
      margin: 0 1.5em 1.5em 0;
      padding-left: 1.5em;
    }
    blockquote cite {
      margin:0 0 0 0.7em;
      font-style: italic;
    }

  /*= @group Figures
  ---------------------------------------------------------------------- */

  figure { margin: 0; }

  /*= @group Tables
  ---------------------------------------------------------------------- */

  table { border-collapse: collapse; border-spacing: 0; }
  td { vertical-align: top; }

  /*= @group Forms
  ---------------------------------------------------------------------- */

  form { margin: 0; }
  fieldset { border: 0; margin: 0; padding: 0; }

  label { cursor: pointer; }   /* Indicate that 'label' will shift focus to the associated form element */

  /* 1. Correct color not inheriting in IE6/7/8/9
   * 2. Correct alignment displayed oddly in IE6/7 */
  legend { border: 0; *margin-left: -7px; padding: 0; }

  /* 1. Correct font-size not inheriting in all browsers
   * 2. Remove margins in FF3/4 S5 Chrome
   * 3. Define consistent vertical alignment display in all browsers */
  button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

  /* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
   * 2. Correct inner spacing displayed oddly in IE6/7 */
  button, input { line-height: normal; *overflow: visible; }

  /* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7 */
  table button, table input { *overflow: auto; }

  /* 1. Display hand cursor for clickable form elements
   * 2. Allow styling of clickable form elements in iOS */
  button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

  /* Consistent box sizing and appearance */
  input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
  input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
  input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

  /* Remove inner padding and border in FF3/4: h5bp.com/l */
  button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

  /* 1. Remove default vertical scrollbar in IE6/7/8/9
   * 2. Allow only vertical resizing */
  textarea { overflow: auto; vertical-align: top; resize: vertical; }

  /* Colors for form validity */
  input:valid, textarea:valid {  }
  input:invalid, textarea:invalid { background-color: #f0dddd; }


/*= @group Typography
---------------------------------------------------------------------- */

  /*= @group Font Stacks
  ---------------------------------------------------------------------- */

  body, button, input, select, textarea { font-family: "Trebuchet MS", Verdana, sans-serif }
  h1,h2,h3,h4,h5,h6 { font-family: "Droid Sans",  "Helvetica Neue", Helvetica, Arial, sans-serif; }


  /*= @group Text Level Elements
  ---------------------------------------------------------------------- */

 /* p,ul,ol,dl { margin: 0 0 1em 0; }*/

  /*= @group Headings
  ---------------------------------------------------------------------- */

  h1,h2,h3,h4,h5,h6 {
    margin: 0 0 .75em 0;
    line-height: 1.5;
    clear: both;
  }
  h1,h2,h3 { font-weight: bold; }
  h4,h5,h6 { font-weight: normal; }
  h5 { text-transform: uppercase; }
  h6 { font-style: italic; }

  h1 {
    font-size: 2em; /* 28px/14px */
    margin: 0 0 .75em 0; /* 0 0 21px/28px 0 */
  }
  h2 {
    font-size: 1.7142em; /* 21px/14px */
    margin: .875em 0 .33333em 0; /* 21px/24px 0 7px/21px 0 */
  }
  h3 {
    font-size: 1.2857em; /* 18px/14px */
    margin: 1.166em 0 0.388em 0; /* 21px/18px 0 7px/18px 0 */
  }
  h4 {
    font-size: 1.1428em; /* 16px/14px */
    margin: 1.3125em 0 0.4375em 0; /* 21px/16px 0 7px/16px 0 */
  }
  h5,h6 {
    font-size: 1em; /* 14px/14px */
    margin: 1.5em 0 .5em 0; /* 21px/14px 0 7px/14px 0 */
  }
  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    border: none;
    font-variant: normal;
  }


/*= @group Common
---------------------------------------------------------------------- */

  /*= @group Alerts
  ---------------------------------------------------------------------- */

  .alert {
    background-color: #dfe8ff;
    border: 1px solid #ddd;
    margin-bottom: 2.5em;
  }

  /* News alerts, see homepage */
  .alert-news ul { margin: .8em .5em .9em; padding: 0; }
    .alert-news li { list-style: none; margin-bottom: .3em;}
      .alert-news .category { font-weight: bold; margin-right: .3em; }
      .alert-news .date { font-style: italic; color: #555; margin-left: .3em;}

  .full {
    width: 740px;
    margin: -30px 0 2em -40px;
  }
  .full.alert, .ie6 alert-news  {
    width: 710px;
    padding-left: 30px;
    border-width: 0 0 1px 0;
  }

  /* IE6 alert fixes */
  .ie6 .full { margin: 0; width: 95%; }
  .ie6 alert-news { padding-left: 2.5%; }
  .ie6 .alert-news a { display: inline; margin: 0; }
  .ie6 alert-news a { text-indent: 0 !important; }


/*= @group Layout
---------------------------------------------------------------------- */

  /*= @group Root
  ---------------------------------------------------------------------- */

  body { background: #f0ecfa url(images/body.jpg) repeat; }

  .container {
    width: 960px;
    margin: 0 auto;
  }
  .page {
    margin: 20px auto 10px;
    border: 1px solid #d4d4d4;
    background: #fff url("images/container.jpg") repeat-y center top;
  }

  .content, .ad-banner {
    width: 740px;
  }

  .nav-primary {
    float: left;
    width: 220px;
  }


  /*= @group Header
  ---------------------------------------------------------------------- */

  .banner, .banner a { color: #fff; }
  .banner {
    width: 100%;
    height: 190px;
    background: #4e7197 url('images/header-bg.jpg') no-repeat;
  }
    .banner .logo, .banner .inner { float: left; }

    /* Link overrides */
    .banner a { border: none; }
    .banner a:hover { color: #7f9dbf; }
    .banner .vcard a:hover { color: #161d51; }
    .banner .logo:hover { opacity: 0.9; }

    .banner .logo { margin: 10px 30px 0 10px; }

    .banner .title {
      font-size: 2.5em;
      margin: 10px 0 0;
    }
    .banner .tagline {
      font-size: 1.3em;
      margin: 0 0 30px;
    }

    .banner .title, .banner .tagline {
      text-shadow: 0 1px 2px rgba(0,0,0,0.5);

    }

    /*= @group vCard (Contact Details)
    ---------------------------------------------------------------------- */

    .banner .vcard {
      display: inline-block;
      /* http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ */
      zoom: 1;
      *display: inline;

      padding: .3em 1em .4em;
      background-color: #7f9dbf;
    }
      .banner .vcard .org { display: none; }
      .banner .vcard div { display: inline; }
      .banner .vcard strong {
        color: #fff;
        color: rgba(255,255,255,0.75);
        margin-left: .3em; }
        .banner .vcard strong::after {
          content: ":";
          font-weight: normal;
        }
      .banner .vcard .tel { margin-right: 1em; }



  /*= @group Navigation
  ---------------------------------------------------------------------- */

  .nav ul { margin: 0; padding: 0; }

    /*= @group Primary Navigation
    ---------------------------------------------------------------------- */

    .nav-primary {
      margin: 0 0 40px 0;
      color: #fff;
      background: #121c4f;
      margin: 0;
      }
      .nav-primary li {
        list-style: none;
        margin: 0;
        padding: 0;
        }
        .nav-primary li a {
          color: #fff;
          display: block;
          padding: 6px 0 8px;
          /*text-align:center;*/
          font-weight: bold;
          text-indent: 12px;
          border-bottom: 1px solid #494d7f;
          font-size: 1.1em;
          }
          /* IE6 list bug */
          /* http://www.456bereastreet.com/archive/200610/closing_the_gap_between_list_items_in_ie/ */
          .ie6 li a {display:inline-block;}
          .ie6 li a {display:block;}

          .nav-primary li a:hover,
          .nav-primary .current_page_item > a {
            color: #000;
            background-color: #dfe8ff;
            }
         .nav-primary .parent > a {
           background-image: url('images/arrow.png');
           background-repeat: no-repeat;
           background-position: 90% center;
           }
          .nav-primary .parent.current_page_item > a,
          .nav-primary .parent > a:hover {
            background-image: url('images/arrow-alt.png');
            }
        .nav-primary li:last-child a { border: none; }
        .nav-primary li ul { display: none; }
        .nav-primary .current_page_item ul,
        .nav-primary .current-page-ancestor ul {
          display: inline;
        }

        .nav-primary li ul li a {
          padding: 0.2em 0;
          font-weight: normal;
          border:none;
          text-indent: 1.5em;
          font-size: 1em;
        }

    /*= @group Archive Navigation (Entries)
    ---------------------------------------------------------------------- */

    .nav-archive a, .back a {
      display: inline-block;
      padding: .3em .5em;
      margin: 0 0 1em;
      border: 1px solid #ddd;
      }
      .nav-archive .next { float: left;  }
      .nav-archive .prev { float: right; }

  /*= @group Main
  ---------------------------------------------------------------------- */

  .content { float: right; }
    .main {  margin: 30px 40px; }
    .main img { border: 5px solid #dfe8ff; }


  /*= @group Footer
  ---------------------------------------------------------------------- */

  .footer {
    color: #666;
    font-size: 0.857em; /* 12px/14px */
    text-align: center;
    text-shadow: 1px 1px 1px #fff;
    margin-bottom: 2em;
    }

  /*= @group Entries
  ---------------------------------------------------------------------- */

  .archive-title {
    color: #666;
    clear: both
    display: block;
    padding-bottom: .75em;
    margin-bottom: 3em;
    border-bottom: 1px dotted #ddd;

    font-size: 1.1em;
    font-weight: normal;
    text-align: center;
  }

  .entry {
    clear: both;
    margin-bottom: 30px;
    padding-bottom: 20px;
    }
    .entry-header {
      margin-bottom: 20px;
      }
      .entry-header .entry-title {
        margin-bottom: 0.2em;
        }
        .entry-header .entry-title a {
          border: none;
          }
    .entry-meta {
      color: #999;
      font-size: 1.1em;
      }
      .entry-meta .byline, .entry-meta .time { display: inline; }
      .entry-meta .fn, .entry-meta .updated { font-weight: bold; }
    .entry-content {  }
    .byline { color: #444; }


    .more {
      clear: both;
      color: #666;
      border-bottom: 1px solid #ddd;
      padding-top: 1em;
      }
      .more a {
        color: inherit;
        background-color: white;
        font-weight: bold;

        display: block;
        float: right;

        padding: 0 1em;
        margin: -10px 1em 0 0;
        border: none;
        }


  /*= @group Comments
  ---------------------------------------------------------------------- */


  #comments h3 { text-align: right; }
  .commentlist {margin:1em 0; }
  .commentlist li {
    border: 1px solid #b3c5ef;
    border-left-color: #ddd;
    border-top-color: #ddd;
    padding-bottom: 1em;
    list-style: none;
    margin:0px;
    background: #dfe8ff;
  }
  .commentlist .gravatar { float:right; margin:0 0 1em 1em; border-color: #dfe8ff;}
  .comment { padding:0.5em 0 0 1em; }
  .comment span.date { font-size:0.7em; }

  /* =Forms
  -------------------------------------*/


/* =Home page
-------------------------------------*/


/*= @group Vendor Prefixes
---------------------------------------------------------------------- */

.page {
  -webkit-box-shadow: 1px 1px 8px #ccc;
     -moz-box-shadow: 1px 1px 8px #ccc;
       -o-box-shadow: 1px 1px 8px #ccc;
          box-shadow: 1px 1px 8px #ccc;
}
.alert {
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
       -o-border-radius: 2px;
          border-radius: 2px;
}
.banner .vcard {
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;

  -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.3);
     -moz-box-shadow: 0 0 2px rgba(0,0,0,0.3);
       -o-box-shadow: 0 0 2px rgba(0,0,0,0.3);
          box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/*= @group Non Semantic Helpers
---------------------------------------------------------------------- */

  /*= @group WordPress
  ---------------------------------------------------------------------- */

  /* WordPress generated */
  .alignleft  { float: left; }
  .alignright { float: right; }
  img.alignleft, .wp-caption.alignleft { margin: 0 1.5em 2em 0; }
  img.alignright, .wp-caption .alignright { margin: 0 0 2em 1.5em; }

  .display_none { display:none ;}
  .next_post { float:right; }
  .previous_post { float:left; }

  .post { clear:both; }
  .wp-caption-text { font-size: 0.9em; font-style: italic; }

  /*= @group Common Helpers
  ---------------------------------------------------------------------- */

  /* For image replacement */
  .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
  .ir br { display: none; }

  /* Hide from both screenreaders and browsers: h5bp.com/u */
  .hidden { display: none !important; visibility: hidden; }

  /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
  .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

  /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
  .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

  /* Hide visually and from screenreaders, but maintain layout */
  .invisible { visibility: hidden; }

  /* Contain floats: h5bp.com/q */
  .clear { clear: both; }
  .group:before, .group:after { content: ""; display: table; }
  .group:after { clear: both; }
  .group { *zoom: 1; }


