/*
Theme Name: Solihull Life Opportunities
Author: David Rapson
Description: Simple two column, widget-less theme.
*/

/*---------------------------------------------------------
| =Table of Cntents
-----------------------------------------------------------
| Style reference
| Reset
| Sensible Defaults
| Utility Styles
| Typography
| - Paragraphs & Lists
| - Headings
| - Quotes
| - Links
| Layout
| - Header
|   - Donate
| - Menu
| - Main Content
|   - Comments
| - Forms
| - Footer
-----------------------------------------------------------
|  =Style Reference
-----------------------------------------------------------
|  Hex Code    Colour Ref.       Notable Use
|
|  #161C50     Mid Blue          menu bar / header image
|  #dfe8ff     Lighter Blue      menu hovers, image borders
|  #eff4ff     Border Highlight  borders
|  #c2cdef     Border Lowlight   border
-----------------------------------------------------------
| =Global Reset: Based upon YUI reset.css
---------------------------------------------------------*/
*, html, body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, form, label, fieldset,
input, p, blockquote, th, td { margin:0; padding:0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
ol, ul, li { list-style:none }
caption, th { text-align:left }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
q:before, q:after { content:''}
/*---------------------------------------------------------
| =Sensible Defaults aka Global Reset-reset
---------------------------------------------------------*/
strong { font-weight: bold; }
em { font-style: italic; }
* a { position: relative; } /* Gets links displaying over a PNG background */
a img  { border :none; } /* Gets rid of IE's blue borders */
/*---------------------------------------------------------
| =Utility Styles
---------------------------------------------------------*/
br.clear { clear: both; }
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
  * html .clearfix { height: 1%; }
  .clearfix { display: block; }
/* close commented backslash hack */

.alignleft { float: left; }
.alignright { float: right; }
.alignleft {
  margin: 0 1.5em 2em 0;
}
img.alignright { 
  margin: 0 0 2em 1.5em;
}
.clear { clear:both ;}
.display_none { display:none ;}
.next_post { float:right; }
.previous_post { float:left; }
.post { clear:both; }
hr {
  clear: both;
  border: 1px solid #bbb;
  border-width: 0 0 1px 0;
  margin-bottom: 1em;
}
/*---------------------------------------------------------
| =TinyMCE Override
---------------------------------------------------------*/

/**
 * These styles help to override the WordPress editors
 * default styling, relies on TinyMCE Advanced plugin.
 *
 * Doesn't work perfectly in all browsers but gives
 * a reasonable representation of the live site.
 */

body.mceContentBody
{
  width: 580px; /* Same width as primary-content */
  margin: 0 auto;
  text-align: left;
  background: #fff;
  background-image: none;
  font: 14px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
body.mceContentBody ul li
/**
 * Get lists diplaying normally,
 * custom bullets don't seem to display in TinyMCE under IE
 */
{ list-style-type: disc !important; list-style-image: none; margin-left: 1em; }
/*---------------------------------------------------------
| =Typography
---------------------------------------------------------*/
html { font-size: 100.1%; text-align: center; }
body { font-size: 62.5%; text-align: left; }
#container, #footer { font:1.35em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
  /*---------------------------------------------------------
  | =Paragraphs & Lists
  ---------------------------------------------------------*/
	p,ul,ol,dl { margin: 0 0 1em 0; }
	.wp-caption-text { font-size: 0.9em; font-style: italic; }
	#content li { list-style-position: outisde; margin: 0 0 0 1em; }
	#content ul li { list-style-type: disc; }
	#content ol li { list-style-type: decimal; }
	#content dt { font-weight: bold; }
	#content dd { margin-bottom: 0.5em; }
  /*---------------------------------------------------------
  | =Headings
  ---------------------------------------------------------*/
	h1,h2,h3,h4,h5,h6 {
  	font-weight: normal;
  	margin: 0 0 .75em 0; line-height: 1em;
	}
	h1 { font-size: 2.0em; }
	h2 { font-size: 1.8em; }
	h3 { font-size: 1.6em; }
	h4 { font-size: 1.4em; }
	h5 { font-size: 1.2em; }
	h6 { font-size: 1.1em;}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  	border:0px;
  	font-variant: normal;
	}
  /*---------------------------------------------------------
  | =Quotes
  ---------------------------------------------------------*/
	blockquote{
  	color: #444;
  	border-left: 2px solid #ddd;
  	width:450px;
   	text-indent: -0.7em;
   	line-height: 1.5em;
   	margin: 1.5em 0;
 	}
	blockquote p { margin:0 0 1.5em 0; padding-left: 1.5em; }
	blockquote cite { margin:0 0 0 0.7em; font-style: italic; }
  /*---------------------------------------------------------
  | =Links
  ---------------------------------------------------------*/
	a { text-decoration:none; }
	#primary-content a:link, #primary-content a:visited { color:#092a7b; border-bottom: 1px dotted #999; }
	#primary-content a:hover, #primary-content a:active { color:#b3c5ef; }
/*---------------------------------------------------------
| =Layout
---------------------------------------------------------*/
body { background: #dfe8ff url(images/body.jpg) repeat; }
#container {
  width: 780px;
  margin: 20px auto 10px;
  border: 1px solid #d4d4d4;
  background:#fff url("images/container.jpg") repeat-y center top;

  /* Some progressive enhancement */
  box-shadow: 1px 1px 8px #ccc;
  -moz-box-shadow: 1px 1px 8px #ccc;
  -webkit-box-shadow: 1px 1px 8px #ccc;
}
  /*---------------------------------------------------------
  | =Header
  ---------------------------------------------------------*/
  #header h1 { text-indent:-9999px; margin:0px; }
  #header h1 a {
    display: block;
    width: 780px;
    height: 210px;
    background: url(images/header.jpg) no-repeat top left;

  }
    /*---------------------------------------------------------
    | =Donate
    ---------------------------------------------------------*/
    #primary-content #donate {
      border: 0;
      text-indent: -9999px;
      display: block;
      width: 630px;
      height: 55px;
      background: url(images/donate.jpg) no-repeat;
    }
  /*---------------------------------------------------------
  | =Menu
  ---------------------------------------------------------*/
  #menu {
    float: left;
    width: 150px;
    margin: 0;
    color: #fff;
    background: #121c4f;
    border-top: 1px solid #aaa;
  }
  #menu li { list-style:none; margin:0px; }
  #menu a{
    color:#fff;
    display:block;
    padding:8px 0;
    height:1.5em;
    text-align:center;
    border-bottom: 1px solid #aaa;
    font-size: 1.2em;
  }
  #menu a:hover, #nav a.active, #menu li.current_page_item a { color:#000; background:#dfe8ff; }
  #menu li.page-item-21 a { font:2em "Comic Sans MS" sans-serif; height:100%;}
  /*---------------------------------------------------
  9. Main Content
  ---------------------------------------------------*/
  #primary-content {
    float: right;
    width: 630px;
  }
  #content {	margin: 20px; }
  #content img { border: 5px solid #dfe8ff; }
  /*---------------------------------------------------------
  | =Posts
  ---------------------------------------------------------*/
  .postmetadata {
    color: #999;
    font-style: italic;
    padding:0.3em 0;
    border: 1px dotted #999;
    border-width: 1px 0;
  }
  /*---------------------------------------------------
  9.1. Comments
  ---------------------------------------------------*/
  	#comments h3 { text-align: right; }
  	#primary-content ol.commentlist {margin:1em 0; }
  	#primary-content ol.commentlist li {
  	border: 1px solid #b3c5ef;
  	border-left-color: #ddd;
  	border-top-color: #ddd;
  	padding-bottom: 1em;
  	list-style: none;
  	margin:0px;
  	background: #dfe8ff;
  	}
  	#primary-content ol.commentlist li img.gravatar { float:right; margin:0 0 1em 1em; border-color: #dfe8ff;}
  	#primary-content div.comment { padding:0.5em 0 0 1em; }
  	#primary-content div.comment span.date { font-size:0.7em; }
  /*---------------------------------------------------------
  | =Forms
  ---------------------------------------------------------*/
	form legend { font-size: 1.38em; }
	form label { margin:0.5em 0;}
	form label, form input { display: block; }
	form input,form select, form textarea { border: 1px solid #666; width:590px; }
	form input, form select { height:2em; }
  /*---------------------------------------------------------
  | =Footer
  ---------------------------------------------------------*/
  #footer {
    color: #666;
    font-size: 1.1em;
    text-align: center;
    text-shadow: 1px 1px 1px #fff;

    width:780px;
    margin: 0 auto 20px;
  }