/*
Theme Name: FriendsOfStPeters
Theme URI: http://www.stpetersberkhamstedfriends.org.uk/
Description: A custom theme for the Friends of St. Peter's, Berkhamsted. Developed by David Castrodale.
Author: David Castrodale
Author URI: http://www.davidcastrodale.com
Version: 1.0
Tags: black, one-column, two-columns, three-columns, flexible-width, 

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Fonts */
@font-face {
  font-family: 'Didot';
  src: url('../fonts/didot/Didot.eot') format("embedded-opentype"); src: url("../fonts/didot/Didot.woff") format("woff"), 
  url("../fonts/didot/Didot.ttf") format("truetype"), 
  url("../fonts/didot/Didot.svg#Didot") format("svg");
  font-weight: normal;
  font-style: normal; 
}
@font-face {
  font-family: 'Didot Italic';
  src: url('../fonts/didot/Didot-Italic.eot') format("embedded-opentype"); src: url("../fonts/didot/Didot-Italic.woff") format("woff"), 
  url("../fonts/didot/Didot-Italic.ttf") format("truetype"), 
  url("../fonts/didot/Didot-Italic.svg#Didot-Italic") format("svg");
  font-weight: normal;
  font-style: normal; 
}
@font-face {
  font-family: 'Didot Bold';
  src: url('../fonts/didot/Didot-Bold.eot') format("embedded-opentype"); src: url("../fonts/didot/Didot-Bold.woff") format("woff"), 
  url("../fonts/didot/Didot-Bold.ttf") format("truetype"), 
  url("../fonts/didot/Didot-Bold.svg#Didot-Bold") format("svg");
  font-weight: normal;
  font-style: normal; 
}



@font-face {
  font-family: 'Univers'; src: url("../fonts/univers/UniversLTStd-Cn.eot");
  /* IE9 Compat Modes */ src: url("../fonts/univers/UniversLTStd-Cn.eot?#iefix") format("embedded-opentype"), 
  url("../fonts/univers/UniversLTStd-Cn.woff") format("woff"), 
  url("../fonts/univers/UniversLTStd-Cn.ttf") format("truetype"), 
  url("../fonts/univers/UniversLTStd-Cn.svg#3bb4cba905ca963c783bc07207e5a59d") format("svg");
  font-style: normal;
  font-weight: normal; 
}


.html, .body {
  height: 100%;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important; 
  
}

body {
	font-family: 'Roboto', Arial, sans-serif;
	font-weight: normal;
	font-size: 16px;
	color:#5a5a5a;
}


/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}





/* header styles */

.header {
  background: #212b2e;
  margin: 0;
  padding-top: 18px;
  font-family: 'Univers', Arial, san-serif;
  text-transform: uppercase;
  font-size: 16px;
  width: 100%; 
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
@media (max-width: 767px) {
.header {
  padding-top: 5px;
}

}
.navbar-inverse {
	background: #212b2e !important;
	border:0 !important;
	border-radius:0 !important;
}

.navbar-inverse .dropdown-menu li > a:active {
	color:#00CCFF !important;
	outline:none !important;
}

@media (min-width: 1200px) {
	.nav {
		margin-top: 53px !important;
	}
	#toolbar {
		position:relative;
	}
	#toolbar .panel {
		position:absolute;
		margin-bottom:0;
		width:100%;
		z-index:999;
		-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
	}
	#toolbar .nav {
		margin-top: 0px !important;
	}
}

		a.navbar-brand {
			background-size: contain;
			text-indent:-999999px;
			width:230px;
			height:130px;
			padding:0;
			outline:none !important;
		}
		a.navbar-brand  img {
			max-height:100%;
		}

@media (max-width: 767px) {	
	.navbar-header a.navbar-brand {
		height:70px;
		padding:0;
	}
}

.navbar-right .dropdown-submenu  .dropdown-menu {
	min-width:220px;
}


.url.fb_iframe_widget {
	display:none;
	
}


/* heading styles */

h1 {
	display:block;
	width:0px;
	height:0px;
	overflow:hidden;
	text-indent:-99999px;
	margin:0;
	padding:0;
}




@media (max-width: 1199px) {

	header h1 {
		margin:0;
		position:relative !important;
		
	}
}

@media screen and (max-width: 1199px) {
	header h1 {
		width:88px;
		height:50px;
	}
}

h2 {
	font-family: 'Didot Bold', 'Times New Roman', serif !important;
	color:#111;
	font-weight: normal;
	font-size: 48px;
	padding:0;
	margin: 0 0 20px 0;
	letter-spacing:-0.04em;	
}

h3 {
	font-family: 'Didot Bold', 'Times New Roman', serif  !important;
	color:#111;
	font-weight: normal;
	font-size: 32px;
	line-height:1;
	padding:0;
	margin:20px 0 10px 0; 
	letter-spacing:-0.04em;	
}

@media (max-width:414px) {
	h2 {
		font-size: 36px;
		line-height:1;
	}

}

a.plain:hover {
	text-decoration:none !important;
}

.logo {
	height: 100px;
}

.padding0 {
	box-sizing:border-box;
	padding:0px !important;
}

.padding5 {
	box-sizing:border-box;
	padding:5px;
}
.padding10 {
	box-sizing:border-box;
	padding:10px;
}
.padding15 {
	box-sizing:border-box;
	padding:15px;
}
.padding20 {
	box-sizing:border-box;
	padding:20px;
}
.padding30 {
	box-sizing:border-box;
	padding:30px;
}
.padding40 {
	box-sizing:border-box;
	padding:40px;
}
.padding50 {
	box-sizing:border-box;
	padding:50px;
}



.margin0 {
	box-sizing:border-box;
	margin:0px !important;
}

.margin5 {
	box-sizing:border-box;
	margin:5px !important;
}
.margin10 {
	box-sizing:border-box;
	margin:10px !important;
}
.margin15 {
	box-sizing:border-box;
	margin:15px !important;
}

.margin20 {
	box-sizing:border-box;
	margin:15px !important;
}



.large {
	font-size:28px;
	line-height:1.1;
}
h3.large {
	font-size:36px !important;
}
.serif {
	font-family:'Didot bold';
}
.univers {
	font-family:'Univers';
}


/* ============== COLOURS ======================== */

.bg-black {
	background:#000 !important;
}
.fg-black {
	color:#000 !important;
}

.fg-white {
	color:#fff !important;
}

.bg-gray {
	background:#666 !important;
}
.fg-gray {
	color:#999 !important;
}
.border-gray {
	border: 1px solid #999 !important;
}

.bg-grayDark {
	background:#666 !important;
}
.fg-grayDark {
	color:#666 !important;
}

.bg-grayLight {
	background:#eee !important;
}
.fg-grayLight {
	color:#ccc !important;
}
.border-grayLight {
	border: 1px solid #ccc !important;
}

.bg-red { 
	background:#d2232a !important;
}
.fg-red {
	color:#d2232a !important;
}

.bg-blue {
	background:#337AB7 !important;
}
.fg-blue {
	color:#337AB7 !important;
}

.bg-yellow {
	background:#fff200 !important;
}
.fg-yellow {
	color:#fff200 !important;
}

.bg-green {
	background:#41ad49 !important;
}
.fg-green {
	color:#41ad49 !important;
}



/* ===================== cookie warning ======================================= */
.privacy_alert {
	position:fixed;
	bottom:0;
	width:100%;
	z-index:999999;
}
#eu-cookie-law.negative {
	background-color:rgba(0,0,0, 0.5) !important;
}



.breadcrumb {
	font-family:'Roboto', Arial, san-serif;
	font-size:14px;
	font-weight:normal;
	background:none !important;
	padding: 8px 15px 0 15px;
    margin-bottom: 0px;
    list-style: none;
    border-radius: 0px;
}
.breadcrumb strong { font-weight:normal !important; }


div.img-thumbnail {
    display: block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.section-index-thumb {
	display:block;
	padding-top:45%;
    background-repeat: no-repeat;
    background-size: cover;
	background-position:50% 50%;
}

.img-block {
	display:block;
	border:1px solid #eee;
	padding-top:53%;
	width:100%;
	background-position:0 0;
	background-size:cover;
	background-repeat:no-repeat;
}



/* Nicolas Gallagher's Micro Clearfix */
.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

/* Mobile Styles */
.phone-view {
  display: none; }

/* Desktop */
@media screen and (min-width: 1199px) {
  .desktop-view {
    display: block; }

  .mobile-view {
    display: none; } }
/* Large Tablet Breaks Here*/
@media screen and (max-width: 1199px) {
  .desktop-view {
    display: none; }

  div.mobile-view {
    display: block; }

  .large-image-center {
    height: 311px !important; }

  a.sublink {
    display: inline-block !important;
    margin-right: 2%; }

  a.sublink:last-child {
    margin-right: 0; }




  .join em, .join strong {
    font-size: 32px !important;
    line-height: 52px; }

  .mobile-view img {
    max-width: 100%;
    display: inline;
    vertical-align: bottom; } }
	
	
@media screen and (max-width: 991px) {
  .sublink {
    border-bottom: none !important; 
	}
}

@media screen and (max-width: 456px) {
  a.sublink {
    font-size: 20px !important; } }
@media screen and (max-width: 991px) {
  .large-image-center {
    height: auto !important; } }
/*Phone breaks here */
@media screen and (max-width: 767px) {
  .top-menu {
    padding-bottom: 30px !important; }

  .logo {
    height: 50px !important; }

  .phone-view {
    display: block !important; }

  .phone-view li {
    width: 100%;
    list-style-type: none;
    text-indent: 0 !important; }

  .phone-view > ul {
    margin-left: 23px; }

  .phone-view ul {
    padding: 0 !important;
    -webkit-padding-start: 0 !important; }





  .social .title {
    text-align: left !important; }

  .join em, .join strong {
    font-size: 62px !important;
    line-height: 82px; } }
/* Header Syles */


.top-images {
  text-align: center;
  height: 100%;
  margin-top: 42px;
  max-height: 392px; }

.top-images img {
  width: 100%;
  max-height: 100%; }

/* Menu Styles */
/*.sub-menu {
  z-index: 1;
  background-color: #d1232a;
  position: absolute;
  margin: 13px 0 0 20px;
  text-indent: 0;
  padding:0;
  width: 100%;
  left: 0px;
  top: 31px;
 }
*/


/*

*/


#projects .sub-menu  {
	width: 120% !important; 
}
#GetInvolved .sub-menu {
	margin: 13px 0 0 0px;
}


@media screen and (max-width: 1000px) {
	#GetInvolved .sub-menu,  #projects .sub-menu {
		width: 150% !important; 
	} 
}

@media screen and (max-width: 1000px) {
	#events .sub-menu, #about .sub-menu, #contact .sub-menu {
		width: 160% !important; 
	}
}





/* Front Page Styles */

#task_bar img {
	max-width:100px;
}

#projects .section-index-thumb  {
	height:150px;
}

.top-buffer {
  margin-top: 26px !important; }

.bottom-buffer {
  margin-bottom: 26px; }

.statement {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	text-align: center;
	font-style: italic;
	margin: 20px auto;
	letter-spacing: 0.01em; 
 }


#video {
 
}


#task-bar a {
	font-size:18px;
	text-transform:uppercase;
}


#welcome {

}

.join strong, .join em {
  font-size: 50px;
  margin: 0px 0 -23px 10%;
  /*line-height: 62px;*/
  display: block; }

.join em {
	padding-top: 23px !important; 
}

.join a {
  height: 100%;
  width: 100%;
  position: absolute;
  display: block; }

.join {
  position: relative; }

.join p {
  position: absolute;
  bottom: 0;
  margin-left: 10%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase; }

#welcome h2 {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: 'Didot', 'Times New Roman', serif; }

.title, .timeline-header {
  height: 36px;
  font-family: 'Roboto', Arial, sans-serif;
  background-color:#444;
  color:#fff;
  font-size: 20px;
  line-height: 44px;
  padding-left: 25px;
  text-transform: uppercase; 
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
  box-sizing:border-box;
}

.title a {
	font-weight:normal;
	color:#000;
}
.title .icon.place-right {
	margin:10px;
}

/*News Styles */
.news .news-items, .tweets .news-items, .projects, .projects-item {

}


ul.news li {
	padding:0 0 5px 0;
	margin:5px 0 5px 0;
	border-bottom:1px solid #ddd;
}


.news .title {
	color:#000;
}

.news-items {
  background-color: #f3f3f4;
  padding: 29px 25px; }

.news-item, .events-item {
  font-size: 16px;
  margin-bottom:10px;
}

.news-items a:hover, .news-item a:hover {
	text-decoration:none !important;
	opacity:0.7;
}

.news-item a div, .news-item a:active div {
	outline: 0px none !important;
}


.news-item a, .news-item a:hover, .news-item a:active {
	color:#000;
	text-decoration:none;
}

.news-item > div, .events-item > div {
  margin: 5px auto; }

.projects-items {
  
}

.large-image-center {
  height: 385px; }

.news-item > div:first-child, .events-item > div:first-child {
  margin-top: 0; }

.news-item > div:last-child, .events-item > div:last-child {
  margin-bottom: 25px; }

.news-item-heading, .projects-item-heading {
	font-weight:normal;
  	color:#d2232a;
}
.page-news .news-item-heading {
	font-size:22px;
}

.sublinks .news-item-heading, .sublinks .news-item-date {
  font-size:20px;
  line-height:1.1;
  margin:0;
  color:#d2232a;
  font-weight:normal !important;

}
.sublinks .news-item-date {
	font-size:18px;
}



.news-item  .news-item-description p {
	
}

.read-more {
  color: #d2232a !important;
  text-decoration: none !important;
  display: inline; }

.read-more:hover {
  text-decoration: underline !important; }

.read-more .fa { 
	font-size:12px !important;
}

.news-page-items {

}

.news-page-items a {
	color:#666;
	outline:none !important;
}
.news-page-items a div {
	outline:none !important;
}

.news-page-items a:hover {
	color:#000;
	text-decoration:none !important;
}

.news-page-items a .news-item-heading {
	color:#900;
	text-decoration:none !important;
}

.news-page-items a:hover .news-item-heading {
	color:#d2232a;
	text-decoration:none !important;
}



.news-page-items  > div {
  margin: 10px auto; 
  border-bottom:1px solid #ddd;
  padding-bottom:5px;
}

.news-page-items  .news-item-heading {
	
}
.news-page-items  .news-item-description {
	line-height:1.1;
}

.news-page-items  .news-item-description p {
	
}

.news-page-items  a .read-more {
  color: #900 !important;
  display:block;
  margin:5px 0;
  font-weight:bold;
}
.news-page-items  a:hover .read-more {
  color: #d2232a !important;
}




/*Projects Styles */
.projects-items {
  background-color: #f3f3f4;
  padding: 29px 25px; }

.projects .title {
  color: #FFF; }


.youtube {
  width: 100%;
  margin-top: 26px; }

.youtube img {
  display: block;
  width: 100%; }

.row {
  height: 100%; }

.social .title, .social {
  color: #FFF;
  font-weight: normal; }





.join {
  height: 188px; }

.tweets {
  background-color: #f3f3f4; }

ol.h-feed {
  height: 100% !important; }

.stream {
  height: 100%; }

.tweet {
  height: 50% !important; }

.tweets {
  /*height: 188px; */
 }

.tweets .title, .timeline-header {
  color:#fff; }

.tweets .event-date {

}


.join {
	font-family: 'Playfair Display', serif;
  background-color: #d2232a;
  color: #fff; }

.join .title {
  position: absolute;
  bottom: 10px; }

.row {
  overflow: hidden; }
.event_date.row { overflow:visible; }

hr {	
	clear:both;
	margin:10px 0;
}
.news hr, .tweets hr { border-color:#CCC; }





/* ============ NEWSLETTTERS ============================= */


.newsletters ul {
	padding-left: 0px;
	margin: 0 0 0 0;
	list-style-type: none;
}
.newsletters ul li {
	position: relative;
	display:block;
	min-height:36px;
	line-height:1.1;
	border-bottom:1px dotted #ccc;
	margin:30px 0 0 0;
	padding:10px 0 30px 80px;
}
.newsletters ul li div {
	line-height:1.1;
	max-width:520px;
	font-size:18px;
	margin-top:10px;
}

.newsletters ul li.first {
	font-size:32px;
	padding-left:80px;
}
.newsletters ul li.first div {
	font-size:18px;
}

.newsletters ul li a::before {
	position: absolute;
	left: 10px;
	width: 60px;
	top: 0.142857em;
	text-align: left;
	display: inline-block;
	font-family: FontAwesome;
	content:"\f1ea";
	color:#ccc;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	font-size-adjust: none;
	font-stretch: normal;
	font-feature-settings: normal;
	font-language-override: normal;
	font-kerning: auto;
	font-synthesis: weight style;
	font-variant: normal;
	font-size: 36px;
	text-rendering: auto;

}
.newsletters ul li.first a::before {
	content:"\f0f6";
	font-size: 60px;
	top: 25px;
	left:0;
	color:#666;
}
			



#friends {
  display: inline-block;
  font-size: 64px;
  text-align: left;
  font-style: italic;
  /*margin: 25px 20px;*/
  padding: 10px 25px;
  letter-spacing: 0.01em; }

#benefits {
  font-size: 64px;
  text-align: left;
  font-style: normal;
  margin: 0px 20px;
  padding-top: 0px;
  letter-spacing: 0.01em;
  line-height: 0px; }

/* TESTING STYLES */
#join {
  display: block;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%; }

.red {
  background-color: red !important; }

.blue {
  background-color: blue !important; }

.green {
  background-color: green !important; }

.image-placeholder {
  background-color: purple;
  width: 100%;
  height: 300px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto; }

.timeline-header {
  display: none !important; }

.tweets img {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0; }

/* Single Project Styles */
.column {
  float: left;
  margin-left: 63px;
  overflow: hidden; }

/*.column:first-child {
	margin-right: 30px;
}*/
.large-column {
  width: 860px; }

.small-column {
  width: 330px; }

.custom-row {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0; }

.column img {
  display: block;
  height: 392px;
  position: relative;
  vertical-align: bottom;
  margin: auto; }

img.large-image {
  width: 960px; }

img.small-image {
  width: 302px !important; }


.place-right, .alignright, img.alignright {
	float:right !important;
	margin:0 0 0 10px !important;
	display:block;
}
.place-left, .alignleft, img.alignleft {
	float:left !important;
	margin:0 10px 0 0;
	display:block;
}

@media (max-width: 480px) {
	
	.project-copy img.place-right, .project-copy img.alignright, .project-copy img.place-left, .project-copy img.alignleft {
		float:none !important;
		margin:0 !important;
		display:block;
		width:100%;
		max-width:100%;
	}

}

.ekko-lightbox-container {
	/*background:#000;*/
	text-align:center;
}
.ekko-lightbox-container img {
	margin:auto;
}

.modal-content .modal-body img {
	max-height:700px;
}




.project-title {
  font-family: 'Didot', 'Times New Roman', serif;
  font-weight: bold;
  font-size: 48px;
  padding:0;
  margin: 0 0 0 0; 
 }
 
 
 
 /* ========== EVENTS ===================== */




div.event_date {
	padding:10px 0;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	margin-bottom:10px;
}
div.event_date .date, div.events .date {
	line-height:1;
}
div.event_date .daten {
	font-family: 'Didot Bold', 'Times New Roman', serif !important;
	font-size:32px;
}

div.event_date .datet, div.events .datet {
	position:relative;
	height:46px;
	min-height:46px;
	padding:0 0 5px 5px;
	border-left:1px solid #ddd;
}


div.event_date .datet > div, div.events .datet > div {
	position: absolute;
 	top: 50%;
  	transform: translateY(-50%);
	width:100%;
}

div.event_date .lead{
	margin-bottom:0
}


 h1.tribe-events-single-event-title {
	display:inline  !important;
	width:auto !important;
	height:auto !important;
	text-indent:0 !important;
	margin:10px 0;
	font-family: 'Didot Bold';
	font-size:48px;
	line-height:1.1;
	color:#000 !important;
	letter-spacing:-0.03em;
}

.tribe-events-schedule h2 {
	font-size:28px;
	font-family:'Roboto', sans-serif !important;
	font-weight:bold;
	letter-spacing:-0.05em;
	color:#111;
}

.tribe-events-list-separator-month {
	font-size:36px;
	margin:30px auto 10px auto;
}

.tribe-events-meta-group .tribe-events-single-section-title {
	font-family:'Roboto', sans-serif !important;
}

.events-item {
  background-color: #f3f3f4;
  padding: 12px; }

.tribe-events-back {
	margin-top:20px;
}
.tribe-events-back a {
	font-size:20px !important;
	font-weight:normal;
}

.tribe-events-cost {
	font-size:20px !important;
	font-family:'Roboto', sans-serif !important;
	font-weight:normal;
}

.tribe-events-cal-links {
	text-align:right;
	margin-bottom:10px;
}

a.tribe-events-gcal, a.tribe-events-ical {
	float:none;
}

.tribe-events-gmap::before {
	content:"\f279";
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color:#900;
}

.tribe-events-sub-nav {
	margin-top:10px !important;
}


#tribe-events-pg-template .tribe-events-content ol li, #tribe-events-pg-template .tribe-events-content ul li, .tribe-events-after-html ol li, .tribe-events-after-html ul li, .tribe-events-before-html ol li, .tribe-events-before-html ul li {
	line-height:1.7;
	margin:5px;
}

td.tribe-events-has-events {
	background:#eee;
}
td.tribe-events-has-events a {
	color:#c00;
}

td.tribe-events-has-events div[id*=tribe-events-daynum-], td.tribe-events-has-events div[id*=tribe-events-daynum-] a {
	background:#c00;
	color:#fff;
}


.project-copy .fa {
	font-family:'FontAwesome' !important;
}



.project-copy strong.calendar-date {
  font-size: 22px; }


.project-copy img {
	max-width:100%;
	height:auto;
}


.large-top-buffer {
  margin-top: 68px; }

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-style:italic;
  font-size: 28px;
  line-height:1.1;
  margin:30px auto;
  color: #d2232a; }

.pull-quote-attr {
  font-weight: bold;
  font-size: 18px;
  margin-top: 18px; }

.pull-quote-title {
  font-weight: normal;
  font-size: 14px; }

.custom-wrapper {
  min-width: 1400px;
  margin: auto; }

.responsive-image {
  max-width: 100%;
  height: 100%;
  width: auto; }

.fixed-container {
  width: 1300px;
  margin: 0;
  margin-left: -15px;
  padding: 0;
  box-sizing: border-box; }

.custom-row {
  margin: auto; }

/* Single Page Styles */
.sub_nav .primary-sidebar.widget-area ul, .sub_nav .primary-sidebar.widget-area ul li {
	list-style:none;
	margin:5px 0 0 0;
	padding:0;
	display:block;
}

.sub_nav .primary-sidebar.widget-area a {
	font-family: 'Didot Bold', serif;
	font-weight:100;
	font-size: 24px;
	letter-spacing:-0.04em;
	line-height:1.1;
	color:#333333;
	display: table;
	padding:5px 0 5px 5px;
	width:100%;
	border-bottom: 1px solid #ddd; 
	border-left:5px solid #fff;
	clear:both;
	box-sizing:border-box;
}

.sub_nav.sub_nav_mobile .primary-sidebar.widget-area a {
	font-size: 20px;
}

.sub_nav .primary-sidebar.widget-area li.current-menu-item > a , .sub_nav .primary-sidebar.widget-area li.current-menu-parent > a     {
	color:#990000;
	border-left:5px solid #900;
}


.sub_nav .primary-sidebar.widget-area li.current-menu-item ul.sub-menu, .sub_nav .primary-sidebar.widget-area li.current-menu-parent ul.sub-menu {
	display:block !important;
}
.sub_nav .primary-sidebar.widget-area li.current-menu-item ul.sub-menu li, .sub_nav .primary-sidebar.widget-area li.current-menu-parent ul.sub-menu li {
	margin-left:16px;
}
.sub_nav .primary-sidebar.widget-area li.current-menu-item ul.sub-menu li a, .sub_nav .primary-sidebar.widget-area li.current-menu-parent ul.sub-menu li a {
	font-size:16px;
	font-family: 'Roboto', Arial, sans-serif;
	color:#999;
	border-left:0px none !important;
}
.sub_nav ul.sub-menu li.current-menu-item a {
	color:#900 !important;
}




.sub_nav .primary-sidebar.widget-area a:hover {
  color: #000 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #000; }



.sublinks .twolines .fa {
	display:block;
	height:100%;
	width:30px;
	float:left !important;
	padding: 10px 10px 10px 0px;
	margin:0 10px 0 0;
	color:#aaa !important;
}




.pull-quotes {
  margin-bottom: 52px; }

/* People Styles */
@media screen and (max-width: 602px) {
  .person img {
    position: static !important; }

  .person {
    position: static !important; }

  .person-copy, .person-copy h2 {
    padding-left: 0 !important;
    padding-top: 23px; }

  .person-copy {
    padding-bottom: 23px !important; } }
.person img {

/*  display: block;
  width: 250px;
  height: auto;
  float: left;
  left: 0;
  top: 0;
  margin: 0 42px 0px 0;
  clear: right; */
}

.mugshot {
	display: block;
	padding-top:120%;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:50%;
}

.person {
  margin-top: 20px;
  padding: 0 0 10px 0;
  overflow: auto;
  height: 100%;
  position: relative;
  min-height: 300px;
  border-bottom: dotted 1px #000; }

.person-copy {
  width: 60%;
  float: left;
  min-width: 400px;
  margin: 0;
  padding-bottom: 40px; }

.person-copy h2 {
  padding-top: 0;
  margin-top: 0; }

.person-title {
  font-size: 24px !important;
  margin: 0;
  padding: 0;
  
}

p.person-copy {
  width: 100%;
  font-size: 20px; }

.person-name {
  font-family: 'Didot', 'Times New Roman', serif;
  font-size:36px; }

/* Single Page Styles */
/* Contact Styles */
.top-title {
  font-family: 'Didot', 'Times New Roman', serif;
  font-weight: bold;
  font-size: 38px; }

.contact-form label {
  margin-right: 15px;
  width: 20%;
  font-weight:normal;
}

label[value="yes"], label[value="no"] {
  width: auto !important;
  vertical-align: bottom !important; }

.contact-form textarea {
  width: 55.5%;
  height: 200px;
  vertical-align: top; }

.contact-form input, .contact-form select {
  width: 55.5%;
  height: 30px;
  margin-right: 0;
  background-color: #e6e7e8;
  border: none; }

.contact-form input[name*="address"] {
  width: 75.5% !important; }

.contact-form input[type="submit"] {
  border: 1px solid #999999 !important; }

.form-row {
  display: block;
  vertical-align: top;
  margin: 10px 0; }

.contact-form {
  margin: auto;
  width: 80%;
  position: relative;
  padding-right: 0;
  margin-bottom: 53px; }

/*input[type="submit"] {
  margin-left: 22.1%; }*/

/*.project-copy a {
  
  font-weight: bold; }*/

/* Get Involved Styles */



/*.gift-aid input[type="radio"] {
  vertical-align: middle !important;
  position: relative;
  bottom: 4px; }

input[type="radio"] {
  width: 30px;
  padding: 0;
  vertical-align: bottom !important; }

*/

select, option {
	cursor:pointer;
}

.btn {
	font-family:Arial, sans-serif;
}

.btn.btn-black {
	background:#000;
	color:#fff;
	border:1px solid #666;
}



.small-print {
  margin-top: 32px; }

.middle {
	vertical-align:middle !important;
}

.wp-caption-text.gallery-caption {
	font-size:14px;
	font-family: 'Roboto', Arial, sans-serif; 
	color:#777;
}


@media ( min-width:768px) {
	div.two-cols {
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
		-moz-column-count: 2; /* Firefox */
		column-count: 2;
	}
}



/* Footer Styles */

footer {
	border-top:1px solid #ddd;
	margin-top:50px;  
}

.footer-links {
  text-align: center; 
  font-family: 'Roboto', Arial, sans-serif; 
 color: #777;
}


.footer-links a {
  display: inline-block;
  margin: 15px;
  color: #777;
}
/* Carousel Styles */
.carousel {
  width: 100%;
  height: auto;
  margin: 23px 0 10px 0;
  z-index: 0; 
  }
.hp_hero.carousel {
  margin: 0 0 10px 0;
}


@media (min-width:1200px) {
	.carousel {
	  height:380px;
	  overflow:hidden;
	}
	.hp_hero.carousel {
	  height:380px;
	}
}

@media (min-width:1400px) {
	.carousel {
	  height:500px;
	  overflow:hidden;
	}
	.hp_hero.carousel {
	  height:500px;
	}
}



.carousel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%; }

.carousel .img {
	display:block;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:50% 50%;
	padding-top:35%;
	/*background-attachment:fixed;*/
	
}
@media (min-width:1400px) {
}


@media (max-width:767px) {
	.carousel .img {
		padding-top:60%;
	}
}
.copyright {
  font-size: 10px;
  text-align: center;
  width: 100%;
  display: block;
  position: relative;
  bottom: 20px; }


ul.biog-list, ul.biog-list > li {
	margin:0;
	padding:0;
	list-style:none;
}
ul.biog-list > li {
	border-bottom:1px dotted #ccc;
}

.biography img {
  float: left;
  clear: both;
  margin: 0 50px 20px 0px; }
.biography p {
  width: auto; }
.biography .right {
  float: right !important;
  clear: both;
  margin: 0 0 50px 50px !important; }

a.selector {
  background-color: red;
  display: inline-block;
  height: 100%;
  width: 100%; }

#cp_contactformpp_pform .yui-calcontainer {
  width: 98% !important; }

.on-top {
  position: relative;
  z-index: 1000; }

li.h-entry {
  height: 60px !important;
  display: none; }

iframe li.h-entry {
  height: 60px !important;
  display: none !important; }

.gift-aid > .gift-aid-label {
  width: 20px !important; }

#pound-symbol {
  position: absolute;
  left: 19%; }
  @media screen and (max-width: 767px) {
    #pound-symbol {
      left: -20px !important; } }

@media screen and (max-width: 767px) {
  input {
    width: 100% !important; }
    input[type="submit"] {
      margin-left: 0 !important; }

  label {
    width: 100% !important; } }
ul.sub-menu {
  display: none; }

@media screen and (min-width: 800px) {
  .one-line {
    display: inline-block;
    width: 120% !important; } }





.page-list-ext  .page-list-ext-item {
	border-bottom:1px solid #eee;
	display:table;
	vertical-align:middle;
	width:100%;
	clear:both !important;
}
.page-list-ext  .page-list-ext-item .page-list-ext-image {
	float:none;
	display:inline-block;
}


@media screen and (min-width: 767px) {
	.page-list-ext  .page-list-ext-item .page-list-ext-title {
		display:inline-block;
	}
}

a.audio:before{
	content:"\f028 ";
	display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale; font-size:1.5em; 
	line-height:.75em; vertical-align:middle;
	margin-right:10px;
	color:#900;
}




/*    CEMETERY MAP HOTSPOTS*/


	#hotspots {
		display:block;
		position:relative;
	}
	#hotspots ul {
		display:block;
		position:relative;
		list-style:none;
	}
	
	#hotspots ul li a {
		display:block;
		position:absolute;
		top:0;
		width:40px;
		height:40px;
		overflow:hidden;
		/*text-indent:999px;*/
	}
	#hotspots ul li a:hover, #hotspots ul li a:active {
		text-decoration:none !important;
	}
	#hotspots ul li a::before {
		display:block;
		width:30px;
		height:30px;
		background:#f00;
		border:3px solid #fff;
		box-shadow: 0px 0px 5px #888;
		color:#fff;
		text-align:center;
		content: "" attr(data-numero) "";
		border-radius:20px;
		margin:5px;
	}
@media (min-width: 1200px ) {	
	#hotspots ul li#hotspot1 a {
		top:10px;
		right:155px;
	}
	#hotspots ul li#hotspot2 a {
		top:85px;
		right:330px;
	}
	#hotspots ul li#hotspot3 a {
		top:200px;
		right:280px;
	}
	#hotspots ul li#hotspot4 a {
		top:210px;
		right:110px;
	}
	#hotspots ul li#hotspot5 a {
		top:150px;
		right:170px;
	}
	#hotspots ul li#hotspot6 a {
		top:260px;
		right:250px;
	}
	#hotspots ul li#hotspot7 a {
		top:370px;
		left:420px;
	}
	#hotspots ul li#hotspot8 a {
		top:430px;
		left:320px;
	}
	#hotspots ul li#hotspot9 a {
		top:415px;
		left:350px;
	}
	#hotspots ul li#hotspot10 a {
		top:360px;
		left:200px;
	}
	
	
}

@media (max-width: 1199px ) {
	
	#hotspots ul li#hotspot1 a {
		top:40px;
		left:20px;
	}
	#hotspots ul li#hotspot2 a {
		top:100px;
		left:20px;
	}
	#hotspots ul li#hotspot3 a {
		top:210px;
		left:110px;
	}
	#hotspots ul li#hotspot4 a {
		top:130px;
		left:170px;
	}
	#hotspots ul li#hotspot5 a {
		top:130px;
		left:120px;
	}
	#hotspots ul li#hotspot6 a {
		top:220px;
		left:170px;
	}
	#hotspots ul li#hotspot7 a {
		top:340px;
		left:220px;
	}
	#hotspots ul li#hotspot8 a {
		top:430px;
		left:270px;
	}
	#hotspots ul li#hotspot9 a {
		top:400px;
		left:240px;
	}
	#hotspots ul li#hotspot10 a {
		top:500px;
		left:170px;
	}
	
	
}


/* calendar */

#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
	font-family:'Roboto', sans-serif !important;
}
#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
	background:#c00 !important;
}



.page-reports ul.documents li, .page-reports ul li, .page-safeguarding ul.documents li, .page-safeguarding ul li {
	display:block;
	list-style:none;
	padding:10px 0;
	margin:0;
	border-bottom:1px dotted #ccc;
	font-size:18px;
}
ul.documents li .fa-li {
	top:12px;
}


.page-reports ul li::before, .page-safeguarding ul li::before{ 
	content:"\f0f6";
	color:#999;
	display:inline-block;
	margin-right:10px;
	font-family:'fontawesome';	

}

.btn.btn-circle {
	border-radius:50% !important;
}
	
	
	.social_btns .btn {
		width:34px;
		height:34px;
		margin:5px;
		padding:8px 0 0 0;
		font-size:16px;
		text-align:center;
		opacity:0.3;
		text-shadow:none;
		background:#65696c;
		border:0px none;
		color:#fff;

		-moz-transition: all .3s ease-out;
		-webkit-transition: all .3s ease-out;
		-o-transition: all .3s ease-out;
		transition: all .3s ease-out;
	}
	
	.social_btns .btn:not(:hover) {
	}	
	.social_btns .btn:hover {
		opacity:1;
	}


/*  new hp layout */

.hp-section {
	background-attachment:fixed;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:50%;
	min-height:500px;
}

#rlc.hp-section {
	background-image:url(https://www.stpetersberkhamstedfriends.org.uk/wp-content/uploads//2016/09/cemetery-gv-0421.jpg);
}
#events.hp-section {
	background-image:url(https://www.stpetersberkhamstedfriends.org.uk/wp-content/uploads//2016/08/banner-tea-tent.jpg);
}
#volunteer.hp-section {
	background-image:url(https://www.stpetersberkhamstedfriends.org.uk/wp-content/uploads//2018/05/Easter-bonnets.jpg);
}

.hp-section .bg-white {
	background:rgba(255,255,255,0.5);
}



/* ------------- thumbnail slider ------------------------  */
 

img { max-width:100%; }

a {
    -webkit-transition: all 150ms ease;
	-moz-transition: all 150ms ease;
	-ms-transition: all 150ms ease;
	-o-transition: all 150ms ease;
	transition: all 150ms ease; 
	}
    
a:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
    filter: alpha(opacity=50); /* IE7 */
    opacity: 0.6;
    text-decoration: none;
}


@media (min-width: 768px) {
	#projectsCarousel li.col-sm-3 {
		width:23%;
	}
	
	#projectsCarousel .section-index-thumb {
		height:150px;
	}
	
}

.thumbnails li> .fff .caption { 
    background:#fff !important; 
    padding:10px
}



ul.thumbnails { 
    margin-bottom: 0px;
}



/* Thumbnail Box */
.caption h4 {
    color: #444;
}

.caption p {  
    color: #999;
}



/* Carousel Control */
.control-box {
    text-align: right;
    width: 100%;
}
/*.carousel-control{
    background: #666;
    border: 0px;
    border-radius: 0px;
    display: inline-block;
    font-size: 34px;
    font-weight: 200;
    line-height: 18px;
    opacity: 0.5;
    padding: 4px 10px 0px;
    position: static;
    height: 30px;
    width: 15px;
}

*/

.hp-projects-carousel-nav li#nav-back  {
	position:absolute;
	top:65px;
	left:0px;
	font-size:24px;
}
.hp-projects-carousel-nav li#nav-next  {
	position:absolute;
	top:65px;
	right:48px;
	font-size:24px;
}


/* Mobile Only */
@media (max-width: 767px) {
    .page-header, .control-box {
        text-align: center;
    } 
}
@media (max-width: 479px) {
    .caption {
        word-break: break-all;
    }
}


.divider-v {
	    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAMAAAAoyzS7AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAGUExURd3d3QAAAK6cbJIAAAAMSURBVHjaYmAACDAAAAIAAU9tWeEAAAAASUVORK5CYII=);
		background-position:center;
		background-repeat:repeat-y;
		height:100%;
		padding-top:28%;
}

/*li { list-style-type:none;}*/

::selection { background: #ff5e99; color: #FFFFFF; text-shadow: 0; }
::-moz-selection { background: #ff5e99; color: #FFFFFF; }	