/*
Theme Name: Shelter blog - 2015
Theme URI: http://blog.shelter.org.uk
Description: Shelter blog theme
Author: Matt Perry / Danny Pritchard / Rob Gilbert
Version: 1.2
License:
License URI:
Tags:
*/


body, p, h1, h2, h3, h4, ul, li, input {
	border:0;
	font-size:14px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight:normal;
	line-height:20px;
	margin:0;
	padding:0
	}
ol, ul { list-style:none }
a, button, input { outline:none }
a img { border:0 }
table { border-collapse: collapse; border-spacing: 0; border: 1px solid #aaa }
table th, table td { border: 1px solid #aaa; padding: 5px }
table th { background: #f5f5f5 }

a { color:#069; text-decoration:none }
a:visited { color:#069 }
a:hover { color:#005179 }

body { background: #FFF }

input {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	}

h2, h2 a, h3 {
	color:red!important;
	letter-spacing:-1px;
	text-decoration:none;
	//text-shadow: 0 1px 1px #E3E3E3;
	}
h2 { font-size:32px; line-height:36px; font-weight: 700; }
h3 { font-size:24px; margin-bottom:10px }
h4 { font-size:20px; margin-bottom:10px; color: black; }

.width_wrapper {
	margin:auto;
	padding:30px 20px;
	width:960px
	}

#header .width_wrapper { padding: 40px 0 30px }

#header a, #footer a { color:#FFF }
#header h1, #footer h1 {
	background:url('images/sprites.png');
	display:block;
	height:52px;
	text-indent:-9999px
	}
	#header h1 { width:487px; float:left }
	#footer h1 { width:149px; float:right }

.bookend {
	background: #b40000;
	background: -moz-linear-gradient(top, #b40000 0%, #e70000 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b40000), color-stop(100%,#e70000));
	background: -webkit-linear-gradient(top, #b40000 0%,#e70000 100%);
	background: -o-linear-gradient(top, #b40000 0%,#e70000 100%);
	background: -ms-linear-gradient(top, #b40000 0%,#e70000 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B40000', endColorstr='#E70000',GradientType=0 );
	background: linear-gradient(top, #b40000 0%,#e70000 100%);

	color:#FFF;
	width:100%;
}

.search_form {
	float:right;
	position:relative;
	top:-7px
}

.search_heading{
	color: #fff!important;
	font-size: 1.3em;
	font-weight: 300;
	margin-bottom: 0;
	text-shadow: none;	
}

.search_button {
	background:url('images/sprites.png') -555px 0px;
	cursor:pointer;
	width:41px;
	height:41px;
	position:absolute;
	right:0;
	top:18px;
	text-indent:-9999px
}
.search_button:active {
	top:1px;
}

.search_input, #signup_input, #signup_button {
	-moz-box-shadow: inset 0 1px 0 #000;
	-webkit-box-shadow: inset 0 1px 0 #000;
	box-shadow: inset 0 1px 0 #000;
	padding: 6px 6px 5px
}
.search_input {
	height:20px;
	top:3px;
	position:relative;
	right:20px;
	width:230px
}
#signup p { margin-bottom:5px }
#signup_input {
	height:20px;
	width: 240px
	}
#signup_button {
	-webkit-border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	cursor:pointer;
	height:31px;
	padding: 6px 12px 5px;
	position:relative;
	right:10px;
	text-shadow: 0 1px 0 #FFF;
	top:1px;
}

.btn_function,  {
	background: #f3f3f3;
	background: -moz-linear-gradient(top, #f3f3f3 0%, #bebebe 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#bebebe));
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#bebebe 100%);
	background: -o-linear-gradient(top, #f3f3f3 0%,#bebebe 100%);
	background: -ms-linear-gradient(top, #f3f3f3 0%,#bebebe 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F3F3F3', endColorstr='#BEBEBE',GradientType=0 );
	background: linear-gradient(top, #f3f3f3 0%,#bebebe 100%);
	}
.btn_function:hover, . {
	background: #f6f6f6;
	background: -moz-linear-gradient(top, #f6f6f6 0%, #cccccc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#cccccc));
	background: -webkit-linear-gradient(top, #f6f6f6 0%,#cccccc 100%);
	background: -o-linear-gradient(top, #f6f6f6 0%,#cccccc 100%);
	background: -ms-linear-gradient(top, #f6f6f6 0%,#cccccc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#cccccc',GradientType=0 );
	background: linear-gradient(top, #f6f6f6 0%,#cccccc 100%);
	}
.btn_function:active, {
	background: #bebebe;
	background: -moz-linear-gradient(top, #bebebe 0%, #f3f3f3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bebebe), color-stop(100%,#f3f3f3));
	background: -webkit-linear-gradient(top, #bebebe 0%,#f3f3f3 100%);
	background: -o-linear-gradient(top, #bebebe 0%,#f3f3f3 100%);
	background: -ms-linear-gradient(top, #bebebe 0%,#f3f3f3 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#BEBEBE', endColorstr='#F3F3F3',GradientType=0 );
	background: linear-gradient(top, #bebebe 0%,#f3f3f3 100%);
	}

#main { height:100px }

.post_date {
	color:#777;
	display:block;
	font-size:14px;
	padding:10px 0 7px 2px;
	}

.author_name { color:#AAA }

#posts { float:left; width:670px }

.post {
	margin-bottom: 40px;
	width:530px
	}
.post_body { margin: 20px 0 }
.post_body p {
	line-height:25px;
	margin-bottom:20px
	}
.post_body p:last-child { margin-bottom:15px }
.post_info {
	
	}
.post_info p { line-height:25px; }

.comments_count{	  
  height: 22px;
  width: 100px;
  padding-left: 30px;
  background: url('images/disqus.png') no-repeat;
  background-size: contain;
  display: block;
  position: relative;
	top: -43px;
	left: 80px;
}


.read-more {
	display: block;
	width: 45px;
	clear: both;
	margin-top: 10px;
	background: #1881d4;
	padding: 0 10px;
	color: #fff!important;
	font-size: 0.8em;
}

#comments {
	margin-bottom: 20px;
	padding-top: 20px
	}
#comments h3 { margin-bottom:25px }

.widgets {
	float:right;
	width:100px;
	margin-left:10px;
	padding-left:20px;
	border-left: 1px solid #DEDEDE
	}

.content {
	float:left;
	width:535px;
}

#menu {
	float:right;
	width:240px;
	margin-left:20px;
	padding-left:20px;
	border-left: 1px solid #DEDEDE;
}

.widgets, #menu { margin-top:90px }

#menu li { margin-bottom:5px }
#menu ul, #tag_cloud { margin-bottom:40px }
#tag_cloud a { margin-right: 5px }

.author_card { position:relative }
.author_showall {
	background:url('images/sprites.png') 296px -50px no-repeat;
	display:block;
	margin-top:10px;
	padding-right:12px;
	text-align:right;
	}
.author_showall a {
	color:#FFF;
	text-decoration:underline
	}
.author_avatar {
	position:relative;
	z-index:2
	}
.author_avatar div {
	background:url('images/sprites.png') -11px -52px;
	height:19px;
	width:19px;
	position:absolute;
	top:81px;
	left:81px
	}

.author_description {
	background-color:#e70000;
	border-radius:5px;
	-moz-border-radius:5px;
	-moz-box-shadow: 0 1px 0 #600;
	-webkit-box-shadow: 0 1px 0 #600;
	box-shadow: 0 1px 0 #600;
	color:#FFF;
	display:none;
	right:-20px;
	padding:20px 140px 20px 20px;
	position:absolute;
	top:-20px;
	width:300px;
	z-index:1
	}

.author_name {
	color:#999;
	position:relative;
	z-index:2
	}

.share_story {
	float: left;
	width: 100px;
	margin-top:25px;
	}

.share_story a {
	display:block;
	float: left;
	margin-bottom:7px;
	overflow:hidden;
	width:44px;
	height:42px;
	}
.share_twitter { background: url('images/twitter.jpg') no-repeat; margin-right: 8px;}
.share_facebook { background: url('images/fb.jpg') no-repeat }
.share_linkedin { background: url('images/lnkd.jpg') no-repeat; margin-right: 8px;}
.share_google { background: url('images/g+.jpg') no-repeat }

.share_story.fixed {
	position:fixed;
	top:0;
	}

#page_title { margin-bottom:25px }

#search_404 {
	margin-top:20px;
	padding:30px 40px 40px;
	width:260px;
	}
.share_story h3, #search_404 h3 {
	color:#FFF !important;
	text-shadow: 0 1px 1px #800;
	}

#search_404 {
	border-radius:5px;
	-moz-border-radius:5px;
	-moz-box-shadow: inset 0 1px 0 #600;
	-webkit-box-shadow: inset 0 1px 0 #600;
	box-shadow: inset 0 1px 0 #600;
	}

.wp-caption { background-color:#eee }
.wp-caption p { padding: 0 10px 5px 10px; margin:0!important }

.wp-pagenavi a, .wp-pagenavi span {
	border: none!important;
	background: #54626b;
	color: #fff!important;
}

#post_nav_top { margin-bottom: 20px; height:30px }
/*.post_nav a {
	border-radius:5px;
	-moz-border-radius:5px;
	-moz-box-shadow: inset 0 1px 0 #444;
	-webkit-box-shadow: inset 0 1px 0 #444;
	box-shadow: inset 0 1px 0 #444;
	color:#444;
	display:block;
	float:left;
	font-size:12px;
	padding:4px 10px;
	text-shadow: 0 1px 0 #FFF;
	}
.post_nav_next a {
	-webkit-border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	}
.post_nav_prev a {
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	}*/

#posts ol, #posts ul {
	padding: 0 20px
	}
#posts li {
	background: url(http://shelter-england-images.s3.amazonaws.com/content-asset-images/grey_bullet.gif) 0px 10px no-repeat;
	line-height:25px;
	padding: 0 0 10px 20px;
	}

#lockup {
	border-top: 1px dotted #FFF;
	margin-top:25px;
	padding-top:25px;
	}

#disclaimer {
	color:#555;
	line-height:25px;
	padding-bottom:40px
	}

#copyright { font-size:12px; line-height:16px }

.cf:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .cf             { zoom: 1; } /* ie6 */
*:first-child+html .cf { zoom: 1; } /* ie7 */


.es_textbox_class 
{
	width:200px;
        border: 1px solid #ddd;
        border-radius: 0;
        height: 30px;
}
.es_textbox_button 
{
	width:100px;
        border-radius: 0;
        height: 30px;
}


.widget-container{
border: 1px solid #eee;
padding: 1em;
  background: #fdfdfd;
  box-sizing: border-box;
}

.widget-container input[type=text]{
border: 1px solid #eee;
border-radius: 0;
height: 25px;
width: 100%;
padding-left: 10px;
}


.widget-container input[type=submit]{
  height: 25px;
  border-radius: 0;
  padding: 0 20px;
 background: #ea232d;
  color: #fff;
}

.wysija-paragraph:first-of-type{
  margin-top: 10px;
}

.widget-container * {
 box-sizing: border-box;
}

.widget_wysija_cont .updated, .widget_wysija_cont .login .message{
   background-color: #FFFFFF;
  
  border: none;
}

body.home .widgets {margin-top:0;}