/*
* @updated		03/2012
* @author		Trevor Morris / Surface
* @project		Friends of Faye
* --------------------------------------------------------------------------------------------------*/

/**
* =hide
* @section Common
* @subsection Accessible Hiding
* --------------------------------------------------------------------------------------------------
*/
.access,
legend, table caption,
.more a strong, a.more strong,
.geo,
#header h2 {
	position: absolute; left: -9999px;
	overflow: hidden;
	height: 0; width: 0;=
	font-size: 0; line-height: 0;
}


/**
* =replace
* @section Common
* @subsection Image Replacement
* @see http://phark.typepad.com/phark/2003/08/accessible_imag.html Phark Image Replacement
* --------------------------------------------------------------------------------------------------
*/
.phark, .replace,
#header h1, #header h1 a,
.social-icons li, .social-icons a {
	overflow: hidden;
	display: block;
	font-size: 0; line-height: 0; text-decoration: none; text-indent: 100%;
	white-space: nowrap;
	background: transparent no-repeat 0 0;
	border: 0;
	-moz-border-radius: 0; -webkit-border-radius: 0;
	-o-border-radius: 0; -ms-border-radius: 0;
	border-radius: 0;
}


/**
* =clearing
* @section Common
* @subsection Easy Clearing
* @see http://www.positioniseverything.net/easyclearing.html
* --------------------------------------------------------------------------------------------------
*/
.clearfix::after,
#header::after,
#content::after,
.results li::after {
	clear: both;
	display: block; visibility: hidden;
	height: 0;
	font-size: 0; line-height: 0;
	content: '.';
}
.clearfix,
#header,
#content {
	display: inline-block;
}
/* Hide from IE Mac \*/
.clearfix,
#header,
#content {
	display: block;
}
/* End hide from IE Mac */


/**
* =general
* @section General Layout
* --------------------------------------------------------------------------------------------------
*/
html, body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px; color: #51585a; line-height: 1.25; font-weight: 400;
	background: #d7d7d7;
}
#wrapper {
	min-width: 960px;
	padding: 50px 0;
}
	#container {
		width: 952px;
		margin: 0 auto; padding: 50px 40px;
		background-color: #fff;
	}


/**
* =typography
* @section Typography
* --------------------------------------------------------------------------------------------------
*/
a,
a:visited {
	position: relative;
	display: inline-block;
	color: #05a9ce; text-decoration: underline;
}
a:hover,
a:focus,
a:active {
	text-decoration: none;
}

h1, h2, h3, h4,
p, ul, ol {
	margin-top: 0;
}
img {
	display: block;
	margin: 0 0 20px;
}
object,
embed {
	outline: 0;
}

address {
	margin: 0 0 15px;
	font-style: normal;
}
	address span {
		display: block;
	}
		address span span {
			display: inline;
		}
		
table {
	margin: 0 0 1em;
}
	table td {
		padding-right: 20px;
	}

br.clear {
	clear: both;
	height: 0; width: 0;
}

blockquote {
	padding: 0; margin: 0;
	font-size: 18px; line-height: 1.2; font-weight: bold;
}
	blockquote strong {
		display: block;
		margin-top: -1em;
		color: #05a9ce;
	}


/* @group Headings */
h1, h2, h3, h4 {
	font-weight: bold;
}
h1, h2 {
	margin-bottom: 17px;
	line-height: 1.2;
}
h1 {
	font-size: 30px; color: #05a9ce;
}
h2 {
	font-size: 18px;
}
h3 {
	margin: 0 0 15px;
	font-size: 14px; color: #05a9ce;
}
/* @end */

.clear {
	clear: both;
}

/* @group Reset Lists */
.nav,
.nav ul,
.nav li,
.controls,
.controls ul,
.controls li,
.taxonomy ul,
.taxonomy li,
.archive ul,
.archive ol,
.archive li,
ul.images,
ul.images li,
#lang_sel_list,
#lang_sel_list ul,
#lang_sel_list li,
.gform_fields,
.gform_fields li,
.gfield_radio,
.gfield_radio li {
	margin: 0; padding: 0;
	list-style: none; list-style-image: none;
	background: none;
}
/* @end */


/**
* =forms
* @section Forms
* --------------------------------------------------------------------------------------------------
*/
form,
form fieldset {
	overflow: hidden;
	position: relative; zoom: 1;
	padding: 0; margin: 0;
	border: 0;
}
form {
	margin: 0 0 15px;
}
	form label {
		display: block;
		padding: 0 0 3px;
	}
		form label .required,
		p.required-help .required,
		.gfield_required {
			position: relative; top: 2px; left: 2px;
			font-size: 16px; line-height: 1; color: #05a9ce; text-decoration: none;
			border: 0;
		}

	form div.text,
	.gform_fields .gfield {
		position: relative; zoom: 1;
		overflow: hidden;
		margin: 0 0 8px; padding: 0;
	}
	form div.text input,
	.gform_fields .gfield input,
	form textarea {
		width: 388px; height: 20px;
		line-height: 20px;
		padding: 0 5px;
		color: #555;
		background: #fff;
		border: 1px solid #ccc;
	}
	form button:focus,
	form input:focus,
	form select:focus,
	form textarea:focus {
		-moz-box-shadow: transparent 0 0 0 0;
		-webkit-box-shadow: transparent 0 0 0 0;
		-ms-box-shadow: transparent 0 0 0 0;
		-o-box-shadow: transparent 0 0 0 0;
		box-shadow: transparent 0 0 0 0;
	}
	form textarea {
		height: 140px;
		resize: vertical;
	}
	form div.text input:focus,
	.gform_fields .gfield input:focus,
	form textarea:focus {
		border-color: #777;
	}
	
/* @group Gravity Forms */
.gform_fields {}
	.gform_fields .gfield_radio li {
		float: left;
		display: inline;
		margin: 0 10px 0 0;
	}
		.gform_fields .gfield_radio input,
		.gform_fields .gfield_radio input:focus {
			width: auto; height: auto;
			padding: 0; margin: 0 10px 0 3px;
			background: transparent;
			border: 0;
		}
		.gform_fields .gfield_radio label {
			float: none;
			display: inline;
			width: auto;
			margin: 0; padding: 0;
		}
		.gfield_error .validation_message {
			padding: 3px 0 0;
			color: #f00;
		}
/* @end */
	
/* @group Search */
form.search {
	position: relative; overflow: hidden;
	margin: 0;
}
	form.search label,
	form.search div {
		float: left;
		display: inline;
		margin: 0; padding: 0;
		font-weight: bold; line-height: 16px; font-size: 11px;
	}
	form.search div {
		float: right;
	}
		form.search div.text label {
			margin: 8px 5px 0 0;
		}
		form.search div.text input {
			margin-top: 4px;
			width: 103px;
		}
	
html.js form.search div.submit {
	display: none;
}
/* @end */


/**
* =header
* @section General Layout
* @subsection Header
* --------------------------------------------------------------------------------------------------
*/
#header {
	position: relative; z-index: 100;
	float: left;
	display: inline;
	width: 300px; height: 85px;
	padding: 0 20px 0 0;
}
#header div.inner {}
	#header h1 {}
		#header h1,
		#header h1 a {
			width: 300px; height: 85px;
			background-image: url(img/logo.gif);
			cursor: pointer;
		}
		body.lang-cy #header h1,
		body.lang-cy #header h1 a {
			background-position: 0 -85px;
		}
		

/**
* =nav
* @section Navigation
* --------------------------------------------------------------------------------------------------
*/
#nav {
	margin-left: 320px;
}
#nav div.inner {
	padding: 30px 0 0;
}
body.multilingual #nav div.inner {
	padding-top: 0;
}
	#nav ul {
		position: relative; overflow: hidden; zoom: 1;
		padding: 6px 0;
		background: #05a9ce;
	}
		#nav ul li,
		#nav ul li a,
		#nav ul li a:visited {
			position: relative; zoom: 1;
			font-size: 12px; color: #51585a; text-decoration: none;
		}
		#nav ul li {
			float: left;
			display: inline;
			border: 0 solid #51585a; border-width: 0 0 0 1px;
		}
		#nav ul li.first-menu-item {
			border-left-width: 0;
		}
			#nav ul li a {
				display: block;
				padding: 0 18px;
			}
			body.lang-cy #nav div.inner div ul li a {
				padding: 0 10px;
			}
			
			#nav ul li.active a,
			#nav ul li.active a:visited,
			#nav ul li.current_page_item a,
			#nav ul li.current_page_item a:visited,
			#nav ul li.current_page_parent a,
			#nav ul li.current_page_parent a:visited {
				color: #fff;
			}
			
			#nav ul li a:hover,
			#nav ul li a:focus,
			#nav ul li a:active {
				text-decoration: underline;
				outline: 0;
			}
			
	#nav ul.language {
		margin: -13px 0 10px; padding: 0 0 0 24px;
		background: transparent;
	}
		#nav ul.language li {
			float: left;
			display: list-item;
			margin: 0 35px 0 0; padding: 0 0 0 3px;
			font-size: 24px;
			border-width: 0;
			list-style: disc outside none;
		}
			#nav ul.language li a,
			#nav ul.language li a:visited {
				display: inline;
				padding: 0;
				font-weight: bold; font-size: 11px;
				vertical-align: middle;
			}
			#nav ul.language li.active,
			#nav ul.language li.active a,
			#nav ul.language li.active a:visited {
				color: #05a9ce;
			}
		
	#nav-about-search {
		position: relative; overflow: hidden; zoom: 1;
		padding: 0 0 3px;
		border: 0 solid #ccc; border-width: 1px 0 0;
	}
		#nav-about-search p {
			float: left;
			display: inline;
			margin: 7px 7px 0 0; padding: 0;
			font-weight: bold; line-height: 16px; font-size: 11px;
			border: 0 solid #ccc; border-width: 0 1px 0 0;
		}
		#nav-about-search p.about {
			width: 330px;
		}
		#nav-about-search p.date {
			width: 125px;
			color: #05a9ce;
		}


/**
* =content
* @section General Layout
* @subsection Content
* --------------------------------------------------------------------------------------------------
*/
#content {
	position: relative; z-index: 50;
	clear: both;
	padding: 30px 0 0;
}
#content div.inner {
	overflow: hidden;
	padding: 0 0 15px;
	background: url(img/layout/bg-repeat.gif) repeat-y 100% 0;
}
	#content-primary,
	#content-secondary {
		position: relative;
		float: left;
		display: inline;
		margin: 0;
	}
	
	#content-primary {
		width: 400px; min-height: 10px;
		margin: 0 0 0 320px;
	}
		#content-primary .page-photo,
		#content-primary .single .hentry.story .page-photo {
			float: left;
			display: inline;
			width: 300px;
			margin: 0 0 0 -320px;
		}
			#content-primary .page-photo img {
				margin-bottom: 0;
			}
			#content-primary .page-photo .caption {
				margin: 10px 0 0;
				color: #05a9ce; font-size: 14px; line-height: 20px;
			}
			body.post-type-archive-story #content-primary .page-photo .caption {
				margin: 0; padding: 10px 10px 5px;
				color: #fff;
				background-color: #05a9ce;
			}
				body.post-type-archive-story #content-primary .page-photo .caption em {
					color: #000; font-style: normal; font-weight: bold;
				}
		
	#content-secondary {
		width: 200px;
		padding: 0 10px 0 20px;
	}
		#content-secondary .tel {
			margin: 0 0 5px;
		}
		#content-secondary .tel,
		#content-secondary .tel a,
		#content-secondary .tel a:visited {
			text-decoration: none; font-size: 28px; color: #05a9ce;
			letter-spacing: 0.05em; font-weight: bold; text-align: center; line-height: 1;
		}

		#content-secondary .section {}
	
	.alignright {
		float: right;
		margin: 0 0 0 10px;
	}
	.alignleft {
		float: right;
		margin: 0 10px 0 0;
	}
	.aligncenter {
		display: block;
		margin-left: auto; margin-right: auto;
	}
		
/* @group Captions */
#content .wp-caption {
	position: relative;
	margin: 0 0 10px;
}
	#content .wp-caption img {
		margin: 0;
	}
	#content .wp-caption .wp-caption-text {
		position: absolute; top: 100%; left: 0; zoom: 1;
		margin: -2em 1em 0;
		color: #fff; text-shadow: 0 0 5px #111;
		filter: glow(color=#111111,strength=2);
	}
	#content .wp-caption .wp-caption-text a,
	#content .wp-caption .wp-caption-text a:visited {
		font-weight: bold; text-decoration: none;
	}
	#content .wp-caption .wp-caption-text a:hover,
	#content .wp-caption .wp-caption-text a:focus,
	#content .wp-caption .wp-caption-text a:active {
		text-decoration: underline
	}
/* @end */



/**
* =footer
* @section General Layout
* @subsection Footer
* --------------------------------------------------------------------------------------------------
*/
#footer {
	position: relative; z-index: 100;
	clear: both;
}
#footer div.inner {
	position: relative;
	padding: 25px 0 0;
}
	#footer .contact,
	#footer-extra {
		position: relative;
		display: inline;
		border: 0 solid #ccc; border-width: 1px 0 0;
	}
	#footer .nav li,
	#footer .nav a,
	#footer .copyright {
		color: #6d6e71; font-size: 8px; text-transform: uppercase;
	}

	#footer .contact {
		float: left;
		width: 300px;
		margin: 0;
		font-weight: bold;
	}
		#footer .contact a {
			position: absolute; top: -2em; left: 0;
		}
		
	#footer-extra {
		position: relative; overflow: hidden;
		float: right;
		width: 630px;
		padding: 10px 0 0;
	}

	#footer-extra .nav {
		float: left;
		display: inline;
		margin: 0;
	}
		#footer .nav li {
			float: left;
			display: inline;
			margin: 0 5px 0 0;
		}
		#footer .nav li::after {
			content: "/";
			margin: 0 0 0 5px;
		}
		#footer .nav li:last-child::after {
			content: "";
		}
			#footer .nav a,
			#footer .nav a:visited {
				text-decoration: none;
			}
			#footer .nav a:hover,
			#footer .nav a:focus,
			#footer .nav a:active {
				text-decoration: underline;
			}
	

/**
* =homepage
* @section Homepage
* --------------------------------------------------------------------------------------------------
*/
body.homepage #content-primary {
	width: 720px;
	margin: 0;
}
	body.homepage #content-primary .hentry,
	body.homepage #content-primary .lede {
		float: left;
		display: inline;
	}
	body.homepage #content-primary .lede {
		width: 300px;
		padding: 0 20px 0 0;
	}
		body.homepage #content-primary .lede h1 {
			font-size: 25px; font-weight: 100; line-height: 32px;
			color: #51585a;
		}
		body.homepage #content-primary .lede h2 {
			margin: 0;
			font-size: 12px; font-weight: bold;
		}
	body.homepage #content-primary .hentry {
		float: left;
		display: inline;
		width: 400px;
	}
		body.homepage #content-primary .hentry h2 {
			margin-bottom: 10px;
		}


/**
* =page
* @section Miscellaneous Pages
* --------------------------------------------------------------------------------------------------
*/
body.template-page {}

/* @group Get in Touch */
#gform_1 {}
	#gform_1 textarea {
		height: 80px;
	}
	#gform_1 .gform_button {
		float: right;
		display: inline;
		padding: 6px 14px 4px 85px;
		color: #fff; font-weight: bold; font-size: 14px;
		background-color: #05a9ce;
		border: 0;
	}
/* @end */

/* @group Search */
body.search {}
	body.search #content .header {
		margin-bottom: 25px;
	}
		body.search #content .header h1 {
			margin-bottom: 2px;
		}
		
	body.search #content-primary .hentry {
		margin-bottom: 0;
	}
		body.search #content-primary .hentry .entry-title {
			margin-bottom: 3px;
		}
		body.search #content #content-primary .archive .hentry a,
		body.search #content #content-primary .archive .hentry a:visited {
			color: #05a9ce; text-decoration: underline;
		}
		body.search #content #content-primary .archive .hentry a:hover,
		body.search #content #content-primary .archive .hentry a:focus,
		body.search #content #content-primary .archive .hentry a:active {
			text-decoration: none;
		}
		body.search #content #content-primary .archive .hentry .entry-title,
		body.search #content #content-primary .archive .hentry .entry-summary {
			display: block;
			margin-left: 0;
		}
/* @end */


/**
* =stories
* @section Stories
* --------------------------------------------------------------------------------------------------
*/
/* @group Archive */
#content-primary .archive .hentry.story {
	position: relative; overflow: hidden;
	margin: 0 0 15px;
}
	#content-primary .archive .hentry.story a {
		display: block;
		text-decoration: none; color: #51585a;
	}
	
	#content-primary .archive .hentry.story .entry-title {
		display: none;
		margin: 0 0 5px;
	}
	#content-primary .archive .hentry.story .entry-summary p {
		margin: 0;
	}
	#content-primary .archive .hentry.story p.forename {
		color: #05a9ce;
	}
	#content-primary .archive .hentry.story a:hover p.forename,
	#content-primary .archive .hentry.story a:focus p.forename,
	#content-primary .archive .hentry.story a:active p.forename {
		text-decoration: underline;
	}
	#content-primary .archive .hentry.story .photo {
		float: left;
		display: inline;
		margin: 0;
	}
		#content-primary .archive .hentry.story .photo img {
			margin: 0;
		}
		
	#content-primary .archive .hentry.story.has-thumbnail .entry-title,
	#content-primary .archive .hentry.story.has-thumbnail .entry-summary,
	#content-primary .archive .hentry.story.has-thumbnail .forename {
		margin-left: 118px;
	}
/* @end */

/* @group Single */
#content-primary .single .hentry.story {
	overflow: visible;
}
	#content-primary .single .hentry.story .entry-title {
		display: block;
		margin-bottom: 20px;
	}
	#content-primary .single .hentry.story .entry-title,
	#content-primary .single .hentry.story .entry-summary,
	#content-primary .single .hentry.story .forename {
		margin-left: 0;
	}
/* @end */

/* @group Sidebar */
#content-secondary .hentry.story {
	margin: 0 0 15px;
}
	#content-secondary .hentry.story a,
	#content-secondary .hentry.story a:visited {
		position: relative;
		display: block;
		color: #fff; text-decoration: none;
	}
		#content-secondary .hentry.story img {
			display: block;
			margin: 0;
		}
		#content-secondary .hentry.story a:hover img,
		#content-secondary .hentry.story a:focus img,
		#content-secondary .hentry.story a:active img,
		#content-secondary .stories .hentry.story.active img {
			opacity: 0.4; filter: alpha(opacity=40);
		}
		#content-secondary .hentry.story .entry-title {
			/*position: absolute; */ top: 10px; left: 10px;
			color: #fff; font-weight: normal; text-decoration: none;
			text-shadow: 0 0 5px #111;
			filter: glow(color=#111111,strength=2);
		}
/* @end */