/*
 Theme Name:     Brecon Beacons theme (build 29)
 Description:    For Brecon Beacons' Wordpress site 2014
 Author:         Sam Wakeling
 Author URI:     http://www.onebrightspace.com
 Version:        1.29
*/
 
/* @import url("css/normalize.css"); */

/* Boxing clever with the boxmodel. */ 
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
 
body {
	font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-align: center;
	margin: 0;
	color: #444;
	overflow-x: hidden; /* Needs must, for IE8. */
}

@media only screen {
	body {
		overflow-x: auto; /* Back to normal. */
	}
}


#page {
	background: #fff;
	position: relative;
}
a {
	text-decoration: none;
}
input:focus { outline: none; }

.header-main {
		width: 100%;
		margin: 0 auto;
		text-align: left;
		position: relative;
}
#header-image{ 
		max-width: 1550px;
		background:  url(images/header-large.jpg) no-repeat center;
		background-size: cover;
		height: 313px;
		margin: 0 auto;
}
.home #header-image {
	display: none;
}

.site-description {
	display: none;
}

/* Screen readers */
.screen-reader-text {
	position: absolute;
	left: -99999em;	
}


/* Header contents */
#masthead {
	position: relative;
	height: 240px;
}
		
.site-title {
	margin: 0;
	text-indent: -99999em;
	/* background-color: #003380;
	background-color: rgba(0,51,128,0.7); */	
	background:  url(images/BBNPA-logo-en.png) no-repeat 12px 7px;
	height: 120px;
	width: 518px;
	margin: 0 0 35px 20px;
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -480px;
	top: 53px;
	z-index: 10;
	border-bottom: 0;
}
.home .site-title {	
	top: 0px;
}
.cy .site-title {
	background-image: url(images/BBNPA-logo-cy.png);
	height: 120px;
	width: 440px;
}
.site-title:hover {
	opacity: 0.8;
}
.site-title a {
	height: 109px;
	display: block;
	border-bottom: none;
}
#search-container {
	position: absolute;
	top: 0px;
	right: 50%;
	padding: 0 4px 0 0; 
	margin-right: -504px; 
	z-index: 165; 
	border-left: 1px solid #fff;
}

#search-container ::-webkit-input-placeholder {
   color: #6e87b5;
}
#search-container :-moz-placeholder { /* Firefox 18- */
   color: #6e87b5;  
}
#search-container ::-moz-placeholder {  /* Firefox 19+ */
   color: #6e87b5;  
}
#search-container :-ms-input-placeholder {  
   color: #6e87b5;  
}

.search-form label {
	margin-right: -8px;
	color: #fff;
}
.search-field {
	border: none;
	padding: 7px 10px;
	font-family: inherit;
	width: 212px;
	height: 42px;
	background: #26559c;
	color: #fff;
	border-radius: 0px;
    -webkit-appearance: none;
}

.search-field:focus {
	background-color: #cedff8; 
	color: #000;
}
.search-submit {
	background: #003380 url(images/search.png) no-repeat center;
	border: none;
	padding: 6px 10px;
	color: #fff;
	overflow: hidden;
	text-indent: 100em;
	font-family: inherit;
	cursor: pointer;
	width: 40px;
	height: 42px;
	border-radius: 0px;
}

.search-submit:hover {
	background-color: #002763;
}


#top-strip {
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -500px;
	width: 1000px;
	border-bottom: 6px solid #fff;
	background: #3e5678;
	height: 42px; /* 48px; */
}
.home #top-strip {
	height: 0px;
	border-bottom: none;
}

#header-links {
	position: absolute;	
	right: 250px;
	font-size: 85%;
	height: 42px;
	z-index: 170;
	top: 0px; 
	text-align: right;
	background-color: #003380;
	background: rgba(0, 51, 128, 0.7);
}

.home #header-links {
	right: 0px;
}
#header-links ul {
	list-style: none;
	margin: 12px 15px;
	padding: 0;
}
#header-links ul li {
	display: inline-block;
	float: left;
	margin: 0 1em;
}
#header-links a {
	color: #fff;	
	border-bottom: 2px solid transparent;
}
#header-links a:hover {
	border-bottom: 2px solid #fff;
}

/* Main nav menu bar in header */
.menu-toggle {
	display: none;
}

	
.nav-menu {
	background: #26559c;
	color: #fff;
	list-style: none;
	height: 42px;
	z-index: 160;
	position: relative;
	margin: 0;
	font-size: 90%;
	padding: 0;
}
.nav-menu a {	
	color: #fff !important;
	text-decoration: none;
	border-bottom: none;
	padding: 10px;
	display: block;
	height: 42px;
}


.nav-menu li {
	float: left;
	background: #26559c;
	border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-menu .children {
	display: none;	
	padding:0;
	width: 230px;
}
.nav-menu .children li {
	float: none;	
	list-style: none;
}
.nav-menu li:hover .children {
	display: block;
	position: absolute;
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.children-expanded {
	display: block !important;
	position: absolute;
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.nav-menu-expand-btn {
	border:0;
	padding:0;
	padding-right:4px;
	background-color:rgba(0,0,0,0);
}
.visuallyhiddenstyle {
	border: 0;    clip: rect(0 0 0 0);    height: 1px;    margin: -1px;    overflow: hidden;    padding: 0;    position: absolute;    width: 1px;
}
.nav-menu .children a {
	padding: 7px 15px;
	height: auto;
	line-height: 1.1;
}
.nav-menu .children li:last-child a {
	padding-bottom: 16px
}


.nav-menu .current-page-ancestor,
.nav-menu .current_page_item,
.nav-menu > li:hover {
	z-index: 10000;
	position: relative;
	transition: background 0.15s;
}

/* Page columns layout */


#main {	
	background: #fff;
	overflow: auto;
	width: 1000px;
	margin: 0 auto;
	text-align: left;
	padding: 0px 250px 0 230px;
	position: relative;
}


	


#main-content {
	float: left;
	position: relative;	
	width: 470px;
	margin: 30px 20px 10px;
}

#main-content.no-right-col {
	width: 720px;
	margin-right: -230px;
}
	
#main-content.full-width-page {
		width: 1000px; 
		margin: 0 -230px 0;
}
.page-template-page-templateswebcams-php #main-content {	
		margin: 0px 20px;
}
.page-template-page-templateswebcams-php #main {	
		padding: 0px 0 0 0;
		overflow-x: hidden;
}
.page-template-page-templateswebcams-php #content {	
		position: relative;
		left: -20px;
}
#webcam-map-area {
	left: 0 !important;
}

#content {
	overflow: auto;
	position: relative;
}


#left-column {
	float: left;
	position: relative;
	width: 225px;
	margin-left: -100%;
	right: 210px;
	margin-right: -230px;
	margin-bottom: 25px;
}
#secondary {
	/* right column */
	width: 250px;
	float: left;
	overflow: auto;
	margin-top: 95px;
	margin-right: -260px;
}
#secondary .navigation {
	margin-bottom: 15px;
}

#content h2 {
	line-height: 1.4;
	margin-bottom: 0.4em;
	margin-top: 1.2em;;
}
#content h2 + p {
	margin-top: 0.4em;
}


#content hr {
	border: 0;
	border-top: solid 1px #bbb;
	margin: 1.5em 0;
}

/* external link styles */
.en .content-area a[href*="//"]:not([href*="beacons-npa.gov.uk"]) {	
	margin-right: 20px;
}
.en .content-area a[href*="//"]:not([href*="beacons-npa.gov.uk"]):after {
	background: url(images/icons.png) no-repeat -6px -319px;
	display: inline-block;
	content: "";
	width: 15px;
	height: 20px;
	position: relative;
	right: -20px;
	margin-left: -15px;
}
.cy .content-area a[href*="//"]:not([href*="bannaubrycheiniog.org"]) {	
	margin-right: 20px;
}
.cy .content-area a[href*="//"]:not([href*="bannaubrycheiniog.org"]):after {
	background: url(images/icons.png) no-repeat -6px -319px;
	display: inline-block;
	content: "";
	width: 15px;
	height: 20px;
	position: relative;
	right: -20px;
	margin-left: -15px;
}

.main-content img.alignleft {
	float: left;
	margin: 0 10px 7px 0;
}
.main-content img.alignright {
	float: right;
	margin: 0 0 7px 10px;
}
.main-content img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;	
}

table.plain {
	border-collapse: collapse;	
	border: 1px solid #ccc;
}
table.plain td {
	border: 1px solid #ccc;
	padding: 5px;
}
table.plain th {
	padding: 5px;
	background: #eee;
}


/* Widget boxes in side column */

#secondary .widget_brecon_featured_page {
	width: 100%;
	float: none;
	margin: 0;
	margin-bottom: 10px;
}

.widget {
	margin: 0 0 15px 0;
	overflow: auto;
	border-bottom:1px solid #ddd;
	clear: both;
}

.widget p {
	text-align: left;
	margin: 0.5em 15px;
}

.widget {
	border-top: 2px solid #6393db;	
}

.widget-title {
	background-color: #f8f8f8;
	padding: 12px 15px 8px;
	margin: 0;
	font-weight: normal;
	font-size: 100%;
}

.content-sidebar { 
	margin-top: 8px;
}
.home .content-sidebar { 
	margin-top: 0px;
}


/* Tweaks for image widget plugin output */
.widget.widget_sp_image {
	overflow: visible;
}
.widget_sp_image img {
	height: auto; 
}
.widget_sp_image a {
	border-bottom: none;   
}



.widget_visitorsite_widget {
	border: 2px solid #746859;
	background: #e1e1d7;
	position: relative;
	font-size: 90%;	
}

.widget_visitorsite_widget h1 {
	background: #312414;
	background: rgba(49,36,20,0.8);
	color: #fff;
	font-size: 150%;	
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}
.visitbg {
	background: #312414 url(images/visitors.jpg) no-repeat right;
	padding-top: 60px; 
}
.overlay {
	color: #fff;
	width: 10em;
	background: #312414;
	background: rgba(49,36,20,0.8);
	padding: 5px 15px;
	
	position: relative;
	left: -15px;
}
.visitorsite a {
	border-bottom: none;
}

.visitorsite a:hover {
	border-bottom: 1px solid;
}

.widget_geopark_widget {
	background: #834942;
	color: #fff;
	border: 0;
	padding: 0;
	font-size: 90%;
}

.geopark-logo {
	background: url(images/geopark.png) no-repeat center;
	border-bottom: none;
	display: block;
	height: 90px;
	width: 100%;	
}

.geo-details {
	background: #c4aca9;
	overflow: auto;
}
#content-sidebar .geo-details {
	font-size: 90%;
}


.geo-details a {
	border-bottom: none;
}
.geo-details a:hover {
	border-bottom: 1px solid;
}

.widget_bbnp_latest_news {
	float: left;
	/* margin: 0 5px 15px 5px; */
	font-size: 95%;
}

.widget_bbnp_latest_news.widget ul {
	margin: 0;
	padding: 0; 
}
.widget_bbnp_latest_news li {
	border-bottom: 1px solid #eee;
	margin: 0;
	padding: 5px 15px ;
}
.widget_bbnp_latest_news h3 {
	margin: 0px 0 5px 0;
	font-size: 100%;
	font-weight: normal;
}
.widget_bbnp_latest_news h3 a {	
	border-bottom: none;
}
.widget_bbnp_latest_news h3 a:hover {	
	border-bottom: 1px solid;
}
.widget_bbnp_latest_news li p {
	margin: 0;
	font-size: 85%;
}
.newsDate {
	font-size: 90%;
	color: #888;
	margin-right: 14px; 
}
.allNewsLink {
}


a.external-icon {
	background:  url(images/icons.png) no-repeat  right -324px;
	padding-right: 30px;
}

/* Shop link widget */

.widget_bbnp_shop_link {
	border: none;
}
.shopLinkBox {
	display: block;
	border: none;
	background: url(images/maps.jpg) no-repeat top right;
	padding: 1px 0 10px 0;
	width: 100%; 
}
.widget_bbnp_shop_link h2 {
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 170%;
	margin: 10px 0 10px;
	border-bottom: 1px solid #fff;
	display: inline-block;
	color: #225eb9;
}
.widget_bbnp_shop_link p {
	margin: 0;
	font-size: 80%;
	color: #888;
}

.shopLinkBox:hover h2 {
	color: #5196ff; 
	border-bottom: 1px solid;
}

.shopLinkBox:active h2 {
	color: #000;
}
.shopLinkBox:hover p {
	color: #5196ff; 
}
.shopLinkBox:active p {
	color: #000; 
}


/* Twitter widget */
.textwidget {
	margin: 10px 15px;
	font-size: 95%;
}
.twitterwidget {
	overflow: hidden;
	padding: 5px 15px 0;
}
.twitterwidget iframe {
	width:auto;
	height:auto 
}

.webcamwidget  {	
	text-align: center;
}
.webcamwidget img {
	width: 100%;
	display: block;
	max-width: 450px;
	border:  none;
}
.webcamwidget a {
	border-bottom: 0;
}
.icon.webcam {
	background-position: 5px -97px;	
	margin: -6px 2px -8px -12px;
}

.widget ul {
	list-style: none;
	padding: 0 15px;
	margin: 10px 0 15px;
}

.widget ul li {
	margin: 6px 0;
}

.widget .featuredlinks {
	padding: 0;
	margin: 0;
	font-size: 90%;
}
.featuredlinks li {
	border-bottom:1px solid #eee;
	padding: 3px 10px 7px 40px;
	position: relative;
}

.featuredlinks li .icon {
	position: absolute;
	top: 0px;
	left: 0;	
}
.featuredlinks li:last-child {
	border-bottom: none;
	padding-bottom: 4px;
}
.featuredlinks a {
	border-bottom: none;
}
.featuredlinks a:hover {
	border-bottom: 1px solid;
}

.icon {
	display: inline-block;
	width: 35px;
	height: 30px;
	background: url(images/icons.png) no-repeat;
}

.icon.none {
	background-position: 6px -286px;
}
.icon.calendar {
	background-position: 6px -131px;
}
.icon.building {
	background-position:  6px -173px;
}
.icon.person {
	background-position:  6px -214px;
}

.icon.pdf {
	background-position:  6px -390px;
}
.icon.doc {
	background-position:  6px -355px;
}

.attachedDocs .icon {
	position: relative;
	top: 10px;
}
.attachedDocs {
	list-style: none;
}

#nav-holder .left-nav {
	display:none; 
}

.left-nav {
	margin: 26px 0;
	list-style: none;
	padding: 0;
	border-left: 8px solid #888888;
}


.left-nav .sectionTitle a {
	padding: 23px 15px 15px 15px;
	font-size: 150%;
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
		border-bottom: 2px solid #6393db;
	margin-left: 2px;
	color: #888;
	background: #fff;
	letter-spacing: 0.04em;
}

/* Coloured sections */

.nav-menu > li:nth-child(1):hover,
.nav-menu > li:nth-child(1) li,
.nav-menu > li:nth-child(1).current-page-ancestor,
.nav-menu > li:nth-child(1).current_page_item {
	background:#114698;
}

/* The Authority */
.left-nav.section-2929,
.left-nav.section-3997 {
	border-left-color: #004dc2;
}
.left-nav.section-2929 .sectionTitle a,
.left-nav.section-3997 .sectionTitle a {
	color: #004dc2;	
}
.nav-menu > li:nth-child(2):hover,
.nav-menu > li:nth-child(2) li,
.nav-menu > li:nth-child(2).current-page-ancestor,
.nav-menu > li:nth-child(2).current_page_item {
	background:#004dc2;
}

/* Environment */
.left-nav.section-2932,
.left-nav.section-4000 {
	border-left-color: #81db00;
}
.left-nav.section-2932 .sectionTitle a,
.left-nav.section-4000 .sectionTitle a {
	color: #64a901;	
}
.nav-menu > li:nth-child(3):hover,
.nav-menu > li:nth-child(3) li,
.nav-menu > li:nth-child(3).current-page-ancestor,
.nav-menu > li:nth-child(3).current_page_item {
	background:#81db00;
}



/* Planning */
.left-nav.section-17512,
.left-nav.section-17513 {
	border-left-color: #00aef7;
}
.left-nav.section-17512 .sectionTitle a, 
.left-nav.section-17513 .sectionTitle a {
	color: #00aef7;	
}
.nav-menu > li:nth-child(4):hover,
.nav-menu > li:nth-child(4) li,
.nav-menu > li:nth-child(4).current-page-ancestor,
.nav-menu > li:nth-child(4).current_page_item {
	background: #00aef7;
}

/* Learning */
.left-nav.section-2935,
.left-nav.section-4003 {
	border-left-color: #2ecaa8;
}
.left-nav.section-2935 .sectionTitle a, 
.left-nav.section-4003 .sectionTitle a {
	color: #2ecaa8;	
}
.nav-menu > li:nth-child(5):hover,
.nav-menu > li:nth-child(5) li,
.nav-menu > li:nth-child(5).current-page-ancestor,
.nav-menu > li:nth-child(5).current_page_item {
	background: #2ecaa8;
}

/* Communities */
.left-nav.section-2938,
.left-nav.section-4006 {
	border-left-color: #ffcc00;
}
.left-nav.section-2938 .sectionTitle a,
.left-nav.section-4006 .sectionTitle a {
	color: #e5cd00;	
}
.nav-menu > li:nth-child(6):hover,
.nav-menu > li:nth-child(6) li,
.nav-menu > li:nth-child(6).current-page-ancestor,
.nav-menu > li:nth-child(6).current_page_item {
	background:#ffcc00;
}

.nav-menu li a {
	background: rgba(0,0,0,0.07);
}
.nav-menu li a:hover {
	background: rgba(0,0,0,0);
}
.nav-menu > li > a, 
.nav-menu > li > a:hover {
	background: none;
}

/* Navigation tree on left of content pages */

.left-nav  a {
	background: #eee;
	display: block;
	padding: 7px 15px;
	margin:1px 0 0 0;
	border: none;
	line-height: 1.3;
}
.left-nav a:hover {
	background: #f8f8f8 !important;
}
.left-nav a:active {
	color: #000;
}

.left-nav ul.children {
	
	list-style: none;
	padding: 0;
}

.left-nav   ul.children ul.children a {	
	border-left: 2px solid #ddd;
}
.left-nav  ul.children ul.children .current_page_item > a {	
	border-left: 6px solid #ddd;
}
.left-nav  ul.children ul.children {
	border-bottom: 1px solid #ddd;
	padding-bottom: 0px;
	margin-bottom: 4px;
	margin-left: 15px;
}
.left-nav ul.children ul.children > a {
	padding-left: 10px;
	border-left: 2px solid #ddd;
	margin-left: 15px;
}
.left-nav  ul.children ul.children ul.children {
	margin-left: 0px;
	border-bottom: none;
}
.left-nav  ul.children ul.children ul.children a {	
	padding-left: 10px;
	margin-left: 15px;
}

.left-nav  ul.children a {
	background: #fff;	
	margin: 0 0 0 0;
}
.left-nav .current_page_item > a,
.left-nav .current_page_ancestor > a {
	font-weight: bold;
}

.left-nav .current_page_ancestor > a {
	background: #eee;
}

.left-nav .current_page_item > ul.children,
.left-nav .current_page_ancestor > ul.children {
	display: block;	
}


/* Content */

.entry-title, .page-title {
	color: #666;
	font-weight: 200;
	line-height: 1;
	font-size: 200%;
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
		margin: 15px 0 10px;
}
h2 {
	color: #666;
	font-weight: normal;
	line-height: 1.1;
	font-size: 140%;
}

a {
	text-decoration: none;
	color: #225eb9;
	border-bottom: 1px solid #ccc;
}
a:visited {
	color: #4d22b9;
}
a:hover {
	color: #5196ff;
	border-color: #5196ff;
}
a:active {
	color: #000;
}

.attachment-post-thumbnail,
.post-thumbnail img {
	margin-top: 8px;
	width: auto;
	max-width: 100%;
	height: auto;
}



.page iframe {
	width: 100%;
}

/* iFrames */

iframe {
	border:none;
}


/* Forms */


fieldset { 
	border: 0;
	border-top: 2px solid #6393db;
	border-bottom: 1px solid #ddd;
	border-radius:0;
	background-color:#fff;
}
fieldset ul {
	list-style: none;
	padding: 0;
}
fieldset li {
	margin: 5px 0;
}
fieldset li:after {
	content: '';
	display: block;
	clear: both;
	width: 100%;
}
fieldset label {
	width: 40%;
	display: block;
	float: left;
	clear: left;
	line-height: 1.1;
}
fieldset input,
fieldset textarea,
fieldset select {
	padding: 3px 0;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: none repeat scroll 0 0 #fafafa;
	float: left;
	width: 250px;
	padding: 8px 5px;
	color: #555;
	font-family: inherit;
}
fieldset  input[type="submit"],
fieldset  input[type="submit"].vfb-submit {
	/*margin: 0px 0 0 40%;*/ 
	width: auto;
	-webkit-appearance: none;
}



/* VFB Forms */

.visual-form-builder fieldset{
	border: 0;
	border-top: 2px solid #6393db;
	border-bottom: 1px solid #ddd;
	border-radius:0;
	background-color:#fff;
}

.visual-form-builder .vfb-legend {
	margin: 0 0 12px 0;
	padding: 5px 14px;
	border-bottom: 0;
	color: #900;
	font-size: inherit;
	background: #f8f8f8;
}

.visual-form-builder .vfb-legend h3 {
	color: #666;
	font-weight: normal;
	font-size: 130%;
	margin: 0;
}

.visual-form-builder label, label.vfb-desc {
	color: #444;
	font-size: 115%;
	padding: 8px 0;
}

.vfb-span label,
.vfb-left label,
.vfb-right label,
.vfb-item span label {
	width: auto;
}
.vfb-item-instructions label.vfb-desc {
	width: 100%;	
}

.visual-form-builder li div label, .visual-form-builder li span label {
	color: #777;
	font-size: 100%;
	font-style: italic;
	padding: 2px 0 14px 0;
}

/* radio labels */
.visual-form-builder label.vfb-choice {
	font-style: normal;
	color: inherit;
	padding-right: 15px;
}
.visual-form-builder label.vfb-choice:hover {
	color: #000;
	text-decoration: underline;
}


.visual-form-builder.left-label 
.vfb-item-instructions {
	border-left: 6px solid #eee;
	padding-left: 20px;
	font-style: italic;
}
.visual-form-builder.left-label 
.vfb-item-instructions label.vfb-desc {
	display: block;
	width: 100%;
	font-style: normal;
}

.visual-form-builder span.vfb-left {
	clear: both;
}

input.vfb-text, 
input[type="text"].vfb-text, 
input[type="tel"].vfb-text, 
input[type="email"].vfb-text, 
input[type="url"].vfb-text, 
textarea.vfb-textarea {
	padding: 8px 5px;
	font-size: 110%;
	
}
select.vfb-select {
	padding: 8px 25px 8px 5px;
	width: auto;
}

label.vfb-error {
	color: #b00 !important;
	font-weight: normal;
	font-style: normal !important;
	font-size: 100%;
	margin-left: 40%;
	padding-left: 0px;
}

input.vfb-text.vfb-error, 
input[type="text"].vfb-text.vfb-error, 
input[type="tel"].vfb-text.vfb-error, 
input[type="email"].vfb-text.vfb-error, 
input[type="url"].vfb-text.vfb-error, 
select.vfb-select.vfb-error, 
textarea.vfb-textarea.vfb-error {
	border: 2px solid #b00;
}

.visual-form-builder label .vfb-required-asterisk {
	color: #bbb;
	font-size: 160%;
}

/* Overrides to remove borders and padding on checkboxes and radio inputs */
input.vfb-checkbox, 
input[type='checkbox'].vfb-checkbox, 
input.vfb-radio, 
input[type='radio'].vfb-radio {
	width: auto;
	height: auto;
	padding: 0;
	border: none;
	background: none;
}


/* Submit button */
.vfb-submit, input[type="submit"].vfb-submit {
	font-size: 1.2em;
	background: #0056d8;
	border: none;
	padding: 10px 50px;
	border-radius: 4px;
	color: #fff;
	font-family: inherit;
	margin:20px 0 10px ;
	position: relative;
}
.vfb-submit, input[type="submit"].vfb-submit:hover {
	background: #1872f9;
	cursor: pointer;
}
.vfb-submit, input[type="submit"].vfb-submit:active {
	background: #0045ae;
}

.vfb-form-success {
	font-weight: normal;
	color: inherit;
	padding: 2em ;
	background : #f8f8f8;
}



/* Folder pages */

.widget_fpw_widget {
	float: left;
	width: 275px;
	margin: 0 15px 15px 0;
}

.fpw-widget-page {	
	padding: 0 0 15px 0;
}

.fpw-page-title {
	margin: 15px 0 0 0 !important;
}
.fpw-page-title, 
.fpw-excerpt {
	padding: 0 10px;	
	font-family: inherit;
}

.size-fpw_banner img {
	width: 100%; 
}

.fpw-featured-image {
	max-height: 170px !important;
	overflow:hidden;
}

.fpw-excerpt p {
	margin: 10px 0 0 0;	
}

.edit-link a{
	border: 1px solid #26559c;
	padding: 5px 50px;
	display: inline-block;
	margin-bottom: 20px;
	border-radius: 3px;
	opacity: 0.9;
}
.edit-link a:hover {
	background: #96bbf4;
	color: #fff;
}
.edit-link a:active {
	background: #26559c;
}


/* Front page */


.home #masthead {
	position: relative; 
	z-index: 10;
	max-width: 80%;
	margin: 0 auto;
}

#slider-white-block {
	background: #fff;	
	height: 100px;
	width: 1230px;
	position: absolute;
	top: 400px;
	left: 50%;
	margin-left: -615px;
}

.home #primary-navigation {
	position: relative;
	top: 245px;
}
.home .header-main {
		background:	none;
		height: 0;
}

.home #search-container {	
	top: 245px;	
}

	
.home #main {
	top: 0px;
	margin-bottom: 270px;
}
.home #secondary {
	margin-top: 10px;
	z-index: 0;
	position: relative;
}

.home #left-column {
	z-index: 0;
	position: relative;
	margin-top: 10px;
	right: 230px;
}


.home #main-content {
	width: 500px;
		margin: 60px 0 0 20px;
	position: relative;
}
.home #content-sidebar {
	margin-right: 30px;
}
#slideshow-holder {
	background: #ccc;
	height: 240px;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 1000px;
	left: 50%;
	margin-left: -500px;
}
#slider {
	background: #eee url(images/slide-1.1.jpg) no-repeat top;
	background-size: cover;
	width: 1000px;
	height: 330px;
	float: left;
	margin: 0px 0 0px -500px;
	z-index: 0;
	top: 0;
	left: 50%;
	position: absolute;
}

.flexslider {border: 0px;  
	-webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; 
	box-shadow: 0; -webkit-box-shadow: 0; -moz-box-shadow: 0; -o-box-shadow: 0; 
	box-shadow: none;
}

.flex-control-nav {display: none;}

.flexslider .slide {
	overflow: hidden;
	height: 330px;
}
.flex-direction-nav .flex-next {background-position: 100% 0; right: 0px; }
.flex-direction-nav .flex-prev {left: 0px;}

.flexslider:hover .flex-next { right: 35px;}
.flexslider:hover .flex-prev { left: 35px;}

.flexslider .slides img { width: 1100px;  height: auto; }

.slide-data { 
	bottom: 105px; 
	left: auto;
	right: 15px; 
	background: rgba(0,0,0,0.4); 
	font-size: 70%; 
		text-align: right;
		max-width: 500px;
}
.slide-data h2 {
	margin-bottom: 4px !important;
}


.flex-direction-nav a {
	border: none;
}

.widget_bbnpfacebook_widget {
	width: 458px !important;
	overflow:hidden;
	border-top: none;
	clear: left;
	min-height:341px;
	margin-left: 5px;
	margin-right: 5px;
}
.widget_bbnpfacebook_widget h1 {
	background: #114698 url(images/icons.png) no-repeat 5px -257px; 
	color: #fff;
	font-size: 85%;
	padding: 6px 40px;
	 z-index: 1; 
	position: relative;
}

.widget_bbnpfacebook_widget #facebookwidget {
	position: relative;
	top: -68px;
	margin-bottom: -93px;
	color: #ccc;
	overflow-y:auto;
	overflow-x:hidden;
}

 #facebookwidget iframe {
 
 }
.widget_bbnpmap_widget .widget-title {
	z-index: 1000;
	position: relative;
	background-color: #f8f8f8;
	background: rgba(248,248,248,0.85);
}

.map {
	background: #dae8ef url(images/map2.png) center right no-repeat;
	height: 219px;
	display: block;
	text-align: center;
	color: #fff;
	margin: -50px 0 -36px 0;
	border-bottom: none;
}
.mapwidget p {	
	background-color: #f8f8f8;
	background: rgba(248,248,248,0.85);
	margin: 0px;
	height: 38px;
	padding: 5px 15px;
}
.mapwidget a {
	border-bottom: none;
}
.mapwidget a:hover {
	border-bottom: 1px solid;
}

/* Brecon featured page widget */


#content-sidebar .widget {
	width: 224px; 
	float: left;
	margin: 0 5px 15px 5px;
	border-top: none;
		font-size: 85%;	
}
.home .widget_brecon_featured_page{
	width: 224px;
	background: #f8f8f8;	
}
.home .widget_brecon_external_page {
	background: #f8f8f8;		
}
.widget_brecon_featured_page .featured-page {
	overflow: auto;
	padding-bottom: 6px;
	border-top: 2px solid #6393db;
}
.widget.widget_brecon_external_page {
	border-top: 2px solid #6393db !important;
}

.widget_brecon_featured_page .featured-page.has-image {
	border-top: none;
}

.featured-page .thumbnail {
	height: 140px;
	margin-bottom: -39px;
	background-repeat: no-repeat;
	background-position: 50% 30%;
	background-size: cover;
	background-color: #eee;
}

.widget_brecon_featured_page a {
	border:none;
}
.widget_brecon_featured_page a:hover .featured-page,
.widget_brecon_external_page a:hover .featured-page {
	background: #f8f8f8; 
}
.home .widget_brecon_featured_page a:hover .featured-page {
	background: #eee; 
}
.widget_brecon_featured_page a:hover h2,
.widget_brecon_external_page a:hover h2 {
	text-decoration: underline;
}

.widget_brecon_featured_page a:hover h2,
.widget_brecon_external_page a:hover h2 {
	background: #ddd; 
}

.widget_brecon_featured_page a:hover img {
	opacity: 0.9;
}
.widget_brecon_featured_page h2,
.widget_brecon_external_page h2 {
	margin: 0;
	padding: 0.7em 15px;
	font-size: 120%;
	background: #f8f8f8;
	background: rgba(240,240,240,0.85);
	background: -webkit-linear-gradient( rgba(240,240,240,0.8), rgba(240,240,240,1), rgba(240,240,240,1));
	background: -moz-linear-gradient( rgba(240,240,240,0.8), rgba(240,240,240,1), rgba(240,240,240,1));
	background: -o-linear-gradient( rgba(240,240,240,0.8), rgba(240,240,240,1), rgba(240,240,240,1));
	background: linear-gradient( rgba(240,240,240,0.8), rgba(240,240,240,1), rgba(240,240,240,1));
	z-index:1;
	position: relative;
}

.home .widget_brecon_featured_page h2,	
.home .widget_brecon_external_page h2 {	
	background: #26559c;
	background: rgba(38,85,156,0.85);
	background: -webkit-linear-gradient(rgba(38,85,156,0.75), rgba(38,85,156,1), rgba(38,85,156,1));
	background: -moz-linear-gradient(rgba(38,85,156,0.75), rgba(38,85,156,1), rgba(38,85,156,1));
	background: -o-linear-gradient(rgba(38,85,156,0.75), rgba(38,85,156,1), rgba(38,85,156,1));
	background: linear-gradient(rgba(38,85,156,0.75), rgba(38,85,156,1), rgba(38,85,156,1));
	color: #fff;
}
.home .widget_brecon_external_page h2 {
	background: #26559c;
}
.home .widget_brecon_featured_page a:hover h2,	
.home .widget_brecon_external_page a:hover h2 {	
	background: #26559c;
}
.widget_brecon_featured_page img {
	width: 100%;
	height: auto;
	margin-bottom: -0.3em;
	z-index:0;
	position: relative;
}
.widget_brecon_featured_page .excerpt {
	font-size: 95%;
	margin: 5px 15px;
	color: #444;
}

/* Footer */

.site-footer {
	clear: both;
	margin: 60px 0 -80px;
}

.footer-liner {
	background: #cedff8 url(images/footer.png) no-repeat;
	padding: 85px 20px 3px 30px;
	max-width: 1200px;
	margin: 20px auto 0;
	text-align: right;
	outline: 20px solid #fff;
	z-index: 2;
	position: relative;
}

#footerbg {
	background: #e7f0fc;
	width: 100%;
	height: 80px;
	position: relative;
	z-index: 1;
}

.footer-links {
	list-style: none;
	margin: 0 0 30px 0;
	padding: 0;
	font-size: 90%;
}
.site-footer a {
	border-bottom: 1px solid #cedff8;
	display: inline-block;
}
.site-footer a:hover {
	border-bottom: 1px solid;
}
.footer-links li {
	display: inline;
	margin: 0 0 0 20px;
}
.site-footer p {
	font-size: 75%;	
	opacity: 0.7;
}

.footer-icon {
	overflow: hidden;
	display: inline-block;
	text-indent: 100em;
	width: 30px;
	height: 30px;
	background: url(images/icons.png) no-repeat;
	margin: 0 -8px -13px 18px;
	border-bottom: none !important;
	transition: opacity 0.2s;
	opacity: 0.5;
}
#facebook-link {
	background-position: 0 -35px;
}
 
.footer-icon:hover {
	opacity: 1;
}
 
#gototop {
	background: url(images/icons.png) no-repeat right -70px;
	padding-right: 20px;
} 
 
.site-footer .breathing-spaces {
	float: left;
	color: #fff;
	width: 360px;
	height: 45px;
	margin: -61px 0 0 70px; 
	line-height: 5;
	text-indent: 2000em;
	overflow: hidden;
	background: url(images/Breathing-Spaces-trans.png) no-repeat;
	opacity: 0.8;
}
.site-footer .breathing-spaces.cy {	
	background: url(images/Breathing-Spaces-trans-cy.png) no-repeat;
}
.site-footer .breathing-spaces:hover {
	opacity: 1;	
}
.site-footer .breathing-spaces a {
	display:block;
	border-bottom: none;
	height: 45px;
}


/* Special pages */

.errorcode {
	color: #eee;
	font-size: 600%;
	font-weight: 100;	
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
		margin: 0;
	text-align: center;
}

/* Search results */
.search-listing {
	margin: 1.8em 0;
	padding-left: 20px;
}

.search-listing h2 {
	margin-bottom: 5px;
	margin-left: -20px;
	line-height: 1.2;
}
.search-listing h2 a {
	border-bottom: none;
}
.search-listing h2 a:hover {
	border-bottom: 1px solid;
}
.page-address {
	margin: 0 0 5px -20px;
	font-size: 70%;
	color: #bbb;
}
.search-thumb {
	border-bottom: none;
}
a img {
	border: none;
}

.search-listing .mod-date {
	color: #888;
	font-size: 110%;
	margin-right: 15px; 
}
.search-listing p {
	margin-top: 0;
}

.results-count {
	border-top:1px solid;
	padding-top: 10px;
	text-align: center;
	color: #bbb;
	font-size: 80%;
}

.nav-more {
	float: right;
}
.nav-prev {
	font-size: 90%;
}

/* Contact page */

.contact-us #content {
	margin: 30px 20px 0 0;
	padding-left: 280px;
	position: relative;
}
.contact-us h2 {
	padding-bottom: 5px; 	
	border-bottom: 2px solid #6393db;
	clear: left;
}

.contact-us h3 {
	font-weight: normal;
	color: #888;
}
.main-contact-details {
	float: left;
	width: 360px;
}
.main-contact-form {
	float: left;
	height: 450px;
	width: 300px;
	margin: 0 0 15px 40px;
}

.stubForm {
	border: 2px dashed #ddd;
	padding: 80px;
	text-align: center;
}

.main-contact-form .vfb-legend {
	display: none;
}

.main-contact-form .visual-form-builder fieldset{
	border-top: 0;
	border-bottom: 0;
	margin: 0;
	padding: 0;
}

.contact-us form.visual-form-builder {
	margin: 0;
}

.contact-us .visual-form-builder ul {
	margin: 0 !important;
	padding: 0 !important;
}

.contact-us .vfb-item-text {
	padding: 5px 0 5px 45% !important;
	position :relative;
}
.contact-us .vfb-item-textarea {
	padding: 5px 0 5px 0 !important;
	position :relative;
}
.contact-us .vfb-item-text label {
	position: absolute;
	left: 0;
	top: 8px; 
	padding: 0;
	font-weight: normal;
}

.contact-us .vfb-item-textarea label {	
	padding: 0;
	font-weight: normal;
	position: absolute;
}
.contact-us label.vfb-error  {
	position: relative;
	left: 0;
	top: 0px; 
	font-size: 90%;
	margin-left:0;
}
.contact-us .vfb-item-text input {
	width: 100%;
}
.contact-us .vfb-item-textarea textarea {
	height: 80px;
	margin: 0 0 0 45%;
	width: 55%;
}

.contact-us .vfb-item-textarea label.vfb-error  {
	margin-left: 45%;
	display: block
}

.contact-us .vfb-item-submit {
	padding: 0 !important;
}

.contact-us input[type="submit"].vfb-submit 
/*input[type="submit"].vfb-submit */{
	margin: 10px 0 0 45%;	
}
h2 .icon.email {
	position: relative;
	top: 11px;
	left: 3px;
	margin-top: -6px;
	margin-right: 4px;
}

.phone-number {
	font-size: 140%;
	margin: 0.5em 0;
	border-bottom: none;
	color: inherit;
}
.icon.phone {
	background-position: 0 -425px;	
}
.icon.email {
	background-position: 0 -474px;	
}
.phone-number .icon.phone {
	position: relative;
	top: 2px;
}
.fax-number {
	font-size: 80%;
	color: #bbb; 
}
.other-contacts {
	margin: 0 0 10px 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #ccc;
	overflow: auto;
}

.other-contacts .maparea {
	height: 240px;
	width: 300px;
	float: right;
	margin: 0 0 0 20px;
}
.other-contacts .icon.email {
	position: relative;
	top: 13px;
	left: -32px;
	margin: 0 -35px 0 0 ;
}
.other-contacts .emailLink {
	margin-left: 32px;
	position: relative;
}

.other-contacts .emailLink:after {
	display: inline-block;
	width: 23px;
	height: 23px;
	background: url(images/menu-icons.png) -2px -52px;
	-webkit-filter: invert(1);
	opacity: 0.2;
	-webkit-transform: rotate(180deg);
	border-radius: 50px;
	content: "";
	position: absolute;
	top: 0px;
	right: -30px;
	transition: all 0.5s;
}


.other-contacts.formShown .emailLink:after {	
	-webkit-transform: rotate(0deg);
	opacity: 0.1;
}

.maparea {
	width:240px;
	height: 300px;
	background: #eee;
}

#first-contact-map {
	position: absolute;
	left: 10px;
	top: 70px;
}

.hiddenForm {
	display: none;
}




/* Modern Gov extras */

.modern-gov #left-column {
	margin-top: 30px;
}

/* LDP search output fixes */

#ldp-search-results pre,
#ldp-search-results code {
	font-family: inherit;
	white-space: normal;
}




/* ModernGov template 
*************************************************************
*/

.modern-gov #left-column ul:before {
	content: 'Members and committees';
	display: block;
	padding: 21px 0px 18px 15px;
	font-size: 123%;
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
		border-bottom: 2px solid #6393db;
	margin-left: 2px;
	line-height:1.1;
	color: #888;
	background: #fff;
}
.modern-gov #left-column ul {
	border-left: 8px solid #004dc2;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	margin-top: 4px;
}

.modern-gov #left-column ul  a {
	background: #eee;
	display: block;
	padding: 7px 15px;
	margin: 1px 0 0 0;
	border: none;
	line-height: 1.3;
}
.modern-gov #left-column  a:hover {
	background: #f8f8f8 !important;
}
.modern-gov #left-column  a:active {
	color: #000;
}

/* ModernGov content area */

.modern-gov #content {
	overflow: hidden;
}

#modgov h1 {
	color: #666;
	font-weight: 200;
	line-height: 1;
	font-size: 200%;
	font-family: lato, "Lucida Sans Unicode", "Lucida Grande", "Lucida sans", Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
		margin: 15px 0 10px;
}
#modgov h2 {
	color: #666;
	font-weight: normal;
	line-height: 1.1;
	font-size: 140%;
}
#modgov h3 {
	margin: 1.8em 0 0em;
}

#modgov p,
#modgov h2,
#modgov h3 {
	max-width: 600px;
}
#modgov .mgContent p {
	clear: left;
}

#modgov input, 
#modgov select {
	font-family: inherit;
	padding: 3px;
}

#modgov .mgFormRow label {
padding: 7px 0;
}

#modgov .mgThumbsList UL LI
{
	margin: 0px 6px;	
	width: 150px;
	height: 300px;
}

#modgov .mgFormRow fieldset input,
#modgov .mgFormRow fieldset textarea,
#modgov .mgFormRow fieldset select {
	float: none;
	width: auto;
}

DIV#modgov INPUT#butGo,
DIV#modgov INPUT.mgGoButton,
DIV#modgov INPUT.mgSubmitButton
{
	background:#0056d8;
	border:0;
	padding:5px 25px;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	font-size: 100%;	
	margin-left: 0;
	margin-right: 20px;	
    -webkit-appearance: none;
}
#modgov input[value="Cancel"] {
	background: #aaa !important; 
}
#modgov input[value="Cancel"]:hover {
	background: #bbb !important; 
}

DIV#modgov .mgCalWeekendLink a {
	width: auto !important; 
}

DIV#modgov INPUT#butGo:hover,
DIV#modgov INPUT.mgGoButton:hover,
DIV#modgov INPUT.mgSubmitButton:hover {
	background: #1872f9;
}

DIV#modgov .mgSectionTitle,
DIV#modgov DIV.mgTableTitleTxt,
DIV#modgov TABLE.mgStatsTable CAPTION.mgSectionTitle
{
	padding: 0px;
	padding-top: 15px;
	margin-bottom: 5px;
	font-weight: bold;
	color: inherit;
	background-color: #fff;
	font-size:110%;
}
DIV#modgov A.mgSectionTitleLnk
{
	font-weight: normal;
	text-decoration: none !important;
	color: #225eb9 !important;
}
DIV#modgov A.mgSectionTitleLnk:hover
{
	color: #5196ff !important;
}
DIV#modgov A.mgSectionTitleLnk:active
{
	color: #000 !important;
}

DIV#modgov P.mgErrorTxt
{
	color: #aaa;
}

#modgov .tablesorter-headerRow {
	
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

DIV#modgov LI.mgTableEvenRow
{
	padding-bottom: 9px;
	padding-top: 5px;
}
DIV#modgov LI.mgTableOddRow
{
	padding-bottom: 7px;
	padding-top: 5px;
	background-color: #f8f8f8;
}


/* Calendar table */

DIV#modgov #mgFormSelect p {
	max-width: none;
}

DIV#modgov CAPTION.mgSectionTitle
{
	background-color:#26559c;
}


DIV#modgov P.mgSectionTitle
{
	font-weight: normal;
	text-indent: 2px;
	padding-top: 8pt;
	background: #26559c;
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
}


DIV#modgov .mgTabs ul li a
{
	border-radius: 5px 5px 0 0;
	height: auto;
	width: auto;
	padding: 8px 15px 2px; 
}

DIV#modgov A.mgTabUnSelectTitleLnk
{
	background: #F3F3F3;	
}
DIV#modgov A.mgTabUnSelectTitleLnk:hover
{
	background-color: #ddd;	
}

DIV#modgov A.mgTabSelectTitleLnk
{
	background:#26559c;
}
DIV#modgov A.mgTabSelectTitleLnk:hover
{
	font-weight: bold;
	background-color: #26559c;
}


DIV#modgov TABLE.mgCalendarMonthGrid TH
{
	background: #eee;
	border: 0;
	width: 20%;
}

DIV#modgov P.mgCalendarDayTxt
{
	font-weight: normal;
	margin: 6px 0;
	font-size: 110%;
}

DIV#modgov TH
{
	font-weight: normal;
}

.mgCalendarMonthEventList {
	font-size: 90%;
}

DIV#modgov .mgCalendarCell
{
	border: 0px;
	padding-bottom: 6px;
}

DIV#modgov .mgCalendarCellToday
{
	font-weight: normal;
	border:0px solid #6268a7; 
	color: inherit;	
	padding-bottom: 6px;
}

DIV#modgov DIV.mgCalendarWeekTodayGrid P
{
	padding-top: 2px;
	padding-left:15px;
}
DIV#modgov DIV.mgCalendarWeekGrid, .mgCalendarWeekGrid
{
	margin: 0;
	padding: 0 0 7px 10px;
	border: 0;
	border-bottom: #cccccc 1px solid;
}
DIV#modgov DIV.mgCalendarWeekTodayGrid, .mgCalendarWeekTodayGrid
{
	margin: 0;
	padding: 5px;
	background-color: #f8f8f8;	
	border:none;
	border-left :2px solid #6268a7;
	border-bottom: 1px solid #ccc;
	color: inherit;
}


DIV#modgov UL.mgCalendarWeekEventList
{
	font-size: 90%;
	margin-left: 2em;
}

/* Library search */
#SearchStr {
	float: left;
	width: 50%;
	margin: 5px  10px 30px 0;
}



/* Member Profile */
#modgov .mgBigPhoto IMG
{
	box-shadow: none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
DIV#modgov .mgBigPhoto
{
	margin: 20px 30px 30px 0px;
}
DIV#modgov .mgCouncillorImages
{
	padding-top: 0px;
	vertical-align: top;
	margin-bottom: 10px;
}
DIV#modgov .mgStatsTable tr {
	border-bottom: 1px solid #eee;
	line-height:1;
}
DIV#modgov .mgStatsTable th {
	padding-top: 7px ;
	padding-bottom: 7px ;
	
}
DIV#modgov .mgStatsTable td {
	padding-top: 5px;
	vertical-align: top;
}








/* Large Screens fix */
@media only screen and (min-width: 1251px) {	
/* For screens above 1024 wide (allowing smaller screens without Media Queries to work) */ 

	#main {	
		width: 1230px;	
		padding: 0px 250px 0 250px
	}
	#main-content.full-width-page {
		width: 1200px; 
		/* margin: 0 -230px 0; */
	}

	#top-strip {
		width: 1200px;
		margin-left: -600px;
	}
	
	.site-title {
		margin-left: -600px;
	}
	
	.nav-menu {
		font-size: 100%;
	}
	#header-links ul {
		margin: 9px 15px;
	}
		
	#slideshow-holder {
		height: 500px;
		width: 1550px;
		left: 50%;
		margin-left: -775px;
	}
	#slider {
		height: 500px;	
		width: 1550px;
		margin-left:-775px; 
	}
	.flexslider .slide {
		height: 500px;
	}
	
	.flexslider .slides img { width: 1550px;  }
	.slide-data { right: 175px; }

	.home #primary-navigation {
		 top: 415px; 
	}
		
	.nav-menu a {	
		padding: 8px 14px;
	}
	.home #search-container {	
		top: 415px;	
	}
	.featured-page .thumbnail {
		height: 180px;		
		margin-bottom: -46px;
	}
	
	.widget_bbnpfacebook_widget {
		width: 594px;
	}
	
	.home #left-column {
		right: 220px;
	}
	
	.home #main {
		top: 225px;
	}
	
	#search-container {		
		margin-right: -604px; 	
	}
	
	#left-column {
		width: 250px;
	}
	
	#main-content {
		width: 590px;
		margin: 30px 60px 0 60px;
	}
	
	
#main-content.no-right-col {
	width: 880px;
	margin-right: -230px;
}
	
	
	.home #main-content {
		width: 635px;
		margin: 10px 20px 0 60px;
		position: relative;
	}
	.widget .featuredlinks {
		font-size: 100%;
	}
	
	.home .widget_brecon_featured_page {
		width: 292px;	
	}
	#content-sidebar .widget {
		width: 282px;	
		font-size: 100%;	
	}
	.attachment-post-thumbnail,
	.post-thumbnail img {
		max-width: 100%;
		width: auto; 
	}
	
	.widget_bbnpfacebook_widget {
		width: 574px !important;
	}
	.widget_bbnp_latest_news {
		
		font-size: 100%;
	}

	.main-contact-details {
		width: 360px;
	}
	.main-contact-form {	
		width: 500px;
	}
	.other-contacts .maparea {		
		width: 500px;
	}
	
	
.main-content img.alignleft {
	float: left;
	margin: 0 10px 7px 0;
}
.main-content img.alignright {
	float: right;
	margin: 0 0 7px 10px;
}
	
}



/* Not quite so huge screens */
@media only screen and (max-width: 1570px) {	

/* Make slider 100% width for this size screen or smaller */
	
	#slider {
		width: 100% !important;
		margin: 0px 0 0px 0px;
		left: 0%;
		overflow: hidden;
	}
	.flexslider .slides img {
			margin-left: -775px; 
			left: 50%;
			position: absolute;
	}
	.slide-data { 	
		right: -600px; 
		margin-right: 50%;
	}
		
	#slideshow-holder {		
		width: 100%;
		left: 0;
		margin-left: 0px;
	}
	
	
}


/* Not large screens */
@media only screen and (max-width: 1250px) {	
/* For screens below 1250 wide */ 


	.page-template-page-templatesfull-width-php #main {	
		padding: 0px 0 0 0;
	}


	.site-title {	
		margin: 0 0 35px -480px;
	}
		
	#slideshow-holder {
		height: 330px;
	}
	
	/* -- */
	
	
	
	.widget_visitorsite_widget {
		font-size: 80%;	
	}
	.widget_geopark_widget {
		font-size: 80%;
	}
	
	#header-links {		
		font-size: 80%;
	}
	#header-links ul  {
		margin-left: 5px;
		margin-right: 5px;
	}
	#header-links ul li {
		margin: 0 0.5em;
	}
	
	.left-nav ul.children a {		
		padding: 5px 15px;
		font-size: 95%;
	}
		
	
	.home #secondary {
		margin-top: 60px;
	}
	
	#slider {
		height: 330px;
		width: 100%;
		margin-left:  0px;
	}
	.slide-data { 
		bottom: 95px; 
		right: -500px;
		font-size: 60%;
	}
		
	.flexslider .slide {
		height: 330px;
	}
		
	.flexslider .slides img {
		width: 1250px;
		margin-left: -625px;
	}
			
	#slider-white-block {
		width: 1010px;
		top: 240px;
		margin-left: -505px;
	}
	
	.home #left-column {
		margin-top: 60px;
	}
				
	.footer-liner {
		max-width: 960px;
	}
}



/* Not large screens - smaller than desktops */
@media only screen and (max-width: 1024px){	

	#main {	
		width: 750px;
		padding: 0px 0px 0 230px
	}
	
	#main-content.no-right-col {
		width: 470px;
		margin-right: 10px;
	}
	#main-content {
		font-size: 85%;
	}	
	.entry-title, .page-title {
		margin-top: 20px;
	}
			
	#modgov h1 {	
			margin-top: 20px;
	}
	
	.home #masthead {
		max-width: 100%;
	}
		
	#slideshow-holder {
		height: 240px;
	}
	#slider {
		height: 240px;
	}
	
	.slide-data { 
		bottom: 45px; 
		right: 5px;
		margin-right: 0;
	}
		
	.flexslider .slide {
		height: 280px;
	}
		
	.flexslider .slides img {
		width: 1020px;
		margin-left: -510px;
	}

	#slider-white-block {
		display: none
	}

	#secondary {
	/* right column */
		width: 450px;
		float: none;
		overflow:auto;
		margin-right: -1px;
		position: relative;
		left: 40px;
	}

	#top-strip {
		margin-left: 0px;
		left: 0;
		width: 100%;		
		background: #3e5678;
	}
		
	.site-title {	
		left: 20px;
		margin: 0 0 35px 0px;
	}
	
	#search-container {		
		margin-right: 0px; 	
		right: 0;
	}
	.search-field {
		width: 160px;
	}
	#header-links {	
		right: 0px;		
		top: 48px; 
	}
	.home #header-links {	
		top: 0px; 
	}
	#header-image { 
		height: 240px;
	}
	
	.attachment-post-thumbnail,
	.post-thumbnail img {
		max-width: 100%;
		height: auto;
		width: auto;
	}
	
	/* Contact page */
	.page-template-page-templatescontact-page-php #main {	
		width: 770px;
		padding: 0;
	}
	
	.contact-us #content {
		margin: 30px 0 0 0;
		padding-left: 230px;
		position: relative;
	}
	
	.main-contact-details {
		float: none;
		width: auto;
		max-width: 740px;
	}
	
	
	
	.main-contact-details h2 {
		max-width: 330px;
	}
	#first-contact-map {
		position: relative;
		left: 0px;
		top: 0px;
		float: right;
		width: 300px;
	}
	.main-contact-form {
		clear: both;
		max-width: 740px;
		margin: 0 0 15px 0px;
		width: auto;
	}
	.other-contacts {
		width: 740px;	
	}
	.contact-us h2 {
		width: 740px;		
	}
	
}

/* Fix for iPad in landscape as it over-inherits the narrow tablet styles above */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	
	#main {	
		width: 1000px;
		padding: 0px 250px 0 230px
	}
		
	#slideshow-holder {
		width: 1000px; 
	}
	#slider {
		width: 1000px; 
	}
		
	#secondary {
	/* right column */
		width: 250px;
		float: left;
		margin-right: -260px;
		left: 0px;
	}

	#top-strip {
		width: 1000px;		
	}
		
	
	.search-field {
		width: 206px;
	}
	
	#header-image { 
		width: 1000px;
	}
	.footer-liner {
		width: 1000px; 
		right: -20px;
	}
	
}


/* Mobile size screens */
@media only screen and (max-width: 760px){	

	.header-main, #main {	
		width: auto;
		clear: both;
	}	
	.home #main {
		top: 0px;
		margin-bottom: 0px;
	}
	.header-main {
		height: 185px;
	}
	.home .header-main {
		background:	url(images/header-01.jpg) center no-repeat;
		background-size: cover;
		height: 148px;
	}
	#slider-white-block {
		display: none;
	}
	
	.site-title {
		top: 30px;
		max-width: 95%;
		background-size: 95% !important;
		background-color: transparent;
		margin: 0 0 35px 10px;
		left: 0;
	}
	.home .site-title {
		top: 30px;
	}
		
	#top-strip,
	.home #top-strip {
		height: auto;
		width: 100%;
		left: 0;
		margin-left: 0;
		background: none;
		border-bottom: 0;
		position: relative;
	}
		
	#header-links {
		top: 145px; 
		z-index: 10;
		text-shadow: none;
		font-size: 80%;
		background: #003380;
		height: 45px;
		right: 45px;
		text-align: left;
	}
	.home #header-links {
		right: 45px;
		top: 145px;
	}
	#header-links a {
		display:inline-block; 
		padding: 14px 9px;
		text-shadow: none;
		height: 45px;
	}
	#header-links a:hover {
		border-bottom: none;
		text-decoration: underline;
	}
	#page.cy #header-links a {		
		padding: 14px 5px;
	}
		
	#header-links ul li {
		margin: 0;
		border-left: 1px solid #4f75b0;
	}
	#header-links ul {
		margin: 0;
	}
	.home #primary-navigation {
		 top: 160px; 
	}
	#header-image{ 
		height: 150px;
	}
	#masthead {
		height: 190px;
	}
	
	/* Collapse menu into a button */
	.menu-toggle {
		display: block;
		background: #26559c url(images/menu-icons.png) no-repeat 10px 10px;
		color: #fff;
		position: absolute;
		width: 100%;
		top: 145px;/*132px;*/
		height: 45px; 
		padding: 10px 20px 10px 45px;
		font-weight: normal;
		font-size: 100%;
		transition: background 0.2s;
		text-align: left;
		z-index: 1;
		border:0;
	}
	.menu-toggle:hover, 
	.menu-toggle:active {
		background-color: #003380 !important;
		cursor: pointer;
	}
	.home .menu-toggle {
		top: -15px;	/* 28px; */	
	}
	.nav-menu {
		overflow: auto;
		height :auto;
		padding: 15px 0px;
	}
	#nav-holder .left-nav {
		display:block; 
	}
	#nav-holder {
		/*max-height: 0;*/ 
		overflow: hidden;
		display: none;
		border-top: none;		
		position: absolute;
		top: 190px;
		background: #ddd;	
	}
	.home #nav-holder {
		top: 30px;
	}
	#nav-holder .left-nav {
		margin: 15px 10px;
		background: #fff;
		overflow: auto;
	}
	.left-nav ul.children a {		
		padding: 10px 15px;
	}
	.toggled-on #nav-holder {				
		overflow: hidden;
		z-index: 10;
		border-bottom: 2px solid #888;
		/*max-height: 600px; transition: max-height 0.7s;*/
	}
	.toggled-on .menu-toggle {
		background-position: 10px -40px;
	}
	.toggled-on .nav-menu {		
		/*display: block;*/
	}
	.nav-menu > li {
		width: 45%;
		margin: 0 2.5% 0 2.5%;
		border-right: 0;
		border-bottom: 1px solid #3b65a5;
	}
	.nav-menu .current-page-ancestor,
	.nav-menu .current_page_item,
	.nav-menu > li:hover {
		margin-top: 0px;
		padding-top: 0px;
		border-top: none;
	}
	.nav-menu .children {
		display: none !important;			
	}
	
	#top-strip .search-box .search-form label {		
		position: absolute;
		left: 8px;
		width: 99.5%;
		top: 7px;
	}
	.search-box {
		position:relative; 
	}
	
	.search-box .search-form label input {
		width: 79%;
		height: 44px;
		font-size: 100%;
	}
			
	.home #search-container {	
		top: 190px;	
	}
	
	#search-toggle {
		display: block;
		background: #003380 url(images/search_hd.png) no-repeat center;	
		background-size: 22px;
		padding: 6px 10px;
		font-family: inherit;
		cursor: pointer;
		width: 45px;
		height: 45px;
		position: absolute;
		top: 145px;
		right: 0px;
		z-index: 1;
		border-left: 1px solid #4f75b0;
		border-top:0;
	}
	
	.search-input-on #search-toggle {
		background: #bbb url(images/menu-icons.png) no-repeat 10px -40px;
	}
	
	.search-input-on #search-container {			
		display: block;
	}
	
	#search-container {		
		display: none;
		margin-right: 0px;
		right: 0;
		top: 190px;
		padding: 5px;
		border-left: 1px solid #4f75b0;
		background: #ddd;
		width:100%;
		height: 69px;
	}
			
	#top-strip .search-box .search-submit {
		right: 8px;
		top: 7px;
		height: 44px;
	}
	.search-box .search-submit {
		width: 45px;
		height: 42px;
		right: 0px;
		top: 0px;
		position: absolute;
	}
	
	.home #main-content {	
		width: 100%;
	}
	.home #content-sidebar {
		margin-right: 15px;
	}
	
	.attachment-post-thumbnail,
	.post-thumbnail img {
		width: 100%;
		height: auto;
	}
	
	#content-sidebar {
		float: none;
		width: auto;
		clear: both;
		margin: 15px;
	}
	
	#main {	
		padding: 0;
	}
	
	.home #main-content,
	#main-content {
		margin: 10px 0 10px -230px;
		position: relative;
		left: 50%;
		width: 460px;
		font-size: 80%;
	}
	

	#main-content.no-right-col {
		width: 100%;
		max-width: 470px;
	}
	
	.main-content img.alignright {
		display: block;
		float: none;
	}
		
	#left-column {
		float: none; 
		clear:both;
		right: 0;
		margin: 0 10px;
		padding: 0 10px;
		width: auto;
		border-top: 2px solid #6393db;
	}				
	.home #left-column {
		right: 0;
		border-top: 0;
	}
	
	#secondary {
		/* right column */
		width: auto;
		margin: 20px 10px 0 10px;
		float: none;
		left: 0;
	}
	
	#slider {
		display: none;
	}
	
	/* Forms */
	
	fieldset label {		
		float: none;
		width: 100%;
		margin: 10px 0 0px 0;
	}
	fieldset input {		
		float: none;
		width: 100%;
	}

	fieldset  input[type="submit"].vfb-submit,
	fieldset  input[type="submit"] {
		margin: 0; 
	}
	
	/* Brecon featured page widget */
	
	.home .widget_brecon_featured_page,
	.widget_brecon_featured_page {
		width: 100%;
		font-size: 100%;		
		margin: 0 0px 15px 0px;
	}
	#content-sidebar .widget {
		width: 100% !important; 		
		font-size: 110%;
	}
	
	.widget_brecon_featured_page img {
		max-width: 430px;	
	}
	
	.widget_bbnpfacebook_widget {		
		min-height:341px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.home .widget_fpw_widget,
	.widget_fpw_widget {
		float: none;
		width: 100%;
		margin-left: 0;
	}
	.home #secondary {
		margin-top: 30px;
	}
	
	.widget_bbnpfacebook_widget {
		width: auto;
	}
	
	.widget_bbnp_latest_news {
		width: 100%;
		font-size: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.webcamwidget img {
		display: inline-block; 
	}
		
		
	.site-footer .breathing-spaces {
		float: none;
		width: 270px;
		height: 60px;
		background-size: 350px;	
		position: relative;
		left: 50%;
		margin: 1px 0 0 -121px; 
	}
		
	.footer-liner {		
		background-size: 150%;
		padding: 40px 10px 3px 10px;
		max-width: 1200px;
		margin: 20px auto 0;
		text-align: center;		
	}
	.footer-links a {	
		margin-top: 15px;
	}
	.footer-links li {
		margin: 0 20px 0 0px;
	}
	.search-listing {
		margin: 1.8em 0;
		padding-left: 0px;
	}
	.search-listing h2,
	.search-listing .page-address {
		margin-left: 0; 
	}
	.search-listing img {
		width: 100%;
		height: auto; 
	}
	.featured-page .thumbnail {
		height: 120px;
		margin-bottom: -37px;
		
	}
	
	
	
	/* Contact page */
	.page-template-page-templatescontact-page-php #main {	
		width: auto;
	}

	#main-content.full-width-page {
		width: auto;
			margin: 0 -230px 0;
	}
	.contact-us #content {
		padding-left: 10px;
		padding-right: 10px;
	}
	.main-contact-details {
		position: relative;
		padding-bottom: 210px;
	}
	#first-contact-map {
		float: none;
		position: absolute;
		bottom: 0px;
		top: auto;
		height: 200px;
		width: 100%;
	}
	#first-contact-map iframe {
		height: 200px;
	}
	.other-contacts .maparea {
		height: 140px;
		width: 100%;
		float: none;
		margin: 0 0 0 0px;
	}
	
	.other-contacts {
		width: auto;	
	}
	.contact-us h2 {
		width: auto;	
		clear: both;
	}

	.main-contact-form {
		float: none;
		height: auto;
		width: 100%;
		margin-right: 0px;
	}

	.contact-us .other-contacts h3 {
		margin-top: 120px;
	}

}

/* Mobile size screens */
@media only screen and (max-width: 500px) {	

	#content {
		/* width: 100%; */
		margin: 0 20px;
	}
	.home #main-content,
	#main-content {
		margin: 10px 0;
		width: 100%;
		margin: 10px 0 10px 0;
		left: 0;
	}
	#main-content.full-width-page {
			margin: 0 10px 0 10px;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
   only screen and (-moz-min-device-pixel-ratio: 2),
   only screen and (-o-min-device-pixel-ratio: 2/1),
   only screen and (min-device-pixel-ratio: 2) {
   			   
	/* Retina styles */
	
			
	.site-title {
		background-image: url(images/BBNPA-logo-en_hd.png);
		background-size: 482px;
	}
	
	.footer-liner {
		background-image: url(images/footer_hd.png);
		background-size: 1200px;
	}
	
	.search-submit {
		background-image: url(images/search_hd.png);
		background-size: 22px;
	}	
	
	.menu-toggle {
			background-image: url(images/menu-icons_hd.png);
			background-size: 25px;
	}
			
	.visitbg {
		background-image: url(images/visitors_hd.jpg);
		background-size: cover; 
	}
		
	.geopark-logo {
		background-image: url(images/geopark_hd.png);
		background-size: 125px;	
	}
		
	.widget_bbnpfacebook_widget h1 {
		background-image: url(images/icons_hd.png); 
		background-size: 25px;
	}
			
	.footer-icon {
			background-image: url(images/icons_hd.png);
			background-size: 25px;
		
	}
	#gototop {
			background-image: url(images/icons_hd.png);
			background-size: 25px;
	} 
	.widget_bbnpfacebook_widget h1 {
				background-image: url(images/icons_hd.png); 
				background-size: 25px;
	}
	.map {
		background-image: url(images/map2_hd.png);
		background-size: 250px;
	}
	a.external-icon {
		background-image:  url(images/icons_hd.png);
		background-size: 25px;
	}	
	.search-submit {
		background-image: url(images/search_hd.png);
		background-size: 22px;
	}
	
	.icon {
		background-size: 25px;
		background-image: url(images/icons_hd.png);
	}
	.home .header-main {
		background-image:	url(images/header-01_hd.jpg);
	}
	
	.en .main-content a[href*="//"]:not([href*="beacons-npa.gov.uk"]):after {
		background-image: url(images/icons_hd.png);
		background-size: 25px;
	}
	.cy .main-content a[href*="//"]:not([href*="bannaubrycheiniog.org"]):after {
		background-image: url(images/icons_hd.png);
		background-size: 25px;
	}
}

@media print {
body {
    /* Defaults Chrome to show background images/colours on print, so you don't lose the header */
   -webkit-print-color-adjust: exact;
  }
}




