/*   

Theme Name: Yorkshire Housing

Theme URI: 

Description: Minimally branded theme for Yorkshire Housing.

Author: Andy Leppard

Author URI: http://andyleppard.net/

Template: thematic

Version: 1.1

modified: Khuram Zaahid

License: GNU General Public License, version 2 (GPL)

License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

*/

/* Reset browser defaults  */

@import url('../thematic/library/styles/reset.css');
@import url('../thematic/library/styles/typography.css');
@import url('../thematic/library/styles/images.css');
@import url('../thematic/library/styles/default.css');
@import url('../thematic/library/styles/plugins.css');
@font-face {

	font-family: 'icomoon';

	src:url('fonts/icomoon.eot?-54p51b');

	src:url('fonts/icomoon.eot?#iefix-54p51b') format('embedded-opentype'),

		url('fonts/icomoon.woff?-54p51b') format('woff'),

		url('fonts/icomoon.ttf?-54p51b') format('truetype'),

		url('fonts/icomoon.svg?-54p51b#icomoon') format('svg');

	font-weight: normal;

	font-style: normal;

}

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,hgroup,menu,nav,section,menu,time,mark,audio,video
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	cursor: auto;
}

article,aside,figure,footer,header,hgroup,nav,section { display: block; }
blockquote,q { quotes: none; }
blockquote:before,blockquote:after,q:before,q:after { content: none; }

a
{
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	color: inherit;
	text-decoration: inherit;
}

html { font-size: 16px; }

/* Using a new pixel ratio of 6/5 */
/* Standard 7" 1024x600 tablet (KINDLE FIRE) */

@media screen and (-webkit-device-pixel-ratio: 1) and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape),

  screen and (-webkit-device-pixel-ratio: 1) and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait),

  screen and (-o-device-pixel-ratio: 1) and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape),

  screen and (-o-device-pixel-ratio: 1) and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait),

  screen and (device-pixel-ratio: 1) and (device-width: 1024px) and (max-device-height: 600px) and (orientation: landscape),

  screen and (device-pixel-ratio: 1) and (device-width: 600px) and (max-device-height: 1024px) and (orientation: portrait)
{
	html { font-size: 19.2px; }
	
	/* 16px x (6/5) */
}

/* 1024x600 tablet with pixel ratio of 3/2 (GALAXY TAB) */
/* Because we have a solid device-pixel-ratio we can avoid the device height */

@media screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape),

  screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait),

  screen and (-o-device-pixel-ratio: 3/2) and (device-width: 683px) and (orientation: landscape),

  screen and (-o-device-pixel-ratio: 3/2) and (device-width: 400px) and (orientation: portrait),

  screen and (device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape),

  screen and (device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait),

  screen and (device-pixel-ratio: 3/2) and (device-width: 683px) and (orientation: landscape),

  screen and (device-pixel-ratio: 3/2) and (device-width: 400px) and (orientation: portrait)
{
	html { font-size: 12.8px; }
	
	/* 16px x (2/3) x (6/5) */
}

#header div.menu { display: none; }
.page span.edit-link, .post span.edit-link { display: none; }

.aside a:link, a:link
{
	color: #00b5dd;
	-webkit-transition: background, 125ms;
	/* Safari */
	transition: background, 125ms;
}

.aside a:visited, a:visited
{
	color: #81538a;
	-webkit-transition: background, 125ms;
	/* Safari */
	transition: background, 125ms;
}

.aside a:hover, a:hover
{
	color: #ff7f00;
	text-decoration: underline;
}

.aside a:active, a:active { color: #ff7f00; }

.hentry p a[href^="https://"],

.hentry p a[href^="http://"],

.hentry li a[href^="https://"],

.hentry li a[href^="http://"],

.widget_links a[href^="http://"],

.widget_rss ul a.rsswidget
{
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC") no-repeat scroll right center transparent;
	padding-right: 13px;
}

#content a[href^="#top"]
{
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAkklEQVQ4je3TMQ5BQRSF4W9QKlQSjbAClQ1pLUhLo7QFnW0oaaxA4mrevIg8kyevUbjJSSY58//FnUyKCF2m14n+CcEgH1JKTf0UfZzfi3p3EaGwyD0OTUXNFQQrRJX1t4IFHi+CwLKtYIjrGxy4YdRGcGyAc04lwRibApyzxSRz9TNihoRddfHT3DHHBdL/L3gCAYV01TCpAH4AAAAASUVORK5CYII=") no-repeat scroll left center transparent;
	padding-left: 18px;
}

.hentry p a[href^="https://"].noicon,

.hentry p a[href^="http://"].noicon,

.hentry li a[href^="https://"].noicon,

.hentry li a[href^="http://"].noicon,

.widget_links a[href^="http://"].noicon,

.widget_rss ul a.rsswidget.noicon,

.hentry p a[href*="yorkshirehousing."],

.hentry li a[href*="yorkshirehousing."],

.hentry .wp-caption a
{
	background-image: none;
	padding-right: 0px;
}

/* Search Filter */
.searchfilter ul
{
	margin: 0 10px;
	padding: 0;
}

/* Post list Navigation */
.entry-title a:active, .entry-title a:hover
{
	text-decoration: none;
	color: #ff4a22;
}

.search #nav-above
{
	display: block;
	padding: 0;
	margin: 0;
}

.single #nav-above,

.single #nav-below { display: none; }

.nav-previous, .nav-next
{
	width: 25%;
	margin: 0 5px;
}

.nav-previous a:link,

.nav-previous a:visited,

.nav-next a:visited,

.nav-next a:link
{
	display: block;
	font-weight: bold;
	padding: 5px 10px;
	background: #bebfc0;
	color: #000;
	text-align: center;
}

.nav-previous a:hover,

.nav-next a:hover
{
	background: #686b6d;
	text-decoration: none;
	color: #fff;
}

/* Breadcrumb

-------------------------------------------------------------- */

#breadcrumb { padding: 5px 10px; }
body.home #breadcrumb, body.page-id-35 #breadcrumb { display: none; }

/* Searchform

-------------------------------------------------------------- */

#primary .widget_search h3,

#searchform label { display: none; }

#primary #searchform
{
	padding: 0;
	margin: 9px 0 0 0;
}

#searchform input.field,

#searchform input#s
{
	border: 1px solid #686b6d;
	padding: 3px 6px;
	font-size: 14px;
	background-color: #fff;
}

#primary #searchform input.field,

#primary #searchform input#s { width: 55%; }
#page-bottom #searchform input.field,

#page-bottom #searchform input#s { width: 70%; }

#searchform input:focus
{
	background-color: #e5f7fc;
	border-color: #00b5dd;
	color: #000;
}

/* Search submit Button Styles */
#searchform #searchsubmit
{
	background: #00b5dd;
	color: #fff;
	padding: 7px 20px;
	font-size: 18px;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	-moz-border-radius: 9px;
	border-radius: 9px;
	border: 0;
}

#searchform #searchsubmit:hover
{
	background: #ff7f00;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	text-shadow: 1px 1px 1px #cc0000;
}

#header #searchform {
	float:right;
	clear:right;
	height:50px;
	margin-top:3px;
}

#header #searchform #searchsubmit {
	padding:0 7px;
	height:33px;
	-moz-border-radius:0;
	border-radius: 0;
	-webkit-border-top-right-radius: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-topright: 9px;
	-moz-border-radius-bottomright: 9px;
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
	margin-left:-0.5em;
	margin-right:5px;
	font-size:16px;
}
#header #searchform #s
{
	margin-right:0;
	background-color: #e5f7fc;
	border-color: #00b5dd;	
	-webkit-border-top-left-radius: 9px;
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	-moz-border-radius-bottomleft: 9px;
	border-top-left-radius: 9px;
	border-bottom-left-radius: 9px;
}
#header #searchform #s:focus
{
	background-color: #fff;
	border-color: #00b5dd;
	color: #000;
	
}
#header #searchform #searchsubmit:hover
{
	border-color: #00b5dd !important;
}

/* Top and Footer Menus 

-------------------------------------------------------------- */

.menu li { list-style: none; }

/* Top Menu */
#strapline
{
	height:50px;
	float:left;
	clear:left;
}

a#logolink:link, a#logolink:visited
{
	position: relative;
	outline: none;
	font-size: 22px;
	letter-spacing: -0.05em;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #002554;
	line-height: 32px;
	left: 46px;
	top: 5px;
	-webkit-transition: color 125ms linear;
	-moz-transition: color 125ms linear;
	-o-transition: color 125ms linear;
	-ms-transition: color 125ms linear;
	transition: color 125ms linear;
}

a#logolink:hover, a#logolink:active { color: #686b6d; }

a#logolink:before
{
	position: absolute;
	opacity: 1;
	font-size: 32px;
	line-height: 32px;
	top: -3px;
	left: -46px;
	color: #00b5dd;
	-webkit-transition: color 125ms linear;
	-moz-transition: color 125ms linear;
	-o-transition: color 125ms linear;
	-ms-transition: color 125ms linear;
	transition: color 125ms linear;
}

a#logolink:hover:before, a#logolink:active:before { color: #0088a6; }


.menu-top-container
{
	width: 100%;
	float: left;
	clear: both;
	margin: 9px 0;
	background: #fff;
	height: 42px;
}

#menu-top
{
	float: right;
	margin: 0;
	padding: 0;
}

#menu-top li { float: left; }

#menu-top li a:link, 

#menu-top li a:visited
{
	line-height: 42px;
	color: #000;
	background: #fff;
	display: block;
	text-decoration: none;
	padding: 0 8px;
	margin-left: 5px;
}

#menu-top li.current_page_item a:link, 

#menu-top li.current_page_item a:visited, 

#menu-top li.current-page-parent a:link, 

#menu-top li.current-page-parent a:visited, 

#menu-top li.current-page-ancestor a:link,

#menu-top li.current-page-ancestor a:visited
{
	color: #fff;
	background: #00b5dd;
	text-decoration: none;
}

#menu-top li a:hover, 

#menu-top li a:active,

#menu-top li.current_page_item a:hover, 

#menu-top li.current_page_item a:active, 

#menu-top li.current-page-parent a:hover, 

#menu-top li.current-page-parent a:active, 

#menu-top li.current-page-ancestor a:hover,

#menu-top li.current-page-ancestor a:active
{
	color: #000;
	background-color: #bebfc0;
	text-decoration: none;
}

/* Social Media Menu Links */
div.menu-social-profiles-container
{
	float: right;
	padding-top: 15px;
}

#menu-social-profiles { margin: 0 10px 0 0; }

#menu-social-profiles li,

#menu-social-profiles li:before, 

#menu-social-profiles a
{
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	display: block;
}

#menu-social-profiles li
{
	float: left;
	margin: 0 10px;
	position: relative;
}

#menu-social-profiles li:before
{
	position: absolute;
	text-align: center;
	font-size: 1.5em;
	color: #bebfc0;
	/* light */
	line-height: 40px;
	-webkit-transition: background, 125ms;
	/* Safari */
	transition: background, 125ms;
}

#menu-social-profiles li:hover:before
{
	color: #fff;
	background-color: #686b6d;
	/* dark */
}

#menu-social-profiles a
{
	position: absolute;
	text-decoration: none;
	overflow: hidden;
	text-indent: -1000px;
	background-color: transparent;
}

#menu-social-profiles li#menu-item-9106:hover:before
{
	/* facebook */
	background-color: #3b5998;
}

#menu-social-profiles li#menu-item-9105:hover:before
{
	/* twitter */
	background-color: #4099ff;
}

#menu-social-profiles li#menu-item-9110:hover:before
{
	/* google+ */
	background-color: #dd4b39;
}

#menu-social-profiles li#menu-item-9109:hover:before
{
	/* youtube */
	background-color: #cd201f;
}

#menu-social-profiles li#menu-item-9107:hover:before
{
	/* flickr */
	background-color: #fc329b;
}

div.menu-top-container { margin-top: 0; }

/* Asides

-------------------------------------------------------------- */

ul.xoxo
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.aside .flexipages_widget,

.aside .widget_nav_menu { margin: 1em 0; }

.main-aside .widgettitle,

#page-top.aside .widgettitle
{
	letter-spacing: -0.025em;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	color: #000;
	clear: left;
	padding: 0 5px;
	list-style-type: none !important;
}

.yh-menu,

.yh-menu ul,

.main-aside .yh-menu ul,

.aside .flexipages_widget ul,

.aside .widget_nav_menu ul,

.yh-menu ul li,

.aside .flexipages_widget ul li,

.aside .widget_nav_menu ul li
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.yh-menu .menu-item a:link,

.yh-menu .menu-item a:visited,

.aside .flexipages_widget .page_item a,

.aside .widget_nav_menu .menu-item a
{
	display: block;
	padding: 7px 10px;
	background-color: #bebfc0;
	text-decoration: none;
	color: #000;
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size: 115%;
	margin-bottom: 5px;
}

.yh-menu .menu-item a:hover,

.yh-menu .menu-item a:active,

.aside .flexipages_widget .page_item a:hover,

.aside .flexipages_widget .page_item a:active,

.aside .widget_nav_menu .menu-item a:hover,

.aside .widget_nav_menu .menu-item a:active
{
	color: #fff;
	background: #686b6d;
}

.aside .flexipages_widget .current_page_ancestor>a,

.aside .flexipages_widget .current_page_parent>a,

.aside .widget_nav_menu .current_page_ancestor>a,

.aside .widget_nav_menu .current_page_parent>a
{
	background: #002554;
	color: #fff;
}

/* Only current page descendents, or siblings of level 2 or lower have a dark border */
.aside .flexipages_widget .current_page_ancestor .current_page_parent .page_item a,

.aside .flexipages_widget .current_page_parent .page_item .page_item a { border-left: 10px solid #002554; }

/* The current page is highlighted in this colour by default (overridden by page custom colours) */
.aside .flexipages_widget .current_page_item>a,

.aside .widget_nav_menu .current-menu-item>a,

.aside .widget_nav_menu .current-post-ancestor>a,

.aside .widget_nav_menu .current-post-parent>a
{
	background: #00b5dd;
	color: #fff;
}

#page-top
{
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
}

/* In-page navigation lists */
#primary .widget_nav_menu
{
	width: 100%;
	margin: 0 0 24px 0;
}

.page-template-template-sub_home_page-php #page-top .widget_nav_menu
{
	/* About us page */
	margin: 0 0 0 10px;
	width: 316px;
	float: right;
}

#primary .menu-local-neighbourhoods-container,

#primary .menu-neighbourhood-links-container
{
	position: relative;
	z-index: 100;
}

#primary .widget_nav_menu .widgettitle
{
	margin-left: 10px;
	margin-bottom: 10px;
}

#page-bottom
{
	position: relative;
	clear: both;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	line-height: 1.8em;
}

#page-bottom .widget_links
{
	/* Links Widget */
	width: 310px;
	float: left;
	clear: right;
	margin: 0 0 16px 0;
	font-size: 16px;
}

#page-bottom .widget_links ul { margin: 0 0 18px 2.5em; }
#page-bottom .widget_links li { margin: 5px 0; }

/* 

	Do it online custom menu widget 

*/

#nav_menu-19 /* #page-bottom instance */
{
	width: 100%;
	font-size: 125%;
}

#nav_menu-20 /* #page-top instance */ { }

.aside .widget_nav_menu .menu-do-it-online-2-container .menu-item a,

.aside .widget_nav_menu .menu-do-it-online-3-container .menu-item a
{
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	line-height: 190%;
	background-position: right;
	background-repeat: no-repeat;
	display: inline-flex;
	width: 90%;
	margin-bottom: 5px;
	background-origin: border-box;
	background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzEwIDYwMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzEwIDYwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjMxMCw2MDAgMCw2MDAgMzAwLDMwMCAwLDAgMzEwLDAgIi8+DQo8L3N2Zz4=');
}

/* Using @font-face provided by icomoon.io (see top) */
.icon-Card a:before,

.icon-Home a:before,

.icon-Tools a:before,

.icon-Talk a:before,

.icon-Date a:before,

.icon-Calculator a:before,

.icon-Date a:before,

.icon-Receipt a:before, 

.icon-Scan a:before,

.icon-Exit a:before,

.icon-myhome a:before,

.icon-Form a:before,

.icon-FoodWorks a:before,

h2.foodworks:after,

.icon-LifeWorks a:before,

h2.lifeworks:after,

.icon-YH a:before
{
	font-family: 'icomoon';
	speak: none;
	font-size: 1.5em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 125%;
	width: 1.5em;
	display: inline-block;
	text-align: center;
	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	opacity: 0.5;
	-moz-opacity: 0.5;
}

.icon-YH a:before { content: "\e600"; }
.icon-FoodWorks a:before { content: "\e601"; }
.icon-LifeWorks a:before { content: "\e608"; }
.icon-Tools a:before { content: "\e602"; }
.icon-Scan a:before { content: "\e603"; }
.icon-Receipt a:before { content: "\e60b"; }
.icon-myhome a:before { content: "\e604"; }
.icon-Home a:before { content: "\e605"; }
.icon-Exit a:before { content: "\e60c"; }
.icon-Card a:before { content: "\e606"; }
.icon-Talk a:before { content: "\e607"; }
.icon-Date a:before { content: "\e60d"; }
.icon-Calculator a:before { content: "\e609"; }
.icon-Form a:before { content: "\e60a"; }

/* Logos */
.entry-content h2.foodworks,

.entry-content h2.lifeworks,

.entry-content h2.foodworks b,

.entry-content h2.lifeworks b
{
	font-size: 22px;
	letter-spacing: -0.05em;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-style: normal;
	text-transform: uppercase;
	color: #686b6d;
}

.entry-content h2.foodworks b,

.entry-content h2.foodworks:after { color: #eb008b; }
.entry-content h2.lifeworks b,

.entry-content h2.lifeworks:after { color: #f7911e; }
.entry-content h2.foodworks:after { content: "\e601"; }
.entry-content h2.lifeworks:after { content: "\e608"; }

.entry-content h2.foodworks:after,

.entry-content h2.lifeworks:after
{
	font-size: 1.25em;
	vertical-align: -10%;
	opacity: 1;
	-moz-opacity: 1;
	width: 1.25em;
	line-height: inherit;
}

/* Button Styles */
.aside a:link.button,

.aside a:visited.button,

.hentry a:link.button,

.hentry a:visited.button,

.gform_wrapper input.button,

a.dt-button span
{
	background: #00b5dd;
	color: #fff;
	padding: 7px 20px;
	font-size: 18px;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	-moz-border-radius: 9px;
	border-radius: 9px;
	border: 0;
	-webkit-transition: background, 250ms;
	/* Safari */
	transition: background, 250ms;
}

.aside a:hover.button,

.aside a:active.button,

.hentry a:hover.button,

.hentry a:active.button,

.gform_wrapper input:hover.button,

a:hover.dt-button span,

a:active.dt-button span
{
	background: #ff7f00;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	text-shadow: 1px 1px 1px #cc0000;
}

/* WP Page Navi */
.wp-pagenavi
{
	margin: 0;
	padding: 10px 0;
	text-align: right;
}

.wp-pagenavi a, 

.wp-pagenavi a:link, 

.wp-pagenavi a:visited,

.wp-pagenavi span
{
	border: 0 !important;
	color: #000 !important;
	background-color: #bebfc0 !important;
	font-style: normal;
	font-weight: bold;
	margin: 0 5px !important;
	padding: 5px 10px !important;
	border-radius: 15px;
}

.wp-pagenavi a:hover,

.wp-pagenavi a:active
{
	border: 0 !important;
	color: #fff !important;
	background: #686b6d !important;
	text-decoration: none;
}

.wp-pagenavi span.pages
{
	border: none !important;
	color: #686b6d !important;
	margin: 0 5px !important;
	padding: 3px 6px !important;
	background: none !important;
}

.wp-pagenavi a:link.previouspostslink,

.wp-pagenavi a:link.nextpostslink,

.wp-pagenavi a:visited.previouspostslink,

.wp-pagenavi a:visited.nextpostslink
{
	color: #000 !important;
	font-weight: normal !important;
}

.wp-pagenavi a:hover.previouspostslink,

.wp-pagenavi a:hover.nextpostslink,

.wp-pagenavi a:active.previouspostslink,

.wp-pagenavi a:active.nextpostslink { color: #fff !important; }

.wp-pagenavi span.current
{
	border: 0 !important;
	color: #fff !important;
	background-color: #00b5dd !important;
	margin: 0 5px !important;
	padding: 5px 10px !important;
	font-weight: bold !important;
}

.wp-pagenavi span.extend
{
	background-color: #FFFFFF !important;
	border: 0 !important;
	color: #000 !important;
}

/* =Overrides!

-------------------------------------------------------------- */

body, input, textarea { font: 15px/1.8em "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif; }

h1,h2,h3,h4,h5,h6,

.entry-content h1,

.entry-content h2,

.entry-content h3,

.entry-content h4,

.entry-content h5,

.entry-content h6,

strong, b
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.53;
	font-weight: bold;
	font-style: normal;
	clear: both;
}

.entry-content ul { padding-left: 1.5em; }
.entry-content .yh-menu ul { padding-left: 0; }
#query-posts-57 { margin-bottom: 2em; }

#query-posts-57 h4.entry-title
{
	font-size: 125%;
	padding-top: 1em;
}

#query-posts-57 .hentry { padding-bottom: 0; }

p, ul, ol, dd, pre, .aside p, .aside ul, .aside ol, .aside dd, .aside pre
{
	line-height: 1.8em;
	margin-bottom: 0.9em;
}

.aside p { padding-left: 10px; }

#wrapper:after
{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

#wrapper
{
	border: 0;
	color: #111111;
	margin: 1em auto 64px;
	padding: 0;
	width: 960px;
	text-align: left;
	background: #FFFFFF;
	display: inline-block;
	height: 100%;
}

html[xmlns] #wrapper { display: block; }
* html #wrapper { height: 1%; }

/* HEADER CONTENT */
#header, #main, #footer
{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

#header
{
	position: relative;
	z-index: 50;
}

#main
{
	position: relative;
	z-index: 10;
}

#container
{
	float: left;
	margin-top: 0;
}

.page-template-default #container,

.single-post #container, 

.single-case-study #container, 

.single-guide #container, 

.single-service #container, 

.single-scheme #container { width: 630px; }
.search-results #container,

.page-template-template-page-fullwidth-php #container { width: 100%; }

#content>div.type-page, 

#content>div.type-post,

#content>div.type-case-study,

#content>div.type-guide,

#content>div.type-scheme,

#content>div.type-service
{
	margin: 0 10px;
	clear: left;
}

#primary, #secondary
{
	width: 316px;
	border: 0;
	padding: 1px 0 0 0;
	margin: 0 0 0 10px;
	float: right;
}

/* HTC Sensation Smartphone (portrait) ----------- */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-device-width:540px) and (orientation : portrait)
{
	.page-template-default #container,
	
		
	
				.single-post #container, 
	
		
	
				.single-scheme #container, 
	
		
	
				.single-service #container, 
	
		
	
				.single-case-study #container, 
	
		
	
				#primary, 
	
		
	
				#secondary
	{
		float: left !important;
		width: 100% !important;
		margin: 10px !important;
		padding: 0 !important;
	}
}

/*hiding page titles */
.page-id-1005 h1.entry-title { display: none; }

/* Footer! */
#footer
{
	border-top: 0;
	float: left;
	clear: both;
	display: inline-block;
	height: 100%;
	margin-top: 0;
}

/* Footer Asides */
#subsidiary
{
	float: left;
	width: 100%;
	padding-top: 0px;
}

#subsidiary .aside
{
	float: left;
	margin: 0 00px;
}

#subsidiary .aside .widgetcontainer { float: left; }

#subsidiary #first
{
	background-color: #fff;
	width: 100%;
	top: 0px;
	clear: both;
}

#subsidiary #second { border-top: 3px solid #002554; }

#subsidiary #second .widgetcontainer
{
	float: right;
	margin: 12px;
}

#subsidiary #second .widget_nav_menu
{
	clear: right;
	margin-right: 0;
	width: 316px;
}
#subsidiary #second .menu-footer_web-container li {
	margin-left:20px;
}
#subsidiary #second .menu-footer_web-container a:link,
#subsidiary #second .menu-footer_web-container a:visited
{
	width:auto;
	display:inline;
  	padding: 0;
	background: none;
	text-decoration: none;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana, sans-serif;
	font-size: 100%;
	margin:0;
	color: rgb(102, 102, 102);
}
#subsidiary #second .menu-footer_web-container a:hover,
#subsidiary #second .menu-footer_web-container a:active
{
	text-decoration: underline;
	color: rgb(0, 0, 0);
}

#subsidiary #second .widget_text,

#subsidiary #second #gform_widget-2
{
	margin-left: 0;
	padding-top: 4px;
	width: 620px;
	float: left;
}

/* Footer Feedback Form */
#subsidiary #second #gform_widget-2 { padding: 0; }

#gform_wrapper_12
{
	padding: 0;
	margin: 0 0 0 10px;
}

#gform_wrapper_12 { margin-bottom: 0; }

#gform_wrapper_12 .gform_body
{
	width: 350px;
	margin: 0;
	float: left;
}

#gform_wrapper_12 .gfield_label
{
	margin: 0 !important;
	padding: 0;
	float: left;
	width: 200px;
	font-weight: normal;
}

#gform_wrapper_12 #field_12_7 .gfield_label { width: 300px; }

#gform_wrapper_12 ul.gfield_radio li
{
	width: 60px;
	float: left;
}

#gform_wrapper_12 ul.gfield_radio li input { margin-top: 2px !important; }
#gform_wrapper_12 #field_12_8 { padding: 0; }

#gform_wrapper_12 .gform_footer
{
	float: left;
	clear: none;
	margin: 0 0 0 20px;
	padding: 0;
}

#gform_submit_button_12 { margin-top: 62px; }

#gform_widget-2 #gforms_confirmation_message
{
	padding: 10px;
	margin: 0;
	background-color: #e5efc2;
	border: 1px solid #97be0d;
	text-align: center;
	font-weight: bold;
}

/*

    Content Asides

*/

.aside input
{
	font-size: 16px;
	line-height: 18px;
}

#content .aside
{
	border: 0;
	margin: 0;
	padding: 0;
}

#content .aside ul { padding: 0; }

#vacancies.aside h3,

#content .aside h3
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	line-height: 1.2em;
	font-size: 18px;
	font-style: normal;
	color: #111;
}

#content .aside ul ul { padding: 0; }

/* ENTRY META */
.meta-prep-author,

.author,

.meta-sep-entry-date,

.edit-link,

body.single-service .entry-utility,

body.single-scheme .entry-utility { display: none; }
.entry-utility { margin: 0 0 18px; }
.entry-content { padding: 0; }

/* Featured Content */
.featured
{
	z-index: 10000;
	margin-bottom: 10px;
}

#featured-content
{
	margin: 0;
	width: auto;
}

/* Featured Posts */
#featured-posts
{
	width: 310px;
	height: 210px;
	overflow: hidden;
	background: #00b5dd;
	z-index: 10;
	float: right;
	margin: 10px 20px;
}

.featured-post
{
	border-right: 5px solid #00b5dd;
	height: 200px;
	width: 300px;
	padding: 5px;
}

.featured-post a
{
	display: block;
	height: 200px;
	width: 300px;
	position: relative;
	z-index: 10;
}

.featured-post h2 a:link span,

.featured-post h2 a:visited span
{
	display: block;
	position: absolute;
	bottom: 0px;
	padding: 5px 10px;
	background-color: #002554;
	color: #fff;
	width: 280px;
	font-size: 16px;
	border-top: #fff 1px solid;
}

.featured-post h2 a:hover span,

.featured-post h2 a:hover span
{
	background-color: #00B5DD;
	color: #fff;
}

#featured-post-nav
{
	postion: absolute;
	right: 0;
	text-align: center;
	z-index: 1111;
	width: 300px;
	margin: 0 20px;
	padding: 5px 0 15px 0;
}

#featured-post-nav a:link
{
	font-weight: bold;
	background: #bebfc0;
	margin: 0 2px !important;
	padding: 4px 8px !important;
	border-radius: 15px;
	color: #000;
}

#featured-post-nav a:hover
{
	background: #686b6d;
	text-decoration: none;
	color: #fff;
}

#featured-post-nav a.activeSlide
{
	background: #00B5DD;
	color: #fff;
}

/* Featured Image */
#featured-image
{
	width: 100%;
	margin: 0;
}

#featured-image img
{
	width: 100%;
	margin: 0;
	height: auto;
}

#featured-image .thumb-caption
{
	font-size: 16px;
	display: block;
	background: #686b6d;
	width: auto;
	padding: 10px;
	line-height: 1.4em;
	border-top: 0;
	color: #fff;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
}

/* Pull Quote Styles */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { clear: none; }

#pull-quote
{
	float: right;
	width: 316px;
	background: #00b5dd url("images/point-down.png") center bottom no-repeat;
	padding: 10px 0 30px 0;
	clear: none;
	text-shadow: #0088a6 0.1em 0.1em 0.2em;
}

#pull-quote p, #pull-quote blockquote
{
	color: #fff;
	margin: 0 1em 1em 0.25em;
	padding: 18px 0 0 50px;
	border: 0;
}

#pull-quote blockquote
{
	font-family: "FS Clerkenwell Web Light", Georgia, serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
	font-size: 150%;
	line-height: 1.2em;
	background: url("images/Quote-48x48.png") top left no-repeat;
}

#pull-quote p
{
	padding-top: 0;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	line-height: 1.4em;
}

#pull-quote span.quote:after
{
	content: '"';
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	line-height: 1.4em;
}

/* Entry Content Styles */
hr { margin: 42px 0 28px 0; }

.entry-title
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	line-height: 1.2em;
	padding: 0.4em 0;
}

h1.entry-title
{
	font-size: 22px;
	letter-spacing: -0.05em;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
}

.page-template-template-level2-php h1.entry-title { display: none; }

/*#post-28 .entry-title

{

	background: no-repeat 0px 9px url('images/myhome-39x39.png');

	padding-left: 42px;

}

*/

#page-bottom > *,

.entry-content > *,

.aside > *
{
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
}

.entry-content > * strong,

.aside strong,

.aside b,

.entry-content > * b,

.entry-content th,

.entry-content > h1,

.entry-content > h2,

.entry-content > h3,

.entry-content > h4,

.entry-content > h5,

.entry-content > h6,

.entry-content > p:first-child,	

.gform_description > p:first-child,

.gform_confirmation_message > p:first-child
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
}

.entry-content th,

.entry-content > p:first-child,

.gform_description > p:first-child,

.gform_confirmation_message > p:first-child { font-size: 125%; }

/* responsive columns http://www.responsivegridsystem.com/ */
.column
{
	display: block;
	float: left;
	margin: 10px 0 10px 6px;
}

.column h3,

.column p
{
	margin-left: 10px;
	margin-right: 10px;
}

.column p img { margin-left: -10px; }
.column:first-child { margin-left: 0; }
.span_3_of_3,
.span_2_of_2,
.span_1_of_1 { width: 100%; }
.span_2_of_3 { width: 630px; }
.span_1_of_2 { width: 460px; }
.span_1_of_3 { width: 316px; }

.columngroup:before,

.columngroup:after
{
	content: "";
	display: table;
}

.columngroup:after { clear: both; }

.columngroup
{
	clear: both;
	padding: 0px;
	margin: 0px -10px;
	zoom: 1;
	/* For IE 6/7 */
}

/* HTC Sensation Smartphone (portrait) ----------- */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-device-width:540px) and (orientation : portrait)
{
	.columngroup { margin: 0px; }
	.column { margin: 10px; }
	.span_2_of_3,
	.span_1_of_2,
	.span_1_of_3 { width: 100%; }
}

.entry-content h3
{
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
}

.entry-content h1, 

.entry-content h2 { font-size: 22px; }

.entry-content h4
{
	font-size: 16px;
	text-transform: none;
	letter-spacing: 0;
	padding-bottom: 1em;
}

blockquote, blockquote p
{
	font-family: "FS Clerkenwell Web Light", Georgia, serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
	font-size: 110%;
	color: #000;
}

blockquote
{
	margin: 1em 1em 1em 0;
	border-left: 2px solid #bebfc0;
	padding: 0 0 0 1em;
}

blockquote em, blockquote i, blockquote cite { font-style: italic; }

div.note, p.note, div.alert, blockquote.eg, blockquote.tip
{
	background-color: #ffff7b;
	padding: .5em 1em;
	margin: 1em 0 1em -1em;
	border:0;
}
blockquote.eg .dashicons, blockquote.eg .dashicons-before:before {
    color: #000;
}

div.alert
{
	background-position: 5px 5px;
	background-repeat: no-repeat;
	background-image: url('images/Alert-48x48.png');
	padding: 5px 20px 5px 60px;
}

div.alert h1,

div.alert h2,

div.alert h3
{
	margin: 0.75em 0 1em 0;
	padding: 0;
}

/* Press contact details box for press releases */
#press-contact-details
{
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	padding: 1em;
	border: 1px solid #bebfc0;
	margin: 10px 0;
}

/* Index Lists */
.post-type-label
{
	display: inline-block;
	color: #686b6d;
	margin-top: 0.5em;
}

.dashicons, .dashicons-before:before {
    line-height: inherit !important; 
    color: #bebfc0;
}
.archive .hentry,

.blog .hentry,

.search .hentry
{
	border-top: #e1e1e1 2px solid;
	padding: 0;
}

.archive .wp-post-image,

.blog .wp-post-image,

.search .wp-post-image
{
	margin: 0 1em 1em 0;
	float: left;
	clear: left;
	border: #e1e1e1 1px solid;
	border-top: 0;
}

.meta-prep-entry-date { display: none; }

.archive .entry-content > p:first-child, 

.search .entry-content > p:first-child, 

.blog .entry-content > p:first-child
{
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
}

.archive h1.entry-title,

.search h1.entry-title,

.blog h1.entry-title,

.archive-meta { margin: 0 10px; }

h1.entry-title span
{
	font-weight: normal;
	color: #686b6d;
	font-size: 70%;
	text-transform: uppercase;
	letter-spacing: 0;
}

.page-title
{
	font-size: 18px;
	line-height: 24px;
	color: #686b6d;
	padding-bottom: 1em;
}

.page-title span
{
	font-style: normal;
	color: #000;
}

h2.entry-title
{
	font-size: 18px;
	clear: none;
}

.hentry:after
{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}


.entry-content .accordion
{
	cursor: pointer;
	padding: 5px;
	margin: 5px 0 5px -25px;
}

.entry-content .accordion:hover { background-color: #eee; }

/*

	Gravity Forms overides

*/

p.data-disclaimer
{
	clear: both;
	padding: 0;
}

p.data-disclaimer a { text-decoration: none; }
#footer p.data-disclaimer { display: none; }

#page-bottom .gform_widget,

#single-bottom .gform_widget
{
	margin: 0 10px;
	color: #000;
}

.page-id-19 #gform_widget-8
{
	float: left;
	width: 620px;
}

#page-bottom .gform_widget h3.widgettitle,

#single-bottom .gform_widget h3.widgettitle
{
	font-size: 22px;
	margin-top: 2em;
}

.gform_confirmation_wrapper
{
	background-color: #ffff7b;
	clear: both;
	MARGIN-BOTTOM: 2em;
}

.gform_confirmation_message
{
	padding: 1em;
	color: #000;
}

.gform_wrapper .top_label .gfield_label
{
	font-weight: normal !important;
	line-height: 1.8em !important;
	margin: 1em 0 0 !important;
}


.gform_wrapper ul.gfield_radio li input[type="radio"]:checked+label, 

.gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked+label
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
}

.gform_wrapper hr
{
	height: 1px;
	margin: 16px 0;
}

.gform_wrapper span.gform_description ul
{
	list-style: disc;
	padding-left: 1.5em;
	margin-bottom: 1em !important;
}

.gform_wrapper span.gform_description li
{
	list-style: disc !important;
	margin-left: 1.5em;
}

.gform_wrapper .gsection
{
	border: 0 !important;
	padding: 0 !important;
}

body .gform_wrapper h2.gsection_title
{
	margin-top: 3em !important;
	padding-bottom: 0.5em !important;
	border-bottom: 1px solid #00b5dd !important;
}

.gform_wrapper h3.gform_title { margin-top: 0; }

.gform_wrapper table.gfield_list thead th
{
	font-weight: normal !important;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana, sans-serif !important;
}

.gform_wrapper table.gfield_list select { width: 98%; }

.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"], .gform_wrapper textarea
{
	font-size: 14px !important;
	padding: 2px !important;
	border: 1px solid #686b6d !important;
	text-indent: 0.5em;
	background-color: #ffffe0;
}

.gform_wrapper input[type="text"]:focus, .gform_wrapper input[type="url"]:focus, .gform_wrapper input[type="email"]:focus, .gform_wrapper input[type="tel"]:focus, .gform_wrapper input[type="number"]:focus, .gform_wrapper input[type="password"]:focus, .gform_wrapper textarea:focus { background-color: #ffff7b; }
.gform_wrapper .gform_page_footer { clear: both; }
.gform_wrapper .ui-datepicker-trigger { margin: 0; }

/* Notice to quit form */
.gform_wrapper input#input_37_44:focus,

.gform_wrapper input#input_37_27:focus,

.gform_wrapper input#input_37_37:focus,

.gform_wrapper input#input_37_42:focus,

.gform_wrapper input#input_37_43:focus { background-color: inherit; }
.gform_wrapper #input_37_44 button.ui-datepicker-trigger,

.gform_wrapper #input_37_27 button.ui-datepicker-trigger,

.gform_wrapper #input_37_37 button.ui-datepicker-trigger,

.gform_wrapper #input_37_42 button.ui-datepicker-trigger,

.gform_wrapper #input_37_43 button.ui-datepicker-trigger,

.page-id-9271 .gform_wrapper #input_37_6 .gchoice_6_0,

.page-id-9271 .gform_wrapper #input_37_6 .gchoice_6_1,

.page-id-8388 .gform_wrapper #input_37_6 .gchoice_6_2 { display: none; }

.gform_wrapper #input_37_44,

.gform_wrapper #input_37_27,

.gform_wrapper #input_37_37,

.gform_wrapper #input_37_42,

.gform_wrapper #input_37_43
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
}

.gform_wrapper #input_37_27, .gform_wrapper #input_37_37 { color: #9e280e !important; }
li#field_37_50 { display: none !important; }

/* hide staff option on public form */
.page-id-8388 .gform_wrapper  li.gchoice_37_6_2 { display: none; }

/* hide public options on staff form */
.page-id-9271 .gform_wrapper  li.gchoice_37_6_0, 

.page-id-9271 .gform_wrapper  li.gchoice_37_6_1 { display: none; }

/* Subscribe to this form(s) */
#gform_widget-4 h3.widgettitle { display: none; }

#gform_wrapper_38 .gform_body, 

#gform_wrapper_38 .gform_footer
{
	width: 50%;
	margin: 0;
	padding: 0;
	float: left;
	clear: none;
}

#gform_wrapper_36
{
	float: left;
	clear: both;
	width: 100%;
}

#gform_wrapper_36 .gform_body
{
	width: 70%;
	float: left;
	clear: left;
}

#gform_wrapper_36 .gform_footer
{
	width: 30%;
	float: left;
	clear: right;
	display: table-cell;
	vertical-align: middle;
}

#gform_wrapper_36 .gform_body .top_label input.medium,

#gform_wrapper_38 .gform_body .top_label input.medium { width: 90%; }

/* Equal opportunities form */
#field_4_8
{
	border-bottom: 0 !important;
	padding-bottom: 0;
	margin-bottom: 0;
	border-top: 1px solid #f9f9f9 !important;
	padding-top: 16px;
}

.gform_wrapper li.displayfield input[type="text"]
{
	border: 0 !important;
	background: #fff !important;
	font-size: 24px !important;
}

/* Care and Support Enquiry form */
#gform_wrapper_66 .gfield_html p
{
	padding-left: 0;
	font-size: 15px;
}

#gform_wrapper_66 .gform_footer { display: none; }

#input_32_101, #field_32_101_dmessage { /*margin to correct placement of address part of benfit form (Form ID 32)*/
    margin-left: 20px;
    margin-top: 20px;
}

/* End Gravity forms stuff */
ul.two-column
{
	padding: 0;
	margin: 0;
	clear: both;
	display: inline-block;
}

ul.two-column li
{
	float: left;
	width: 40%;
	margin: 0 5%;
}

ul.two-column:after
{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] ul.two-column { display: block; }
* html ul.two-column { height: 1%; }

/* Images and CAPTIONS */
.entry-content img
{
	max-width: 100% !important;
	height: auto !important;
	width: auto;
	/* Prevent stretching of full-size images with height and width attributes in IE8 */
}

.entry-content img.size-full
{
	max-height: 100% !important;
	width: auto;
	/* Prevent stretching of full-size images with height and width attributes in IE8 */
}

.entry-content table img
{
	vertical-align: top;
	max-width: 600px;
}

div.wp-caption
{
	background-color: #bebfc0;
	padding: 0;
	border: 0;
}

/* Match right-aligned images to the featured content */
.alignright, img.alignright { margin: 0 0 32px 32px; }

.fancy, img.fancy
{
	border: 1px solid #686b6d;
	padding: 5px;
	background: #bebfc0;
	border-radius: 5px;
}

div.wp-caption
{
	background-image: url("images/point-down.png");
	background-repeat: no-repeat;
	background-position: bottom center;
	padding-bottom: 24px;
	clear: right;
}

div.wp-caption img { border: 0; }

.wp-caption p.wp-caption-text, 

.gallery-caption
{
	color: #000;
	font-size: 14px;
	line-height: 18px;
	text-align: left;
	padding: 10px;
	font-family: Arial, Helvetica, sans-serif;
}

/* General datatables.jquery plugin styles */
.dataTables_wrapper
{
	padding-bottom: 1px;
	margin-bottom: 20px;
}

.dataTables_filter { padding: 5px 20px; }
.dataTables_filter { padding: 5px 20px; }

.dt-buttons
{
	float: right;
	margin-top: 10px;
}

.dt-button { margin: 0 5px; }

/* Staff lookup tables using datatables.jquery plugin */
#contacts
{
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
	background: #f2f2f2 url('images/gingham_body.png') repeat-x 0 -8px;
	margin: 12px 0 32px 0;
	padding-top: 40px;
	width: 620px;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana , sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
	clear: both;
}

#contacts h2
{
	font-size: 18px;
	margin: 10px 20px;
}

#contacts p { margin: 10px 20px; }

#usertable b, #usertable strong, #contacts b, #contacts strong
{
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
}

#usertable,

#staff
{
	border: 0;
	margin: 10px;
	width: 600px;
}

#usertable thead, 

#usertable .postcodes, 

#staff thead, 

#staff .postcodes, 

#staff .role { display: none; }
#usertable tr, #staff tr { border: 0; }

#usertable td,

#staff td
{
	padding: 10px;
	padding-bottom: 1px;
	border: 0;
	vertical-align: middle;
	font-size: 14px;
}

#usertable td.avatar,

#staff td.picture
{
	padding-bottom: 10px;
	width: 80px;
}

#usertable tr.odd td, #staff tr.odd td { background: #fff; }
#usertable tr.even td, #staff tr.even td { background: #f9f9f9; }

#usertable img,

#staff img
{
	vertical-align: top;
	border: 2px solid #fff;
}

#usertable p, #staff p { margin-left: 0; }

/* Investment schedule styles */
#investment_wrapper
{
	background: #B7B9BB url('images/datatables_bg.png') repeat-x top left;
	width: 712px;
	padding: 5px;
	border: 1px solid #B7B9BB;
	border-radius: 25px;
}

#investment_filter
{
	text-align: center;
	padding-top: 15px;
}

#investment_filter input { width: 350px; }
#investmentStaff { width: 100%; }

#investmentStaff_filter
{
	float: left;
	padding: 10px 30px;
	clear: left;
	height: 36px;
	line-height: 36px;
}

#investmentStaff_filter input { width: 300px; }

#investmentStaff_length
{
	float: left;
	padding: 10px;
	clear: none;
	height: 36px;
	line-height: 36px;
}

#investmentStaff_info
{
	float: left;
	padding: 10px 0;
	clear: both;
	height: 36px;
	width: 100%;
	line-height: 36px;
}

#investmentStaff_processing
{
	clear: both;
	width: 100%;
	text-align: center;
	background: no-repeat 44% 50% url("images/ajax-loader.gif");
	color: #999;
}

.investment th, .investment td
{
	padding: 5px 2px;
	text-align: center;
	vertical-align: middle;
	border-right: 1px;
	height: 3em;
	background-color: #fff;
}

.investment th
{
	text-transform: uppercase;
	font-size: 10px;
	background-color: #002554;
	color: #fff;
}

.investment tr.odd td { background-color: #fafafa; }

.investment .address
{
	text-align: left;
	width: 40%;
	padding-left: 5px;
}

.investment td.odd { background-color: #fafafa; }
.investment tr.odd td.odd { background-color: #f0f0f0; }

.dataTables_info, .dataTables_paginate
{
	text-align: center;
	width: 720px;
	margin: 0 auto 10px auto;
}

a.paginate_button, a.paginate_active
{
	background-color: #bebfc0;
	background-repeat: no-repeat;
	background-position: center left;
	padding: 5px 10px;
	margin: 0 1px;
	cursor: pointer;
}

a.paginate_button.first,

a.paginate_button.previous { padding-left: 25px; }

a.paginate_button.first
{
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAA9klEQVRIie3VvUpDMRjG8d9RcRSKghcgVFw6F+oVKLg4KeKNCKJ07CU46+Dg0ksodXcR1EVwFhcnlzicFkTPscnBIIgPhEDy5vnn401ShBDk1FxW9z8BEEL4UjDALe6wH2GzgsMqr7oVrGEDbazOMG9jjIOqzjpAbGpt43oCeUsBxOgYQyx/F7TQwLiFM+zGBKcCOrjEeuyAmC2ansceRinmsQDo4wJLKeYpgMbJEDvwSJnnrzkAxaQ+xybufxrwUTfo4ioXAF6Ud+AkF2CqU+zguQmgqGn/rCF6eMBiVUDdTX7CI+bNmKHySe9hq6qz+P+Tfx3wDuChQW9dgkVQAAAAAElFTkSuQmCC');
	margin-right: 10px;
}

a.paginate_button.previous
{
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAvUlEQVRIid3VIW5CQRRA0TMtwTQIEiy2hqSOddR1AV+xisquBQeOZVRhMHU1EERd1UNAEwQMHzpjuMlzk3uTl8xMigg1eahqv+9ASqntNNlCRJycFjxhivU5R0TcHHjGJwLfpQOv2B7kxQPvR+KigT7mJ+RFAi9YnZH/KzBEg9+M/GIgd9E66OIxc+YyLVY0xleNFR0zwKJmgP2z8lEz8McbfmoGYIRlzQD0MMOmVgASJrlAukJ2E3f8ZZZiB7QeaZ/xbV0IAAAAAElFTkSuQmCC');
	margin-right: 20px;
}

a.paginate_button.next,

a.paginate_button.last
{
	padding-right: 25px;
	background-position: center right;
}

a.paginate_button.next
{
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAA60lEQVRIie3VMUpDQRDG8d9qsBELDyGWVhaeQRArxTJFzmFKD6CNJ9BK7byAiLENwTIHsAm2wqbIe2iRt5v3cBHED4Ytdvj+OzPsbogxKqm1ou5/AtBr2gghnGEL1zmT5BxjjEsDl5jhBps5QFOkWvRZxSmesJurZJlyM6hr38Mzjn8a8F3buMN5KUCtIR4qYBEAHOHFonVFALCDEfqlALCOjVRC40VbQVOc4DWV1LWCR+znzLsCLnCI91WS27ToAwPctjlNDhCqdWLxZIzbmJNuUa+Kexx0Ma9NmjTCG658vUmtFf7/5F8HzAFbdkxYV6ID1QAAAABJRU5ErkJggg==');
	margin-left: 20px;
}

a.paginate_button.last
{
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAA+ElEQVRIie3VPyuGURjH8c/zJIPJomwGpchm8hoYlGIXb8DmDSjlLXgFj1HZGRhsSjEYPIOyyKSUjuFkct/PdR86KTl1tuv3+57rzzmnl1JSc/Wruv8JgJTSl41tTHeQr+EWNzhs8mrLYAOXWAwAU5jDPGabAtoAb5jBOdZHAMIRjHowiWPsR0bfBXyuPZzIJakCgBVcYKkWgNzIM2x1FYwVAmACR1jAXRT8k4vWR68G4BU72MV7FFxaonts4qqroCSDUyyXmJcADuQxfSoxJy7Ri1zvQalxBBjHA1ZxPUIfTlEbYCA/DY+B/hlDeZqGjSf4/5N/HfABoH9FHlVSgdkAAAAASUVORK5CYII=');
	margin-left: 10px;
}

a:hover.paginate_button
{
	background-color: #686b6d;
	color: #fff;
	text-decoration: none;
}

a.paginate_active
{
	background-color: #00B5DD;
	color: #fff;
}

/* FAQs */
#faq-block { position: relative; }

#faq-block .single-faq
{
	border-top: #bebfc0 1px solid;
	margin-bottom: 4px;
	padding-top: 8px;
}

#faq-block .single-faq .faq-question
{
	color: #000;
	padding: 0px 0 4px 18px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAoklEQVQ4jcXToQ0CMRiG4ecAgUAgEAgUM0BCAguQMAEOFJZNcIyAYQxQsAErINigiMuJC+XuUgRvUtXvf9v+bbMQgl9o/VQNIYTSwAzDpvlOJLNGD9smG4gdoY0NLuinCArmeGCSKoABbtilCgqOOGOcKoCuvD8lYrcQY49DbKJO8MIK12+BKsEdSzyrVoj1IOCEaV1xnv58yguMmuazv//GN1GKRGBoweVyAAAAAElFTkSuQmCC") no-repeat scroll 0px 3px transparent;
	padding-left: 18px;
	cursor: pointer;
}

#faq-block .faq-answer { padding: 0px 0 4px 18px; }
#faq-block .single-faq .expa { cursor: pointer; }
#faq-block .faq-list p.faq-nav a:hover { text-decoration: none; }
#faq-block .faq-list p.faq-nav span.current { font-weight: bold; }

/* Welfare Reform icons */
.wr-who, h2.wr-who
{
	background: no-repeat 0px 8px url('images/wr-who-48x48.png');
	padding-left: 55px;
}

.wr-when, h2.wr-when
{
	background: no-repeat 0px 11px url('images/wr-when-48x48.png');
	padding-left: 55px;
}

.tip, h4.tip
{
	background: no-repeat 0px 0px url('images/idea-24x24.png');
	padding-left: 25px;
}

/* National Housing Authorities Link List (on Development page) */
#page-bottom #linkcat-528 ul
{
	list-style: none;
	margin: 0 20px 0 0;
	padding: 0;
}

#page-bottom #linkcat-528 ul li
{
	margin: 0 0 20px 0;
	line-height: 1.6em;
}

#page-bottom #linkcat-528 img
{
	display: block;
	clear: both;
	margin: 10px 0;
	padding: 0;
}

#page-bottom #linkcat-528 a
{
	margin-bottom: 10px;
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif;
	font-size: 16px;
	font-style: normal;
	background-image: none;
	padding: 0;
	display: block;
}

/* Meet the board image overrides */
#post-386 .alignright, #post-386 img.alignright
{
	margin: 0 32px 32px 32px;
	clear: right;
	border: 1px solid #000;
}

/* Query Posts post lists for normal pages */
#primary li#linkcat-391,

#query-posts-55, /* Care and Support non-featured Posts lists */

#query-posts-67, /* About Posts lists */

#query-posts-93, /* For Employment,enterprise-featured */

#query-posts-94, /* For Employment,enterprise non-featured */

#query-posts-72 /* Independent Living Posts list */
{
	float: right;
	margin: 0 0 10px 0;
	clear: right;
	width: 316px;
}

#query-posts-82
{
	/* HIA News */
	float: left;
	width: 316px;
	margin-top: 47px;
}

#page-bottom #query-posts-82 .hentry { width: 316px; }

.yh-slideshow, 

.yh-slideshow ul.dpe-flexible-posts,

.yh-posts, 

.yh-posts ul.dpe-flexible-posts,

.yh-posts-grid, 

.yh-posts-grid ul.dpe-flexible-posts ,

.yh-posts>ul ,

.yh-slideshow>ul,

.aside .yh-posts>ul ,

.aside .yh-slideshow>ul
{
	padding: 0;
	margin: 0;
	list-style: none;
}

.yh-posts .hentry,

.yh-slideshow .hentry
{
	float: left;
	width: 316px;
	list-style: none;
	padding: 0;
}

#page-top .yh-posts
{
	float: left;
	width: 316px;
	margin-left: 6px;
}

#page-top .widgetcontainer:nth-child(1) { margin-left: 0; }
#page-top .yh-posts .hentry { margin-bottom: 10px; }

#page-top .yh-slideshow,

#page-top .yh-slideshow .hentry
{
	width: 630px;
	height: 395px;
	min-height: 395px;
	float: left;
	margin-right: 8px;
	overflow: hidden;
	background-color: #bebfc0;
}

#page-top .yh-slideshow h3.widget-title { float: left; }
#page-top .yh-slideshow h2.entry-title,

#page-top .yh-slideshow .hentry .wp-post-image { margin: 0; }
#page-top .yh-slideshow .hentry .wp-post-image { }
#page-top .yh-slideshow .hentry:hover { background-color: #686b6d; }
#page-top .yh-slideshow .hentry:hover .wp-post-image { opacity: 1; }

#page-top .yh-slideshow h2.entry-title,

#page-top .yh-slideshow h2.entry-title a
{
	min-height: 60px;
	position: absolute;
	bottom: 0;
}

#page-top .yh-slideshow h2.entry-title a
{
	width: 390px;
	padding: 10px 210px 10px 10px !important;
}

#page-top .yh-slideshow h2.entry-title a:link,

#page-top .yh-slideshow h2.entry-title a:visited
{
	background-color: inherit;
	color: #000;
	-webkit-transition: background, 125ms;
	/* Safari */
	transition: background, 125ms;
}

#page-top .yh-slideshow .hentry:hover h2.entry-title a:link,

#page-top .yh-slideshow .hentry:hover h2.entry-title a:visited,

#page-top .yh-slideshow h2.entry-title a:hover,

#page-top .yh-slideshow h2.entry-title a:active
{
	color: #fff;
	background-color: inherit;
}

#page-bottom .yh-posts .hentry
{
	width: 630px;
	margin-bottom: 1em;
}

#page-bottom .yh-posts .hentry h2 { margin-top: 1em; }

.yh-posts .hentry h4,

.yh-posts-grid .hentry h4,

.yh-slideshow .hentry h4
{
	padding: 0 10px;
	margin: 7px;
	font-size: 125%;
	background-color: inherit;
}

.yh-posts-grid .hentry h4
{
	padding: 0 0 5px 0;
	margin: 0 10px;
	font-size: 110%;
}

.yh-slideshow .hentry h4 { height: 4.66em; }

.yh-posts .hentry p
{
	padding: 0;
	margin: 7px;
	background-color: inherit;
}

.yh-slideshow .hentry p { display: none; }
.yh-posts .hentry,

.yh-slideshow .hentry { overflow: hidden; }

.yh-posts .hentry:hover,

.yh-slideshow .hentry:hover
{
	color: #000;
	background-color: #bebfc0;
}

.yh-posts .hentry a,

.yh-slideshow .hentry a
{
	color: inherit;
	text-decoration: none;
}

.yh-posts div.sharedaddy,

.yh-slideshow div.sharedaddy { display: none; }

/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
li.yh-posts
{
	float: left;
	margin-bottom: 20px;
}

.yh-slideshow .hentry { height: 297px; }

.yh-slideshow .hentry,

.yh-posts-grid .hentry,

.yh-posts .hentry,

#primary li.posts .hentry,

#query-posts-55 .hentry, /* Care and Support non-featured Posts lists */

#query-posts-67 .hentry, /* About Posts lists */

#query-posts-72 .hentry /* Independent Living Posts lists */
{
	position: relative;
	z-index: 10;
	border-bottom: 1px solid #bebfc0;
	padding-bottom: 0;
	background-color: #eee;
}

.yh-slideshow .hentry.case-study,

.yh-posts-grid .hentry.case-study,

.yh-posts .hentry.case-study { margin-bottom: 1em; }

.yh-slideshow .hentry:hover,

.yh-posts-grid .hentry:hover,

.yh-posts .hentry:hover,

#primary li.posts .hentry:hover,

#query-posts-55 .hentry:hover, /* Care and Support non-featured Posts lists */

#query-posts-67 .hentry:hover, /* About Posts lists */

#query-posts-72 .hentry:hover /* Independent Living Posts lists */
{
	color: #000;
	background-color: #bebfc0;
}

.yh-slideshow .hentry:hover a, 

.yh-posts-grid .hentry:hover a, 

.yh-posts .hentry:hover a, 

#primary.aside li.posts .hentry:hover a, 

#query-posts-55 .hentry:hover a, /* Care and Support non-featured Posts lists */

#query-posts-67 .hentry:hover a, /* About Posts lists */

#query-posts-72 .hentry:hover a /* Independent Living Posts lists */ { color: #000; }

.yh-posts h4.entry-title,

#primary li.posts h4.entry-title,

#query-posts-55 h4.entry-title, /* Care and Support non-featured Posts lists */

#query-posts-67 h4.entry-title, /* About Posts lists */

#query-posts-72 h4.entry-title /* Independent Living Posts lists */
{
	font-size: 14px;
	margin: 0;
	padding: 0;
	display: table-cell;
	vertical-align: middle;
	height: 50px;
	width: 240px;
	line-height: 1.25em;
}

.yh-posts h2.entry-title,

.yh-posts-grid h2.entry-title,

.yh-slideshow h2.entry-title { margin: 0 10px; }

.yh-posts-grid h2.entry-title,

.yh-posts-grid h2.entry-title a,

.yh-posts-grid h4.entry-title,

.yh-posts-grid h4.entry-title a,

.yh-slideshow h4.entry-title,

.yh-slideshow h4.entry-title a
{
	display: block;
	height: auto;
	width: auto;
}

.yh-posts h4 a,

#primary li.posts h4 a,

#query-posts-55 h4 a, /* Care and Support non-featured Posts lists */

#query-posts-67 h4 a, /* About Posts lists */

#query-posts-72 h4 a /* Independent Living Posts lists */
{
	display: table-cell;
	vertical-align: middle;
	height: 70px;
	padding-right: 10px;
}

.yh-slideshow .hentry .wp-post-image,

.yh-posts .hentry .wp-post-image,

.yh-posts-grid .hentry .wp-post-image,

#primary li.posts .wp-post-image,

#query-posts-55 .wp-post-image, /* Care and Support non-featured Posts lists */

#query-posts-67 .wp-post-image, /* About Posts lists */

#query-posts-72 .wp-post-image /* Independent Living Posts lists */
{
	float: left;
	padding: 0;
	border: 0;
	margin: 10px;
}

.yh-posts .hentry .attachment-newspage-thumb,

.yh-slideshow .hentry .attachment-newspage-thumb,

.yh-posts-grid .hentry .attachment-newspage-thumb,

.entry-content .column .yh-posts .hentry .attachment-newspage-thumb,

.entry-content .column .yh-slideshow .hentry .attachment-newspage-thumb,

.entry-content .column .yh-posts-grid .hentry .attachment-newspage-thumb
{
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

.yh-posts .hentry .attachment-medium,

.yh-slideshow .hentry .attachment-medium,

.yh-posts-grid .hentry .attachment-medium,

.entry-content .column .yh-posts .hentry .attachment-medium,

.entry-content .column .yh-slideshow .hentry .attachment-medium,

.entry-content .column .yh-posts-grid .hentry .attachment-medium { margin: 8px; }
.entry-content .column .yh-posts .hentry .attachment-newspage-thumb,

.entry-content .column .yh-slideshow .hentry .attachment-newspage-thumb,

.entry-content .column .yh-posts-grid .hentry .attachment-newspage-thumb { width: 296px; }

/* Services usually in content as embedded widget and displayed with excerpts */
.yh-services h3.widgettitle { display: none; }

.entry-content .yh-services .entry-content
{
	color: #111;
	padding-left: 60px;
}

.entry-content .yh-services .ui-accordion-header{
	cursor: pointer;
	padding: 0 0 0 60px;
	margin: 0;
	line-height: 50px;
	font-size: 20px;
	background-color: #eee;
}

.entry-content .yh-services .ui-accordion-header:hover { background-color: #bebfc0; }

.entry-content .yh-services .wp-post-image
{
	border: 0;
	padding: 0;
	margin: 0;
	float: left;
}

/* #page-top note-style text notices */
.page-template-default #page-top li.widget_text
{
	float: right;
	clear: right;
	margin: 1em -120px 20px 30px;
	width: 288px;
	color: #444;
}

.page-template-default #page-top .textwidget
{
	position: relative;
	z-index: 10;
	line-height: 1.6em;
}

/* page bottom text widgets */
#page-bottom .widget_text
{
	width: 100%;
	line-height: 1.8em !important;
	color: #000 !important;
}

/* Cross site promo X-Site Promo Site Wide Promo */
.yh-xsitepromo .promo
{
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
	margin: 0 0 1em 0;
}

.yh-xsitepromo h3.widgettitle { display: none; }

.yh-xsitepromo a:link, .yh-xsitepromo a:visited
{
	display: block;
	-webkit-transition: background, 125ms;
	/* Safari */
	transition: background, 125ms;
}
.skills-promo img, 

.foodworks-promo img, 

.apprenticeships-promo img, 

.hia-promo img, 

.homesforbritain-promo img,

.lccu-promo img,

.money-promo img,

.ils-promo img
{
	width: 100%;
	height: auto;
	max-height: 100%;
	margin: 0;
}

/* Money page X-site Promo Secondary Aside */
.money-promo a:link, .money-promo a:visited { background-color: #5e898c; }
.money-promo a:hover, .money-promo a:active, .money-promo a:focus { background-color: #7ca9ac; }

/* LCCU X-site Promo Secondary Aside */
.lccu-promo a:link, .lccu-promo a:visited { background-color: #eee; }
.lccu-promo a:hover, .lccu-promo a:active, .lccu-promo a:focus { background-color: #e2c5ca; }

/* HIA X-site Promo in Single Bottom and Secondary Aside */
.hia-promo a:link, .hia-promo a:visited { background-color: #0a2240; }
.hia-promo a:hover, .hia-promo a:active, .hia-promo a:focus { background-color: #066b91; }

/* ILS X-site Promo in Page Bottom Aside */
.ils-promo a:link, .ils-promo a:visited { background-color: #482755; }
.ils-promo a:hover, .ils-promo a:active, .ils-promo a:focus { background-color: #256e9b; }

/* Apprenticeships X-site Promo in Page Bottom Aside */
.apprenticeships-promo a:link, .apprenticeships-promo a:visited { background-color: #FFCF14; }
.apprenticeships-promo a:hover, .apprenticeships-promo a:active, .apprenticeships-promo a:focus { background-color: #ffa802; }

/* FoodWorks X-site Promo in Secondary Aside */
.foodworks-promo a:link, .foodworks-promo a:visited { background-color: #282c2f; }
.foodworks-promo a:hover, .foodworks-promo a:active, .foodworks-promo a:focus { background-color: #45555f; }

/* Help to Buy X-site Promo in Primary Aside */
.helptobuy-promo a:link, .helptobuy-promo a:visited { background-color: #189A97; }
.helptobuy-promo a:hover, .helptobuy-promo a:active, .helptobuy-promo a:focus { background-color: #0E6667; }

/* Skills X-site Promo in Secondary Aside */
.skills-promo a:link, .skills-promo a:visited { background-color: #ddd; }
.skills-promo a:hover, .skills-promo a:active, .skills-promo a:focus { background-color: #fff; }

.helptobuy-promo img
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Anti-Social Behaviour X-site Promo in Primary Aside */
.asb-promo { margin-bottom: 20px; }
.asb-promo a { border-radius: 8px; }
.asb-promo img { border-radius: 8px; }
.asb-promo a:link, .asb-promo a:visited { background-color: #33ccff; }
.asb-promo a:hover, .asb-promo a:active, .asb-promo a:focus { background-color: #2aafd3; }

/* Old Site-wide promo - only used for customer service standards */
.post-footer-promo
{
	padding: 15px 10px 10px 47px;
	background-position: 10px 10px;
	background-repeat: no-repeat;
	margin: 50px 0px;
	clear: both;
}

.post-footer-promo h2
{
	font-size: 18px;
	font-weight: bold;
}

#customer-service-standards { background-image: url("images/Checkbox-32x32.png"); }

/* Your Home Issue Pages */
body.post-template-template-magazine-php div.entry-utility { display: none; }

/* 404 page */
body.error404 #container,body.error404 #content { width: 920px; }
body.error404 h1.entry-title { line-height: 100px; }

body.error404 h1.entry-title:before
{
	content: "404 ";
	font-size: 3em;
	color: #bebfc0;
	margin-top: 10px;
	line-height: 100px;
}

.not-found { background: no-repeat url('images/404.jpg') bottom left; }
.not-found #searchform input.field { width: 500px; }
.not-found #searchform input { box-shadow: #999 0px 3px 10px; }

.not-found #page-top
{
	padding: 80px 0 150px 210px;
	text-shadow: #fff 0px 0px 15px;
}

span.highlight, strong.highlight { background-color: #ffff7b; }

.login p.message
{
	background-color: #EE6462 !important;
	color: #fff !important;
	border: 0 !important;
	padding: 5px 10px !important;
}

div.action
{
	background-color: #bcff7b !important;
	border: 0 !important;
	padding: 1em;
	margin-left: -1em;
}

/* Env Services Contractor Lookup table */
#envserv th, #envserv .schemes, #envserv_wrapper .dataTables_paginate { display: none; }
#envserv td, #envserv tr, #envserv { border: none; }

table#envserv
{
	margin-top: 20px;
	font-size: 16px;
}

/* Welfare Reform Links */
table.welfare-reforms, table.welfare-reforms tr { border: 0; }

table.welfare-reforms td
{
	vertical-align: middle;
	border: 0;
	padding: 10px;
	font-size: 15px;
}

table.welfare-reforms img { margin: 0; }

/* 

	Sub Home page slideshows

*/
.subpage-slideshow,
.scheme-slideshow {
	display:block;
	min-height:315px;
}
.yh-slideshow h3.widgettitle {
	display:block;
}

/* 

	Featured Posts sliders 

*/

.entry-summary p { margin-bottom: 5px; }

#query-posts-63, /* Neighbourhoods page */ 

#query-posts-64, /* Get Involved page */ 

#query-posts-65, /* About page */ 

#query-posts-44, /* Money page */

#query-posts-69, /* Sheltered Housing Schemes */

#query-posts-71 /* Extra Care Schemes */
{
	width: 630px;
	background: #bebfc0;
	padding: 0;
	height: 315px;
	overflow: hidden;
	margin-bottom: 1em;
	float: left;
}

#query-posts-63 .hentry, /* Neighbourhoods page */  

#query-posts-64 .hentry, /* Get Involved page */  

#query-posts-65 .hentry, /* About page */  

#query-posts-44 .hentry, /* Money page */

#query-posts-69 .hentry, /* Sheltered Housing Schemes */

#query-posts-71 .hentry /* Extra Care Schemes */
{
	padding: 0;
	position: relative;
}

#query-posts-63 h2.entry-title, /* Neighbourhoods page */ 

#query-posts-64 h2.entry-title, /* Get Involved page */ 

#query-posts-65 h2.entry-title, /* About page */ 

#query-posts-44 h2.entry-title, /* Money page */

#query-posts-69 h2.entry-title, /* Sheltered Housing Schemes */

#query-posts-71 h2.entry-title /* Extra Care Schemes */
{
	position: absolute;
	bottom: 0;
	padding: 0;
	width: 100%;
}

#query-posts-63 h2.entry-title a:link, /* Neighbourhoods page */ 

#query-posts-64 h2.entry-title a:link, /* Get Involved page */ 

#query-posts-65 h2.entry-title a:link, /* About page */ 

#query-posts-44 h2.entry-title a:link, /* Money page */

#query-posts-69 h2.entry-title a:link, /* Sheltered Housing Schemes */

#query-posts-71 h2.entry-title a:link, /* Extra Care Schemes */

#query-posts-63 h2.entry-title a:visited, /* Neighbourhoods page */ 

#query-posts-64 h2.entry-title a:visited, /* Get Involved page */ 

#query-posts-65 h2.entry-title a:visited, /* About page */ 

#query-posts-44 h2.entry-title a:visited, /* Money page */

#query-posts-69 h2.entry-title a:visited, /* Sheltered Housing Schemes */

#query-posts-71 h2.entry-title a:visited /* Extra Care Schemes */
{
	display: block;
	padding: 10px;
	background: #00b5dd;
	color: #fff;
}

#query-posts-63 h2.entry-title a:hover, /* Neighbourhoods page */ 

#query-posts-64 h2.entry-title a:hover, /* Get Involved page */ 

#query-posts-65 h2.entry-title a:hover, /* About page */ 

#query-posts-44 h2.entry-title a:hover, /* Money page */

#query-posts-69 h2.entry-title a:hover, /* Sheltered Housing Schemes */

#query-posts-71 h2.entry-title a:hover /* Extra Care Schemes */
{
	background-color: #686b6d;
	color: #fff;
}

#query-posts-63 .entry-summary, /* Neighbourhoods page */ 

#query-posts-64 .entry-summary, /* Get Involved page */ 

#query-posts-65 .entry-summary, /* About page */ 

#query-posts-44 .entry-summary, /* Money page */

#query-posts-69 .entry-summary, /* Sheltered Housing Schemes */

#query-posts-71 .entry-summary /* Extra Care Schemes */
{
	color: #000;
	padding: 5px 0px 0 10px;
}


.slideshow-nav a:link,
.slideshow-nav a:visited {
	color: #000;
	font-weight: bold;
	background: #bebfc0;
	margin: 4px 3px !important;
	padding: 4px 8px !important;
	border-radius: 15px;
	text-decoration: none;
}

.slideshow-nav a:hover,
.slideshow-nav a:active {
	background: #686b6d;
	text-decoration: none;
	color: #fff;
}

.slideshow-nav a.activeSlide {
	background: #00B5DD;
	color: #fff;
}

#featured-pages-nav a.activeSlide {
	background: #fff;
	color: #000;
}


#minimal-posts-nav.slideshow-nav a:link,
#minimal-posts-nav.slideshow-nav a:visited {
	background-color:rgba(0, 0, 0, 0.25);
	border:1px solid rgba(255, 255, 255, 0.5);
	color:rgba(0, 0, 0, 0);
	text-indent:-100px;
	width:10px;
	height:10px;
	overflow:hidden;
	margin:5px;
	padding:5px !important;
	display:inline-block;
}
#minimal-posts-nav.slideshow-nav a:hover,
#minimal-posts-nav.slideshow-nav a:active {
	background-color:rgba(255, 255, 255, 0.75);
	border-color:rgba(255, 255, 255, 1);
	color:rgba(0, 0, 0, 0);
}
#minimal-posts-nav.slideshow-nav a.activeSlide {
	background-color:rgba(255, 255, 255, 0.5);
	border-color:rgba(255, 255, 255, 0.75);
	color:rgba(0, 0, 0, 0);
}

#featured-pages-nav {
	position: absolute;
	z-index: 11;
	padding: 10px;
	text-align: right;
	right: 0;
	bottom: 0;
}
#minimal-posts-nav {
	bottom: 5px;
	text-align:center;
	position: absolute;
	z-index: 100;
	width:100%;
}

{
	background-color:rgba(0, 90, 110, 0.75);
	border-color:rgb(0, 90, 110);
}


/* About the Development Team Text Widget */
#text-7
{
	font-size: 14px;
	padding: 0;
	line-height: 1.4em;
}

#text-7 h3.widgettitle,

#text-7 p
{
	margin: 0 10px 14px 10px;
	padding-top: 0;
}

/* Development News on Development Page (#query-posts-40) */
#query-posts-40
{
	float: left;
	margin-top: 2em;
}

#query-posts-40 .hentry
{
	margin-bottom: 1em;
	padding: 0 1em 1em 0;
	border-top: 1px solid #bebfc0;
}

#query-posts-40 .hentry img
{
	border: 1px solid #bebfc0;
	border-top: none;
	float: left;
}

#query-posts-40 .hentry h2.entry-title
{
	font-size: 1.25em;
	line-height: 1.25em;
	padding: 0;
	margin: .5em 0 .5em 165px;
}

#query-posts-40 .hentry .entry-summary p
{
	padding: 0;
	margin: 0 0 1em 165px;
}

#amr_users_widget-2 /* Development Contacts */
{
	float: right;
	clear: right;
	width: 300px;
	padding: 0;
	margin-top: 4em;
}

#amr_users_widget-3 { width: 960px; }
#amr_users_widget-3 h3.widgettitle { margin-bottom: 1.25em; }
#userslist1 .tbody { overflow: hidden; }
#amr_users_widget-2 #userslist1 .tbody { height: 150px; }

#amr_users_widget-4, 

#amr_users_widget-6
{
	width: 100%;
	float: left;
	clear: both;
	margin-bottom: 2em;
}

#amr_users_widget-6 div.vcard,

#amr_users_widget-4 div.vcard, 

#amr_users_widget-3 div.vcard
{
	float: left;
	width: 320px;
	min-height: 120px;
}

/* Userlist plugin contact lists */
div.vcard
{
	width: 100%;
	float: left;
	margin-bottom: 1.25em;
}

div.vcard span
{
	display: block;
	padding-left: 90px;
	color: #000;
}

div.vcard span.avatar
{
	padding-left: 0;
	float: left;
}

div.vcard span.avatar img
{
	-moz-box-shadow: 0;
	-webkit-box-shadow: 0;
	box-shadow: 0;
	filter: filter: 0;
	border: 1px solid;
}

div.vcard span.display_name
{
	font-weight: normal;
	font-size: 14px;
	margin-top: 0.25em;
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif !important;
}

div.vcard span.yh_job_title,

div.vcard span.yh_patch { font-size: 14px; }
div.vcard span.yh_telephone { font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif !important; }
div.vcard span.user_email { font-size: 11px; }

/* BMA Contacts */
#amr_users_widget-5
{
	display: none;
	margin-top: 8.8em;
}

/* Emergency broadcast styles */
#page-top li#query-posts-47
{
	float: none;
	clear: none;
	width: 100%;
	margin: 0;
}

#page-top li#query-posts-47 p { color: #000; }

#page-top li#query-posts-47 .hentry,

#page-top li#query-posts-47 .hentry:hover
{
	border: 4px solid #ffcf14;
	background-color: #ffff7b;
	padding: 10px;
	margin: 10px 0;
}

#page-top li#query-posts-47 .entry-content img { margin-bottom: 0; }
#page-top li#query-posts-47 div.sharedaddy { display: none; }

/* SIRF Safety Incident Report Form */
#gform_wrapper_43 { /* the form ID */ }

#gform_wrapper_43 .gfield_html h3
{
	padding-bottom: 0;
	margin: 0;
}

#gform_wrapper_43 .gf_step_number
{
	text-indent: -200px;
	overflow: hidden;
}

#gform_wrapper_43 .gsection,

#gform_wrapper_44 .gsection
{
	border: 0;
	padding: 0;
}

#gf_page_steps_43
{
	background-color: #f9f9f9;
	padding: 5px;
}

#gf_page_steps_43 .gf_step
{
	margin: 0;
	padding: 5px 10px;
	color: #686b6d;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

#gf_page_steps_43 .gf_step_active
{
	background-color: #686b6d;
	color: #fff;
	border-radius: 6px;
}

#gf_step_43_1:before,

#gf_step_43_2:before,

#gf_step_43_3:before,

#gf_step_43_4:before { font-weight: bold; }
#gf_step_43_1:before { content: "Part 1A:"; }
#gf_step_43_2:before { content: "Part 1B:"; }
#gf_step_43_3:before { content: "Part 1C:"; }
#gf_step_43_4:before { content: "Part 1D:"; }

/* Bold the list field label */
#field_43_88 label
{
	font-weight: normal;
	font-family: "FS Me Web Bold", Helvetica, Arial, Verdana, sans-serif !important;
}

/* Hide required indicator for checkboxes */
#field_43_35 label.gfield_label, /* Part 1 B */

#field_44_48 label.gfield_label /* Part 2 */ { display: none !important; }
#field_43_35 .ginput_container, /* Part 1 B */

#field_44_48 .ginput_container /* Part 2 */ { margin-top: 1em !important; }

/* Instagram widget wp-instagram */
ul.instagram-pics
{
	width: 100%;
	padding: 0;
	margin: 0 !important;
	overflow: hidden;
}

ul.instagram-pics img
{
	width: 100% !important;
	height: auto;
	max-height: 100% !iportant;
}

/* PRINT STYLES - lifted from html5boilerplate */

@media print
{
	@page { 
	
		
	
						margin-top:2cm; 
	
		
	
						counter-increment: page;
	
		
	
						@bottom-center {
	
		
	
							counter-increment: page;
	
		
	
							content: "Page " counter(page);
	
		
	
						}
	
		
	
					}
	
	#header, #footer, #primary, #secondary, #breadcrumb, .sidebar-promo { display: none; }
	
	body, #wrapper, #main, #container
	{
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
	}
	
	#content
	{
		width: 80%;
		margin: 0;
		border: 0;
		padding: 5% 10%;
	}
	
	#featured-image .thumb-caption, #pull-quote blockquote { padding: 0.5em 0; }
	#pull-quote blockquote:before, #pull-quote blockquote:after { content'"': ; }
	
	*
	{
		background: transparent !important;
		color: black !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}
	
	/* Black prints faster: h5bp.com/s */
	a, a:visited { text-decoration: underline; }
	
	/* a[href]:after { content: " (" attr(href) ")"; }
	
		
	
					abbr[title]:after { content: " (" attr(title) ")"; }
	
		
	
					.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
	
	pre, blockquote
	{
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead { display: table-header-group; }
	
	/* h5bp.com/t */
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	
	@page { margin: 0.5cm; }
	
	p, h2, h3
	{
		orphans: 3;
		widows: 3;
	}
	
	h2, h3, h4 { page-break-after: avoid; }
	
	h1:before
	{
		content: url(https://chart.googleapis.com/chart?cht=qr&chs=150x150 &chl=http://yorkshirehousing.co.uk&choe=UTF-8);
		position: absolute;
		left: 0;
		top: 0;
	}
}